/* Cancer Clinical Trial Access Map — shared typeface, colour tokens, header and footer for every page.
   Page-specific styles stay in each page; this file only carries what all pages share. */
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:italic;font-weight:400;font-display:swap;src:url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/source-serif-4-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2")}

:root{
  --paper:#F7F5F0; --card:#FFFFFF; --ink:#1B2430; --ink-2:#4B5563; --ink-3:#5F6B78; --rule:#E6E2DA; --rule-2:#CFCBC2;
  --navy:#0B3C5D; --gulf:#3F7FB5; --link:#2F6A9C; --sky:#9EC4E0; --sand:#F2C48A; --clay:#D98B4A; --rust:#8A3B1E; --warn:#7A5A00; --nodata:#BDB8AE;
  --rep:#B22234; --dem:#2E5AAC; --ind:#7C8794;
  --r:10px; --shadow:0 1px 2px rgba(27,36,48,.05), 0 6px 18px rgba(27,36,48,.05);
  --fs-0:.84rem; --fs-1:.95rem; --fs-2:1.08rem; --fs-3:1.35rem; --fs-4:1.8rem; --fs-5:2.9rem;
  --gutter:1.5rem;
}
html,body{font-family:"Source Sans 3","Segoe UI","Helvetica Neue",Arial,sans-serif}
:focus-visible{outline:3px solid var(--gulf);outline-offset:2px;border-radius:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- header shared by every page ---- */
header.site{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem var(--gutter);background:var(--card);color:var(--ink);border:0;border-bottom:1px solid var(--rule);margin:0;min-height:57px;box-sizing:border-box}
header.site .brand{display:flex;align-items:baseline;gap:.9rem;flex-wrap:wrap;min-width:0;flex:1 1 auto}
header.site .wordmark{font-family:"Source Serif 4",Georgia,serif;color:var(--navy);text-decoration:none;font-size:1.3rem;font-weight:600;letter-spacing:-.01em;white-space:nowrap;border:0}
header.site .tagline{color:var(--ink-3);font-size:var(--fs-0)}
/* the wordmark and its "Beta" tag stay together on one line; the tag is a quiet outlined pill, not a warning */
header.site .wm-row{display:inline-flex;align-items:center;gap:.45rem;min-width:0;flex-wrap:nowrap}
.beta-tag{display:inline-block;font-family:"Source Sans 3","Segoe UI",Arial,sans-serif;font-size:.68rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase;line-height:1;color:var(--rust);border:1px solid currentColor;border-radius:999px;padding:.2rem .45rem .18rem;white-space:nowrap;flex:0 0 auto;opacity:.9}
header.site .hdr-links{display:flex;gap:.1rem;flex-wrap:wrap;justify-content:flex-end;align-items:center;padding:0;margin:0;font-size:var(--fs-1);white-space:normal;align-self:center;flex:0 0 auto}
header.site .hdr-links a,header.site .hdr-group>summary{color:var(--ink-2);text-decoration:none;font-size:var(--fs-1);padding:.5rem .7rem;border-radius:6px;border:0;border-bottom:2px solid transparent;white-space:nowrap;cursor:pointer;list-style:none;display:inline-block;line-height:1.3}
header.site .hdr-group>summary::-webkit-details-marker{display:none} header.site .hdr-group>summary::after{content:" ▾";font-size:.75em;color:var(--ink-3)}
header.site .hdr-links a:hover,header.site .hdr-group>summary:hover{color:var(--navy);background:#EEF4FA}
header.site .hdr-links a[aria-current="page"],header.site .hdr-group.on>summary,header.site .hdr-group[open]>summary{color:var(--navy);font-weight:650;border-bottom-color:var(--navy);border-radius:6px 6px 0 0;background:none}
/* the two audience groups: a small menu on a laptop, a plain list on a phone */
header.site .hdr-group{position:relative}
header.site .hdr-group>div{position:absolute;right:0;top:calc(100% + 6px);z-index:40;min-width:210px;padding:.35rem;background:var(--card);border:1px solid var(--rule-2);border-radius:10px;box-shadow:0 10px 28px rgba(27,36,48,.18);display:grid;gap:.1rem}
header.site .hdr-group>div a{display:block;color:var(--ink);border:0;border-radius:6px;padding:.45rem .7rem;white-space:nowrap;font-weight:400}
header.site .hdr-group>div a:hover{background:#EEF4FA;color:var(--navy)}
header.site .hdr-group>div a[aria-current="page"]{background:#EEF4FA;color:var(--navy);font-weight:600;border-bottom:0;border-radius:6px}
/* phone menu button, added by site.js; without JavaScript the links simply show */
header.site .hdr-menu-btn{display:none;min-height:40px;margin-left:auto;color:var(--navy);background:none;border:1px solid var(--rule-2);border-radius:8px;padding:.4rem .7rem;font:inherit;font-size:var(--fs-0);font-weight:600;cursor:pointer;align-items:center;gap:.4rem}
header.site .hdr-menu-btn svg{display:block}

/* ---- page title block used by the secondary pages ---- */
.page-head{padding:1.1rem var(--gutter) .9rem;background:var(--card);border-bottom:1px solid var(--rule)}
.page-head .kicker{color:var(--ink-3);font-size:var(--fs-0);margin:0 0 .15rem;text-transform:uppercase;letter-spacing:.06em;font-weight:650}
.page-head h1{font-size:var(--fs-4);line-height:1.15;letter-spacing:-.02em;margin:0 0 .3rem;font-weight:700}
.page-head p{margin:.25rem 0 0;color:var(--ink-2);font-size:var(--fs-1);max-width:92ch}
.page-head .actions{margin-top:.6rem;display:flex;gap:.5rem;flex-wrap:wrap}

/* ---- footer shared by every page ---- */
footer.site{padding:1.4rem var(--gutter) 1.8rem;border-top:1px solid var(--rule);color:var(--ink-2);font-size:var(--fs-0);line-height:1.55;background:var(--card);margin:0}
footer.site .foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1.2rem 2rem;margin-bottom:1rem;max-width:140ch}
footer.site .foot-grid b{color:var(--ink);display:block;margin-bottom:.2rem;font-size:var(--fs-1)} footer.site .foot-grid p{margin:0 0 .4rem}
footer.site .foot-grid dl{margin:0} footer.site .foot-grid dt{font-weight:650;color:var(--ink);display:inline} footer.site .foot-grid dd{display:inline;margin:0} footer.site .foot-grid dd::after{content:"";display:block;margin-bottom:.25rem}
footer.site details{max-width:140ch} footer.site summary{cursor:pointer;font-weight:650;color:var(--ink);padding:.2rem 0} footer.site p{margin:.4rem 0}
footer.site .foot-line{display:flex;flex-wrap:wrap;gap:.3rem 1.2rem;align-items:center}
footer.site .foot-line a{color:var(--link)}
footer.site .foot-beta{margin:0 0 .6rem;font-size:.9em;color:var(--ink-2);max-width:140ch} footer.site .foot-beta a{color:var(--link)}

abbr.g{text-decoration:none;border-bottom:1px dotted var(--gulf);cursor:help}

@media (max-width:1560px){header.site .tagline{display:none}}   /* the tagline needs the room the longer wordmark and its Beta tag took */ @media (max-width:1400px) and (min-width:981px){header.site .stamp{display:none}}
/* tablets: the links take a row of their own under the wordmark instead of crowding beside it */
@media (max-width:980px) and (min-width:641px){header.site{flex-wrap:wrap;row-gap:.1rem} header.site .hdr-links{flex-basis:100%;justify-content:flex-start;margin-left:-.7rem}}
.page-head h1,.hero h1,main > h1,.lede-wrap h1{font-family:"Source Serif 4",Georgia,serif;font-weight:600}
h1,h2{text-wrap:balance}
@media (max-width:640px){
  :root{--gutter:16px}
  header.site{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;min-width:0;max-width:100vw;padding:.5rem var(--gutter)}
  header.site .brand{flex-direction:column;gap:.1rem;flex:1 1 auto} header.site .wordmark{white-space:normal;font-size:1.1rem}
  header.site .brand{flex:1 1 0}   /* basis 0: the name wraps inside the brand instead of pushing the menu button to a second row */
  header.site .wm-row{display:block;flex:none;text-wrap:balance} header.site .wm-row .beta-tag{margin-left:.4rem;vertical-align:.12em}   /* phones: the name wraps as text and the tag follows its last word */
  header.site .hdr-menu-btn{display:inline-flex}
  header.site .hdr-links{flex-basis:100%;flex-direction:column;align-items:stretch;gap:.1rem;padding:.4rem 0 .2rem;border-top:1px solid var(--rule)}
  html.js header.site:not(.nav-open) .hdr-links{display:none}
  header.site .hdr-links a,header.site .hdr-group>summary{display:block;border:0;border-radius:6px;padding:.6rem .6rem;white-space:normal}
  header.site .hdr-links a[aria-current="page"]{background:#EEF4FA}
  header.site .hdr-group>summary::after{content:" ▸"} header.site .hdr-group[open]>summary::after{content:" ▾"}
  header.site .hdr-group[open]>summary{background:none;color:var(--navy);font-weight:600;border-radius:6px}
  header.site .hdr-group>div{position:static;background:none;border:0;box-shadow:none;padding:0 0 .2rem .9rem;min-width:0}
  footer.site .foot-grid{grid-template-columns:1fr}
}
/* phone-only folding of long reading pages (SITE.foldOnPhone) */
@media (max-width:640px){
  .fold > h2{cursor:pointer;position:relative;padding-right:1.8rem;margin-bottom:.2rem} .fold > h2 > .fold-btn{all:unset;display:block;width:100%;cursor:pointer;font:inherit;color:inherit;text-align:left} .fold > h2 > .fold-btn:focus-visible{outline:3px solid var(--gulf);outline-offset:2px;border-radius:3px}
  .fold > h2::after{content:"+";position:absolute;right:.1rem;top:0;font-weight:400;color:var(--link);font-size:1.4em;line-height:1}
  .fold.open > h2::after{content:"\2212"}
  .fold:not(.open) > :not(h2){display:none}
}
@media print{header.site,footer.site .foot-grid{display:none}}

/* ---- header: optional product link beside the wordmark ---- */
header.site .wordmark{letter-spacing:.01em}
header.site .product{color:var(--ink-2);text-decoration:none;font-size:var(--fs-1);font-weight:600;white-space:nowrap;border-bottom:2px solid transparent;padding-bottom:1px}
header.site .product:hover{color:var(--navy)} header.site .product[aria-current="page"]{color:var(--navy);border-bottom-color:var(--navy)}
@media (max-width:640px){header.site .product{display:none}}
