/* =========================================================
   NTCG Education — Leadership Training Centre
   ========================================================= */


/* ── Brand Tokens ─────────────────────────────────────── */
:root {
    --ed-accent: #30373b;
    --ed-accent-hover: #1c2327;
    --ed-purple: #60286c;
    --ed-teal:   #0facb2;
    --ed-dark:   #1a1f23;
    --ed-mid:    #30373b;
    --ed-text:   #1a212a;
    --ed-muted:  #6b7280;
    --ed-light:  #f3f3f5;
    --ed-white:  #ffffff;
    --ed-font:   'Figtree', -apple-system, sans-serif;
}


/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--ed-font);
    color: var(--ed-text);
    background: var(--ed-white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--ed-font);
    line-height: 1.1;
}

p { margin: 0; }

button {
    font-family: var(--ed-font);
    cursor: pointer;
}


/* ── Buttons ──────────────────────────────────────────── */
.ed-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 28px;
    border-radius: 4px;
    font-family: var(--ed-font);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.ed-btn:hover { transform: translateY(-1px); }

.ed-btn--primary {
    background: var(--ed-accent);
    color: var(--ed-white);
    border-color: var(--ed-accent);
}

.ed-btn--primary:hover {
    background: var(--ed-accent-hover);
    border-color: var(--ed-accent-hover);
}

.ed-btn--outline {
    background: transparent;
    color: var(--ed-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.ed-btn--outline:hover {
    border-color: var(--ed-white);
    background: rgba(255, 255, 255, 0.08);
}

.ed-btn--outline-dark {
    background: transparent;
    color: var(--ed-mid);
    border-color: rgba(0, 0, 0, 0.25);
}

.ed-btn--outline-dark:hover {
    border-color: var(--ed-mid);
    background: rgba(0, 0, 0, 0.04);
}

.ed-btn--white {
    background: var(--ed-white);
    color: var(--ed-accent);
    border-color: var(--ed-white);
}

.ed-btn--white:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
}


/* ── Container ────────────────────────────────────────── */
.ed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}


/* ── Section Label ────────────────────────────────────── */
.ed-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ed-accent);
    display: inline-block;
    margin: 0 0 14px;
}


/* ── Topbar offset utilities ──────────────────────────── */
.ed-topbar-offset {
    padding-top: 44px;
}

.admin-bar .ed-topbar-offset {
    padding-top: 76px;
}


/* ── Skip link ────────────────────────────────────────── */
.ed-skip-link {
    position: absolute;
    top: -999px;
    left: 0;
    z-index: 9999;
    background: var(--ed-accent);
    color: var(--ed-white);
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.ed-skip-link:focus {
    top: 0;
}


/* ── Navbar ───────────────────────────────────────────── */
.ed-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 400;
    height: 80px;
    padding: 0 48px;
    background: #30373b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-bar .ed-navbar {
    top: 76px;
}

.ed-navbar__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.ed-navbar__brand img {
    height: 40px;
    width: auto;
    display: block;
}

/* Logo switching: default = white logo visible, dark hidden */
.ed-navbar__brand .ed-navbar__logo--dark { display: none; }
.ed-navbar__brand .ed-navbar__logo--white { display: block; }

.ed-navbar__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ed-navbar__links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    height: 80px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ed-navbar__links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.ed-navbar__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.ed-navbar__portal {
    font-size: 13px;
    font-weight: 500;
    color: #30373b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.ed-navbar__portal:hover {
    color: #0facb2;
}

.ed-navbar__apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 24px;
    background: #ffffff;
    color: #30373b;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.ed-navbar__apply:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Navbar trigger buttons (dropdown items) */
.ed-navbar__trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 80px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ed-font);
    transition: color 0.15s ease;
}

.ed-navbar__trigger:hover {
    color: rgba(255, 255, 255, 0.7);
}

.ed-navbar__trigger[aria-expanded="true"] {
    color: rgba(255, 255, 255, 0.7);
}


