/* Shared visual refinement, scoped away from scientific figures and article copy. */
body #banner.site-section-banner {
    background: linear-gradient(115deg, #f7f8fa 0%, #fcfaf7 60%, #f8f4ed 100%);
    border-bottom: 1px solid #eceef0;
}
body #banner.site-section-banner > img { opacity: .26; filter: saturate(.4); }
body #banner.site-section-banner::after {
    background: linear-gradient(90deg, rgba(250,251,252,.32), rgba(255,255,255,.48) 50%, rgba(252,250,247,.2));
}
body #banner.site-section-banner .banner-title { color:#30363f; font-weight:650; letter-spacing:-.025em; }
body #banner.site-section-banner .banner-title::after { width:36px; left:calc(50% - 18px); background:#f3a15f; }
body .section-breadcrumbs, body .section-breadcrumbs a { color:#66707c; }

.site-wrap:has(.site-section-banner) main :is(h1,h2) { color:#30363f; letter-spacing:-.025em; }
.site-wrap:has(.site-section-banner) main [data-aos='line-expand'] {
    width:48px !important; max-width:48px; background-color:#f3a15f; height:2px;
}
.site-wrap:has(.site-section-banner) main .text-primary { color:#df762b; }
.site-wrap:has(.site-section-banner) main :is(h1,h2).text-primary { color:#30363f; }
.site-wrap:has(.site-section-banner) main h2 { font-weight:650; }
.site-wrap:has(.site-section-banner) main .team-career { line-height:1.8; }
.site-wrap:has(.site-section-banner) main .team-career li { margin-bottom:8px; }
.site-wrap:has(.site-section-banner) main .pipeline-profile-copy h3 { color:#39424b; margin-top:36px; margin-bottom:16px; }
.site-wrap:has(.site-section-banner) .pipeline-result-caption { background:#faf8f4; border-left-color:#f3a15f; border-radius:0 10px 10px 0; }
.site-wrap .other-pipeline-details details { border-color:#e3e7eb; border-radius:12px; }
.site-wrap .other-pipeline-details summary { color:#46515c; background:linear-gradient(110deg,#f7f8fa,#fcfaf7); font-weight:600; }

/* Keep all progress widths and stage boundaries supplied by the database. */
body #science_pipeline_overview .pipeline-table-scroll { border:1px solid #e3e7eb; border-radius:12px; }
body #science_pipeline_overview .pipeline-overview-table { color:#48525e; }
body #science_pipeline_overview .pipeline-overview-table :is(th,td) { border-color:#e6e9ed; line-height:1.6; }
body #science_pipeline_overview .pipeline-overview-table th { background:#f3f5f7 !important; color:#4e5966; font-weight:600; padding-top:17px; padding-bottom:17px; }
body #science_pipeline_overview .pipeline-overview-table tbody td { padding-top:16px; padding-bottom:16px; }
body #science_pipeline_overview .pipeline-overview-table tbody tr:nth-child(even) td:not(.pipeline-stage-cell) { background:#fbfcfd; }
body #science_pipeline_overview .pipeline-overview-table tbody td:first-child { color:#343e49; }
body #science_pipeline_overview .pipeline-stage-cell { height:70px; }
body #science_pipeline_overview .pipeline-stage-grid span:not(:last-child) { border-color:#edf0f3; }
body #science_pipeline_overview .pipeline-progress-bar {
    height:18px; background:linear-gradient(90deg,#ffd8b5 0%,#f49a51 100%);
    border-top:1px solid rgba(168,124,72,.14); border-bottom:1px solid rgba(168,124,72,.14);
    box-shadow:0 2px 4px rgba(137,108,74,.06);
}
body #science_pipeline_overview .pipeline-group-title { font-size:26px; font-weight:650; margin-bottom:22px; }

/* News and announcement lists. */
body #bo_list :is(#stx,#sfl,#bo_cate_select) { border:1px solid #dce1e6 !important; border-radius:8px; background:#fafbfc !important; }
body #bo_list :is(#stx,#sfl,#bo_cate_select):focus-visible { outline:2px solid #ed8c43 !important; outline-offset:3px; }
body #bo_list #stx::placeholder { color:#7b8490 !important; }
body #bo_list .curacle-board-columns { background:#f5f7f9; border-color:#e3e7eb; border-radius:10px 10px 0 0; }
body #bo_list .curacle-board-columns > div > div { font-weight:500; font-size:14px; color:#6c7682; }
body #bo_list .curacle-board-row { padding-top:23px; padding-bottom:23px; border-bottom:1px solid #e9edf1; transition:background-color 180ms ease; }
body #bo_list .curacle-board-row:hover { background:#faf9f6; }
body #bo_list .curacle-board-row a { color:#333d48; line-height:1.65; font-weight:500; }
body #bo_list .curacle-board-date { font-size:13px; font-weight:400; color:#76808b; font-variant-numeric:tabular-nums; }
body #bo_list .text-pink-600 { color:#d9752c; }
body :is(#bo_list,#bo_gall) .pg_current { background:#fff0e3; border-color:#f7c69f; color:#d87529; box-shadow:none; border-radius:8px; }
body :is(#bo_list,#bo_gall) .pg_page { border-color:#e5e8ec; color:#67727e; border-radius:8px; }

/* Footer hierarchy and consistent partner-logo sizing. */
body footer { background:#f7f8fa; color:#737d88; border-top:1px solid #e6e9ed; padding-top:14px; padding-bottom:28px; }
body footer > .container:first-child { padding-top:26px; padding-bottom:26px; row-gap:24px; font-weight:500; color:#414b56; }
body footer > .container:first-child > div:last-child { gap:20px; }
body footer > .container:first-child > div:last-child > div { color:#77818c; font-size:12px; letter-spacing:.08em; text-transform:uppercase; padding-left:0; padding-right:0; }
body footer .memento-partner { margin-left:0 !important; }
body footer img[alt='MabTics'] { width:100px; height:36px; object-fit:contain; }
body footer img[alt='Memento Medicines'] { width:112px !important; height:36px !important; object-fit:contain; }
body footer hr { border-color:#e5e9ed; }
body footer > .container:last-child { padding-top:28px; padding-bottom:10px; }
body footer a.button { background:#fff; color:#525f6c; border:1px solid #d8dfe6; border-radius:7px; padding:7px 20px; }
body footer a.button:hover { background:#f0f3f6; color:#303b46; }
body footer a:focus-visible { outline:2px solid #ed8c43; outline-offset:4px; }
body footer .leading-relaxed { line-height:1.9; }

@media(max-width:767px) {
    body #science_pipeline_overview .pipeline-group-title { font-size:22px; }
    body #science_pipeline_overview .pipeline-stage-cell { height:60px; }
    body #science_pipeline_overview .pipeline-progress-bar { height:16px; }
    body #bo_list .curacle-board-row { padding-top:18px; padding-bottom:18px; }
    body #bo_list .curacle-board-date { font-size:12px; }
    body footer > .container:first-child > div:first-child { justify-content:center; gap:16px; font-size:14px; }
    body footer > .container:first-child > div:last-child { gap:14px; flex-wrap:wrap; justify-content:center; }
    body footer > .container:first-child > div:last-child > div { width:100%; text-align:center; }
    body footer[class*='h-[340px]'] { padding-top:0; padding-bottom:16px; }
    body footer[class*='h-[340px]'] > .container:first-child { padding-top:16px; padding-bottom:16px; row-gap:16px; }
    body footer[class*='h-[340px]'] > .container:last-child { padding-top:16px; padding-bottom:0; }
}
@media(prefers-reduced-motion:reduce) { body #bo_list .curacle-board-row { transition:none; } }
