:root{
  --navy:#062f55; --navy-2:#0c416f; --coral:#ef625c; --coral-dark:#d94d48;
  --ink:#082f52; --muted:#45596e; --soft:#f2f7fb; --line:#d7e2eb; --white:#fff;
  --shadow:0 14px 38px rgba(6,47,85,.10); --radius:18px; --font:'Montserrat',Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;line-height:1.55}img{max-width:100%;display:block}a{color:inherit}button,input{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.skip-link{position:absolute;left:-9999px;top:0;background:#fff;color:#000;padding:12px 16px;z-index:9999}.skip-link:focus{left:10px;top:10px}.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);border-bottom:1px solid #e4ebf1;backdrop-filter:blur(14px)}.header-inner{display:grid;grid-template-columns:180px 1fr auto;align-items:center;gap:20px;min-height:82px}.brand{display:flex;align-items:center;width:170px;height:54px;overflow:hidden}.brand img{width:175px;max-width:none;transform:scale(1.13);transform-origin:left center}.main-nav{display:flex;justify-content:flex-end;gap:18px;align-items:center}.main-nav a{text-decoration:none;font-size:13px;font-weight:700;color:var(--navy)}.main-nav a:hover,.main-nav a:focus{text-decoration:underline;text-underline-offset:5px}.menu-toggle{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;border-radius:999px;text-decoration:none;font-weight:800;font-size:14px;border:2px solid transparent;transition:.2s}.btn:focus-visible,.filter:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffbf00;outline-offset:3px}.btn-don{background:var(--coral);color:#fff}.btn-don:hover{background:var(--coral-dark)}.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}.btn-dark{background:var(--navy);color:#fff}.btn-light{background:#fff;color:var(--navy)}.btn-outline-light{color:#fff;border-color:#fff}.btn-large{padding:14px 24px;min-height:52px}.btn-block{width:100%}.hero{background:linear-gradient(100deg,#fff 0%,#f8fafc 48%,#edf3f7 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;min-height:640px}.hero-copy{padding:72px 0}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--coral-dark);font-weight:800;font-size:12px;margin:0 0 14px}.eyebrow-light{color:#ff9c95}.hero h1{font-size:clamp(48px,6vw,80px);line-height:.96;letter-spacing:-.055em;margin:0 0 28px;color:var(--navy)}.hero h1 span{color:var(--coral)}.hero-lead{font-size:17px;max-width:650px;color:#334c63}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.trust-line{font-size:13px;font-weight:600;margin-top:18px;color:#405a70}.hero-visual{height:640px;display:flex;align-items:stretch;justify-content:flex-end;overflow:hidden}.hero-visual img{height:100%;width:100%;object-fit:cover;object-position:center}.donation-banner{background:linear-gradient(90deg,#ef625c,#e94f49);color:#fff}.donation-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 0}.donation-message{display:flex;align-items:center;gap:20px;font-size:22px;line-height:1.25}.donation-message p{margin:0}.donation-icon{font-size:58px;line-height:1}.kpi-strip{background:var(--navy);color:#fff}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr)}.kpi{padding:22px 30px;border-right:1px solid rgba(255,255,255,.15)}.kpi:last-child{border-right:0}.kpi strong{font-size:38px;display:block;line-height:1}.kpi span{font-weight:700;font-size:13px}.section{padding:88px 0}.section-white{background:#fff}.section-soft{background:var(--soft)}.section-heading h2,.science-copy h2,.trials-heading h2,.funding-section h2,.news-heading h2{font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.04em;margin:0 0 18px}.section-heading.narrow{max-width:850px}.section-heading p,.section-intro{color:var(--muted);max-width:760px}.entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:38px}.entry-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow)}.entry-card-accent{border-top:5px solid var(--coral)}.icon-circle{width:46px;height:46px;border-radius:50%;background:#fff0ef;color:var(--coral-dark);display:grid;place-items:center;font-weight:800}.entry-card h3{font-size:22px;margin:20px 0 10px}.entry-card p{color:var(--muted)}.text-link{font-weight:800;color:var(--navy);text-decoration-thickness:2px;text-underline-offset:4px}.science-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}.science-copy p{color:var(--muted);font-size:17px}.science-visual img{width:100%;height:430px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}.result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:42px}.result-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.result-card strong{font-size:42px;color:var(--coral);line-height:1}.result-card h3{font-size:16px;margin:12px 0 8px}.result-card p{font-size:13px;color:var(--muted);margin:0}.trials-section{background:var(--navy);color:#fff}.trials-heading{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end}.trials-heading p{color:#d6e5f1}.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:34px 0}.filter{border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;padding:9px 15px;border-radius:999px;cursor:pointer}.filter.active{background:#fff;color:var(--navy);font-weight:800}.trial-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.trial-card{background:#fff;color:var(--ink);border-radius:18px;padding:24px;min-height:335px}.trial-card h3{font-size:24px;margin:18px 0 8px}.trial-card p{color:var(--muted);font-size:14px}.trial-card ul{padding-left:20px;font-size:13px}.trial-card a{display:inline-block;margin-top:12px;font-weight:800}.status{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase}.status-finished{background:#e5f5e9;color:#176631}.status-current{background:#dceefe;color:#075b9a}.centered-action{text-align:center;margin-top:34px}.map-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:38px;align-items:stretch}.map{min-height:580px;border-radius:22px;border:1px solid var(--line);overflow:hidden;box-shadow:var(--shadow);background:#dceaf2}.map-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;font-weight:700}.dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:6px}.dot-past{background:#6b7d90}.dot-current{background:var(--coral)}.dot-planned{background:#f0a223}.leaflet-popup-content-wrapper{border-radius:14px;font-family:var(--font)}.popup-title{font-weight:800;font-size:15px;color:var(--navy)}.popup-study{font-size:12px;margin-top:6px}.centres-list-wrap{margin-top:24px}.centres-list-wrap details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.centres-list-wrap summary{cursor:pointer;font-weight:800}.centres-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.centre-item{padding:14px;border:1px solid var(--line);border-radius:12px}.centre-item strong{display:block}.centre-item span{font-size:12px;color:var(--muted)}.testimonial-section{background:linear-gradient(105deg,#062f55,#124f80);color:#fff;padding:54px 0}.testimonial-grid{display:grid;grid-template-columns:330px 1fr;gap:50px;align-items:center}.testimonial-grid img{width:330px;height:360px;object-fit:cover;object-position:center 20%;border-radius:18px;border:1px solid rgba(255,255,255,.4)}.testimonial-copy blockquote{font-size:clamp(30px,4vw,52px);line-height:1.08;margin:0 0 24px;max-width:760px;font-weight:700;letter-spacing:-.035em}.quote-mark{font-size:90px;color:var(--coral);line-height:.3;margin:0 0 20px}.testimonial-copy span{color:#c9dcec}.funding-layout{display:grid;grid-template-columns:1.45fr .55fr;gap:36px;align-items:start}.funding-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}.funding-card{border:1px solid var(--line);border-radius:16px;padding:24px}.funding-card h3{font-size:18px}.funding-card p{font-size:13px;color:var(--muted)}.funding-card strong{font-size:32px;color:var(--navy)}.funding-icon{font-size:32px;color:var(--coral)}.donation-card{background:var(--navy);color:#fff;border-radius:22px;padding:34px;box-shadow:var(--shadow);position:sticky;top:108px}.donation-card h3{font-size:31px;line-height:1.08;margin:12px 0}.donation-card p{color:#d8e6f0}.donation-card small{display:block;margin-top:14px;color:#d8e6f0}.partners-section{background:#f8fafc}.partner-group{margin-top:30px}.partner-group h3{font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#52677a}.logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.logo-grid-six{grid-template-columns:repeat(6,1fr)}.small-grid{grid-template-columns:repeat(2,minmax(180px,260px))}.partner-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px}.logo-tile{min-height:98px;background:#fff;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;padding:14px;text-align:center}.logo-word{font-weight:800;color:var(--navy);line-height:1.05}.logo-word.right{font-size:28px}.logo-word.efs{font-size:34px;color:#b81c29}.logo-word.umlp{font-size:14px}.logo-word.irfc{font-size:34px}.logo-word.chu{font-size:15px}.logo-word.phisalix{font-size:20px;color:#0d6681}.logo-word.inca,.logo-word.dgos,.logo-word.arc{font-size:22px}.logo-word.region,.logo-word.girci,.logo-word.canceropole,.logo-word.ligue,.logo-word.grayloise,.logo-word.rotary{font-size:16px}.news-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}.news-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.news-card img{width:100%;height:220px;object-fit:cover}.news-body{padding:22px}.news-type{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--coral-dark);font-weight:800}.news-card h3{font-size:20px;line-height:1.2}.news-card a{font-weight:800}.site-footer{background:#041f38;color:#fff;padding:60px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:38px}.footer-logo{width:150px;filter:brightness(0) invert(1)}.site-footer h2{font-size:14px;text-transform:uppercase;letter-spacing:.08em}.site-footer a{display:block;color:#dbe7ef;margin:7px 0}.site-footer p{color:#c8d9e5}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:36px;padding-top:20px;display:flex;justify-content:space-between;gap:20px}.footer-bottom div{display:flex;gap:18px;flex-wrap:wrap}.sticky-don{position:fixed;right:22px;bottom:22px;background:var(--coral);color:#fff;text-decoration:none;padding:15px 24px;border-radius:999px;font-weight:800;z-index:1000;box-shadow:0 12px 30px rgba(0,0,0,.2)}
@media(max-width:1000px){.main-nav{display:none}.menu-toggle{display:block;justify-self:end;background:#fff;border:2px solid var(--navy);border-radius:999px;padding:9px 14px;font-weight:800}.header-inner{grid-template-columns:160px 1fr auto}.header-don{display:none}.main-nav.open{position:absolute;display:flex;flex-direction:column;align-items:flex-start;background:#fff;left:0;right:0;top:82px;padding:24px 30px;border-bottom:1px solid var(--line)}.hero-grid,.science-grid,.map-grid,.funding-layout,.trials-heading{grid-template-columns:1fr}.hero-visual{height:500px}.entry-grid,.news-grid,.funding-grid{grid-template-columns:1fr 1fr}.result-grid,.trial-grid{grid-template-columns:1fr 1fr}.logo-grid-six{grid-template-columns:repeat(3,1fr)}.partner-columns{grid-template-columns:1fr}.testimonial-grid{grid-template-columns:280px 1fr}.testimonial-grid img{width:280px;height:320px}}
@media(max-width:700px){.container{width:min(100% - 28px,1180px)}.section{padding:64px 0}.header-inner{min-height:72px}.brand{width:150px;height:50px}.brand img{width:160px}.main-nav.open{top:72px}.hero-grid{display:flex;flex-direction:column}.hero-copy{padding:54px 0 28px}.hero h1{font-size:48px}.hero-visual{height:420px;width:calc(100% + 28px);margin-inline:-14px}.donation-banner-inner{flex-direction:column;align-items:flex-start}.donation-message{font-size:18px}.kpi-grid{grid-template-columns:1fr 1fr}.kpi{border-bottom:1px solid rgba(255,255,255,.12)}.entry-grid,.result-grid,.trial-grid,.news-grid,.funding-grid,.centres-list,.logo-grid,.logo-grid-six{grid-template-columns:1fr}.science-visual img{height:290px}.trial-card{min-height:auto}.map{min-height:520px}.testimonial-grid{grid-template-columns:1fr}.testimonial-grid img{width:100%;height:420px}.funding-layout{gap:24px}.donation-card{position:static}.partner-columns{grid-template-columns:1fr}.small-grid{grid-template-columns:1fr}.news-heading,.footer-bottom{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.sticky-don{right:14px;bottom:14px}.footer-bottom{display:flex}.hero-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}


/* V4 refinements */
.header-inner{grid-template-columns:220px 1fr auto;gap:14px;min-height:76px}
.brand{width:210px;height:58px;overflow:visible}
.brand img{width:210px;height:auto;max-width:none;transform:none;object-fit:contain;object-position:left center}
.main-nav{gap:14px}
.main-nav a{font-size:12px;white-space:nowrap}
.header-don{min-width:126px;padding-inline:18px}

.donation-banner-inner{padding:28px 0}
.donation-message{max-width:820px;font-size:20px}
.donation-message strong{font-weight:800}

.result-card{min-height:210px}
.result-card h3{font-size:17px;line-height:1.25}
.result-card p{font-size:14px}

.trials-heading{grid-template-columns:1.15fr .85fr}

.funding-heading{max-width:900px;margin-bottom:34px}
.funding-layout-v2{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:stretch}
.funding-grid-v2{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0}
.funding-grid-v2 .funding-card{position:relative;padding-top:58px;min-height:280px;background:#fff}
.funding-number{position:absolute;top:18px;left:22px;font-weight:800;font-size:14px;letter-spacing:.08em;color:var(--coral)}
.funding-grid-v2 .funding-card h3{font-size:21px;line-height:1.2}
.funding-grid-v2 .funding-card p{font-size:14px}
.donation-card-v2{position:relative;top:auto;display:flex;flex-direction:column;justify-content:center;min-height:100%;padding:36px}
.donation-target{font-size:72px;line-height:.9;font-weight:800;color:#fff;margin:4px 0 18px;letter-spacing:-.06em}
.donation-card-v2 h3{font-size:34px}

.sticky-don{
  display:flex;align-items:center;gap:10px;
  right:22px;bottom:22px;
  background:linear-gradient(135deg,#ef625c,#d9433f);
  color:#fff;padding:16px 24px 16px 18px;
  border:3px solid #fff;
  box-shadow:0 14px 34px rgba(6,47,85,.32);
  font-size:15px
}
.sticky-don span:first-child{
  width:34px;height:34px;border-radius:50%;
  background:#fff;color:var(--coral-dark);
  display:grid;place-items:center;font-size:24px;line-height:1
}
.sticky-don:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(6,47,85,.38)}

.site-footer .footer-logo{width:180px;max-height:62px;object-fit:contain;object-position:left center}

@media(max-width:1100px){
  .header-inner{grid-template-columns:190px 1fr auto}
  .brand,.brand img{width:185px}
  .main-nav{gap:10px}
  .main-nav a{font-size:11px}
}
@media(max-width:1000px){
  .funding-layout-v2{grid-template-columns:1fr}
  .funding-grid-v2{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .funding-grid-v2{grid-template-columns:1fr}
  .funding-grid-v2 .funding-card{min-height:auto}
  .donation-target{font-size:60px}
  .brand,.brand img{width:170px}
}

/* WordPress theme refinements */
:root{--navy:#082f55;--navy-2:#0d4777;--coral:#ef625c;--coral-dark:#d94843;--soft:#f3f7fb;--text:#153b61;--white:#fff}
body{font-family:'Montserrat',Arial,sans-serif}
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e4e9ef}
.header-inner{min-height:78px;display:grid;grid-template-columns:230px 1fr auto;align-items:center;gap:18px}
.brand{display:flex;align-items:center;width:220px;height:58px;overflow:visible}
.brand img,.brand .custom-logo{display:block;width:auto;max-width:220px;max-height:58px;height:auto;object-fit:contain;object-position:left center}
.main-nav{justify-self:end;display:flex;gap:16px;align-items:center}
.main-nav a{font-size:12px;font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap}
.main-nav a:hover,.main-nav a:focus-visible{color:var(--coral-dark)}
.hero{background:#f6f8fb;overflow:hidden}
.hero-grid{min-height:560px;align-items:stretch}
.hero-visual{min-height:560px;overflow:hidden;border-radius:0}
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center}
.result-card strong{font-size:46px}
.result-card h3{margin:.4rem 0 .25rem}
.static-map{margin:0;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(8,47,85,.1);overflow:hidden}
.static-map img{display:block;width:100%;height:auto}
.static-map figcaption{padding:12px 16px;font-size:13px;color:#4c6780}
.map-grid{align-items:center}
.funding-layout-v2{align-items:stretch}
.donation-card-v2{height:100%;top:auto}
.logo-placeholder-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.logo-placeholder-grid span{min-height:84px;display:grid;place-items:center;text-align:center;padding:14px;background:#fff;border:1px solid #e5eaf0;border-radius:10px;font-weight:700;color:var(--navy)}
.footer-logo{display:block;width:180px;height:64px}
.footer-logo img{width:auto;max-width:180px;max-height:64px;object-fit:contain;object-position:left center}
.content-shell{padding:72px 0;min-height:60vh}.page-header{max-width:900px;margin-bottom:40px}.page-header h1{font-size:clamp(2.2rem,5vw,4.5rem);line-height:1.02;color:var(--navy)}
.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.content-card{background:#fff;border:1px solid #e4e9ef;border-radius:14px;padding:24px;box-shadow:0 8px 24px rgba(8,47,85,.06)}.content-card img{border-radius:10px;margin-bottom:18px}.content-card h2{font-size:22px}.content-card h2 a{color:var(--navy);text-decoration:none}
.article-layout{max-width:980px}.lead{font-size:1.25rem;line-height:1.6}.article-image{width:100%;height:auto;border-radius:16px;margin-bottom:32px}.prose{font-size:18px;line-height:1.75;color:#294d6c}.prose h2,.prose h3{color:var(--navy)}
.sticky-don{z-index:120}
@media(max-width:1100px){.header-inner{grid-template-columns:200px 1fr auto}.brand{width:195px}.brand img,.brand .custom-logo{max-width:195px}.main-nav{gap:10px}.main-nav a{font-size:11px}}
@media(max-width:900px){.header-inner{grid-template-columns:1fr auto auto}.menu-toggle{display:inline-flex}.main-nav{position:absolute;left:16px;right:16px;top:72px;display:none;flex-direction:column;align-items:stretch;background:#fff;padding:16px;border:1px solid #dde5ed;border-radius:12px;box-shadow:0 15px 35px rgba(8,47,85,.15)}.main-nav.is-open{display:flex}.main-nav a{font-size:15px;padding:10px}.header-don{display:none}.hero-grid{min-height:auto}.hero-visual{min-height:420px}.content-grid{grid-template-columns:repeat(2,1fr)}.logo-placeholder-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.header-inner{min-height:70px}.brand{width:165px;height:50px}.brand img,.brand .custom-logo{max-width:165px;max-height:50px}.hero-visual{min-height:330px}.content-grid,.logo-placeholder-grid{grid-template-columns:1fr}.sticky-don{right:12px;bottom:12px}}


/* Homepage 1.1 refinements */
.hero-home{position:relative;min-height:650px;background-image:var(--hero-image);background-size:cover;background-position:center center;background-repeat:no-repeat}
.hero-home:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,248,251,.97) 0%,rgba(246,248,251,.92) 38%,rgba(246,248,251,.20) 62%,rgba(246,248,251,0) 100%);pointer-events:none}
.hero-home-inner{position:relative;z-index:1;min-height:650px;display:flex;align-items:center}
.hero-home .hero-copy{width:min(620px,52%);padding:72px 0}
.hero-home .hero-lead{max-width:560px}
.entry-card h3,.result-card h3,.trial-card h3,.funding-card h3,.news-card h3{color:var(--navy)}
.result-card{display:flex;flex-direction:column;align-items:flex-start;min-height:215px}
.result-card strong{margin-bottom:14px}
.result-card h3{font-size:16px;line-height:1.35;margin:0 0 8px;font-weight:800}
.result-card p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}
.centres-home-heading{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:34px}
.centres-home-heading>div{max-width:760px}.centres-home-heading h2{font-size:clamp(32px,3.4vw,48px);line-height:1.05;letter-spacing:-.04em;margin:0 0 18px}
.centres-map-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.45fr);gap:24px;align-items:stretch}
.centres-map{height:560px;min-height:560px;width:100%;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:#dfeaf2;isolation:isolate}
.centres-map .leaflet-container,.centres-map .leaflet-pane,.centres-map .leaflet-map-pane{max-width:none!important}
.centres-map img.leaflet-tile{max-width:none!important;max-height:none!important}
.centres-home-list{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow);max-height:560px;overflow:auto}
.centres-home-list h3{margin-top:0;font-size:22px}.centres-home-list ul{list-style:none;margin:0;padding:0}.centres-home-list li{padding:12px 0;border-bottom:1px solid #e8eef3}.centres-home-list li:last-child{border-bottom:0}.centres-home-list a{font-weight:800;text-decoration:none;color:var(--navy)}.centres-home-list span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.centres-empty{background:#fff;border:1px dashed var(--line);border-radius:18px;padding:28px;color:var(--muted)}
.testimonial-copy{position:relative;padding-left:72px}.testimonial-copy:before{content:'«';position:absolute;left:0;top:-20px;color:var(--coral);font-size:92px;line-height:1;font-weight:800}.testimonial-copy blockquote{margin-left:0}
.partner-logo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:32px}.partner-logo-card{min-height:110px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;place-items:center}.partner-logo-card img{max-height:70px;width:auto;object-fit:contain}.partner-logo-card span{font-weight:800;text-align:center}
.news-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.news-heading h2{margin-bottom:0}.news-grid-real{align-items:stretch}.news-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(6,47,85,.08);display:flex;flex-direction:column}.news-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eaf1f6}.news-card-image img{width:100%;height:100%;object-fit:cover}.news-card-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#dce8f1,#f5f8fb)}.news-card-body{padding:24px;display:flex;flex-direction:column;flex:1}.news-meta{font-size:12px;color:var(--coral-dark);font-weight:800;margin:0 0 10px}.news-card h3{font-size:21px;line-height:1.25;margin:0 0 12px}.news-card h3 a{text-decoration:none}.news-card-body>p:not(.news-meta){color:var(--muted);font-size:14px}.news-card .text-link{margin-top:auto}
.footer-logo{width:205px!important;height:auto!important;background:#fff;border-radius:10px;padding:10px 12px;display:inline-flex!important}.footer-logo img{width:100%!important;max-width:180px!important;max-height:none!important;filter:none!important;object-fit:contain}
.site-footer .footer-brand{align-self:start}
@media(max-width:1000px){.hero-home{background-position:62% center}.hero-home:before{background:linear-gradient(90deg,rgba(246,248,251,.98) 0%,rgba(246,248,251,.92) 52%,rgba(246,248,251,.18) 78%,rgba(246,248,251,0) 100%)}.hero-home .hero-copy{width:60%}.centres-map-layout{grid-template-columns:1fr}.centres-home-list{max-height:none}.partner-logo-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.hero-home{min-height:760px;background-position:68% bottom;background-size:auto 58%;background-color:#f6f8fb}.hero-home:before{background:linear-gradient(180deg,#f6f8fb 0%,#f6f8fb 51%,rgba(246,248,251,.55) 66%,rgba(246,248,251,0) 100%)}.hero-home-inner{min-height:760px;align-items:flex-start}.hero-home .hero-copy{width:100%;padding-top:48px}.centres-home-heading,.news-heading{display:block}.centres-home-heading .btn,.news-heading .btn{margin-top:20px}.centres-map{height:460px;min-height:460px}.testimonial-copy{padding-left:48px}.testimonial-copy:before{font-size:68px}.partner-logo-grid{grid-template-columns:repeat(2,1fr)}}


/* Homepage 1.2 refinements */
.site-header .header-inner{
  min-height:92px;
  padding-top:10px;
  padding-bottom:10px;
}

.hero-home{
  min-height:650px;
  background-color:#f6f8fb;
  background-size:auto 100%;
  background-position:right center;
  background-repeat:no-repeat;
}
.hero-home:before{
  background:linear-gradient(90deg,#f6f8fb 0%,rgba(246,248,251,.99) 43%,rgba(246,248,251,.88) 55%,rgba(246,248,251,.12) 72%,rgba(246,248,251,0) 100%);
}
.hero-home .hero-copy{
  width:min(650px,54%);
}

.btn-support-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:62px;
  padding:14px 26px 14px 16px;
  border-radius:999px;
  background:linear-gradient(135deg,#082f55,#0d4777);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:16px;
  box-shadow:0 12px 28px rgba(6,47,85,.24);
  border:2px solid rgba(255,255,255,.22);
  white-space:nowrap;
}
.btn-support-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(6,47,85,.30);
}
.btn-support-icon{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--coral-dark);
  font-size:25px;
  line-height:1;
}

.result-card{
  min-height:190px;
  justify-content:center;
  padding:26px;
}
.result-statement{
  margin:0;
  color:var(--navy);
  font-size:16px;
  line-height:1.55;
  font-weight:600;
}
.result-statement strong{
  display:inline;
  margin:0;
  color:var(--navy);
  font-size:inherit;
  line-height:inherit;
  font-weight:800;
}

.centres-map-layout{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:28px;
}
.centres-map,
.centres-home-list{
  height:520px;
  min-height:520px;
  max-height:520px;
}
.centres-home-list{
  padding:28px 30px;
}
.centres-home-list h3{
  font-size:24px;
  margin-bottom:12px;
}

.footer-logo{
  width:220px!important;
  height:auto!important;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
  display:block!important;
}
.footer-logo img{
  width:220px!important;
  max-width:220px!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  filter:none!important;
}

@media(max-width:1000px){
  .hero-home{
    background-size:auto 100%;
    background-position:70% center;
  }
  .hero-home .hero-copy{width:58%}
  .centres-map-layout{grid-template-columns:1fr}
  .centres-map,.centres-home-list{
    height:500px;
    min-height:500px;
    max-height:500px;
  }
}
@media(max-width:700px){
  .site-header .header-inner{
    min-height:78px;
    padding-top:6px;
    padding-bottom:6px;
  }
  .hero-home{
    min-height:780px;
    background-position:65% bottom;
    background-size:auto 55%;
  }
  .hero-home:before{
    background:linear-gradient(180deg,#f6f8fb 0%,#f6f8fb 50%,rgba(246,248,251,.60) 65%,rgba(246,248,251,0) 100%);
  }
  .hero-home .hero-copy{width:100%}
  .btn-support-primary{width:100%;max-width:360px}
  .centres-map,.centres-home-list{
    height:460px;
    min-height:460px;
    max-height:460px;
  }
}


/* Homepage 1.2.1 refinements */

/* Keep the figure prominent, but only one typographic level in the explanatory text. */
.result-card{
  display:block;
  min-height:190px;
}
.result-number{
  display:block;
  margin-bottom:14px;
  color:var(--coral);
  font-size:38px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.04em;
}
.result-copy{
  margin:0;
  color:var(--navy);
  font-size:15px;
  line-height:1.5;
  font-weight:600;
}

/* Decorative closing French quotation mark for Wanda's quote. */
.testimonial-copy blockquote{
  position:relative;
  padding-right:58px;
}
.testimonial-copy blockquote:after{
  content:"»";
  position:absolute;
  right:0;
  bottom:-16px;
  color:var(--coral);
  font-size:68px;
  line-height:1;
  font-weight:800;
  font-family:Georgia, "Times New Roman", serif;
}

/* Categorised partner/supporter groups. */
.partner-groups{
  display:grid;
  gap:34px;
}
.partner-group h3{
  margin:0 0 16px;
  color:var(--navy);
  font-size:20px;
  line-height:1.25;
}
.partner-group .partner-logo-grid{
  margin:0;
}

@media(max-width:700px){
  .testimonial-copy blockquote{
    padding-right:34px;
  }
  .testimonial-copy blockquote:after{
    font-size:48px;
    bottom:-10px;
  }
}






/* Homepage 1.2.4 – seamless hero photo blend */
.hero-home{
  position:relative;
  overflow:hidden;
  background:#f6f8fb;
  background-image:none!important;
}

/* The photograph lives on its own right-side layer.
   Only its left edge is faded, so there is no grey vertical seam. */
.hero-home::before{
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  width:58%;
  z-index:0;
  pointer-events:none;
  background-image:var(--hero-image);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;

  -webkit-mask-image:linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,.08) 6%,
    rgba(0,0,0,.32) 14%,
    rgba(0,0,0,.72) 24%,
    #000 36%,
    #000 100%
  );
  mask-image:linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,.08) 6%,
    rgba(0,0,0,.32) 14%,
    rgba(0,0,0,.72) 24%,
    #000 36%,
    #000 100%
  );
}

/* Remove any former full-width overlay. */
.hero-home::after{
  content:none!important;
}

/* Hero content remains above the photo layer. */
.hero-home .container{
  position:relative;
  z-index:2;
}

@media(max-width:1100px){
  .hero-home::before{
    width:62%;
    background-position:58% center;
  }
}

@media(max-width:700px){
  .hero-home{
    min-height:780px;
  }
  .hero-home::before{
    inset:auto 0 0 0;
    width:100%;
    height:58%;
    background-size:cover;
    background-position:center top;

    -webkit-mask-image:linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,0,0,.12) 10%,
      rgba(0,0,0,.45) 22%,
      #000 38%,
      #000 100%
    );
    mask-image:linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,0,0,.12) 10%,
      rgba(0,0,0,.45) 22%,
      #000 38%,
      #000 100%
    );
  }
}


/* ============================================================
   v1.2.5 — Interaction, accessibility and partner logo balance
   ============================================================ */

/* Accessible button palette: white text now meets AA contrast. */
.btn-don,
.header-don,
.sticky-don{
  background:#c73d39;
  color:#fff;
}

/* Strong, deliberate interactive feedback. */
.btn,
.btn-support-primary,
.sticky-don,
.text-link,
.main-nav a,
.partner-logo-card a,
.news-card,
.entry-card,
.trial-card{
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    text-decoration-color .22s ease;
}

.btn:hover,
.btn-support-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(6,47,85,.24);
}