.ed-navbar__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    height: 80px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ed-navbar__link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.ed-navbar__link--disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

/* Light navbar (homepage, before scroll) */
.ed-navbar--light {
    background: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, border-bottom-color 0.3s ease;
}

.ed-navbar--light .ed-navbar__logo--dark { display: block; }
.ed-navbar--light .ed-navbar__logo--white { display: none; }

.ed-navbar--light .ed-navbar__trigger,
.ed-navbar--light .ed-navbar__links a,
.ed-navbar--light .ed-navbar__link {
    color: #30373b;
}

.ed-navbar--light .ed-navbar__trigger:hover,
.ed-navbar--light .ed-navbar__links a:hover,
.ed-navbar--light .ed-navbar__link:hover {
    color: rgba(48, 55, 59, 0.55);
}

.ed-navbar--light .ed-navbar__trigger[aria-expanded="true"] {
    color: rgba(48, 55, 59, 0.55);
}

.ed-navbar--light .ed-navbar__apply {
    background: #30373b;
    color: #ffffff;
}

.ed-navbar--light .ed-navbar__apply:hover {
    background: rgba(48, 55, 59, 0.85);
}

/* Scrolled state restores dark navbar */
.ed-navbar--scrolled {
    background: #30373b;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ed-navbar--scrolled .ed-navbar__logo--dark { display: none; }
.ed-navbar--scrolled .ed-navbar__logo--white { display: block; }

.ed-navbar--scrolled .ed-navbar__trigger,
.ed-navbar--scrolled .ed-navbar__links a,
.ed-navbar--scrolled .ed-navbar__link {
    color: #ffffff;
}

.ed-navbar--scrolled .ed-navbar__trigger:hover,
.ed-navbar--scrolled .ed-navbar__links a:hover,
.ed-navbar--scrolled .ed-navbar__link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.ed-navbar--scrolled .ed-navbar__trigger[aria-expanded="true"] {
    color: rgba(255, 255, 255, 0.7);
}

.ed-navbar--scrolled .ed-navbar__apply {
    background: #ffffff;
    color: #30373b;
}

.ed-navbar--scrolled .ed-navbar__apply:hover {
    background: rgba(255, 255, 255, 0.85);
}

/* Light mega-menu (homepage before scroll) */
body.ed-navbar-light .ed-mega {
    background: #f5f5f7;
    border-top-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

body.ed-navbar-light .ed-mega__section {
    border-right-color: rgba(0, 0, 0, 0.08);
}

body.ed-navbar-light .ed-mega__label {
    color: rgba(48, 55, 59, 0.4);
}

body.ed-navbar-light .ed-mega__label--candidates {
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.ed-navbar-light .ed-mega__title {
    color: #30373b;
}

body.ed-navbar-light .ed-mega__list a {
    color: rgba(48, 55, 59, 0.7);
}

body.ed-navbar-light .ed-mega__list a:hover {
    color: #30373b;
}

body.ed-navbar-light .ed-mega__promo-title {
    color: #30373b;
}

body.ed-navbar-light .ed-mega__promo-desc {
    color: rgba(48, 55, 59, 0.55);
}

body.ed-navbar-light .ed-mega__promo-btn {
    background: #30373b;
    color: #ffffff;
}

body.ed-navbar-light .ed-mega__promo-btn:hover {
    background: rgba(48, 55, 59, 0.85);
}

body.ed-navbar-light .ed-mega__cta {
    background: rgba(0, 0, 0, 0.04);
}

body.ed-navbar-light .ed-mega__cta-label {
    color: rgba(48, 55, 59, 0.45);
}

body.ed-navbar-light .ed-mega__cta-title {
    color: #30373b;
}

body.ed-navbar-light .ed-mega__cta-desc {
    color: rgba(48, 55, 59, 0.55);
}

body.ed-navbar-light .ed-mega__cta-link {
    color: var(--ed-teal);
}

body.ed-navbar-light .ed-mega__close {
    color: #30373b;
}

/* Hamburger */
.ed-navbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.ed-navbar__hamburger span {
    display: block;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


/* ── Mega-menu ───────────────────────────────────────── */
.ed-mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 390;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.ed-mega-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.ed-mega {
    position: fixed;
    top: calc(44px + 80px);
    left: 0;
    right: 0;
    z-index: 395;
    background: var(--ed-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.admin-bar .ed-mega {
    top: calc(76px + 80px);
}

.ed-mega.is-open {
    max-height: 420px;
    opacity: 1;
}

.ed-mega__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr 240px;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 44px;
    position: relative;
}

.ed-mega__section {
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ed-mega__promo {
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-mega__promo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.ed-mega__promo-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0 0 20px;
}

.ed-mega__promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 24px;
    background: #ffffff;
    color: var(--ed-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease;
    white-space: nowrap;
    width: fit-content;
}

.ed-mega__promo-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

.ed-mega__cta {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-self: center;
    aspect-ratio: 1;
    justify-content: center;
}

.ed-mega__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.ed-mega__label--candidates {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-mega__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.ed-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ed-mega__list li {
    margin-bottom: 0;
}

.ed-mega__list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.12s ease;
    line-height: 1.3;
}

.ed-mega__list a:hover {
    color: #ffffff;
}


.ed-mega__cta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}

.ed-mega__cta-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ed-mega__cta-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: auto;
    padding-bottom: 20px;
}

.ed-mega__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F7C70C;
    text-decoration: none;
    transition: gap 0.15s ease;
}

.ed-mega__cta-link:hover {
    gap: 10px;
}

.ed-mega__arrow {
    width: 12px;
    height: 12px;
}

.ed-mega__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.ed-mega__close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}


/* ── Mobile drawer ───────────────────────────────────── */
.ed-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.ed-mobile-drawer.is-open {
    transform: translateX(0);
}

.ed-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ed-mobile-drawer__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ed-mid);
}

