/* ════════════════════════════════════════════════════════════
   BLOG — Listing page + single post page
   ════════════════════════════════════════════════════════════ */

/* ── Active nav link (blog pages) ── */
#site-nav .nav-links a.nav-link--active {
  color: var(--gold);
}
#site-nav .nav-links a.nav-link--active::after {
  width: 100%;
}

/* ════ BLOG HERO ════ */
.blog-hero {
  position: relative;
  height: 58vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0c0b09;
  padding-top: var(--nav-h);
}

.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 110%, transparent 30%, rgba(8,4,2,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.blog-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.blog-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.blog-hero__title {
  font-family: var(--font-disp);
  font-size: clamp(5.5rem, 16vw, 13rem);
  font-weight: 700;
  color: #f2ede6;
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
}

.blog-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: rgba(242,237,230,0.42);
  letter-spacing: 0.04em;
  max-width: 400px;
  margin: 0 auto;
}

/* ════ SECTION WRAPPER ════ */
.blog-section {
  background: #0c0b09;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.blog-section__inner {
  max-width: 1380px;
  margin: 0 auto;
}

.blog-section--grid {
  background: #100B09;
}

.blog-section__rule {
  height: 1px;
  background: rgba(242,237,230,0.07);
  margin-bottom: 3.5rem;
}

.blog-section__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.28);
  margin-bottom: 0.75rem;
}

.blog-section__title {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #f2ede6;
  margin-bottom: 2.5rem;
}

/* ════ CATEGORY BADGE ════ */
.blog-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,78,0.4);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ════ META ════ */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(242,237,230,0.32);
  letter-spacing: 0.06em;
}

.blog-meta-dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ════ FEATURED POST ════ */
.blog-featured {
  display: grid;
  grid-template-columns: 55% 1fr;
  border: 1px solid rgba(242,237,230,0.07);
  min-height: 500px;
  overflow: hidden;
}

.blog-featured__img-link {
  position: relative;
  overflow: hidden;
  display: block;
}

.blog-featured__img-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  display: block;
}

.blog-featured:hover .blog-featured__img-link img {
  transform: scale(1.04);
}

.blog-featured__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, rgba(12,11,9,0.6));
  pointer-events: none;
}

.blog-featured__content {
  padding: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #141210;
  gap: 0;
}

.blog-featured__title {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #f2ede6;
  line-height: 1.2;
  margin: 0.6rem 0 1rem;
  transition: color 0.3s;
}

.blog-featured__img-link:hover + .blog-featured__content .blog-featured__title,
.blog-featured__title:hover { color: var(--gold); }

.blog-featured__excerpt {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(242,237,230,0.55);
  margin-bottom: 1.8rem;
  flex: 1;
}

.blog-featured__meta {
  margin-bottom: 2rem;
}

.blog-featured__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: letter-spacing 0.35s var(--ease-out);
}

.blog-featured__cta:hover { letter-spacing: 0.18em; }

/* ════ BLOG GRID ════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}

/* ════ BLOG CARD ════ */
.blog-card {
  background: #0c0b09;
  border: 1px solid rgba(242,237,230,0.06);
  transition: border-color 0.35s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(201,168,78,0.22);
}

.blog-card__img-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
}

.blog-card__img-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  display: block;
}

.blog-card:hover .blog-card__img-link img {
  transform: scale(1.06);
}

.blog-card__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,11,9,0.18);
  transition: opacity 0.3s;
  pointer-events: none;
}

.blog-card__body {
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title {
  font-family: var(--font-disp);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: #f2ede6;
  line-height: 1.3;
  margin: 0.5rem 0 0.75rem;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card__title a:hover { color: var(--gold); }

.blog-card__excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(242,237,230,0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(242,237,230,0.06);
  margin-top: auto;
}

.blog-card__meta {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(242,237,230,0.28);
  letter-spacing: 0.04em;
}

.blog-card__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: letter-spacing 0.3s;
}

.blog-card__link:hover { letter-spacing: 0.2em; }

/* ════════════════════════════════════════════════════════════
   SINGLE POST PAGE
   ════════════════════════════════════════════════════════════ */

/* Post header */
.post-header-section {
  background: #0c0b09;
  padding: calc(var(--nav-h) + 5rem) clamp(1.5rem, 5vw, 5rem) 3.5rem;
  text-align: center;
}

.post-header-inner {
  max-width: 780px;
  margin: 0 auto;
}

.post-title {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: #f2ede6;
  line-height: 1.1;
  margin: 1rem 0 1.5rem;
  letter-spacing: -0.01em;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(242,237,230,0.32);
  letter-spacing: 0.06em;
}

/* Hero image */
.post-hero-wrap {
  background: #0c0b09;
  padding: 0 clamp(1.5rem, 5vw, 5rem) 0;
  max-width: 1280px;
  margin: 0 auto;
}

.post-hero-img {
  width: 100%;
  max-height: 58vh;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(242,237,230,0.05);
}

/* Article */
.post-article {
  background: #0c0b09;
  padding: 4.5rem clamp(1.5rem, 5vw, 5rem) 7rem;
}

.post-body {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.9;
  color: rgba(242,237,230,0.72);
}

/* Lead paragraph with drop cap */
.post-body .blog-post__lead {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 400;
  color: rgba(242,237,230,0.88);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  padding-left: 1.8rem;
  border-left: 2px solid var(--gold);
}

.post-body p { margin-bottom: 1.5rem; }

.post-body h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: #f2ede6;
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(201,168,78,0.2);
}

.post-body blockquote {
  margin: 2.5rem 0;
  padding: 1.6rem 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,78,0.04);
  font-family: var(--font-disp);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(242,237,230,0.82);
  line-height: 1.65;
}

/* Tags */
.post-tags-section {
  background: #0c0b09;
  padding: 0 clamp(1.5rem, 5vw, 5rem) 3rem;
}

.post-tags-inner {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(242,237,230,0.07);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.42);
  border: 1px solid rgba(242,237,230,0.12);
  padding: 5px 14px;
  border-radius: 2px;
}

/* Back link */
.post-back-section {
  background: #0c0b09;
  padding: 0 clamp(1.5rem, 5vw, 5rem) 5rem;
}

.post-back {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.3);
  text-decoration: none;
  transition: color 0.3s;
}

.post-back:hover { color: var(--gold); }

/* Related posts section */
.blog-section--related {
  background: #100B09;
  border-top: 1px solid rgba(242,237,230,0.06);
}

/* ════ RESPONSIVE ════ */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .blog-featured {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .blog-featured__img-link {
    aspect-ratio: 16 / 9;
  }
  .blog-hero__title { font-size: clamp(4.5rem, 18vw, 7rem); }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured__content { padding: 2rem 1.5rem; }
  .post-body .blog-post__lead { padding-left: 1.2rem; }
}
