/* Secondary pages: the same quiet blue, navy, and softly rounded visual language as the home page. */
@media screen {
  main :is(.content-shell,.research-shell,.prose) { padding-bottom: 96px; }
  main .breadcrumbs { color:#788397; padding-block:30px 22px; font-size:14px; }
  main .breadcrumbs a { color:#617a9b; }
  main .breadcrumbs a:hover { color:#173861; }
  main :is(.page-heading,.article-header,.research-heading) {
    max-width:none; padding:clamp(28px,4.5vw,54px); margin-bottom:42px;
    border:1px solid #e5f0fb; border-radius:30px;
    background:linear-gradient(130deg,#f5faff 0%,#edf6ff 65%,#f9fcff 100%);
  }
  main :is(.page-heading,.article-header,.research-heading) h1 { max-width:850px; color:#142138; font-size:clamp(34px,4vw,54px); line-height:1.4; }
  main :is(.page-heading,.article-header,.research-heading) :is(.answer,p) { max-width:830px; }
  main .article-header .answer, main .research-heading .answer { color:#526277; font-size:clamp(17px,1.5vw,20px); }
  main .article-header .category { color:#5277a4; }
  main .article-header .source-line { font-size:13px; }
  main .byline { border-color:#dce8f3; }
  main .byline a, main .source-line a { color:#385f90; }
  main .article-cover[data-astro-cid-g7zdzlxh] { max-width:none; }
  main .article-cover[data-astro-cid-g7zdzlxh] picture { aspect-ratio: 2 / 1; overflow:hidden; border-radius:24px; }
  main .article-cover[data-astro-cid-g7zdzlxh] img { width:100%; height:100%; aspect-ratio:auto; object-fit:cover; border-radius:24px; }
  main .article-cover[data-astro-cid-g7zdzlxh] figcaption { padding-inline:4px; }
  main :is(.article-body,.prose) h2 { color:#17243b; }
  main :is(.article-body,.prose) p { color:#526071; }
  main :is(.article-body,.prose) a:not(.button) { text-decoration-color:#9cb5d4; text-decoration-thickness:1px; }
  main :is(.article-body,.prose) a:not(.button):hover { color:#335f9a; text-decoration-color:currentColor; }
  main .toc { border:1px solid #e0eaf5; background:#f6faff; border-radius:20px; padding:22px; }
  main .toc strong { color:#17243b; }
  main .toc a { color:#59708d; }
  main .editorial-note { border-left:4px solid #8fb2db; border-radius:0 18px 18px 0; background:#eef6ff; }
  main .table-wrap { border:1px solid #e0e9f4; border-radius:16px; box-shadow:0 8px 24px #244e7c08; }
  main th { background:#edf5ff; color:#233851; }
  main tr+tr td { border-color:#e9eff5; }
  main .related { border-color:#e3eaf2; }
  main .related a { border-color:#e3eaf2; }
  main .infographic[data-astro-cid-xun5rdgg] .infographic-image { overflow:hidden; border-radius:22px; box-shadow:0 15px 40px #32567a14; }
  main .infographic[data-astro-cid-xun5rdgg] figcaption { color:#53657b; }
  main .faq-items[data-astro-cid-hemr5th4] details[data-astro-cid-hemr5th4] { border:1px solid #e2ebf5; border-radius:15px; margin:10px 0; padding-inline:18px; background:#fbfdff; }
  main .faq-items[data-astro-cid-hemr5th4] summary[data-astro-cid-hemr5th4] { color:#1d2b40; }
  main .faq-items[data-astro-cid-hemr5th4] p[data-astro-cid-hemr5th4] { color:#596a7e; }
  main .medical-source[data-astro-cid-t2qa2isg] { border:1px solid #e1ebf6; border-radius:18px; padding:22px; background:#f8fbff; }
  main .medical-region[data-astro-cid-t2qa2isg] { color:#6784a6; }
  main .medical-credit-note[data-astro-cid-t2qa2isg] { color:#5e7084; }
  /* Article library: familiar image-led cards while keeping the existing links and summaries. */
  main .library-list[data-astro-cid-v4uzzqp3] { border:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover[data-astro-cid-v4uzzqp3] {
    position:relative; min-width:0; display:flex; flex-direction:column; align-items:stretch; gap:0;
    padding:0 0 58px; border:1px solid #e1eaf4; border-radius:20px; overflow:hidden; background:#fff;
    box-shadow:0 8px 26px #284c7410; text-decoration:none;
  }
  main .library-list[data-astro-cid-v4uzzqp3] .library-cover[data-astro-cid-v4uzzqp3] { display:block; width:100%; max-width:none; height:auto; aspect-ratio:3 / 2; object-fit:cover; border-radius:0; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover > div { padding:20px 22px 0; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover h2 { color:#18263c; font-size:20px; line-height:1.55; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover p { color:#607086; font-size:15px; line-height:1.75; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover .category { color:#426b9d; font-size:13px; margin-bottom:9px; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover > svg { position:absolute; right:20px; bottom:18px; width:34px; height:34px; padding:8px; border:1px solid #dce7f3; border-radius:50%; background:#f7fbff; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover:hover { border-color:#b9d1ec; box-shadow:0 14px 34px #294d741c; }
  /* Research index and checklist retain their real controls and labels. */
  main .research-index[data-astro-cid-omha2cvd] { gap:14px; margin-block:0 36px; }
  main .research-index[data-astro-cid-omha2cvd] a[data-astro-cid-omha2cvd] { min-height:72px; padding:16px 18px; border:1px solid #e1eafa; border-radius:16px; background:#f8fbff; color:#223a5a; }
  main .research-index[data-astro-cid-omha2cvd] a:hover { background:#edf6ff; border-color:#bdd4ec; }
  main .research-index[data-astro-cid-omha2cvd] span[data-astro-cid-omha2cvd] { color:#648dbc; }
  main .checklist-items { border:0; display:grid; gap:10px; }
  main .checklist-item { padding:20px; border:1px solid #e0ebf5; border-radius:16px; background:#fbfdff; }
  main .checklist-item input { accent-color:#4b81bd; }
  main .checklist-item:has(:checked) { background:#eef7ff; border-color:#b4d4f0; }
  main .checklist-item:has(:checked) strong { color:#527495; }
  main .progress-panel { background:#eaf5ff; border:1px solid #d8eafb; border-radius:22px; padding:30px; }
  main .progress-panel output { color:#243f62; }
  main .progress-panel progress { accent-color:#4c86c4; }
  main .utility { line-height:1.8; }
  main .not-found { padding-block:80px 100px; }
  main .not-found > span { display:inline-flex; align-items:center; justify-content:center; min-width:68px; height:38px; margin-bottom:18px; border-radius:999px; background:#eaf4ff; color:#4b79ad; font-weight:700; }
  main .prose > h1 { color:#17243b; }
}
@media screen and (max-width:900px) {
  main .library-list[data-astro-cid-v4uzzqp3] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  main .toc { width:100%; position:static; }
}
@media screen and (max-width:700px) {
  main .research-index[data-astro-cid-omha2cvd] { grid-template-columns:1fr; gap:10px; }
  main .research-index[data-astro-cid-omha2cvd] a[data-astro-cid-omha2cvd] { min-height:58px; padding:13px 16px; }
  main :is(.page-heading,.article-header,.research-heading) { margin-bottom:28px; padding:26px 22px; border-radius:23px; }
  main :is(.page-heading,.article-header,.research-heading) h1 { font-size:clamp(30px,7vw,38px); line-height:1.4; }
  main .article-cover[data-astro-cid-g7zdzlxh] picture { aspect-ratio:3 / 2; }
  main .progress-panel { padding:24px; }
}
@media screen and (max-width:580px) {
  main .library-list[data-astro-cid-v4uzzqp3] { grid-template-columns:1fr; gap:16px; }
  main .library-list[data-astro-cid-v4uzzqp3] .article-row.has-cover[data-astro-cid-v4uzzqp3] { padding-bottom:56px; }
  main .library-list[data-astro-cid-v4uzzqp3] .library-cover[data-astro-cid-v4uzzqp3] { max-width:none; }
  main .checklist-item { padding:17px; }
  main .medical-source[data-astro-cid-t2qa2isg] { padding:18px; }
}
@media screen and (prefers-reduced-motion:no-preference) {
  main :is(.page-heading,.article-header,.research-heading) { animation:inner-arrive .6s cubic-bezier(.2,.7,.2,1) both; }
  main .library-list .article-row.has-cover, main .research-index a, main .checklist-item { transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease; }
  main .library-list .article-row.has-cover:hover, main .research-index a:hover { transform:translateY(-3px); }
  main .library-list .article-row.has-cover > svg { transition:transform .22s ease; }
  main .library-list .article-row.has-cover:hover > svg, main .library-list .article-row.has-cover:focus-visible > svg { transform:translateX(3px); }
}
@keyframes inner-arrive { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
/* Progressive enhancement: without scroll timelines, content keeps its normal fully visible state. */
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion:no-preference) {
    main :is(.library-list .article-row.has-cover,.research-index a,.checklist-item,.medical-source,.article-body > section > h2) {
      animation:inner-scroll-reveal 1s linear both;
      animation-timeline:view();
      animation-range:entry 0% entry 40%;
    }
  }
}
@keyframes inner-scroll-reveal { from { opacity:.65; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