.ed-mobile-drawer__close {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: none;
    font-size: 18px;
    color: var(--ed-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-mobile-drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.ed-mobile-drawer__nav a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ed-text);
    text-decoration: none;
    transition: background 0.12s ease;
}

.ed-mobile-drawer__nav a:hover {
    background: var(--ed-light);
}

.ed-mobile-drawer__actions {
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}


/* ── Hero ─────────────────────────────────────────────── */
.ed-hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    margin-top: calc(44px + 80px - 30px);
    display: flex;
    align-items: center;
    padding-top: 160px;
    overflow: hidden;
    background: var(--ed-dark);
}

.ed-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--ed-hero-image, none);
    background-size: cover;
    background-position: center top;
    will-change: transform;
}

.ed-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 65%),
        linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 35%, transparent 60%);
}

/* Hero content — bottom-left on image */
.ed-hero__card {
    position: relative;
    z-index: 2;
    padding: 0 0 0 80px;
    max-width: 640px;
}

.ed-hero__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.ed-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    color: var(--ed-white);
    line-height: 1.15;
    margin: 0 0 36px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.ed-hero__title span {
    display: inline;
    background-image: linear-gradient(#0facb2, #0facb2);
    background-size: 100% 45%;
    background-repeat: no-repeat;
    background-position: 0 95%;
    padding: 0 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}


/* Hero buttons */
.ed-btn--hero-primary {
    background: #0facb2;
    color: #ffffff;
    border: 2px solid #0facb2;
    border-radius: 999px;
    padding: 0 32px;
    letter-spacing: 0.1em;
}

.ed-btn--hero-primary:hover {
    background: #0d969b;
    border-color: #0d969b;
}

.ed-btn--hero-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 0 32px;
    letter-spacing: 0.1em;
}

