/* ==========================================================================
   NOIAA Training – main stylesheet (from the html-source mockups)
   ========================================================================== */

:root {
	--blue: #1558B0;
	--blue-dk: #0F4588;
	--blue-50: #EEF5FD;
	--blue-100: #DCE9FA;
	--blue-200: #C9DBF2;
	--green: #1EA85A;
	--green-txt: #157A43;
	--green-50: #F1FAF4;
	--green-100: #DDF2E5;
	--orange: #FF7A1A;
	--orange-txt: #B4500A;
	--orange-50: #FFF5ED;
	--orange-100: #FFE6D3;
	--ink: #0E2238;
	--ink-2: #33475C;
	--muted: #4B5B6E;
	--line: #E3EAF2;
	--line-2: #DCE5EF;
	--field: #F7FAFD;
	--soft: #F3F7FB;
	--radius: 22px;
	--shadow: 0 22px 40px rgba(14, 34, 56, .10);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dk); }
h1, h2, h3, h4 { line-height: 1.15; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1600px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; z-index: 100; left: 12px; top: 12px; padding: 10px 16px; background: #FFFFFF; border-radius: 10px; }
.icon { flex: 0 0 auto; }

/* ---------- Motion ---------- */
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes ringpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(30, 168, 90, .55); } 100% { box-shadow: 0 0 0 10px rgba(30, 168, 90, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(52px); } }
.up { animation: up .9s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
.spin { animation: spin 24s linear infinite; }
.bob { animation: bob 5s ease-in-out infinite; }
.live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: dot 1.8s ease-out infinite; }
@supports (animation-timeline: view()) {
	.rv { animation: up linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@media (min-width: 901px) { .kb { animation: kb 26s ease-in-out infinite alternate; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-o { background: linear-gradient(135deg, #FF8F3D, #FF7A1A); color: var(--ink); }
.btn-o:hover { color: var(--ink); box-shadow: 0 12px 24px rgba(255, 122, 26, .3); }
.btn-b { background: #FFFFFF; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-b:hover { color: var(--blue-dk); box-shadow: 0 12px 24px rgba(21, 88, 176, .15); }
.btn-blue { background: var(--blue); color: #FFFFFF; }
.btn-blue:hover { color: #FFFFFF; background: var(--blue-dk); }
.btn-w { background: #FFFFFF; color: var(--ink); }
.btn-w:hover { color: var(--ink); box-shadow: 0 12px 24px rgba(14, 34, 56, .12); }
.btn-block { width: 100%; }

/* ---------- Contact bar (above the menu) ---------- */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.topbar__in { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0; padding-top: 10px; padding-bottom: 10px; }
.topbar__item { display: flex; align-items: center; gap: 10px; padding: 2px 18px; }
.topbar__item + .topbar__item, .topbar__offices { border-left: 1px solid var(--line-2); }
.topbar__icon { color: var(--blue); display: inline-flex; }
.topbar__icon--pin { color: var(--muted); }
.topbar__lines { display: flex; flex-direction: column; line-height: 1.55; }
.topbar__lines a { color: var(--ink-2); text-decoration: none; }
.topbar__lines a:hover { color: var(--blue); }
.topbar__offices { display: flex; flex-wrap: wrap; }
.topbar__office { text-transform: uppercase; letter-spacing: .02em; font-size: 11.5px; }
.topbar__office + .topbar__office { border-left: 1px solid var(--line-2); }

/* ---------- Header ---------- */
/* Contact bar + menu stay at the top together. --head-h (set by main.js) = their height. */
.site-top { position: sticky; top: 0; z-index: 50; }
.admin-bar .site-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-top { top: 46px; } }
.site-header { position: relative; background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px rgba(14, 34, 56, .06); backdrop-filter: saturate(1.2) blur(6px); }
html { scroll-padding-top: calc(var(--head-h, 130px) + 12px); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.site-logo { display: inline-flex; flex: 0 0 auto; }
.site-logo img { height: 52px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 12px 28px; flex: 1 1 auto; justify-content: flex-end; }
.main-nav .nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 600; font-size: 15px; }
.main-nav li { position: relative; }
.main-nav a { position: relative; display: inline-block; color: var(--ink); text-decoration: none; padding: 8px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--orange); transition: width .3s; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { width: 100%; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: -10px; top: 100%; min-width: 240px; background: #FFFFFF; border-radius: 14px; box-shadow: var(--shadow); display: none; z-index: 10; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { display: block; padding: 8px 10px; }

/* ---------- Training mega menu (inc/training.php) ---------- */
.main-nav li.has-mega { display: flex; align-items: center; gap: 2px; }
.mega-toggle { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; transition: transform .25s, background .2s; }
.mega-toggle:hover { background: var(--soft); }
.has-mega.is-open > .mega-toggle svg { transform: rotate(180deg); }
.mega-toggle svg { transition: transform .25s; }
.main-nav .nav-list .mega a { display: block; padding: 0; border: 0; }
.main-nav .nav-list .mega a::after { display: none; }
.mega { font-size: 15px; font-weight: 400; }
.mega__in { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 32px; padding-top: 34px; padding-bottom: 30px; }
.mega__kicker, .mega__pane-h { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.main-nav .nav-list .mega .mega__pane-h a { display: inline; color: var(--muted); }
.main-nav .nav-list .mega .mega__pane-h a:hover { color: var(--green-txt); }
.main-nav .nav-list .mega .mega__fam { display: flex; gap: 14px; align-items: flex-start; padding: 14px; margin: 0 -14px 4px; border-radius: 16px; color: var(--ink); transition: background .2s; }
.mega__fam-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.mega__fam-t b { display: block; font-size: 17px; line-height: 1.25; }
.mega__fam-t small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 500; }
.main-nav .nav-list .mega .mega__fam:hover, .main-nav .nav-list .mega .mega__fam.is-on { background: var(--green-50); }
.mega__fam.is-on .mega__fam-ic { background: var(--green); color: #FFFFFF; }
.main-nav .nav-list .mega .mega__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--blue); }
.main-nav .nav-list .mega .mega__all:hover { color: var(--blue-dk); }
.mega__pane { display: none; }
.mega__pane.is-on { display: block; animation: mega-in .3s var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Drill-down: groups (left) → courses of the hovered group (right) */
.mega__drill { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.mega__grps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.main-nav .nav-list .mega .mega__grp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 11px 12px 11px 16px; border-radius: 14px; color: var(--ink); transition: background .2s; }
.mega__grp::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--blue); transform: scaleY(0); transition: transform .25s var(--ease); }
.mega__grp.is-on::before { transform: scaleY(1); }
.mega__grp-t b { display: block; font-size: 15px; line-height: 1.3; }
.mega__grp-t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-weight: 500; }
.mega__grp-go { color: var(--line-2); transition: color .2s, transform .25s var(--ease); }
.main-nav .nav-list .mega .mega__grp:hover, .main-nav .nav-list .mega .mega__grp.is-on { background: var(--blue-50); }
.mega__grp.is-on .mega__grp-go, .mega__grp:hover .mega__grp-go { color: var(--blue); transform: translateX(3px); }
.mega__set { display: none; background: linear-gradient(160deg, var(--blue-50), #FFFFFF 60%); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px 22px; }
.mega__set.is-on { display: block; animation: mega-in .28s var(--ease); }
.mega__set-h { margin-bottom: 14px; }
.main-nav .nav-list .mega .mega__set-h a { display: inline; font-size: 18px; font-weight: 800; color: var(--ink); }
.main-nav .nav-list .mega .mega__set-h a:hover { color: var(--blue); }
.mega__set-h p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.mega__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.main-nav .nav-list .mega .mega__tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 9px 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.3; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.main-nav .nav-list .mega .mega__tile:hover { border-color: var(--green); box-shadow: 0 10px 22px rgba(14, 34, 56, .08); transform: translateY(-1px); color: var(--ink); }
.mega__code { flex: 0 0 auto; min-width: 52px; height: 30px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; transition: background .2s, color .2s; }
.mega__code.is-ic { min-width: 30px; width: 30px; padding: 0; background: var(--green-50); color: var(--green-txt); }
.mega__tile:hover .mega__code { background: var(--blue); color: #FFFFFF; }
.mega__tile:hover .mega__code.is-ic { background: var(--green); color: #FFFFFF; }
.mega__tile-t { flex: 1 1 auto; min-width: 0; }
.mega__tile-go { flex: 0 0 auto; color: var(--green); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s var(--ease); }
.mega__tile:hover .mega__tile-go { opacity: 1; transform: none; }
@media (min-width: 1181px) and (max-width: 1480px) {
	.mega__in { grid-template-columns: 240px minmax(0, 1fr); }
	.mega__feat { display: none; }
}
.mega__feat { background: var(--soft); border-radius: 20px; padding: 22px 22px 10px; align-self: start; }
.main-nav .nav-list .mega .mega__post { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; margin-bottom: 18px; color: var(--ink); }
.mega__post-img { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--blue-100), var(--green-100)); }
.mega__post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.mega__post:hover .mega__post-img img { transform: scale(1.05); }
.mega__post-t small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-txt); }
.mega__post-t b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 6px; font-size: 15px; line-height: 1.35; }
.mega__post:hover .mega__post-t b { color: var(--blue); }
.mega__post-t em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue); }
.mega__bar { border-top: 1px solid var(--line); background: #FFFFFF; }
.mega__bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.main-nav .nav-list .mega .mega__bar .btn { display: inline-flex; min-height: 44px; padding: 0 20px; font-size: 14px; }
.main-nav .nav-list .mega .mega__bar .btn-blue { color: #FFFFFF; }
.mega__note { margin-left: auto; font-size: 13px; color: var(--muted); }

@media (min-width: 1181px) {
	.main-nav li.has-mega { position: static; }
	.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #FFFFFF; border-top: 1px solid var(--line); box-shadow: 0 30px 50px rgba(14, 34, 56, .14); max-height: calc(100vh - var(--head-h, 130px) - 16px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s; }
	.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }
	.has-mega:hover:not(.is-shut) > .mega, .has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s var(--ease), visibility 0s; }
	.has-mega:hover:not(.is-shut) > a::after, .has-mega.is-open > a::after { width: 100%; }
}
@media (max-width: 1180px) {
	.main-nav li.has-mega { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.main-nav .nav-list li.has-mega > a { flex: 1 1 auto; border-bottom: 0; }
	.mega-toggle { width: 44px; height: 44px; background: var(--soft); }
	.mega { display: none; flex-basis: 100%; padding-bottom: 12px; }
	.has-mega.is-open > .mega { display: block; }
	.mega .wrap { padding: 0; }
	.mega__in { grid-template-columns: 1fr; gap: 0; padding: 4px 0 0; }
	.mega__fams, .mega__feat, .mega__bar { display: none; }
	.mega__pane, .mega__pane.is-on { display: block; animation: none; margin-bottom: 18px; }
	.mega__pane-h { margin-top: 8px; }
	.mega__drill { display: block; }
	.mega__grps { display: none; }
	.mega__set, .mega__set.is-on { display: block; animation: none; margin-bottom: 12px; padding: 16px; }
	.mega__tiles { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .25s; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section bits ---------- */
.sec { padding-top: 88px; padding-bottom: 32px; }
.sec-tight { padding-top: 64px; padding-bottom: 32px; }
.eyebrow { display: block; font-weight: 700; font-size: 14px; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; }
.h2 { margin: 10px 0 0; font-weight: 800; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.h2-sm { font-size: clamp(28px, 3.2vw, 42px); }
.lead { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sec-head > div { max-width: 700px; }
.link-more { font-weight: 700; font-size: 16px; text-decoration: none; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1280px) { .grid-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-areas { grid-template-columns: 1fr; } }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mt36 { margin-top: 36px; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.3; }
.tone-blue { --tone: var(--blue); --tone-txt: var(--blue); --tone-50: #F3F8FE; --tone-100: var(--blue-100); --tone-ink: #FFFFFF; }
.tone-green { --tone: var(--green); --tone-txt: var(--green-txt); --tone-50: var(--green-50); --tone-100: var(--green-100); --tone-ink: var(--ink); }
.tone-orange { --tone: var(--orange); --tone-txt: var(--orange-txt); --tone-50: var(--orange-50); --tone-100: var(--orange-100); --tone-ink: var(--ink); }

/* Photo placeholders (shown until a photo is uploaded) */
.ph { display: block; width: 100%; background: linear-gradient(150deg, #DCE9FA, #EAF7EF 60%, #FFE9D8); }
.ph-img { display: block; width: 100%; object-fit: cover; contain-intrinsic-size: none !important; }
/* Fixed-shape photo frames: the image fills the frame. */
.ccard__media, .ncard .zoom, .article-cover, .course-photo, .instructor__photo, .featured-post .zoom { position: relative; }
.ccard__media { aspect-ratio: 16 / 10; }
.ncard .zoom { aspect-ratio: 16 / 10; }
.article-cover { aspect-ratio: 16 / 8; }
.course-photo { aspect-ratio: 16 / 8; }
.ccard__media > .ph, .ccard__media > .ph-img,
.ncard .zoom > .ph, .ncard .zoom > .ph-img,
.article-cover > .ph-img, .course-photo > .ph-img,
.featured-post .zoom > .ph, .featured-post .zoom > .ph-img { position: absolute; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto !important; }

/* Background photo layers */
.bgimg { position: absolute; inset: 0; background-color: #DCE9FA; background-size: cover; background-position: center; }
/* Short archive heroes show a thin strip of the photo: keep the top (people's heads) in view. */
.archive .hero .bgimg { background-position: 50% 18%; }
/* Wide screens: the photo sits on the right part of the band (less cropping, whole person in view) and fades into the text side. */
@media (min-width: 900px) {
	.archive .hero .bgimg { left: 36%; background-position: 50% 42%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
	.archive .hero .veil { background: linear-gradient(100deg, rgba(234, 243, 253, .96) 0%, rgba(234, 243, 253, .82) 40%, rgba(241, 250, 244, .25) 70%, rgba(255, 246, 238, .05) 100%); }
}
.veil { position: absolute; inset: 0; }
.bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgvid--lazy { opacity: 0; transition: opacity 1.2s ease; }
.bgvid--lazy.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bgvid { display: none; } }
/* Optional background picture/video of a plain white section (Customizer). */
.has-bg { position: relative; isolation: isolate; }
.sbg { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; overflow: hidden; pointer-events: none; }
.sbg .veil { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(244, 249, 255, .84) 100%); }
.bg-block.has-bg { padding-bottom: 72px; }

/* ---------- Page hero (inner pages) ---------- */
.hero { position: relative; overflow: hidden; background: #EAF3FD; }
.hero .veil { background: linear-gradient(100deg, rgba(234, 243, 253, .96) 0%, rgba(241, 250, 244, .9) 50%, rgba(255, 246, 238, .55) 100%); }
.hero__ring { position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; border: 2px dashed var(--blue-200); }
.hero__dot { position: absolute; right: 22%; bottom: 40px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); }
.hero__in { position: relative; padding-top: 72px; padding-bottom: 64px; }
.hero h1 { margin: 22px 0 0; font-weight: 800; font-size: clamp(40px, 5.4vw, 70px); letter-spacing: -.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 19px; line-height: 1.6; max-width: 640px; margin-top: 18px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; }
.hero-photo .ph, .hero-photo .ph-img { position: absolute; inset: 0; height: 100%; }
.crumbs { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; padding: 8px 18px; border-radius: 999px; background: #FFFFFF; font-weight: 600; font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs > span[aria-hidden] { color: var(--orange); }

/* ---------- Home hero ---------- */
.home-hero .veil { background: linear-gradient(100deg, rgba(234, 243, 253, .96) 0%, rgba(241, 250, 244, .9) 45%, rgba(255, 246, 238, .5) 100%); }
/* With a background video: same veil colours, fading out on the right so the video shows. */
.home-hero--video .veil { background: linear-gradient(100deg, rgba(234, 243, 253, .95) 0%, rgba(241, 250, 244, .86) 38%, rgba(255, 246, 238, .2) 68%, rgba(255, 246, 238, 0) 100%); }
@media (max-width: 900px) {
	.home-hero--video .veil { background: rgba(241, 247, 252, .82); }
}
.home-hero .hero__ring { right: -140px; top: -140px; width: 440px; height: 440px; }
.home-hero .hero__dot { left: 46%; right: auto; bottom: 230px; }
.home-hero .hero__in { padding-top: 48px; padding-bottom: 96px; }
.home-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 4px 14px rgba(14, 34, 56, .06); font-weight: 700; font-size: 14px; color: var(--green-txt); }
.home-hero h1 { margin: 20px 0 0; font-size: clamp(44px, 5.8vw, 78px); line-height: 1.02; }
/* Green badge above the title. */
.pill-badge--green { background: linear-gradient(90deg, #17914A 0%, #1EA85A 100%); color: #FFFFFF; padding: 10px 22px 10px 14px; font-size: 16px; box-shadow: 0 8px 20px rgba(30, 168, 90, .28); }
.pill-badge--green .icon { flex: 0 0 auto; }
@media (max-width: 600px) { .pill-badge--green { font-size: 13px; padding: 8px 14px 8px 10px; } }
/* Title: navy with the highlighted word in green. */
.home-hero h1 { color: #0B2A66; }
.home-hero h1 em { color: var(--green); }
/* Highlights row (Accredited courses · Worldwide delivery · …). */
.hero-feats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; }
.hero-feats li { display: flex; align-items: center; gap: 9px; padding: 0 14px; font-weight: 600; font-size: 14.5px; line-height: 1.25; color: var(--ink); }
.hero-feats li > span:last-child { width: min-content; }
.hero-feats li:first-child { padding-left: 0; }
.hero-feats li + li { border-left: 1px solid rgba(14, 34, 56, .18); }
.hero-feats__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #E6F6EC; color: var(--green-txt); box-shadow: 0 4px 12px rgba(14, 34, 56, .06); }
/* Hero buttons with icons. */
.btn-ic { gap: 12px; }
.btn-ic .icon { flex: 0 0 auto; }
.btn-ic__c { width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; color: var(--orange); display: grid; place-items: center; margin-left: -8px; }
/* Transparent blue strip with the figures (the video shows through it). */
.home-hero .hero__in { padding-bottom: 40px; z-index: 2; }
.hero-strip { position: relative; z-index: 1; color: #FFFFFF; }
.hero-strip__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-strip__in { position: relative; padding-top: 52px; padding-bottom: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 0; max-width: 1240px; }
.hero-stats > div { display: flex; align-items: center; gap: 16px; padding: 0 36px; }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .35); }
.hero-stats__ic { color: #5FD48C; display: flex; }
.hero-stats b { display: block; font-weight: 800; font-size: 34px; line-height: 1.1; color: #FFFFFF; }
.hero-stats span span { display: block; font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.hero-stats b { font-variant-numeric: tabular-nums; }
.hero-stats > div { opacity: 0; transform: translateY(14px); animation: stat-in .7s var(--ease) forwards; }
.hero-stats > div:nth-child(2) { animation-delay: .12s; }
.hero-stats > div:nth-child(3) { animation-delay: .24s; }
.hero-stats > div:nth-child(4) { animation-delay: .36s; }
@keyframes stat-in { to { opacity: 1; transform: none; } }
/* Home hero: everything (text, photo card, badge, form, figures) comes in together, once the first photo is ready. */
.home-hero .up, .home-hero .hero-stats > div { animation-delay: 0s; }
.home-hero .hero-stats > div { animation-duration: .9s; animation-timing-function: var(--ease); }
html.hero-wait .home-hero .up, html.hero-wait .home-hero .hero-stats > div { animation-play-state: paused; }
.hero-stats__ic { animation: stat-pop 3.2s ease-in-out 1s infinite; }
@keyframes stat-pop { 0%, 80%, 100% { transform: none; } 88% { transform: scale(1.15) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .hero-stats > div, .hero-stats__ic { animation: none; opacity: 1; transform: none; } }
@media (max-width: 1180px) {
	.hero-stats > div { padding: 0 22px; }
	.hero-stats b { font-size: 28px; }
}
@media (max-width: 600px) {
	.hero-feats li { padding: 0 12px; font-size: 14px; max-width: 50%; flex: 1 1 50%; }
	.hero-feats li:nth-child(odd) { padding-left: 0; border-left: 0; }
	.hero-feats__ic { width: 44px; height: 44px; }
	.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
	.hero-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.hero-stats > div { flex-direction: column; align-items: flex-start; padding: 0 10px; gap: 6px; }
	.hero-stats__ic .icon { width: 26px; height: 26px; }
	.hero-stats b { font-size: 22px; }
	.hero-stats span span { font-size: 12.5px; line-height: 1.3; }
}
.hero-media { position: relative; }
.hero-media__photo { aspect-ratio: 5 / 4; border-radius: 32px; overflow: hidden; }
.hero-media__photo .ph, .hero-media__photo .ph-img { height: 100%; }
/* Photo card slideshow (crossfade). */
.hero-slides { position: relative; isolation: isolate; } /* keeps the slide layering inside the card (badge and verify form stay on top) */
.hero-slides .ph-img { position: absolute; inset: 0; z-index: 0; width: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 6s ease-out; }
/* The new picture fades in on top; the old one stays fully visible underneath until it has, so there is no gap. */
.hero-slides .ph-img.is-on { z-index: 2; opacity: 1; transform: scale(1); }
.hero-slides .ph-img.was-on { z-index: 1; opacity: 1; transition: transform 6s ease-out; }
.hero-slides__dots { position: absolute; left: 22px; top: 20px; display: flex; gap: 8px; z-index: 3; }
.hero-slides__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: width .4s, background .4s; }
.hero-slides__dots i.is-on { width: 22px; background: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .hero-slides .ph-img { transition: none; transform: none; } }
.opito-badge { position: absolute; right: -18px; top: -22px; width: 160px; height: 160px; filter: drop-shadow(0 14px 24px rgba(14, 34, 56, .18)); }
.opito-badge .pl { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--green); animation: ringpulse 2.4s ease-out infinite; }
.opito-badge .pl2 { animation-delay: 1.2s; }
.opito-badge svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.opito-badge__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 90px; height: 90px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px #FFFFFF, 0 6px 14px rgba(14, 34, 56, .22); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px; }
.opito-badge__logo img { width: 100%; height: 100%; object-fit: contain; }
.vcard { position: absolute; left: -44px; bottom: -36px; width: 360px; background: #FFFFFF; border-radius: 20px; padding: 20px; box-shadow: 0 22px 44px rgba(14, 34, 56, .14); display: flex; flex-direction: column; gap: 10px; }
.vcard label { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.vcard label .icon { color: var(--green); }
.vcard__row { display: flex; gap: 8px; }
.vcard input { flex: 1 1 auto; min-width: 0; min-height: 48px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--field); padding: 0 14px; font-size: 15px; }
.vcard .btn { min-height: 48px; padding: 0 18px; }

/* ---------- Accreditation strip + marquees ---------- */
.acc-strip { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.acc-strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 30px; padding-bottom: 26px; }
.acc-strip__label { flex: 0 0 auto; margin: 0; max-width: 220px; line-height: 1.4; font-weight: 700; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.acc-strip__track { flex: 1 1 400px; min-width: 0; overflow: hidden; }
.marq { display: flex; gap: 18px; width: max-content; animation: marquee 34s linear infinite; }
.marq:hover { animation-play-state: paused; }
.logo-tile { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 196px; height: 116px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #FFFFFF; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(14, 34, 56, .08); }
.logo-tile img { max-width: 150px; max-height: 60px; object-fit: contain; }
.logo-tile span { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.3; }

/* ---------- Cards ---------- */
.card { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.zoom { display: block; overflow: hidden; position: relative; }
.zoom .ph, .zoom .ph-img { transition: transform .8s var(--ease); }
.card:hover .zoom .ph, .card:hover .zoom .ph-img { transform: scale(1.05); }

.area-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 30px 32px 28px; border-radius: 30px; border: 1.5px solid color-mix(in srgb, var(--tone) 22%, #FFFFFF); background: linear-gradient(160deg, #FFFFFF 0%, #FFFFFF 45%, var(--tone-50) 100%); box-shadow: 0 18px 40px rgba(14, 34, 56, .08); color: var(--ink); text-decoration: none; }
.area-card:hover { color: var(--ink); border-color: var(--tone); }
.area-card > span:not(.area-card__pic) { position: relative; z-index: 1; }
/* Picture fading into the bottom-right corner. */
.area-card__pic { position: absolute; right: 0; bottom: 0; width: 52%; height: 62%; z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(120% 110% at 100% 100%, #000 38%, transparent 72%); mask-image: radial-gradient(120% 110% at 100% 100%, #000 38%, transparent 72%); }
.area-card__pic img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--ease); }
.area-card:hover .area-card__pic img { transform: scale(1.05); }
.area-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.area-card__icon { width: 68px; height: 68px; border-radius: 50%; background: var(--tone); color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px color-mix(in srgb, var(--tone) 35%, transparent); }
.area-card__count { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--tone-100); color: var(--tone-txt); font-weight: 800; font-size: 14px; box-shadow: 0 4px 10px rgba(14, 34, 56, .06); }
.area-card__count b { min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--tone); color: #FFFFFF; font-size: 12px; display: grid; place-items: center; }
.area-card__title { margin-top: 10px; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.area-card__text { color: var(--muted); line-height: 1.55; max-width: 92%; }
.area-card__rule { width: 34px; height: 3px; border-radius: 3px; background: var(--tone); margin-top: 4px; }
.area-card__more { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; background: var(--tone); color: #FFFFFF; font-weight: 700; font-size: 16px; box-shadow: 0 10px 20px color-mix(in srgb, var(--tone) 30%, transparent); transition: gap .25s, filter .25s; }
.area-card:hover .area-card__more { gap: 14px; filter: brightness(1.06); }
.tone-orange .area-card__more { color: #FFFFFF; }

.ccard { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 20px; border-radius: 22px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); text-decoration: none; }
.ccard:hover { color: var(--ink); }
.ccard__media { border-radius: 16px; }
.ccard__media .ph, .ccard__media .ph-img { aspect-ratio: 16 / 10; height: auto; }
.ccard__media .chip { position: absolute; left: 10px; top: 10px; background: #FFFFFF; color: var(--tone-txt); }
.ccard__title { padding: 0 10px; font-weight: 800; font-size: 19px; line-height: 1.3; }
.ccard__text { padding: 0 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ccard__meta { padding: 0 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ccard__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ccard__foot { margin: auto 10px 0; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #EDF1F6; font-weight: 700; color: var(--blue); }
.ccard__go { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; }
.ccard:hover .ccard__go { background: var(--orange); color: var(--ink); }

.ncard { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 22px; border-radius: 22px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); text-decoration: none; }
.ncard:hover { color: var(--ink); }
.ncard .zoom { border-radius: 16px; }
.ncard .ph, .ncard .ph-img { aspect-ratio: 16 / 10; height: auto; }
.ncard__meta { padding: 0 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.ncard__meta .chip { font-size: 13px; padding: 4px 10px; background: var(--tone-100); color: var(--tone-txt); }
.ncard__title { padding: 0 12px; font-weight: 800; font-size: 19px; line-height: 1.35; }
.ncard__text { padding: 0 12px; color: var(--muted); font-size: 15px; }
.ncard__more { padding: 0 12px; margin-top: auto; font-weight: 700; color: var(--blue); }

/* ---------- Photo band (Why NOIAA, How it works…) ---------- */
.band { position: relative; overflow: hidden; margin-top: 72px; background: #EAF3FD; }
.band .veil { background: linear-gradient(120deg, rgba(234, 243, 253, .94) 0%, rgba(238, 248, 242, .84) 100%); }
.band__in { position: relative; padding-top: 88px; padding-bottom: 88px; }
/* Dark green band (home "Why NOIAA"). */
.band--green { background: #0F4D2C; color: #FFFFFF; }
/* Light green veil: strong enough behind the text on the left, see-through on the right so the video shows. */
.band--green .veil { background: linear-gradient(100deg, rgba(10, 70, 38, .82) 0%, rgba(14, 90, 50, .62) 45%, rgba(20, 110, 60, .38) 100%); }
.band--green .bgvid, .band--green .bgimg { filter: saturate(1.1); }
.band--green .eyebrow { color: #A6F0C4; }
.band--green .h2 { color: #FFFFFF; text-shadow: 0 2px 14px rgba(0, 40, 20, .35); }
.band--green .lead { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 40, 20, .35); }
.band--green .reason { color: var(--ink); text-shadow: none; }
.band--green .reason b { color: var(--ink); }
.band--green .reason span span { color: var(--muted); }
.band--green .band__in { z-index: 2; }
/* Cards: glassy white, lift on hover, icon bob. */
.band--green .reason { background: rgba(255, 255, 255, .95); box-shadow: 0 14px 34px rgba(0, 40, 20, .22); transition: transform .35s var(--ease), box-shadow .35s; }
.band--green .reason:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 22px 44px rgba(0, 40, 20, .3); }
.band--green .reason__icon { animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
.why-line { display: block; width: 72px; height: 4px; margin-top: 18px; border-radius: 4px; background: linear-gradient(90deg, #5FD48C, #FF8F3D); transform-origin: left; }
/* Decorative motion. */
.why-fx { position: absolute; pointer-events: none; z-index: 1; }
.why-fx--ring { right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(166, 240, 196, .45); animation: spin 40s linear infinite; }
.why-fx--orb1 { left: 6%; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 212, 140, .45), transparent 70%); animation: why-float 9s ease-in-out infinite; }
.why-fx--orb2 { left: 42%; top: 18%; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 122, 26, .5); animation: bob 3s ease-in-out infinite, why-ping 2.4s ease-out infinite; }
.why-fx--sweep { inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%); background-size: 250% 100%; animation: why-sweep 7s ease-in-out infinite; }
@keyframes why-float { 50% { transform: translate(30px, -40px) scale(1.1); } }
@keyframes why-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .5); } 100% { box-shadow: 0 0 0 18px rgba(255, 122, 26, 0); } }
@keyframes why-sweep { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes why-in-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes why-in-card { from { opacity: 0; transform: translateY(36px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes why-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Entrance: plays when the section scrolls into view (class added by main.js). */
.band--green.will-in .why-copy, .band--green.will-in .reason { opacity: 0; }
.band--green.is-in .why-copy { opacity: 1; animation: why-in-left .9s var(--ease) backwards; }
.band--green.is-in .why-line { animation: why-grow 1s .5s var(--ease) both; }
.band--green.is-in .reason { opacity: 1; animation: why-in-card .8s var(--ease) backwards; animation-delay: calc(.25s + var(--i, 0) * .14s); }
@media (prefers-reduced-motion: reduce) {
	.why-fx, .band--green .reason__icon { animation: none !important; }
	.band--green.will-in .why-copy, .band--green.will-in .reason { opacity: 1; animation: none !important; }
}
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reason { background: #FFFFFF; border-radius: 20px; padding: 22px; display: flex; gap: 14px; }
.reason__icon { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--tone-100); color: var(--tone-txt); display: flex; align-items: center; justify-content: center; }
.reason b { display: block; font-weight: 800; font-size: 17px; }
.reason span span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Gallery marquee ---------- */
.gallery { padding: 96px 0 8px; }
.gallery__track { margin-top: 32px; overflow: hidden; }
.gallery .marq { padding-left: 24px; }
.tile { flex: 0 0 auto; width: 340px; aspect-ratio: 4 / 3; border-radius: 22px; position: relative; overflow: hidden; margin: 0; }
.tile .ph, .tile .ph-img { position: absolute; inset: 0; height: 100%; }
.tile figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 700; color: var(--blue); }

/* ---------- CTA bands ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 52px; background: var(--orange); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; color: var(--ink); }
.cta .veil { background: linear-gradient(110deg, rgba(255, 143, 61, .97) 0%, rgba(255, 122, 26, .92) 55%, rgba(242, 108, 13, .6) 100%); }
.cta__ring { position: absolute; right: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; border: 2px dashed rgba(14, 34, 56, .3); }
.cta__text { position: relative; max-width: 640px; }
.cta h2 { margin: 0; font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.cta p { margin: 12px 0 0; font-size: 18px; line-height: 1.6; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta--small { padding: 40px; border-radius: 28px; }
.cta--small h2 { font-size: clamp(24px, 2.8vw, 34px); }
.cta:not(.cta--soft) .cta__text { color: #FFFFFF; text-shadow: 0 1px 2px rgba(120, 50, 0, .25); }
.cta--soft { background: var(--orange-50); }

/* Home news slider: wide navy slides, picture cut on a slant, neighbours peeking. */
/* --ns-pad = left edge of .wrap, so the first slide lines up with the heading. */
.news-slider { position: relative; --ns-pad: calc(max(0px, (100vw - 1600px) / 2) + clamp(16px, 3vw, 40px)); --ns-w: min(1240px, calc(100vw - var(--ns-pad) * 2 - 140px)); }
.ns { position: relative; margin-top: 36px; }
.ns__track { position: relative; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-left: var(--ns-pad); padding: 0 calc(100vw - var(--ns-pad) - var(--ns-w)) 0 var(--ns-pad); scrollbar-width: none; outline: none; }
.ns__track::-webkit-scrollbar { display: none; }
.ns__slide { position: relative; flex: 0 0 var(--ns-w); min-height: 380px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--ink); color: #FFFFFF; scroll-snap-align: start; opacity: .55; transition: opacity .4s; }
.ns__slide.is-on { opacity: 1; }
.ns__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 44px; }
.ns__kicker { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #BFD6F5; }
.ns__title { margin: 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ns__title a { color: #FFFFFF; text-decoration: none; }
.ns__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.ns__text { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ns__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; padding: 0; font-size: 14px; font-weight: 700; color: #FFFFFF; }
.ns__meta li { display: inline-flex; align-items: center; gap: 8px; }
.ns__btn { margin-top: auto; position: relative; z-index: 3; }
.ns__body .ns__btn { margin-top: 28px; }
.ns__btn svg { margin-left: 6px; }
.ns__media { position: relative; background: linear-gradient(135deg, var(--blue), var(--green-txt)); clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); margin-left: -6%; }
.ns__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ns__slide:hover .ns__media img { transform: scale(1.05); }
.ns__arrow { position: absolute; top: 50%; z-index: 4; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--ink); box-shadow: 0 10px 24px rgba(14, 34, 56, .18); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.ns__arrow:hover { background: var(--orange); }
.ns__arrow:disabled { opacity: .35; cursor: default; background: #FFFFFF; }
.ns__arrow--prev { left: calc(var(--ns-pad) - 26px); }
.ns__arrow--next { left: calc(var(--ns-pad) + var(--ns-w) - 26px); }
@media (max-width: 1100px) { .ns__arrow--prev { left: calc(var(--ns-pad) + 10px); } }
.ns__dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.ns__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--line-2); cursor: pointer; transition: background .2s, transform .2s; }
.ns__dot.is-on { background: var(--blue); transform: scale(1.2); }
@media (max-width: 900px) {
	.news-slider { --ns-w: calc(100vw - var(--ns-pad) - 40px); }
	.ns__slide { grid-template-columns: 1fr; grid-template-rows: 200px auto; min-height: 0; opacity: 1; }
	.ns__media { order: -1; margin-left: 0; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
	.ns__body { padding: 24px 22px 28px; }
	.ns__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ns__track { scroll-behavior: auto; } }

/* Full-width green closing band with a picture / video fading in on the right. */
/* --cta-h = band height; the picture is as wide as its own shape needs at that height, so nothing is cut. */
.cta-feat { --cta-h: clamp(380px, 30vw, 500px); position: relative; overflow: hidden; margin-top: 64px; background: var(--green-txt); color: #FFFFFF; }
.cta-feat__media { position: absolute; top: 0; right: 0; bottom: 0; width: min(58%, calc(var(--cta-h) / var(--cta-ar, .5625))); }
.cta-feat__img, .cta-feat__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.cta-feat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-txt) 0%, rgba(21, 122, 67, .72) 10%, rgba(21, 122, 67, .45) 28%, rgba(21, 122, 67, .26) 55%, rgba(21, 122, 67, .14) 100%); }
.cta-feat__in { position: relative; display: flex; align-items: center; min-height: var(--cta-h); padding-top: 56px; padding-bottom: 56px; }
.cta-feat__text { max-width: min(640px, calc(100% - min(58%, var(--cta-h) / var(--cta-ar, .5625)) + 40px)); }
.cta-feat__eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #BFF0D2; }
.cta-feat h2 { margin: 0; font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.035em; color: #FFFFFF; }
.cta-feat__lead { margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 520px; }
.cta-feat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.cta-feat__actions .btn svg { margin-left: 6px; }
.cta-feat__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; color: #FFFFFF; text-decoration: none; transition: gap .2s; }
.cta-feat__link:hover { gap: 12px; color: #FFFFFF; }
@media (max-width: 900px) {
	.cta-feat__media { width: 100%; }
	.cta-feat__media::after { background: linear-gradient(180deg, rgba(21, 122, 67, .75), var(--green-txt) 85%); }
	.cta-feat__in { min-height: 0; padding-top: 64px; padding-bottom: 64px; }
	.cta-feat__text { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .cta-feat__media video { display: none; } }
.cta--soft p { color: #5A3A24; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; min-width: 0; }
.field-row > .field { flex: 1 1 200px; }
.field input, .field select, .field textarea, .fld { width: 100%; min-height: 54px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--field); padding: 0 16px; font-weight: 500; font-size: 16px; }
.field textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .fld:focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #FFFFFF; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.qform__form { display: flex; flex-direction: column; gap: 16px; }
.qform__form .btn { align-self: flex-start; min-height: 56px; padding: 0 30px; font-size: 16px; }
.noiaa-field-error { display: block; color: #B42318; font-size: 14px; font-weight: 600; margin-top: -8px; }
.form-ok { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--green-100); color: var(--green-txt); font-weight: 700; }
.form-ok--big { padding: 22px; font-size: 17px; }

.nform__form { position: relative; display: flex; flex-direction: column; gap: 10px; }
.nform__label { font-weight: 700; font-size: 14px; }
.nform__row { display: flex; flex-wrap: wrap; gap: 10px; }
.nform__input { flex: 1 1 220px; position: relative; display: flex; align-items: center; }
.nform__input .icon { position: absolute; left: 16px; color: var(--muted); }
.nform__input input { width: 100%; min-height: 54px; border: 1px solid #CFDDED; border-radius: 14px; background: #FFFFFF; padding: 0 16px 0 46px; font-size: 15px; }
.nform .btn { min-height: 54px; border-radius: 14px; font-weight: 800; }
.nform__consent { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.nform__consent input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; flex: 0 0 auto; }
.nform__consent a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: linear-gradient(180deg, #F3F7FB 0%, #EEF5FD 100%); border-top: 1px solid var(--line); color: var(--ink); }
.site-footer > .wrap { padding-top: 64px; }
.foot-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.foot-brand { position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.foot-brand__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-brand__in { position: relative; display: flex; flex-direction: column; gap: 20px; }
.foot-logo { align-self: flex-start; }
.foot-logo img { height: 58px; width: auto; display: block; }
.foot-brand p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.foot-pill { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #FFF3EA; color: var(--ink); text-decoration: none; align-self: flex-start; max-width: 100%; }
.foot-pill__icon { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.foot-pill__label { display: block; font-size: 13px; font-weight: 600; color: #5A3A24; }
.foot-pill__email { display: block; font-weight: 800; font-size: 17px; color: var(--orange-txt); overflow-wrap: anywhere; }
.foot-news { position: relative; overflow: hidden; border-radius: 26px; padding: 30px; background: linear-gradient(135deg, #EAF3FD 0%, #F1FAF4 100%); border: 1px solid var(--blue-100); display: flex; flex-direction: column; gap: 14px; }
.foot-news h2 { position: relative; margin: 0; font-weight: 800; font-size: 28px; letter-spacing: -.02em; max-width: 70%; }
.foot-news > p { position: relative; margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 70%; }
.foot-news__stripes i { position: absolute; top: -40px; width: 22px; transform: skewX(-18deg); opacity: .9; }
.foot-news__stripes i:nth-child(1) { right: 28px; height: 220px; background: var(--green); }
.foot-news__stripes i:nth-child(2) { right: 58px; height: 200px; background: var(--orange); }
.foot-news__stripes i:nth-child(3) { right: 88px; height: 180px; background: var(--blue); }
.foot-cols { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px 28px; }
.foot-h { margin: 0 0 16px; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.foot-h::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--blue); }
.foot-h--green::before { background: var(--green); }
.foot-h--orange::before { background: var(--orange); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.foot-links a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.foot-links a:hover { color: var(--blue); }
.foot-links--ext a span { color: #9AABBF; font-size: 13px; }
.foot-offices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-offices li { display: flex; gap: 12px; align-items: flex-start; }
.foot-offices__icon { flex: 0 0 34px; height: 34px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--orange-txt); }
.foot-offices strong { display: block; font-size: 15px; }
.foot-offices strong + span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-phone { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--line); color: var(--blue); font-weight: 800; font-size: 17px; text-decoration: none; }
.foot-email { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.foot-email .icon { color: var(--green-txt); }
.foot-bottom { margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-bottom img { height: 40px; width: auto; }
.foot-copy { font-size: 14px; color: var(--muted); }
.foot-copy a { font-weight: 700; text-decoration: none; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.foot-legal a { color: var(--ink); text-decoration: none; }
.to-top { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Prose (page, post and course content) ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: none; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4, .prose h5 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--head-h, 130px) + 16px); }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 23px; }
.prose h4 { font-size: 19px; }
.prose h5 { font-size: 17px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--orange); }
.prose img { border-radius: 18px; }
.prose a { font-weight: 600; }
.prose blockquote, .prose .wp-block-quote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 18px 18px 0; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.6em 0; border-radius: 16px; overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--blue-50); color: var(--ink); }
.prose .wp-block-table { overflow-x: auto; }
.prose iframe { max-width: 100%; border-radius: 18px; }
.prose .alignleft { float: left; margin: 0 1.5em 1em 0; }
.prose .alignright { float: right; margin: 0 0 1em 1.5em; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .wp-caption-text, .prose figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.prose::after { content: ""; display: table; clear: both; }

/* Old builder content (WPBakery / Thim shortcodes rendered by the theme) */
.lg-row { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 0 1.2em; }
.lg-col { flex: 1 1 260px; min-width: 0; }
.lg-col > *:first-child { margin-top: 0; }
.lg-acc { margin: 1.4em 0; }
.lg-acc summary { font-size: 16px; color: var(--ink); }
.lg-acc__body { padding: 0 0 18px; font-size: 16px; color: var(--ink-2); }
.lg-acc__body > *:first-child { margin-top: 0; }
.lg-acc__body > *:last-child { margin-bottom: 0; }
.lg-sub { margin-top: -.3em; color: var(--muted); }
.lg-sep { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lg-btn { margin: 1.2em 0; }
.prose .lg-btn a, .prose .lg-box, .prose .lg-gallery a, .prose .lg-cards a { font-weight: inherit; text-decoration: none; }
.lg-video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.lg-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-images { margin: 1.4em 0; }
.lg-images--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.lg-images--grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lg-box { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #FFFFFF; color: var(--ink); height: 100%; transition: border-color .25s, transform .25s; }
a.lg-box:hover { border-color: var(--blue); transform: translateY(-3px); }
.lg-box img { width: 64px; height: 64px; object-fit: contain; border-radius: 0; }
.lg-box h3 { margin: 12px 0 6px; font-size: 18px; }
.lg-counter { display: flex; flex-direction: column; padding: 18px 0; }
.lg-counter b { font-size: 36px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.lg-counter span { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.prose .lg-cards { margin: 1.4em 0; font-size: 15px; }
.prose:has(.lg-cards, .lg-gallery, .lg-row) { max-width: none; }
.lg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.lg-gallery a { display: block; color: var(--ink); }
.lg-gallery__img { display: block; position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 18px; background: var(--blue-50); }
.lg-gallery__img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0; transition: transform .5s; }
.lg-gallery a:hover img { transform: scale(1.05); }
.lg-gallery__cap { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.4; }

/* ---------- Generic page ---------- */
.page-body { padding-top: 64px; padding-bottom: 88px; }
.page-body .prose { max-width: none; }
.prose.prose--wide { max-width: none; }

/* ---------- Courses archive ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 16px; background: var(--blue-50); width: fit-content; max-width: 100%; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; color: var(--ink); text-decoration: none; }
.tabs a:hover, .tabs a[aria-current] { background: #FFFFFF; box-shadow: 0 4px 12px rgba(14, 34, 56, .06); }
.tabs a small { font-size: 12px; color: var(--muted); font-weight: 700; }
.area-sec { padding-top: 56px; padding-bottom: 16px; scroll-margin-top: calc(var(--head-h, 130px) + 16px); }
.area-sec + .area-sec { padding-top: 72px; }

/* ---------- Single course ---------- */
.single-lp_course .hero h1, .single-post .hero h1 { font-size: clamp(34px, 4.2vw, 56px); }
.course-back { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 14px; text-decoration: none; vertical-align: top; }
.course-back:hover { background: var(--blue); color: #FFFFFF; }
.course-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 72px; padding-bottom: 88px; }
.course-aside { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--head-h, 130px) + 20px); }
.course-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.side-box { background: var(--blue-50); border-radius: 24px; padding: 24px; }
.side-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px; border-radius: 12px; background: #FFFFFF; color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.35; }
.side-links a:hover { color: var(--blue); }
.side-links a[aria-current] { background: var(--blue); color: #FFFFFF; }
.help-box { position: relative; overflow: hidden; background: var(--orange-50); border-radius: 24px; padding: 28px; text-align: center; }
.help-box__icon { position: relative; display: inline-block; width: 70px; height: 70px; margin-bottom: 14px; }
.help-box__icon > span { position: absolute; inset: 0; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.help-box__icon i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--orange); animation: ringpulse 2.4s ease-out infinite; }
.help-box__icon i + i { animation-delay: 1.2s; }
.help-box h2 { margin: 0; font-size: 22px; font-weight: 800; }
.help-box p { margin: 8px 0 12px; color: #5A3A24; }
.help-box a { font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.instructor { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.instructor .ph-img { aspect-ratio: 4 / 3; height: auto; }
.instructor__body { padding: 20px; }
.instructor__label { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; }
.instructor__name { margin-top: 6px; font-weight: 800; font-size: 19px; }
.instructor q { display: block; margin-top: 8px; font-style: italic; line-height: 1.55; color: var(--muted); }
.course-photo { border-radius: 28px; overflow: hidden; }
.course-photo .ph, .course-photo .ph-img { aspect-ratio: 16 / 8; height: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.fact { background: var(--blue-50); border-radius: 20px; padding: 20px; }
.fact:nth-child(even) { background: var(--orange-50); }
.fact span { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.fact b { display: block; font-weight: 800; font-size: 24px; line-height: 1.25; margin-top: 4px; overflow-wrap: anywhere; }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc details { border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; background: #FFFFFF; }
.acc summary { display: flex; align-items: center; gap: 16px; min-height: 66px; font-weight: 700; font-size: 17px; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .num { color: var(--blue); font-weight: 800; }
.acc summary .grow { flex-grow: 1; }
.acc summary small { font-size: 13px; color: var(--muted); font-weight: 600; }
.pm { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .3s, background-color .3s; }
details[open] .pm { transform: rotate(45deg); background-color: var(--orange); }
.acc details p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.acc--modules details p { margin-left: 44px; }
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.req { background: var(--blue-50); border-radius: 22px; padding: 24px; }
.req:nth-child(2) { background: var(--orange-50); }
.req h3 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.req ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.req li::before { content: "✓ "; color: var(--green-txt); font-weight: 800; }
.enrol { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 50px rgba(14, 34, 56, .08); padding: 32px; scroll-margin-top: calc(var(--head-h, 130px) + 16px); }
.enrol__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.enrol__head h2 { margin: 0; font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.enrol__head p { margin: 6px 0 0; color: var(--muted); }
.enrol__price { font-weight: 800; font-size: 22px; color: var(--green-txt); }

/* Course page details from the Course-BOSIET design (green/orange tints). */
.btn-line { background: #FFFFFF; color: var(--ink); border: 1px solid #CFE0D6; }
.btn-line:hover { color: var(--ink); box-shadow: 0 12px 24px rgba(14, 34, 56, .12); }
.course-hero .crumbs { padding: 10px 20px; font-size: 15px; }
.course-hero .lead { color: #4A6357; }
.course-hero .hero-photo { border-radius: 32px; }
.side-box--course { background: #F1F8F4; }
.side-box--course .side-links a { transition: background-color .3s, padding-left .3s, color .3s; }
.side-box--course .side-links a:hover { background: var(--green); color: var(--ink); padding-left: 26px; }
.side-box--course .side-links a[aria-current] { background: var(--green); color: var(--ink); }

/* NEBOSH green in headings (added by noiaa_brand_headings()). */
.brand-nebosh { color: var(--green-txt); }
.hero h1 .brand-nebosh { color: var(--green); }

/* Sidebar list of NEBOSH / IEMA courses. */
.course-aside--list { position: static; flex-basis: 340px; max-width: 390px; }
@media (max-width: 960px) { .course-aside--list { order: 2; max-width: none; } }
.side-courses { background: #F1F8F4; padding: 24px 16px; }
.side-courses .side-courses__kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-txt); }
.side-courses .side-title { margin-bottom: 18px; }
.side-courses__h { display: flex; align-items: center; justify-content: space-between; margin: 20px 4px 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.side-courses .side-title + .side-courses__h { margin-top: 0; }
.side-courses__n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: #FFFFFF; color: var(--ink); font-size: 12px; letter-spacing: 0; }
.side-courses__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 16px; background: #FFFFFF; border: 1.5px solid transparent; color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.sc:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(21, 122, 67, .12); transform: translateY(-1px); color: var(--ink); }
.sc__img { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--green-100); }
.sc__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.sc:hover .sc__img img { transform: scale(1.08); }
.sc__t { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.sc__t b { font-size: 14.5px; line-height: 1.3; font-weight: 700; }
.sc__code { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; background: var(--blue-50); color: var(--blue); }
.sc__code--nebosh { background: var(--green-100); color: var(--green-txt); }
.sc__dur { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sc__go { color: var(--line-2); transition: color .2s, transform .25s var(--ease); }
.sc:hover .sc__go { color: var(--green-txt); transform: translateX(3px); }
.sc.is-current { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.sc.is-current:hover { transform: none; box-shadow: none; color: #FFFFFF; }
.sc.is-current .sc__dur { color: rgba(255, 255, 255, .7); }
.sc.is-current .sc__code { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.sc.is-current .sc__code--nebosh { background: var(--green); color: var(--ink); }
.sc.is-current .sc__go { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); transform: none; }
.side-courses__all { display: inline-flex; align-items: center; gap: 6px; margin: 16px 4px 0; font-weight: 800; font-size: 14.5px; color: var(--green-txt); text-decoration: none; }
.side-courses__all:hover { gap: 10px; color: var(--green-txt); }

/* Booking box: Contact us instead of a form. */
.enrol--cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: linear-gradient(120deg, #F1F8F4, #FFFFFF 60%); }
.enrol__ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--green); color: var(--ink); }
.enrol--cta h2 { margin: 0; font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.enrol--cta p { margin: 6px 0 0; color: var(--muted); }
.enrol--cta .enrol__price { display: inline-block; margin-top: 8px; }
.enrol--cta .btn svg { margin-left: 6px; }
@media (max-width: 760px) { .enrol--cta { grid-template-columns: 1fr; text-align: left; } }
.course-h2 { margin: 0 0 12px; font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.course-h2--sm { font-size: 30px; margin-bottom: 16px; }
.course-overview .prose { font-size: 17px; line-height: 1.75; color: #4A6357; }
.course-overview .prose h3 { font-size: 20px; color: var(--ink); }
.single-lp_course .facts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.single-lp_course .fact { background: #F1F8F4; }
.single-lp_course .fact:nth-child(even) { background: #FFF4EC; }
.single-lp_course .fact span { color: #4A6357; }
.single-lp_course .fact b { font-size: 26px; }
.single-lp_course .acc details, .acc__row { border: 1px solid #E3EEE7; border-radius: 18px; padding: 0 22px; background: #FFFFFF; }
.acc__row { display: flex; align-items: center; gap: 16px; min-height: 66px; font-weight: 700; font-size: 17px; }
.acc__row .num, .single-lp_course .acc summary .num { color: #1B7A45; font-weight: 800; }
.acc__row .grow { flex-grow: 1; }
.acc__row small { font-size: 13px; color: #4A6357; font-weight: 600; }
.single-lp_course .pm { background: #E9F6EE; }
.single-lp_course details[open] .pm { background-color: var(--orange); }
.acc__body { margin: 0 0 20px 44px; font-size: 15px; line-height: 1.7; color: #4A6357; }
.acc__body > :first-child { margin-top: 0; }
.acc__body > :last-child { margin-bottom: 0; }
.acc__body ul { margin: 0; padding-left: 1.2em; }
.acc__body li::marker { color: var(--orange); }
.acc__body strong { color: var(--ink); }

/* Extra course sections: Benefits (check cards) and Why NOIAA? (feature band). */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.benefits li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: #F1F8F4; border: 1px solid #E3EEE7; color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.45; transition: transform .25s var(--ease), box-shadow .25s; }
.benefits li:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(21, 122, 67, .12); }
.benefits__ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); }
.xsec--features { padding: 32px; border-radius: 28px; background: var(--ink); color: #FFFFFF; }
.xsec--features .course-h2 { color: #FFFFFF; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.feature__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--ink); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.3; color: #FFFFFF; }
.feature p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.xsec--features .brand-nebosh { color: var(--green); }
@media (max-width: 600px) {
	.xsec--features { padding: 24px 18px; }
	.benefits li { flex-direction: row; align-items: center; padding: 16px; font-size: 15px; }
	.benefits__ic { flex: none; width: 32px; height: 32px; }
}

/* Module topics: numbered cards in two columns + assessment badge. */
.acc__count { padding: 4px 10px; border-radius: 999px; background: #F1F8F4; white-space: nowrap; }
.acc__body .topics { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.topics li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #F7FBF9; border: 1px solid #E3EEE7; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.45; transition: border-color .2s, background .2s; }
.topics li:hover { border-color: var(--green); background: #FFFFFF; }
.topics__n { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--green-100); color: var(--green-txt); font-size: 12px; font-weight: 800; }
.topics__t { padding-top: 3px; }
.acc--modules details .assess, .acc__body .assess { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #FFF4EC; border: 1px dashed #FFC9A3; }
.assess__ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); }
.assess small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #B4561A; line-height: 1.3; }
.assess b { display: block; color: var(--ink); font-size: 15px; line-height: 1.4; }
@media (max-width: 700px) {
	.acc__body { margin-left: 0; }
	.acc__body .topics { grid-template-columns: 1fr; }
}
.modules-intro { margin: -6px 0 14px; color: #4A6357; }
.single-lp_course .req { background: #F1F8F4; }
.single-lp_course .req:nth-child(even) { background: #FFF4EC; }
.req__text { color: #4A6357; line-height: 1.7; }
.req__text > :first-child { margin-top: 0; }
.req__text > :last-child { margin-bottom: 0; }
.enrol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .enrol-grid { grid-template-columns: 1fr; } }
.enrol-grid > .noiaa-field-error, .enrol-grid > .btn, .enrol-grid > input[type="hidden"] { grid-column: 1 / -1; }
.enrol-grid > .btn { justify-self: start; min-height: 58px; padding: 0 34px; font-size: 17px; }
.single-lp_course .enrol .field input, .single-lp_course .enrol .field select { background: #F7FBF9; border-color: #DCEBE2; }
@media (max-width: 860px) { .single-lp_course .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Verify certificate ---------- */
.verify-hero .hero__in { padding-top: 48px; padding-bottom: 88px; }
.vchips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.vchips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #FFFFFF; font-size: 14px; font-weight: 700; color: var(--green-txt); }
.vchips span + span { color: var(--blue); }
.vform { background: #FFFFFF; border-radius: 28px; padding: 32px; box-shadow: 0 24px 50px rgba(14, 34, 56, .10); display: flex; flex-direction: column; gap: 16px; }
.vform__title { margin: 0; font-size: 22px; font-weight: 800; }
.vform__hint { margin: -6px 0 0; color: var(--muted); font-size: 15px; }
.vform .field { font-size: 15px; font-weight: 800; }
.vform .fld { min-height: 58px; border-radius: 14px; padding: 0 18px; }
.vform__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.vform__or::before, .vform__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.vform .btn { min-height: 58px; font-size: 17px; }
.vqr { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--soft); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.vqr b { color: var(--ink); }
.vqr__code { position: relative; flex: 0 0 64px; height: 64px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-2); overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 7px; }
.vqr__code i { border-radius: 2px; }
.vqr__code i:nth-child(3n+1), .vqr__code i:nth-child(4n) { background: var(--ink); }
.vqr__code em { position: absolute; left: 4px; right: 4px; top: 3px; height: 2px; background: var(--orange); border-radius: 2px; animation: scan 2.6s ease-in-out infinite; }
.vresults { scroll-margin-top: calc(var(--head-h, 130px) + 16px); }
.vresults__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.vresults__head h2:focus { outline: none; }
.vgrid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; align-items: start; }
.vres { border-radius: 24px; overflow: hidden; border: 1.5px solid #B9D1F0; background: #FFFFFF; box-shadow: 0 18px 40px rgba(14, 34, 56, .07); }
.vres__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: linear-gradient(135deg, #E3EEFB, #F3F8FE); }
.vres__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; animation: pop .6s var(--ease) .2s both; }
.vres__status { display: block; font-weight: 800; font-size: 19px; color: var(--blue); }
.vres__sub { display: block; font-size: 13px; color: var(--ink-2); }
.vres--valid { border-color: #9ED7B4; }
.vres--valid .vres__head { background: linear-gradient(135deg, #E3F5EA, #F1FAF4); }
.vres--valid .vres__icon { background: var(--green); color: var(--ink); }
.vres--valid .vres__status { color: var(--green-txt); }
.vres--expired { border-color: #FFC79E; }
.vres--expired .vres__head { background: linear-gradient(135deg, #FFEBDC, #FFF6EE); }
.vres--expired .vres__icon { background: var(--orange); color: var(--ink); }
.vres--expired .vres__status { color: var(--orange-txt); }
.vres__body { display: flex; gap: 18px; padding: 20px 22px; }
.vres__photo { flex: 0 0 84px; }
.vres__photo img, .vres__initial { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--blue); font-size: 30px; font-weight: 800; }
.vres dl { margin: 0; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.vres dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.vres dd { margin: 3px 0 0; font-weight: 800; overflow-wrap: anywhere; }
.vres dd sup { font-size: .65em; }
.vres .full { grid-column: 1 / -1; }
.vres__foot { padding: 0 22px 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.vres__foot .btn { min-height: 46px; }
.vres__text { margin: 0; padding: 20px 22px 0; line-height: 1.65; color: var(--ink-2); }
.vpager { margin-top: 28px; }
.vpager .page-numbers, .pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; margin: 0 4px 8px 0; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; font-weight: 700; color: var(--ink); text-decoration: none; }
.vpager .current, .pager .current { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: #FFFFFF; border-radius: 22px; padding: 26px; }
.step__n { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #FFFFFF; font-weight: 800; align-items: center; justify-content: center; }
.step:nth-child(2) .step__n { background: var(--green); color: var(--ink); }
.step:nth-child(3) .step__n { background: var(--orange); color: var(--ink); }
.step h3 { margin: 14px 0 6px; font-size: 20px; font-weight: 800; }
.step p { margin: 0; line-height: 1.65; color: var(--muted); }
.faq { max-width: 1600px; margin: 0 auto; padding: 88px clamp(16px, 3vw, 40px) 40px; }
.faq h2 { margin: 0 0 24px; font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.faq .acc summary { min-height: 64px; }
.faq .acc details p { font-size: 16px; }

/* ---------- News ---------- */
.news-search { margin-top: 28px; display: flex; gap: 10px; max-width: 560px; }
.news-search input { flex: 1; min-width: 0; min-height: 54px; border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF; padding: 0 18px; font-size: 16px; }
.cat-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #FFFFFF; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.cat-chips a:hover { border-color: var(--blue); color: var(--blue); }
.cat-chips a[aria-current] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.featured-post { margin-top: 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); text-decoration: none; }
.featured-post:hover { color: var(--ink); }
.featured-post .zoom { min-height: 340px; }
.featured-post__body { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-post__body h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.featured-post__body p { margin: 0; color: var(--muted); font-size: 17px; }
.featured-post__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.featured-post__meta .chip { font-size: 13px; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 56px; padding-bottom: 88px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.news-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--head-h, 130px) + 20px); }
.side-box .nform__row { flex-direction: column; }
.side-box--orange { background: var(--orange-50); }
.side-box p { margin: -8px 0 16px; color: var(--muted); }
.pager { margin-top: 36px; }
.empty-box { padding: 40px; border-radius: 24px; background: var(--blue-50); }

/* ---------- Article ---------- */
.reading-bar { position: fixed; left: 0; top: 0; height: 4px; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }
@supports (animation-timeline: scroll()) {
	.reading-bar { animation: grow linear both; animation-timeline: scroll(root); }
	@keyframes grow { to { transform: scaleX(1); } }
}
.article-meta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; font-weight: 600; }
.article-meta img { width: 48px; height: 48px; border-radius: 50%; }
.article-meta strong { display: block; color: var(--ink); }
.article-cover { margin-top: -32px; position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.article-cover .ph-img, .article-cover .ph { aspect-ratio: 16 / 8; height: auto; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 56px; }
.article-tags { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; }
.article-tags a { padding: 6px 12px; border-radius: 999px; background: var(--blue-50); font-size: 14px; text-decoration: none; }
.share { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 700; }
.share a, .share button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #FFFFFF; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; }
.author-box { margin-top: 36px; display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: 22px; background: var(--soft); }
.author-box img { border-radius: 50%; }
.author-box small { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.author-box strong { display: block; font-size: 18px; }
.author-box p { margin: 4px 0 0; color: var(--muted); }
.post-nav { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 20px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; }
.post-nav a small { display: block; color: var(--blue); font-weight: 700; margin-bottom: 4px; }
.post-nav .next { text-align: right; }
.toc ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.related-course { background: #FFFFFF; border: 1px solid var(--line); }
.related-course h3 { margin: 6px 0; font-size: 19px; }
.comments-area { max-width: 760px; }

/* ---------- Accreditations page ---------- */
.acc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.acc-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); text-decoration: none; }
.acc-card:hover { color: var(--ink); }
.acc-card__logo { height: 90px; display: flex; align-items: center; }
.acc-card__logo img { max-height: 72px; max-width: 180px; object-fit: contain; }
.acc-card strong { font-size: 18px; }
.acc-card p { margin: 0; color: var(--muted); font-size: 15px; }
.acc-card__more { margin-top: auto; font-weight: 700; color: var(--blue); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { background: #FFFFFF; border-radius: 24px; padding: 28px; }
.pillar__n { font-weight: 800; font-size: 40px; color: var(--blue-200); line-height: 1; }
.pillar h3 { margin: 12px 0 8px; font-size: 22px; font-weight: 800; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.65; }
.opito-flag { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #FFFFFF; box-shadow: var(--shadow); }
.opito-flag img { width: 54px; height: 54px; object-fit: contain; }
.opito-flag strong { display: block; }
.opito-flag span { font-size: 13px; color: var(--muted); }

/* ---------- Corporate page ---------- */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.way { padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--tone-50), #FFFFFF 60%); }
.way__n { font-weight: 800; font-size: 15px; color: var(--tone-txt); }
.way h3 { margin: 10px 0 6px; font-size: 20px; font-weight: 800; }
.way p { margin: 0; color: var(--muted); line-height: 1.6; }
.quote-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .icon { color: var(--green-txt); }
.quote-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 50px rgba(14, 34, 56, .08); padding: 32px; scroll-margin-top: calc(var(--head-h, 130px) + 16px); }

/* ---------- 404 / search ---------- */
.notfound { text-align: center; padding-top: 96px; padding-bottom: 96px; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); margin: 0; }

/* Form fields never wider than their column (WordPress comment textarea has cols="45"). */
textarea, input:not([type="checkbox"]):not([type="radio"]), select { max-width: 100%; }
.comment-form textarea { width: 100%; box-sizing: border-box; }
.article-layout > *, .news-layout > *, .course-layout > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.topbar__offices { display: none; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-header__in { flex-wrap: wrap; }
	.site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
	.nav-open .site-nav { display: flex; max-height: 70vh; overflow-y: auto; overscroll-behavior: contain; }
	.main-nav .nav-list { flex-direction: column; gap: 0; font-size: 17px; }
	.main-nav .nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.main-nav .nav-list a::after { display: none; }
	.main-nav .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; }
	.header-actions { flex-wrap: wrap; }
	.header-actions .btn { flex: 1 1 200px; }
}
@media (max-width: 1080px) {
	.grid4, .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-layout, .article-layout { grid-template-columns: minmax(0, 1fr); }
	.news-side { position: static; }
}
@media (max-width: 900px) {
	.home-hero__grid, .hero-split, .why-grid, .quote-wrap, .featured-post { grid-template-columns: 1fr; }
	.grid2, .grid3, .steps, .pillars, .news-grid { grid-template-columns: 1fr; }
	.vcard { position: static; margin-top: 16px; width: auto; }
	.opito-badge { width: 120px; height: 120px; right: -6px; top: -16px; }
	.opito-badge svg { width: 120px; height: 120px; }
	.opito-badge__logo { width: 68px; height: 68px; }
	.course-aside { position: static; max-width: none; order: 2; }
	.cta { padding: 40px 28px; }
	.sec { padding-top: 64px; }
	.band__in { padding-top: 64px; padding-bottom: 64px; }
	.topbar__in { justify-content: flex-start; }
	.post-nav { grid-template-columns: 1fr; }
	.vres dl { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.topbar { font-size: 12px; }
	/* Fixed on phones too: one email + one phone on a single row to keep it short. */
	.topbar__in { flex-wrap: nowrap; padding-top: 6px; padding-bottom: 6px; overflow: hidden; }
	.topbar__lines a + a { display: none; }
	.topbar__item { min-width: 0; gap: 6px; }
	.topbar__lines a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
	.topbar__icon svg { width: 16px; height: 16px; }
	.topbar__item { padding: 2px 10px 2px 0; }
	.topbar__item + .topbar__item { padding-left: 10px; }
	.reasons, .grid4, .ways { grid-template-columns: 1fr; }
	.site-logo img { height: 42px; }
	.tile { width: 260px; }
	.logo-tile { width: 160px; }
	.foot-top { grid-template-columns: 1fr; }
	.foot-news h2, .foot-news > p { max-width: 100%; }
	.vres__body { flex-direction: column; }
	.course-back { margin: 10px 0 0; }
}

/* ---------- Home: BOSIET day-by-day timeline (blue → green) ---------- */
.bos { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 120px) 0; color: #FFFFFF; background: linear-gradient(118deg, #0B3E9C 0%, #0F4588 34%, #0D5A73 60%, #157A43 100%); }
.bos__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: kb 30s ease-in-out infinite alternate; }
.bos__veil { position: absolute; inset: 0; opacity: var(--bos-cover, .82); background: linear-gradient(118deg, #0B3E9C 0%, #0F4588 34%, #0D5A73 60%, #157A43 100%); }
.bos--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 40, 100, .6) 0%, rgba(9, 40, 100, .35) 38%, rgba(9, 40, 100, 0) 60%); pointer-events: none; }
@media (max-width: 960px) { .bos--photo::before { background: rgba(9, 40, 100, .35); } }
.bos__glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.bos__glow--a { width: 520px; height: 520px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(90, 169, 255, .35), rgba(90, 169, 255, 0) 70%); }
.bos__glow--b { width: 640px; height: 640px; right: -220px; bottom: -260px; background: radial-gradient(circle, rgba(30, 168, 90, .45), rgba(30, 168, 90, 0) 70%); }
.bos__in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 84px); align-items: start; }
.bos__intro { position: sticky; top: calc(var(--head-h, 130px) + 32px); }
.bos__badge { position: relative; right: auto; top: auto; width: 116px; height: 116px; margin: 0 0 26px; filter: drop-shadow(0 14px 24px rgba(0, 20, 50, .35)); }
.bos__badge svg { width: 116px; height: 116px; }
.bos__badge .opito-badge__logo { width: 66px; height: 66px; }
.bos__badge .pl { border-color: #FFFFFF; }
.bos .eyebrow { color: #A6F0C4; }
.bos .h2 { color: #FFFFFF; }
.bos__lead { margin: 18px 0 0; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .86); }
.bos__facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.bos__facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; }
.bos__facts-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #7CE3A6; border: 1px solid rgba(255, 255, 255, .16); }
.bos__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bos__jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #FFFFFF; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, .35); transition: background .2s, border-color .2s; }
.bos__jump a.tone-blue:hover, .bos__jump a.tone-blue:focus-visible { background: #1558B0; border-color: #1558B0; }
.bos__jump a.tone-green:hover, .bos__jump a.tone-green:focus-visible { background: #1EA85A; border-color: #1EA85A; }
.bos__btn { margin-top: 30px; }

.bos__tl { --p: 1; position: relative; list-style: none; margin: 0; padding: 0; }
.bos__tl::before, .bos__tl::after { content: ""; position: absolute; left: 31px; top: 34px; width: 4px; border-radius: 4px; }
.bos__tl::before { bottom: 34px; background: rgba(255, 255, 255, .18); }
.bos__tl::after { height: calc((100% - 68px) * var(--p)); background: linear-gradient(180deg, #5AA9FF, #1EA85A); box-shadow: 0 0 16px rgba(124, 227, 166, .6); transition: height .25s linear; }
.bos__day { position: relative; padding-left: 92px; margin: 0 0 28px; scroll-margin-top: calc(var(--head-h, 130px) + 24px); }
.bos__dot { position: absolute; left: 0; top: 20px; z-index: 1; width: 66px; height: 66px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; background: #FFFFFF; color: var(--blue); box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 10px 22px rgba(0, 20, 50, .3); transition: background .35s, color .35s, transform .35s var(--ease); }
.bos__dot small { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bos__dot b { font-size: 26px; font-weight: 800; }
.bos__day.tone-green .bos__dot { color: var(--green-txt); }
.bos__day.is-on .bos__dot { background: var(--blue); color: #FFFFFF; transform: scale(1.06); }
.bos__day.tone-green.is-on .bos__dot { background: var(--green); }
.bos__day.is-on .bos__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #7CE3A6; animation: ringpulse 2.4s ease-out infinite; }
.bos__card { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #FFFFFF; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 26px 50px rgba(0, 20, 50, .28); transition: transform .35s var(--ease), box-shadow .35s; }
.bos__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; z-index: 2; background: var(--blue); }
.bos__day.tone-green .bos__card::before { background: var(--green); }
.bos__card:hover { transform: translateY(-4px); box-shadow: 0 32px 60px rgba(0, 20, 50, .34); }
.bos__pic { position: relative; margin: 0; min-height: 230px; overflow: hidden; background: linear-gradient(135deg, #1558B0, #1EA85A); }
.bos__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bos__card:hover .bos__pic img { transform: scale(1.06); }
.bos__tag { position: absolute; left: 14px; top: 16px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #FFFFFF; background: var(--blue); box-shadow: 0 6px 14px rgba(0, 20, 50, .3); }
.bos__day.tone-green .bos__tag { background: var(--green-txt); }
.bos__body { padding: 26px 28px 28px; }
.bos__body h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.bos__body p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.bos__pts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.bos__pts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.bos__pts-ic { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: #E6EFFB; color: var(--blue); }
.bos__day.tone-green .bos__pts-ic { background: #E3F5EA; color: var(--green-txt); }
.bos__end { position: relative; display: flex; align-items: center; min-height: 66px; padding-left: 92px; font-weight: 800; font-size: 17px; }
.bos__end-ic { position: absolute; left: 0; top: 0; z-index: 1; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1558B0, #1EA85A); color: #FFFFFF; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }

/* Animation: JS sets .bos--js (scroll-driven rail) and .will-in/.is-in (entrances). */
.bos--js .bos__tl { --p: 0; }
@keyframes bos-in { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
@keyframes bos-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.bos .will-in:not(.is-in) { opacity: 0; }
.bos .bos__intro.is-in { animation: bos-up .9s var(--ease) backwards; }
.bos .bos__day.is-in .bos__card, .bos .bos__end.is-in { animation: bos-in .85s var(--ease) backwards; animation-delay: .12s; }
.bos .bos__day.is-in .bos__dot { animation: pop .6s var(--ease) backwards; }

@media (max-height: 1000px) {
	.bos__intro { position: relative; top: auto; }
}
@media (max-width: 1080px) {
	.bos__card { grid-template-columns: minmax(0, 1fr); }
	.bos__pic { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 960px) {
	.bos__in { grid-template-columns: minmax(0, 1fr); }
	.bos__intro { position: relative; top: auto; }
	.bos__badge { width: 96px; height: 96px; margin-bottom: 20px; }
	.bos__badge svg { width: 96px; height: 96px; }
	.bos__badge .opito-badge__logo { width: 54px; height: 54px; padding: 6px; }
}
@media (max-width: 600px) {
	.bos__tl::before, .bos__tl::after { left: 21px; top: 26px; }
	.bos__tl::before { bottom: 26px; }
	.bos__tl::after { height: calc((100% - 52px) * var(--p)); }
	.bos__day, .bos__end { padding-left: 62px; }
	.bos__dot, .bos__end-ic { width: 46px; height: 46px; }
	.bos__dot { top: 14px; }
	.bos__dot small { font-size: 8px; }
	.bos__dot b { font-size: 19px; }
	.bos__end { min-height: 46px; font-size: 15.5px; }
	.bos__body { padding: 20px 20px 22px; }
	.bos__body h3 { font-size: 16px; }
	.bos__lead { font-size: 16.5px; }
	.bos__intro .h2 { padding-right: 4px; }
}

/* ---------- Print (verify confirmation) ---------- */
@media print {
	.topbar, .site-header, .site-footer, .hero, .no-print, .reading-bar { display: none !important; }
	.vres { box-shadow: none; break-inside: avoid; }
	body { background: #FFFFFF; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.marq { flex-wrap: wrap; width: auto; }
}
