/* home.css — Homepage specific styles */

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  border-bottom: 1.5px solid var(--black);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  animation: fadeUp 0.5s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 24px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #4a4640;
  max-width: 420px;
  margin-bottom: 36px;
  animation: fadeUp 0.5s 0.2s ease both;
}

.hero-content .btn-primary { animation: fadeUp 0.5s 0.3s ease both; }

/* Featured card */
.hero-featured { animation: fadeUp 0.5s 0.2s ease both; }

.hero-card {
  background: var(--white);
  border: 1.5px solid var(--black);
  padding: 32px;
  position: relative;
}

.hero-card-badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
}

.hero-card-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--warm-gray);
}

.hero-card-author { font-size: 12px; color: var(--mid-gray); }

.hero-card-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-decoration: none;
}
.hero-card-link:hover { text-decoration: underline; }

/* ── Categories strip ────────────────────────────────────────── */
.categories-strip {
  border-bottom: 1.5px solid var(--black);
  overflow-x: auto;
  scrollbar-width: none;
}
.categories-strip::-webkit-scrollbar { display: none; }

.categories-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 28px;
  border-right: 1.5px solid var(--black);
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition);
  white-space: nowrap;
  min-width: 100px;
}
.cat-item:first-child { border-left: none; }
.cat-item:hover { background: var(--accent-light); }

.cat-icon { font-size: 24px; line-height: 1; }
.cat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── Main grid ───────────────────────────────────────────────── */
.main-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--black);
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.section-link:hover { text-decoration: underline; }

/* ── Animation ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-featured { display: none; }
  .main-grid { grid-template-columns: 1fr; }
  .main-sidebar { display: none; }
}

@media (max-width: 600px) {
  .hero-inner { padding: 40px 20px; }
  .cat-item { padding: 18px 16px; min-width: 80px; }
}
