/* =========================================================
   BAKAID Tanzania — main stylesheet
   Layout modelled on the MDH website; colours from the BAKAID logo.
   One font (Roboto) is used for the whole site.
   ========================================================= */
:root {
    --blue:        #0D62B5;   /* primary blue */
    --blue-2:      #1E5494;   /* gradient end */
    --blue-dark:   #0F2B49;   /* footer end */
    --blue-soft:   #A7C6ED;   /* icons on blue */
    --blue-tint:   #EAF2FC;   /* icon boxes */
    --red:         #E22426;   /* BAKAID red */
    --green:       #4FA83D;   /* BAKAID green */
    --light:       #EEF5FC;   /* light section background */
    --white:       #FFFFFF;
    --heading:     #1C2422;
    --text:        #5F6368;
    --border:      #E4EAF2;
    --shadow:      0 10px 35px rgba(16, 45, 90, .08);
    --shadow-lg:   0 20px 50px rgba(16, 45, 90, .14);
    --radius:      20px;
    --font-head:   "Roboto", "Segoe UI", Arial, sans-serif;
    --font-body:   "Roboto", "Segoe UI", Arial, sans-serif;
    --container:   1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }
.icon { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-light { background: var(--light); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    padding: 13px 32px; border-radius: 50px; border: 3px solid transparent;
    cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn .icon { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); box-shadow: 0 10px 25px rgba(13, 98, 181, .3); }
.btn-primary:hover { color: var(--white); box-shadow: 0 15px 30px rgba(13, 98, 181, .4); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--blue); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { color: var(--white); box-shadow: 0 12px 28px rgba(226, 36, 38, .4); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Section headings ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 56px; }
.eyebrow { display: block; font-size: 1rem; color: var(--heading); margin-bottom: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, #1B5799, #0564B3); color: var(--white); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; min-height: 44px; padding-top: 5px; padding-bottom: 5px; }
.topbar a { color: var(--white); }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 6px 34px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 10px; }
.topbar-contacts .icon { width: 14px; height: 14px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-tagline { margin-right: 10px; }
.social-circle { width: 28px; height: 28px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.social-circle .icon { width: 13px; height: 13px; }
.social-circle:hover { background: var(--white); color: var(--blue); }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 30px rgba(16, 45, 90, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 80px; height: auto; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 8px; padding: 31px 11px; color: #222; font-weight: 500; font-size: .88rem; white-space: nowrap; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--blue); }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 22px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.main-nav > ul > li > a.active::after, .main-nav > ul > li:hover > a::after { transform: scaleX(1); }
.main-nav .caret { width: 12px; height: 12px; transition: transform .2s; }
.main-nav li:hover > a .caret { transform: rotate(180deg); }
.dropdown {
    list-style: none; margin: 0; padding: 12px 0; position: absolute; left: 0; top: calc(100% - 18px);
    min-width: 240px; background: var(--white); border-top: 3px solid var(--blue); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s;
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 8px 20px; color: #333; font-size: .85rem; }
.dropdown a:hover { background: var(--light); color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--heading); margin: 5px 0; border-radius: 3px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: 580px; overflow: hidden; background: #3A4A5E; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    display: flex; align-items: center; opacity: 0; transition: opacity 1s ease; z-index: 1;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 30, 48, .55) 0%, rgba(20, 30, 48, .22) 45%, rgba(20, 30, 48, 0) 75%), linear-gradient(0deg, rgba(20, 30, 48, .35) 0%, rgba(20, 30, 48, 0) 35%); }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-content { position: relative; color: var(--white); padding-top: 60px; padding-bottom: 100px; }
.hero-content .hero-title { color: var(--white); margin-bottom: 30px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; max-width: 780px; transform: translateY(30px); opacity: 0; transition: .8s .2s; }
.hero-content p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; max-width: 680px; margin: 18px 0 34px; transform: translateY(30px); opacity: 0; transition: .8s .4s; }
.hero-content .btn { transform: translateY(30px); opacity: 0; transition: .8s .6s, background .25s, color .25s; }
.hero-slide.is-active .hero-content .hero-title,
.hero-slide.is-active .hero-content p,
.hero-slide.is-active .hero-content .btn { transform: none; opacity: 1; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 36px; display: flex; justify-content: center; gap: 12px; }
.hero-dot { width: 14px; height: 14px; border-radius: 14px; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0; transition: .3s; }
.hero-dot.is-active { width: 38px; background: var(--white); }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hero-arrow:hover { background: rgba(255, 255, 255, .3); }
.hero-arrow .icon { width: 22px; height: 22px; }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }

/* ---------- Who we are ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; padding: 0 40px 50px 0; }
.about-media::before { content: ""; position: absolute; left: 34px; right: 0; top: 34px; bottom: 0; border: 3px solid var(--blue); border-radius: 22px; }
.about-media img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 20px; }
.about-text p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.about-text .btn { margin-top: 12px; }

/* ---------- Counters ---------- */
.stats-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0066B8 0%, var(--blue-2) 100%); color: var(--white); padding: 80px 0; }
.stats-band::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; border: 120px solid rgba(255, 255, 255, .06); right: 8%; top: -200px; }
.stats-grid { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 50px 30px; text-align: center; }
.stat { flex: 1 1 180px; max-width: 260px; }
.stat-icon { width: 54px; height: 54px; color: var(--blue-soft); margin: 0 auto 16px; }
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.3rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -.03em; }
.stat-label { margin-top: 12px; font-weight: 500; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.program-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-image { position: relative; }
.program-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.program-badge { position: absolute; right: 28px; bottom: -34px; width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(13, 98, 181, .35); }
.program-badge .icon { width: 34px; height: 34px; }
.program-body { padding: 42px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.program-body h3 { font-size: 1.3rem; font-weight: 700; }
.program-body p { font-size: .98rem; line-height: 1.75; }
.program-body .link-arrow { margin-top: auto; }

/* ---------- Vision, mission & values ---------- */
.vmv-section { padding-top: 0; }
.vmv-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 40px; align-items: start; }
.vm-card { position: relative; overflow: hidden; background: linear-gradient(160deg, #0A64B8 0%, #163C6E 100%); border-radius: 24px; padding: 44px 40px; color: var(--white); box-shadow: var(--shadow-lg); }
.vm-card::after { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); right: -150px; bottom: -150px; }
.vm-item { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 20px; z-index: 1; }
.vm-icon { width: 62px; height: 62px; border-radius: 15px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.vm-icon .icon { width: 28px; height: 28px; }
.vm-item h3 { color: var(--white); font-size: 1.45rem; font-weight: 700; margin: 6px 0 10px; }
.vm-item p { color: rgba(255, 255, 255, .95); font-size: 1.02rem; line-height: 1.75; }
.vm-card hr { border: 0; border-top: 1.5px solid rgba(255, 255, 255, .22); margin: 32px 0; }
.values-title { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; font-weight: 700; margin-bottom: 26px; }
.values-title .icon { width: 26px; height: 26px; color: var(--green); }
.values-title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--blue-soft), transparent); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.value-icon { width: 54px; height: 54px; border-radius: 13px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.value-icon .icon { width: 26px; height: 26px; }
.value-card h4 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: .95rem; line-height: 1.65; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-image { overflow: hidden; }
.news-image img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-image img { transform: scale(1.06); }
.news-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: .88rem; text-transform: uppercase; }
.news-date .icon { width: 16px; height: 16px; }
.news-body h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.35; }
.news-body h3 a { color: var(--heading); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { font-size: .97rem; line-height: 1.7; }
.news-body .link-arrow { margin-top: auto; }

/* ---------- Call to action ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0066B8 0%, #0F3E77 100%); padding: 90px 0; text-align: center; color: var(--white); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .06); }
.cta-band::before { width: 480px; height: 480px; left: -200px; bottom: -220px; }
.cta-band::after { width: 760px; height: 760px; right: -150px; top: -230px; border-width: 110px; }
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
.cta-band p { max-width: 720px; margin: 18px auto 0; font-size: 1.1rem; line-height: 1.65; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.partner {
    min-width: 150px; height: 112px; padding: 16px 26px; background: var(--white); border-radius: 18px;
    box-shadow: 0 8px 30px rgba(16, 45, 90, .07); display: grid; place-items: center; text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.partner img { max-height: 72px; max-width: 170px; width: auto; object-fit: contain; }
.partner span { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: #6F7C8E; max-width: 180px; line-height: 1.25; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(135deg, #1F5391 0%, var(--blue-dark) 100%); color: rgba(255, 255, 255, .9); }
.site-footer::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 100px solid rgba(255, 255, 255, .05); left: -260px; top: -180px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 76px; padding-bottom: 46px; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 12px; padding: 8px 18px; margin-bottom: 22px; }
.footer-logo img { width: 90px; height: auto; }
.footer-about p { font-size: .97rem; line-height: 1.8; max-width: 460px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.footer-social a:hover { background: var(--red); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: 1.3rem; font-weight: 700; padding-bottom: 16px; margin-bottom: 22px; position: relative; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--red); border-radius: 4px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer-links a { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .9); font-size: .98rem; line-height: 1.45; }
.footer-links a .icon { width: 12px; height: 12px; color: var(--red); margin-top: 5px; transition: transform .2s; }
.footer-links a:hover { color: var(--white); }
.footer-links a:hover .icon { transform: translateX(4px); }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .97rem; line-height: 1.6; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--blue-soft); margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .9); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 30px; padding-bottom: 34px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; left: 30px; bottom: 30px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--blue); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 25px rgba(13, 98, 181, .4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top .icon { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 20px 30px rgba(16, 45, 90, .12); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
    .main-nav.is-open { max-height: 80vh; overflow-y: auto; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; }
    .main-nav > ul > li > a { padding: 14px 4px; border-bottom: 1px solid var(--border); justify-content: space-between; }
    .main-nav > ul > li > a::after { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; display: none; min-width: 0; }
    .has-dropdown.is-open > .dropdown { display: block; }
    .has-dropdown:hover > .dropdown { display: none; }
    .has-dropdown.is-open:hover > .dropdown { display: block; }
    .header-inner { min-height: 84px; }
    .logo img { width: 76px; }
}
@media (max-width: 1024px) {
    .about-grid, .vmv-grid { grid-template-columns: 1fr; gap: 60px; }
    .program-grid, .news-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat { flex-basis: 40%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .section { padding: 70px 0; }
    .topbar-tagline { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-contacts { justify-content: center; font-size: .92rem; gap: 4px 18px; }
    .social-circle { width: 28px; height: 28px; }
    .hero { min-height: 600px; }
    .hero-arrow { display: none; }
    .program-grid, .news-grid, .values-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-band { padding: 80px 0; }
    .stat-icon { width: 44px; height: 44px; }
    .about-media { padding: 0 20px 26px 0; }
    .about-media::before { left: 20px; top: 20px; }
    .vm-card { padding: 40px 28px; }
    .vm-item { grid-template-columns: 1fr; gap: 16px; }
    .program-body, .news-body { padding: 40px 22px 26px; }
    .news-body { padding-top: 22px; }
    .partners { gap: 18px; }
    .partner { min-width: 0; flex: 1 1 130px; height: 96px; padding: 14px; }
    .cta-band { padding: 90px 0; }
    .back-to-top { left: auto; right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Shared inner-page components
   ========================================================= */
.rich-text p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.rich-text ul, .rich-text ol { margin: 0 0 16px; padding-left: 20px; }
.logo-fallback { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--blue); letter-spacing: .02em; }
.footer-logo .logo-fallback { font-size: 1.3rem; }