.ed-btn--hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.ed-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Open day banner ──────────────────────────────────── */
.ed-open-day {
    background: linear-gradient(135deg, #F7C70C 0%, #f5b800 100%);
    box-shadow: 0 2px 12px rgba(247, 199, 12, 0.3);
    width: 100%;
    position: sticky;
    top: calc(44px + 80px);
    z-index: 350;
}

.admin-bar .ed-open-day {
    top: calc(76px + 80px);
}

.ed-open-day__inner {
    padding: 14px 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.ed-open-day__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ed-dark);
    flex-shrink: 0;
    animation: ed-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(26, 31, 35, 0.4);
}

@keyframes ed-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26, 31, 35, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(26, 31, 35, 0); }
}

.ed-open-day__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(26, 31, 35, 0.55);
    white-space: nowrap;
}

.ed-open-day__date {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1f23;
    flex: 1;
    letter-spacing: -0.01em;
}

.ed-open-day__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ed-white);
    text-decoration: none;
    background: var(--ed-dark);
    padding: 10px 24px;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.ed-open-day__link:hover {
    background: #000;
    transform: translateY(-1px);
}


/* ── We Are section ──────────────────────────────────── */
.ed-weare {
    background: var(--ed-white);
    padding: 96px 0;
    text-align: center;
}

.ed-weare__inner {
    max-width: 780px;
    margin: 0 auto;
}

.ed-weare__heading {
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 900;
    color: #9ca3af;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-transform: lowercase;
}

.ed-weare__heading strong {
    font-weight: 900;
    color: #0facb2;
}

.ed-weare__tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: #c0c5cc;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    margin: 0 0 48px;
}

.ed-weare__divider {
    display: none;
}

.ed-weare__text {
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.8;
    color: #9ca3af;
    margin: 0;
}


/* ── Programmes section ───────────────────────────────── */
.ed-programmes {
    background: var(--ed-light);
    padding: 96px 0;
}

.ed-programmes__header {
    max-width: 640px;
    margin-bottom: 56px;
}

