/* ==========================================================================
   BLOG — Ultra-premium editorial magazine design
   Covers: archive, post cards, single post, reading experience,
           author bio, sidebar, related posts
   ========================================================================== */

/* ─────────────────────────────────────────────────────────────────
   BLOG ARCHIVE HERO
   ───────────────────────────────────────────────────────────────── */

.blog-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.blog-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  transform: scale(1.02); /* edge-hide for parallax */
  will-change: transform;
}

.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.55) 55%,
    rgba(15, 23, 42, 0.15) 100%
  );
}

.blog-hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.5;
  pointer-events: none;
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-10);
  padding-top: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.blog-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gold);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-hero__eyebrow-line {
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
}

.blog-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  max-width: 680px;
  letter-spacing: -0.02em;
}

.blog-hero__sub {
  font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: var(--leading-relaxed);
}

/* Category filter pills */
.blog-hero__cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 1em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.blog-cat-pill:hover,
.blog-cat-pill.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
}

/* Scroll cue */
.blog-hero__scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.blog-hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(196, 168, 116, 0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

@media (max-width: 768px) {
  .blog-hero__bg { background-attachment: scroll; }
  .blog-hero { min-height: 60vh; }
  .blog-hero__scroll { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
   FEATURED POST — editorial full-width card
   ───────────────────────────────────────────────────────────────── */

.blog-featured-wrap {
  padding: var(--space-16) 0 var(--space-4);
}

.featured-post {
  display: grid;
  grid-template-columns: 55% 1fr;
  min-height: 480px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  background: var(--color-white);
}

/* Image column */
.featured-post__img-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.featured-post__img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease-out);
}

.featured-post__img-link:hover .featured-post__img {
  transform: scale(1.04);
}

.featured-post__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.25) 0%, transparent 60%);
}

.featured-post__badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3em 0.85em;
  border-radius: var(--radius-full);
  z-index: 2;
}

/* Content column */
.featured-post__content {
  padding: var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
  border-left: 3px solid var(--cat-color, var(--color-gold));
}

.featured-post__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.featured-post__cat {
  font-weight: 600;
  color: var(--cat-color, var(--color-gold));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.featured-post__sep { opacity: 0.4; }

.featured-post__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.featured-post__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.4vw, var(--text-3xl));
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.featured-post__title a:hover { color: var(--color-gold-dark); }

.featured-post__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-post__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}

.featured-post__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.featured-post__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border-light);
}

.featured-post__author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.featured-post__author-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
}

.featured-post__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.featured-post__cta {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__img { min-height: 260px; }
  .featured-post__content { border-left: none; border-top: 3px solid var(--cat-color, var(--color-gold)); padding: var(--space-8); }
}

/* ─────────────────────────────────────────────────────────────────
   BLOG POST GRID
   ───────────────────────────────────────────────────────────────── */

.blog-grid-section { padding-top: var(--space-12); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* ─────────────────────────────────────────────────────────────────
   POST CARD
   ───────────────────────────────────────────────────────────────── */

.post-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.post-card__img-link { display: block; overflow: hidden; }

.post-card__img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
  position: relative;
}

.post-card:hover .post-card__img { transform: scale(1.05); }

.post-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,23,42,0.15) 100%);
}

/* Left-side category accent line */
.post-card {
  border-left: 3px solid var(--cat-color, var(--color-gold));
}

.post-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.post-card__cat {
  font-weight: 700;
  color: var(--cat-color, var(--color-gold));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-card__sep { opacity: 0.35; color: var(--color-text-muted); }

.post-card__time { color: var(--color-text-muted); }

.post-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.post-card__author-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.post-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-card__author-name { font-weight: 600; color: var(--color-navy); }
.post-card__dot         { opacity: 0.35; }

.post-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--cat-color, var(--color-gold-dark));
  transition: gap var(--duration-fast) var(--ease-out);
}

.post-card__read:hover { gap: 0.5em; }

/* ─────────────────────────────────────────────────────────────────
   BLOG PAGINATION
   ───────────────────────────────────────────────────────────────── */

.blog-pagination {
  margin-top: var(--space-12);
  display: flex;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}

.blog-pagination .page-numbers li { list-style: none; }

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  transition: all var(--duration-base) var(--ease-out);
}