.btn-don:hover,
.header-don:hover{
  background:#a92e2b;
  border-color:#a92e2b;
  box-shadow:0 14px 30px rgba(169,46,43,.28);
}

.btn-outline:hover{
  background:var(--navy);
  color:#fff;
  border-color:var(--navy);
}

.btn-outline-light:hover{
  background:#fff;
  color:var(--navy);
  border-color:#fff;
}

.btn-support-primary:hover{
  background:linear-gradient(135deg,#0c416f,#062f55);
}

.sticky-don:hover{
  transform:translateY(-4px) scale(1.02);
  background:#a92e2b;
  box-shadow:0 18px 38px rgba(6,47,85,.32);
}

.text-link{
  text-decoration-thickness:1.5px;
  text-underline-offset:4px;
}
.text-link:hover{
  color:#a92e2b;
  text-decoration-thickness:3px;
  text-underline-offset:5px;
}

.main-nav a:hover{
  color:#a92e2b;
  text-decoration-thickness:3px;
}

.entry-card:hover,
.trial-card:hover,
.news-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(6,47,85,.16);
}

/* Keep a very visible keyboard focus, distinct from hover. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{
  outline:4px solid #ffbf00!important;
  outline-offset:4px!important;
  box-shadow:0 0 0 2px #062f55!important;
}

/* Avoid motion for users who explicitly request less animation. */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .btn:hover,
  .btn-support-primary:hover,
  .sticky-don:hover,
  .entry-card:hover,
  .trial-card:hover,
  .news-card:hover{
    transform:none!important;
  }
}

