* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: #111;
  color: white;
}

.header nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
}

.header input {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
}

/* HERO */
.hero {
  background: linear-gradient(to right, #000, #333);
  color: white;
  padding: 60px 40px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* LAYOUT F-PATTERN */
.container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  padding: 40px;
}

/* CONTENT */
.content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h2 {
  margin-top: 0;
}

.internal a {
  color: #0066cc;
  text-decoration: none;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* SIDEBAR */
.sidebar {
  background: white;
  padding: 20px;
  border-radius: 10px;
  height: fit-content;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar h3 {
  margin-top: 0;
}

.sidebar a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #0066cc;
}

/* FOOTER */
.footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}