/* ============================================================================
   Answers — premium design system, native to the Dr. Z journal.
   Reuses brand tokens from blog.css :root (--ink --navy --blue --cream --paper
   --muted --line --shadow --radius) and matches its type scale and card feel.
   ========================================================================== */

.ans-page, .answer, .topic, .ans-searchpage { --card-shadow: 0 22px 55px rgba(32,54,80,.10); }
.ans-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.ans-section { max-width: 1240px; margin: 0 auto; padding: 64px 28px; }
.ans-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.ans-section-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.045em; line-height: 1.02; margin: 0; color: var(--ink); }
.ans-section-head p { max-width: 380px; color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--navy); font-size: 11px; font-weight: 800; margin: 0 0 16px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; color: #7a8390; font-size: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span { opacity: .5; }

/* ---- shared arrow button ---- */
.ans-arrow { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(32,54,80,.14); transition: transform .25s, background .25s, color .25s; }
.ans-arrow svg { width: 18px; height: 18px; }

/* ============================ HERO ============================ */
.ans-hero { max-width: 1240px; margin: 0 auto; padding: 84px 28px 30px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.ans-hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -.06em; margin: 0; color: var(--ink); }
.ans-hero .dek { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.75; margin: 24px 0 0; }
.ans-search { display: flex; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 16px; padding: 6px; margin: 30px 0 18px; max-width: 560px; box-shadow: 0 8px 30px rgba(32,54,80,.06); }
.ans-search input { flex: 1; border: 0; background: transparent; outline: 0; padding: 15px 16px; font-size: 15px; color: var(--ink); }
.ans-search button { border: 0; background: var(--navy); color: #fff; border-radius: 12px; padding: 0 26px; font-weight: 700; font-size: 14px; cursor: pointer; }
.ans-hero-popular { font-size: 13px; color: var(--muted); }
.ans-hero-popular a { color: var(--navy); font-weight: 700; }
.ans-hero-popular a:not(:last-child)::after { content: "·"; color: var(--line); margin: 0 8px; font-weight: 400; }

/* hero featured card (photo-1 style: floating label + arrow) */
.ans-hero-card { position: relative; background: linear-gradient(158deg, #e7f0f8 0%, #fbfdff 62%); border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px; padding: 40px 30px 26px; box-shadow: var(--card-shadow); min-height: 250px; display: flex; flex-direction: column; }
.ans-hero-card .ans-float-label { top: -17px; }
.ans-hero-card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.03em; color: var(--ink); margin: 8px 0 12px; }
.ans-hero-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.ans-hero-card .ans-card-foot { margin-top: auto; }

/* floating white pill label (the signature of photo 1) */
.ans-float-label { position: absolute; top: -16px; left: 24px; right: 24px; max-width: calc(100% - 48px); width: max-content;
  background: #fff; color: var(--navy); font-weight: 800; font-size: 14px; letter-spacing: -.01em; line-height: 1.25;
  padding: 12px 18px; border-radius: 16px; box-shadow: 0 14px 32px rgba(32,54,80,.14); }

/* ============================ PILLARS (trust band) ============================ */
.ans-pillars { background: var(--navy); }
.ans-pillars-inner { max-width: 1240px; margin: 0 auto; padding: 30px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ans-pillar { color: #fff; padding: 8px 6px; }
.ans-pillar-ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(183,212,232,.18); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.ans-pillar-ic svg { width: 22px; height: 22px; }
.ans-pillar h3 { font-size: 18px; letter-spacing: -.02em; margin: 0 0 8px; }
.ans-pillar p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.72); margin: 0; }

/* ============================ TOPIC CARDS (photo-1) ============================ */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.qa-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(158deg, #e7f0f8 0%, #fafcfe 60%);
  border: 1px solid rgba(255,255,255,.85); border-radius: 26px; padding: 44px 26px 24px; min-height: 236px;
  box-shadow: 0 12px 34px rgba(32,54,80,.06);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s; }
.qa-card:nth-child(3n+2) { background: linear-gradient(158deg, #f3efe6 0%, #fffdf9 60%); }
.qa-card:hover { transform: translateY(-6px); box-shadow: 0 28px 58px rgba(32,54,80,.14); }
.qa-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 6px 0 0; max-width: 82%; position: relative; z-index: 1; }
.qa-ic { position: absolute; right: 20px; bottom: 70px; width: 82px; height: 82px; color: var(--navy); opacity: .12; pointer-events: none; }
.qa-ic svg { width: 100%; height: 100%; }
.qa-card:hover .qa-ic { opacity: .18; }
.ans-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 24px; }
.qa-count { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--navy);
  background: rgba(255,255,255,.75); padding: 7px 14px; border-radius: 999px; }
.qa-card:hover .ans-arrow, .ans-hero-card:hover .ans-arrow { background: var(--navy); color: #fff; transform: translate(2px, -2px); }

/* ============================ POPULAR / PROMOTED ANSWERS ============================ */
.ans-popular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ans-pa { display: block; background: rgba(255,253,249,.7); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 24px; transition: transform .25s, box-shadow .25s; }
.ans-pa:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(32,54,80,.10); }
.ans-pa .pill { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #e1edf5; color: var(--navy); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.ans-pa h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.ans-pa p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================ AVAILABILITY + CTA + TRUST ============================ */
.ans-availability { max-width: 1240px; margin: 0 auto 10px; padding: 0 28px; }
.ans-availability-inner { background: var(--blue); border-radius: var(--radius); padding: 30px 40px; color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.ans-availability-inner p { margin: 0; font-size: 15px; font-weight: 600; }
.ans-availability-note { font-size: 13px; color: #40556c; font-weight: 500; }

.ans-cta-band { max-width: 1240px; margin: 60px auto 90px; padding: 0 28px; }
.ans-cta-inner { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: var(--card-shadow); }
.ans-cta-inner .eyebrow { color: var(--blue); }
.ans-cta-inner h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; margin: 0 0 10px; }
.ans-cta-inner p { margin: 0; color: rgba(255,255,255,.72); max-width: 52ch; font-size: 15px; line-height: 1.6; }
.button, .ans-btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; border: 0; cursor: pointer; white-space: nowrap; }
.ans-btn.light { background: #fff; color: var(--navy); }
.ans-btn svg { width: 16px; height: 16px; }
.ans-trust { max-width: 1240px; margin: 0 auto; padding: 0 28px 80px; color: var(--muted); font-size: 13.5px; text-align: center; }
.ans-trust a { color: var(--navy); font-weight: 700; }

/* ============================ ANSWER PAGE ============================ */
.answer { max-width: 1180px; margin: 0 auto; padding: 66px 28px 40px; }
.answer-head { max-width: 820px; }
.answer-head h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.05em; color: var(--ink); margin: 20px 0 6px; }
.ans-review { color: var(--muted); font-size: 13px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ans-review-by { margin: 0; }
.ans-review-by a { color: var(--navy); font-weight: 700; }
.ans-review-dates { margin: 4px 0 0; font-weight: 700; color: var(--navy); letter-spacing: .01em; }

/* short answer: the signature block, never collapsed */
.ans-short { position: relative; background: linear-gradient(158deg, #eaf2fa 0%, #fbfdff 62%); border: 1px solid rgba(255,255,255,.85);
  border-radius: 24px; padding: 30px 36px; margin: 28px 0; box-shadow: 0 16px 42px rgba(32,54,80,.09); }
.ans-short-label { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--navy); margin: 0 0 12px; display: flex; align-items: center; gap: 9px; }
.ans-short-label::before { content: ""; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.ans-short-text { margin: 0; font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }

.answer-layout { display: grid; grid-template-columns: 230px 1fr; gap: 46px; align-items: start; margin-top: 40px; }
.ans-toc { position: sticky; top: 104px; align-self: start; border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px; background: rgba(255,253,249,.6); }
.ans-toc-title { text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; color: var(--muted); margin: 0 0 14px; }
.ans-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ans-toc a { color: #5f6b7a; font-size: 13.5px; line-height: 1.4; border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px; transition: .2s; }
.ans-toc a:hover, .ans-toc a.active { color: var(--navy); border-color: var(--navy); font-weight: 700; }
@media (max-width: 980px) { .answer-layout { grid-template-columns: 1fr; } .ans-toc { position: static; } }

/* reference-tool measure: narrower body than the magazine-width Journal */
.ans-main { max-width: 720px; }
.ans-body.prose { font-size: 16.5px; line-height: 1.85; color: #36455a; max-width: 68ch; }
.ans-body.prose h3 { font-size: 24px; color: var(--ink); letter-spacing: -.02em; scroll-margin-top: 104px; margin: 1.9em 0 .55em; }
.ans-body.prose a { color: var(--navy); text-decoration: underline; }
.ans-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: 15px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ans-body th, .ans-body td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ans-body tr:last-child td { border-bottom: 0; }
.ans-body thead th { background: #eef4fa; color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.ans-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; border-radius: 16px; }
.ans-table-scroll table { margin: 0; }
@media (max-width: 640px) { .ans-body table:not(.js-wrapped) { display: block; overflow-x: auto; white-space: nowrap; } }

.ans-redflag { border: 0; background: #fff4f2; border-left: 4px solid #d64535; border-radius: 0 20px 20px 0; padding: 22px 26px; margin: 26px 0; color: #7a271a; box-shadow: 0 12px 30px rgba(180,35,24,.08); }
.ans-redflag :where(p, ul) { margin: .35em 0; }
.ans-redflag strong { color: #b42318; }

.ans-clinical { border: 1px solid var(--line); border-radius: 20px; padding: 6px 28px; margin: 30px 0; background: rgba(255,253,249,.55); }
.ans-clinical > summary { cursor: pointer; font-weight: 800; color: var(--navy); padding: 18px 0; list-style: none; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ans-clinical > summary::-webkit-details-marker { display: none; }
.ans-clinical > summary::before { content: "+"; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 16px; line-height: 1; }
.ans-clinical[open] > summary::before { content: "−"; }
.ans-clinical[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }

.ans-note { position: relative; background: var(--cream); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; padding: 30px 34px; margin: 34px 0; box-shadow: 0 14px 36px rgba(32,54,80,.07); }
.ans-note-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.ans-note-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 16px rgba(32,54,80,.14); }
.ans-note-head b { color: var(--ink); font-size: 16px; }
.ans-note-head a { color: var(--navy); }
.ans-note p { margin: 0; color: #36455a; font-size: 16px; line-height: 1.75; }

/* pairing: link to the Journal essay, above sources */
.ans-pair { background: #eef4fa; border-left: 4px solid var(--navy); border-radius: 0 18px 18px 0; padding: 18px 24px; margin: 30px 0; }
.ans-pair-label { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--navy); }
.ans-pair-link { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ans-pair-link .ans-arrow { width: 34px; height: 34px; }
.ans-pair:hover .ans-pair-link .ans-arrow { background: var(--navy); color: #fff; }

.ans-sources { margin: 34px 0; }
.ans-sources h2, .ans-related h2 { font-size: 22px; letter-spacing: -.03em; color: var(--ink); margin: 0 0 18px; }
.ans-sources ol { margin: 0; padding: 0; list-style: none; counter-reset: src; display: grid; gap: 12px; }
.ans-sources li { position: relative; counter-increment: src; padding: 16px 18px 16px 52px; background: rgba(255,253,249,.6); border: 1px solid var(--line); border-radius: 16px; font-size: 14px; line-height: 1.55; }
.ans-sources li::before { content: counter(src); position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ans-sources a { color: var(--navy); font-weight: 700; text-decoration: none; }
.ans-sources a:hover { text-decoration: underline; }
.ans-src-pub, .ans-src-id { color: var(--muted); font-weight: 500; }

.ans-related { margin: 34px 0; }
.ans-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ans-rel { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(255,253,249,.7); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform .2s, box-shadow .2s; }
.ans-rel:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(32,54,80,.10); }
.ans-rel b { font-size: 15px; line-height: 1.35; color: var(--ink); font-weight: 700; }
.ans-rel .ans-arrow { width: 38px; height: 38px; }
.ans-rel:hover .ans-arrow { background: var(--navy); color: #fff; }
.ans-tag-journal { display: inline-block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); background: #e1edf5; border-radius: 999px; padding: 2px 8px; margin-top: 6px; }

.ans-cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px 40px; margin: 34px 0; box-shadow: var(--card-shadow); }
.ans-cta-blurb { margin: 0; max-width: 58ch; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); }
.ans-cta .button, .ans-cta .ans-btn { background: #fff; color: var(--navy); }

.ans-feedback { margin: 40px 0 10px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,253,249,.55); }
.ans-feedback-q { font-weight: 800; color: var(--ink); margin: 0 0 14px; font-size: 17px; }
.ans-feedback-btns { display: flex; gap: 12px; }
.ans-feedback-btns button { padding: 11px 30px; border: 1px solid var(--navy); background: transparent; color: var(--navy); border-radius: 999px; font-weight: 700; cursor: pointer; transition: .2s; }
.ans-feedback-btns button:hover { background: var(--navy); color: #fff; }
.ans-feedback-comment { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); }
.ans-feedback-comment input { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.ans-feedback.done { text-align: center; color: var(--navy); font-weight: 700; }
.ans-disclaimer { color: var(--muted); font-size: 13px; margin-top: 26px; }
.ans-disclaimer a { color: var(--navy); font-weight: 600; }
.ans-preview-banner { background: #fef7e0; border: 1px solid #f4d35e; color: #6b5900; padding: 12px 18px; border-radius: 14px; margin-bottom: 22px; font-size: 13.5px; }

/* ============================ TOPIC HUB ============================ */
.topic { max-width: 1180px; margin: 0 auto; padding: 66px 28px 40px; }
.topic-head { max-width: 820px; }
.topic-head h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -.055em; color: var(--ink); margin: 18px 0 12px; }
.topic-head .dek { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; }
.topic-intro.prose, .topic-decision.prose { max-width: 820px; margin: 34px 0; font-size: 17px; line-height: 1.9; color: #36455a; }
.topic-questions { margin: 46px 0; }
.topic-questions h2 { font-size: 26px; letter-spacing: -.035em; color: var(--ink); margin: 0 0 24px; }
.topic-qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ans-qcard { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(255,253,249,.7); border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 24px 26px; transition: transform .25s, box-shadow .25s; }
.ans-qcard:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(32,54,80,.10); }
.ans-qcard b { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }
.ans-qcard p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ans-qcard .ans-arrow { width: 40px; height: 40px; }
.ans-qcard:hover .ans-arrow { background: var(--navy); color: #fff; }
.topic-otherlist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.topic-otherlist a { color: var(--navy); font-weight: 700; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; background: rgba(255,255,255,.5); transition: .2s; }
.topic-otherlist a:hover { background: var(--navy); color: #fff; }
.topic-related h2 { font-size: 20px; letter-spacing: -.03em; color: var(--ink); margin: 40px 0 4px; }

/* ============================ SEARCH PAGE ============================ */
.ans-searchpage { max-width: 900px; margin: 0 auto; padding: 66px 28px 80px; }
.ans-searchpage h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.05em; color: var(--ink); margin: 16px 0; }
.ans-search-results { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.ans-search-results > li { background: rgba(255,253,249,.7); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; transition: transform .2s, box-shadow .2s; }
.ans-search-results > li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(32,54,80,.09); }
.ans-search-link { color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.ans-search-link:hover { color: var(--navy); }
.ans-search-topic { display: inline-block; margin-left: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); background: #e1edf5; border-radius: 999px; padding: 3px 10px; vertical-align: middle; }
.ans-search-snippet { color: var(--muted); margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.ans-search-hint, .ans-search-count { color: var(--muted); font-size: 15px; }
.ans-search-hint a, .ans-search-count { color: var(--navy); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .ans-hero { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .ans-popular-grid { grid-template-columns: repeat(2, 1fr); }
  .ans-pillars-inner { grid-template-columns: 1fr; gap: 10px; }
  .ans-cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .topic-qgrid, .ans-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ans-hero, .ans-section, .answer, .topic, .ans-searchpage { padding-left: 18px; padding-right: 18px; }
  .qa-grid, .ans-popular-grid { grid-template-columns: 1fr; }
  .ans-section { padding-top: 48px; padding-bottom: 48px; }
  .ans-short { padding: 24px 22px; }
  .ans-short-text { font-size: 18px; }
  .ans-cta, .ans-cta-inner { padding: 28px 24px; }
  .ans-availability-inner { padding: 24px 22px; }
  .ans-note, .ans-feedback { padding: 24px 22px; }
}

/* ============================ PRINT: turn an answer into a doctor's-visit handout ============================ */
.print-footer { display: none; }
.ans-print-btn { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; background: transparent; border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; }
.ans-print-btn:hover { background: var(--navy); color: #fff; }
@media print {
  nav, footer, .ans-toc, .ans-related, .ans-cta, .ans-cta-band, .ans-feedback, .ans-pair,
  .section-chip, .breadcrumbs, .ans-print-btn, .ans-preview-banner { display: none !important; }
  main.pt-20, main { padding-top: 0 !important; }
  body { background: #fff !important; color: #000 !important; }
  .answer { max-width: 100% !important; padding: 0 !important; }
  .answer-layout { display: block !important; }
  .ans-main { max-width: 100% !important; }
  .answer-head h1 { font-size: 22pt !important; color: #000 !important; }
  .ans-review { color: #000 !important; border-color: #000 !important; }
  .ans-review-by a, .ans-review-dates { color: #000 !important; }
  .ans-short { background: #fff !important; border: 1px solid #000 !important; box-shadow: none !important; border-radius: 0 !important; }
  .ans-short-label, .ans-short-text { color: #000 !important; }
  .ans-body.prose { max-width: 100% !important; color: #000 !important; font-size: 11pt !important; }
  .ans-note { background: #fff !important; border: 1px solid #000 !important; box-shadow: none !important; }
  .ans-note-head img { display: none !important; }
  .ans-redflag { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; box-shadow: none !important; }
  /* clinical detail: always expanded on print, regardless of the open state */
  details.ans-clinical { border: 1px solid #000 !important; }
  details.ans-clinical > *:not(summary) { display: block !important; }
  details.ans-clinical > summary { list-style: none; font-weight: 700; }
  details.ans-clinical > summary::before { content: "" !important; }
  /* print the full URL after every source */
  .ans-sources li { background: #fff !important; border: 1px solid #000 !important; }
  .ans-sources li::before { background: #000 !important; }
  .ans-sources a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #000; word-break: break-all; font-weight: 400; }
  a { color: #000 !important; text-decoration: none !important; }
  .print-footer { display: block !important; margin-top: 24px; padding-top: 10px; border-top: 1px solid #000; font-size: 9pt; color: #000; }
}