/* Partner groups and supplied SVG logos. */
.partner-groups{
  display:grid;
  gap:38px;
}
.partner-group h3{
  margin:0 0 16px;
  color:var(--navy);
  font-size:20px;
  line-height:1.3;
}
.partner-logo-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:14px;
}
.partner-logo-card{
  min-height:120px;
  overflow:hidden;
  padding:18px;
}
.partner-logo-card a{
  width:100%;
  height:100%;
  min-height:82px;
  display:grid;
  place-items:center;
  border-radius:10px;
}
.partner-logo-card a:hover{
  transform:scale(1.035);
}
.partner-logo-card img{
  display:block;
  width:100%;
  height:78px;
  max-width:190px;
  max-height:78px;
  object-fit:contain;
  object-position:center;
}

/* Optical balancing for logos supplied on different canvases. */
.partner-logo-card.logo-efs img{
  transform:scale(1.35);
}
.partner-logo-card.logo-fonds-phisalix img{
  transform:scale(1.08);
}
.partner-logo-card.logo-irfc img{
  transform:scale(1.03);
}
.partner-logo-card.logo-umr-right img{
  transform:scale(1.04);
}
.partner-logo-card.logo-inserm img{
  transform:scale(1.05);
}
.partner-logo-card.logo-universite-marie-et-louis-pasteur img{
  transform:scale(.96);
}
.partner-logo-card.logo-chu-besancon-franche-comte img{
  transform:scale(.98);
}

/* Interactive map has a text alternative beside it. */
.centres-map[role="region"]{
  outline:none;
}

/* Better visibility of links inside cards and footer. */
.news-card h3 a,
.trial-card a,
.site-footer a{
  text-decoration-thickness:1.5px;
  text-underline-offset:4px;
}
.site-footer a:hover{
  color:#fff;
  text-decoration-thickness:3px;
}

@media(max-width:700px){
  .partner-logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .partner-logo-card{
    min-height:108px;
    padding:14px;
  }
}


/* v1.2.6 — quotation mark consistency */
.testimonial-copy blockquote::before,
.testimonial-copy blockquote::after{
  font-family:"Montserrat", Arial, sans-serif!important;
  font-weight:800!important;
  font-style:normal!important;
  color:var(--coral);
  line-height:1;
}
.testimonial-copy blockquote::before{content:"«";}
.testimonial-copy blockquote::after{
  content:"»";
  position:absolute;
  right:0;
  bottom:-12px;
  font-size:62px;
}

