/* A centered editorial composition shared by every public template. */
.main-menu > li > a { color: var(--teal); font-size: 19px; font-weight: 400; }
.main-menu > li > a:hover, .main-menu > li > a:focus-visible { color: #155864; }
.button { background: var(--teal); border-color: var(--teal); }
.button:hover, .button:focus-visible { background: #155864; border-color: #155864; }
.button.white:hover, .button.light:hover, .button.white:focus-visible, .button.light:focus-visible { background: #155864; border-color: #155864; color: #fff; }
.menu-toggle { border-radius: 40px; border-color: #d8e6e8; background: #f4f8f8; font-size: 16px; padding: 8px 14px; }
.admin-bar .site-header { top: 32px; }
.page-head {
    padding-top: 96px;
    text-align: center;
}
.page-head .breadcrumbs {
    justify-content: center;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 32px;
}
.page-head .eyebrow { font-size: 14px; letter-spacing: .08em; margin-bottom: 22px; }
.page-head h1 {
    max-width: var(--saf-heading-width);
    margin-inline: auto;
    font-size: var(--saf-title-size);
    line-height: 1.1;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.page-head .wrap > p:not(.eyebrow) { max-width: 760px; margin-inline: auto; }
.page-layout, .single-layout, .results { padding-block: 64px 96px; }
.single-content, .results > * { margin-inline: auto; }
.page-layout {
    max-width: var(--saf-collection-width);
    grid-template-columns: minmax(0, 1fr) 256px;
    gap: 64px;
}
.is-hub .article-content { margin-inline: auto; }
.is-hub .article-content > p:first-child {
    max-width: var(--saf-reading-width);
    margin-inline: auto;
    font-size: 26px;
    line-height: 1.5;
    text-align: center;
    text-wrap: pretty;
    margin-bottom: 40px;
}
.article-content { font-size: 18px; line-height: 1.75; }
.article-content :is(h1,h2,h3,h4,h5,h6) { font-family: var(--font); font-weight: 600; letter-spacing: -.025em; text-wrap: pretty; overflow-wrap: anywhere; }
.article-content h1 { font-size: var(--saf-h1-size); line-height: 1.12; margin-block: 52px 24px; }
.article-content h2 { font-size: var(--saf-h2-size); line-height: 1.18; margin-block: 48px 20px; }
.article-content h3 { font-size: var(--saf-h3-size); line-height: 1.22; margin-block: 40px 18px; }
.article-content h4 { font-size: var(--saf-h4-size); line-height: 1.25; margin-block: 32px 16px; }
.article-content h5 { font-size: var(--saf-h5-size); line-height: 1.3; margin-block: 28px 12px; }
.article-content h6 { font-size: var(--saf-h6-size); line-height: 1.3; margin-block: 24px 12px; }
.article-content > p:first-child { font-size: 25px; line-height: 1.5; }
.article-content p.is-style-saf-ingress { font-size: 25px; line-height: 1.5; }
.article-content blockquote {
    margin-block: 36px;
    padding: 8px 0 8px 24px;
    font-size: 19px;
}
.article-content .saf-faktaruta, .callout { border-radius: 12px; }
.article-share { color: var(--teal); margin-top: 48px; padding-top: 24px; }
.results article { padding-block: 36px; border-color: #e1e8e9; }
.results h2 { font-size: 32px; line-height: 1.2; text-wrap: pretty; }
.results article > p:not(.eyebrow) { font-size: 19px; line-height: 1.65; }
.results .eyebrow { font-size: 14px; margin-bottom: 14px; }
.results .text-link { color: var(--teal); }
.section-sidebar {
    background: #f4f8f8;
    border: 1px solid #e1e8e9;
    border-radius: 16px;
    padding: 24px;
    font-size: 16px;
}
.section-sidebar h2 {
    font-size: 22px;
    line-height: 1.25;
    padding-bottom: 18px;
    border-bottom: 1px solid #ccdfe1;
}
.section-sidebar nav > a {
    padding: 13px 0;
    border-color: #dce7e8;
    line-height: 1.4;
}
.section-sidebar nav > a:last-child { border-bottom: 0; }
.section-sidebar nav > a[aria-current] {
    border-left: 0;
    padding-left: 0;
    color: var(--teal);
}
.section-sidebar nav > a[aria-current]::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    margin-top: 8px;
}
.sidebar-help { border-top: 1px solid #ccdfe1; padding: 20px 0 0; margin-top: 20px; background: transparent; }
.sidebar-help a { color: var(--teal); }
.link-grid { gap: 20px; margin-block: 40px 0; }
.article-content .link-card {
    justify-content: space-between;
    text-align: left;
    border-radius: 16px;
    min-height: 104px;
    padding: 26px 30px;
    background: #edf7f8;
    border-color: #deeff1;
    color: #1c7180 !important;
    font-size: 23px;
    transition: background .18s ease, border-color .18s ease;
}
.article-content .link-card:nth-child(4n + 2),
.article-content .link-card:nth-child(4n + 3) { background: #fff0f0; border-color: #ffe0e1; color: #843a42 !important; }
.article-content .link-card::after { content: '→'; font-size: 25px; flex-shrink: 0; }
.article-content .link-card:hover, .article-content .link-card:focus-visible { background: #d9eff2; border-color: #9ed6df; }
.article-content .link-card:nth-child(4n + 2):hover,
.article-content .link-card:nth-child(4n + 3):hover,
.article-content .link-card:nth-child(4n + 2):focus-visible,
.article-content .link-card:nth-child(4n + 3):focus-visible { background: #ffe0e1; border-color: #ffb7bb; }
.person, .member, .information-contact { border-color: #e1e8e9; border-radius: 16px; padding: 24px; }
.person img { border-radius: 10px; }
.article-content .person h2, .article-content .member h2 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.article-content .member h2 { margin-top: auto; }
.article-content .callout h2 { margin-top: 0; }
.article-content .information-contact h2 { font-size: 26px; line-height: 1.25; margin: 0 0 16px; }
.information-contact { min-height: 220px; }
/* wpautop may wrap the address and action together; keep both forms stacked. */
.information-contact > p:last-child { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-width: 0; flex: 1; margin: 0; }
.person p, .member p { font-size: 16px; line-height: 1.6; }
.information-contact .contact-address { display: block; max-width: 100%; font-size: 16px; margin-bottom: 20px; }
.article-content .wp-block-button__link { font-size: 17px; }
.pharmacy-finder { padding-top: 96px; padding-bottom: 64px; }
.finder-heading { display: block; text-align: center; margin-bottom: 48px; }
.finder-heading h1 { font-size: var(--saf-title-size); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.finder-heading p { margin-inline: auto; font-size: 23px; max-width: var(--saf-reading-width); }
.finder-heading .eyebrow { font-size: 14px; letter-spacing: .08em; margin-bottom: 22px; }
.finder-count { display: inline-block; margin-top: 20px; padding: 8px 18px; font-size: 14px; }
.original-hero { min-height: 720px; min-height: min(88svh, 900px); }
.original-hero-content.wrap { padding-block: 80px 110px; }
.original-hero h1 { font-size: clamp(42px, 4.8vw, 68px); line-height: 1.12; }
.original-intro { max-width: 800px; font-size: clamp(23px, 2.1vw, 28px); line-height: 1.5; }
.home-news { gap: 64px; }
.home-news h2 { font-size: 38px; }
.home-news-item h3 { font-size: 32px; line-height: 1.2; text-wrap: pretty; }
.home-news-item > p:not(.news-categories) { font-size: 19px; line-height: 1.65; }
.home-current { border-radius: 16px; background: #edf7f8; color: #153f47; overflow: hidden; }
.home-current .current-heading h2 { color: #153f47; font-size: 28px; font-weight: 600; }
.current-heading, .current-item { border-color: #cfe5e8; }
.current-heading a { font-size: 17px; }
.current-item h3 { display: block; font-size: 23px; line-height: 1.3; }
.current-item time { display: block; font-size: 14px; color: var(--teal); margin-top: 12px; }
.current-item time::before { content: none; }
.current-item:hover { background: #d9eff2; text-decoration: none; }
.home-puff > img { border-radius: 16px; }
.home-puff h2 { font-size: 29px; line-height: 1.2; }
.home-puff p { font-size: 19px; line-height: 1.65; }
.home-puff .button.white { color: #843a42; }
.home-puff .button.white:hover, .home-puff .button.white:focus-visible { background: #ffe0e1; border-color: #ffb7bb; color: #843a42; }
main.empty-state { text-align: center; padding-top: 80px; }
main.empty-state h1 { max-width: var(--saf-heading-width); margin-inline: auto; text-wrap: balance; }
@media (max-width: 1000px) {
    .main-menu > li > a { font-size: 20px; }
    .page-layout:not(.is-hub) { display: flex; flex-direction: column; max-width: var(--saf-reading-width); gap: 40px; }
    .section-sidebar { width: 100%; padding: 24px; }
    .original-hero { min-height: 650px; }
}
@media (max-width: 700px) {
    .header-top { gap: 12px; }
    .page-head { padding-top: 56px; }
    .page-head h1, .finder-heading h1 { line-height: 1.12; }
    .page-head .breadcrumbs { font-size: 13px; margin-bottom: 22px; gap: 8px; }
    .page-head .eyebrow { font-size: 12px; margin-bottom: 18px; }
    .page-layout, .single-layout, .results { padding-block: 40px 64px; }
    .page-layout { display: flex; flex-direction: column; gap: 40px; }
    .article-content { font-size: 17px; line-height: 1.75; }
    .results h2 { font-size: 28px; }
    .article-content h1 { margin-top: 36px; }
    .article-content h2 { margin-top: 32px; }
    .article-content h3 { margin-top: 28px; }
    .article-content h4, .article-content h5 { margin-top: 24px; }
    .article-content h6 { margin-top: 20px; }
    .article-content > p:first-child, .article-content p.is-style-saf-ingress,
    .is-hub .article-content > p:first-child { font-size: 22px; line-height: 1.5; }
    .is-hub .article-content > p:first-child { margin-bottom: 28px; }
    .article-content blockquote { font-size: 18px; padding-left: 20px; }
    .link-grid { gap: 12px; margin-top: 28px; }
    .article-content .link-card { min-height: 80px; padding: 20px 22px; font-size: 21px; border-radius: 12px; }
    .section-sidebar { padding: 24px; }
    .results article > p:not(.eyebrow) { font-size: 17px; }
    .pharmacy-finder { padding-block: 56px 48px; }
    .finder-heading { margin-bottom: 36px; }
    .finder-heading p { font-size: 20px; }
    .finder-count { display: none; }
    .original-hero { min-height: 680px; }
    .original-hero-content.wrap { padding-block: 48px 100px; }
    .original-hero h1 { font-size: clamp(32px, 8.7vw, 48px); }
    .original-intro { font-size: 22px; line-height: 1.45; }
    .home-news { gap: 30px; }
    .home-news h2 { font-size: 32px; }
    .home-news-item h3 { font-size: 28px; }
    .home-puff h2 { font-size: 28px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* On small phones WordPress lets its toolbar scroll away. */
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 360px) { .brand img { width: 170px; } }
@media (prefers-reduced-motion: reduce) { .article-content .link-card { transition: none; } }
@media print {
    .page-head { padding-top: 20px; }
    .page-layout, .single-layout, .results { padding-block: 24px; }
}

/* Put year navigation first on mobile and to the right of archive results on desktop. */
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; padding-block: 64px 96px; align-items: start; }
.archive-layout > .archive-years { grid-column: 2; grid-row: 1; }
.archive-layout > .archive-results { grid-column: 1; grid-row: 1; padding: 0; min-width: 0; }
.archive-years nav > a { display: flex; justify-content: space-between; gap: 16px; }
.archive-year-count { font-size: 14px; }
.archive-years nav > a[aria-current]::after { display: none; }
.archive-years nav > a[aria-current] { font-weight: 600; text-decoration: underline; }
@media (max-width: 800px) {
    .archive-layout { display: flex; flex-direction: column; gap: 32px; padding-block: 32px 56px; }
    .archive-years, .archive-results { width: 100%; }
    .archive-years nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
    .archive-years nav > a { padding: 8px 0; border: 0; }
}

.report-library { padding-block: 48px 96px; max-width: 1040px; }
.report-intro { max-width: 720px; }
.report-filters {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
    padding: 24px;
    margin-block: 32px;
    background: #f4f8f8;
    border: 1px solid #e1e8e9;
    border-radius: 16px;
}
.report-filters label { display: grid; gap: 6px; font-size: 16px; }
.report-filters input, .report-filters select {
    min-height: 46px;
    min-width: 0;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #728889;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.report-filters select {
    appearance: none;
    padding-right: 38px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23365052' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
}
.report-filters select:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (forced-colors: active) {
    .report-filters select { appearance: auto; background: Field; padding-right: 12px; }
}
.report-filters .button { min-height: 46px; padding: 10px 18px; }
.report-result-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 20px; }
.report-result-heading h2 { font-size: 25px; margin-bottom: 12px; }
.report-result { border-top: 1px solid #dce7e8; padding-block: 26px; }
.report-result h3 { font-size: clamp(22px, 3vw, 29px); line-height: 1.2; margin: 0 0 10px; overflow-wrap: anywhere; }
.report-result p { max-width: 75ch; font-size: 17px; margin: 0; }
.report-themes { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 0 0 12px; list-style: none; font-size: 15px; }
.report-themes a, .report-result-heading a { color: var(--teal); }
@media (max-width: 860px) {
    .report-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
    .report-library { padding-block: 28px 55px; }
    .report-filters { grid-template-columns: minmax(0, 1fr); padding: 16px; }
}
