/*
Theme Name: CENTEC Global
Description: Custom theme for CENTEC Global — Leeds Centre for Emergency Care & Global Health.
Version: 2.5.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: centec-global
*/

/* ---------- Base ---------- */
body{margin:0;background:#fff}
body,.editor-styles-wrapper{font-family:'Figtree',system-ui,sans-serif;color:#13263A}
a{color:#0B6E6D}a:hover{color:#08504F}
h1,h2,h3,h4{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;margin:0;line-height:1.08;color:#13263A}
:where(.centec,.editor-styles-wrapper) p{margin:0;color:#405568}
:where(.dark) :is(h1,h2,h3){color:#fff}
:where(.dark) p{color:#C6D4DF}
.centec{width:100%}
.wrap{max-width:1200px;margin:0 auto;padding-left:32px;padding-right:32px;box-sizing:border-box}
.sec{padding:56px 0}

/* ---------- Header / footer ---------- */
.site-header{background:#0B1F33}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px;padding-top:18px;padding-bottom:18px}
.site-header .brand{display:flex;align-items:center;text-decoration:none;color:#fff}
.custom-logo{height:56px;width:auto;display:block}
.brand-text{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;font-size:22px;color:#fff;text-decoration:none}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
.navlink{color:#DCE6EE;text-decoration:none;font-weight:500;font-size:15px;padding:12px 4px}
.navlink:hover{color:#fff}
.navlink.is-active{color:#fff;text-decoration:underline;text-decoration-color:#E8B23A;text-underline-offset:8px}
.nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none;background:#E8B23A;color:#0B1F33}
.nav-cta:hover{color:#0B1F33;filter:brightness(.95)}
.site-footer{background:#0B1F33;color:#C6D4DF;padding:40px 0;font-size:14px}
.site-footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.site-footer.big{padding:56px 0 40px;font-size:15px}
.site-footer.big .wrap{flex-direction:column;align-items:stretch;gap:32px}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px}
.footer-about{display:flex;flex-direction:column;gap:8px;max-width:380px;line-height:1.5}
.footer-about .custom-logo{align-self:flex-start}
.footer-logos{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.footer-logos img{height:48px;width:auto;display:block}
.footer-nav{display:flex;flex-wrap:wrap;gap:8px 24px;border-top:1px solid #23405A;padding-top:24px}
.footer-nav .navlink{font-size:14px;padding:0}
.site-footer .brand-text{font-size:20px}

/* ---------- Hero ---------- */
.hero{background:#0B1F33}
.hero>.wrap{padding-top:56px;padding-bottom:72px;display:flex;flex-direction:column;gap:18px}
.hero-home>.wrap{padding-top:72px;padding-bottom:96px;flex-direction:row;flex-wrap:wrap;gap:56px;align-items:center}
.hero-split>.wrap{flex-direction:row;flex-wrap:wrap;gap:48px;align-items:flex-end}
.hero-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.f-hero{flex:999 1 560px;min-width:0}
.stats{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:14px}
.stats-2{flex:1 1 300px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stat{background:#13304A;border-radius:20px;padding:26px 28px;display:flex;align-items:baseline;gap:16px}
.stat-t{font-size:16px;line-height:1.4;color:#DCE6EE}
.stat.stack{flex-direction:column;align-items:flex-start;gap:6px;border-radius:18px;padding:20px}
.stat.stack .stat-t{font-size:15px}
.span-2{grid-column:span 2}

/* ---------- Typography ---------- */
.eyebrow{color:#0B6E6D;font-weight:700;letter-spacing:2px;font-size:13px;text-transform:uppercase}
.eyebrow-ink{font-weight:800;font-size:13px;letter-spacing:2px;text-transform:uppercase}
.kicker{font-size:13px;font-weight:700;letter-spacing:1.5px;color:#0B6E6D}
.lead{font-size:19px;line-height:1.55}
.lead-sm{font-size:18px;line-height:1.55}
.txt{font-size:17px;line-height:1.55}
.note{font-size:14px;color:#5A6E80}
.cap{font-size:14px;font-weight:600;color:#8FA6B8}
.more{font-weight:700;font-size:17px}
.disp-p{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800}
.t-68{font-size:68px;line-height:1.02;letter-spacing:-1px}
.t-60{font-size:60px;line-height:1.04}
.t-56{font-size:56px;line-height:1}
.t-52{font-size:52px;line-height:1.02}
.t-48{font-size:48px;line-height:1.02}
.t-44{font-size:44px;line-height:1.08}
.t-40{font-size:40px;line-height:1.08}
.t-38{font-size:38px;line-height:1.05}
.t-30{font-size:30px;line-height:1.1}
.t-28{font-size:28px;line-height:1.2}
.t-26{font-size:26px}
.t-24{font-size:24px;line-height:1.2}
.t-22{font-size:22px;line-height:1.2}
.t-20{font-size:20px}
.t-19{font-size:19px;line-height:1.5}
.lh-1{line-height:1}
.lh-125{line-height:1.25}
.fw-700{font-weight:700}
mark.has-inline-color{background:none}

/* ---------- Buttons ---------- */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;border:0;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none;box-sizing:border-box}
.wp-block-button .wp-block-button__link:hover{filter:brightness(.95)}
.btn-gold .wp-block-button__link{background:#E8B23A;color:#0B1F33}
.btn-teal .wp-block-button__link{background:#2BB3B1;color:#0B1F33}
.btn-deep .wp-block-button__link{background:#0B6E6D;color:#fff}
.btn-navy .wp-block-button__link{background:#0B1F33;color:#fff}
.btn-outline .wp-block-button__link{background:transparent;border:2px solid #4A6378;color:#fff}
.btn-sm .wp-block-button__link{min-height:44px;font-size:15px}
.btn-gold .wp-block-button__link:hover,.btn-teal .wp-block-button__link:hover{color:#0B1F33}
.btn-deep .wp-block-button__link:hover,.btn-navy .wp-block-button__link:hover,.btn-outline .wp-block-button__link:hover{color:#fff}

/* ---------- Cards and components ---------- */
.door{position:relative;display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:20px;background:#F2F6F8;border:1px solid #E1E9EE}
.door:hover{border-color:#0B6E6D}
.icon{width:44px;height:44px;background:no-repeat center/contain}
.icon-vr{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E6D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='10' rx='4'/%3E%3Ccircle cx='8.5' cy='12' r='2'/%3E%3Ccircle cx='15.5' cy='12' r='2'/%3E%3C/svg%3E")}
.icon-flask{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E6D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6L4.5 18.5A1.7 1.7 0 0 0 6 21h12a1.7 1.7 0 0 0 1.5-2.5L14 9V3'/%3E%3Cpath d='M7 15h10'/%3E%3C/svg%3E")}
.icon-globe{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E6D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E")}
.door .more a,.event-hero .more a{text-decoration:none}
.door .more a::after,.event-hero .more a::after{content:"";position:absolute;inset:0}
.event-hero{position:relative;flex:2 1 520px;min-width:0;background:#E8B23A;border-radius:24px;padding:40px;display:flex;flex-direction:column;gap:14px;box-sizing:border-box}
.event-hero>*{color:#0B1F33}
.event-hero .more a{color:#0B1F33;font-weight:800}
.ink>*{color:#0B1F33}
.mini{border:1px solid #E1E9EE;border-radius:18px;padding:20px 22px}
.mini-d{font-size:13px;font-weight:700;color:#0B6E6D}
.mini-t{font-weight:700;font-size:17px;padding-top:4px;color:#13263A}
.tile{border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:12px}
.tile p.txt{color:#33495C}
.card{background:#F2F6F8;border:1px solid #E1E9EE;border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:12px}
.card.bg-navy{border-color:#0B1F33}
.badge{font-size:12px;font-weight:700;background:#FBF0D6;color:#7A5410;border-radius:999px;padding:4px 10px}
.box{border-radius:20px;padding:28px 30px;display:flex;flex-direction:column;gap:10px}
.callout{padding:26px 30px;border-radius:20px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.callout.outline{border:1px solid #E1E9EE;padding:28px 30px;gap:20px}
.callout-t{font-size:18px;line-height:1.5;max-width:760px;color:#13263A}
.pillar{border-top:4px solid #0B6E6D;padding-top:20px;display:flex;flex-direction:column;gap:10px}
.bt-gold{border-color:#E8B23A}.bt-navy{border-color:#13263A}
.study{display:grid;grid-template-columns:160px minmax(0,1fr) 200px;gap:20px;padding:18px 0;border-top:1px solid #E1E9EE;align-items:baseline}
.study:last-child{border-bottom:1px solid #E1E9EE}
.s-n{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;font-size:20px;color:#13263A}
.s-t{font-size:17px;line-height:1.5;color:#13263A}
.s-w{font-size:15px;color:#5A6E80}
.stage{background:#13304A;border-radius:16px;padding:20px 16px;display:flex;flex-direction:column;gap:6px}
.stage.sm{border-radius:14px;padding:16px;gap:0}
.stage-l{font-weight:800;font-size:13px}
.stage-d{font-size:14px;line-height:1.4;color:#B4C4D1}
.step-icon{width:30px;height:30px;background:no-repeat center/contain;margin-bottom:8px}
.stage:not(.sm) .step-icon{width:36px;height:36px;margin-bottom:6px}
.step-learn{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B23A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.2 5 7.5 4.5 4 4.5v13c3.5 0 6.2.5 8 2 1.8-1.5 4.5-2 8-2v-13c-3.5 0-6.2.5-8 2z'/%3E%3Cpath d='M12 6.5v13'/%3E%3C/svg%3E")}
.step-test{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B23A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.3a2.5 2.5 0 1 1 3.6 2.2c-.7.4-1.1.9-1.1 1.7'/%3E%3Cpath d='M12 16.8h.01'/%3E%3C/svg%3E")}
.step-consolidate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B23A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M6.5 20v-6M12 20V5M17.5 20v-9'/%3E%3C/svg%3E")}
.step-simulate{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BB3B1' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M7 10h2.5l1.5-3 2 6 1.5-3H17'/%3E%3Cpath d='M9 20h6M12 16v4'/%3E%3C/svg%3E")}
.step-apply{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BB3B1' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 2.5h6v3H9z'/%3E%3Cpath d='M8.5 14l2.5 2.5 4.5-5'/%3E%3C/svg%3E")}
.step-reflect{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BB3B1' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.6 10.8c.7.6 1.1 1.3 1.1 2.2h5c0-.9.4-1.6 1.1-2.2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E")}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dom{display:flex;gap:14px;align-items:center;background:#F2F6F8;border:1px solid #E1E9EE;border-radius:16px;padding:18px 20px}
.dom-n{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;color:#0B6E6D;font-size:22px;min-width:28px}
.dom-t{font-weight:600;font-size:17px;color:#13263A}
.dom.gold{background:#FBF0D6;border-color:#F1DDA8}
.dom.gold .dom-n{color:#9A6A12}
.tier{display:flex;gap:16px;align-items:center;border-radius:16px;padding:18px 22px}
.tier-n{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;font-size:22px;color:#0B6E6D;min-width:90px}
.tier-t{font-weight:700;font-size:17px;color:#13263A}
.tier-s{font-size:15px;color:#5A6E80}
.tier.bg-navy .tier-n{color:#E8B23A}
.tier.bg-navy .tier-t{color:#fff}
.tier.bg-navy .tier-s{color:#B4C4D1}
.ws{background:#fff;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:6px}
.ws-h{font-weight:800;font-size:15px;color:#0B1F33}
.ws-t{font-weight:800;font-size:17px;color:#13263A}
.ws-s{font-size:14px;color:#5A6E80}
.tl{display:grid;grid-template-columns:150px 28px minmax(0,1fr);gap:0 20px}
.yr{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;font-size:22px;text-align:right;padding-top:2px;color:#13263A}
.rail{position:relative;display:flex;justify-content:center}
.rail-line{position:absolute;top:0;bottom:0;width:2px;background:#D5E0E7}
.dot{position:relative;margin-top:8px;width:16px;height:16px;border-radius:50%;background:#0B6E6D;border:4px solid #fff;box-shadow:0 0 0 2px #0B6E6D;box-sizing:content-box}
.dot.gold{background:#E8B23A;box-shadow:0 0 0 2px #E8B23A}
.dot.hollow{background:#fff}
.ev{padding-bottom:36px;display:flex;flex-direction:column;gap:6px}
.ev-t{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;font-size:22px;color:#13263A}
.web{background:#13304A;border-radius:16px;padding:18px 22px}
.web-k{color:#2BB3B1;font-size:13px;font-weight:700}
.web-t{color:#fff;font-weight:700;font-size:18px}
.hist{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.hs{background:#13304A;border-radius:16px;padding:18px}
.hs.hi{border-top:4px solid #E8B23A}
.hs.now{background:#E8B23A}
.hs-y{font-family:'Bricolage Grotesque',Georgia,serif;font-weight:800;font-size:26px;color:#2BB3B1}
.hs-t{font-size:15px;line-height:1.4;padding-top:4px;color:#DCE6EE}
.hs.hi .hs-y{color:#E8B23A}
.hs.hi .hs-t{color:#fff}
.hs.now .hs-y{color:#0B1F33}
.hs.now .hs-t{color:#0B1F33;font-weight:600}
.pill{border-radius:999px;padding:12px 20px;font-weight:700;background:#E3F3F2;color:#13263A}
.pill.navy{background:#0B1F33;color:#fff}
.pill.gold{background:#FBF0D6}
.pt{border:1px solid #E1E9EE;border-radius:14px;padding:18px;font-weight:600;font-size:16px;min-height:72px;display:flex;align-items:center;color:#13263A}
.addr{font-size:16px;line-height:1.5;color:#13263A}
.bars{display:flex;align-items:flex-end;gap:32px;height:280px;padding:0 12px;box-sizing:border-box}
.bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:10px}
.bar-fill{width:100%;height:10px;background:#0B6E6D;border-radius:6px}
.bar-fill.tall{height:200px;background:#E8B23A}
.bar-txt{font-size:15px;text-align:center}
.heritage-img{flex:1 1 300px;min-width:0;max-width:420px;margin:0}
.heritage-img img{display:block;width:100%;height:420px;object-fit:cover;object-position:center 30%;filter:grayscale(1)}
.pair{display:flex;gap:14px;align-items:flex-end}
.pair figure{margin:0;flex:1 1 0;min-width:0}
.pair img{display:block;width:100%;border-radius:18px}
.pair-portrait img{height:300px;object-fit:cover;object-position:center 30%;filter:grayscale(1)}
.pair-plaque img{height:220px;object-fit:cover}

/* ---------- Contact form ---------- */
.contact-form{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:16px}
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.fl{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
.in{min-height:48px;border:1px solid #C5D3DD;border-radius:12px;padding:12px 14px;font-size:16px;font-family:inherit;color:#13263A;background:#fff;box-sizing:border-box;width:100%}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45}
.consent input{width:20px;height:20px;margin-top:1px}
.submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;font-size:16px;border:0;cursor:pointer;font-family:inherit;background:#0B6E6D;color:#fff}
.submit:hover{filter:brightness(.95)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.notice{border-radius:12px;padding:14px 18px;font-weight:600;font-size:16px}
.notice.ok{background:#E3F3F2;color:#08504F}
.notice.err{background:#FBE4E4;color:#8A1F1F}

/* ---------- Generic (non-designed) pages ---------- */
.entry{font-size:17px;line-height:1.65;color:#405568}
.entry :is(p,ul,ol){margin:0 0 1.1em}
.entry :is(h2,h3,h4){margin:1.6em 0 .5em}

/* ---------- Grids ---------- */
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.g6{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}

/* ---------- Utilities ---------- */
.col{display:flex;flex-direction:column}
.row{display:flex;flex-wrap:wrap}
.gap-4{gap:4px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-14{gap:14px}.gap-16{gap:16px}.gap-18{gap:18px}.gap-20{gap:20px}.gap-24{gap:24px}.gap-28{gap:28px}.gap-32{gap:32px}.gap-36{gap:36px}.gap-40{gap:40px}.gap-44{gap:44px}.gap-48{gap:48px}
.ai-c{align-items:center}.ai-e{align-items:flex-end}.ai-s{align-items:stretch}
.jc-sb{justify-content:space-between}.jc-c{justify-content:center}
.o-hidden{overflow:hidden}
.mt-auto{margin-top:auto}
.mw-600{max-width:600px}.mw-640{max-width:640px}.mw-720{max-width:720px}.mw-760{max-width:760px}.mw-860{max-width:860px}.mw-900{max-width:900px}.mw-920{max-width:920px}.mw-940{max-width:940px}
.f-300{flex:1 1 300px;min-width:0}.f-360{flex:1 1 360px;min-width:0}.f-380{flex:1 1 380px;min-width:0}.f-420{flex:1 1 420px;min-width:0}.f-440{flex:1 1 440px;min-width:0}.f-460{flex:1 1 460px;min-width:0}.f-480{flex:1 1 480px;min-width:0}.f-520{flex:1 1 520px;min-width:0}.f-560{flex:1 1 560px;min-width:0}
.f-420x{flex:999 1 420px;min-width:0}
.r-28{border-radius:28px}
.p-56{padding:56px;box-sizing:border-box}.p-52{padding:52px;box-sizing:border-box}.p-48{padding:48px;box-sizing:border-box}
.pt-6{padding-top:6px}.pt-8{padding-top:8px}.pt-10{padding-top:10px}
.sec.pt-40{padding-top:40px}.sec.pt-72{padding-top:72px}.sec.pt-88{padding-top:88px}.sec.pt-96{padding-top:96px}
.sec.pb-40{padding-bottom:40px}.sec.pb-56{padding-bottom:56px}.sec.pb-96{padding-bottom:96px}
.wrap.pt-56{padding-top:56px}
.bg-navy{background:#0B1F33}.bg-mist{background:#F2F6F8}.bg-teal{background:#E3F3F2}.bg-gold-l{background:#FBF0D6}.bg-blue{background:#EAF0F5}.bg-gold{background:#E8B23A}
.c-gold{color:#E8B23A}.c-teal{color:#2BB3B1}.c-white{color:#fff}.c-ink{color:#13263A}.c-gold-d{color:#9A6A12}.c-amber{color:#B7791F}.c-mute{color:#5A6E80}.c-pale{color:#C6D4DF}
.eyebrow.c-teal{color:#2BB3B1}
.eyebrow.c-gold-d{color:#9A6A12}
.g3.gap-8{gap:8px}.g3.gap-20{gap:20px}.g4.gap-14{gap:14px}

/* ---------- Responsive ---------- */
.donation-affiliations{display:flex;flex-wrap:wrap;gap:28px 48px;align-items:center;margin-bottom:12px}
.donation-logo{margin:0;width:240px;max-width:100%}
.donation-logo img{display:block;width:100%;height:auto;max-height:130px;object-fit:contain;object-position:left center}
.project-links .card{border-radius:8px}
.project-links .more{margin-top:auto}
.project-links .project-image img{aspect-ratio:16/9;height:auto}
.shared-contact{background:#f2f6f8;border-top:1px solid #dce6ee}
.shared-contact-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}
.hero.hero-banner{background-color:#0b1f33;background-image:linear-gradient(90deg,rgba(5,22,30,var(--hero-o1,.6)),rgba(5,22,30,var(--hero-o2,.35))),var(--centec-hero-image);background-position:var(--hero-pos,center);background-size:cover;border-bottom:0}
.hero-banner>.wrap{min-height:360px;justify-content:center}
.hero.hero-banner h1,.hero-banner>.wrap>.lead,.hero-banner .f-hero>.lead{color:#fff}
.hero.hero-banner .eyebrow,.hero.hero-banner .eyebrow a{color:#83e5db}
.hero-banner .research-brand{background:#fff;padding:12px;max-width:560px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.news-card{border:1px solid #dce6ee;border-radius:8px;overflow:hidden;background:#fff;min-width:0}
.news-card-link{display:flex;flex-direction:column;height:100%;text-decoration:none;color:#13263a}
.news-card-link:hover{color:#13263a;background:#f7fafb}
.news-card-link>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.news-card-copy{display:flex;flex-direction:column;gap:14px;padding:24px;flex:1}
.news-card-copy time{font-size:13px;color:#526879}
.news-card-copy h3{font-size:24px;line-height:1.2}
.news-card-copy p{font-size:16px;line-height:1.55}
.news-read-more{margin-top:auto;font-size:15px;font-weight:700;color:#0b6e6d}
.carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.carousel-controls{display:flex;gap:10px}
.carousel-controls[hidden]{display:none}
.carousel-controls button{display:grid;place-items:center;width:46px;height:46px;border:1px solid #b7cbd3;border-radius:4px;background:#fff;color:#0b6e6d;cursor:pointer}
.carousel-controls button:hover{background:#e3f3f2}
.carousel-controls button:disabled{opacity:.4;cursor:default}
.carousel-controls button:focus-visible,.news-card-link:focus-visible,.carousel-track:focus-visible{outline:3px solid #0b6e6d;outline-offset:3px}
.carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/2.35);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;padding:4px 4px 16px;scrollbar-width:thin}
.carousel-track>.news-card{scroll-snap-align:start}
.news-pagination{margin-top:36px}
.news-pagination ul{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0}
.news-pagination a,.news-pagination .current{display:block;padding:8px 12px;border:1px solid #c5d3dd;border-radius:4px}
.news-pagination .current{background:#0b6e6d;color:#fff}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero-photo{position:relative;isolation:isolate;overflow:hidden}
.hero-photo>.hero-photo-image{position:absolute;inset:0;margin:0;z-index:-2}
.hero-photo-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,22,30,.72),rgba(5,22,30,.45) 60%,rgba(5,22,30,.2));z-index:-1}
.hero-photo>.hero-photo-copy{position:relative;min-height:570px;justify-content:center;padding-top:64px;padding-bottom:64px;gap:22px}
.hero-photo-copy h1{font-size:60px;letter-spacing:0}
.hero-strapline{font-family:'Bricolage Grotesque',Georgia,serif;font-size:32px;line-height:1.22;max-width:790px;color:#fff}
.hero-photo-copy .lead{max-width:640px;color:#fff}
.intro-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:56px}
.affiliation-logo{margin:0;background:#fff}
.affiliation-logo img{width:100%;height:auto;display:block}
.updates-grid .card{border-radius:8px;gap:18px}
.updates-grid .wp-block-buttons{margin-top:auto}
.research-hero{background:#f4f7fc;border-bottom:5px solid #f35968}
.research-hero .eyebrow{color:#284b90}
.research-hero h1{font-size:44px;color:#182d51;max-width:780px}
.research-brand{margin:0;max-width:730px;width:100%}
.research-brand img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.innovation-banner{margin:0;max-width:850px}
.cailtec-logo{margin:0;width:85px}
.cailtec-logo img{display:block;width:85px;height:56px;max-width:none}
.innovation-banner img{width:100%;max-height:380px;object-fit:cover;object-position:center 15%;display:block}
.project-image{margin:0}
.project-image img{width:100%;height:190px;object-fit:cover;display:block;border-radius:4px}
.project-image figcaption,.innovation-banner figcaption{font-size:12px;line-height:1.4;color:#5a6e80;margin-top:8px}
.dark .project-image figcaption{color:#c6d4df}
.network-section{background:#edf7f7}
.network-layout{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:48px;align-items:center}
.network-map{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px;background-image:radial-gradient(#b7d4d7 1px,transparent 1px);background-size:14px 14px}
.regional-map{margin:0;width:100%;max-width:290px}
.regional-map img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.network-centres{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;position:relative;border-left:2px solid #0b6e6d;padding-left:32px}
.network-centre{position:relative;display:flex;flex-direction:column;gap:10px;padding-top:16px;border-top:1px solid #b5cfd2}
.network-centre::before{content:"";position:absolute;top:-5px;left:-5px;width:9px;height:9px;background:#0b6e6d;border-radius:50%}
.network-centre .kicker{font-size:11px;letter-spacing:0}
.network-centre .t-24{font-size:21px}
.network-centre p{overflow-wrap:anywhere}
.centec figure{box-sizing:border-box;max-width:100%}
.centec :is(h1,h2,h3,p){overflow-wrap:break-word;letter-spacing:0}
.centec .wp-block-button__link{white-space:normal;text-align:center;min-height:48px;padding-top:12px;padding-bottom:12px}
@media (max-width:900px){
.shared-contact-layout{grid-template-columns:minmax(0,1fr);gap:36px}
.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.intro-layout,.network-layout{grid-template-columns:minmax(0,1fr);gap:32px}
.affiliation-logo{max-width:230px}
.hero-photo-copy h1{font-size:48px}
.hero-photo>.hero-photo-copy{min-height:560px}
.g2,.g3,.g4{grid-template-columns:minmax(0,1fr)}
.g6{grid-template-columns:repeat(2,minmax(0,1fr))}
.g4.gap-14{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3.gap-8{grid-template-columns:repeat(3,minmax(0,1fr))}
.hist{grid-template-columns:repeat(2,minmax(0,1fr))}
.study{grid-template-columns:minmax(0,1fr);gap:4px}
.tl{grid-template-columns:80px 24px minmax(0,1fr);gap:0 12px}
.yr{font-size:18px}
.wrap{padding-left:20px;padding-right:20px}
.t-68{font-size:44px}
.t-60{font-size:42px}
}
@media (max-width:600px){
.news-grid{grid-template-columns:minmax(0,1fr)}
.carousel-track{grid-auto-columns:88%}
.hero-banner>.wrap{min-height:300px}
.hero-photo-copy h1{font-size:38px}
.hero-strapline{font-size:25px}
.hero-photo>.hero-photo-copy{min-height:0;padding-top:48px;padding-bottom:48px}
.hero-photo-image img{object-position:65% center}
.network-centres{grid-template-columns:minmax(0,1fr)}
.research-hero h1{font-size:32px}
.centec h1{font-size:38px}
.centec h2{font-size:32px;overflow-wrap:anywhere}
.p-56,.p-52,.p-48{padding:26px}
}