/* Page banner (MDH style: blue gradient, rings, centred title + breadcrumb) */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(135deg, #0066B8 0%, #163C6E 100%); color: var(--white); text-align: center; }
.page-banner::before, .page-banner::after { content: ""; position: absolute; border-radius: 50%; border: 52px solid rgba(255, 255, 255, .06); }
.page-banner::before { width: 400px; height: 400px; left: -120px; top: -30px; }
.page-banner::after { width: 620px; height: 620px; right: -150px; top: -10px; border-width: 75px; }
.page-banner-inner { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.page-banner .page-banner-title { color: var(--white); margin: 0; line-height: 1.2; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; }
.page-banner p { max-width: 640px; margin: 12px auto 0; font-size: 1.05rem; color: rgba(255, 255, 255, .9); }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; font-size: 1.05rem; }
.breadcrumb a { color: var(--blue-soft); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--white); font-weight: 500; }

/* Red, letter-spaced label above section headings */
.eyebrow-red { display: block; color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 12px; }

/* Geographic coverage */
.coverage-section .section-head { margin-bottom: 40px; }
.coverage-body { max-width: 900px; margin: 0 auto; text-align: center; font-size: 1.05rem; line-height: 1.9; }
.coverage-body p + p { margin-top: 14px; }

/* Key facts row */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.fact { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.fact-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.fact-icon .icon { width: 24px; height: 24px; }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--heading); line-height: 1.3; }
.fact span { font-size: .88rem; }

/* Goal & legal */
.goal-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
.goal-card { position: relative; overflow: hidden; background: linear-gradient(160deg, #0A64B8 0%, #163C6E 100%); border-radius: 24px; padding: 44px 40px; color: var(--white); box-shadow: var(--shadow-lg); }
.goal-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .05); right: -130px; bottom: -150px; }
.goal-card .vm-icon { color: var(--white); margin-bottom: 22px; }
.goal-card h3 { color: var(--white); font-size: 1.45rem; font-weight: 700; margin-bottom: 12px; }
.goal-card p { position: relative; z-index: 1; font-size: 1.05rem; line-height: 1.8; color: rgba(255, 255, 255, .95); }
.legal-card { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 1rem; color: var(--heading); }
.check-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; margin-top: 1px; }
.check-icon .icon { width: 14px; height: 14px; }

.vmv-plain { padding-top: 80px; }

/* Card grids */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.group-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.group-icon { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; flex: none; }
.group-icon .icon { width: 25px; height: 25px; }
.group-card h4, .approach-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.group-card p, .approach-item p { font-size: .95rem; line-height: 1.65; }
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; max-width: 1040px; margin: 0 auto; }
.approach-item { display: flex; gap: 20px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); transition: border-color .3s, box-shadow .3s; }
.approach-item:hover { border-color: transparent; box-shadow: var(--shadow); }
.program-badge.static { position: static; width: 58px; height: 58px; border-radius: 15px; flex: none; box-shadow: 0 8px 20px rgba(13, 98, 181, .25); }
.program-badge.static .icon { width: 26px; height: 26px; }

@media (max-width: 1024px) {
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .goal-grid { grid-template-columns: 1fr; }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .page-banner-inner { padding-top: 70px; padding-bottom: 70px; }
    .facts-grid, .card-grid-3, .approach-grid { grid-template-columns: 1fr; }
    .goal-card, .legal-card { padding: 32px 24px; }
}

/* =========================================================
   Sub-menus (e.g. Who We Are > Our Team > Board Members)
   ========================================================= */
.dropdown li { position: relative; }
.dropdown .has-sub > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sub-caret { width: 11px; height: 11px; }
.dropdown-sub { top: -15px; left: 100%; border-radius: 0 14px 14px 14px; transform: translateX(12px); }
.has-sub:hover > .dropdown-sub, .has-sub:focus-within > .dropdown-sub { opacity: 1; visibility: visible; transform: translateX(0); }

/* =========================================================
   Team page
   ========================================================= */
.team-intro { padding-bottom: 30px; }
.team-intro .section-head { margin-bottom: 0; }
.team-intro .rich-text p { font-size: 1.05rem; margin-top: 14px; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; max-width: 900px; margin: 0 auto; }
.team-grid > .team-card { flex: 0 1 270px; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 4 / 4.4; background: var(--blue-tint); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.avatar-initials { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 3rem; letter-spacing: .04em; }
.team-body { padding: 22px 22px 24px; text-align: center; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.team-body h3 { font-size: 1.12rem; font-weight: 700; }
.team-position { color: var(--blue); font-weight: 500; font-size: .92rem; }
.team-actions { margin-top: auto; padding-top: 10px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.team-actions button.link-arrow { background: none; border: 0; padding: 0; cursor: pointer; color: var(--blue); font: inherit; font-weight: 700; font-size: .9rem; }
.team-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.team-icon .icon { width: 15px; height: 15px; }
.team-icon:hover { background: var(--blue); color: var(--white); }

.empty-state { max-width: 640px; margin: 0 auto; text-align: center; background: var(--white); border: 2px dashed #CBD8EA; border-radius: var(--radius); padding: 44px 30px; }
.section-light .empty-state { background: rgba(255, 255, 255, .7); }
.empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.empty-icon .icon { width: 30px; height: 30px; }
.empty-state p { font-size: 1rem; }

/* Governance structure */
.org-chart { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.org-level { width: 100%; display: flex; align-items: center; gap: 18px; background: var(--white); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow); border-left: 5px solid var(--blue); }
.org-level:first-child { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-left-color: var(--red); }
.org-level:first-child h4, .org-level:first-child p { color: var(--white); }
.org-level:first-child .org-icon { background: rgba(255, 255, 255, .15); color: var(--white); }
.org-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.org-icon .icon { width: 24px; height: 24px; }
.org-level h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 2px; }
.org-level p { font-size: .93rem; line-height: 1.55; }
.org-line { width: 3px; height: 28px; background: linear-gradient(var(--blue), var(--blue-soft)); border-radius: 3px; }

.values-grid.four { grid-template-columns: repeat(4, 1fr); }

/* Biography pop-up */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(10, 25, 50, .6); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: var(--white); border-radius: 22px; max-width: 680px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 36px; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; right: 16px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--light); color: var(--heading); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--red); color: var(--white); }
.bio-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding-right: 40px; }
.bio-head img, .bio-head .avatar-initials { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; font-size: 1.6rem; }
.bio-head h3 { font-size: 1.3rem; }

@media (max-width: 1200px) {
    .dropdown-sub { position: static; opacity: 1; visibility: visible; transform: none; display: block; padding-left: 14px; }
    .sub-caret { display: none; }
}
@media (max-width: 1024px) {
    .values-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .team-grid { gap: 16px; }
    .team-grid > .team-card { flex-basis: calc(50% - 8px); }
    .values-grid.four { grid-template-columns: 1fr; }
    .avatar-initials { font-size: 2.2rem; }
    .modal-box { padding: 28px 22px; }
}

/* Keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 100px; }

/* =========================================================
   History page
   ========================================================= */
.h2-sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; }

