/* ═══════════════════════════════════════════
   Blog / Resources hub — extends styles.css
   Uses the same :root variables (--navy, --cream,
   --gold, --coral, --green, fonts, shadows, etc.)
   ═══════════════════════════════════════════ */

.nav-logo {
  text-decoration: none;
}

/* ─────────────── BLOG HERO ─────────────── */
.blog-hero {
  background: var(--navy);
  padding: 72px 5vw 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 0%,
    rgba(196, 136, 26, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.blog-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.blog-hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 300;
}
.blog-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-weight: 200;
}

/* ─────────────── FILTERS ─────────────── */
.blog-filters-section {
  background: var(--cream-2);
  padding: 28px 5vw;
}
.blog-filters {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-filter {
  background: var(--cream);
  border: 1px solid var(--border-md);
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.blog-filter:hover {
  border-color: var(--gold);
  color: var(--text);
}
.blog-filter.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ─────────────── ARTICLE GRID ─────────────── */
.blog-grid-section {
  background: var(--cream);
}
.blog-grid {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(12, 24, 48, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5410;
  background: var(--gold-lt);
  padding: 4px 10px;
  border-radius: 2px;
}
.blog-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}
.blog-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-lt);
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.blog-card-arrow {
  color: var(--coral);
  font-weight: 600;
}
.blog-card.is-hidden {
  display: none;
}

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-hero {
    padding: 52px 4.5vw 44px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
}