/* ─────────────────────────────────────────────
   BLOG SHARED STYLES
   blog/index.html + blog/*.html
   Supplements styles.css
───────────────────────────────────────────── */

/* ══════════════════════════════
   BLOG INDEX — hero
══════════════════════════════ */
.blog-hero {
  background: var(--color-dark);
  padding: 140px 80px 80px;
}
.blog-hero-inner {
  max-width: 800px;
}
.blog-hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.blog-hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ══════════════════════════════
   BLOG INDEX — posts grid
══════════════════════════════ */
.blog-index {
  background: #F5F0E8;
  padding: 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Post card ── */
.post-card {
  background: #FAFAF9;
  border-radius: 0;
  overflow: hidden;
}
.post-card-img-link {
  display: block;
  overflow: hidden;
  height: 260px;
}
.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 400ms ease;
}
.post-card:hover .post-card-img {
  transform: scale(1.04);
}
.post-card-body {
  padding: 32px;
}
.post-category {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 12px;
  display: block;
}
.post-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.25;
  color: #1C1917;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}
.post-title a:hover {
  color: #4A1942;
}
.post-excerpt {
  font-family: var(--font-body);
  font-size: 15px;
  color: #78716C;
  line-height: 1.7;
  margin: 12px 0 20px;
}
.post-read-more {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9A84C;
  text-decoration: none;
  transition: color 200ms ease;
}
.post-read-more:hover {
  color: #A07828;
}

/* ══════════════════════════════
   BLOG POST — nav override
   Nav is transparent by default (same as index.html).
   script.js adds .scrolled class — cream bg on scroll.
   No extra CSS needed; styles.css already handles this.
══════════════════════════════ */

/* ══════════════════════════════
   BLOG POST — full-width hero image
══════════════════════════════ */
.post-hero-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-top: 0;
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ══════════════════════════════
   BLOG POST — article wrapper + header
══════════════════════════════ */
.post-article-bg {
  background: #F5F0E8;
}
.post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.post-header {
  padding-top: 48px;
  margin-bottom: 8px;
}

/* Category label below image */
.post-header .post-category {
  margin-bottom: 14px;
}

/* H1 headline */
.post-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  color: #1C1917;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

/* Byline */
.post-byline {
  font-family: var(--font-body);
  font-size: 13px;
  color: #78716C;
  letter-spacing: 0.03em;
}

/* Gold divider under byline */
.post-divider {
  width: 48px;
  height: 1px;
  background: #C9A84C;
  margin: 28px 0 40px;
}

/* ══════════════════════════════
   BLOG POST — article body
══════════════════════════════ */
.post-body {
  font-family: var(--font-body);
  font-size: 17px;
  color: #44403C;
  line-height: 1.85;
}
.post-body p {
  margin-bottom: 24px;
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: #1C1917;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 48px 0 16px;
}
.post-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #1C1917;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 32px 0 12px;
}
.post-body a {
  color: #C9A84C;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover {
  color: #A07828;
}

/* ══════════════════════════════
   BLOG POST — CTA block
══════════════════════════════ */
.post-cta-box {
  background: #C9A84C;
  padding: 48px;
  margin: 56px 0 40px;
}
.post-cta-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  color: #1C1917;
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-cta-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: #1C1917;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 28px;
}
.post-cta-btn {
  display: inline-block;
  background: #1C1917;
  color: #F5F0E8;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  text-decoration: none;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease;
}
.post-cta-btn:hover {
  background: #4A1942;
  color: #FDFAFF;
}

/* ── Back to blog ── */
.post-back {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #C9A84C;
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-top: 8px;
  margin-bottom: 40px;
  transition: color 200ms ease;
}
.post-back:hover {
  color: #A07828;
}

/* ══════════════════════════════
   NAV — copied from styles.css so blog posts
   inherit identical nav behaviour without
   depending on styles.css load order
══════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 350ms ease, transform 350ms ease;
}
#main-nav.scrolled {
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.08);
}
#main-nav.nav-hidden {
  transform: translateY(-100%);
}
#main-nav.scrolled .nav-logo-img { filter: invert(1); }
#main-nav.scrolled .nav-cta {
  background: var(--color-purple);
  color: var(--color-purple-light);
  border: none;
}
#main-nav.scrolled .nav-cta:hover {
  background: var(--color-purple-light);
  color: var(--color-purple);
  border: none;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 767px) {
  .blog-hero { padding: 100px 24px 64px; }
  .blog-hero-headline { font-size: 38px; }
  .blog-index { padding: 48px 24px; }
  .blog-grid { grid-template-columns: 1fr; }

  .post-hero-wrap { height: 280px; margin-top: 0; }
  .post-headline { font-size: 34px; }
  .post-cta-box { padding: 32px 24px; }
}