/* Timeline: centre line, cards alternate left and right */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(var(--blue), var(--blue-soft)); border-radius: 3px; }
.tl-item { position: relative; width: 50%; padding: 0 56px 40px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker { position: absolute; top: 4px; right: -34px; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem; border: 5px solid var(--light); box-shadow: 0 8px 20px rgba(13, 98, 181, .3); z-index: 1; }
.tl-item:nth-child(even) .tl-marker { right: auto; left: -34px; }
.tl-item:nth-child(4n+3) .tl-marker, .tl-item:nth-child(4n+4) .tl-marker { background: linear-gradient(135deg, var(--red), #B51C1E); box-shadow: 0 8px 20px rgba(226, 36, 38, .3); }
.tl-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; position: relative; }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tl-card::after { content: ""; position: absolute; top: 28px; right: -9px; width: 18px; height: 18px; background: var(--white); transform: rotate(45deg); }
.tl-item:nth-child(even) .tl-card::after { right: auto; left: -9px; }
.tl-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.tl-icon .icon { width: 22px; height: 22px; }
.tl-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.tl-card p { font-size: .95rem; line-height: 1.7; }

/* Programme list */
.programme-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.programme-chip { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; transition: border-color .3s, box-shadow .3s; }
.programme-chip:hover { border-color: transparent; box-shadow: var(--shadow); }
.chip-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; flex: none; }
.chip-icon .icon { width: 16px; height: 16px; }
.programme-chip strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: .98rem; line-height: 1.35; }
.programme-chip span { font-size: .85rem; }

@media (max-width: 900px) {
    .timeline::before { left: 28px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 28px 84px; }
    .tl-marker, .tl-item:nth-child(even) .tl-marker { left: 0; right: auto; width: 58px; height: 58px; font-size: .85rem; }
    .tl-card::after, .tl-item:nth-child(even) .tl-card::after { left: -9px; right: auto; }
    .programme-chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .tl-item, .tl-item:nth-child(even) { padding-left: 70px; }
    .tl-marker, .tl-item:nth-child(even) .tl-marker { width: 52px; height: 52px; font-size: .8rem; border-width: 4px; }
    .timeline::before { left: 25px; }
    .tl-card { flex-direction: column; padding: 20px; }
    .programme-chips { grid-template-columns: 1fr; }
}

/* =========================================================
   Where We Work page
   ========================================================= */
.coverage-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cf-item { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--blue); }
.cf-item:nth-child(2) { border-color: var(--green); } .cf-item:nth-child(3) { border-color: var(--red); } .cf-item:nth-child(4) { border-color: var(--sky, #3E8FDA); }
.cf-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 8px; }
.cf-icon .icon { width: 22px; height: 22px; }
.cf-item strong { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; color: var(--heading); }
.cf-item span:last-child { font-size: .92rem; }

.map-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.map-box { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.tile-map { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); gap: 8px; }
.tile { aspect-ratio: 1; border-radius: 12px; background: #EDF1F7; color: #8C99AD; display: grid; place-items: center; text-align: center; padding: 3px; font: 500 clamp(.55rem, 1vw, .78rem)/1.15 var(--font-head); overflow: hidden; word-break: break-word; border: 0; }
button.tile { cursor: pointer; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); font-weight: 700; transition: transform .2s, box-shadow .2s; position: relative; }
button.tile:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(13, 98, 181, .35); }
button.tile.has-office::after { content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--red); }
button.tile[aria-pressed="true"] { background: linear-gradient(135deg, var(--red), #B51C1E); box-shadow: 0 8px 18px rgba(226, 36, 38, .35); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .85rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 4px; background: #EDF1F7; display: inline-block; }
.lg-covered { background: var(--blue); }
.lg-office { background: var(--white); border: 3px solid var(--red); border-radius: 50%; }
.map-note { font-size: .8rem; margin-top: 8px; color: #8C99AD; }

.region-panel { background: var(--white); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.region-panel[hidden] { display: none; }
.region-panel h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.region-panel h4 { font-size: 1rem; margin: 22px 0 10px; }
.office-badge { display: inline-flex; align-items: center; gap: 6px; background: #FDECEC; color: var(--red); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 30px; margin-bottom: 10px; }
.office-badge .icon { width: 14px; height: 14px; }
.panel-count { font-size: .92rem; margin-bottom: 14px; }
.panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; color: var(--heading); font-size: .97rem; }
.council-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.council-tags span { background: var(--blue-tint); color: var(--blue); font-size: .84rem; font-weight: 500; padding: 5px 12px; border-radius: 30px; }

.region-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.region-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow .3s, border-color .3s; }
.region-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.region-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rc-icon { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; flex: none; }
.rc-icon .icon { width: 20px; height: 20px; }
.region-card h3 { font-size: 1.15rem; font-weight: 700; }
.region-card header span { font-size: .84rem; }
.region-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .93rem; }
.region-card li::marker { color: var(--red); }

.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
.office-card { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.office-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.office-card p { font-size: .95rem; }
.office-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--heading); }
.office-contact .icon { width: 15px; height: 15px; color: var(--blue); }

@media (max-width: 1024px) {
    .map-layout { grid-template-columns: 1fr; }
    .region-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .map-box { padding: 16px; }
    .tile-map { gap: 4px; }
    .tile { border-radius: 7px; font-size: .5rem; }
    button.tile.has-office::after { top: 3px; right: 3px; width: 6px; height: 6px; }
    .region-panel { padding: 24px; }
    .region-cards, .office-grid { grid-template-columns: 1fr; }
    .coverage-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cf-item { padding: 18px 16px; }
    .cf-item strong { font-size: 1.6rem; }
}
.rc-note { font-size: .93rem; }

/* =========================================================
   Programs page
   ========================================================= */
.program-detail .about-grid { align-items: center; }
.program-detail.is-reversed .about-media { order: 2; }
.program-detail.is-reversed .about-media { padding: 0 0 50px 40px; }
.program-detail.is-reversed .about-media::before { left: 0; right: 34px; }
.program-detail h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pd-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; flex: none; }
.pd-icon .icon { width: 26px; height: 26px; }
.pd-summary { font-size: 1.02rem; line-height: 1.8; }
.pd-label { font-size: .95rem; margin: 22px 0 12px; }
.pd-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.pd-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: .95rem; color: var(--heading); }
.pd-btn { margin-top: 26px; }
@media (max-width: 1024px) {
    .program-detail.is-reversed .about-media { order: 0; padding: 0 40px 50px 0; }
    .program-detail.is-reversed .about-media::before { left: 34px; right: 0; }
}
@media (max-width: 680px) {
    .pd-list { grid-template-columns: 1fr; }
    .program-detail.is-reversed .about-media { padding: 0 20px 26px 0; }
    .program-detail.is-reversed .about-media::before { left: 20px; }
    .program-detail h2 { align-items: flex-start; }
    .pd-icon { width: 44px; height: 44px; }
}

/* =========================================================
   Projects list & project details
   ========================================================= */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.tab { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 50px; background: var(--white); color: var(--heading); font-weight: 500; font-size: .95rem; box-shadow: 0 4px 14px rgba(16, 45, 90, .06); border: 2px solid transparent; transition: .2s; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-active { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); }
