/* ─── PAGE BANNER ────────────────────────────────── */
.page-banner {
  height: 420px;
  background: url('/images/lib/inspiration-hero-1800w.webp') center 60%/cover no-repeat;
}

.page-banner::after {
  background: linear-gradient(
    to right,
    rgba(10,24,16,0.85) 0%,
    rgba(10,24,16,0.62) 40%,
    rgba(10,24,16,0.25) 70%,
    rgba(10,24,16,0.08) 100%
  );
}

/* ─── BLOG INTRO ─────────────────────────────────── */
.blog-intro {
  background: var(--linen);
  padding: 64px 80px 52px;
  max-width: 900px;
}

.blog-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 18px;
}

/* ─── FEATURED POST ──────────────────────────────── */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.blog-featured-image {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-featured-image:hover img { transform: scale(1.03); }

.blog-featured-content {
  padding: 64px 72px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-post-category {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.blog-post-category::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.blog-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 20px;
  text-decoration: none;
  display: block;
}

.blog-featured-title:hover { color: var(--green-deep); }

.blog-featured-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.blog-post-meta {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
}

.blog-post-meta span { color: var(--gold); }

.blog-read-link {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.blog-read-link:hover { color: var(--gold); }

/* ─── GRID SECTION ───────────────────────────────── */
.blog-grid-section {
  background: var(--linen);
  padding: 64px 80px 96px;
}

.blog-grid-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.blog-grid-header-line {
  flex: 1;
  height: 1px;
  background: rgba(201,168,76,0.25);
}

.blog-grid-label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ─── BLOG CARD ──────────────────────────────────── */
.blog-card {
  background: var(--cream);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 24px 26px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title { color: var(--green-deep); }

.blog-card-excerpt {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.blog-card-date {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
}

.blog-card-cta {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-deep);
  transition: color 0.2s;
}

.blog-card:hover .blog-card-cta { color: var(--gold); }

/* ─── EMPTY / LOADING STATES ─────────────────────── */
.blog-empty, .blog-loading {
  text-align: center;
  padding: 96px 40px;
  background: var(--linen);
}

.blog-empty h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 14px;
}

.blog-empty p, .blog-loading p {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ─── SINGLE POST HERO ───────────────────────────── */
.post-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  margin-top: 102px;
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%);
}

.post-hero-content {
  position: absolute;
  bottom: 52px;
  left: 80px;
  right: 80px;
}

.post-hero-category {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.post-hero-category::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.post-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  max-width: 820px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.post-hero-meta {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
}

.post-hero-meta span { color: var(--gold); }

/* Fallback banner if no featured image */
.post-banner {
  background: var(--green-deep);
  margin-top: 102px;
  padding: 72px 80px 56px;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
}

/* ─── SINGLE POST BODY ───────────────────────────── */
.post-body-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 52px;
  transition: color 0.2s;
}

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

.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--green-deep);
  margin: 44px 0 16px;
  line-height: 1.2;
}

.post-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 32px 0 12px;
}

.post-body p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 26px;
}

.post-body strong { font-weight: 600; color: var(--charcoal); }

.post-body ul, .post-body ol {
  padding-left: 28px;
  margin-bottom: 26px;
}

.post-body li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}

.post-body a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.6);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 28px;
  margin: 36px 0;
  font-style: italic;
  color: var(--text-light);
}

.post-body blockquote p { color: var(--text-light); margin-bottom: 0; }

.post-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 36px 0;
}

.post-body hr {
  border: none;
  border-top: 1px solid rgba(201,168,76,0.25);
  margin: 48px 0;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 320px; }
  .blog-featured-content { padding: 48px 48px; }
  .blog-grid-section { padding: 56px 40px 80px; }
}

@media (max-width: 768px) {
  .blog-intro { padding: 48px 24px; }
  .blog-featured-content { padding: 36px 24px; }
  .blog-grid-section { padding: 40px 24px 64px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .post-hero { height: 380px; }
  .post-hero-content { left: 24px; right: 24px; bottom: 32px; }
  .post-banner { padding: 48px 24px 40px; }
  .post-body-wrap { padding: 48px 24px 64px; }
}