/* Optical logo normalization: common visual box first, then limited adjustments. */
.partner-logo-card{
  min-height:132px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.partner-logo-card a,
.partner-logo-card > span{
  width:100%;
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.partner-logo-card img{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:78%!important;
  max-height:58px!important;
  object-fit:contain;
  object-position:center;
  transform:none!important;
}

/* Visually heavy logos are constrained more. */
.partner-logo-card.logo-umr-right img,
.partner-logo-card.logo-inserm img,
.partner-logo-card.logo-efs img{
  max-width:64%!important;
  max-height:46px!important;
}

/* CHU needs more optical presence. */
.partner-logo-card.logo-chu-besancon-franche-comte img{
  max-width:92%!important;
  max-height:72px!important;
}

/* Medium-large family. */
.partner-logo-card.logo-fonds-phisalix img,
.partner-logo-card.logo-irfc img,
.partner-logo-card.logo-universite-marie-et-louis-pasteur img{
  max-width:82%!important;
  max-height:62px!important;
}

.partner-logo-card a:hover img{
  transform:scale(1.035)!important;
}

/* Compact simplified menu */
.main-nav{gap:22px}
.main-nav a{
  font-size:13px;
  font-weight:700;
}
@media(max-width:1100px){
  .main-nav{gap:14px}
  .main-nav a{font-size:12px}
}


/* ============================================================
   v1.2.7 — optical logo alignment + harmonised accessible coral
   ============================================================ */

/* One coherent coral family:
   - brand coral for surfaces and accents
   - slightly darker shade only on hover
   - navy text on coral to preserve strong contrast */
:root{
  --coral:#f0645c;
  --coral-hover:#df554e;
  --coral-dark:#d94f49;
}

/* Donation buttons: same coral as the visual identity, navy text for contrast. */
.btn-don,
.header-don,
.sticky-don{
  background:var(--coral)!important;
  color:var(--navy)!important;
  border-color:var(--coral)!important;
}

.btn-don:hover,
.header-don:hover,
.sticky-don:hover{
  background:var(--coral-hover)!important;
  color:var(--navy)!important;
  border-color:var(--coral-hover)!important;
}

/* Keep white icon discs readable inside coral CTAs. */
.sticky-don span:first-child,
.btn-support-icon{
  background:#fff!important;
  color:var(--navy)!important;
}

/* Donation ribbon uses the same coral instead of a second red. */
.donation-banner{
  background:var(--coral)!important;
  color:var(--navy)!important;
}
.donation-banner strong,
.donation-banner p,
.donation-banner .donation-message{
  color:var(--navy)!important;
}

/* Optical logo cards: align all marks around one visual centre line. */
.partner-logo-grid{
  align-items:stretch;
}

.partner-logo-card{
  min-height:126px!important;
  padding:12px 16px!important;
  display:grid!important;
  place-items:center!important;
}

.partner-logo-card a,
.partner-logo-card > span{
  width:100%!important;
  height:100%!important;
  min-height:100px!important;
  display:grid!important;
  place-items:center!important;
}

/* Common optical frame.
   All logos occupy the same visual band, rather than floating inside the 400×400 canvas. */
.partner-logo-card img{
  width:auto!important;
  height:auto!important;
  max-width:82%!important;
  max-height:62px!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}

/* Heavy / visually dense marks are slightly constrained. */
.partner-logo-card.logo-umr-right img{
  max-width:62%!important;
  max-height:48px!important;
}
.partner-logo-card.logo-inserm img{
  max-width:60%!important;
  max-height:46px!important;
}

/* EFS is compact inside a large 400×400 artboard: give it more optical presence. */
.partner-logo-card.logo-efs img{
  max-width:84%!important;
  max-height:74px!important;
}

/* CHU mark is wide and visually light: allow a larger footprint. */
.partner-logo-card.logo-chu-besancon-franche-comte img{
  max-width:96%!important;
  max-height:76px!important;
}

/* Medium-density marks. */
.partner-logo-card.logo-fonds-phisalix img{
  max-width:84%!important;
  max-height:70px!important;
}
.partner-logo-card.logo-irfc img{
  max-width:78%!important;
  max-height:66px!important;
}
.partner-logo-card.logo-universite-marie-et-louis-pasteur img{
  max-width:80%!important;
  max-height:66px!important;
}

/* Maintain the same baseline sensation across the grid. */
.partner-logo-card img{
  margin:auto!important;
}

/* Hover stays subtle on logos; no visual jumping. */
.partner-logo-card a:hover{
  transform:none!important;
}
.partner-logo-card a:hover img{
  transform:scale(1.025)!important;
}

/* Better alignment of headings and grids in the support section. */
.partner-group{
  display:grid;
  gap:14px;
}
.partner-group h3{
  margin:0!important;
}
.partner-group + .partner-group{
  margin-top:10px;
}


/* ============================================================
   v1.2.8 — complete partner logo optical balancing
   ============================================================ */

.partner-logo-card img{
  max-width:80%!important;
  max-height:64px!important;
}

/* Project carriers */
.partner-logo-card.logo-umr-right img{
  max-width:58%!important;
  max-height:44px!important;
}
.partner-logo-card.logo-inserm img{
  max-width:56%!important;
  max-height:42px!important;
}
.partner-logo-card.logo-efs img{
  max-width:88%!important;
  max-height:78px!important;
}
.partner-logo-card.logo-universite-marie-et-louis-pasteur img{
  max-width:74%!important;
  max-height:62px!important;
}
.partner-logo-card.logo-irfc img{
  max-width:72%!important;
  max-height:62px!important;
}
.partner-logo-card.logo-chu-besancon-franche-comte img{
  max-width:96%!important;
  max-height:78px!important;
}
.partner-logo-card.logo-fonds-phisalix img{
  max-width:84%!important;
  max-height:72px!important;
}

/* Public / institutional */
.partner-logo-card.logo-inca img{
  max-width:88%!important;
  max-height:74px!important;
}
.partner-logo-card.logo-ministere-de-la-sante img{
  max-width:84%!important;
  max-height:72px!important;
}
.partner-logo-card.logo-region-bourgogne-franche-comte img{
  max-width:84%!important;
  max-height:72px!important;
}
.partner-logo-card.logo-girci-est img{
  max-width:86%!important;
  max-height:76px!important;
}
.partner-logo-card.logo-canceropole-est img{
  max-width:88%!important;
  max-height:72px!important;
}

/* Associations / foundations */
.partner-logo-card.logo-laliguecontrelecancer img{
  max-width:82%!important;
  max-height:70px!important;
}
.partner-logo-card.logo-rotary img{
  max-width:74%!important;
  max-height:64px!important;
}
.partner-logo-card.logo-grayloise img{
  max-width:90%!important;
  max-height:76px!important;
}
.partner-logo-card.logo-neurovie img{
  max-width:76%!important;
  max-height:74px!important;
}

/* PNGs with transparent artboards: prevent visual drift */
.partner-logo-card.logo-neurovie img,
.partner-logo-card.logo-girci-est img,
.partner-logo-card.logo-canceropole-est img,
.partner-logo-card.logo-grayloise img,
.partner-logo-card.logo-inca img{
  object-fit:contain!important;
  object-position:center center!important;
}

/* Keep every card on the same optical centre line */
.partner-logo-card,
.partner-logo-card a{
  align-items:center!important;
  justify-content:center!important;
}


/* v1.2.9 — robust logo display */
.partner-logo-card a{
  cursor:pointer;
}
.partner-logo-card a:focus-visible{
  border-radius:10px;
}
.partner-logo-card img{
  image-rendering:auto;
}

/* ARC is a tall square logo: give it enough height without dominating. */
.partner-logo-card.logo-fondation-arc img{
  max-width:72%!important;
  max-height:76px!important;
}

/* The converted EFS fallback keeps the compact logo visible. */
.partner-logo-card.logo-efs img{
  max-width:92%!important;
  max-height:82px!important;
}


/* ============================================================
   UCPVax 1.3 — final quote system, cropped logos and inner pages
   ============================================================ */

/* One opening mark and one closing mark only. */
.testimonial-copy::before,
.testimonial-copy blockquote::before{
  content:none!important;
}
.testimonial-copy{
  position:relative;
  padding-left:74px;
  padding-right:62px;
}
.testimonial-copy::after{
  content:"«";
  position:absolute;
  left:0;
  top:-18px;
  font-family:"Montserrat",Arial,sans-serif;
  font-size:78px;
  line-height:1;
  font-weight:800;
  color:var(--coral);
}
.testimonial-copy blockquote::after{
  content:"»"!important;
  position:absolute;
  right:-52px;
  bottom:-18px;
  font-family:"Montserrat",Arial,sans-serif!important;
  font-size:66px!important;
  font-weight:800!important;
  color:var(--coral)!important;
}

/* Cropped display images remove the empty 400×400 canvas:
   a common optical box is now enough. */
.partner-logo-card{
  min-height:126px!important;
  padding:18px!important;
}
.partner-logo-card a{
  width:100%!important;
  min-height:90px!important;
  display:grid!important;
  place-items:center!important;
}
.partner-logo-card img{
  width:auto!important;
  height:auto!important;
  max-width:88%!important;
  max-height:74px!important;
  transform:none!important;
  object-fit:contain!important;
}
/* Ministry and very wide marks receive slightly more horizontal space. */
.partner-logo-card.logo-ministere-de-la-sante img,
.partner-logo-card.logo-canceropole-est img,
.partner-logo-card.logo-region-bourgogne-franche-comte img{
  max-width:96%!important;
}
/* Tall/square marks do not dominate. */
.partner-logo-card.logo-neurovie img,
.partner-logo-card.logo-fondation-arc img{
  max-height:78px!important;
  max-width:72%!important;
}
.partner-logo-card a:hover img{
  transform:scale(1.035)!important;
}

/* Generic inner-page hero */
.inner-hero{
  background:linear-gradient(115deg,#f6f8fb 0%,#eef4f8 100%);
  padding:82px 0;
  overflow:hidden;
}
.inner-hero h1{
  max-width:980px;
  margin:0 0 24px;
  color:var(--navy);
  font-size:clamp(46px,6vw,76px);
  line-height:.98;
  letter-spacing:-.055em;
}
.inner-hero .lead{
  max-width:850px;
  margin:0;
  color:#405a70;
  font-size:20px;
}
.inner-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:54px;
  align-items:center;
}
.inner-hero-grid img{
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow);
}
.simple-inner-hero{
  padding:72px 0;
}
.editorial-grid{
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:70px;
  align-items:start;
}
.editorial-grid h2,
.project-mechanism + * h2{
  font-size:clamp(36px,4vw,58px);
  line-height:1.05;
  letter-spacing:-.04em;
  margin-top:0;
}
.large-prose{font-size:18px}
.project-mechanism{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.project-mechanism img{
  border-radius:22px;
  box-shadow:var(--shadow);
}
.timeline{
  list-style:none;
  padding:0;
  margin:36px 0 0;
  display:grid;
  gap:0;
  border-left:3px solid var(--coral);
}
.timeline li{
  position:relative;
  display:grid;
  grid-template-columns:120px 1fr;
  gap:24px;
  padding:16px 0 28px 32px;
}
.timeline li::before{
  content:"";
  position:absolute;
  left:-9px;
  top:22px;
  width:15px;
  height:15px;
  border-radius:50%;
  background:var(--coral);
  border:3px solid #fff;
}
.timeline strong{font-size:24px;color:var(--navy)}
.timeline span{font-size:17px;color:#405a70}
.people-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:34px;
}
.person-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
}
.person-card h3{font-size:21px;margin:0 0 10px;color:var(--navy)}
.person-card p{margin:0;color:var(--muted)}
.project-cta,
.support-cta,
.registry-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.project-cta{color:#fff}
.project-cta h2{font-size:clamp(38px,5vw,62px);margin:0 0 14px}
.project-cta p{max-width:760px;color:#d8e6f0}

/* Trials archive */
.trial-archive-hero{background:var(--navy);color:#fff}
.trial-archive-hero h1{color:#fff}
.trial-archive-hero .lead{color:#d6e5f1}
.trial-archive-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,220px));
  gap:18px;
  margin-top:38px;
}
.trial-archive-kpis div{
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:16px;
}
.trial-archive-kpis strong{display:block;font-size:40px;line-height:1}
.trial-archive-kpis span{font-size:13px;color:#d6e5f1}
.trial-archive-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.trial-detail-card{
  border:1px solid var(--line);
  border-radius:22px;
  padding:30px;
  box-shadow:0 10px 30px rgba(6,47,85,.08);
}
.trial-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.trial-cancer,
.trial-status{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}
.trial-cancer{background:#fff0ef;color:#8e2b27}
.trial-status{background:#eaf3f9;color:#0c4d7a}
.trial-detail-card h2{font-size:30px;line-height:1.05;margin:0 0 14px}
.trial-detail-card h2 a{text-decoration:none}
.trial-detail-card > p{color:var(--muted)}
.trial-facts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:24px 0;
}
.trial-facts div{
  padding:14px;
  background:var(--soft);
  border-radius:12px;
}
.trial-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.trial-facts dd{margin:5px 0 0;font-weight:800;color:var(--navy)}
.trial-single-facts{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:34px;
}
.trial-single-facts div{
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}
.trial-single-facts span{display:block;font-size:11px;text-transform:uppercase;color:var(--muted)}
.trial-single-facts strong{display:block;margin-top:6px;color:var(--navy)}
.trial-article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:54px;
}
.trial-sidebar{
  align-self:start;
  position:sticky;
  top:120px;
  background:var(--soft);
  border-radius:20px;
  padding:26px;
}
.trial-sidebar h2{margin-top:0}
.trial-sidebar ul{padding-left:20px}
.trial-sidebar .btn{margin-top:12px}

/* Centre pages */
.centre-single-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
}
.centre-address-card{
  margin-top:36px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--soft);
}
.centre-address-card address{font-style:normal;font-size:17px;margin-bottom:20px}
.centre-trial-list{display:grid;gap:14px}
.centre-trial-list article{
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
}
.centre-trial-list h3{margin:0 0 7px}
.centre-trial-list p{margin:0;color:var(--muted)}

/* Testimony */
.testimony-hero-grid{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:54px;
  align-items:center;
}
.testimony-hero-grid img{
  width:360px;
  height:420px;
  object-fit:cover;
  object-position:center 15%;
  border-radius:24px;
}
.testimony-prose blockquote{
  margin:36px 0;
  padding:28px 32px;
  background:var(--navy);
  color:#fff;
  border-radius:18px;
  font-size:28px;
  font-weight:700;
  line-height:1.25;
}
.story-sidebar{
  align-self:start;
  position:sticky;
  top:120px;
  padding:26px;
  background:var(--soft);
  border-radius:18px;
}

/* Actualités */
.news-archive-grid .news-card h2{font-size:22px;line-height:1.18}
.news-card-image{display:block;overflow:hidden}
.news-card-image img{transition:transform .3s ease}
.news-card:hover .news-card-image img{transform:scale(1.035)}

@media(max-width:900px){
  .inner-hero-grid,
  .editorial-grid,
  .project-mechanism,
  .trial-article-layout,
  .centre-single-grid,
  .testimony-hero-grid{
    grid-template-columns:1fr;
  }
  .people-grid,
  .trial-archive-grid{
    grid-template-columns:1fr 1fr;
  }
  .trial-single-facts{grid-template-columns:repeat(2,1fr)}
  .trial-sidebar,.story-sidebar{position:static}
}
@media(max-width:650px){
  .people-grid,
  .trial-archive-grid,
  .trial-facts,
  .trial-archive-kpis{
    grid-template-columns:1fr;
  }
  .project-cta,.support-cta,.registry-note{
    align-items:flex-start;
    flex-direction:column;
  }
  .testimonial-copy{
    padding-left:52px;
    padding-right:38px;
  }
  .testimonial-copy::after{font-size:58px}
  .testimonial-copy blockquote::after{right:-32px;font-size:48px!important}
}


/* ============================================================
   UCPvax 1.3.1
   ============================================================ */
.partner-logo-card.logo-umr-right img,
.partner-logo-card.logo-inserm img{
  max-width:96%!important;
  max-height:82px!important;
}
.partner-logo-card.logo-laliguecontrelecancer img{
  max-width:94%!important;
  max-height:82px!important;
}
.partner-logo-card.logo-neurovie img{
  max-width:86%!important;
  max-height:84px!important;
}

.person-card-structured{
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-columns:110px 1fr;
  align-items:stretch;
}
.person-photo{
  min-height:150px;
  background:linear-gradient(135deg,#eaf1f6,#dce8f0);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.person-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.person-photo span{
  font-size:48px;
  font-weight:800;
  color:var(--navy);
}
.person-content{padding:22px}
.person-content h3{margin:0 0 8px}
.person-specialty{margin:0 0 7px!important;font-weight:700;color:var(--navy)!important}
.person-hospital{margin:0!important;color:var(--muted)!important}

.phisalix-contact-section{
  background:var(--navy);
  color:#fff;
}
.phisalix-contact-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:50px;
  align-items:center;
}
.phisalix-contact-card h2{
  margin:0 0 16px;
  max-width:900px;
  color:#fff;
  font-size:clamp(34px,4vw,54px);
  line-height:1.04;
}
.phisalix-contact-card p{max-width:880px;color:#d7e6f1}
.phisalix-contact-actions{display:grid;gap:12px;min-width:260px}

@media(max-width:850px){
  .phisalix-contact-card{grid-template-columns:1fr}
  .phisalix-contact-actions{min-width:0}
}
@media(max-width:650px){
  .person-card-structured{grid-template-columns:84px 1fr}
  .person-photo{min-height:130px}
}


/* UCPVax 1.3.2 — trial result/publication resources */
.trial-resources{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
}
.trial-resources h2{
  margin:0 0 14px;
  font-size:20px;
}
.resource-link{
  display:block;
  margin-top:10px;
  padding:15px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  text-decoration:none;
}
.resource-link:hover{
  transform:translateY(-2px);
  border-color:var(--navy);
  box-shadow:0 10px 24px rgba(6,47,85,.10);
}
.resource-kicker{
  display:block;
  margin-bottom:4px;
  color:var(--coral-dark);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.resource-link strong{
  color:var(--navy);
  line-height:1.3;
}


/* ============================================================
   UCPVax 1.3.3 — contact and institutional pages
   ============================================================ */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.contact-card{
  border:1px solid var(--line);
  border-radius:22px;
  padding:34px;
  background:#fff;
  box-shadow:0 12px 34px rgba(6,47,85,.08);
}
.contact-card h2{
  margin:0 0 14px;
  font-size:34px;
}
.contact-people{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:26px 0;
}
.contact-people > div{
  padding:20px;
  border-radius:16px;
  background:var(--soft);
}
.contact-people h3{
  margin:0 0 8px;
  font-size:21px;
}
.contact-people p{
  margin:6px 0;
}
.legal-content{
  max-width:980px;
}
.legal-content h2{
  margin-top:42px;
}
.footer-legal-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  max-width:1200px;
  margin:28px auto 0;
  padding:20px 24px 0;
  border-top:1px solid rgba(255,255,255,.18);
}
.footer-legal-links a{
  color:#fff;
}

@media(max-width:850px){
  .contact-grid,
  .contact-people{
    grid-template-columns:1fr;
  }
}


/* ============================================================
   UCPVax 1.3.4 — unified trial statuses and quote alignment
   ============================================================ */

.trial-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  font-weight:800;
  letter-spacing:.02em;
}

.status-results{
  background:#dff4e8!important;
  color:#17613d!important;
}
.status-ongoing{
  background:#e4eef9!important;
  color:#174d7a!important;
}
.status-planned{
  background:#fff0dd!important;
  color:#8b4d00!important;
}
.status-neutral{
  background:#eef1f4!important;
  color:#425466!important;
}

/* Home trial cards now match the archive visually. */
.trial-card{
  position:relative;
}
.trial-card .trial-status{
  margin-bottom:14px;
}
.trial-card .trial-name{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}
.trial-mini-facts{
  display:grid;
  gap:5px;
  margin:14px 0 18px;
  padding:0;
  list-style:none;
}
.trial-mini-facts li{
  position:relative;
  padding-left:14px;
  color:var(--navy);
  font-size:13px;
}
.trial-mini-facts li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--coral);
}