.ed-programmes__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--ed-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ed-programmes__intro {
    font-size: 1.05rem;
    color: var(--ed-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

.ed-prog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.ed-prog-card {
    background: var(--ed-white);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ed-prog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(48, 55, 59, 0.2);
}

.ed-prog-card__acronym {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ed-accent);
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ed-prog-card__name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ed-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.ed-prog-card__desc {
    font-size: 0.875rem;
    color: var(--ed-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.ed-prog-card__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ed-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap 0.15s ease;
    text-decoration: none;
}

.ed-prog-card:hover .ed-prog-card__link {
    gap: 8px;
}

.ed-prog-card__link svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ── Programmes intro (programmes page) ──────────────── */
.ed-prog-intro {
    background: var(--ed-white);
    padding: 72px 0 0;
}

.ed-prog-intro__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ed-prog-intro__heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--ed-text);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ed-prog-intro__text {
    font-size: 1.05rem;
    color: var(--ed-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.ed-prog-intro__text:last-child {
    margin-bottom: 0;
}


/* ── Where do I start ─────────────────────────────────── */
.ed-start {
    background: #f7f7f9;
    padding: 96px 0;
    text-align: center;
}

.ed-start__heading {
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 900;
    color: #9ca3af;
    margin: 0 0 32px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-transform: lowercase;
}

.ed-start__heading strong {
    font-weight: 900;
    color: var(--ed-teal);
}

.ed-start__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.ed-start__actions .ed-btn {
    border-radius: 999px;
    padding: 0 32px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.ed-start__actions .ed-btn--primary {
    background: var(--ed-teal);
    color: var(--ed-white);
    border-color: var(--ed-teal);
}

.ed-start__actions .ed-btn--primary:hover {
    background: transparent;
    color: var(--ed-teal);
    border-color: var(--ed-teal);
}

.ed-start__actions .ed-btn--dark {
    background: transparent;
    color: var(--ed-teal);
    border-color: var(--ed-teal);
}

.ed-start__actions .ed-btn--dark:hover {
    background: var(--ed-teal);
    color: var(--ed-white);
    border-color: var(--ed-teal);
}

.ed-start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.ed-start-step {
    text-align: center;
    position: relative;
    padding: 32px 20px 28px;
    border-radius: 12px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.ed-start-step:hover {
    background: var(--ed-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ed-start-step__number {
    width: 60px;
    height: 60px;
    border: 2.5px solid var(--ed-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ed-teal);
    background: rgba(15, 172, 178, 0.06);
    position: relative;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ed-start-step__number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(100% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--ed-teal), rgba(15, 172, 178, 0.15));
    transform: translateY(-50%);
    pointer-events: none;
}

.ed-start-step:last-child .ed-start-step__number::after {
    display: none;
}

.ed-start-step:hover .ed-start-step__number {
    background: var(--ed-teal);
    color: var(--ed-white);
    border-color: var(--ed-teal);
    transform: scale(0.95);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
}

.ed-start-step__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ed-text);
    margin: 0 0 8px;
}

.ed-start-step__desc {
    font-size: 0.875rem;
    color: var(--ed-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Quote section ────────────────────────────────────── */
.ed-quote {
    background: #30373b;
    padding: 96px 0;
    text-align: center;
    position: relative;
}

.ed-quote__inner {
    position: relative;
    z-index: 1;
}

.ed-quote__mark {
    display: block;
    font-size: 7rem;
    line-height: 0.6;
    color: var(--ed-white);
    font-family: Georgia, serif;
    margin-bottom: 32px;
    opacity: 0.25;
    user-select: none;
}

.ed-quote__text {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--ed-white);
    max-width: 760px;
    margin: 0 auto 32px;
    font-weight: 300;
    line-height: 1.5;
    font-style: italic;
}

.ed-quote__author {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-style: normal;
}


/* ── Courses section ──────────────────────────────────── */
.ed-courses {
    background: #f7f7f9;
    padding: 96px 0;
}

.ed-courses__heading {
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 900;
    color: #9ca3af;
    margin: 0 0 48px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-transform: lowercase;
    text-align: center;
}

.ed-courses__heading strong {
    font-weight: 900;
    color: var(--ed-teal);
}

.ed-course-rows {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ed-course-row {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: background 0.2s ease, padding-left 0.25s ease;
}

.ed-course-row:hover {
    background: #f7f7f9;
    padding-left: 32px;
}

.ed-course-row__num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--row-accent, var(--ed-teal));
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    letter-spacing: -0.03em;
    transition: transform 0.25s ease;
}

.ed-course-row:hover .ed-course-row__num {
    transform: scale(1.1);
}

.ed-course-row__body {
    flex: 1;
    min-width: 0;
}

.ed-course-row__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ed-text);
    margin: 0 0 6px;
    line-height: 1.2;
}

.ed-course-row__desc {
    font-size: 0.875rem;
    color: var(--ed-muted);
    line-height: 1.6;
    margin: 0;
}

.ed-course-row__arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ed-course-row__arrow svg {
    width: 12px;
    height: 12px;
    stroke: var(--ed-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s ease;
}

.ed-course-row:hover .ed-course-row__arrow {
    background: var(--row-accent, var(--ed-teal));
    border-color: var(--row-accent, var(--ed-teal));
    transform: translateX(4px);
}

.ed-course-row:hover .ed-course-row__arrow svg {
    stroke: var(--ed-white);
}


/* ── Partnerships section ─────────────────────────────── */
.ed-partners {
    background: var(--ed-light);
    padding: 72px 0;
    text-align: center;
}

.ed-partners__heading {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 900;
    color: var(--ed-text);
    margin: 0 0 48px;
    letter-spacing: -0.02em;
}

.ed-partners__grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 0;
}

.ed-partner {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ed-muted);
    max-width: 160px;
    text-align: center;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.ed-partner:hover {
    color: var(--ed-mid);
}


/* ── CTA band ─────────────────────────────────────────── */
.ed-cta-band {
    background: var(--ed-white);
    padding: 80px 0;
    text-align: center;
}

.ed-cta-band__heading {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--ed-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ed-cta-band__sub {
    color: var(--ed-muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

.ed-cta-band__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ── Page layout (inner pages) ────────────────────────── */
.ed-page-main {
    padding-top: 0;
}

.ed-page-header {
    background: var(--ed-dark);
    padding: calc(44px + 80px + 48px) 40px 72px;
    text-align: center;
}

.admin-bar .ed-page-header {
    padding-top: calc(76px + 80px + 48px);
}

.ed-page-header__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
    display: block;
}

.ed-page-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--ed-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ed-page-header__sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}


/* ── Mission page ────────────────────────────────────── */
.ed-mission-layout {
    background: var(--ed-white);
}

.ed-mission-layout__inner {
    display: flex;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 48px;
}

.ed-mission-main {
    flex: 1;
    min-width: 0;
    padding: 64px 0 80px;
    padding-top: calc(44px + 80px + 80px);
}

.admin-bar .ed-mission-main {
    padding-top: calc(76px + 80px + 80px);
}

/* Inline hero */
.ed-mission-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ed-muted);
    margin: 0 0 14px;
}

.ed-mission-hero__heading {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.ed-mission-hero__grey {
    color: #9ca3af;
}

.ed-mission-hero__teal {
    color: var(--ed-teal);
}

/* Sticky sidebar */
.ed-mission-sidenav {
    width: 180px;
    flex-shrink: 0;
    position: sticky;
    top: calc(44px + 80px + 32px);
    display: flex;
    flex-direction: column;
    padding-top: calc(44px + 80px);
}

.admin-bar .ed-mission-sidenav {
    top: calc(76px + 80px + 32px);
    padding-top: calc(76px + 80px);
}

.ed-mission-sidenav__link {
    display: block;
    padding: 10px 16px 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--ed-muted);
    text-decoration: none;
    border-right: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    line-height: 1.3;
}

.ed-mission-sidenav__link:hover {
    color: var(--ed-text);
}

.ed-mission-sidenav__link.is-active {
    color: var(--ed-text);
    border-right-color: var(--ed-teal);
    font-weight: 600;
}

/* Sections */
.ed-mission-section {
    padding: 0 0 64px;
}

.ed-mission-section__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ed-mission-section__h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: var(--ed-text);
    line-height: 1.3;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.ed-mission-statement__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1f23;
    background: #F7C70C;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ed-mission-statement__text {
    font-size: 1.02rem;
    color: var(--ed-muted);
    line-height: 1.85;
    margin: 0 0 20px;
}

.ed-mission-statement__text:last-child {
    margin-bottom: 0;
}

.ed-obj__quote {
    margin: 16px 0 0;
    padding: 16px 20px;
    border-left: 3px solid var(--obj-accent, var(--ed-teal));
    background: rgba(15, 172, 178, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--ed-text);
    line-height: 1.7;
}

.ed-mission-cta-card {
    background: #f7f7f9;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
}

/* ── Leadership page ─────────────────────────────────── */
.ed-leader-feature {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.ed-leader-feature__info {
    flex: 1;
}

.ed-leader-feature__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ed-leader-feature__quals {
    font-size: 0.82rem;
    color: var(--ed-muted);
    margin: 4px 0 2px;
    letter-spacing: 0.01em;
}

.ed-leader-feature__role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ed-teal);
    margin: 0 0 16px;
}

