/* ============================================================
   A Lyme Life — page styles for Video Library, Blog & Article
   Loaded alongside styles.css (base tokens, header, footer, buttons).
   ============================================================ */

/* ---------- Sub-page hero ---------- */
.page-hero {
  padding: 170px 0 70px;
  background: var(--bg);
}
.page-hero.on-deep { background: var(--bg-deep); color: #efeae0; }
.page-hero .crumbs { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 16px; }
.page-hero .crumbs a:hover { color: var(--green-deep); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 14px 0 18px; }
.page-hero .lede { max-width: 56ch; }

/* ============================================================
   Video library
   ============================================================ */
.vgroup { padding-top: 18px; }
.vgroup + .vgroup { margin-top: 64px; }
.vgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.vgroup-head h2 { font-size: 1.9rem; }
.vgroup-head .count { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.vgroup .intro { color: var(--ink-soft); max-width: 70ch; margin: -10px 0 26px; font-size: 1.04rem; }
.video-card .dur { position: absolute; right: 10px; bottom: 10px; background: rgba(45,50,57,.86); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.video-meta p { color: var(--ink-soft); font-size: .96rem; margin-top: 8px; }

/* ============================================================
   Blog index
   ============================================================ */
.blog-feature {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--card-radius) + 6px);
  overflow: hidden; margin-bottom: 56px;
}
.blog-feature .media { position: relative; min-height: 360px; background: var(--bg-deep); }
.blog-feature .media image-slot { width: 100%; height: 100%; }
.blog-feature .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.blog-feature .body .cat { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.blog-feature .body h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 12px 0 14px; }
.blog-feature .body p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 22px; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-faint); font-weight: 600; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(45,50,57,.4); }
.post-card .media { position: relative; aspect-ratio: 16/10; background: var(--bg-deep); }
.post-card .media image-slot { width: 100%; height: 100%; }
.post-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.post-card h3 { font-size: 1.4rem; margin: 9px 0 10px; }
.post-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 18px; flex: 1; }
.tag-draft { display: inline-block; background: var(--accent-tint); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 6px; text-transform: uppercase; }

.blog-cta { margin-top: 56px; text-align: center; background: var(--green-tint); border-radius: calc(var(--card-radius) + 6px); padding: 48px; }
.blog-cta h2 { font-size: 2rem; margin-bottom: 10px; }
.blog-cta p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 22px; }

/* ============================================================
   Article (single post)
   ============================================================ */
.article-head { max-width: 760px; margin: 0 auto; text-align: center; padding: 160px 0 36px; }
.article-head .cat { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.article-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 16px 0 20px; }
.article-head .standfirst { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.6; }
.article-byline { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.article-byline .av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; }
.article-byline .av image-slot { width: 100%; height: 100%; }
.article-byline .who { text-align: left; font-size: 14px; }
.article-byline .who strong { display: block; color: var(--ink); }
.article-byline .who span { color: var(--ink-faint); }

.article-cover { width: min(1080px, 94vw); margin: 12px auto 0; }
.article-cover image-slot { width: 100%; height: clamp(280px, 42vw, 520px); border-radius: var(--card-radius); overflow: hidden; }

.prose { width: min(720px, 92vw); margin: 0 auto; padding: 60px 0; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 1.9rem; margin-top: 48px; }
.prose h3 { font-size: 1.4rem; margin-top: 34px; }
.prose p { font-size: 1.12rem; color: #3f444a; line-height: 1.78; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 28px; color: #3f444a; font-size: 1.1rem; line-height: 1.7; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.prose blockquote {
  border-left: 4px solid var(--green); background: var(--green-tint);
  padding: 22px 28px; border-radius: 0 12px 12px 0; margin: 34px 0;
  font-family: var(--font-head); font-size: 1.5rem; line-height: 1.4; color: var(--ink);
}
.prose .callout { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.prose .callout strong { color: var(--ink); }
.prose .disclaimer { font-size: .92rem; color: var(--ink-faint); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 48px; line-height: 1.6; }

.author-box {
  width: min(720px, 92vw); margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: 32px; display: flex; gap: 22px; align-items: flex-start;
}
.author-box .av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; }
.author-box .av image-slot { width: 100%; height: 100%; }
.author-box h4 { font-family: var(--font-head); font-size: 1.4rem; }
.author-box .role { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); margin: 4px 0 10px; }
.author-box p { color: var(--ink-soft); font-size: .98rem; }
.author-box .btn { margin-top: 14px; }

.article-cta { background: var(--bg-deep); color: #efeae0; text-align: center; }
.article-cta h2 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.article-cta p { color: #c3bdb1; max-width: 46ch; margin: 0 auto 24px; }

@media (max-width: 860px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature .media { min-height: 240px; }
  .blog-feature .body { padding: 34px; }
  .author-box { flex-direction: column; }
}