/* Wanda: align the closing quotation mark with the text block, not the section edge. */
.testimonial-copy blockquote{
  position:relative;
  padding-right:0!important;
}
.testimonial-copy blockquote::after{
  right:-34px!important;
  bottom:-8px!important;
  font-size:58px!important;
  line-height:1!important;
  transform:none!important;
}

@media(max-width:700px){
  .testimonial-copy blockquote::after{
    right:-18px!important;
    bottom:-4px!important;
    font-size:44px!important;
  }
}


/* ============================================================
   UCPVax 1.3.5 — exact footer, quote and contact layout
   ============================================================ */

/* Footer mirrors the header navigation. */
.footer-grid-simple{
  grid-template-columns:minmax(0,1.5fr) minmax(220px,.6fr)!important;
  align-items:start;
}
.footer-menu a{
  display:block;
}
.footer-bottom-simple{
  align-items:center;
}
.footer-bottom-simple div{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

/* Disable every legacy generated quotation mark. */
.testimonial-copy::before,
.testimonial-copy::after,
.testimonial-copy:before,
.testimonial-copy:after,
.testimonial-copy blockquote::before,
.testimonial-copy blockquote::after,
.testimonial-copy blockquote:before,
.testimonial-copy blockquote:after{
  content:none!important;
  display:none!important;
}

/* One explicit opening mark and one explicit closing mark. */
.testimonial-copy{
  padding-left:0!important;
  padding-right:0!important;
}
.testimonial-quote-wrap{
  position:relative;
  max-width:820px;
  padding-left:54px;
  padding-right:54px;
}
.testimonial-quote-wrap blockquote{
  margin:0 0 24px!important;
  padding:0!important;
}
.quote-open,
.quote-close{
  position:absolute;
  font-family:"Montserrat",Arial,sans-serif;
  font-weight:800;
  font-style:normal;
  color:var(--coral);
  font-size:64px;
  line-height:1;
}
.quote-open{
  left:0;
  top:-10px;
}
.quote-close{
  right:0;
  bottom:8px;
}

/* Keep the two contact columns on desktop, but stack people vertically in each. */
.contact-grid{
  grid-template-columns:1fr 1fr!important;
  align-items:start;
}
.contact-people{
  grid-template-columns:1fr!important;
  gap:14px!important;
}
.contact-people > div{
  width:100%;
}

/* Slightly tighter card spacing for stacked contacts. */
.contact-card{
  height:100%;
}

@media(max-width:850px){
  .footer-grid-simple,
  .contact-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:650px){
  .testimonial-quote-wrap{
    padding-left:38px;
    padding-right:38px;
  }
  .quote-open,
  .quote-close{
    font-size:48px;
  }
  .quote-open{top:-6px}
  .quote-close{bottom:10px}
}


/* ============================================================
   UCPVax 1.3.6 — curated news and video cards
   ============================================================ */
.news-card-image{
  position:relative;
}
.news-card-image img{
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.video-badge{
  position:absolute;
  left:18px;
  bottom:18px;
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(6,47,85,.92);
  color:#fff;
  font-size:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.22);
}
.pinned-badge{
  position:absolute;
  top:16px;
  left:16px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--coral);
  color:var(--navy);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.news-archive-grid .news-card-pinned{
  grid-column:span 2;
}
.news-archive-grid .news-card-pinned .news-card-image img{
  aspect-ratio:2/1;
}
.article-video{
  position:relative;
  width:100%;
  margin:30px 0;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:18px;
  background:#000;
}
.article-video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

@media(max-width:760px){
  .news-archive-grid .news-card-pinned{
    grid-column:auto;
  }
  .news-archive-grid .news-card-pinned .news-card-image img{
    aspect-ratio:16/9;
  }
}


/* ============================================================
   UCPVax 1.3.7 — media/partner refinements
   ============================================================ */

.partner-logo-card.logo-neurovie-new img{
  max-width:92%!important;
  max-height:82px!important;
}

.partner-logo-card.logo-fondation-credit-agricole-franche-comte img{
  max-width:92%!important;
  max-height:80px!important;
}

/* Ensure manually edited featured images fill news cards consistently. */
.news-card-image img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}


/* ============================================================
   UCPVax 1.3.8 — article dates, sharing and accessibility
   ============================================================ */