.blog-pagination .page-numbers a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.blog-pagination .page-numbers .current {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

/* ─────────────────────────────────────────────────────────────────
   BLOG NEWSLETTER STRIP
   ───────────────────────────────────────────────────────────────── */

.blog-newsletter {
  padding: var(--space-20) 0;
  margin-top: var(--space-16);
}

.blog-newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  color: var(--color-navy);
  font-weight: 700;
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.blog-newsletter__sub {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

.blog-newsletter__fields {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
}

.blog-newsletter__input {
  flex: 1;
  padding: 0.75em 1.2em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--color-white);
  color: var(--color-navy);
  transition: border-color var(--duration-base) var(--ease-out);
}

.blog-newsletter__input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(196, 168, 116, 0.15);
}

.blog-newsletter__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.blog-empty-state { text-align: center; color: var(--color-text-muted); padding: var(--space-20) 0; }

/* ─────────────────────────────────────────────────────────────────
   READING PROGRESS BAR
   ───────────────────────────────────────────────────────────────── */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: calc(var(--z-modal) + 10);
  background: transparent;
}

.reading-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-gold) 0%, #F0D899 50%, var(--color-gold) 100%);
  transition: width 0.1s linear;
  will-change: width;
}

/* ─────────────────────────────────────────────────────────────────
   SINGLE POST HERO
   ───────────────────────────────────────────────────────────────── */

.post-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.post-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  transform: scale(1.02);
}

/* Rotator layers must inherit the parallax behaviour of their parent */
.post-hero__bg .ir-layer {
  background-attachment: fixed;
  background-position: center 30%;
}

.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.6)  45%,
    rgba(15, 23, 42, 0.15) 100%
  );
}

.post-hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.5;
  pointer-events: none;
}

.post-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-16);
  padding-top: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 860px;
}

/* Breadcrumb */
.post-hero__breadcrumb { color: rgba(255, 255, 255, 0.5); }

.post-hero__breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  font-size: var(--text-xs);
}

.post-hero__breadcrumb-list a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--duration-fast) var(--ease-out);
}

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

/* Badges */
.post-hero__badges {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.post-hero__cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.9em;
  background: var(--post-cat-color, var(--color-gold));
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-hero__read-badge,
.post-hero__date-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
}

/* Title */
.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* Author row */
.post-hero__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.post-hero__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(196, 168, 116, 0.6);
}

.post-hero__author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.post-hero__author-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.post-hero__author-role {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* Scroll cue */
.post-hero__scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.post-hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(196, 168, 116, 0.9), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .post-hero__bg { background-attachment: scroll; }
  .post-hero { min-height: 80vh; }
  .post-hero__scroll { display: none; }
}

/* ─────────────────────────────────────────────────────────────────
   POST LAYOUT — two-column: article + sticky sidebar
   ───────────────────────────────────────────────────────────────── */

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-12);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  align-items: start;
}

/* ─────────────────────────────────────────────────────────────────
   ARTICLE PROSE — beautiful reading typography
   ───────────────────────────────────────────────────────────────── */

.post-article { min-width: 0; }

.prose {
  font-size: 1.1rem;
  line-height: 1.88;
  color: var(--color-text);
  max-width: 72ch;
}

/* Headings */
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 2.8em 0 0.8em;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin: 2.2em 0 0.6em;
}

.prose h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 1.8em 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Drop cap on first paragraph */
.prose > p:first-of-type {
  font-size: 1.15rem;
  color: var(--color-navy);
}

.prose > p:first-of-type::first-letter {
  font-family: var(--font-accent);
  font-size: 4.8em;
  font-weight: 300;
  line-height: 0.75;
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--color-gold);
}

/* Paragraph */
.prose p { margin: 0 0 1.5em; }