/* Team grid */
.ed-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ed-team-card {
    background: #f7f7f9;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-team-card:hover {
    transform: scale(0.98);
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.08);
}

.ed-team-card__initial {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--team-accent, var(--ed-teal));
    color: var(--team-accent, var(--ed-teal));
    background: rgba(15, 172, 178, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 auto 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.ed-team-card:hover .ed-team-card__initial {
    background: var(--team-accent, var(--ed-teal));
    color: #fff;
}

.ed-team-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ed-text);
    margin: 0 0 4px;
}

.ed-team-card__role {
    font-size: 0.78rem;
    color: var(--ed-muted);
    margin: 0;
}

/* ── Programme course lists ──────────────────────────── */
.ed-programme-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.ed-programme-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    color: var(--ed-text);
    line-height: 1.5;
}

.ed-programme-list li:last-child {
    border-bottom: none;
}

.ed-programme-list li {
    transition: background 0.15s ease, padding-left 0.15s ease;
    border-radius: 6px;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
}

.ed-programme-list li:hover {
    background: rgba(15, 172, 178, 0.06);
    padding-left: 16px;
}

/* ── Partnership tiers ────────────────────────────────── */
.ed-tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ed-tier-card {
    background: var(--ed-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 32px 16px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ed-tier-card:hover {
    transform: scale(0.97);
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.1);
}

.ed-tier-shield {
    width: 64px;
    height: 76px;
    margin: 0 auto 16px;
}

.ed-tier-shield svg {
    width: 100%;
    height: 100%;
}

.ed-tier-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ed-text);
    margin: 0 0 2px;
}

