/**
 * COST Action CA25159 institutional presentation layer, November 2026.
 * Deliberately overrides Sprint15 charcoal styling on public pages.
 * References the signed-off stakeholder three-page website prototype.
 */
:root { color-scheme:light; --cost-green:#123b2e; --cost-green-dark:#0e2f24;
 --cost-cream:#f6f7f1; --cost-soft:#edf2e9; --cost-white:#fff;
 --cost-gold:#f1bc51; --cost-text:#213e34; --cost-muted:#576b60;
 --cost-line:#dfe6dc; --cost-shadow:0 15px 45px #14382b13; }
body { background:var(--cost-cream); color:var(--cost-text); }
a { color:#16543f; } a:hover { color:#0b3426; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible {outline:3px solid #c78b1e;outline-offset:3px}
html{scroll-padding-top:92px}
.cost-topline{background:#0d3427;color:#e5efe9;font-size:11px;font-weight:650}
.cost-topline .site-container{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cost-topline a{color:#d6efdc;text-decoration:none}
.cost-site-header{position:relative;z-index:90;background:#f8faf5;border-bottom:1px solid var(--cost-line)}
.cost-site-header__inner{display:flex;align-items:center;min-height:98px;gap:32px}
.cost-brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.cost-brand .cost-brand__logo{display:block;height:auto;max-height:88px;width:auto;max-width:190px;object-fit:contain;flex-shrink:0}
.cost-brand__tag{max-width:105px;line-height:1.2;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#31594a}
.cost-navigation{flex:1}
.cost-navigation .site-nav__links{justify-content:center;gap:24px}
.cost-navigation a{color:#1a4233;font-weight:750;font-size:13px}
.cost-navigation a:hover{color:#b27213}
.cost-header-cta{background:var(--cost-green);color:white;text-decoration:none;border-radius:28px;padding:13px 18px;font-size:12px;font-weight:750;white-space:nowrap}
.cost-header-cta:hover{background:#245b43;color:white}
.cost-toggle span{background:#143b2c}
.cost-home h1,.cost-home h2,.cost-archive h1,.cost-archive h2,.cost-portal h2{font-family:'Manrope',system-ui,sans-serif;letter-spacing:-.045em;color:var(--cost-green);line-height:1.13}
.cost-home h2{font-size:clamp(30px,3.2vw,47px)}
.cost-home p{color:var(--cost-muted)}
.cost-kicker{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.14em;color:#447359!important;margin-bottom:20px}
.cost-hero{background:var(--cost-cream);overflow:hidden}
.cost-hero__grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:40px;min-height:540px;padding-top:40px;padding-bottom:55px}
.cost-hero h1{font-size:clamp(43px,5vw,74px);max-width:690px;margin:0 0 26px}
.cost-lead{font-size:17px;line-height:1.75;max-width:650px}
.cost-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:32px}
.cost-button{display:inline-flex;align-items:center;gap:10px;justify-content:center;border:2px solid transparent;border-radius:36px;font-weight:800;text-decoration:none;font-size:13px;padding:13px 21px;min-height:49px}
.cost-button--dark{color:white;background:var(--cost-green)}.cost-button--dark:hover{color:white;background:#265e47}
.cost-button--outline{color:var(--cost-green);border-color:var(--cost-green);background:transparent}.cost-button--outline:hover{background:#e4ecdf;color:var(--cost-green)}
.cost-button--gold{background:var(--cost-gold);color:#133528}.cost-button--gold:hover{background:#f9d47d;color:#133528}
.cost-small-note{font-size:11px;margin-top:30px;max-width:540px}
.cost-onehealth{width:min(100%,440px);height:400px;position:relative;margin-inline:auto}
.cost-onehealth__ring{width:215px;height:215px;display:flex;justify-content:center;align-items:flex-start;padding-top:64px;border-radius:50%;position:absolute;font-weight:800;color:#1e4338;font-size:14px;text-align:center;line-height:1.25}
.cost-onehealth__ring--animal{left:16px;top:40px;background:#bddac7be}
.cost-onehealth__ring--human{right:16px;top:40px;background:#f2d58fbe}
.cost-onehealth__ring--environment{left:115px;top:150px;background:#acd3d9c9;padding-top:125px}
.cost-onehealth__core{position:absolute;left:calc(50% - 35px);top:172px;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#104230;color:white;font-weight:850;font-size:18px;box-shadow:0 6px 24px #123c3033}
.cost-quickfacts{background:#143d2f;color:white}
.cost-quickfacts__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding-top:23px;padding-bottom:23px}
.cost-quickfacts__grid>div{display:flex;flex-direction:column;gap:2px;border-right:1px solid #b3d4bf39}
.cost-quickfacts strong{font-size:20px;color:#fff}.cost-quickfacts span{font-size:12px;color:#cadbd1}
.cost-section{padding:85px 0;background:#fff}
.cost-section--soft{background:#f3f5ef}
.cost-section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:29px}
.cost-section-heading h2{max-width:680px;margin:0}
.cost-section-heading p{max-width:340px;margin:0}
.cost-about-grid{display:grid;grid-template-columns:1fr .9fr;gap:80px;align-items:start}
.cost-about-grid p{font-size:15px;line-height:1.85}
.cost-text-link{font-weight:800;text-decoration:none;border-bottom:1px solid #387156;padding-bottom:3px}
.cost-pillars{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.cost-pillars article{background:#f5f6f1;border:1px solid #e3e8e0;padding:24px;border-radius:13px;display:flex;gap:14px}
.cost-pillars article>span{font-weight:850;color:#b08028;font-size:13px}
.cost-pillars h3{color:var(--cost-green);font-size:18px;margin:0 0 9px}
.cost-pillars p{font-size:13px;margin:0;line-height:1.6}
.cost-wg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cost-wg-card{background:white;border:1px solid #e2e9df;border-radius:15px;padding:24px;box-shadow:0 5px 20px #0b26110a;min-height:250px}
.cost-wg-card:last-child{grid-column:span 4;min-height:170px}
.cost-wg-tag{display:inline-flex;border-radius:50px;background:#d9eadf;color:#164a34;padding:5px 11px;font-size:12px;font-weight:850}
.cost-wg-card h3{font-size:19px;color:#173d2d;margin:20px 0 9px;line-height:1.28}
.cost-wg-card p{font-size:13px;line-height:1.5}
.cost-wg-card a{font-size:12px;font-weight:850;text-decoration:none}
.cost-hub-showcase{background:#10392c;padding:88px 0;color:white}
.cost-hub-showcase__grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:80px;align-items:center}
.cost-hub-showcase h2{color:white;font-size:clamp(32px,3.5vw,52px)}
.cost-hub-showcase p{color:#d7e8df;max-width:560px}
.cost-hub-showcase .cost-kicker{color:#efbf5b!important}
.cost-hub-entries{display:grid;gap:8px}
.cost-hub-entries>a{display:flex;align-items:center;gap:18px;background:#fff1;border:1px solid #ffffff1c;border-radius:11px;padding:16px;color:white;text-decoration:none}
.cost-hub-entries>a:hover{background:#fff2}
.cost-hub-entries>a>span:first-child{color:#f3be50;font-size:14px;font-weight:850}
.cost-hub-entries>a>span:last-child{margin-left:auto;font-size:17px}
.cost-hub-entries strong,.cost-hub-entries small{display:block}
.cost-hub-entries small{color:#c6dbd1;margin-top:3px;font-size:12px;line-height:1.4}
.cost-event-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cost-event-links a{border:1px solid #dce7da;padding:29px;border-radius:15px;text-decoration:none;background:#f8faf6;color:#124331}
.cost-event-links strong,.cost-event-links span{display:block}.cost-event-links strong{font-size:21px;margin-bottom:10px}.cost-event-links span{font-size:13px;color:#567263}
.cost-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cost-news-grid article{background:white;border-radius:12px;padding:22px;border:1px solid #dce6dc}
.cost-news-grid h3{font-size:20px;margin:12px 0}.cost-news-grid p{font-size:13px}
.cost-join{padding:57px 0;background:#edbc53;color:#173c2c}
.cost-join__grid{display:grid;grid-template-columns:1fr auto;align-items:center;gap:60px}
.cost-join h2{margin:0 0 14px;max-width:800px;color:#14392a}.cost-join p{color:#275039;margin:0}
.cost-join .cost-kicker{color:#5f521e!important}
.cost-admin-preview{background:#f5f5ed}
/* Portal archive: one public entry interface, accessible with no JavaScript */
.cost-archive{background:#f7f8f3;min-height:650px}
.cost-archive__intro{background:#123c2e;color:#fff;padding:75px 0 63px}
.cost-archive__intro .cost-kicker{color:#facb67!important}
.cost-archive__intro h1{color:white;font-size:clamp(33px,4vw,58px);max-width:860px;margin:0 0 20px}
.cost-archive__intro p{color:#d2e5d8;max-width:710px;font-size:15px}
.cost-archive__body{padding-top:24px;padding-bottom:85px}
.cost-portal__tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 35px}
.cost-portal__tabs a{border:1px solid #d5e0d5;background:white;border-radius:60px;text-decoration:none;font-size:12px;font-weight:800;padding:12px 17px;color:#265040}
.cost-portal__tabs a[aria-current=page],.cost-portal__tabs a:hover{color:white;background:#154230;border-color:#154230}
.cost-portal__heading{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:22px}
.cost-portal__eyebrow{font-size:11px;color:#537d60;font-weight:850;letter-spacing:.11em}
.cost-portal__heading h2{font-size:37px;margin:8px 0}
.cost-portal__heading p{font-size:14px;color:#5c7062;max-width:700px}
.cost-portal__heading>span{color:#4e6958;font-size:13px;font-weight:750;white-space:nowrap}
.cost-portal__filters{display:flex;align-items:end;gap:12px;margin-bottom:29px;flex-wrap:wrap}
.cost-portal__filters label{flex:1 1 230px}
.cost-portal__filters label span{display:block;font-size:11px;font-weight:800;color:#426150;margin-bottom:7px}
.cost-portal__filters input,.cost-portal__filters select{display:block;width:100%;border:1px solid #becfbe;background:white;color:#163d2d;border-radius:8px;padding:13px;min-height:47px}
.cost-portal__button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:30px;background:#f1bd52;color:#163a2b;font-weight:800;padding:13px 21px;text-decoration:none;min-height:47px}
.cost-portal__button:hover{background:#f9d584;color:#163a2b}
.cost-portal__entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.cost-portal__entry{padding:23px;background:#fff;border-radius:13px;border:1px solid #dae6d8}
.cost-portal__entry-meta{display:flex;flex-wrap:wrap;gap:9px;font-size:11px;color:#577361}
.cost-portal__entry-meta span{background:#f0f5ed;padding:5px 9px;border-radius:6px}
.cost-portal__code{color:#0a5938!important;font-weight:900!important}
.cost-portal__entry h3{font-size:19px;margin:16px 0 10px}
.cost-portal__entry h3 a{text-decoration:none;color:#173e2f}
.cost-portal__entry>p{color:#566d5e;font-size:13px}
.cost-portal__entry-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:19px}
.cost-portal__entry-footer a{font-weight:800;text-decoration:none}
.cost-portal__status{border-radius:30px;background:#fff0ce;padding:6px 10px;color:#8c5a0f;font-weight:800}
.cost-portal__empty{border:1px dashed #c3d2c1;padding:34px;border-radius:12px;background:#fff}
.cost-portal__empty h2,.cost-portal__empty h3{margin-top:0}
.cost-portal__pagination{display:flex;gap:20px;align-items:center;margin:25px 0;font-size:13px}
.cost-portal__contribute{margin-top:25px}
.cost-portal__resource-links{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px}
.cost-portal__external{font-size:12px;font-weight:750}
/* Resource previews, existing articles and pages use the same COST document skin.
   Scoped after the legacy charcoal layer; stored article content is untouched. */
.cost-document-shell{background:transparent;padding-block:clamp(28px,5vw,64px)}
.cost-document-shell .resource-single,
.cost-document-shell .entry-content-card{min-width:0;max-width:960px;margin-inline:auto;padding:clamp(22px,4vw,52px);background:var(--cost-white);color:var(--cost-text);border:1px solid var(--cost-line);border-radius:18px;box-shadow:var(--cost-shadow)}
.cost-document-shell .section-title{font-family:'Manrope',system-ui,sans-serif;font-size:clamp(28px,3.4vw,48px);font-weight:800;line-height:1.2;letter-spacing:-.04em;max-width:none;margin:18px 0 26px;color:var(--cost-green);overflow-wrap:anywhere}
.cost-document-shell .section-label{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--cost-muted);font-size:11px;line-height:1.6;letter-spacing:.12em;margin:26px 0 0}
.cost-document-shell .section-label span{color:#447359}
.cost-document-shell .text-link{color:#16543f;font-size:13px}
.cost-document-shell .text-link:hover{color:#0b3426}
.cost-document-shell .resource-single__back{margin-bottom:0}
.cost-document-shell .entry-content{color:var(--cost-text);font-size:17px;line-height:1.85;margin-top:26px;min-width:0;max-width:100%;overflow-x:auto;overflow-wrap:anywhere}
.cost-document-shell .entry-content h2,
.cost-document-shell .entry-content h3,
.cost-document-shell .entry-content h4,
.cost-document-shell .entry-content h5,
.cost-document-shell .entry-content h6{color:var(--cost-green);line-height:1.3;letter-spacing:-.02em;margin:1.7em 0 .7em}
.cost-document-shell .entry-content h2{font-size:clamp(23px,2.4vw,30px)}
.cost-document-shell .entry-content h3{font-size:clamp(20px,2vw,24px)}
.cost-document-shell .entry-content a{color:#16543f;text-underline-offset:.18em}
.cost-document-shell .entry-content a:hover{color:#0b3426}
.cost-document-shell .entry-content blockquote{margin:24px 0;padding:18px 22px;border-left:4px solid var(--cost-gold);background:var(--cost-cream);color:var(--cost-muted)}
.cost-document-shell .entry-content blockquote p:last-child{margin-bottom:0}
.cost-document-shell .entry-content pre{max-width:100%;overflow-x:auto;padding:18px;border-radius:10px;background:var(--cost-soft);color:var(--cost-text)}
.cost-document-shell .entry-content table{border-collapse:collapse;width:100%;font-size:15px}
.cost-document-shell .entry-content th,
.cost-document-shell .entry-content td{padding:12px;text-align:left;vertical-align:top;border:1px solid var(--cost-line)}
.cost-document-shell .entry-content th{background:var(--cost-soft)}
.cost-document-shell .entry-content figure{max-width:100%;margin-inline:0}
.cost-document-shell .entry-content iframe,
.cost-document-shell .entry-content video{max-width:100%}
.cost-document-shell .resource-single__image{margin:24px 0}
.cost-document-shell .resource-single__image img{display:block;max-width:100%;height:auto;border-radius:12px}
.cost-document-shell .hub-evidence{background:var(--cost-soft);color:var(--cost-text);border-color:var(--cost-line);margin-top:32px}
.cost-document-shell .hub-evidence h2,
.cost-document-shell .hub-evidence__facts dd{color:var(--cost-green)}
.cost-document-shell .hub-evidence__facts dt{color:var(--cost-muted)}
.cost-document-shell .hub-evidence__source a{color:#16543f;overflow-wrap:anywhere}
.cost-document-shell .hub-evidence__media{background:var(--cost-cream)}
.cost-document-shell .hub-evidence__download{background:var(--cost-green);color:white}
.cost-document-shell .hub-evidence__download:hover{background:#265e47;color:white}
.cost-document-shell .resource-tags{gap:8px}
.cost-document-shell .resource-tags a{background:#e9f1e7;color:#245b43;border:1px solid var(--cost-line);overflow-wrap:anywhere}
.cost-document-shell .resource-tags a:hover{background:var(--cost-green);color:white}
/* COST & EU co-branding: use supplied official document imagery, not imitations */
.cost-footer{background:#0e3126;color:#e3efe6;padding:58px 0 0}
.cost-footer a{color:#f0f7ee;text-decoration:none}
.cost-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px;padding-bottom:35px}
.cost-footer__brand{font-size:25px;font-weight:850;letter-spacing:-.04em}
.cost-footer p{color:#c1d5c8;font-size:13px;line-height:1.7}
.cost-footer__links{display:flex;flex-direction:column;gap:12px}
.cost-footer__links h2{font-size:13px;color:white;text-transform:uppercase;letter-spacing:.1em}
.cost-footer__links a,.cost-footer__links span{font-size:13px;color:#cfe1d5}
.cost-footer__funding{border-top:1px solid #ffffff30;padding:28px 0;display:grid;grid-template-columns:1fr 1.3fr;gap:40px;align-items:center}
.cost-footer__logos{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.cost-footer__logos>a{display:block;background:#fff;border-radius:9px;padding:8px}
.cost-footer__logos img{display:block;max-width:190px;max-height:70px;width:auto;height:auto;object-fit:contain}
.cost-footer__acknowledgement p{font-size:11px;color:#ccddd0;line-height:1.6;margin:0 0 9px}
.cost-footer__bottom{padding:19px 0;border-top:1px solid #ffffff25;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#acc6b5}
@media(max-width:1100px){
 .cost-site-header__inner{gap:20px}
 .cost-header-cta{display:none}
 .cost-navigation .site-nav__links{gap:15px}
 .cost-wg-grid{grid-template-columns:repeat(2,1fr)}
 .cost-wg-card:last-child{grid-column:span 2}
}
@media(max-width:880px){
 .site-container{width:min(var(--container),calc(100% - 34px))}
 .cost-topline .site-container{font-size:9px}
 .cost-site-header__inner{min-height:76px;gap:12px;justify-content:space-between}
 .cost-brand{gap:8px}
 .cost-brand .cost-brand__logo{max-height:63px;max-width:128px}
 .cost-brand__tag{max-width:90px;font-size:10px}
 .cost-header-cta{display:none}
 .cost-toggle{display:block}
 .cost-navigation{display:none;position:absolute;top:100%;left:0;right:0;background:#f8faf5;border-bottom:1px solid #d6e3d8}
 .cost-navigation.is-open,.cost-navigation[aria-hidden=false]{display:block}
 .cost-navigation .site-nav__links{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 20px}
 .cost-navigation .site-nav__links a{display:block;padding:11px}
 .cost-hero__grid,.cost-about-grid,.cost-hub-showcase__grid,.cost-join__grid,.cost-footer__grid,.cost-footer__funding{grid-template-columns:1fr}
 .cost-hero__grid{gap:0;padding-top:45px}
 .cost-onehealth{transform:scale(.85);height:330px;margin-top:10px}
 .cost-hero h1{font-size:clamp(36px,9vw,56px)}
 .cost-quickfacts__grid{grid-template-columns:repeat(2,1fr);gap:17px}
 .cost-section{padding:57px 0}
 .cost-section-heading{display:block}
 .cost-section-heading p{margin-top:17px}
 .cost-pillars,.cost-wg-grid,.cost-event-links,.cost-news-grid,.cost-portal__entries{grid-template-columns:1fr}
 .cost-wg-card:last-child{grid-column:span 1}
 .cost-hub-showcase{padding:60px 0}
 .cost-footer__grid{gap:20px}
 .cost-footer__bottom{display:block}
 .cost-portal__heading{display:block}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.site-branding img,
.site-logo img,
.footer-brand img,
.cost-site-footer__brand img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    image-rendering: auto;
}
/* News rows now contain only a title and its navigation link. */
.news-item{grid-template-columns:minmax(0,1fr) 25px}

/* Sprint 26: official MoU deliverables (reference schedule, not claimed outcomes). */
.cost-roadmap{margin-top:18px}
.cost-roadmap__table-wrap{overflow-x:auto;border:1px solid #d4e3d4;border-radius:14px;background:#fff}
.cost-roadmap__table{border-collapse:collapse;width:100%;min-width:660px;color:#1b4030;font-size:13px;line-height:1.5}
.cost-roadmap__table caption{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
.cost-roadmap__table th,.cost-roadmap__table td{padding:15px 19px;text-align:left;vertical-align:top;border-bottom:1px solid #e3ece1}
.cost-roadmap__table th{background:#edf5ec;color:#264e37;font-weight:850}
.cost-roadmap__table tbody tr:nth-child(even){background:#fbfcf9}
.cost-roadmap__table tbody tr:last-child td{border-bottom:0}
.cost-roadmap__table td:first-child{color:#13583a;white-space:nowrap}
.cost-roadmap__table td:last-child{white-space:nowrap}
.cost-roadmap__source{font-size:12px;color:#547162;line-height:1.7;margin:20px 0 0}
.cost-roadmap__source a{font-weight:800}