.skip-link{
  position:fixed;
  z-index:999999;
  left:16px;
  top:16px;
  padding:12px 16px;
  border-radius:8px;
  background:#fff;
  color:var(--navy);
  font-weight:800;
  transform:translateY(-180%);
  transition:transform .15s ease;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.skip-link:focus{
  transform:translateY(0);
}

.single-news-header{
  padding:72px 0 30px;
  background:#fff;
}
.article-container,
.article-main{
  max-width:960px;
}
.article-date{
  margin:0 0 16px;
  color:var(--coral-dark);
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.single-news-header h1{
  margin:0 0 26px;
  color:var(--navy);
  font-size:clamp(44px,6vw,76px);
  line-height:1.02;
  letter-spacing:-.05em;
}
.article-featured-image{
  margin:0 0 32px;
}
.article-featured-image img{
  width:100%;
  height:auto;
  border-radius:20px;
}
.article-content > .article-video:first-child{
  margin-top:0;
}

/* Social sharing */
.article-share{
  margin-top:54px;
  padding-top:30px;
  border-top:1px solid var(--line);
}
.article-share h2{
  margin:0 0 16px;
  color:var(--navy);
  font-size:24px;
}
.share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.share-button{
  appearance:none;
  border:1px solid var(--navy);
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  color:var(--navy);
  font:inherit;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}
.share-button:hover{
  background:var(--navy);
  color:#fff;
  transform:translateY(-2px);
}
.share-copy-status{
  width:100%;
  min-height:1.5em;
  margin:4px 0 0;
  color:var(--muted);
  font-size:13px;
}

/* High contrast / forced-colors support */
@media (forced-colors: active){
  .btn,
  .share-button,
  .sticky-don,
  .trial-status,
  .partner-logo-card{
    forced-color-adjust:auto;
  }
}

/* Ensure focus is never clipped by rounded cards. */
.news-card,
.trial-card,
.partner-logo-card,
.contact-card{
  overflow:visible;
}

@media(max-width:650px){
  .single-news-header{
    padding-top:48px;
  }
  .share-buttons{
    align-items:stretch;
    flex-direction:column;
  }
  .share-button{
    width:100%;
    text-align:center;
  }
}


/* ============================================================
   UCPVax 1.3.9 — square team portraits
   ============================================================ */

.person-card-structured{
  padding:0!important;
  overflow:hidden!important;
  display:block!important;
}

.person-photo{
  width:100%!important;
  aspect-ratio:1 / 1!important;
  min-height:0!important;
  background:linear-gradient(135deg,#eef3f7,#dfe9f0)!important;
  display:block!important;
  overflow:hidden!important;
}

.person-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Slight portrait-specific focal adjustments */
.person-card-structured:has(img[alt=""]) .person-photo img{
  object-position:center center;
}

/* Neutral placeholder: no initials, no simulated portrait. */
.person-photo-placeholder{
  display:block;
  width:100%;
  height:100%;
  background:
    radial-gradient(circle at 50% 38%, rgba(6,47,85,.08) 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 84%, rgba(6,47,85,.08) 0 29%, transparent 30%);
}

.person-content{
  padding:22px!important;
}

.people-grid{
  align-items:stretch;
}

@media(max-width:650px){
  .person-card-structured{
    display:block!important;
  }
}


/* ============================================================
   UCPVax 1.4.0 — more discreet team directory
   ============================================================ */

/* Denser grid and more discreet cards */
.people-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}

.person-card-structured{
  display:grid!important;
  grid-template-columns:118px minmax(0,1fr)!important;
  min-height:118px!important;
  padding:0!important;
  overflow:hidden!important;
  align-items:stretch!important;
}

/* Keep the portrait square, but at a much smaller visual scale */
.person-photo{
  width:118px!important;
  height:118px!important;
  aspect-ratio:1 / 1!important;
  min-height:0!important;
  align-self:start!important;
}

.person-photo img{
  width:118px!important;
  height:118px!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* Neutral placeholder remains discreet */
.person-photo-placeholder{
  width:118px!important;
  height:118px!important;
}

.person-content{
  padding:18px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}

.person-content h3{
  margin:0 0 6px!important;
  font-size:19px!important;
  line-height:1.2!important;
}

.person-specialty{
  margin:0 0 5px!important;
  font-size:14px!important;
  line-height:1.35!important;
}

.person-hospital{
  margin:0!important;
  font-size:13px!important;
  line-height:1.4!important;
}

/* On medium screens, keep one compact card per row */
@media(max-width:900px){
  .people-grid{
    grid-template-columns:1fr!important;
  }
}

/* On small screens, keep the portrait modest rather than full-width */
@media(max-width:520px){
  .person-card-structured{
    grid-template-columns:88px minmax(0,1fr)!important;
    min-height:88px!important;
  }

  .person-photo,
  .person-photo img,
  .person-photo-placeholder{
    width:88px!important;
    height:88px!important;
  }

  .person-content{
    padding:14px 16px!important;
  }

  .person-content h3{
    font-size:17px!important;
  }
}


/* ============================================================
   UCPVax 1.4.1 — typography, trial cards and article headers
   ============================================================ */

.trial-card h3,
.trial-detail-card h2{
  line-height:1.08!important;
  letter-spacing:-.02em;
}

.trial-card h3{
  margin-top:0!important;
  margin-bottom:10px!important;
}

.trial-card .trial-name{
  line-height:1.3!important;
}

.single-news-header{
  padding:68px 0 42px!important;
}

.article-kicker-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-bottom:18px;
}

.article-type{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff0ef;
  color:var(--coral-dark);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.article-date-inline{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.single-news-header h1{
  max-width:980px;
  margin-bottom:24px!important;
}

.single-news-header .lead{
  max-width:880px;
  margin-bottom:0!important;
}

.article-video-top{
  margin-top:34px;
  max-width:960px;
}

.article-video-top .article-video{
  margin:0!important;
}

.single-news-header-video{
  padding-bottom:0!important;
}

.single-news-header-video + .article-body-section{
  padding-top:34px!important;
}

.article-content > p:empty:first-child{
  display:none;
}

@media(max-width:650px){
  .single-news-header{
    padding-top:44px!important;
  }

  .article-kicker-row{
    margin-bottom:14px;
  }

  .article-video-top{
    margin-top:24px;
  }
}


/* ============================================================
   UCPVax 1.4.2 — mobile UX pass
   ============================================================ */

/* Restore spacing between status badge and trial title */
.trial-card .trial-status{
  margin-bottom:16px!important;
}

/* Mobile menu button */
@media(max-width:900px){
  .menu-toggle{
    color:var(--navy)!important;
    border-color:var(--navy)!important;
    background:#fff!important;
    min-width:112px;
    min-height:54px;
    border-radius:999px!important;
    font-weight:800!important;
    font-size:18px!important;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible{
    background:var(--navy)!important;
    color:#fff!important;
  }

  /* Full-width mobile navigation panel */
  .main-nav{
    position:fixed!important;
    top:var(--header-height, 88px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    padding:18px 20px 24px!important;
    margin:0!important;
    border:0!important;
    border-top:1px solid var(--line)!important;
    border-radius:0 0 20px 20px!important;
    background:#fff!important;
    box-shadow:0 18px 40px rgba(6,47,85,.14)!important;
    z-index:9998!important;
  }

  .main-nav[hidden]{
    display:none!important;
  }

  .main-nav a{
    display:flex!important;
    align-items:center!important;
    min-height:56px!important;
    width:100%!important;
    padding:14px 8px!important;
    margin:0!important;
    border-bottom:1px solid var(--line)!important;
    color:var(--navy)!important;
    font-size:18px!important;
    font-weight:800!important;
    text-decoration:none!important;
  }

  .main-nav a:last-child{
    border-bottom:0!important;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible{
    background:var(--soft)!important;
    padding-left:16px!important;
  }

  body.menu-open{
    overflow:hidden;
  }

  /* Home hero CTA full width on mobile */
  .hero-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    width:100%!important;
  }

  .hero-actions .btn{
    width:100%!important;
    justify-content:center!important;
  }

  /* Donation bar: full width CTA and consistent icon */
  .support-strip .container,
  .support-callout .container{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
  }

  .support-strip .btn,
  .support-callout .btn,
  .support-strip .support-button,
  .support-callout .support-button{
    width:100%!important;
    max-width:none!important;
    justify-content:center!important;
  }

  /* Remove stray border/line in key figures */
  .key-figures-grid,
  .stats-grid{
    border-right:0!important;
  }

  .key-figures-grid > *,
  .stats-grid > *{
    border-right:0!important;
  }

  .key-figures-grid > *:nth-child(odd),
  .stats-grid > *:nth-child(odd){
    border-right:1px solid rgba(255,255,255,.14)!important;
  }

  /* Clinical trials intro becomes full width */
  .trials-heading,
  .trials-intro,
  .trials-section .section-heading{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }

  .trials-section .section-heading{
    grid-template-columns:1fr!important;
  }

  .trials-section .section-heading > *{
    width:100%!important;
    max-width:none!important;
  }

  .trials-section .section-heading p{
    margin-top:18px!important;
  }
}

/* Tighter mobile vertical rhythm */
@media(max-width:650px){
  .section{
    padding-top:56px!important;
    padding-bottom:56px!important;
  }

  .inner-hero,
  .simple-inner-hero{
    padding-top:48px!important;
    padding-bottom:48px!important;
  }

  .hero{
    padding-top:42px!important;
    padding-bottom:42px!important;
  }

  .hero-copy{
    padding-top:0!important;
    padding-bottom:0!important;
  }

  /* Compact key figures */
  .key-figures-grid,
  .stats-grid{
    grid-template-columns:1fr 1fr!important;
  }

  .key-figures-grid > *,
  .stats-grid > *{
    min-height:0!important;
    padding:26px 20px!important;
  }

  .key-figures-grid strong,
  .stats-grid strong{
    font-size:44px!important;
    line-height:1!important;
  }

  .key-figures-grid span,
  .stats-grid span{
    margin-top:8px!important;
    font-size:14px!important;
    line-height:1.25!important;
  }

  /* Clinical trials heading: title then explanatory copy */
  .trials-section .section-heading{
    margin-bottom:30px!important;
  }

  .trials-section .section-heading h2{
    margin-bottom:0!important;
  }

  .trials-section .section-heading p{
    margin-top:16px!important;
    font-size:16px!important;
    line-height:1.5!important;
  }

  /* Trial cards use full available width */
  .trial-grid,
  .trial-archive-grid{
    grid-template-columns:1fr!important;
    width:100%!important;
  }

  .trial-card,
  .trial-detail-card{
    width:100%!important;
  }

  /* Wanda block: compact editorial layout */
  .testimonial-section{
    padding-top:44px!important;
    padding-bottom:44px!important;
  }

  .testimonial-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:24px!important;
  }

  .testimonial-photo{
    width:min(68vw, 280px)!important;
    aspect-ratio:1 / 1!important;
    margin:0 auto!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }

  .testimonial-photo img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 22%!important;
  }

  .testimonial-copy{
    padding:0!important;
  }

  .testimonial-quote-wrap{
    padding-left:34px!important;
    padding-right:34px!important;
  }

  .testimonial-copy blockquote{
    font-size:clamp(30px, 8vw, 42px)!important;
    line-height:1.08!important;
  }

  .quote-open,
  .quote-close{
    font-size:46px!important;
  }

  .testimonial-copy p{
    font-size:16px!important;
  }

  .testimonial-copy .btn{
    width:100%!important;
    justify-content:center!important;
  }

  /* Sticky support button: more compact on small screens */
  .sticky-don{
    left:18px!important;
    right:18px!important;
    bottom:18px!important;
    width:auto!important;
    min-height:58px!important;
    padding:12px 18px!important;
    justify-content:center!important;
    gap:12px!important;
    border-radius:999px!important;
    font-size:17px!important;
  }

  .sticky-don > span:first-child{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    display:grid!important;
    place-items:center!important;
    font-size:24px!important;
  }

  /* Avoid oversized empty spacing on Project page */
  .editorial-grid{
    gap:30px!important;
  }

  .editorial-grid > div:first-child{
    margin-bottom:0!important;
  }

  .large-prose{
    font-size:17px!important;
    line-height:1.65!important;
  }

  .timeline{
    margin-top:24px!important;
  }

  /* General heading sizing */
  .section-heading h2,
  .editorial-grid h2,
  .inner-hero h1{
    line-height:1.02!important;
  }
}

@media(max-width:420px){
  .key-figures-grid > *,
  .stats-grid > *{
    padding:22px 16px!important;
  }

  .sticky-don{
    font-size:16px!important;
  }
}


/* ============================================================
   UCPVax 1.4.3 — definitive mobile corrections
   Uses the actual homepage classes.
   ============================================================ */

/* Actual homepage trial badge spacing */
.trial-card > .status{
  margin-bottom:16px!important;
}
.trial-card > .status + h3{
  margin-top:0!important;
}

/* ---------------- MOBILE HEADER + MENU ---------------- */
@media(max-width:900px){
  .site-header{
    overflow:visible!important;
  }

  .header-inner{
    position:relative!important;
  }

  .menu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1!important;
    padding:0 26px!important;
    margin:0!important;
    color:var(--navy)!important;
  }

  .main-nav{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 28px 22px!important;
    background:#fff!important;
    border-top:1px solid var(--line)!important;
    border-radius:0 0 22px 22px!important;
    box-shadow:0 18px 34px rgba(6,47,85,.14)!important;
    z-index:1001!important;
  }

  .main-nav.is-open{
    display:block!important;
  }

  .main-nav a{
    min-height:58px!important;
    padding:16px 12px!important;
  }

  /* Do NOT freeze the document when the menu is open. */
  body.menu-open{
    overflow:auto!important;
    position:static!important;
    width:auto!important;
  }
}

/* ---------------- HERO ---------------- */
@media(max-width:700px){
  /*
   * Keep the text area clear, then give the portrait its own visual zone.
   * This avoids buttons sitting over the patient's face.
   */
  .hero-home{
    min-height:0!important;
    padding:0!important;
    background-position:center bottom!important;
    background-size:100% auto!important;
  }

  .hero-home:before{
    background:
      linear-gradient(
        180deg,
        #f6f8fb 0%,
        #f6f8fb 52%,
        rgba(246,248,251,.98) 61%,
        rgba(246,248,251,.18) 76%,
        rgba(246,248,251,0) 100%
      )!important;
  }

  .hero-home-inner{
    min-height:980px!important;
    align-items:flex-start!important;
  }

  .hero-home .hero-copy{
    width:100%!important;
    padding:42px 0 0!important;
  }

  .hero-actions{
    position:relative!important;
    z-index:2!important;
  }

  .trust-line{
    position:relative!important;
    z-index:2!important;
  }
}

/* ---------------- DONATION BANNER ---------------- */
@media(max-width:700px){
  .donation-banner-inner{
    display:block!important;
    padding:34px 0!important;
  }

  .donation-message{
    gap:16px!important;
    font-size:18px!important;
  }

  .donation-icon{
    flex:0 0 auto!important;
    font-size:48px!important;
  }

  .btn-support-primary{
    width:100%!important;
    max-width:none!important;
    margin-top:24px!important;
  }
}

/* ---------------- KPI: ACTUAL .kpi-grid/.kpi CLASSES ---------------- */
@media(max-width:700px){
  .kpi-strip .container{
    width:100%!important;
  }

  .kpi-grid{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }

  .kpi{
    min-height:0!important;
    padding:18px 24px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.14)!important;
  }

  .kpi:nth-child(odd){
    border-right:1px solid rgba(255,255,255,.14)!important;
  }

  .kpi:nth-last-child(-n+2){
    border-bottom:0!important;
  }

  .kpi strong{
    font-size:38px!important;
    line-height:.95!important;
  }

  .kpi span{
    display:block!important;
    margin-top:6px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
}

/* ---------------- RESULTS CARDS: reduce vertical scroll ---------------- */
@media(max-width:700px){
  .result-grid{
    gap:14px!important;
    margin-top:28px!important;
  }

  .result-card{
    min-height:0!important;
    padding:22px 22px!important;
  }

  .result-card strong,
  .result-number{
    font-size:42px!important;
    line-height:1!important;
  }

  .result-card p,
  .result-copy{
    margin-top:14px!important;
    font-size:14px!important;
    line-height:1.45!important;
  }
}

/* ---------------- TRIALS INTRO ---------------- */
@media(max-width:700px){
  .trials-heading{
    display:block!important;
    width:100%!important;
  }

  .trials-heading > div,
  .trials-heading > p{
    width:100%!important;
    max-width:none!important;
  }

  .trials-heading > p{
    margin:18px 0 0!important;
    font-size:16px!important;
    line-height:1.5!important;
  }

  .trial-grid{
    margin-top:30px!important;
  }
}

/* ---------------- WANDA: ACTUAL DIRECT IMG ---------------- */
@media(max-width:700px){
  .testimonial-section{
    padding:42px 0!important;
  }

  .testimonial-grid{
    display:grid!important;
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:20px!important;
    align-items:start!important;
  }

  /* Direct child image; there is no .testimonial-photo wrapper */
  .testimonial-grid > img{
    width:96px!important;
    height:96px!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
    object-position:center 20%!important;
    border-radius:18px!important;
    margin:0!important;
  }

  .testimonial-copy{
    min-width:0!important;
    padding:0!important;
  }

  .testimonial-quote-wrap{
    padding:0 22px 0 24px!important;
  }

  .testimonial-copy blockquote{
    font-size:24px!important;
    line-height:1.12!important;
    margin:0 0 16px!important;
  }

  .quote-open,
  .quote-close{
    font-size:36px!important;
  }

  .quote-open{
    left:-2px!important;
    top:-4px!important;
  }

  .quote-close{
    right:-2px!important;
    bottom:0!important;
  }

  .testimonial-copy p{
    margin:0 0 16px!important;
    font-size:14px!important;
    line-height:1.4!important;
  }

  .testimonial-copy .btn{
    width:auto!important;
    min-height:44px!important;
    padding:10px 16px!important;
    font-size:13px!important;
  }
}

/* ---------------- FUNDING CARDS: compact actual classes ---------------- */
@media(max-width:700px){
  .funding-layout-v2{
    gap:22px!important;
  }

  .funding-grid-v2{
    gap:14px!important;
  }

  .funding-card{
    min-height:0!important;
    padding:22px!important;
  }

  .funding-number{
    display:block!important;
    margin-bottom:12px!important;
    line-height:1!important;
  }

  .funding-card h3{
    margin:0 0 10px!important;
    font-size:24px!important;
    line-height:1.12!important;
  }

  .funding-card p{
    margin:0!important;
    line-height:1.5!important;
  }
}

/* ---------------- STICKY DONATION BAR: one mobile CTA layer ---------------- */
@media(max-width:700px){
  body{
    padding-bottom:64px!important;
  }

  .sticky-don{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    min-height:64px!important;
    margin:0!important;
    padding:10px 20px!important;
    border-radius:0!important;
    border:0!important;
    box-shadow:0 -8px 24px rgba(6,47,85,.16)!important;
    justify-content:center!important;
    z-index:9997!important;
    font-size:16px!important;
  }

  .sticky-don > span:first-child{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    font-size:22px!important;
  }
}


/* ============================================================
   UCPVax 1.4.4 — final mobile refinements
   ============================================================ */

@media(max-width:700px){

  /* ----------------------------------------------------------
     HERO MOBILE
     Restore the actual background image and remove dead space.
     ---------------------------------------------------------- */
  .hero-home{
    min-height:auto!important;
    padding:0!important;
    background-size:cover!important;
    background-position:62% bottom!important;
    background-repeat:no-repeat!important;
  }

  .hero-home:before{
    background:
      linear-gradient(
        180deg,
        rgba(246,248,251,1) 0%,
        rgba(246,248,251,1) 44%,
        rgba(246,248,251,.97) 54%,
        rgba(246,248,251,.72) 66%,
        rgba(246,248,251,.18) 82%,
        rgba(246,248,251,0) 100%
      )!important;
  }

  .hero-home-inner{
    min-height:780px!important;
    align-items:flex-start!important;
  }

  .hero-home .hero-copy{
    padding:38px 0 0!important;
  }

  /* ----------------------------------------------------------
     FUNDING CARDS
     Add back a measured gap between the step number and title.
     ---------------------------------------------------------- */
  .funding-number{
    margin-bottom:20px!important;
  }

  .funding-card h3{
    margin-top:0!important;
    margin-bottom:12px!important;
  }

  /* ----------------------------------------------------------
     MOBILE HEADER
     Balance logo and menu button horizontally.
     ---------------------------------------------------------- */
  .header-inner{
    padding-left:20px!important;
    padding-right:20px!important;
  }

  .menu-toggle{
    min-width:108px!important;
    margin-left:auto!important;
    margin-right:0!important;
  }

  /* ----------------------------------------------------------
     MOBILE MENU
     Full viewport width, no side gutters.
     ---------------------------------------------------------- */
  .main-nav{
    left:50%!important;
    right:auto!important;
    width:100vw!important;
    max-width:100vw!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    padding:18px 24px 22px!important;
    border-radius:0 0 22px 22px!important;
  }
}

@media(max-width:420px){
  .header-inner{
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .menu-toggle{
    min-width:104px!important;
    padding-left:22px!important;
    padding-right:22px!important;
  }

  .hero-home-inner{
    min-height:740px!important;
  }
}


/* ============================================================
   UCPVax 1.4.5 — final mobile hero/header/funding fixes
   ============================================================ */

@media(max-width:700px){

  /* HERO
     Force the mobile hero to use the same real asset as desktop.
     The background image is explicitly declared here so previous
     mobile overrides cannot blank it out.
  */
  .hero-home{
    background-image:
      linear-gradient(
        90deg,
        rgba(246,248,251,.99) 0%,
        rgba(246,248,251,.99) 52%,
        rgba(246,248,251,.86) 66%,
        rgba(246,248,251,.28) 82%,
        rgba(246,248,251,0) 100%
      ),
      url("../images/hero-ucpvax.jpg")!important;
    background-size:cover!important;
    background-position:66% center!important;
    background-repeat:no-repeat!important;
  }

  /* Disable the old overlay layer on mobile: the gradient is now part
     of the explicit background-image declaration above. */
  .hero-home:before{
    content:none!important;
    display:none!important;
  }

  .hero-home-inner{
    min-height:760px!important;
  }

  /* HEADER
     Remove the residual imbalance by making the header a two-column
     grid: logo left, menu button flush right.
  */
  .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:14px!important;
    padding-left:20px!important;
    padding-right:12px!important;
  }

  .site-logo{
    justify-self:start!important;
    margin:0!important;
  }

  .menu-toggle{
    justify-self:end!important;
    margin:0!important;
  }

  /* FUNDING CARDS
     Put the step number on its own line and restore clear vertical
     spacing before the title.
  */
  .funding-card{
    display:block!important;
  }

  .funding-number{
    position:static!important;
    display:block!important;
    margin:0 0 18px!important;
    transform:none!important;
    line-height:1!important;
  }

  .funding-card h3{
    display:block!important;
    clear:both!important;
    margin:0 0 12px!important;
    line-height:1.15!important;
  }
}

@media(max-width:420px){
  .header-inner{
    padding-left:16px!important;
    padding-right:8px!important;
  }

  .hero-home{
    background-position:69% center!important;
  }

  .hero-home-inner{
    min-height:720px!important;
  }
}


/* ============================================================
   UCPVax 1.4.6 — mobile hero: uniform veil, no dead space
   ============================================================ */

@media(max-width:700px){

  .hero-home{
    position:relative!important;
    min-height:0!important;
    padding:0!important;

    /* Real hero image only — no gradient baked into the background. */
    background-image:url("../images/hero-ucpvax.jpg")!important;
    background-size:cover!important;
    background-position:66% center!important;
    background-repeat:no-repeat!important;
  }

  /* Uniform translucent veil across the whole hero.
     No gradient: the image remains visible but text contrast stays strong. */
  .hero-home:before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    background:rgba(246,248,251,.78)!important;
    pointer-events:none!important;
    z-index:0!important;
  }

  .hero-home-inner{
    position:relative!important;
    z-index:1!important;
    min-height:0!important;
    height:auto!important;
    padding-top:38px!important;
    padding-bottom:34px!important;
    align-items:flex-start!important;
  }

  .hero-home .hero-copy{
    padding:0!important;
  }

  /* Remove residual bottom spacing after the trust line. */
  .hero-home .trust-line{
    margin-bottom:0!important;
    padding-bottom:0!important;
  }

  .hero-home .hero-copy > *:last-child{
    margin-bottom:0!important;
  }
}

@media(max-width:420px){
  .hero-home{
    background-position:69% center!important;
  }

  .hero-home-inner{
    padding-top:34px!important;
    padding-bottom:30px!important;
  }
}


/* ============================================================
   UCPVax 1.4.7 — palette harmonisation and editorial imagery
   ============================================================ */

:root{
  --coral-dark:#d94f49;
}

/* Editorial imagery */
.project-editorial-image{
  margin:34px 0;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(6,47,85,.12);
}
.project-editorial-image img{
  display:block;
  width:100%;
  height:auto;
}
.project-editorial-image figcaption{
  padding:12px 16px;
  background:#fff;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.researchers-feature{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:32px;
  align-items:center;
  margin:44px 0 56px;
  padding:28px;
  border-radius:24px;
  background:var(--soft);
}
.researchers-feature img{
  width:100%;
  height:auto;
  border-radius:18px;
  display:block;
}
.researchers-feature-copy h2{
  margin-top:0;
}
.researchers-feature-copy p:last-child{
  margin-bottom:0;
}

@media(max-width:800px){
  .researchers-feature{
    grid-template-columns:1fr;
    padding:20px;
    gap:22px;
  }
}


/* ============================================================
   UCPVax 1.4.8 — project page refinements and mobile polish
   ============================================================ */

.project-inline-figure{
  margin:0 0 24px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(6,47,85,.12);
  background:#fff;
}
.project-inline-figure img{
  display:block;
  width:100%;
  height:auto;
}
.project-inline-figure figcaption{
  padding:12px 16px;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
  background:#fff;
}

/* Team portraits: remove any residual false gap under thumbnails on mobile */
.person-photo{
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  line-height:0!important;
  background:#eef3f7!important;
}
.person-photo img,
.person-photo-placeholder{
  display:block!important;
  vertical-align:top!important;
  flex:1 1 auto!important;
}

@media(max-width:700px){
  /* Simpler mobile hero: real image in the background + single transparent text panel. */
  .hero-home{
    min-height:auto!important;
    background-image:url("../images/hero-ucpvax.jpg")!important;
    background-size:cover!important;
    background-position:center bottom!important;
    background-repeat:no-repeat!important;
    padding:0!important;
  }
  .hero-home:before,
  .hero-home:after{
    display:none!important;
    content:none!important;
  }
  .hero-home-inner{
    min-height:auto!important;
    height:auto!important;
    align-items:flex-start!important;
    padding-top:26px!important;
    padding-bottom:18px!important;
  }
  .hero-home .hero-copy{
    width:100%!important;
    max-width:none!important;
    padding:18px 16px 14px!important;
    border-radius:24px!important;
    background:rgba(246,248,251,.84)!important;
    -webkit-backdrop-filter:blur(2px);
    backdrop-filter:blur(2px);
  }
  .hero-home .hero-copy > *:last-child{
    margin-bottom:0!important;
  }
  .hero-actions{
    margin-top:22px!important;
  }
  .trust-line{
    margin-top:14px!important;
    margin-bottom:0!important;
  }

  /* Project page directory thumbnails */
  .person-card-structured{
    align-items:stretch!important;
  }
  .person-photo,
  .person-photo img,
  .person-photo-placeholder{
    width:88px!important;
    height:88px!important;
    min-height:88px!important;
  }
}

@media(max-width:520px){
  /* Funding cards: restore a clean gap between number and title */
  .funding-card{
    padding-top:18px!important;
  }
  .funding-number{
    position:static!important;
    display:block!important;
    margin:0 0 12px!important;
  }
  .funding-card h3{
    margin-top:0!important;
  }
}


/* ============================================================
   UCPVax 1.4.9 — premium navigation inspired by the IRFC finish
   ============================================================ */

.site-header{
  background:rgba(255,255,255,.975)!important;
  border-bottom:1px solid rgba(217,227,235,.9)!important;
  box-shadow:0 8px 28px rgba(6,47,85,.045)!important;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}

.header-inner{
  min-height:86px!important;
  grid-template-columns:230px minmax(0,1fr) auto!important;
  gap:22px!important;
}

.main-nav{
  justify-self:end!important;
  display:flex;
  align-items:center;
  gap:6px!important;
  padding:5px;
  border-radius:999px;
}

.main-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px!important;
  border-radius:999px;
  color:var(--navy)!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}

.main-nav a:before{
  content:"";
  position:absolute;
  left:50%;
  bottom:4px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--coral);
  opacity:0;
  transform:translate(-50%,5px) scale(.5);
  transition:opacity .18s ease,transform .18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  background:#f2f6f9!important;
  color:var(--navy)!important;
  transform:translateY(-1px);
}

