/* ── BLOG STYLES ── */
/* Imports the same design tokens from the landing page */

/* ── ARTICLE CARD GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
  background: var(--mist);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.article-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-card .card-excerpt {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.article-card .card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  flex-wrap: wrap;
}

.badge-listen {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(74,124,124,0.12);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ── BLOG HERO ── */
.blog-hero {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(138,158,138,0.12) 0%, transparent 70%),
    var(--white);
}

.blog-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.blog-hero p {
  font-size: 1.05rem;
  color: var(--text-soft);
  font-weight: 300;
  font-style: italic;
}

/* ── ARTICLE PAGE LAYOUT ── */
.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 6rem 2rem 1rem;
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* Article header */
.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.article-byline {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 300;
}

/* Hero image */
.article-hero {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  display: block;
}

/* Article body */
.article-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-body);
}

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body blockquote {
  border-left: 3px solid var(--sage);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-soft);
  font-style: italic;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* ── AUDIO PLAYER ── */
.audio-player {
  background: rgba(138,158,138,0.08);
  border: 1px solid rgba(138,158,138,0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.audio-player__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.audio-btn:hover {
  background: var(--teal-light);
  transform: scale(1.05);
}

.audio-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.audio-info {
  flex: 1;
  min-width: 0;
}

.audio-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}

.audio-progress {
  width: 100%;
  height: 6px;
  background: rgba(138,158,138,0.2);
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 0.3rem;
  position: relative;
}

.audio-progress__bar {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.audio-time {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, var(--teal) 0%, var(--sage-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-box .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.cta-box .btn-cta:hover {
  background: rgba(255,255,255,0.25);
}

/* ── RELATED ARTICLES ── */
.related-section {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--mist-dark);
}

.related-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── FROM THE BLOG (landing page) ── */
.from-blog {
  padding: 5rem 2rem;
  background: var(--mist);
}

.from-blog-inner {
  max-width: 960px;
  margin: 0 auto;
}

.from-blog .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.from-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .from-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.from-blog-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.from-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.from-blog-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.from-blog-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.from-blog-card .read-link {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
}

/* ── BLOG CONTENT SECTION (listing) ── */
.blog-content {
  padding: 3rem 2rem 5rem;
  background: var(--white);
}

/* ── NAV ACTIVE STATE ── */
.nav-links a.active {
  color: var(--ink);
  font-weight: 500;
}

/* ── ABOUT PAGE ── */
.about-portrait-figure {
  float: right;
  width: 280px;
  margin: 0 0 1.5rem 2rem;
  text-align: center;
}

.about-portrait-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.about-portrait {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-figure {
  margin: 2rem 0;
  text-align: center;
}

.about-figure img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.about-figure--small img {
  max-width: 400px;
}

@media (max-width: 600px) {
  .about-portrait-figure {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
  }

  .about-figure--small img {
    max-width: 100%;
  }
}

/* ── AUTHOR BIO ── */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  margin: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.author-bio__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: #e8e0d4;
}

.author-bio__description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b0a898;
  margin: 0 0 0.75rem 0;
}

.author-bio__link {
  font-size: 0.85rem;
  color: #7a9e8e;
  text-decoration: none;
  transition: color 0.2s;
}

.author-bio__link:hover {
  color: #9dbfad;
}

@media (max-width: 600px) {
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