/* Blockquote / pull quote */
.prose blockquote {
  margin: 2.5em 0;
  padding: 1.8em 2.2em 1.8em 2em;
  background: var(--color-bone, #FAF8F5);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  position: relative;
}

.prose blockquote::before {
  content: '\201C';
  font-family: var(--font-accent);
  font-size: 5rem;
  color: var(--color-gold);
  line-height: 0.8;
  position: absolute;
  top: 0.3em;
  right: 0.5em;
  opacity: 0.2;
  pointer-events: none;
}

.prose blockquote p {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.6;
  margin: 0;
}

.prose blockquote cite {
  display: block;
  margin-top: 0.75em;
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Lists */
.prose ul,
.prose ol { margin: 0 0 1.5em 0; padding-left: 1.6em; }

.prose li { margin-bottom: 0.5em; line-height: 1.75; }

.prose ul li::marker { color: var(--color-gold); }

/* Links */
.prose a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(196, 168, 116, 0.45);
  transition: color var(--duration-fast) var(--ease-out),
              text-decoration-color var(--duration-fast) var(--ease-out);
}

.prose a:hover {
  color: var(--color-gold);
  text-decoration-color: var(--color-gold);
}

/* Images */
.prose img {
  border-radius: var(--radius-lg);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
  box-shadow: var(--shadow-md);
}

.prose figure { margin: 2em 0; }

.prose figcaption {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-3);
}

/* Code */
.prose code {
  font-size: 0.88em;
  background: rgba(15, 23, 42, 0.07);
  padding: 0.15em 0.45em;
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  font-family: 'Courier New', monospace;
}

.prose pre {
  background: var(--color-navy);
  color: rgba(255,255,255,0.9);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 2em 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Horizontal rule */
.prose hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 3em 0;
}

/* ─────────────────────────────────────────────────────────────────
   POST TAGS, SHARE, CTA
   ───────────────────────────────────────────────────────────────── */

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
  font-size: var(--text-xs);
}

.post-tags__label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.post-tag {
  display: inline-flex;
  padding: 0.3em 0.8em;
  background: rgba(196, 168, 116, 0.1);
  color: var(--color-gold-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: background var(--duration-fast) var(--ease-out);
}

.post-tag:hover { background: rgba(196, 168, 116, 0.25); }

/* Share strip */
.post-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.post-share__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: var(--space-1);
}

.post-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.post-share__btn:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-navy);
}

/* Pillar CTA band */
.post-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding: var(--space-8) var(--space-8);
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  border-left: 5px solid var(--cat-color, var(--color-gold));
  color: var(--color-white);
}

.post-cta-band__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.post-cta-band__sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  max-width: 380px;
  line-height: var(--leading-relaxed);
}

.post-cta-band__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
   AUTHOR BIO
   ───────────────────────────────────────────────────────────────── */

.author-bio {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-8);
  margin-top: var(--space-12);
  background: var(--color-bone, #FAF8F5);
  border-radius: var(--radius-xl);
  border-top: 3px solid var(--color-gold);
}

.author-bio__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.author-bio__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.author-bio__badge {
  position: absolute;
  bottom: 0;
  right: -4px;
  width: 26px;
  height: 26px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  border: 2px solid var(--color-white);
}

.author-bio__text { flex: 1; min-width: 0; }

.author-bio__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-1);
}

.author-bio__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.author-bio__name a:hover { color: var(--color-gold-dark); }

.author-bio__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.author-bio__links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.author-bio__link--posts {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold-dark);
}

.author-bio__link--social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.author-bio__link--social:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-navy);
}

/* ─────────────────────────────────────────────────────────────────
   SIDEBAR
   ───────────────────────────────────────────────────────────────── */

.post-sidebar-wrap {
  position: sticky;
  top: calc(var(--header-height, 80px) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.post-sidebar { display: contents; }

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--color-gold);
}

.sidebar-card__heading {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}

/* Table of Contents */
.post-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.toc-item a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: 0.35em 0.5em;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all var(--duration-fast) var(--ease-out);
  line-height: 1.4;
}

.toc-item a:hover { color: var(--color-navy); border-left-color: var(--color-border); }

.toc-item a.is-active {
  color: var(--color-gold-dark);
  border-left-color: var(--color-gold);
  background: rgba(196, 168, 116, 0.07);
  font-weight: 500;
}

.toc-item--h3 a { padding-left: 1.2em; font-size: 0.8rem; }

/* Category sidebar */
.post-sidebar-cats__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-sidebar-cats__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5em 0.4em;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: background var(--duration-fast) var(--ease-out);
}

.post-sidebar-cats__link:hover { background: rgba(196, 168, 116, 0.07); }

.post-sidebar-cats__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat-color, var(--color-gold));
  flex-shrink: 0;
}