.tab-count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--blue-tint); color: var(--blue); display: inline-grid; place-items: center; font-size: .8rem; font-weight: 700; }
.tab.is-active .tab-count { background: rgba(255, 255, 255, .2); color: var(--white); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-image { position: relative; display: block; overflow: hidden; }
.project-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-image img { transform: scale(1.05); }
.status-pill { position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 30px; font-size: .78rem; font-weight: 700; color: var(--white); background: var(--green); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.status-pill.is-completed { background: #5F6B7A; }
.status-pill.static { position: static; box-shadow: none; display: inline-block; }
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-program { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.project-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.project-body h3 a { color: var(--heading); }
.project-body h3 a:hover { color: var(--blue); }
.project-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.project-meta li { display: flex; align-items: flex-start; gap: 8px; }
.project-meta .icon { width: 15px; height: 15px; color: var(--blue); margin-top: 4px; }
.project-body p { font-size: .95rem; line-height: 1.7; }
.project-body .link-arrow { margin-top: auto; }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.project-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); margin-bottom: 34px; }
.project-overview p, p.project-overview { font-size: 1.02rem; line-height: 1.85; margin-bottom: 14px; }
.block-title { font-size: 1.35rem; font-weight: 700; margin: 36px 0 18px; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.result-card { background: linear-gradient(160deg, #0A64B8 0%, #163C6E 100%); color: var(--white); border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.result-card:nth-child(even) { background: var(--light); color: var(--heading); }
.result-card strong { font-family: var(--font-head); font-size: 1.9rem; line-height: 1.1; }
.result-card span { font-size: .88rem; line-height: 1.45; opacity: .92; }
.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow); background: var(--white); }
.indicator-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .93rem; }
.indicator-table th { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); text-align: left; font-weight: 600; padding: 14px 16px; }
.indicator-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--heading); vertical-align: middle; }
.indicator-table tr:last-child td { border-bottom: 0; }
.indicator-table tr:nth-child(even) td { background: #F8FAFD; }
.indicator-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.perf { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.perf-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--blue-tint); overflow: hidden; }
.perf-fill { display: block; height: 100%; border-radius: 8px; background: var(--blue); }
.perf-fill.is-met { background: var(--green); }
.perf-fill.is-low { background: var(--red); }
.perf b { font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.story-box { margin-top: 40px; background: var(--light); border-radius: 22px; padding: 34px; border-left: 5px solid var(--red); }
.story-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.story-box blockquote { margin: 18px 0 0; padding: 18px 22px; background: var(--white); border-radius: 14px; }
.story-box blockquote p { font-style: italic; font-size: 1.02rem; color: var(--heading); }
.story-box cite { display: block; margin-top: 8px; font-style: normal; font-size: .88rem; color: var(--blue); font-weight: 500; }

.project-side { display: grid; gap: 24px; position: sticky; top: 110px; }
.side-card { background: var(--white); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.12rem; font-weight: 700; padding-bottom: 12px; margin-bottom: 16px; position: relative; }
.side-card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--red); }
.info-list { margin: 0; display: grid; gap: 14px; }
.info-list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #8C99AD; }
.info-list dd { margin: 3px 0 0; color: var(--heading); font-size: .95rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.related-list a { display: flex; gap: 10px; align-items: flex-start; color: var(--heading); font-size: .93rem; line-height: 1.45; }
.related-list a:hover { color: var(--blue); }
.related-list .icon { width: 12px; height: 12px; color: var(--red); margin-top: 5px; flex: none; }
.side-cta { background: linear-gradient(160deg, #0A64B8 0%, #163C6E 100%); color: var(--white); }
.side-cta h3 { color: var(--white); }
.side-cta p { color: rgba(255, 255, 255, .9); margin-bottom: 18px; font-size: .95rem; }

@media (max-width: 1024px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .project-layout { grid-template-columns: minmax(0, 1fr); }
    .project-side { position: static; grid-template-columns: repeat(2, 1fr); }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .project-grid, .project-side { grid-template-columns: 1fr; }
    .tab { padding: 9px 16px; font-size: .88rem; }
    .story-box { padding: 24px 20px; }
    .result-card strong { font-size: 1.5rem; }
}

/* =========================================================
   Publications page
   ========================================================= */
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.doc-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #0A64B8 0%, #163C6E 100%); color: var(--white); }
.doc-cover.cat-audit { background: linear-gradient(135deg, #1E5494 0%, #0F2B49 100%); }
.doc-cover.cat-annual { background: linear-gradient(135deg, #3E9A32 0%, #1F6A1A 100%); }
.doc-cover.cat-other { background: linear-gradient(135deg, #E22426 0%, #A5181A 100%); }
.doc-cover::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); right: -90px; top: -90px; }
.doc-cover img { width: 100%; height: 100%; object-fit: cover; }
.doc-icon { width: 76px; height: 76px; border-radius: 20px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.doc-icon .icon { width: 38px; height: 38px; }
.doc-year { position: absolute; left: 18px; bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; opacity: .9; }
.doc-type { position: absolute; top: 14px; right: 14px; background: var(--white); color: var(--blue); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; }
.doc-card.is-pending .doc-type { background: #FFF4E5; color: #B26A00; }
.doc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.doc-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.doc-body p { font-size: .95rem; line-height: 1.7; }
.doc-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.doc-actions .btn .icon { width: 15px; height: 15px; }
.doc-size { font-size: .82rem; color: #8C99AD; }
.doc-pending { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: #B26A00; background: #FFF4E5; padding: 8px 14px; border-radius: 10px; }
.doc-pending .icon { width: 15px; height: 15px; }
@media (max-width: 1024px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .doc-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Policies page
   ========================================================= */
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.policy-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s; border-top: 4px solid transparent; }
.policy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--blue); }
.policy-card:target { border-top-color: var(--red); box-shadow: 0 0 0 3px rgba(226, 36, 38, .25), var(--shadow-lg); }
.policy-card .value-icon { margin-bottom: 6px; }
.policy-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.policy-card p { font-size: .92rem; line-height: 1.65; }
.policy-actions { margin-top: auto; padding-top: 8px; }
.policy-actions .link-arrow .icon:first-child { width: 15px; height: 15px; }
.policy-request { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--blue); background: var(--blue-tint); padding: 7px 14px; border-radius: 30px; }
.policy-request .icon { width: 14px; height: 14px; }

.report-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; position: relative; }
.report-step { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), #B51C1E); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; box-shadow: 0 8px 18px rgba(226, 36, 38, .3); }
.report-step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.report-step p { font-size: .93rem; line-height: 1.65; }
.report-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 30px auto 0; }
.report-contact div { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: linear-gradient(160deg, #0A64B8 0%, #163C6E 100%); color: var(--white); border-radius: 16px; padding: 18px 20px; }
.report-contact .icon { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .15); }
.report-contact span { font-size: .8rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.report-contact strong { font-size: .98rem; word-break: break-word; }

@media (max-width: 1100px) { .policy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .report-steps, .report-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .policy-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Annual Reports – infographic
   ========================================================= */
.infographic { max-width: 1080px; margin: 0 auto; background: var(--white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ig-head { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding: 44px 48px; background: linear-gradient(135deg, #0A64B8 0%, #163C6E 100%); color: var(--white); }
.ig-head::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); right: -120px; top: -150px; }
.ig-eyebrow { display: inline-block; background: var(--red); color: var(--white); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 30px; margin-bottom: 14px; }
.ig-head h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
.ig-head .rich-text p { color: rgba(255, 255, 255, .9); margin: 10px 0 0; font-size: 1rem; }
.ig-summary { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ig-summary div { background: rgba(255, 255, 255, .12); border-radius: 16px; padding: 18px 12px; text-align: center; }
.ig-summary strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.ig-summary span { font-size: .8rem; opacity: .9; line-height: 1.3; display: block; margin-top: 4px; }

.ig-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-bottom: 1px solid var(--border); }
.ig-stat { background: var(--white); padding: 28px 22px; display: flex; flex-direction: column; gap: 6px; }
.ig-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.ig-stat:nth-child(4n+2) .ig-icon { background: #FDECEC; color: var(--red); }
.ig-stat:nth-child(4n+3) .ig-icon { background: #EAF6E8; color: var(--green); }
.ig-icon .icon { width: 22px; height: 22px; }
.ig-stat strong { font-family: var(--font-head); font-size: 2.1rem; line-height: 1.05; color: var(--heading); font-variant-numeric: tabular-nums; }
.ig-stat h4 { font-size: .95rem; font-weight: 600; line-height: 1.35; }
.ig-stat span { font-size: .8rem; color: #8C99AD; }

.ig-bars { padding: 36px 48px 30px; }
.ig-bars h3 { font-size: 1.3rem; font-weight: 700; }
.ig-note { font-size: .85rem; color: #8C99AD; margin: 4px 0 22px; }
.bar-list { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 260px minmax(0, 1fr) 56px; gap: 16px; align-items: center; }
.bar-label { font-size: .92rem; color: var(--heading); }
.bar-track { position: relative; height: 22px; border-radius: 8px; background: var(--light); }
.bar-track::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: var(--target); border-left: 2px dashed #8C99AD; }
.bar-fill { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--sky, #3E8FDA)); }
.bar-fill.is-met { background: linear-gradient(90deg, #3E9A32, #5DBB4F); }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--heading); }

.ig-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 48px; background: var(--light); font-size: .88rem; }
.ig-foot span { display: inline-flex; align-items: center; gap: 8px; }
.ig-foot .icon { width: 16px; height: 16px; color: var(--blue); }
.ig-foot .btn .icon { color: var(--white); }

@media (max-width: 900px) {
    .ig-head { grid-template-columns: 1fr; padding: 34px 28px; }
    .ig-stats { grid-template-columns: repeat(2, 1fr); }
    .ig-bars, .ig-foot { padding-left: 28px; padding-right: 28px; }
    .bar-row { grid-template-columns: minmax(0, 1fr) 50px; row-gap: 6px; }
    .bar-label { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .ig-stat { padding: 22px 16px; }
    .ig-stat strong { font-size: 1.6rem; }
    .ig-summary strong { font-size: 1.6rem; }
}

/* =========================================================
   Careers page
   ========================================================= */
.list-title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; max-width: 980px; margin-inline: auto; }
.job-list { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.job-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); border-left: 5px solid var(--blue); transition: transform .3s, box-shadow .3s; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.job-type { display: inline-block; background: var(--blue-tint); color: var(--blue); font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; margin-bottom: 8px; }
.job-main h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.job-main h3 a { color: var(--heading); }
.job-main h3 a:hover { color: var(--blue); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 8px; }
.job-main p { font-size: .95rem; line-height: 1.65; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.days-left { display: inline-block; background: #EAF6E8; color: #2F7D25; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; }
.days-left.is-soon { background: #FDECEC; color: var(--red); }
.notice-closed { display: flex; gap: 10px; align-items: center; background: #FDECEC; color: var(--red); font-weight: 500; padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; }
.notice-closed .icon { width: 18px; height: 18px; }
.apply-box { border-left-color: var(--blue); }
.apply-email { font-weight: 700; font-size: 1.05rem; word-break: break-word; color: var(--white) !important; }
.back-link .icon { width: 14px; height: 14px; }
@media (max-width: 760px) {
    .job-card { grid-template-columns: 1fr; padding: 22px; }
    .job-side { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =========================================================
   JOB PORTAL (applicant side)
   ========================================================= */
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.topbar-portal { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; background: rgba(255,255,255,.14); padding: 3px 12px; border-radius: 30px; }
.topbar-portal:hover { background: rgba(255,255,255,.26); }
.topbar-portal .icon { width: 14px; height: 14px; }
.inline-form { display: inline; margin: 0; }

/* Alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-size: .93rem; line-height: 1.55; border: 1px solid transparent; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert a { font-weight: 700; }
.alert-success { background: #ECF7E9; border-color: #CBE8C3; color: #2D6A22; }
.alert-error   { background: #FDECEC; border-color: #F6C6C7; color: #A51C1E; }
.alert-info    { background: var(--blue-tint); border-color: #C9DCF4; color: #124E8C; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field legend { font-weight: 700; font-size: .88rem; color: var(--heading); display: block; padding: 0; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: .95rem; color: var(--heading); background: var(--white);
    border: 1.5px solid #D5DFEC; border-radius: 12px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13, 98, 181, .12); }
.field input:disabled { background: #F3F6FA; color: #8C99AD; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: .82rem; font-weight: 500; }
.field-hint { color: #8C99AD; font-size: .8rem; }
.field-link { font-weight: 500; font-size: .82rem; float: right; }
.req { color: var(--red); }
.opt { color: #8C99AD; font-weight: 400; }
.field.check-field > label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; justify-content: flex-start; font-size: .9rem; color: var(--text); }
.check-field input { width: 18px; height: 18px; padding: 0; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Login / register */
.portal-section { padding: 60px 0 80px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.auth-narrow { grid-template-columns: minmax(0, 520px); justify-content: center; }
.auth-card { background: var(--white); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-lead { margin-bottom: 22px; }
.auth-foot { margin-top: 18px; text-align: center; font-size: .9rem; }
.auth-aside { background: linear-gradient(150deg, var(--blue), var(--blue-2)); color: rgba(255,255,255,.9); border-radius: var(--radius); padding: 34px; position: relative; overflow: hidden; }
.auth-aside h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 22px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.how-steps li { display: flex; gap: 14px; }
.how-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.35); color: var(--white); font-weight: 700; display: grid; place-items: center; flex: none; }
.how-steps strong { display: block; color: var(--white); }
.auth-note { display: flex; gap: 10px; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: .88rem; }
.auth-note .icon { width: 20px; height: 20px; color: var(--blue-soft); }

/* Account bar */
.acc-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); margin-bottom: 24px; }
.acc-hello { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acc-hello strong { display: block; color: var(--heading); line-height: 1.3; }
.acc-hello span { font-size: .84rem; overflow-wrap: anywhere; }
.acc-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); font-weight: 700; display: grid; place-items: center; flex: none; }
.acc-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-nav a, .acc-nav button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 500; font-size: .9rem; color: var(--heading); background: none; border: 0; padding: 9px 14px; border-radius: 30px; cursor: pointer; }
.acc-nav a .icon, .acc-nav button .icon { width: 17px; height: 17px; color: var(--blue); }
.acc-nav a:hover, .acc-nav button:hover { background: var(--light); }
.acc-nav a.is-active { background: var(--blue); color: var(--white); }
.acc-nav a.is-active .icon { color: var(--white); }

.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.portal-main { display: grid; gap: 24px; min-width: 0; }
.portal-side { display: grid; gap: 20px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.panel-title .icon { width: 22px; height: 22px; color: var(--blue); }
.panel-title-gap { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--border); }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 10px; list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone .form { margin-top: 16px; }

/* Profile strength ring + CV */
.completion-card { text-align: center; }
.completion-card h3::after { left: 50%; transform: translateX(-50%); }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; margin: 4px auto 14px; display: grid; place-items: center;
        background: radial-gradient(closest-side, var(--white) 78%, transparent 80% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), #E6EDF6 0); }
.ring span { font-size: 1.6rem; font-weight: 700; color: var(--heading); }
.cv-card { display: grid; gap: 12px; }
.cv-card h3 { margin-bottom: 4px; }
.cv-current { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--light); }
.cv-current > div { flex: 1; min-width: 0; }
.cv-current strong { display: block; color: var(--heading); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-current span { font-size: .8rem; }
.cv-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--white); color: var(--red); display: grid; place-items: center; flex: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: var(--white); flex: none; }
.icon-btn:hover { background: var(--blue); color: var(--white); }
.icon-btn .icon { width: 18px; height: 18px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #C3D3E8; border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.is-filled { border-color: var(--blue); background: var(--blue-tint); }
.file-drop.has-error { border-color: var(--red); }
.file-drop > .icon { width: 28px; height: 28px; color: var(--blue); }
.file-drop-text { font-size: .82rem; min-width: 0; overflow-wrap: anywhere; }
.file-drop-text strong { display: block; color: var(--heading); font-size: .92rem; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Apply form */
.cv-choice { display: grid; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #D5DFEC; border-radius: 14px; cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.choice input { width: 18px; height: 18px; padding: 0; margin-top: 3px; accent-color: var(--blue); flex: none; }
.choice strong { display: block; color: var(--heading); }
.choice span { font-size: .86rem; color: var(--text); }
.cv-new-input { display: none; }
.cv-choice:has(input[value="new"]:checked) .cv-new-input { display: block; }
.applicant-mini p { font-size: .92rem; margin-bottom: 8px; }

/* Dashboard */
.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.mini-stat { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.mini-stat strong { display: block; font-size: 1.5rem; color: var(--heading); line-height: 1.1; }
.mini-stat span { font-size: .84rem; }
.mini-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.mini-icon.is-green { background: #ECF7E9; color: var(--green); }
.mini-icon.is-red { background: #FDECEC; color: var(--red); }
.mini-icon .icon { width: 22px; height: 22px; }

.app-card { background: var(--white); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); scroll-margin-top: 120px; }
.app-card:target { box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow); }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.app-head h3 { font-size: 1.15rem; margin-bottom: 6px; }
.app-head h3 a { color: var(--heading); }
.app-head h3 a:hover { color: var(--blue); }
.app-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.text-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 500; color: var(--red); cursor: pointer; }
.text-btn:hover { text-decoration: underline; }

.status-badge { display: inline-flex; align-items: center; white-space: nowrap; font-size: .76rem; font-weight: 700; padding: 5px 12px; border-radius: 30px; letter-spacing: .02em; }
.st-received    { background: #EAF2FC; color: #0D62B5; }
.st-shortlisted { background: #FFF4DB; color: #9A6200; }
.st-interview   { background: #F0E9FC; color: #6236B5; }
.st-hired       { background: #E4F4E0; color: #2D7A1F; }
.st-rejected    { background: #FDECEC; color: #B4211F; }
.st-withdrawn   { background: #EEF0F3; color: #6B7280; }
.st-message     { background: #EEF0F3; color: #374151; }

.progress-steps { list-style: none; margin: 22px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.progress-steps li { position: relative; text-align: center; font-size: .78rem; font-weight: 500; color: #8C99AD; padding-top: 40px; }
.progress-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: #E2E9F3; z-index: 0; }
.progress-steps li:first-child::before { display: none; }
.progress-steps li > span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2.5px solid #D5DFEC; display: grid; place-items: center; font-weight: 700; z-index: 1; color: #8C99AD; font-size: .82rem; }
.progress-steps li > span .icon { width: 15px; height: 15px; }
.progress-steps li.is-done, .progress-steps li.is-current { color: var(--heading); }
.progress-steps li.is-done::before, .progress-steps li.is-current::before { background: var(--green); }
.progress-steps li.is-done > span { background: var(--green); border-color: var(--green); color: var(--white); }
.progress-steps li.is-current > span { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px rgba(13, 98, 181, .12); }
.progress-steps.is-rejected li:last-child > span { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: none; }

.app-message { margin-top: 18px; background: var(--light); border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; padding: 14px 18px; }
.app-message.is-muted { border-left-color: #C5CEDA; }
.app-message-label { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 6px; }
.app-message-label .icon { width: 15px; height: 15px; }
.app-message p { font-size: .93rem; color: var(--heading); }
.app-history { margin-top: 12px; font-size: .88rem; }
.app-history summary { cursor: pointer; color: var(--blue); font-weight: 500; }
.app-history ul { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--border); display: grid; gap: 14px; }
.app-history time { display: block; font-size: .78rem; color: #8C99AD; margin-bottom: 4px; }
.app-history p { margin-top: 6px; }

.side-jobs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
.side-jobs a { display: block; padding: 10px 12px; border-radius: 12px; }
.side-jobs a:hover { background: var(--light); }
.side-jobs strong { display: block; color: var(--heading); font-size: .92rem; line-height: 1.35; }
.side-jobs span { font-size: .8rem; color: var(--text); }
.status-help { margin: 0; display: grid; gap: 12px; }
.status-help dd { margin: 4px 0 0; font-size: .84rem; line-height: 1.5; }

/* Careers page additions */
.portal-strip { max-width: 980px; margin-inline: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--white); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow); margin-bottom: 36px; border-left: 5px solid var(--green); }
.portal-strip-icon { width: 52px; height: 52px; border-radius: 16px; background: #ECF7E9; color: var(--green); display: grid; place-items: center; flex: none; }
.portal-strip-icon .icon { width: 26px; height: 26px; }
.portal-strip-text { flex: 1; min-width: 220px; }
.portal-strip-text strong { display: block; color: var(--heading); font-size: 1.05rem; }
.portal-strip-text span { font-size: .92rem; }
.portal-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.job-type.is-online { background: #ECF7E9; color: #2D7A1F; display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; }
.job-type.is-online .icon { width: 12px; height: 12px; }
.side-cta-small { margin-top: 12px; font-size: .86rem; }
.side-cta-small a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.side-cta-small a:hover { color: var(--blue-soft); }
.how-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: how; }
.how-row li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; }
.how-num { position: absolute; top: 14px; right: 18px; font-size: 2.2rem; font-weight: 700; color: var(--blue-tint); line-height: 1; }
.how-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); display: grid; place-items: center; margin: 0 auto 16px; }
.how-icon .icon { width: 26px; height: 26px; }
.how-row h4 { font-size: 1.05rem; margin-bottom: 6px; }
.how-row p { font-size: .92rem; }

@media (max-width: 1024px) {
    .portal-grid, .auth-layout { grid-template-columns: minmax(0, 1fr); }
    .auth-narrow { grid-template-columns: minmax(0, 520px); }
    .mini-stats, .how-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .form-grid, .form-grid.three { grid-template-columns: minmax(0, 1fr); }
    .auth-card, .panel { padding: 24px 20px; }
    .app-card { padding: 22px 18px; }
    .app-head { flex-direction: column-reverse; gap: 10px; }
    .progress-steps li { font-size: .66rem; }
    .acc-nav { width: 100%; }
    .acc-nav a, .acc-nav button { padding: 8px 10px; font-size: .84rem; }
    .mini-stat { padding: 14px; gap: 10px; }
    .mini-icon { width: 38px; height: 38px; }
    .how-row { grid-template-columns: minmax(0, 1fr); }
    .topbar-portal { order: -1; }
}
.portal-main .list-title { text-align: left; justify-content: flex-start; margin: 0; }
.field > label.choice { display: flex; padding: 14px 16px; font-weight: 400; }

/* =========================================================
   JOB PORTAL HOME (jobs.php) and the separate menu button
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.main-nav > ul > li.nav-cta { margin-left: 6px; }
.main-nav > ul > li.nav-cta > a { background: var(--red); color: var(--white); padding: 10px 18px; border-radius: 40px; gap: 7px; box-shadow: 0 8px 20px rgba(226, 36, 38, .28); transition: background .2s, transform .2s; }
.main-nav > ul > li.nav-cta > a .icon { width: 15px; height: 15px; }
.main-nav > ul > li.nav-cta > a::after { display: none; }
.main-nav > ul > li.nav-cta > a:hover { color: var(--white); background: #C91D1F; transform: translateY(-2px); }
.main-nav > ul > li.nav-cta > a.active { color: var(--white); background: var(--blue); box-shadow: 0 8px 20px rgba(13, 98, 181, .3); }

.jp-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 55%, var(--blue-dark) 100%); color: var(--white); padding: 70px 0 80px; }
.jp-hero::before, .jp-hero::after { content: ""; position: absolute; border-radius: 50%; border: 70px solid rgba(255,255,255,.05); pointer-events: none; }
.jp-hero::before { width: 520px; height: 520px; left: -220px; top: -200px; }
.jp-hero::after { width: 620px; height: 620px; right: -260px; bottom: -330px; }
.jp-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; }
.jp-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 6px 14px; border-radius: 30px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.jp-kicker .icon { width: 15px; height: 15px; }
.jp-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 12px; }
.jp-hero-text > p { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 600px; }
.jp-search { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; background: var(--white); padding: 8px; border-radius: 18px; margin-top: 28px; box-shadow: 0 20px 45px rgba(0,0,0,.18); }
.jp-search-field { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--light); min-width: 0; }
.jp-search-field .icon { width: 17px; height: 17px; color: var(--blue); }
.jp-search-field input, .jp-search-field select { border: 0; background: none; font: inherit; font-size: .92rem; color: var(--heading); padding: 13px 0; width: 100%; min-width: 0; outline: none; }
.jp-search .btn { padding: 12px 24px; border-radius: 12px; justify-content: center; }
.jp-hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 24px 0 0; padding: 0; font-size: .92rem; color: rgba(255,255,255,.8); }
.jp-hero-stats strong { color: var(--white); font-size: 1.15rem; margin-right: 4px; }

.jp-account { background: var(--white); color: var(--text); border-radius: 22px; padding: 28px; box-shadow: 0 25px 60px rgba(0,0,0,.25); border-top: 5px solid var(--red); }
.jp-account h2 { font-size: 1.3rem; margin-bottom: 16px; }
.jp-login { gap: 14px; }
.jp-account-new { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; text-align: center; font-size: .9rem; }
.jp-account-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.jp-account-head span { display: block; font-size: .82rem; }
.jp-account-head strong { display: block; color: var(--heading); font-size: 1.08rem; }
.jp-account-note { font-size: .92rem; margin-bottom: 16px; }
.jp-myapps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.jp-myapps a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--light); color: var(--heading); font-size: .88rem; font-weight: 500; }
.jp-myapps a span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jp-account-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-weight: 500; font-size: .9rem; }
.jp-account-link .icon { width: 16px; height: 16px; }

.jp-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 980px; margin: 0 auto 22px; }
.jp-list-head h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.jp-fair { display: block; text-align: center; margin-top: 36px; font-size: .92rem; }
.jp-fair .icon { width: 19px; height: 19px; color: var(--green); vertical-align: -4px; margin-right: 8px; }

@media (max-width: 1280px) {
    .main-nav > ul > li > a { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 1200px) {
    .main-nav > ul > li.nav-cta { margin: 14px 0 4px; }
    .main-nav > ul > li.nav-cta > a { justify-content: center; border-bottom: 0; padding: 13px 18px; }
}
@media (max-width: 1024px) {
    .jp-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .jp-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .jp-search-q { grid-column: 1 / -1; }
    .jp-search .btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .jp-hero { padding: 48px 0 56px; }
    .jp-search { grid-template-columns: minmax(0, 1fr); }
    .jp-account { padding: 22px 18px; }
}

/* =========================================================
   TENDERS, FIELD STORIES, GALLERY, CONTACT, 404
   ========================================================= */
.careers-note { padding: 34px 0; }
.careers-note .jp-fair { margin: 0; }
.days-left.is-closed { background: #EEF0F3; color: #6B7280; }
.job-card.is-closed { opacity: .8; }
.doc-pending { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.doc-pending .icon { width: 16px; height: 16px; color: var(--blue); }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--heading); font-weight: 700; box-shadow: var(--shadow); padding: 0 8px; }
.pager a .icon { width: 16px; height: 16px; }
.pager a:hover { color: var(--blue); }
.pager a.is-active { background: var(--blue); color: var(--white); }

/* Story page */
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.story-article .news-date { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.story-article .news-date .icon { width: 15px; height: 15px; }
.story-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 16px; }
.story-lead { font-size: 1.15rem; line-height: 1.8; color: var(--heading); border-left: 4px solid var(--red); padding-left: 18px; margin-bottom: 26px; }
.story-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--light); }
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-body { font-size: 1.02rem; line-height: 1.9; }
.story-body p + p { margin-top: 16px; }
.story-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 32px 0 20px; padding-top: 22px; border-top: 1px solid var(--border); font-weight: 700; color: var(--heading); }
.story-share span { margin-right: 6px; }
.story-share .social-circle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.story-share .social-circle:hover { background: var(--blue); color: var(--white); }
.story-share .social-circle .icon { width: 16px; height: 16px; }
.side-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side-stories a { display: grid; grid-template-columns: 78px 1fr; gap: 12px; align-items: center; color: var(--heading); }
.side-stories a:hover strong { color: var(--blue); }
.side-thumb { display: block; width: 78px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--light); }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-stories strong { display: block; font-size: .88rem; line-height: 1.4; }
.side-stories small { display: block; font-size: .76rem; color: var(--text); margin-top: 3px; }
.news-more { align-items: center; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery-item { margin: 0; }
.gallery-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--light); border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 45, 85, .45); color: var(--white); opacity: 0; transition: opacity .3s; }
.gallery-zoom .icon { width: 30px; height: 30px; }
.gallery-open:hover img, .gallery-open:focus-visible img { transform: scale(1.06); }
.gallery-open:hover .gallery-zoom, .gallery-open:focus-visible .gallery-zoom { opacity: 1; }
.gallery-item figcaption { font-size: .84rem; margin-top: 8px; color: var(--text); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 18, 34, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lb-figure img { max-height: 78vh; max-width: 100%; margin: 0 auto; border-radius: 8px; object-fit: contain; }
.lb-figure figcaption { color: rgba(255,255,255,.85); margin-top: 14px; font-size: .95rem; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: var(--white); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close .icon, .lb-nav .icon { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); text-align: center; }
.contact-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.contact-icon .icon { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.contact-card p { font-size: .95rem; overflow-wrap: anywhere; }
.contact-card p + p { margin-top: 4px; }
.contact-sub { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .86rem !important; margin-top: 10px !important; color: #7A8494; }
.contact-sub .icon { width: 14px; height: 14px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-form { margin-top: 22px; }
.contact-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-top: 22px; }
.contact-note .icon { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.contact-map { display: grid; gap: 14px; }
.contact-map iframe { width: 100%; height: 460px; border: 0; border-radius: var(--radius); background: var(--light); box-shadow: var(--shadow); }

/* 404 */
.notfound { padding: 100px 0; }
.notfound-inner { text-align: center; max-width: 720px; }
.notfound-code { display: block; font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; color: var(--blue-tint); -webkit-text-stroke: 2px var(--blue); }
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 18px 0 12px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

@media (max-width: 1024px) {
    .story-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gallery-open { border-radius: 10px; }
    .lightbox { padding: 60px 10px; }
    .lb-nav { top: auto; bottom: 16px; transform: none; }
    .contact-map iframe { height: 320px; }
}

/* =========================================================
   WHISTLEBLOWING – classic (formal, paper-style) report form
   ========================================================= */
.wb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.wb-main { display: grid; gap: 22px; min-width: 0; }
.wb-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--heading); }
.wb-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-weight: 700; font-size: .92rem; color: var(--text); border: 1px solid transparent; border-bottom: 0; margin-bottom: -2px; }
.wb-tabs a .icon { width: 16px; height: 16px; }
.wb-tabs a.is-active { background: var(--white); color: var(--heading); border-color: var(--heading); border-bottom: 2px solid var(--white); }

.wb-paper { background: var(--white); border: 1px solid #C9CFD8; box-shadow: 0 1px 0 #C9CFD8, 0 14px 30px rgba(16, 45, 90, .06); }
.wb-paper-head { text-align: center; padding: 26px 30px 20px; border-bottom: 3px double var(--heading); position: relative; }
.wb-paper-head > span { position: absolute; top: 14px; right: 16px; border: 2px solid var(--red); color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 3px 8px; transform: rotate(-4deg); }
.wb-paper-head h2 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em; }
.wb-paper-head p { font-size: .82rem; margin-top: 4px; color: #6B7280; letter-spacing: .04em; }
.wb-paper-body { padding: 24px 30px 10px; }
.wb-paper-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 30px; border-top: 1px solid #C9CFD8; background: #F7F8FA; }
.wb-paper .btn { border-radius: 3px; }
.wb-note { font-size: .88rem; font-style: italic; margin-bottom: 18px; }
.wb-small { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #6B7280; }
.wb-small .icon { width: 14px; height: 14px; }

.wb-fieldset { border: 1px solid #C9CFD8; padding: 0; margin: 0 0 22px; }
.wb-fieldset legend { margin-left: 14px; padding: 0 8px; font-weight: 700; font-size: .95rem; color: var(--heading); text-transform: uppercase; letter-spacing: .05em; }
.wb-fieldset legend span { display: inline-block; background: var(--heading); color: var(--white); font-size: .7rem; letter-spacing: .1em; padding: 2px 8px; margin-right: 10px; vertical-align: 2px; }
.wb-fieldset legend em { text-transform: none; font-weight: 400; color: #6B7280; letter-spacing: 0; }
.wb-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-bottom: 1px solid #E3E6EB; }
.wb-row:last-child { border-bottom: 0; }
.wb-label { padding: 12px 14px; background: #F7F8FA; border-right: 1px solid #E3E6EB; font-size: .86rem; font-weight: 700; color: var(--heading); }
.wb-value { padding: 8px 12px; display: grid; gap: 4px; align-content: center; min-width: 0; }
.wb-value input:not([type=radio]):not([type=checkbox]):not([type=file]), .wb-value select, .wb-value textarea {
    width: 100%; font: inherit; font-size: .93rem; color: var(--heading); background: var(--white);
    border: 0; border-bottom: 1px dashed #9AA3B2; border-radius: 0; padding: 7px 2px; outline: none;
}
.wb-value textarea { border: 1px solid #C9CFD8; padding: 10px; line-height: 1.6; resize: vertical; background: repeating-linear-gradient(#fff, #fff 27px, #EEF1F5 28px); }
.wb-value input:focus, .wb-value select:focus, .wb-value textarea:focus { border-color: var(--blue); border-bottom-style: solid; background-color: #FBFDFF; }
.wb-value input[type=file] { font: inherit; font-size: .88rem; }
.wb-row-full { grid-template-columns: minmax(0, 1fr); }
.wb-row-full .wb-label { border-right: 0; border-bottom: 1px solid #E3E6EB; }
.wb-row.has-error .wb-label { color: var(--red); }
.wb-row.has-error input, .wb-row.has-error select, .wb-row.has-error textarea { border-color: var(--red); }
.wb-choices { gap: 6px; }
.wb-choices label { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--heading); cursor: pointer; }
.wb-choices input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--heading); flex: none; }
.wb-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.wb-identity { display: none; border-top: 1px solid #E3E6EB; }
.wb-fieldset:has(input[name="anonymous"][value="0"]:checked) .wb-identity { display: block; }
.wb-declare { padding: 14px 16px; }
.wb-declare label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--heading); }
.wb-declare input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--heading); flex: none; }
.wb-declare.has-error label { color: var(--red); }

.wb-receipt { background: #F2F8EF; border: 1px solid #BFDDB5; border-left: 5px solid var(--green); padding: 22px 24px; }
.wb-receipt h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 8px; color: #2D6A22; }
.wb-receipt h2 .icon { width: 22px; height: 22px; }
.wb-receipt dl { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0; }
.wb-receipt dl div { background: var(--white); border: 1px dashed #8DBF7F; padding: 10px 16px; min-width: 200px; }
.wb-receipt dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #6B7280; font-weight: 700; }
.wb-receipt dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: .08em; color: var(--heading); font-family: "Courier New", monospace; }
.wb-status { border: 1px solid #C9CFD8; margin-bottom: 20px; }
.wb-badge { display: inline-block; padding: 3px 10px; font-size: .8rem; font-weight: 700; border: 1px solid currentColor; }
.wb-received { color: var(--blue); } .wb-review { color: #9A6200; } .wb-closed { color: #2D7A1F; }
#track .wb-paper-body > .wb-row { border: 1px solid #C9CFD8; border-bottom: 0; }
#track .wb-paper-body > .wb-row:last-of-type { border-bottom: 1px solid #C9CFD8; margin-bottom: 14px; }

.wb-side { display: grid; gap: 20px; }
.wb-list li { font-size: .9rem; }
.wb-side-text { font-size: .92rem; margin-bottom: 12px; }
.wb-side .side-cta p { display: flex; align-items: center; gap: 8px; font-size: .92rem; overflow-wrap: anywhere; }
.wb-side .side-cta p .icon { width: 16px; height: 16px; flex: none; }
.wb-emergency { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; background: #FDECEC; color: #8E1B1D; padding: 14px 16px; border-radius: 12px; }
.wb-emergency .icon { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.topbar-wb { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1024px) { .wb-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) {
    .wb-row { grid-template-columns: minmax(0, 1fr); }
    .wb-label { border-right: 0; border-bottom: 1px solid #E3E6EB; padding: 9px 12px; }
    .wb-paper-body, .wb-paper-head, .wb-paper-foot { padding-left: 16px; padding-right: 16px; }
    .wb-paper-head > span { position: static; display: inline-block; margin-bottom: 10px; }
    .wb-tabs a { padding: 10px 12px; font-size: .84rem; }
}

/* =========================================================
   FINAL POLISH: skip link, legal pages, footer legal links
   ========================================================= */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blue); color: var(--white); padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 0; color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, .75); font-size: .85rem; }
.footer-legal a:hover { color: var(--white); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 4px; background: var(--light); border-radius: 16px; padding: 22px; }
.legal-toc strong { color: var(--heading); margin-bottom: 8px; }
.legal-toc a { font-size: .9rem; color: var(--text); padding: 4px 0; }
.legal-toc a:hover { color: var(--blue); }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.3rem; margin: 34px 0 12px; scroll-margin-top: 110px; }
.legal-body h2:first-of-type { margin-top: 10px; }
.legal-body p, .legal-body li { font-size: 1rem; line-height: 1.85; }
.legal-body ul { padding-left: 22px; margin: 10px 0; }
.legal-updated { font-size: .88rem !important; color: #7A8494; }
.form-actions .field-hint a { font-weight: 500; }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } .footer-bottom { justify-content: center; text-align: center; } }
@media print {
    .topbar, .site-header, .site-footer, .back-to-top, .cta-band, .skip-link { display: none !important; }
    .page-banner { background: none !important; color: #000; padding: 20px 0 !important; }
    .page-banner .page-banner-title { color: #000; }
    body { font-size: 12pt; }
}

/* =========================================================
   NEWSLETTERS
   ========================================================= */
.nl-latest { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 40px; }
.nl-latest-body h3 { font-size: 1.5rem; margin: 10px 0; }
.nl-latest-body p { margin-bottom: 18px; }
.nl-badge { display: inline-block; background: #FDECEC; color: var(--red); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 30px; }
.nl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.nl-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.nl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nl-card.is-pending { opacity: .85; }
.nl-cover { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white);
            background: linear-gradient(160deg, var(--blue) 0%, var(--blue-2) 60%, var(--blue-dark) 100%); }
.nl-cover::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--green) 33% 66%, var(--red) 66%); }
.nl-cover::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 26px solid rgba(255,255,255,.06); right: -25%; bottom: -15%; }
.nl-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-cover-lg { border-radius: 12px; box-shadow: 0 18px 40px rgba(16, 45, 90, .25); }
.nl-mast { position: relative; z-index: 1; text-align: center; font-weight: 700; font-size: 1.6rem; letter-spacing: .12em; line-height: 1.1; }
.nl-mast small { display: block; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; opacity: .85; margin-top: 6px; }
.nl-issue { position: absolute; z-index: 1; bottom: 18px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: .95rem; letter-spacing: .1em; }
.nl-cover .doc-type { z-index: 2; }
.nl-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nl-body h3 { font-size: 1rem; line-height: 1.35; }
.nl-body p { font-size: .88rem; }
.nl-body .doc-actions { margin-top: auto; display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
@media (max-width: 1100px) { .nl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .nl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .nl-latest { grid-template-columns: minmax(0, 1fr); } .nl-latest .nl-cover { max-width: 240px; } }
@media (max-width: 420px) { .nl-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   WHISTLEBLOWING – red identity
   ========================================================= */
:root { --wb-red: #C8102E; --wb-red-dark: #8E0F22; --wb-red-soft: #FDECEE; --wb-red-line: #F4C7CE; }

/* Top bar link */
.topbar .topbar-wb { background: var(--red); color: var(--white); padding: 3px 12px 3px 10px; border-radius: 30px; font-weight: 700; }
.topbar .topbar-wb:hover { background: var(--wb-red-dark); color: var(--white); }
.topbar .topbar-wb .icon { color: var(--white); }

/* Red page banner */
.page-banner.banner-red { background: linear-gradient(135deg, #E22426 0%, var(--wb-red) 45%, var(--wb-red-dark) 100%); }
.page-banner.banner-red .breadcrumb a { color: rgba(255, 255, 255, .8); }

/* Page background and tabs */
.wb-section { background: linear-gradient(180deg, var(--wb-red-soft) 0, #FFF7F8 340px, var(--white) 100%); }
.wb-tabs { border-bottom-color: var(--wb-red); }
.wb-tabs a.is-active { color: var(--wb-red); border-color: var(--wb-red); }
.wb-tabs a:hover { color: var(--wb-red); }

/* The report form */
.wb-paper { border-color: var(--wb-red-line); border-top: 6px solid var(--wb-red); }
.wb-paper-head { border-bottom-color: var(--wb-red); background: linear-gradient(180deg, #FFF5F6, var(--white)); }
.wb-paper-head h2 { color: var(--wb-red-dark); }
.wb-fieldset { border-color: var(--wb-red-line); }
.wb-fieldset legend { color: var(--wb-red-dark); }
.wb-fieldset legend span { background: var(--wb-red); }
.wb-label { background: #FFF6F7; border-right-color: var(--wb-red-line); }
.wb-row { border-bottom-color: #F7DDE1; }
.wb-value input:focus, .wb-value select:focus, .wb-value textarea:focus { border-color: var(--wb-red); background-color: #FFFCFC; }
.wb-choices input, .wb-declare input { accent-color: var(--wb-red); }
.wb-paper-foot { background: #FFF6F7; border-top-color: var(--wb-red-line); }
.wb-paper .btn-primary { background: var(--wb-red); box-shadow: 0 10px 24px rgba(200, 16, 46, .28); }
.wb-paper .btn-primary:hover { background: var(--wb-red-dark); }
.wb-received { color: var(--wb-red); }

/* Sidebar */
.wb-side .side-card h3::after { background: var(--wb-red); }
.wb-side .check-icon { background: var(--wb-red); }
.wb-side .side-card .link-arrow { color: var(--wb-red); }
.wb-side .side-cta { background: linear-gradient(160deg, var(--wb-red) 0%, var(--wb-red-dark) 100%); }
.wb-side .side-cta h3::after { background: var(--white); }
.wb-emergency { background: var(--wb-red); color: var(--white); }

/* "Report a Concern" section on the Policies page */
.wb-report-section { background: linear-gradient(180deg, var(--wb-red-soft), #FFF8F9); border-top: 5px solid var(--wb-red); }
.wb-report-section .eyebrow-red { color: var(--wb-red); }
.wb-report-section .step-num { background: linear-gradient(135deg, #E22426, var(--wb-red-dark)); box-shadow: 0 8px 20px rgba(200, 16, 46, .3); }
.wb-report-section .report-step { border-top: 4px solid var(--wb-red); }
.wb-report-section .report-contact div { background: linear-gradient(135deg, var(--wb-red), var(--wb-red-dark)); }

/* Whistleblowing – language choice (English / Kiswahili) */
.wb-lang { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; padding: 14px 18px; background: var(--white); border: 1px solid var(--wb-red-line); border-left: 5px solid var(--wb-red); border-radius: 12px; }
.wb-lang-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; flex: 1 1 280px; font-size: .9rem; line-height: 1.55; color: var(--text); }
.wb-lang-note .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--wb-red); }
.wb-lang-switch { display: inline-flex; padding: 4px; background: var(--wb-red-soft); border: 1px solid var(--wb-red-line); border-radius: 40px; flex: none; }
.wb-lang-switch a { padding: 8px 18px; border-radius: 40px; font-size: .9rem; font-weight: 700; color: var(--wb-red-dark); text-decoration: none; transition: background .2s, color .2s; }
.wb-lang-switch a:hover { background: rgba(200, 16, 46, .1); }
.wb-lang-switch a.is-active { background: var(--wb-red); color: var(--white); box-shadow: 0 4px 12px rgba(200, 16, 46, .3); }
.wb-cta-pair { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-outline-red { background: var(--white); color: var(--wb-red); border: 2px solid var(--wb-red); }
.btn-outline-red:hover { background: var(--wb-red); color: var(--white); }
@media (max-width: 560px) { .wb-lang-switch { width: 100%; } .wb-lang-switch a { flex: 1; text-align: center; } }

/* Slideshow: title and button sit at the bottom-left so the photo stays visible */
.hero-slide { align-items: flex-end; }
.hero-content { padding-top: 40px; padding-bottom: 92px; }
.hero-content .hero-title { font-size: clamp(1.7rem, 3.2vw, 2.8rem); margin-bottom: 22px; max-width: 720px; }
.hero-slide::before { background: linear-gradient(0deg, rgba(15, 25, 42, .72) 0%, rgba(15, 25, 42, .35) 32%, rgba(15, 25, 42, 0) 60%); }
@media (max-width: 600px) { .hero-content { padding-bottom: 76px; } .hero-content .hero-title { font-size: 1.55rem; margin-bottom: 16px; } }

/* Slideshow: plain pictures, no words, no shading */
.hero-plain .hero-slide::before { display: none; }
.hero-plain { min-height: 0; height: clamp(260px, 44vw, 640px); background: #E8EDF3; }
.hero-plain .hero-arrow { background: rgba(15, 25, 42, .35); }
.hero-plain .hero-arrow:hover { background: rgba(15, 25, 42, .6); }
.hero-plain .hero-dot { box-shadow: 0 0 0 1px rgba(15, 25, 42, .35), 0 2px 6px rgba(0, 0, 0, .3); }
.hero-plain .hero-dots { bottom: 22px; }
@media (max-width: 600px) { .hero-plain .hero-arrow { width: 40px; height: 40px; } .hero-plain .hero-arrow.prev { left: 10px; } .hero-plain .hero-arrow.next { right: 10px; } .hero-plain .hero-dots { bottom: 12px; } }

/* Partner logos: grey until hovered */
.partner img { filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner:hover img, .partner:focus-visible img { filter: none; opacity: 1; }

/* Story photos keep their own shape (portrait-friendly); card thumbnails favour the upper part where faces are */
.story-figure { aspect-ratio: auto; }
.story-figure img { height: auto; max-height: 720px; }
.news-image img, .side-thumb img { object-position: center 25%; }

/* Social Norms: text-only page */
.sn-body { max-width: 820px; }
.sn-page:not(.legal) .sn-body { margin: 0 auto; }
.sn-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 6px 0 26px; }
.sn-body .legal-body h3 { font-size: 1.3rem; margin: 34px 0 12px; padding-top: 6px; scroll-margin-top: 110px; color: var(--heading); }
.sn-body .legal-body h3:first-child { margin-top: 0; }
.sn-body .legal-body ul { margin-bottom: 18px; }
.sn-body .legal-body li { margin-bottom: 8px; }
.sn-more { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border, #E5E9F0); }

/* Social Norms list + article (text only) */
.sn-head { max-width: 860px; }
.sn-intro { text-align: center; color: var(--text); }
.sn-intro p { margin-bottom: 12px; }
.sn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.sn-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); transition: transform .3s, box-shadow .3s; }
.sn-card:nth-child(3n+2) { border-top-color: var(--green); }
.sn-card:nth-child(3n+3) { border-top-color: var(--red); }
.sn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sn-num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: #E3EAF3; margin-bottom: 14px; }
.sn-card h3 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 12px; }
.sn-card h3 a { color: var(--heading); }
.sn-card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.sn-card h3 a:hover { color: var(--blue); }
.sn-card p { font-size: .95rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.sn-card .link-arrow { position: relative; z-index: 1; margin-top: auto; }
.sn-text h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.sn-text h3:first-child { margin-top: 6px; }
.sn-text li { margin-bottom: 8px; }
.sn-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 20px; }
.sn-pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid #E3E8EF; border-radius: 14px; color: var(--heading); transition: border-color .2s, background .2s; }
.sn-pager a:hover { border-color: var(--blue); background: #F5F9FE; }
.sn-pager a.is-next { text-align: right; grid-column: 2; }
.sn-pager small { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.sn-pager a.is-next small { justify-content: flex-end; }
.sn-pager small .icon { width: 14px; height: 14px; }
.sn-pager span { font-weight: 600; line-height: 1.4; }
.sn-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.sn-side-list a { display: block; padding: 10px 0; border-bottom: 1px solid #EEF1F5; color: var(--heading); font-weight: 600; font-size: .93rem; line-height: 1.4; }
.sn-side-list li:last-child a { border-bottom: 0; }
.sn-side-list a:hover { color: var(--blue); }
@media (max-width: 1000px) { .sn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sn-grid, .sn-pager { grid-template-columns: minmax(0, 1fr); } .sn-pager a.is-next { grid-column: 1; } }