.ed-tier-card__label {
    font-size: 0.78rem;
    color: var(--ed-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ── CPD categories ───────────────────────────────────── */
.ed-cpd-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ed-cpd-cat {
    background: #f7f7f9;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-cpd-cat:hover {
    transform: scale(0.98);
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.08);
}

.ed-cpd-cat__icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    color: var(--cat-accent, var(--ed-teal));
}

.ed-cpd-cat__icon svg {
    width: 100%;
    height: 100%;
}

.ed-cpd-cat__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ed-text);
    margin: 0 0 8px;
}

.ed-cpd-cat__desc {
    font-size: 0.82rem;
    color: var(--ed-muted);
    line-height: 1.6;
    margin: 0;
}

.ed-cpd-cat {
    border: none;
    width: 100%;
    font-family: var(--ed-font);
    cursor: pointer;
    position: relative;
}

.ed-cpd-cat__toggle {
    display: block;
    width: 16px;
    height: 16px;
    margin: 10px auto 0;
    color: var(--cat-accent, var(--ed-teal));
    transition: transform 0.2s ease;
}

.ed-cpd-cat__toggle svg {
    width: 100%;
    height: 100%;
}

.ed-cpd-cat.is-active .ed-cpd-cat__toggle {
    transform: rotate(180deg);
}

.ed-cpd-cat.is-active {
    background: var(--ed-white);
    box-shadow: 0 0 0 2px var(--cat-accent, var(--ed-teal));
}

.ed-cpd-panel {
    margin-top: 20px;
    padding: 24px;
    background: #f7f7f9;
    border-radius: 12px;
}

.ed-cpd-panel__heading {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
}

.ed-cpd-church-list {
    columns: 2;
    column-gap: 24px;
}

.ed-cpd-church-list li {
    break-inside: avoid;
}

/* ── Testimonials ─────────────────────────────────────── */
.ed-testimonial {
    margin: 0;
    padding: 28px 28px 28px 24px;
    border-left: 3px solid var(--ed-teal);
    background: rgba(15, 172, 178, 0.04);
    border-radius: 0 12px 12px 0;
}

.ed-testimonial__text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--ed-text);
    line-height: 1.8;
    margin: 0 0 16px;
}

.ed-testimonial__author {
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 600;
    color: var(--ed-muted);
    letter-spacing: 0.02em;
}

.ed-programme-logo {
    width: 180px;
    height: auto;
    border-radius: 12px;
    margin: 0 0 24px;
}


/* ── External link icon ───────────────────────────────── */
.ed-ext-icon {
    width: 9px;
    height: 9px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.5;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 1.4;
    fill: none;
}


/* ── Footer (shared NTCG style) ───────────────────────── */
.hp-strip { display: flex; height: 6px; }
.hp-strip span { flex: 1; }