.main-nav a.is-current,
.main-nav a[aria-current="page"]{
  background:#eef4f8!important;
  box-shadow:inset 0 0 0 1px rgba(6,47,85,.07);
}

.main-nav a.is-current:before,
.main-nav a[aria-current="page"]:before{
  opacity:1;
  transform:translate(-50%,0) scale(1);
}

/* Premium donation CTA */
.header-don-premium{
  position:relative;
  overflow:hidden;
  display:inline-grid!important;
  grid-template-columns:34px auto 20px;
  align-items:center;
  gap:10px;
  min-height:52px!important;
  padding:7px 14px 7px 8px!important;
  border:0!important;
  border-radius:999px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--coral) 0%,#ef554f 100%)!important;
  box-shadow:0 10px 24px rgba(217,79,73,.24),inset 0 1px 0 rgba(255,255,255,.35)!important;
  transform:translateZ(0);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}

.header-don-premium:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.22) 48%,transparent 72%);
  transform:translateX(-130%);
  transition:transform .55s ease;
  pointer-events:none;
}

.header-don-icon{
  position:relative;
  z-index:1;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--navy);
  font-size:24px;
  font-weight:500;
  line-height:1;
  box-shadow:0 4px 12px rgba(6,47,85,.12);
}

.header-don-label,
.header-don-arrow{
  position:relative;
  z-index:1;
}

