/*
Theme Name: LEAD Public
Theme URI: https://lead.scnghana.org/
Author: SCN Academy | SCN-Ghana
Description: Public website theme for the LEAD™ Clinical Leadership & Management Shadowing Programme™.
Version: 0.3.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: lead-public
License: Proprietary
*/

:root {
	--lead-deep: #003448;
	--lead-night: #07151c;
	--lead-lime: #dcf828;
	--lead-paper: #fff;
	--lead-mist: #f2f5f3;
	--lead-ink: #14242b;
	--lead-muted: #637178;
	--lead-line: #dbe2df;
	--lead-shell: min(1360px, calc(100% - 48px));
	--lead-focus: #dcf828;
	--lead-serif: Georgia, "Times New Roman", serif;
	--lead-sans: Inter, "Helvetica Neue", Arial, sans-serif;
	font-family: var(--lead-sans);
	color: var(--lead-ink);
	background: var(--lead-paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--lead-ink); background: var(--lead-paper); font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.lead-shell { width: var(--lead-shell); margin-inline: auto; }
.lead-main { min-height: 60vh; }
.lead-skip-link { position: fixed; top: -80px; left: 16px; z-index: 10000; padding: 12px 16px; background: var(--lead-paper); color: var(--lead-night); }
.lead-skip-link:focus { top: 16px; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--lead-focus); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header and navigation */
.lead-site-header { position: sticky; top: 0; z-index: 100; color: var(--lead-paper); background: rgba(7,21,28,.97); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.lead-header-inner { min-height: 84px; display: flex; align-items: center; gap: 22px; }
.lead-brand { flex: 0 0 150px; display: block; text-decoration: none; }
.lead-brand img { width: 150px; }
.lead-primary-nav { margin-left: auto; }
.lead-primary-nav ul { margin: 0; padding: 0; list-style: none; }
.lead-primary-nav > ul { display: flex; align-items: center; gap: clamp(10px, 1.05vw, 18px); }
.lead-primary-nav a { color: #edf4f5; text-decoration: none; font-size: .71rem; font-weight: 700; white-space: nowrap; }
.lead-primary-nav a:hover, .lead-primary-nav .current-menu-item > a { color: var(--lead-lime); }
.lead-primary-nav .menu-item-has-children { position: relative; display: flex; align-items: center; }
.lead-submenu-toggle { width: 24px; height: 24px; padding: 0; color: var(--lead-paper); background: transparent; border: 0; cursor: pointer; }
.lead-submenu-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.lead-primary-nav .sub-menu { display: none; position: absolute; top: calc(100% + 20px); left: -18px; width: 240px; padding: 10px; color: var(--lead-ink); background: var(--lead-paper); box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.lead-primary-nav .sub-menu::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.lead-primary-nav .sub-menu li { display: block; }
.lead-primary-nav .sub-menu a { display: block; padding: 10px 12px; color: var(--lead-ink); white-space: normal; }
.lead-primary-nav .sub-menu a:hover { color: var(--lead-deep); background: var(--lead-mist); }
.lead-primary-nav .menu-item-has-children:hover > .sub-menu, .lead-primary-nav .menu-item-has-children:focus-within > .sub-menu, .lead-primary-nav .is-submenu-open > .sub-menu { display: block; }
.lead-header-actions { display: flex; align-items: center; gap: 14px; }
.lead-language { font-size: .72rem; font-weight: 800; color: #bdc9cc; }
.lead-sign-in { color: var(--lead-paper); font-size: .76rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.lead-menu-toggle { display: none; min-height: 44px; margin-left: auto; padding: 8px 13px; color: var(--lead-paper); background: transparent; border: 1px solid rgba(255,255,255,.4); cursor: pointer; }

/* Shared components */
.lead-section { padding: clamp(76px, 9vw, 132px) 0; }
.lead-section-label, .lead-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--lead-deep); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.lead-section-label::after, .lead-eyebrow::after { content: ""; width: 25px; height: 3px; background: var(--lead-lime); }
.lead-section h2, .lead-experience h2, .lead-final-cta h2 { margin: 0; font-family: var(--lead-serif); font-size: clamp(2.1rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; }
.lead-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 12px 22px; color: var(--lead-night); background: var(--lead-lime); border: 1px solid var(--lead-lime); text-decoration: none; font-size: .78rem; font-weight: 900; letter-spacing: .02em; }
.lead-button:hover { color: var(--lead-paper); background: var(--lead-deep); border-color: var(--lead-deep); }
.lead-button-small { min-height: 42px; padding: 9px 16px; white-space: nowrap; }
.lead-button-ghost { color: var(--lead-paper); background: transparent; border-color: rgba(255,255,255,.55); }
.lead-button-ghost:hover { color: var(--lead-night); background: var(--lead-paper); border-color: var(--lead-paper); }
.lead-text-link { display: inline-flex; gap: 14px; align-items: center; color: var(--lead-deep); text-decoration: none; font-size: .78rem; font-weight: 900; }
.lead-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.lead-text-link-light { color: var(--lead-paper); }

/* Homepage */
.lead-hero { position: relative; min-height: calc(100vh - 84px); display: flex; align-items: center; isolation: isolate; color: var(--lead-paper); background: var(--lead-night) url("assets/images/lead-hero.png") center/cover no-repeat; }
.lead-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,13,18,.97) 0%, rgba(3,13,18,.87) 40%, rgba(3,13,18,.27) 72%, rgba(3,13,18,.2) 100%); }
.lead-hero-content { padding-top: 88px; padding-bottom: 88px; }
.lead-hero .lead-eyebrow { color: #dce6e8; }
.lead-hero h1 { max-width: 750px; margin: 0; font-family: var(--lead-serif); font-size: clamp(3.3rem, 7.2vw, 7.5rem); line-height: .91; letter-spacing: -.052em; text-wrap: balance; }
.lead-hero-copy { max-width: 610px; margin: 30px 0 0; color: #c9d4d7; font-size: clamp(1rem, 1.25vw, 1.16rem); }
.lead-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lead-hero-index { position: absolute; bottom: 42px; left: 22px; display: grid; justify-items: center; gap: 7px; color: #bac8cb; font-size: .64rem; font-weight: 800; }
.lead-hero-index span:first-child { color: var(--lead-lime); }
.lead-hero-index i { width: 1px; height: 40px; background: rgba(255,255,255,.5); }

.lead-about-grid { display: grid; grid-template-columns: 1.05fr .95fr .75fr; align-items: center; gap: clamp(34px, 5vw, 76px); }
.lead-about-copy h2 { max-width: 580px; }
.lead-about-copy > p:not(.lead-section-label) { margin: 26px 0; color: var(--lead-muted); }
.lead-about-image { position: relative; margin: 0; }
.lead-about-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.lead-about-image figcaption { position: absolute; right: -24px; bottom: 24px; display: grid; min-width: 180px; padding: 18px; color: var(--lead-night); background: var(--lead-lime); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.lead-about-image figcaption strong { font-family: var(--lead-serif); font-size: 2rem; line-height: 1; }
.lead-about-image figcaption span { margin-top: 5px; font-size: .61rem; font-weight: 800; }
.lead-about-points { display: grid; gap: 28px; }
.lead-about-points > div { padding-bottom: 25px; border-bottom: 1px solid var(--lead-line); }
.lead-about-points strong { color: var(--lead-deep); font-family: var(--lead-serif); font-size: 1.2rem; }
.lead-about-points p { margin: 8px 0 0; color: var(--lead-muted); font-size: .88rem; }

.lead-features { position: relative; isolation: isolate; color: var(--lead-paper); background: var(--lead-night) url("assets/images/lead-features.png") center/cover fixed no-repeat; }
.lead-features::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,21,28,.9); }
.lead-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.lead-section-heading-dark .lead-section-label { color: #d7e1e3; }
.lead-section-heading h2 { max-width: 750px; }
.lead-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lead-feature-grid article { min-height: 315px; display: flex; flex-direction: column; padding: 34px; color: var(--lead-ink); background: var(--lead-paper); border-bottom: 4px solid var(--lead-lime); }
.lead-feature-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--lead-deep); border: 1px solid var(--lead-line); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.lead-feature-grid h3 { margin: 36px 0 12px; font-family: var(--lead-serif); font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.08; }
.lead-feature-grid p { margin: 0 0 28px; color: var(--lead-muted); font-size: .9rem; }
.lead-feature-grid a { margin-top: auto; color: var(--lead-deep); font-size: .75rem; font-weight: 900; text-decoration: none; }

.lead-domains { background: var(--lead-mist); }
.lead-domains-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.lead-domains-heading .lead-section-label { justify-content: center; }
.lead-domains-heading > p:last-child { max-width: 660px; margin: 20px auto 0; color: var(--lead-muted); }
.lead-domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lead-domain-card { overflow: hidden; background: var(--lead-paper); border-bottom: 3px solid var(--lead-deep); box-shadow: 0 10px 34px rgba(7,21,28,.06); }
.lead-domain-image { aspect-ratio: 16/9; background-image: url("assets/images/lead-domains.png"); background-size: 300% 200%; background-repeat: no-repeat; }
.lead-domain-image-1 { background-position: 0 0; }
.lead-domain-image-2 { background-position: 50% 0; }
.lead-domain-image-3 { background-position: 100% 0; }
.lead-domain-image-4 { background-position: 0 100%; }
.lead-domain-image-5 { background-position: 50% 100%; }
.lead-domain-image-6 { background-position: 100% 100%; }
.lead-domain-body { position: relative; min-height: 240px; padding: 40px 26px 28px; text-align: center; }
.lead-domain-body > span { position: absolute; top: -23px; left: calc(50% - 23px); width: 46px; height: 46px; display: grid; place-items: center; color: var(--lead-night); background: var(--lead-lime); border: 4px solid var(--lead-paper); border-radius: 50%; font-size: .66rem; font-weight: 900; }
.lead-domain-body h3 { margin: 0; color: var(--lead-deep); font-family: var(--lead-serif); font-size: 1.18rem; line-height: 1.25; }
.lead-domain-body p { margin: 16px 0 0; color: var(--lead-muted); font-size: .82rem; }
.lead-centred-link { margin: 40px 0 0; text-align: center; }

.lead-experience { padding: clamp(76px, 9vw, 120px) 0; color: var(--lead-paper); background: var(--lead-night); }
.lead-experience-inner { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: clamp(42px, 7vw, 100px); }
.lead-experience-poster { min-height: 480px; display: flex; align-items: end; padding: 26px; background: linear-gradient(0deg, rgba(7,21,28,.85), rgba(7,21,28,.15)), url("assets/images/lead-features.png") center/cover no-repeat; }
.lead-experience-poster span { padding: 9px 13px; color: var(--lead-night); background: var(--lead-lime); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.lead-experience-copy .lead-section-label { color: #d7e1e3; }
.lead-experience-copy p:not(.lead-section-label) { margin: 24px 0 30px; color: #bdc9cc; }

.lead-information { color: var(--lead-paper); background: var(--lead-deep); }
.lead-information-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lead-information-grid div { min-height: 166px; display: grid; align-content: center; padding: 30px; border-right: 1px solid rgba(255,255,255,.18); text-align: center; }
.lead-information-grid div:last-child { border-right: 0; }
.lead-information-grid strong { color: var(--lead-lime); font-family: var(--lead-serif); font-size: 3.4rem; line-height: 1; }
.lead-information-grid span { margin-top: 10px; color: #dce6e8; font-size: .75rem; font-weight: 800; }
.lead-final-cta { padding: 70px 0; background: var(--lead-lime); }
.lead-final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.lead-final-cta h2 { max-width: 850px; font-size: clamp(2rem, 4vw, 4rem); }
.lead-final-cta .lead-section-label::after { background: var(--lead-deep); }
.lead-final-cta .lead-button { flex: 0 0 auto; color: var(--lead-paper); background: var(--lead-night); border-color: var(--lead-night); }
.lead-final-cta .lead-button:hover { color: var(--lead-night); background: var(--lead-paper); border-color: var(--lead-paper); }

/* Standard content */
.lead-page-header { padding: clamp(82px, 10vw, 140px) 0 62px; color: var(--lead-paper); background: linear-gradient(125deg, var(--lead-deep), var(--lead-night)); }
.lead-page-header h1 { max-width: 960px; margin: 0; font-family: var(--lead-serif); font-size: clamp(2.7rem, 6vw, 6rem); line-height: .96; letter-spacing: -.045em; }
.lead-content { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 110px; }
.lead-content > *:first-child { margin-top: 0; }
.lead-content h2, .lead-content h3 { margin-top: 2em; color: var(--lead-deep); font-family: var(--lead-serif); line-height: 1.16; }
.lead-content h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.lead-content h3 { font-size: 1.4rem; }
.lead-content p, .lead-content li { color: #43545b; }
.lead-content li + li { margin-top: .55em; }
.lead-content a { color: var(--lead-deep); text-decoration-color: var(--lead-lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.lead-content blockquote { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--lead-lime); }
.lead-content .wp-block-group { margin-block: 38px; padding: 30px; background: var(--lead-mist); }

/* Footer */
.lead-site-footer { padding: 68px 0 26px; color: #cad5d8; background: var(--lead-night); }
.lead-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; }
.lead-footer-brand img { width: 215px; }
.lead-footer-brand p { max-width: 440px; margin: 20px 0 0; color: #9eafb3; font-size: .88rem; }
.lead-footer-grid h2 { margin: 0 0 18px; color: var(--lead-paper); font-family: var(--lead-serif); font-size: 1.1rem; }
.lead-footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: start; }
.lead-footer-grid > div:not(:first-child) a { margin: 5px 0; color: #b8c6c9; text-decoration: none; font-size: .8rem; }
.lead-footer-grid a:hover { color: var(--lead-lime); }
.lead-footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #83979b; font-size: .7rem; }

@media (max-width: 1160px) {
	.lead-header-inner { gap: 14px; }
	.lead-brand, .lead-brand img { width: 150px; flex-basis: 150px; }
	.lead-primary-nav > ul { gap: 11px; }
	.lead-primary-nav a { font-size: .69rem; }
	.lead-header-actions { gap: 9px; }
	.lead-language { display: none; }
	.lead-about-grid { grid-template-columns: 1fr 1fr; }
	.lead-about-points { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1200px) {
	:root { --lead-shell: min(100% - 40px, 760px); }
	.lead-header-inner { min-height: 72px; }
	.lead-menu-toggle { display: block; }
	.lead-primary-nav { display: none; position: absolute; top: 72px; right: 0; left: 0; max-height: calc(100vh - 72px); margin: 0; padding: 22px max(20px, calc((100% - 760px) / 2)); overflow-y: auto; background: var(--lead-night); border-top: 1px solid rgba(255,255,255,.12); }
	.lead-primary-nav.is-open { display: block; }
	.lead-primary-nav > ul { align-items: stretch; flex-direction: column; gap: 0; }
	.lead-primary-nav > ul > li { min-height: 45px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.11); }
	.lead-primary-nav a { padding: 11px 0; font-size: .82rem; }
	.lead-primary-nav .sub-menu { position: static; width: 100%; padding: 0 0 10px 18px; color: var(--lead-paper); background: transparent; box-shadow: none; }
	.lead-primary-nav .sub-menu a { color: #b9c8cb; }
	.lead-primary-nav .sub-menu a:hover { color: var(--lead-lime); background: transparent; }
	.lead-header-actions .lead-sign-in { display: none; }
	.lead-hero { min-height: 760px; background-position: 62% center; }
	.lead-hero::before { background: linear-gradient(90deg, rgba(3,13,18,.97), rgba(3,13,18,.73)); }
	.lead-feature-grid, .lead-domain-grid { grid-template-columns: repeat(2, 1fr); }
	.lead-feature-grid article:last-child { grid-column: 1 / -1; }
	.lead-experience-inner { grid-template-columns: 1fr; }
	.lead-experience-poster { min-height: 420px; }
	.lead-information-grid { grid-template-columns: repeat(2, 1fr); }
	.lead-information-grid div:nth-child(2) { border-right: 0; }
	.lead-information-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
	.lead-about-image figcaption { right: 0; }
}

@media (max-width: 680px) {
	:root { --lead-shell: calc(100% - 28px); }
	.lead-brand, .lead-brand img { width: 132px; flex-basis: 132px; }
	.lead-header-actions .lead-button { display: none; }
	.lead-hero { min-height: 700px; background-position: 65% center; }
	.lead-hero::before { background: linear-gradient(90deg, rgba(3,13,18,.98), rgba(3,13,18,.76)); }
	.lead-hero-content { padding-top: 70px; padding-bottom: 70px; }
	.lead-hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
	.lead-hero-copy { max-width: 95%; }
	.lead-hero-index { display: none; }
	.lead-section { padding: 74px 0; }
	.lead-about-grid, .lead-feature-grid, .lead-domain-grid { grid-template-columns: 1fr; }
	.lead-about-image { width: 100%; }
	.lead-about-image figcaption { right: 0; }
	.lead-about-points { grid-column: auto; grid-template-columns: 1fr; }
	.lead-section-heading, .lead-final-cta-inner { align-items: start; flex-direction: column; }
	.lead-feature-grid article:last-child { grid-column: auto; }
	.lead-feature-grid article { min-height: 285px; padding: 28px; }
	.lead-domain-body { min-height: 210px; }
	.lead-experience-poster { min-height: 310px; }
	.lead-information-grid { grid-template-columns: 1fr; }
	.lead-information-grid div { min-height: 130px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
	.lead-information-grid div:last-child { border-bottom: 0; }
	.lead-footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
	.lead-footer-brand { grid-column: 1 / -1; }
	.lead-footer-meta { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	.lead-features { background-attachment: scroll; }
}