.post-sidebar-cats__count {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: var(--color-bone, #FAF8F5);
  padding: 0.1em 0.5em;
  border-radius: var(--radius-full);
}

/* Book promo sidebar card */
.post-sidebar-books {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e2d47 100%);
  color: var(--color-white);
  border-top-color: var(--color-gold);
  overflow: hidden;
  position: relative;
}

.post-sidebar-books__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.post-sidebar-books__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.post-sidebar-books__sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

.post-sidebar-books__cta { display: block; text-align: center; }

/* Decorative book spines */
.post-sidebar-books__spines {
  display: flex;
  gap: 4px;
  margin-top: var(--space-5);
  height: 6px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.post-sidebar-books__spines span {
  flex: 1;
  border-radius: var(--radius-sm);
  opacity: 0.7;
}

/* Assessment sidebar card */
.post-sidebar-assess {
  text-align: center;
}

.post-sidebar-assess__icon {
  width: 52px;
  height: 52px;
  background: rgba(196, 168, 116, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin: 0 auto var(--space-4);
}

.post-sidebar-assess__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.post-sidebar-assess__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

.post-sidebar-assess__cta { display: block; }

/* ─────────────────────────────────────────────────────────────────
   RELATED POSTS
   ───────────────────────────────────────────────────────────────── */

.related-posts {
  padding: var(--space-20) 0;
}

.related-posts__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.related-posts__label-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  grid-column: 1 / -1;
  margin-bottom: var(--space-2);
}

.related-posts__dot {
  width: 10px;
  height: 10px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.related-posts__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  color: var(--color-navy);
}

.related-posts__all {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold-dark);
  align-self: end;
  margin-bottom: 4px;
  white-space: nowrap;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Related card */
.related-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
  border-top: 3px solid var(--cat-color, var(--color-gold));
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.related-card__img-link { display: block; overflow: hidden; }

.related-card__img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
  position: relative;
}

.related-card:hover .related-card__img { transform: scale(1.04); }

.related-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,23,42,0.12) 100%);
}

.related-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.related-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.related-card__cat {
  font-weight: 700;
  color: var(--cat-color, var(--color-gold));
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.related-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.related-card__read {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--cat-color, var(--color-gold-dark));
  transition: letter-spacing var(--duration-fast) var(--ease-out);
}

.related-card__read:hover { letter-spacing: 0.03em; }

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .post-layout { grid-template-columns: 1fr 260px; gap: var(--space-8); }
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar-wrap { position: static; }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-newsletter__fields { flex-direction: column; }
  .featured-post__content { padding: var(--space-6); }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .author-bio__links { justify-content: center; }
  .post-cta-band { flex-direction: column; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .prose > p:first-of-type::first-letter { font-size: 3.5em; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero__bg,
  .post-hero__bg,
  .blog-hero__scroll-line,
  .post-hero__scroll-line {
    transform: none !important;
    animation: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   AMAZON BOOK RECOMMENDATIONS — blog post "Further Reading" section
   ───────────────────────────────────────────────────────────────── */

.amazon-books-section {
  padding: var(--space-20) 0 var(--space-16);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Section header */
.amazon-books-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.amazon-books-header__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.amazon-books-header__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  white-space: nowrap;
}

.amazon-books-header__line {
  display: block;
  height: 1px;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.amazon-books-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.amazon-books-header__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Books grid */
.amazon-books-grid {
  display: grid;
  gap: var(--space-6);
}

.amazon-books-grid--single  { grid-template-columns: minmax(0, 480px); justify-content: center; }
.amazon-books-grid--double  { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.amazon-books-grid--multi   { grid-template-columns: repeat(3, 1fr); }

/* Individual book card */
.amazon-book-card {
  display: flex;
  gap: var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
  padding: var(--space-6);
  border-top: 3px solid var(--color-gold);
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.amazon-book-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,153,0,0.3), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.amazon-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
}

.amazon-book-card:hover::before { opacity: 1; }

/* Cover */
.amazon-book-card__cover-wrap {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  align-self: flex-start;
}

.amazon-book-card__cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 4px 6px 20px rgba(15, 23, 42, 0.2);
  object-fit: cover;
}

.amazon-book-card__cover-placeholder {
  width: 100px;
  height: 148px;
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e2d47 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 4px 6px 20px rgba(15, 23, 42, 0.2);
  text-align: center;
}

.amazon-book-card__cover-title {
  font-size: 0.6rem;
  line-height: 1.3;
  color: var(--color-white);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.amazon-book-card__amz-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  line-height: 1;
}

/* Card body */
.amazon-book-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-1);
}

.amazon-book-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.amazon-book-card__format-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25em 0.7em;
  background: rgba(196, 168, 116, 0.12);
  color: var(--color-gold-dark);
  border-radius: var(--radius-full);
  border: 1px solid rgba(196, 168, 116, 0.3);
}