.header-don-label{
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}

.header-don-arrow{
  font-size:20px;
  line-height:1;
  transition:transform .2s ease;
}

.header-don-premium:hover{
  color:#fff!important;
  filter:saturate(1.04);
  transform:translateY(-2px)!important;
  box-shadow:0 16px 30px rgba(217,79,73,.3),inset 0 1px 0 rgba(255,255,255,.4)!important;
}

.header-don-premium:hover:before{
  transform:translateX(130%);
}

.header-don-premium:hover .header-don-arrow{
  transform:translateX(3px);
}

.header-don-premium:focus-visible{
  outline:3px solid #ffbf00!important;
  outline-offset:3px!important;
}

@media(max-width:1100px) and (min-width:901px){
  .header-inner{
    grid-template-columns:195px minmax(0,1fr) auto!important;
    gap:12px!important;
  }
  .main-nav a{
    padding:0 10px!important;
    font-size:11px!important;
  }
  .header-don-premium{
    grid-template-columns:32px auto!important;
    padding-right:14px!important;
  }
  .header-don-arrow{
    display:none;
  }
}

@media(max-width:900px){
  .header-inner{
    min-height:84px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:16px!important;
  }

  .menu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:104px!important;
    height:52px!important;
    padding:0 22px!important;
    border:1px solid rgba(6,47,85,.18)!important;
    border-radius:999px!important;
    background:#fff!important;
    color:var(--navy)!important;
    box-shadow:0 8px 22px rgba(6,47,85,.06)!important;
    font-size:16px!important;
    font-weight:850!important;
    transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease!important;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible{
    border-color:rgba(243,99,93,.55)!important;
    box-shadow:0 12px 28px rgba(6,47,85,.1)!important;
  }

  .menu-toggle[aria-expanded="true"]{
    background:var(--navy)!important;
    color:#fff!important;
    border-color:var(--navy)!important;
  }

  .main-nav{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:50%!important;
    right:auto!important;
    width:100vw!important;
    max-width:100vw!important;
    transform:translateX(-50%)!important;
    margin:0!important;
    padding:18px 20px 22px!important;
    border:1px solid rgba(217,227,235,.95)!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0 0 26px 26px!important;
    background:rgba(255,255,255,.99)!important;
    box-shadow:0 28px 60px rgba(6,47,85,.14)!important;
    z-index:1002!important;
  }

  .main-nav.is-open{
    display:grid!important;
    gap:4px!important;
    animation:ucpvaxMenuIn .18s ease both;
  }

  @keyframes ucpvaxMenuIn{
    from{opacity:0;transform:translate(-50%,-8px)}
    to{opacity:1;transform:translate(-50%,0)}
  }

  .main-nav a{
    width:100%!important;
    min-height:58px!important;
    padding:0 18px!important;
    border-radius:14px!important;
    border-bottom:1px solid var(--line)!important;
    font-size:17px!important;
    justify-content:flex-start!important;
  }

  .main-nav a:last-child{
    border-bottom:0!important;
  }

  .main-nav a:before{
    left:auto!important;
    right:18px!important;
    bottom:50%!important;
    transform:translateY(50%) scale(.5)!important;
  }

  .main-nav a.is-current:before,
  .main-nav a[aria-current="page"]:before{
    transform:translateY(50%) scale(1)!important;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.is-current,
  .main-nav a[aria-current="page"]{
    padding-left:22px!important;
    background:#f3f7fa!important;
  }

  .header-don{
    display:none!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .main-nav.is-open,
  .main-nav a,
  .header-don-premium,
  .header-don-premium:before,
  .header-don-arrow{
    animation:none!important;
    transition:none!important;
  }
}


/* ============================================================
   UCPVax 1.5.0 — scientific publications integrated with trials
   ============================================================ */
.trial-publications-section{margin-top:64px;padding-top:52px;border-top:1px solid var(--line)}
.publication-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.publication-card{padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(6,47,85,.06)}
.publication-meta{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:14px;color:var(--muted);font-size:12px;font-weight:700}
.publication-type{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef4f8;color:var(--navy);font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.publication-card h3{margin:0 0 12px;color:var(--navy);font-size:20px;line-height:1.22}
.publication-card p{color:var(--muted)}
.publication-authors{font-weight:700;color:#405a70!important;font-size:13px}
.publication-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px}
.publication-identifiers{margin:16px 0 0!important;font-size:11px!important}
.scientific-context-section{border-top:1px solid var(--line)}
@media(max-width:760px){.publication-grid{grid-template-columns:1fr}.trial-publications-section{margin-top:42px;padding-top:38px}.publication-card{padding:22px}}


/* ============================================================
   UCPVax 1.5.1 — mobile navigation fixes and CTA refinement
   ============================================================ */

@media(min-width:901px){
  .btn{
    font-size:15px!important;
  }
  .main-nav a{
    font-size:13px!important;
  }
  .header-don-label{
    font-size:14px!important;
  }
}

/* Keep only the heart as the visual cue in the donation CTA. */
.header-don-premium{
  grid-template-columns:34px auto!important;
  padding-right:18px!important;
}
.header-don-arrow{
  display:none!important;
}

/* Prevent touch devices from keeping a fake hover state. */
@media(hover:none){
  .main-nav a:hover{
    background:transparent!important;
    color:var(--navy)!important;
    transform:none!important;
  }
  .main-nav a.is-current,
  .main-nav a[aria-current="page"]{
    background:#f3f7fa!important;
  }
}

@media(max-width:900px){
  .site-header{
    position:sticky!important;
  }

  .header-inner{
    position:static!important;
  }

  .main-nav{
    position:fixed!important;
    top:84px!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    transform:none!important;
    margin:0!important;
    max-height:calc(100dvh - 84px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    border-radius:0 0 24px 24px!important;
  }

  .main-nav.is-open{
    display:grid!important;
    gap:4px!important;
    animation:ucpvaxMenuInStable .16s ease both!important;
  }

  @keyframes ucpvaxMenuInStable{
    from{opacity:0;translate:0 -6px}
    to{opacity:1;translate:0 0}
  }

  .main-nav a,
  .main-nav a:hover,
  .main-nav a:focus-visible{
    transform:none!important;
  }
}

@media(max-width:700px){
  .main-nav{
    padding-left:16px!important;
    padding-right:16px!important;
  }
}


/* ============================================================
   UCPVax 1.5.2 — trial page layout repair
   ============================================================ */
.trial-article-layout{
  width:100%!important;
  min-width:0!important;
}
.trial-article-layout .article-main,
.trial-article-layout .trial-sidebar{
  min-width:0!important;
}
.trial-publications-section{
  width:100%!important;
  max-width:none!important;
}
@media(min-width:901px){
  .trial-article-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(280px,340px)!important;
    gap:48px!important;
    align-items:start!important;
  }
}
@media(max-width:900px){
  .trial-article-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:32px!important;
  }
}


/* ============================================================
   UCPVax 1.5.3 — mobile menu full-width alignment fix
   ============================================================ */

@media(max-width:900px){

  /* The navigation panel occupies the full viewport width,
     directly below the header, with no residual horizontal offset. */
  .main-nav{
    position:fixed!important;
    top:84px!important;
    left:0!important;
    right:0!important;
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    transform:none!important;
    box-sizing:border-box!important;
    padding:18px 16px 22px!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0 0 24px 24px!important;
  }

  .main-nav.is-open{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }

  /* Each item now uses the full available width. */
  .main-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    min-height:58px!important;
    margin:0!important;
    padding:15px 18px!important;
    border-radius:16px!important;
    text-align:left!important;
    box-sizing:border-box!important;
  }

  /* Calm active state: full-width but visually lighter. */
  .main-nav a.is-current,
  .main-nav a[aria-current="page"]{
    background:#f3f7fa!important;
    box-shadow:inset 0 0 0 1px #dbe6ee!important;
    padding-left:18px!important;
  }

  /* Remove any old mobile offsets or transforms inherited
     from previous menu iterations. */
  .main-nav a:hover,
  .main-nav a:focus-visible{
    transform:none!important;
    padding-left:18px!important;
  }
}

@media(max-width:420px){
  .main-nav{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .main-nav a{
    min-height:56px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .main-nav a.is-current,
  .main-nav a[aria-current="page"],
  .main-nav a:hover,
  .main-nav a:focus-visible{
    padding-left:16px!important;
  }
}
