/* ============================================================
   Single blog post — standalone styles.
   Values measured from the live Thrive rendering of
   /adhd-meltdown-vs-autism-meltdown-5-differences/ with headless
   Chrome computed styles. No Thrive CSS is required by this file.
   ============================================================ */

:root{
  --tav-navy:      #193F5D;   /* hero band, sampled rgb(25,63,93) */
  --tav-ink:       #000000;   /* headings */
  --tav-body:      #3E3E3E;   /* body copy, rgb(62,62,62) */
  --tav-link:      #008FFF;   /* in-content links */
  --tav-pink:      #E63372;   /* caution box border */
  --tav-hover:     #ff80ad;   /* link / card hover */
  --tav-pink2:     #E62E70;   /* CTA text link, e.g. Download PDF */
  --tav-orange:    #FF7A41;   /* caution box border, alt */
  --tav-yellow:    rgba(246,205,0,.85);
  --tav-box-grey:  #F5F5F5;   /* TOC / content box */
  --tav-box-grey2: #F2F4F5;
  --tav-rule:      rgba(0,0,0,.08);
  --tav-col:       700px;     /* content column */
  --tav-gap:       32px;      /* vertical rhythm between blocks */
  --tav-font:      'Sen', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── HERO ───────────────────────────────────────────────── */
.tav-post-hero{
  background:var(--tav-navy);
  padding:72px 24px 80px;
  text-align:center;
}
.tav-post-hero__title{
  font-family:var(--tav-font);
  font-size:48px; line-height:60px; font-weight:700;
  color:#fff; margin:0 auto; max-width:1017px;
}
/* One row per role (Curated by / Expert Reviewed by ...), each with its own
   avatar. Rows stack as a left-aligned group centred under the title, as live. */
.tav-post-byline{
  display:flex; flex-direction:column; align-items:flex-start; gap:16px;
  width:fit-content; max-width:100%; margin:38px auto 0;
}
.tav-post-byline__row{ display:flex; align-items:center; gap:16px; text-align:left; }
.tav-post-byline__label{ margin-right:6px; }
.tav-post-byline__avatar{
  width:56px; height:56px; border-radius:50%;
  object-fit:cover; display:block; flex:0 0 56px;
}
.tav-post-byline__text{
  font-family:var(--tav-font);
  font-size:16px; line-height:26px; font-weight:400; color:#fff;
}
.tav-post-byline__text a{ color:#fff; text-decoration:underline; }
.tav-post-byline__text a:hover{ opacity:.85; }


/* ── ARTICLE COLUMN ─────────────────────────────────────── */
.tav-post-body{
  max-width:var(--tav-col);
  margin:0 auto;
  padding:56px 0px 72px;
  font-family:var(--tav-font);
  font-size:16px; line-height:26px; font-weight:400;
  color:var(--tav-body);
}
.tav-post-body > * + *{ margin-top:var(--tav-gap); }

.tav-post-body h2{
  font-size:44px; line-height:56px; font-weight:700; color:var(--tav-ink);
  margin:0; scroll-margin-top:24px;
}
.tav-post-body h3{
  font-size:26px; line-height:36px; font-weight:600; color:var(--tav-ink);
  margin:0; scroll-margin-top:24px;
}
.tav-post-body h4{
  font-size:26px; line-height:26px; font-weight:600; color:var(--tav-ink); margin:0;
}
.tav-post-body h5{
  font-size:20px; line-height:28px; font-weight:700; color:var(--tav-ink); margin:0;
}
.tav-post-body p{ margin:0; color:var(--tav-body); }
.tav-post-body strong,.tav-post-body b{ font-weight:600; color:var(--tav-ink); }
.tav-post-body em{ font-style:italic; color:var(--tav-ink); }
/* Link colour has to out-specify the Customizer's Additional CSS, which ships
   `body.single.single-post p a{color:#3E3E3E!important}` (and the same on :hover)
   inline in wp_head - so it beats any enqueued sheet on both order and weight.
   Theirs is (0,2,3); these are (0,3,2)-(0,4,3), so they win on specificity alone.
   Left in place because the 148 Thrive-rendered posts still rely on that rule. */
body.single-post .tav-post .tav-post-body a,
body.single-post .tav-post .tav-post-body p a,
body.single-post .tav-post .tav-post-body li a,
body.single-post .tav-post .tav-post-body h2 a,
body.single-post .tav-post .tav-post-body h3 a{
  color:var(--tav-link) !important;
  font-weight:600;
  text-decoration:none !important;
  transition:color .2s ease;
}
body.single-post .tav-post .tav-post-body a:hover,
body.single-post .tav-post .tav-post-body p a:hover,
body.single-post .tav-post .tav-post-body li a:hover,
body.single-post .tav-post .tav-post-body h2 a:hover,
body.single-post .tav-post .tav-post-body h3 a:hover{
  color:var(--tav-hover) !important;
}
.tav-post-body ul,.tav-post-body ol{ margin:0; padding-left:20px; }
.tav-post-body li{ margin:0 0 6px; color:var(--tav-ink); }
.tav-post-body li:last-child{ margin-bottom:0; }
.tav-post-body img{ max-width:100%; height:auto; display:block; border-radius:0; }
.tav-post-body figure{ margin:0; }
.tav-post-body figcaption{ font-size:14px; color:var(--tav-body); margin-top:8px; }
.tav-post-body table{ width:100%; border-collapse:collapse; }
.tav-post-body table th,.tav-post-body table td{
  border:1px solid var(--tav-rule); padding:10px 12px; text-align:left; font-size:15px;
}
.tav-post-body .tav-scroll-x{ overflow-x:auto; }
/* Video embeds (YouTube block, or a pasted YouTube/Vimeo iframe) fill the column
   at 16:9. WordPress's own responsive embed styles may not load on this theme,
   in which case the iframe would sit at a fixed 500x281. */
.tav-post-body .wp-block-embed{ margin:0; }
.tav-post-body .wp-block-embed__wrapper{ position:relative; }
.tav-post-body .wp-block-embed iframe,
.tav-post-body iframe[src*="youtube.com"],
.tav-post-body iframe[src*="youtube-nocookie.com"],
.tav-post-body iframe[src*="player.vimeo.com"]{
  display:block; width:100%; height:auto; aspect-ratio:16 / 9; border:0;
}
.tav-post-body .wp-block-embed figcaption{ font-size:14px; color:var(--tav-body); margin-top:8px; }

/* ── TABLE OF CONTENTS ──────────────────────────────────── */
.tav-toc{
  background:var(--tav-box-grey);
  border-radius:12px;
  padding:32px 39px;
}
.tav-toc__title{
  font-size:26px; line-height:34px; font-weight:600;
  color:var(--tav-ink) !important; margin:0 0 0px !important;
}
.tav-toc ol{ margin:0; padding-left:0px; }
.tav-toc li{ margin:0 0 4px; color:var(--tav-ink); }
.tav-toc a{ color:var(--tav-ink); text-decoration:none; }
.tav-toc a:hover{ color:var(--tav-link); text-decoration:underline; }

/* ── CALLOUT / CAUTION BOXES ────────────────────────────── */
.tav-callout{
  border:1px solid var(--tav-pink);
  border-radius:8px;
  padding:21px 24px;
  display:flex; gap:0; align-items:stretch;
  /* Exact fill from the live box. It is a background-IMAGE gradient rather than
     a background-color, which is why getComputedStyle().backgroundColor reports
     transparent on these boxes. */
  background:linear-gradient(rgba(230, 51, 114, 0.08), rgba(230, 51, 114, 0.08));
}
.tav-callout--orange{
  border-color:#ff7a41;
  background:linear-gradient(rgba(255, 239, 235, 0.5), rgba(255, 239, 235, 0.5));
}
.tav-callout--yellow{
  border-color:#f6cd00d9;
  background:linear-gradient(rgba(255, 250, 233, 0.5), rgba(255, 250, 233, 0.5));
}
/* Blue is a plain highlight panel - no border, and no icon or divider. */
.tav-callout--blue{
  border-color:transparent;
  background:linear-gradient(rgba(222, 245, 255, 0.5), rgba(222, 245, 255, 0.5));
  border-radius:12px;
}
.tav-callout--blue .tav-callout__body{ border-left:0; padding-left:0; }
.tav-callout--blue .tav-callout__icon{ padding-right:18px; }
.tav-callout--grey{ border-color:transparent; background:var(--tav-box-grey2); border-radius:12px; }
/* Icon sits left of a vertical rule - on the live box that rule is a
   border-left on the text column with 29px of padding. */
.tav-callout__icon{
  flex:0 0 auto;
  display:flex;
  justify-content:center;
  padding-right:29px;
  padding-top:5px;
}
.tav-callout__icon img{ width:24px; height:24px; display:block; }
.tav-callout__body{
  flex:1 1 auto; font-size:16px; line-height:26px; color:var(--tav-body);
  border-left:1px solid var(--tav-pink); padding-left:29px;
}
.tav-callout--orange .tav-callout__body{ border-left-color:#ff7a41; }
.tav-callout--yellow .tav-callout__body{ border-left-color:#f6cd00d9; }
/* No icon, no divider - the rule only makes sense as a separator. */
.tav-callout__icon + .tav-callout__body{ border-left-width:1px; }
.tav-callout > .tav-callout__body:first-child{ border-left:0; padding-left:0; }
.tav-callout--grey .tav-callout__body{ border-left:0; padding-left:0; }
.tav-callout--grey .tav-callout__icon{ padding-right:18px; }
.tav-callout__body > * + *{ margin-top:10px; }
.tav-callout__body strong{ color:var(--tav-ink); font-weight:600; }
.tav-callout__body p{ margin:0 !important; padding:0 !important; }
.tav-callout__body ul,.tav-callout__body ol{ margin:0; padding-left:20px; }
/* Links inside a callout carry a trailing arrow, as on the live boxes.
   Swap the glyph for an <img> if you would rather use the real icon. */
.tav-callout__body a::after{
  content:"\2197";               /* north-east arrow */
  display:inline-block;
  margin-left:4px;
  color:var(--tav-pink);
  font-weight:700;
  text-decoration:none;
}
.tav-callout__body a[href$=".pdf"]::after,
.tav-callout__body a.is-download::after{ content:"\2193"; }  /* downward arrow */
.tav-callout__body a:hover::after{ color:var(--tav-hover); }

/* ── PULL QUOTE ─────────────────────────────────────────── */
/* Measured on /benefits-of-iep-for-autism-special-needs/: lavender gradient,
   12px radius, quote 20px/28px w700 #000 upright; 48px round photo, 16px gap;
   name and role 16px/26px w400 #000. Padding read from the screenshot. */
.tav-quote{
  position:relative; margin:0; padding:40px;
  /* Quote-mark image layered over the lavender gradient. The image is 174x173;
     size and position read from the live screenshot. */
  background-image:url(https://theautismvoyage.com/wp-content/uploads/2024/01/aq11.png),
                   linear-gradient(rgba(249, 241, 255, 0.5), rgba(249, 241, 255, 0.5));
  background-repeat:no-repeat, no-repeat;
  background-size:115px auto, auto;
  background-position:18px 28px, 0 0;
  border-radius:12px;
}
.tav-quote__text{
  position:relative; margin:0; padding:0; border:0;
  font-family:var(--tav-font);
  font-size:20px; line-height:28px; font-weight:700; font-style:normal;
  color:var(--tav-ink);
}
.tav-quote__text::before{ content:"\201C"; }
.tav-quote__text::after{ content:"\201D"; }
.tav-quote__by{
  position:relative; display:flex; align-items:center; gap:16px;
  margin-top:20px !important; font-family:var(--tav-font);
}
.tav-quote__photo{
  width:48px; height:48px; border-radius:50%; object-fit:cover;
  display:block; flex:0 0 48px;
}
.tav-quote__who{ display:flex; flex-direction:column; }
.tav-quote__name,
.tav-quote__role{ font-size:16px; line-height:26px; font-weight:400; color:var(--tav-ink); }

/* ── KEY TAKEAWAY ───────────────────────────────────────── */
.tav-takeaway{
  background: linear-gradient(rgba(249, 241, 255, 0.5), rgba(249, 241, 255, 0.5)) !important;
    border-radius: 12px;
    padding: 32px 39px;
    border: 1px solid #ce8cff;
}
.tav-takeaway__title{
  font-size:44px; line-height:26px; font-weight:700;
  color:var(--tav-ink) !important; margin:0 0 16px !important;
}
.tav-takeaway ul{ margin:0; padding-left:20px; }
.tav-takeaway li{ margin:0 0 10px; color:var(--tav-ink); }
.tav-takeaway li:last-child{ margin-bottom:0; }
.tav-takeaway li strong{ display:block; font-weight:600; color:var(--tav-ink); }
/* Closing paragraph under the points, inside the box.
   Needs its own top margin because .tav-post-body p is margin:0. */
.tav-takeaway__outro{ margin-top:26px; }
.tav-takeaway__outro p{ margin:0 0 10px; color:var(--tav-body); }
.tav-takeaway__outro p:last-child{ margin-bottom:0; }

/* ── CALL TO ACTION ─────────────────────────────────────── */
.tav-cta{
  display:flex; gap:26px; align-items:center;
  border-radius:12px; padding:32px 36px;
}
.tav-cta--panel{
  background:#fff; color:var(--tav-body);
  box-shadow:rgba(0, 0, 0, 0.08) 0px 8px 38px 0px;
}
.tav-cta--soft{ background:var(--tav-box-grey); color:var(--tav-body); }
.tav-cta--plain{ background:transparent; padding:0; }
.tav-cta__media{ flex:0 0 168px; }
.tav-cta__media img{ width:100%; height:auto; display:block; border-radius:0; }
.tav-cta__body{ flex:1 1 auto; }
/* Measured: H2 Sen 18px/28px w700 #000, 16px bottom padding. */
.tav-cta__heading{
  font-family:var(--tav-font); font-size:18px; line-height:28px;
  font-weight:700; color:var(--tav-ink); margin:0 !important; padding:0 !important;
}
/* Measured: P Sen 16px/26px w400 #3E3E3E. */
.tav-cta__text{ font-size:16px; line-height:26px; color:var(--tav-body); }
.tav-cta__text p{ margin:0; }
.tav-cta__text p + p{ margin-top:10px; }

/* Default button is the pink text link the live card uses -
   measured Sen 18px/26px w700 #E62E70 - not a filled pill.
   Needs the full ancestor chain: the generic in-content link rule above is
   (0,3,2) with !important and would otherwise force this to the blue link
   colour, which is exactly what it was doing. */
body.single-post .tav-post .tav-post-body .tav-cta__btn,
.tav-cta__btn{
  display:inline-block; margin-top:0;
  font-family:var(--tav-font); font-weight:700; font-size:18px; line-height:26px;
  color:var(--tav-pink2) !important; text-decoration:none !important;
  transition:color .2s ease;
}
.tav-cta__btn::after{ content:"\2193"; margin-left:6px; }
body.single-post .tav-post .tav-post-body .tav-cta__btn:hover,
.tav-cta__btn:hover{ color:var(--tav-ink) !important; }

/* Opt-in filled pill, for CTAs that want a button rather than a link. */
body.single-post .tav-post .tav-post-body .tav-cta__btn--pill,
.tav-cta__btn--pill{
  background:#FDD406; color:#193F5D !important;
  font-size:17px; line-height:28px;
  padding:9px 28px; border-radius:100px;
  border:1px solid transparent;
}
.tav-cta__btn--pill::after{ content:none; }
body.single-post .tav-post .tav-post-body .tav-cta__btn--pill:hover,
.tav-cta__btn--pill:hover{ background:transparent; border-color:var(--tav-navy); color:var(--tav-navy) !important; }
/* The heading can contain links - keep them on the heading's own scale. */
.tav-cta__heading a{ font-size:inherit; font-weight:inherit; }

/* ── NEWSLETTER ─────────────────────────────────────────── */
.tav-newsletter{
  background:var(--tav-navy); color:#fff;
  border-radius:12px; padding:32px 36px;
}
.tav-newsletter__heading{
  font-family:var(--tav-font); font-size:24px; line-height:32px;
  font-weight:700; color:#fff; margin:0 0 10px;
}
.tav-newsletter__text{ font-size:16px; line-height:26px; color:rgba(255,255,255,.85); margin:0 0 18px; }
.tav-newsletter__embed iframe{ width:100%; max-width:450px; display:block; }

/* ── EMBEDDED FORM ──────────────────────────────────────── */
.tav-form{ width:100%; }
.tav-form .post-bottom-form-wrap{ width:100%; }

/* ── TICKED SECTION (content sections and FAQs) ─────────── */
/* Measured on /meaning-of-snt/: 20px icon, 16px gap, 5px icon offset,
   H3 26px/36px w600 with 16px below; paragraphs 16px/26px black with 16px
   below; lists padded 10px 0 16px 40px. */
.tav-section{
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  column-gap:16px;
  align-items:start;
}
.tav-section--no-icon{ grid-template-columns:minmax(0,1fr); }
.tav-section__icon{ padding-top:5px; line-height:0; }
.tav-section__icon img{ width:20px; height:20px; display:block; }
.tav-section__main{ min-width:0; }
.tav-post-body .tav-section__heading{ margin:0; padding:0 0 16px; }
.tav-section__body > *{ margin:0; }
.tav-section__body p{ color:var(--tav-ink); padding:0 0 16px; }
.tav-section__body ul,
.tav-section__body ol{ padding:10px 0 16px 40px; }
.tav-section__body > *:last-child{ padding-bottom:0; }

/* ── REFERENCES ─────────────────────────────────────────── */
.tav-refs{ border-top:1px solid var(--tav-rule); padding-top:24px; }
.tav-refs__title{
  font-family:var(--tav-font); font-size:20px; line-height:28px;
  font-weight:700; color:var(--tav-ink); margin:0 0 12px;
}
.tav-refs__list{ margin:0; padding-left:20px; }
.tav-refs__list li{ font-size:14px; line-height:24px; color:var(--tav-body); margin:0 0 8px; }
.tav-refs__list li:last-child{ margin-bottom:0; }
.tav-refs__list a{ color:var(--tav-link); text-decoration:none; word-break:break-word; }
.tav-refs__list a:hover{ color:var(--tav-hover); text-decoration:underline; }

/* ── SHARE + GOOGLE PREFERRED SOURCE ────────────────────── */
/* Measured on /meaning-of-snt/: 48x74 tiles, 10px apart, #F7F7F7 gradient;
   16px icon #008FFF centred in a 48px square; label band 26px tall, #E2E2E2,
   rgba(51,51,51,.73), 9.776px w600 uppercase. 20px between tiles and button. */
.tav-share{ display:flex; gap:10px; margin:0 0 20px; }
body.single-post .tav-post .tav-post-body a.tav-share__item{
  display:flex; flex-direction:column; width:48px;
  background:linear-gradient(rgb(247, 247, 247), rgb(247, 247, 247));
  text-decoration:none !important; transition:opacity .2s ease;
}
body.single-post .tav-post .tav-post-body a.tav-share__item:hover{ opacity:.8; }
.tav-share__icon{ height:48px; display:flex; align-items:center; justify-content:center; }
.tav-share__icon svg{ width:16px; height:16px; fill:#008FFF; display:block; }
.tav-share__label{
  display:block; height:26px; line-height:26px; text-align:center;
  background:#E2E2E2; color:rgba(51, 51, 51, 0.73);
  font-family:var(--tav-font); font-size:9.776px; font-weight:600; text-transform:uppercase;
}

/* ── POST FOOTER: related posts ─────────────────────────── */
/* Full-width band; the title and grid inside stay capped at 1360px. */
.tav-post-related{
  max-width:none; margin:0; padding:72px 20px;
  background:linear-gradient(rgba(248, 248, 248, 0.5), rgba(248, 248, 248, 0.5));
}
.tav-post-related__title{
  font-family:var(--tav-font); font-size:44px; line-height:36px;
  font-weight:700; color:var(--tav-ink); margin:0 0 40px; text-align: center;
}
.tav-post-related__title,
.tav-post-related__grid{ max-width:1360px; margin-left:auto; margin-right:auto; }
.tav-post-related__grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:37px; align-items:start;
}
.tav-rcard__link{ text-decoration:none; display:block; color:inherit; }
.tav-rcard__media{
  display:block; border-radius:12px; overflow:hidden; margin-bottom:16px;
  aspect-ratio:312/234; background:var(--tav-box-grey);
}
.tav-rcard__media img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .45s ease;
}
.tav-rcard__title{
  display:block; font-family:var(--tav-font);
  font-size:18px; line-height:26px; font-weight:700; color:var(--tav-ink);
  transition:color .2s ease;
}
.tav-rcard__link:hover .tav-rcard__title{ color:var(--tav-hover); }
.tav-rcard__link:hover .tav-rcard__media img{ transform:scale(1.06); }

/* ── BYLINE HOVER BIO CARD ──────────────────────────────── */
.tav-byline-person{ position:relative; display:inline-block; }
.tav-byline-person__name{ color:#fff; text-decoration:underline; }
.tav-bio-card{
  position:absolute; left:50%; bottom:calc(100% + 14px); transform:translateX(-50%) translateY(6px);
  width:min(560px,86vw); background:#fff; color:var(--tav-body);
  border-radius:12px; box-shadow:0 18px 44px rgba(0,0,0,.22);
  padding:22px 24px; text-align:left; z-index:40;
  opacity:0; visibility:hidden; pointer-events:none;
  /* Hiding waits .15s, so a slightly off path from name to card doesn't close it. */
  transition:opacity .22s ease .15s, transform .22s ease .15s, visibility 0s linear .37s;
}
.tav-byline-person:hover .tav-bio-card,
.tav-byline-person:focus-within .tav-bio-card{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
  /* Without this the open card ignores the mouse: hover drops the moment the
     cursor enters it, and the LinkedIn link inside can't be clicked. */
  pointer-events:auto;
  transition:opacity .22s ease, transform .22s ease, visibility 0s;
}
/* Invisible bridge over the 14px gap between card and name. It belongs to the
   card, which belongs to .tav-byline-person, so hover survives the crossing. */
.tav-bio-card::before{
  content:""; position:absolute; left:0; right:0; top:100%; height:18px;
}
.tav-bio-card::after{
  content:""; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  border:11px solid transparent; border-top-color:#fff;
}
.tav-bio-card__head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.tav-bio-card__head img{ width:54px; height:54px; object-fit:cover;}
.tav-bio-card__name{ font-size:18px; font-weight:700; color:var(--tav-ink); }
.tav-bio-card__li,.tav-authorcard__li{
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; text-decoration:none; line-height:1;
  transition:opacity .2s ease;
}

.tav-bio-card__li img{
opacity: 0.6;
}
.tav-bio-card__li img,.tav-authorcard__li img{ width:100%; height:100%; display:block; }
.tav-bio-card__li:hover,.tav-authorcard__li:hover{ opacity:1; }
.tav-bio-card__text{ display:block; font-size:15px; line-height:25px; color:var(--tav-body); }

/* ── AUTHOR CARD ────────────────────────────────────────── */
.tav-authorcard{
  display:flex; gap:26px; align-items:flex-start;
  background:#fff; border-radius:16px;
  box-shadow:0 10px 34px rgba(0,0,0,.08);
  padding:32px; margin-bottom:24px;
}
.tav-authorcard__media{ flex:0 0 158px; }
.tav-authorcard__img{ width:158px; height:158px; border-radius:8px; object-fit:cover; display:block; }
.tav-authorcard__name{
  display:flex; align-items:center; gap:10px;
  font-size:24px; line-height:34px; font-weight:600; color:var(--tav-ink); margin:0 0 8px; padding-bottom: 0px !important;
}
.tav-authorcard__bio{ font-size:14px; line-height:24px; color:var(--tav-body); margin:0; }

.tav-authorcard__li img{
 opacity: 0.6;
}
/* ── POST FOOTER: author box ────────────────────────────── */
.tav-post-author{
  max-width:var(--tav-col); margin:0 auto; padding:0 20px 56px;
  font-family:var(--tav-font); padding-top: 40px;
}
.tav-post-author__title{ font-size:44px; line-height:36px; font-weight:700; color:var(--tav-ink); margin:0 0 20px;  text-align: center; }
.tav-post-author__row{ display:flex; gap:18px; align-items:flex-start; }
.tav-post-author__avatar{ width:72px; height:72px; border-radius:50%; object-fit:cover; flex:0 0 72px; }
.tav-post-author__name{ font-size:18px; font-weight:700; color:var(--tav-ink); margin:0 0 6px; }
.tav-post-author__bio{ font-size:15px; line-height:25px; color:var(--tav-body); margin:0; }
.tav-post-disclaimer{
  max-width:var(--tav-col); margin:0 auto; padding:0 20px 64px;
  font-family:var(--tav-font); font-size:12px; line-height:22px; color:var(--tav-body);
}

/* ── BOTTOM FORM (LeadGen / CliqForms embed) ────────────── */
.tav-post-form{ max-width:var(--tav-col); margin:0 auto; padding:0 20px 64px; }
.tav-post-form .post-bottom-form-wrap{ width:100%; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media screen and (max-width:1024px){
  .tav-post-hero__title{ font-size:38px; line-height:48px; }
  .tav-post-body h2{ font-size:34px; line-height:44px; }
}
@media screen and (max-width:1024px){
  .tav-post-related__grid{ grid-template-columns:repeat(2,1fr); gap:28px; }
}
@media screen and (max-width:767px){
  .tav-post-related__grid{ grid-template-columns:1fr; gap:24px; }
  .tav-post-related{ padding:48px 18px; }
  .tav-authorcard{ flex-direction:column; gap:18px; padding:22px; }
  .tav-authorcard__media{ flex:0 0 auto; }
  .tav-authorcard__img{ width:100%; height: 100%; }
  /* Anchored to the name, this can run off-screen on a phone, so pin it to
     the viewport and drop the pointer arrow rather than let it clip. */
  .tav-bio-card{
    position:fixed; left:16px; right:16px; top:50%; bottom:auto;
    width:auto; max-width:none;
    transform:translateY(-46%) scale(.98);
    max-height:76vh; overflow-y:auto;
  }
  .tav-byline-person:hover .tav-bio-card,
  .tav-byline-person:focus-within .tav-bio-card{
    transform:translateY(-50%) scale(1);
  }
  .tav-bio-card::after,
  .tav-bio-card::before{ display:none; }
  .tav-post-hero{ padding:44px 18px 52px; }
  .tav-post-hero__title{ font-size:28px; line-height:38px; }
  /* Mobile byline, as live: each role stacked and centred -
     photo, then label, then name(s) - with clear space between roles. */
  .tav-post-byline{ margin-top:26px; gap:32px; width:100%; align-items:center; }
  .tav-post-byline__row{ flex-direction:column; gap:12px; text-align:center; }
  .tav-post-byline__text{ display:block; text-align:center; }
  .tav-post-byline__label{ display:block; margin:0 0 8px; }
  .tav-post-body{ padding:36px 18px 48px; }
  .tav-post-body h2{ font-size:26px; line-height:34px; }
  .tav-post-body h3{ font-size:21px; line-height:30px; }
  .tav-post-body h4{ font-size:20px; line-height:28px; }
  .tav-toc,.tav-takeaway{ padding:24px 22px; }
  .tav-quote{ padding:24px 22px; background-size:80px auto, auto; background-position:10px 14px, 0 0; }
  .tav-quote__text{ font-size:18px; line-height:26px; }
  .tav-callout{ padding:18px; }
  .tav-callout__icon{ padding-right:16px; }
  .tav-callout__body{ padding-left:16px; }
  .tav-section{ column-gap:12px; }
  .tav-section__body ul,.tav-section__body ol{ padding-left:8px; }
  .tav-cta{ flex-direction:column; align-items:flex-start; gap:18px; padding:24px 22px; }
  .tav-cta__media{ flex:0 0 auto; max-width:160px; }
  .tav-cta__heading,.tav-newsletter__heading{ font-size:20px; line-height:28px; }
  .tav-newsletter{ padding:24px 22px; }

.tav-post-related__title{
 font-size:32px;
}
.tav-post-author__title{ font-size:32px; line-height:36px; }
.tav-takeaway__title{
  font-size:21px; line-height:28px; font-weight:700; margin: 0 0 0px !important;
}
.tav-takeaway ul {
    padding-left: 0px;
}
}
/* ── MIGRATED POSTS: fixes from the first test draft (Sept 15) ── */
.tav-post-body .tav-toc,
.tav-post-body .tav-callout,
.tav-post-body .tav-quote,
.tav-post-body .tav-takeaway,
.tav-post-body .tav-cta,
.tav-post-body .tav-form,
.tav-post-body .tav-resources{ margin-bottom:32px; }
.tav-section__body .tav-callout,
.tav-section__body .tav-quote,
.tav-section__body .tav-cta{ margin-bottom:16px; }

.tav-post-body > p{ color:#000000; }

.tav-post-body .tav-resources{ display:flex; gap:35px; }
.tav-post-body .tav-resource-card{
  flex:1 1 0; min-width:0;
  background:linear-gradient(rgba(249, 241, 255, 0.5), rgba(249, 241, 255, 0.5));
  border-radius:8px; padding:48px;
}
.tav-resource-card > * + *{ margin-top:24px; }
.tav-post-body .tav-resource-card p.tav-resource-card__title{
  font-size:19px; line-height:26px; font-weight:700; color:#000000;
}
.tav-post-body .tav-resource-card p{ color:var(--tav-body); }
body.single-post .tav-post .tav-post-body .tav-resource-card a{ font-weight:400; }
@media screen and (max-width:767px){
  .tav-post-body .tav-resources{ flex-direction:column; gap:20px; }
  .tav-post-body .tav-resource-card{ padding:28px; }
}
/* Key Takeaway: space between points */
.tav-post-body .tav-takeaway li{ margin-bottom:16px; }
.tav-post-body .tav-takeaway li:last-child{ margin-bottom:0; }