.amazon-book-card__price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}

.amazon-book-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.amazon-book-card__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.amazon-book-card__author-label {
  font-style: italic;
  margin-right: 2px;
}

/* Buy button */
.amazon-book-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding: 0.65em 1.4em;
  background: #FF9900;
  color: #111;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  align-self: flex-start;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.35);
}

.amazon-book-card__btn:hover {
  background: #e88b00;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.45);
  color: #111;
}

/* Affiliate disclosure */
.amazon-books-disclosure {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .amazon-books-grid--multi  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .amazon-books-grid--double,
  .amazon-books-grid--multi  { grid-template-columns: 1fr; }

  .amazon-book-card {
    flex-direction: row;
    gap: var(--space-4);
  }

  .amazon-book-card__cover-wrap { width: 72px; }
  .amazon-book-card__cover-placeholder { width: 72px; height: 108px; }
  .amazon-book-card__title { font-size: var(--text-base); }
}

/* ─────────────────────────────────────────────────────────────────
   BOOK PAGE — Amazon Format Buy Buttons  (book-hero.php)
   ───────────────────────────────────────────────────────────────── */

.book-amazon-formats {
  margin-top: var(--space-5);
}

.book-amazon-formats__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.book-amazon-formats__btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Individual format button */
.book-amz-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.2em;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: filter var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  letter-spacing: 0.01em;
}

.book-amz-btn:hover {
  filter: brightness(1.08);
  transform: translateX(3px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

/* Format-specific colour schemes */
.book-amz-btn--paperback {
  background: #2c7a4b;
  color: #fff;
  box-shadow: 0 2px 8px rgba(44, 122, 75, 0.3);
}

.book-amz-btn--hardcover {
  background: #1a56db;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.3);
}

.book-amz-btn--kindle {
  background: #FF9900;
  color: #111;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.35);
}

.book-amz-btn--audio {
  background: #7e3af2;
  color: #fff;
  box-shadow: 0 2px 8px rgba(126, 58, 242, 0.3);
}

/* Affiliate disclosure under format buttons */
.book-amazon-formats__disclosure {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.68rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-3);
  line-height: 1.5;
}

/* Mobile variant — horizontal wrapping */
.book-amazon-formats--mobile .book-amazon-formats__btns {
  flex-direction: row;
  flex-wrap: wrap;
}

.book-amazon-formats--mobile .book-amz-btn {
  flex: 1;
  min-width: 110px;
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────────────
   END-OF-POST RECOMMENDED READING
   ───────────────────────────────────────────────────────────────── */
.post-books-section {
    margin-top: var(--space-14);
    padding-top: var(--space-10);
    border-top: 2px solid var(--color-gold, #c9a84c);
}

.post-books__heading {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 var(--space-2);
}

.post-books__intro {
    font-size: var(--text-base);
    color: var(--color-muted);
    margin: 0 0 var(--space-8);
}

.post-books__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-5);
}

.post-book-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-surface, #faf9f7);
    border: 1px solid var(--color-border, #e8e4de);
    border-radius: 10px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.post-book-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.post-book-card--placeholder {
    opacity: 0.72;
    background: var(--color-bg, #f5f4f1);
}

.post-book-card__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.post-book-card__title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}

.post-book-card__title a {
    color: inherit;
    text-decoration: none;
}

.post-book-card__title a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-book-card__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    width: fit-content;
}

.post-book-card__badge--live {
    background: #d4edda;
    color: #1a6630;
}

.post-book-card__badge--soon {
    background: #fff3cd;
    color: #856404;
}

.post-book-card__desc {
    font-size: var(--text-xs, 0.8rem);
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .post-books__grid { grid-template-columns: 1fr; }
}