.hp-footer { background: #30373b; display: flex; flex-direction: column; font-family: var(--ed-font); }

.hp-footer__tagline-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 80px 48px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hp-footer__tagline { color: #F7C70C; font-size: clamp(20px, 2.5vw, 30px); font-weight: 400; margin: 0; letter-spacing: 0.5px; }
.hp-footer__tagline-sub { color: #9ca3af; font-size: 14px; margin: 0; }

.hp-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 32px 80px 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.hp-footer__find-btn { display: inline-block; border: 1.5px solid #6b7280; border-radius: 999px; padding: 10px 28px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #e5e7eb; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease; }
.hp-footer__find-btn:hover { border-color: #ffffff; color: #ffffff; }
.hp-footer__find-btn--mobile { display: none; }
@media (max-width: 768px) {
    .hp-footer__find-btn--desktop { display: none; }
    .hp-footer__find-btn--mobile { display: inline-block; }
}
.hp-footer__social { display: flex; gap: 10px; }
.hp-footer__social-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #4b5563; color: #e5e7eb; font-size: 14px; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.hp-footer__social-icon:hover { background: #6b7280; color: #ffffff; }
.hp-footer__copy { color: rgba(255,255,255,0.60); font-size: 12px; margin: 0; text-align: center; line-height: 1.6; }


/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .ed-course-row__desc {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Hide NTCG network topbar on mobile */
    .ntcg-topbar {
        display: none !important;
    }

    /* Navbar */
    .ed-navbar {
        top: 0;
        height: 60px;
        padding: 0 16px;
    }

    .ed-navbar__links {
        display: none;
    }

    .ed-navbar__actions {
        display: none;
    }

    .ed-navbar__hamburger {
        display: flex;
    }

    /* Hide mega-menus on mobile */
    .ed-mega,
    .ed-mega-overlay {
        display: none !important;
    }

    /* Hero */
    .ed-hero {
        min-height: 500px;
        margin-top: 60px;
    }

    .ed-hero__bg {
        background-position: right center;
    }

    .ed-hero__card {
        padding: 0 24px 60px;
        max-width: 100%;
    }

    .ed-hero__title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* Container */
    .ed-container {
        padding: 0 24px;
    }

    /* Open day */
    .ed-open-day {
        top: 60px;
    }

    .ed-open-day__inner {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 16px 24px;
    }

    .ed-open-day__date {
        font-size: 1rem;
    }

    /* We Are */
    .ed-weare {
        padding: 64px 0;
    }

    /* Programmes */
    .ed-programmes {
        padding: 64px 0;
    }

    .ed-prog-grid {
        grid-template-columns: 1fr;
    }

    /* Where do I start */
    .ed-start {
        padding: 64px 0;
    }

    .ed-start-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ed-start-step__number::after {
        display: none;
    }

    .ed-start__actions {
        margin-bottom: 40px;
    }

    /* Quote */
    .ed-quote {
        padding: 64px 0;
    }

    /* Courses */
    .ed-courses {
        padding: 64px 0;
    }

    /* Partners */
    .ed-partners {
        padding: 56px 0;
    }

    .ed-partners__grid {
        gap: 32px;
    }

    /* CTA band */
    .ed-cta-band {
        padding: 64px 0;
    }

    /* Page header */
    .ed-page-header {
        padding: calc(60px + 32px) 24px 48px;
    }

    /* Mission / Leadership page */
    .ed-mission-sidenav {
        display: none;
    }

    .ed-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ed-tier-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ed-cpd-categories {
        grid-template-columns: 1fr;
    }

    .ed-mission-layout__inner {
        padding: 0 24px;
    }

    /* Footer */
    .hp-footer__tagline-wrap { padding: 48px 24px 40px; }
    .hp-footer__bottom { padding: 32px 24px 40px; }
}

@media (max-width: 480px) {
    .ed-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ed-cta-band__actions {
        flex-direction: column;
        align-items: center;
    }

    .ed-start-grid {
        grid-template-columns: 1fr;
    }

    .ed-start__actions {
        flex-direction: column;
        align-items: center;
    }

    .ed-team-grid {
        grid-template-columns: 1fr;
    }

    .ed-tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
