/* Kwara Student Empowerment Programme: landing page and application form */
:root {
	--ksep-green: #0d6b37;
	--ksep-green-dark: #0a3d22;
	--ksep-ink: #10231a;
	--ksep-gold: #d8c55a;
	--ksep-bg: #f4f5f2;
	--ksep-text: #1d2a22;
	--ksep-muted: #56635b;
	--ksep-line: #d9ded8;
	--ksep-red: #b3261e;
	--ksep-font: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

/* Break out of the theme's constrained content column. */
.wp-block-post-content:has(> .ksep-landing) { padding: 0 !important; margin: 0 !important; }
.wp-block-post-content > .ksep-landing { max-width: none !important; width: 100%; margin: 0 !important; }

/* ---------- Landing layout ---------- */
.ksep-landing { background: #fff; color: var(--ksep-text); font-family: var(--ksep-font); font-size: 17px; line-height: 1.6; }
.ksep-landing * { box-sizing: border-box; }
.ksep-landing h1, .ksep-landing h2, .ksep-landing h3 { font-family: var(--ksep-font); color: var(--ksep-ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; font-weight: 700; }
.ksep-landing h2 { font-size: clamp(28px, 3.4vw, 38px); }
.ksep-landing h3 { font-size: 20px; }
.ksep-landing p { margin: 0 0 1em; }
.ksep-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ksep-section-block { padding: 88px 0; scroll-margin-top: 80px; }
.ksep-section-block--grey { background: var(--ksep-bg); }
.ksep-kicker { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ksep-green); margin-bottom: 10px; }
.ksep-lead { font-size: 1.1em; color: var(--ksep-muted); max-width: 720px; }
.ksep-rule { width: 56px; height: 4px; background: var(--ksep-gold); border: 0; margin: 0 0 22px; }

/* Header */
.ksep-topbar { position: sticky; top: 0; z-index: 50; background: var(--ksep-green-dark); color: #fff; }
.admin-bar .ksep-topbar { top: 32px; }
.ksep-topbar .ksep-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.ksep-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.ksep-brand__logo { width: 56px; height: 56px; border-radius: 50%; background: #fff; flex: none; display: block; }
.ksep-brand__text { font-size: 13px; line-height: 1.35; color: #c9d6cd; }
.ksep-brand__text strong { display: block; font-size: 16px; letter-spacing: .03em; color: #fff; }
.ksep-nav { display: flex; gap: 28px; align-items: center; }
.ksep-nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.ksep-nav a:hover { color: var(--ksep-gold); }
.ksep-nav .ksep-btn { padding: 10px 18px; font-size: 14px; }

/* Hero: photo with overlay and service panel */
.ksep-hero { position: relative; color: #fff; padding: 96px 0; background-color: var(--ksep-ink); background-size: cover; background-position: center 65%; }
.ksep-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 41, 24, .92) 0%, rgba(10, 41, 24, .80) 50%, rgba(10, 41, 24, .55) 100%); }
.ksep-hero .ksep-wrap { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.ksep-hero__org { font-size: 15px; font-weight: 600; color: var(--ksep-gold); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.ksep-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.02em; }
.ksep-hero__sub { font-size: 1.1em; color: #dbe5de; max-width: 560px; margin-bottom: 14px; }
.ksep-hero__tag { font-weight: 700; color: #fff; margin-bottom: 30px; border-left: 4px solid var(--ksep-gold); padding-left: 14px; }
.ksep-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.ksep-panel { background: #fff; color: var(--ksep-text); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.ksep-panel__head { background: var(--ksep-green); color: #fff; padding: 18px 24px; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 4px solid var(--ksep-gold); }
.ksep-panel__links { list-style: none; margin: 0; padding: 8px 0; }
.ksep-panel__links li + li { border-top: 1px solid var(--ksep-line); }
.ksep-panel__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; color: var(--ksep-ink); text-decoration: none; font-weight: 600; }
.ksep-panel__links a:hover { background: var(--ksep-bg); color: var(--ksep-green); }
.ksep-panel__links a::after { content: "›"; font-size: 22px; line-height: 1; color: var(--ksep-green); }
.ksep-panel__dates { display: grid; grid-template-columns: 1fr 1fr; background: var(--ksep-bg); border-top: 1px solid var(--ksep-line); }
.ksep-panel__dates div { padding: 16px 24px; }
.ksep-panel__dates div + div { border-left: 1px solid var(--ksep-line); }
.ksep-panel__dates span { display: block; font-size: 13px; color: var(--ksep-muted); }
.ksep-panel__dates strong { font-size: 17px; color: var(--ksep-ink); }

/* Status strip under the hero */
.ksep-strip { background: var(--ksep-gold); color: var(--ksep-ink); }
.ksep-strip .ksep-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-weight: 600; }
.ksep-strip a { color: var(--ksep-ink); font-weight: 700; }

/* Buttons and status */
.ksep-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 4px; font-family: var(--ksep-font); font-weight: 700; font-size: 16px; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.ksep-btn--primary { background: var(--ksep-gold); color: var(--ksep-ink); }
.ksep-btn--primary:hover { background: #e6d56e; color: var(--ksep-ink); }
.ksep-btn--ghost { border-color: #fff; color: #fff; }
.ksep-btn--ghost:hover { background: #fff; color: var(--ksep-ink); }
.ksep-btn:disabled { opacity: .6; cursor: progress; }

.ksep-pill { font-weight: 700; }
.ksep-pill__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #8a8f8b; margin-right: 8px; vertical-align: 1px; }
.ksep-pill--open .ksep-pill__dot { background: var(--ksep-green); }
.ksep-pill--closed .ksep-pill__dot { background: var(--ksep-red); }

/* About: support types and sectors */
.ksep-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.ksep-support { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ksep-support__item { border: 1px solid var(--ksep-line); border-top: 5px solid var(--ksep-green); border-radius: 4px; padding: 30px; background: #fff; }
.ksep-support__item p:last-child { margin-bottom: 0; }
.ksep-support__item--alt { border-top-color: var(--ksep-gold); }
.ksep-sectors { margin-top: 48px; }
.ksep-sectors ul { columns: 3; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.ksep-sectors li { padding: 10px 0; border-bottom: 1px solid var(--ksep-line); break-inside: avoid; }

/* Objectives and vision */
.ksep-objectives-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.ksep-checks { list-style: none; padding: 0; margin: 0 0 8px; }
.ksep-checks li { position: relative; padding: 0 0 14px 30px; }
.ksep-checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 3px solid var(--ksep-green); border-bottom: 3px solid var(--ksep-green); transform: rotate(-45deg); }
.ksep-vision { background: var(--ksep-green-dark); color: #fff; padding: 40px; border-radius: 4px; border-left: 6px solid var(--ksep-gold); }
.ksep-vision h3 { color: var(--ksep-gold); text-transform: uppercase; font-size: 15px; letter-spacing: .06em; }
.ksep-vision p { font-size: 21px; line-height: 1.5; margin: 0; }

/* Eligibility */
.ksep-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ksep-note { background: var(--ksep-bg); border-left: 4px solid var(--ksep-green); padding: 14px 18px; font-size: 15px; color: var(--ksep-muted); margin-top: 16px; }

/* Expo */
.ksep-expo { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.ksep-expo img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.ksep-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0; border: 1px solid var(--ksep-line); border-radius: 4px; background: #fff; }
.ksep-fact { padding: 16px 18px; }
.ksep-fact + .ksep-fact { border-left: 1px solid var(--ksep-line); }
.ksep-fact span { display: block; font-size: 13px; color: var(--ksep-muted); text-transform: uppercase; letter-spacing: .05em; }
.ksep-fact strong { color: var(--ksep-ink); line-height: 1.35; display: block; }

/* Apply */
.ksep-apply-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.ksep-apply-head .ksep-rule { margin-left: auto; margin-right: auto; }
.ksep-apply-head .ksep-lead { margin: 0 auto; }

/* Footer */
.ksep-footer { background: var(--ksep-ink); color: #b9c6bd; padding: 64px 0 28px; font-size: 15px; }
.ksep-footer .ksep-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.ksep-footer h3 { color: #fff; font-size: 18px; }
.ksep-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.ksep-footer a:hover { color: var(--ksep-gold); text-decoration: underline; }
.ksep-footer__logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: block; margin-bottom: 16px; }
.ksep-footer__phones { list-style: none; padding: 0; margin: 0; }
.ksep-footer__phones li { padding: 4px 0; }
.ksep-footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: 13px; color: #8c9a90; }

/* ---------- Form ---------- */
.ksep-form-wrap { max-width: 880px; margin: 0 auto; color: var(--ksep-text); font-family: var(--ksep-font); font-size: 16px; }
.ksep-form-wrap * { box-sizing: border-box; }
.ksep-required-note { color: var(--ksep-muted); font-size: 15px; }
.ksep-req { color: var(--ksep-red); }
.ksep-section { background: #fff; border: 1px solid var(--ksep-line); border-radius: 4px; padding: 0 0 30px; margin: 0 0 24px; min-width: 0; overflow: hidden; }
.ksep-section legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; color: #fff; background: var(--ksep-green-dark); margin: 0 0 26px; padding: 14px 30px; }
.ksep-section legend + * { clear: both; }
.ksep-section > .ksep-grid { padding: 0 30px; }
.ksep-section__letter { color: var(--ksep-gold); font-weight: 700; }
.ksep-section__letter::after { content: "."; }
.ksep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.ksep-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ksep-field--full { grid-column: 1 / -1; }
.ksep-field > label, .ksep-label, .ksep-video__options label { font-weight: 600; font-size: 15px; color: var(--ksep-text); }
.ksep-form input[type=text], .ksep-form input[type=email], .ksep-form input[type=tel], .ksep-form input[type=url], .ksep-form input[type=date], .ksep-form select, .ksep-form textarea {
	width: 100%; padding: 11px 13px; border: 1px solid #a9b3ac; border-radius: 4px; background: #fff; font: inherit; color: var(--ksep-text); min-height: 48px;
}
.ksep-form textarea { resize: vertical; }
.ksep-form input:focus, .ksep-form select:focus, .ksep-form textarea:focus { outline: 3px solid var(--ksep-gold); outline-offset: 0; border-color: var(--ksep-ink); }
.ksep-form input[type=file] { width: 100%; padding: 12px; border: 1px dashed #a9b3ac; border-radius: 4px; background: var(--ksep-bg); font: inherit; font-size: 15px; }
.ksep-form input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 3px; background: var(--ksep-green); color: #fff; font-weight: 600; font-family: inherit; cursor: pointer; }
.ksep-other { margin-top: 8px; }
.ksep-help { font-size: 14px; color: var(--ksep-muted); margin: 0; }

.ksep-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ksep-choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #a9b3ac; border-radius: 4px; padding: 16px; cursor: pointer; background: #fff; }
.ksep-choice:has(input:checked) { border: 2px solid var(--ksep-green); padding: 15px; background: #f2f7f3; }
.ksep-choice input { margin-top: 4px; accent-color: var(--ksep-green); width: 18px; height: 18px; flex: none; }
.ksep-choice__body strong { display: block; color: var(--ksep-ink); }
.ksep-choice__body span { font-size: 14px; color: var(--ksep-muted); }

.ksep-video__options { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; }
.ksep-video__options > div { display: flex; flex-direction: column; gap: 6px; }
.ksep-video__or { align-self: center; font-weight: 700; color: var(--ksep-muted); text-transform: uppercase; font-size: 13px; }

.ksep-declaration { background: var(--ksep-bg); border: 1px solid var(--ksep-line); border-radius: 4px; padding: 20px 22px; margin-bottom: 22px; }
.ksep-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.ksep-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ksep-green); flex: none; }

.ksep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ksep-form .ksep-btn--primary { background: var(--ksep-green); color: #fff; padding: 16px 34px; font-size: 17px; }
.ksep-form .ksep-btn--primary:hover { background: var(--ksep-green-dark); }

.ksep-progress { margin-top: 20px; background: #fff; border: 1px solid var(--ksep-line); border-radius: 4px; padding: 16px 18px; }
.ksep-progress__label { font-weight: 600; margin-bottom: 8px; }
.ksep-progress__bar { height: 10px; background: #e3e7e3; border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.ksep-progress__bar span { display: block; height: 100%; width: 0; background: var(--ksep-green); transition: width .2s ease; }

.ksep-notice, .ksep-errors { border-radius: 4px; padding: 16px 20px; margin-bottom: 20px; }
.ksep-notice--info { background: var(--ksep-bg); border: 1px solid var(--ksep-line); text-align: center; }
.ksep-notice--error, .ksep-errors { background: #fdeeee; border: 1px solid #f2c4c1; border-left: 4px solid var(--ksep-red); color: #6e1a15; }
.ksep-errors ul { margin: 8px 0 0 18px; padding: 0; }

.ksep-success { background: #fff; border: 1px solid var(--ksep-line); border-top: 6px solid var(--ksep-green); border-radius: 4px; padding: 44px 28px; text-align: center; outline: none; }
.ksep-success__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--ksep-green); color: #fff; font-size: 30px; display: grid; place-items: center; margin: 0 auto 16px; }
.ksep-success h3 { font-size: 26px; color: var(--ksep-ink); }
.ksep-success__ref { background: var(--ksep-bg); border: 1px solid var(--ksep-line); border-radius: 4px; padding: 16px; display: inline-block; min-width: 260px; }
.ksep-success__ref strong { font-size: 26px; letter-spacing: .04em; color: var(--ksep-green-dark); }

.ksep-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.ksep-hero .ksep-wrap, .ksep-intro, .ksep-objectives-wrap, .ksep-two, .ksep-expo, .ksep-footer .ksep-wrap { grid-template-columns: 1fr; gap: 40px; }
	.ksep-expo img { max-width: 420px; }
	.ksep-sectors ul { columns: 2; }
	.ksep-nav a:not(.ksep-btn) { display: none; }
}
@media (max-width: 782px) {
	.admin-bar .ksep-topbar { top: 46px; }
}
@media (max-width: 640px) {
	.ksep-landing { font-size: 16px; }
	.ksep-section-block { padding: 60px 0; }
	.ksep-wrap { padding: 0 16px; }
	.ksep-topbar .ksep-wrap { height: 68px; }
	.ksep-brand__logo { width: 44px; height: 44px; }
	.ksep-brand__text span { display: none; }
	.ksep-brand__text strong { font-size: 13px; }
	.ksep-hero { padding: 56px 0; }
	.ksep-hero__ctas .ksep-btn { flex: 1; }
	.ksep-support, .ksep-facts, .ksep-grid, .ksep-choices, .ksep-video__options { grid-template-columns: 1fr; }
	.ksep-fact + .ksep-fact { border-left: 0; border-top: 1px solid var(--ksep-line); }
	.ksep-sectors ul { columns: 1; }
	.ksep-vision { padding: 28px; }
	.ksep-video__or { justify-self: start; }
	.ksep-section legend { padding: 12px 18px; font-size: 17px; }
	.ksep-section > .ksep-grid { padding: 0 18px; }
	.ksep-actions .ksep-btn { width: 100%; }
}
