:root {
    --green: #006b3f;
    --dark-green: #004b2d;
    --gold: #f4b400;
    --dark: #10231c;
    --muted: #667085;
    --light: #f6f9f7;
    --white: #ffffff;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

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

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.top-header {
    background: var(--dark-green);
    color: var(--white);
    font-size: 14px;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.top-header span {
    margin-left: 10px;
    opacity: .85;
}

.top-links {
    display: flex;
    gap: 18px;
}

.top-links a {
    color: var(--white);
    opacity: .9;
}

.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand-mark {
    width: 46px;
    height: 46px;
    background: var(--green);
    color: var(--white);
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 24px;
    font-weight: 800;
}

.brand span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--green);
}

.hero {
    background:
        linear-gradient(120deg, rgba(0, 75, 45, .95), rgba(0, 107, 63, .86)),
        url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 50px;
    align-items: center;
}

.eyebrow,
.section-heading span,
.section-label {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .8px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    max-width: 720px;
    opacity: .95;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: .2s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background: #ffd15c;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.7);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.12);
}

.btn-light {
    background: var(--white);
    color: var(--green);
}

.hero-card {
    background: var(--white);
    color: var(--dark);
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.hero-card h3 {
    margin-bottom: 18px;
}

.hero-card a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    color: var(--green);
    font-weight: 700;
}

.hero-card a:last-child {
    border-bottom: none;
}

.stats-section {
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 15px 50px rgba(16, 35, 28, .12);
    overflow: hidden;
}

.stat-card {
    padding: 32px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card h2 {
    color: var(--green);
    font-size: 38px;
}

.stat-card p {
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: 90px 0;
}

.light-section {
    background: var(--light);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading h2,
.split-grid h2,
.cta-inner h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-heading p,
.split-grid p,
.cta-inner p {
    color: var(--muted);
    font-size: 17px;
}

.track-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.track-card,
.news-card,
.info-panel {
    background: var(--white);
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: .2s ease;
}

.track-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 35, 28, .08);
}

.track-card span {
    color: var(--gold);
    font-weight: 800;
}

.track-card h3,
.news-card h3 {
    margin: 10px 0;
    font-size: 22px;
}

.track-card p,
.news-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.track-card a,
.news-card a {
    color: var(--green);
    font-weight: 800;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
}

.split-grid p {
    margin-bottom: 26px;
}

.info-panel ul {
    list-style: none;
}

.info-panel li {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.info-panel li:last-child {
    border-bottom: none;
}

.news-date {
    display: inline-block;
    background: #eaf7f0;
    color: var(--green);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.cta-section {
    background: var(--green);
    color: var(--white);
    padding: 60px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-inner p {
    color: rgba(255,255,255,.88);
}

.site-footer {
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,.78);
}

.site-footer a {
    display: block;
    margin: 8px 0;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.65);
}

@media (max-width: 900px) {
    .top-header-inner,
    .nav-inner,
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero-grid,
    .split-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .track-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.page-hero {
    background:
        linear-gradient(120deg, rgba(0, 75, 45, .96), rgba(0, 107, 63, .88));
    color: var(--white);
    padding: 80px 0;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.page-hero p {
    max-width: 760px;
    font-size: 18px;
    opacity: .92;
}

.btn-outline {
    border: 1px solid var(--green);
    color: var(--green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

.course-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 36px;
}

.course-filter-bar h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 8px;
}

.course-filter-bar p {
    color: var(--muted);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: .2s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 35, 28, .08);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.course-meta span,
.status-badge {
    display: inline-block;
    background: #eaf7f0;
    color: var(--green);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.course-card h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.course-category {
    color: var(--green) !important;
    font-weight: 800;
    margin-bottom: 12px !important;
}

.course-card p {
    color: var(--muted);
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    font-size: 14px;
    font-weight: 700;
}

.course-footer a {
    color: var(--green);
}

.course-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
}

.course-info-strip div {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 12px;
}

.course-info-strip strong {
    display: block;
    color: var(--green);
    margin-bottom: 6px;
}

.course-info-strip span {
    color: var(--muted);
}

.calendar-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 950px;
}

.calendar-table th {
    background: var(--green);
    color: var(--white);
    text-align: left;
    padding: 16px;
    font-size: 14px;
}

.calendar-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--dark);
}

.calendar-table tbody tr:hover {
    background: var(--light);
}

.calendar-note {
    background: #fff8e1;
    border-left: 5px solid var(--gold);
    padding: 18px 20px;
    border-radius: 10px;
    margin-top: 24px;
    color: var(--dark);
}

@media (max-width: 900px) {
    .course-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-grid,
    .course-info-strip {
        grid-template-columns: 1fr;
    }
}

.news-list-grid {
    display: grid;
    gap: 28px;
}

.news-list-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: .2s ease;
}

.news-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 35, 28, .08);
}

.news-image-placeholder {
    background:
        linear-gradient(120deg, rgba(0, 75, 45, .96), rgba(0, 107, 63, .86));
    color: var(--white);
    min-height: 220px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
}

.news-image-placeholder span {
    border: 1px solid rgba(255,255,255,.55);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.news-list-content {
    padding: 30px;
}

.news-meta,
.publication-meta,
.article-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.news-meta span,
.publication-meta span,
.article-meta span {
    display: inline-block;
    background: #eaf7f0;
    color: var(--green);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.news-list-content h3 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.news-list-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.news-list-content a {
    color: var(--green);
    font-weight: 800;
}

.article-container {
    max-width: 850px;
}

.article-container h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 18px;
}

.article-container p {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 18px;
}

.article-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.publication-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: .2s ease;
}

.publication-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 35, 28, .08);
}

.publication-icon {
    width: 76px;
    height: 76px;
    background: var(--green);
    color: var(--white);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
}

.publication-card h3 {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.publication-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.publication-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.publication-actions a {
    color: var(--green);
    font-weight: 800;
}

@media (max-width: 900px) {
    .news-list-card,
    .publication-grid,
    .publication-card {
        grid-template-columns: 1fr;
    }

    .publication-icon {
        width: 64px;
        height: 64px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: .2s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 35, 28, .08);
}

.gallery-image-placeholder {
    min-height: 230px;
    background:
        linear-gradient(120deg, rgba(0, 75, 45, .95), rgba(0, 107, 63, .84));
    display: grid;
    place-items: center;
    color: var(--white);
    text-align: center;
    padding: 24px;
}

.gallery-image-placeholder span {
    border: 1px solid rgba(255,255,255,.55);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.gallery-content {
    padding: 24px;
}

.gallery-content span {
    display: inline-block;
    background: #eaf7f0;
    color: var(--green);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.gallery-content h3 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.gallery-content p {
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: start;
}

.contact-intro {
    color: var(--muted);
    margin-bottom: 26px;
    font-size: 17px;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: .2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 107, 63, .08);
}

.alert-success,
.alert-error {
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 22px;
}

.alert-success {
    background: #eaf7f0;
    color: var(--green);
    border: 1px solid #b7e4c7;
}

.alert-error {
    background: #fff1f0;
    color: #b42318;
    border: 1px solid #fecdca;
}

.alert-error ul {
    margin-left: 18px;
    margin-top: 8px;
}

.contact-info-panel {
    background: var(--green);
    color: var(--white);
    border-radius: 18px;
    padding: 32px;
    position: sticky;
    top: 110px;
}

.contact-info-panel h3 {
    font-size: 26px;
    margin-bottom: 22px;
}

.contact-info-item {
    border-bottom: 1px solid rgba(255,255,255,.18);
    padding: 18px 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 6px;
}

.contact-info-item span {
    color: rgba(255,255,255,.85);
}

.contact-quick-links {
    margin-top: 26px;
}

.contact-quick-links h4 {
    margin-bottom: 12px;
}

.contact-quick-links a {
    display: block;
    color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-weight: 700;
}

.map-section {
    padding: 0 0 90px;
}

.map-placeholder {
    min-height: 300px;
    background:
        linear-gradient(120deg, rgba(16, 35, 28, .92), rgba(0, 107, 63, .84));
    color: var(--white);
    border-radius: 18px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px;
}

.map-placeholder span {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .8px;
}

.map-placeholder h3 {
    font-size: 34px;
    margin: 8px 0;
}

.map-placeholder p {
    color: rgba(255,255,255,.85);
}

@media (max-width: 900px) {
    .gallery-grid,
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        position: static;
    }
}

.gallery-photo {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.site-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--white);
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-socials a {
    color: var(--gold);
    font-weight: 800;
}

.page-content p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 16px;
}

.page-content p:first-child {
    color: var(--dark);
    font-size: 18px;
}

.page-content p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 16px;
}

.page-content p:first-child {
    color: var(--dark);
    font-size: 18px;
}

.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.quick-link-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: .2s ease;
}

.quick-link-card:hover {
    transform: translateY(-4px);
}

.quick-link-card h3 {
    color: var(--green);
    margin-bottom: 10px;
}

.quick-link-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.quick-link-card span,
.text-link {
    color: var(--gold);
    font-weight: 900;
    text-decoration: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    color: var(--green);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 18px;
}

.stat-card small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .quick-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .quick-link-grid {
        grid-template-columns: 1fr;
    }
}

.site-search-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.site-search-bar form {
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin-left: auto;
}

.site-search-bar input,
.search-page-form input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
}

.site-search-bar input:focus,
.search-page-form input:focus {
    border-color: var(--green);
}

.site-search-bar button,
.search-page-form button {
    border: none;
    background: var(--green);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
}

.search-page-form {
    display: flex;
    gap: 12px;
    margin-bottom: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.search-result-section {
    margin-top: 34px;
}

.search-result-section h2 {
    color: var(--green);
    margin-bottom: 18px;
}

.search-result-list {
    display: grid;
    gap: 16px;
}

.search-result-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: .2s ease;
}

.search-result-card:hover {
    transform: translateY(-3px);
}

.search-result-card span {
    display: inline-block;
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
}

.search-result-card h3 {
    color: var(--green);
    margin-bottom: 8px;
}

.search-result-card p {
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 760px) {
    .site-search-bar form,
    .search-page-form {
        flex-direction: column;
    }

    .site-search-bar form {
        max-width: 100%;
    }
}

.portal-info-box {
    margin-top: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.portal-info-box strong {
    color: var(--green);
    display: block;
    margin-bottom: 8px;
}

.portal-info-box p {
    color: var(--muted);
    line-height: 1.6;
}

.public-announcement-wrapper {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.public-announcement {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.public-announcement:last-child {
    margin-bottom: 0;
}

.public-announcement strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.public-announcement span {
    color: var(--muted);
    line-height: 1.5;
}

.public-announcement a {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.public-announcement-info {
    background: #eff8ff;
    border-color: #b2ddff;
}

.public-announcement-success {
    background: #ecfdf3;
    border-color: #abefc6;
}

.public-announcement-warning {
    background: #fffbeb;
    border-color: #fedf89;
}

.public-announcement-danger {
    background: #fff1f3;
    border-color: #fecdd6;
}

@media (max-width: 700px) {
    .public-announcement {
        flex-direction: column;
        align-items: flex-start;
    }
}

.nav-menu-item {
    position: relative;
    display: inline-block;
}

.nav-menu-item > a {
    display: inline-block;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 10px;
    z-index: 1000;
}

.nav-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown a:hover {
    background: #f2f4f7;
    color: var(--green);
}

.nav-menu-item:hover .nav-dropdown {
    display: block;
}

@media (max-width: 900px) {
    .nav-menu-item {
        display: block;
    }

    .nav-dropdown {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        padding-left: 14px;
        background: transparent;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links > a,
.nav-menu-item > a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.nav-links > a:hover,
.nav-menu-item > a:hover,
.nav-links > a.active,
.nav-menu-item > a.active {
    color: var(--green);
}

.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

@media (max-width: 900px) {
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        gap: 14px;
    }
}

.announcement-ticker-wrapper {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.announcement-ticker {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 10px;
}

.announcement-ticker-window {
    overflow: hidden;
    border-radius: 16px;
}

.announcement-ticker-track {
    display: flex;
    transition: transform .6s ease;
    will-change: transform;
}

.announcement-ticker-item {
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.announcement-ticker-text {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.announcement-ticker-text strong {
    color: var(--dark);
    white-space: nowrap;
    font-weight: 900;
}

.announcement-ticker-text span {
    color: var(--muted);
    line-height: 1.5;
}

.announcement-ticker-item a {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.announcement-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--green);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.announcement-arrow:hover {
    background: var(--green);
    color: var(--white);
}

.announcement-ticker-info {
    border-color: #b2ddff;
    background: #eff8ff;
}

.announcement-ticker-success {
    border-color: #abefc6;
    background: #ecfdf3;
}

.announcement-ticker-warning {
    border-color: #fedf89;
    background: #fffbeb;
}

.announcement-ticker-danger {
    border-color: #fecdd6;
    background: #fff1f3;
}

@media (max-width: 760px) {
    .announcement-ticker {
        grid-template-columns: 36px 1fr 36px;
        gap: 8px;
    }

    .announcement-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .announcement-ticker-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .announcement-ticker-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .announcement-ticker-text strong {
        white-space: normal;
    }
}

/* Restore green menu/header background */
.top-bar {
    background: var(--green) !important;
    color: var(--white) !important;
}

.top-bar strong,
.top-bar span,
.top-bar a,
.top-links a {
    color: var(--white) !important;
}

.main-nav {
    background: var(--green) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.nav-content {
    padding: 18px 0;
}

.brand {
    color: var(--white) !important;
    text-decoration: none;
}

.brand strong,
.brand small {
    color: var(--white) !important;
}

.brand-logo {
    background: var(--gold) !important;
    color: var(--green) !important;
}

.site-logo {
    background: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.nav-links > a,
.nav-menu-item > a {
    color: var(--white) !important;
}

.nav-links > a:hover,
.nav-menu-item > a:hover,
.nav-links > a.active,
.nav-menu-item > a.active {
    color: var(--gold) !important;
}

.nav-dropdown {
    background: var(--white) !important;
}

.nav-dropdown a {
    color: var(--dark) !important;
}

.nav-dropdown a:hover {
    color: var(--green) !important;
}

.site-search-bar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border);
}

.announcement-ticker-wrapper {
    background: #f8fafc !important;
}

/* Final header correction: keep top bar green, restore main menu row to white */
.top-bar {
    background: var(--green) !important;
    color: var(--white) !important;
}

.top-bar strong,
.top-bar span,
.top-bar a,
.top-links a {
    color: var(--white) !important;
}

.main-nav {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border) !important;
}

.nav-content {
    background: var(--white) !important;
    padding: 18px 0 !important;
}

.brand {
    color: var(--dark) !important;
    text-decoration: none;
}

.brand strong {
    color: var(--dark) !important;
}

.brand small {
    color: var(--muted) !important;
}

.brand-logo {
    background: var(--green) !important;
    color: var(--white) !important;
}

.site-logo {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
}

.nav-links > a,
.nav-menu-item > a {
    color: var(--dark) !important;
}

.nav-links > a:hover,
.nav-menu-item > a:hover,
.nav-links > a.active,
.nav-menu-item > a.active {
    color: var(--green) !important;
}

.nav-dropdown {
    background: var(--white) !important;
}

.nav-dropdown a {
    color: var(--dark) !important;
}

.nav-dropdown a:hover {
    color: var(--green) !important;
}

.site-search-bar {
    background: var(--white) !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--border) !important;
}

.announcement-ticker-wrapper {
    background: #f8fafc !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.programme-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.programme-card span {
    display: inline-block;
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 10px;
}

.programme-card h3 {
    color: var(--green);
    margin-bottom: 12px;
}

.programme-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.programme-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.programme-meta div {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.programme-meta strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.programme-meta small {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .programme-grid {
        grid-template-columns: 1fr;
    }
}

.enquiry-form-card {
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.enquiry-form-card h3 {
    color: var(--green);
    margin-bottom: 8px;
}

.enquiry-form-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.form-grid-frontend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.form-group-frontend {
    margin-bottom: 14px;
}

.form-group-frontend label {
    display: block;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group-frontend input,
.form-group-frontend textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}

.form-group-frontend input:focus,
.form-group-frontend textarea:focus {
    border-color: var(--green);
}

.form-group-frontend small {
    color: #b42318;
    font-weight: 700;
}

.public-success-alert {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #027a48;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 800;
}

.public-error-alert {
    background: #fff1f3;
    border: 1px solid #fecdd6;
    color: #c01048;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-weight: 800;
}

@media (max-width: 760px) {
    .form-grid-frontend {
        grid-template-columns: 1fr;
    }
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.schedule-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.schedule-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.schedule-card-header span {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
}

.schedule-card-header strong {
    color: var(--gold);
    font-size: 13px;
    text-align: right;
}

.schedule-card h3 {
    color: var(--green);
    margin-bottom: 16px;
}

.schedule-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-top: 14px;
}

.schedule-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.schedule-meta div {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
}

.schedule-meta strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
    margin-bottom: 4px;
}

.schedule-meta small {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-meta {
        grid-template-columns: 1fr;
    }

    .schedule-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-card-header strong {
        text-align: left;
    }
}

.calendar-filter-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 36px;
}

.calendar-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.calendar-filter-card select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    color: var(--dark);
    outline: none;
}

.calendar-filter-card select:focus {
    border-color: var(--green);
}

.calendar-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.frontend-pagination {
    margin-top: 30px;
}

@media (max-width: 1000px) {
    .calendar-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .calendar-filter-grid {
        grid-template-columns: 1fr;
    }
}

.schedule-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.form-group-frontend select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    color: var(--dark);
    outline: none;
}

.form-group-frontend select:focus {
    border-color: var(--green);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.public-info-alert {
    background: #eff8ff;
    border: 1px solid #b2ddff;
    color: #175cd3;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.public-info-alert strong {
    color: #1849a9;
}

.status-check-card {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.interest-status-badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 16px;
}

.interest-status-pending {
    background: #fffbeb;
    color: #b54708;
    border: 1px solid #fedf89;
}

.interest-status-contacted {
    background: #eff8ff;
    color: #175cd3;
    border: 1px solid #b2ddff;
}

.interest-status-confirmed {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.interest-status-rejected,
.interest-status-cancelled {
    background: #fff1f3;
    color: #c01048;
    border: 1px solid #fecdd6;
}

.interest-closed-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff1f3;
    color: #c01048;
    border: 1px solid #fecdd6;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.schedule-actions .text-link small {
    font-weight: 800;
    color: #667085;
}

.interest-status-waitlisted {
    background: #f4f3ff;
    color: #5925dc;
    border: 1px solid #d9d6fe;
}

.apply-portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.apply-portal-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.apply-portal-card h3 {
    margin: 8px 0 10px;
    color: var(--green);
}

.apply-key {
    display: inline-flex;
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 900;
}

.apply-section {
    margin-top: 18px;
}

.apply-section h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.apply-section ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}

.apply-note {
    margin-top: 14px;
    background: #fffbeb;
    border: 1px solid #fedf89;
    color: #93370d;
    border-radius: 12px;
    padding: 12px 14px;
    line-height: 1.6;
}

.apply-card-actions {
    margin-top: 18px;
}

@media (max-width: 800px) {
    .apply-portal-grid {
        grid-template-columns: 1fr;
    }
}

.apply-portal-grid {
    align-items: stretch;
}

.apply-portal-card {
    display: flex;
    flex-direction: column;
}

.apply-card-actions {
    margin-top: auto;
    padding-top: 18px;
}

@media (min-width: 1000px) {
    .apply-portal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.formal-application-note {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    color: #667085;
    background: #f8fafc;
    border: 1px solid #eaecf0;
    padding: 7px 10px;
    border-radius: 999px;
}

.schedule-actions {
    row-gap: 10px;
}

.application-center-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.application-center-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.application-center-card h3 {
    margin: 0;
    color: var(--green);
}

.application-center-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.application-center-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.schedule-list {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.schedule-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.schedule-card h3 {
    margin: 0 0 8px;
    color: var(--green);
}

.schedule-card ul {
    margin: 12px 0 0;
    padding-left: 20px;
    line-height: 1.8;
}

@media (max-width: 1000px) {
    .application-center-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .application-center-grid {
        grid-template-columns: 1fr;
    }
}

.application-quick-section {
    background: #f8fafc;
}

.application-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.application-quick-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.10);
}

.application-quick-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005c2f;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.application-quick-card h3 {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 18px;
}

.application-quick-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .application-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .application-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .application-quick-grid {
        grid-template-columns: 1fr;
    }
}

.spesse-home-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: #005c2f;
}

.spesse-slider-track,
.spesse-slide {
    width: 100%;
    height: 100%;
}

.spesse-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.spesse-slide.active {
    opacity: 1;
    visibility: visible;
}

.spesse-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 48, 27, 0.88), rgba(0, 92, 47, 0.55), rgba(0, 0, 0, 0.10));
}

.spesse-slide-overlay {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 95px 10%;
    color: #ffffff;
}

.spesse-slide-overlay span {
    display: inline-block;
    margin-bottom: 18px;
    color: #f4b400;
    font-weight: 900;
    letter-spacing: 1.6px;
    font-size: 13px;
}

.spesse-slide-overlay h1 {
    margin: 0 0 18px;
    font-size: 46px;
    line-height: 1.22;
    font-weight: 900;
    color: #ffffff;
}

.spesse-slide-overlay p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.7;
    max-width: 760px;
    color: #f8fafc;
}

.spesse-slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.spesse-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.spesse-slide-btn.primary {
    background: #f4b400;
    color: #082f1c;
}

.spesse-slide-btn.secondary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.45);
}

.spesse-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.88);
    color: #005c2f;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.spesse-slider-arrow.prev {
    left: 28px;
}

.spesse-slider-arrow.next {
    right: 28px;
}

.spesse-slider-dots {
    position: absolute;
    left: 10%;
    bottom: 32px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.spesse-slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
}

.spesse-slider-dots button.active {
    width: 32px;
    background: #f4b400;
}

@media (max-width: 900px) {
    .spesse-home-slider {
        height: 620px;
    }

    .spesse-slide-overlay {
        padding: 75px 7%;
    }

    .spesse-slide-overlay h1 {
        font-size: 34px;
    }

    .spesse-slide-overlay p {
        font-size: 16px;
    }

    .spesse-slider-arrow {
        display: none;
    }

    .spesse-slider-dots {
        left: 7%;
    }
}

/* Improved homepage programme/stat cards under Explore Programmes */
.hero-stats,
.home-stats,
.stats-grid,
.programme-stats,
.homepage-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    max-width: 980px !important;
    margin: 28px auto 0 !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.10) !important;
    border: 1px solid #eef2f6 !important;
}

.hero-stat,
.home-stat,
.stat-card,
.programme-stat,
.homepage-stat {
    background: #ffffff !important;
    padding: 28px 22px !important;
    text-align: center !important;
    border-right: 1px solid #eef2f6 !important;
    min-height: 130px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.hero-stat:last-child,
.home-stat:last-child,
.stat-card:last-child,
.programme-stat:last-child,
.homepage-stat:last-child {
    border-right: none !important;
}

.hero-stat h3,
.home-stat h3,
.stat-card h3,
.programme-stat h3,
.homepage-stat h3,
.hero-stat strong,
.home-stat strong,
.stat-card strong,
.programme-stat strong,
.homepage-stat strong {
    color: #082f1c !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}

.hero-stat p,
.home-stat p,
.stat-card p,
.programme-stat p,
.homepage-stat p,
.hero-stat small,
.home-stat small,
.stat-card small,
.programme-stat small,
.homepage-stat small {
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.hero-stat:hover,
.home-stat:hover,
.stat-card:hover,
.programme-stat:hover,
.homepage-stat:hover {
    background: #f8fffb !important;
}

@media (max-width: 1000px) {
    .hero-stats,
    .home-stats,
    .stats-grid,
    .programme-stats,
    .homepage-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero-stat,
    .home-stat,
    .stat-card,
    .programme-stat,
    .homepage-stat {
        border-bottom: 1px solid #eef2f6 !important;
    }
}

@media (max-width: 600px) {
    .hero-stats,
    .home-stats,
    .stats-grid,
    .programme-stats,
    .homepage-stats {
        grid-template-columns: 1fr !important;
        margin-top: 22px !important;
    }

    .hero-stat,
    .home-stat,
    .stat-card,
    .programme-stat,
    .homepage-stat {
        border-right: none !important;
    }
}

/* Final homepage slider size adjustment */
.spesse-home-slider {
    height: 460px !important;
}

.spesse-slide-overlay {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.spesse-slide-overlay h1 {
    max-width: 780px !important;
}

@media (max-width: 900px) {
    .spesse-home-slider {
        height: 560px !important;
    }
}

/* Final homepage hero/card alignment fix */
.hero-section,
.home-hero,
.homepage-hero,
.frontend-hero,
.spesse-hero {
    padding-bottom: 90px !important;
    overflow: visible !important;
}

.hero-content,
.home-hero-content,
.homepage-hero-content,
.spesse-hero-content {
    align-items: flex-start !important;
    gap: 60px !important;
}

.hero-right,
.home-hero-right,
.homepage-hero-right,
.spesse-hero-right,
.hero-clusters,
.home-clusters,
.cluster-list {
    padding-bottom: 35px !important;
    margin-bottom: 35px !important;
}

.hero-stats,
.home-stats,
.stats-grid,
.programme-stats,
.homepage-stats {
    position: relative !important;
    z-index: 5 !important;
    margin-top: 45px !important;
    clear: both !important;
}

.hero-stat,
.home-stat,
.stat-card,
.programme-stat,
.homepage-stat {
    min-height: 150px !important;
}

.hero-stat h3,
.home-stat h3,
.stat-card h3,
.programme-stat h3,
.homepage-stat h3,
.hero-stat strong,
.home-stat strong,
.stat-card strong,
.programme-stat strong,
.homepage-stat strong {
    font-size: 24px !important;
}

.hero-stat p,
.home-stat p,
.stat-card p,
.programme-stat p,
.homepage-stat p,
.hero-stat small,
.home-stat small,
.stat-card small,
.programme-stat small,
.homepage-stat small {
    font-size: 15px !important;
}

/* Improve space before Quick Access */
.quick-access,
.portal-section,
.home-portals,
.important-links,
.home-quick-links {
    margin-top: 70px !important;
}

/* Prevent right cluster text from running behind cards */
.hero-section .row,
.home-hero .row,
.homepage-hero .row,
.spesse-hero .row {
    margin-bottom: 35px !important;
}

@media (max-width: 900px) {
    .hero-content,
    .home-hero-content,
    .homepage-hero-content,
    .spesse-hero-content {
        gap: 30px !important;
    }

    .hero-section,
    .home-hero,
    .homepage-hero,
    .frontend-hero,
    .spesse-hero {
        padding-bottom: 55px !important;
    }

    .hero-stats,
    .home-stats,
    .stats-grid,
    .programme-stats,
    .homepage-stats {
        margin-top: 30px !important;
    }
}

/* Increase homepage slider height */
.spesse-home-slider {
    height: 620px !important;
}

.spesse-slide-overlay {
    padding-top: 105px !important;
    padding-bottom: 105px !important;
}

.spesse-slide-overlay h1 {
    font-size: 52px !important;
    line-height: 1.2 !important;
    max-width: 900px !important;
}

.spesse-slide-overlay p {
    font-size: 20px !important;
    max-width: 850px !important;
}

/* Keep slider comfortable on tablets */
@media (max-width: 1000px) {
    .spesse-home-slider {
        height: 620px !important;
    }

    .spesse-slide-overlay {
        padding-top: 85px !important;
        padding-bottom: 85px !important;
    }

    .spesse-slide-overlay h1 {
        font-size: 40px !important;
    }

    .spesse-slide-overlay p {
        font-size: 17px !important;
    }
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .spesse-home-slider {
        height: 680px !important;
    }

    .spesse-slide-overlay {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .spesse-slide-overlay h1 {
        font-size: 32px !important;
    }

    .spesse-slide-overlay p {
        font-size: 16px !important;
    }
}

/* Hide old homepage stat cards inside old hero only */
.home-hero .hero-stats,
.home-hero .home-stats,
.home-hero .stats-grid,
.homepage-hero .hero-stats,
.homepage-hero .home-stats,
.homepage-hero .stats-grid,
.hero-section .hero-stats,
.hero-section .home-stats,
.hero-section .stats-grid,
.spesse-hero .hero-stats,
.spesse-hero .home-stats,
.spesse-hero .stats-grid {
    display: none !important;
}

/* New stat cards immediately after slider */
.spesse-stat-strip-wrap {
    position: relative;
    z-index: 20;
    background: #ffffff;
    padding: 0 7% 55px;
    margin-top: -55px;
}

.spesse-stat-strip {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.12);
}

.spesse-stat-box {
    min-height: 170px;
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spesse-stat-box:last-child {
    border-right: none;
    background: #fbfffd;
}

.spesse-stat-box strong {
    display: block;
    color: #082f1c;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.spesse-stat-box span {
    display: block;
    color: #101828;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
}

.spesse-stat-box p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
    max-width: 250px;
}

.spesse-stat-box:hover {
    background: #f8fffb;
}

@media (max-width: 1000px) {
    .spesse-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spesse-stat-box {
        border-bottom: 1px solid #eef2f6;
    }

    .spesse-stat-box:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .spesse-stat-strip-wrap {
        padding: 0 18px 40px;
        margin-top: -35px;
    }

    .spesse-stat-strip {
        grid-template-columns: 1fr;
    }

    .spesse-stat-box {
        border-right: none;
        min-height: 150px;
    }
}

/* Hide old duplicated homepage stat cards; keep the new stat strip only */
section:not(.spesse-stat-strip-wrap) .stat-grid,
section:not(.spesse-stat-strip-wrap) .stats-grid,
section:not(.spesse-stat-strip-wrap) .hero-stats,
section:not(.spesse-stat-strip-wrap) .home-stats,
section:not(.spesse-stat-strip-wrap) .homepage-stats,
section:not(.spesse-stat-strip-wrap) .programme-stats,
section:not(.spesse-stat-strip-wrap) .stats-wrapper,
section:not(.spesse-stat-strip-wrap) .hero-stat-wrapper,
section:not(.spesse-stat-strip-wrap) .metrics-grid,
section:not(.spesse-stat-strip-wrap) .facts-grid {
    display: none !important;
}

/* Keep the new cards visible */
.spesse-stat-strip-wrap,
.spesse-stat-strip-wrap .spesse-stat-strip,
.spesse-stat-strip-wrap .spesse-stat-box {
    display: grid !important;
}

.spesse-stat-strip-wrap .spesse-stat-box {
    display: flex !important;
}

/* Centre Leader Welcome Section */
.centre-leader-welcome {
    background: #ffffff;
    padding: 55px 7% 75px;
}

.centre-leader-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 55px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
}

.centre-leader-photo-wrap {
    background: linear-gradient(135deg, #005c2f, #f4b400);
    border-radius: 24px;
    padding: 12px;
}

.centre-leader-photo {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    background: #ecfdf3;
}

.centre-leader-content .section-kicker {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.centre-leader-content h2 {
    color: #082f1c;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 18px;
    font-weight: 900;
}

.centre-leader-content p {
    color: #344054;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 14px;
}

.centre-leader-signature {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 4px solid #f4b400;
}

.centre-leader-signature strong {
    display: block;
    color: #005c2f;
    font-size: 18px;
    font-weight: 900;
}

.centre-leader-signature span {
    color: #667085;
    font-size: 14px;
    font-weight: 700;
}

.centre-leader-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.centre-leader-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.centre-leader-btn.primary {
    background: #f4b400;
    color: #082f1c;
}

.centre-leader-btn.secondary {
    background: #ffffff;
    color: #005c2f;
    border: 1px solid #005c2f;
}

@media (max-width: 1000px) {
    .centre-leader-container {
        grid-template-columns: 1fr;
    }

    .centre-leader-photo {
        height: 360px;
    }
}

@media (max-width: 600px) {
    .centre-leader-welcome {
        padding: 35px 18px 55px;
    }

    .centre-leader-container {
        padding: 20px;
    }

    .centre-leader-content h2 {
        font-size: 30px;
    }

    .centre-leader-photo {
        height: 320px;
    }
}

/* About Page Centre Leader Full Message */
.about-leader-section {
    background: #ffffff;
    padding: 75px 7% 55px;
}

.about-leader-container {
    max-width: 1180px;
    margin: 0 auto;
}

.about-leader-header {
    max-width: 850px;
    margin-bottom: 34px;
}

.about-leader-header span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-leader-header h1 {
    color: #082f1c;
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 900;
}

.about-leader-header p {
    color: #475467;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.about-leader-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 46px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.08);
}

.about-leader-profile {
    position: sticky;
    top: 120px;
}

.about-leader-photo-frame {
    background: linear-gradient(135deg, #005c2f, #f4b400);
    padding: 12px;
    border-radius: 24px;
    margin-bottom: 18px;
}

.about-leader-photo-frame img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    background: #ecfdf3;
}

.about-leader-name {
    background: #f8fffb;
    border: 1px solid #d1fadf;
    border-radius: 18px;
    padding: 20px;
}

.about-leader-name h3 {
    color: #082f1c;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 6px;
}

.about-leader-name p {
    color: #005c2f;
    font-weight: 900;
    margin: 0 0 8px;
}

.about-leader-name strong,
.about-leader-name span {
    display: block;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.about-leader-message {
    color: #344054;
    font-size: 17px;
    line-height: 1.9;
}

.about-leader-message p {
    margin: 0 0 18px;
}

.about-leader-message p:first-child {
    font-size: 20px;
    color: #082f1c;
    font-weight: 800;
    line-height: 1.75;
}

.about-leader-signoff {
    margin-top: 28px;
    padding: 22px;
    border-left: 5px solid #f4b400;
    background: #fffbeb;
    border-radius: 0 16px 16px 0;
}

.about-leader-signoff strong {
    display: block;
    color: #082f1c;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
}

.about-leader-signoff span,
.about-leader-signoff small {
    display: block;
    color: #667085;
    font-weight: 800;
    line-height: 1.6;
}

/* Make old About page content more readable if it remains below */
.about-page,
.page-content,
.frontend-page-content,
.content-page,
.static-page {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.about-page p,
.page-content p,
.frontend-page-content p,
.content-page p,
.static-page p {
    font-size: 16px;
    line-height: 1.85;
}

@media (max-width: 1000px) {
    .about-leader-card {
        grid-template-columns: 1fr;
    }

    .about-leader-profile {
        position: static;
    }

    .about-leader-photo-frame img {
        height: 360px;
    }
}

@media (max-width: 600px) {
    .about-leader-section {
        padding: 45px 18px 35px;
    }

    .about-leader-card {
        padding: 20px;
        border-radius: 20px;
    }

    .about-leader-header h1 {
        font-size: 34px;
    }

    .about-leader-message {
        font-size: 16px;
    }

    .about-leader-photo-frame img {
        height: 320px;
    }
}

/* Centre Management and Staff Team */
.about-team-section {
    background: #ffffff;
    padding: 75px 7%;
}

.about-staff-section {
    background: #f8fafc;
}

.about-team-container {
    max-width: 1180px;
    margin: 0 auto;
}

.about-team-header {
    max-width: 850px;
    margin-bottom: 34px;
}

.about-team-header span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-team-header h2 {
    color: #082f1c;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 900;
}

.about-team-header p {
    color: #475467;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

.about-team-grid {
    display: grid;
    gap: 24px;
}

.management-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-team-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.12);
}

.staff-card {
    border-top: 4px solid #005c2f;
}

.about-team-photo {
    width: 100%;
    height: 285px;
    background: linear-gradient(135deg, #005c2f, #f4b400);
    padding: 8px;
}

.about-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 4px 4px;
    background: #ecfdf3;
}

.about-team-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 16px 16px 4px 4px;
    background: linear-gradient(135deg, #ecfdf3, #fffbeb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005c2f;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: 2px;
}

.about-team-info {
    padding: 22px;
}

.about-team-info h3 {
    color: #082f1c;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 7px;
    line-height: 1.35;
}

.about-team-info strong {
    display: block;
    color: #005c2f;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.about-team-info p {
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 1000px) {
    .management-grid,
    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .about-team-section {
        padding: 45px 18px;
    }

    .management-grid,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .about-team-header h2 {
        font-size: 32px;
    }

    .about-team-photo {
        height: 320px;
    }
}

/* About page top banner immediately after menu */
.spesse-about-top-hero {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 55%, #137346 100%);
    padding: 95px 7%;
    color: #ffffff;
}

.spesse-about-top-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.spesse-about-top-hero span {
    display: inline-block;
    color: #f4b400;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.spesse-about-top-hero h1 {
    color: #ffffff;
    font-size: 64px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 24px;
}

.spesse-about-top-hero p {
    max-width: 900px;
    color: #ecfdf3;
    font-size: 22px;
    line-height: 1.7;
    margin: 0;
}

/* Reduce gap between about banner and Centre Leader section */
.spesse-about-top-hero + .about-leader-section {
    padding-top: 65px !important;
}

@media (max-width: 900px) {
    .spesse-about-top-hero {
        padding: 70px 7%;
    }

    .spesse-about-top-hero h1 {
        font-size: 44px;
    }

    .spesse-about-top-hero p {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .spesse-about-top-hero {
        padding: 55px 18px;
    }

    .spesse-about-top-hero h1 {
        font-size: 36px;
    }

    .spesse-about-top-hero p {
        font-size: 16px;
    }
}

/* Hide old About page content block after the new sections */
.about-leader-section ~ .about-content,
.about-leader-section ~ .about-page-content,
.about-leader-section ~ .about-main-content,
.about-leader-section ~ .page-content,
.about-leader-section ~ .frontend-page-content,
.about-leader-section ~ .content-page,
.about-leader-section ~ .static-page {
    display: none !important;
}

/* Homepage Team Preview */
.home-team-preview {
    background: #f8fafc;
    padding: 70px 7%;
}

.home-team-container {
    max-width: 1180px;
    margin: 0 auto;
}

.home-team-header {
    max-width: 780px;
    margin-bottom: 34px;
}

.home-team-header span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-team-header h2 {
    color: #082f1c;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 900;
}

.home-team-header p {
    color: #475467;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home-team-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(16, 24, 40, 0.12);
}

.home-team-photo {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #005c2f, #f4b400);
    padding: 8px;
}

.home-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 4px 4px;
    background: #ecfdf3;
}

.home-team-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 16px 16px 4px 4px;
    background: linear-gradient(135deg, #ecfdf3, #fffbeb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005c2f;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: 2px;
}

.home-team-info {
    padding: 20px;
}

.home-team-info h3 {
    color: #082f1c;
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 7px;
    line-height: 1.35;
}

.home-team-info strong {
    display: block;
    color: #005c2f;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.home-team-actions {
    margin-top: 30px;
}

.home-team-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005c2f;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.home-team-btn:hover {
    background: #003d24;
    color: #ffffff;
}

@media (max-width: 1000px) {
    .home-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-team-preview {
        padding: 50px 18px;
    }

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

    .home-team-header h2 {
        font-size: 32px;
    }

    .home-team-photo {
        height: 320px;
    }
}

/* =========================================================
   FINAL HOMEPAGE CLEANUP + RESPONSIVE OVERRIDES
   ========================================================= */

/* General section rhythm */
body {
    overflow-x: hidden;
}

section {
    box-sizing: border-box;
}

.spesse-home-slider,
.spesse-stat-strip-wrap,
.centre-leader-welcome,
.home-team-preview {
    width: 100%;
}

/* Slider final desktop sizing */
.spesse-home-slider {
    height: 650px !important;
    margin: 0 !important;
}

.spesse-slide-overlay {
    max-width: 920px !important;
    padding-top: 115px !important;
    padding-bottom: 115px !important;
}

.spesse-slide-overlay h1 {
    font-size: 52px !important;
    line-height: 1.18 !important;
}

.spesse-slide-overlay p {
    font-size: 20px !important;
    line-height: 1.75 !important;
}

/* Stat cards directly after slider */
.spesse-stat-strip-wrap {
    margin-top: -65px !important;
    padding: 0 7% 60px !important;
    position: relative !important;
    z-index: 25 !important;
}

.spesse-stat-strip {
    max-width: 1180px !important;
}

.spesse-stat-box {
    min-height: 165px !important;
}

/* Centre Leader welcome spacing */
.centre-leader-welcome {
    padding-top: 35px !important;
    padding-bottom: 75px !important;
}

.centre-leader-container {
    max-width: 1180px !important;
}

/* Homepage team preview */
.home-team-preview {
    padding-top: 75px !important;
    padding-bottom: 75px !important;
}

.home-team-grid {
    align-items: stretch !important;
}

.home-team-card {
    height: 100% !important;
}

/* Prevent old duplicate stat blocks from showing */
section:not(.spesse-stat-strip-wrap) .hero-stats,
section:not(.spesse-stat-strip-wrap) .home-stats,
section:not(.spesse-stat-strip-wrap) .stats-grid,
section:not(.spesse-stat-strip-wrap) .homepage-stats,
section:not(.spesse-stat-strip-wrap) .programme-stats {
    display: none !important;
}

/* Important links / portal section spacing */
.important-links,
.home-quick-links,
.portal-section,
.home-portals,
.quick-access {
    margin-top: 0 !important;
    padding-top: 70px !important;
}

/* Image consistency */
.centre-leader-photo,
.home-team-photo img,
.about-team-photo img {
    object-position: top center !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .spesse-home-slider {
        height: 620px !important;
    }

    .spesse-slide-overlay {
        padding-left: 8% !important;
        padding-right: 8% !important;
    }

    .spesse-slide-overlay h1 {
        font-size: 44px !important;
    }

    .spesse-slide-overlay p {
        font-size: 18px !important;
    }

    .spesse-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .centre-leader-container {
        grid-template-columns: 1fr !important;
    }

    .centre-leader-photo {
        height: 420px !important;
    }

    .home-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .spesse-home-slider {
        height: 690px !important;
    }

    .spesse-slide-overlay {
        padding: 75px 22px !important;
    }

    .spesse-slide-overlay span {
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }

    .spesse-slide-overlay h1 {
        font-size: 31px !important;
        line-height: 1.25 !important;
    }

    .spesse-slide-overlay p {
        font-size: 15.5px !important;
        line-height: 1.7 !important;
    }

    .spesse-slide-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .spesse-slide-btn {
        width: 100% !important;
        text-align: center !important;
    }

    .spesse-slider-dots {
        left: 22px !important;
        bottom: 24px !important;
    }

    .spesse-stat-strip-wrap {
        margin-top: -42px !important;
        padding: 0 18px 45px !important;
    }

    .spesse-stat-strip {
        grid-template-columns: 1fr !important;
        border-radius: 18px !important;
    }

    .spesse-stat-box {
        min-height: 145px !important;
        border-right: none !important;
        border-bottom: 1px solid #eef2f6 !important;
    }

    .spesse-stat-box:last-child {
        border-bottom: none !important;
    }

    .centre-leader-welcome {
        padding: 35px 18px 55px !important;
    }

    .centre-leader-container {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .centre-leader-photo {
        height: 340px !important;
    }

    .centre-leader-content h2 {
        font-size: 30px !important;
    }

    .centre-leader-content p {
        font-size: 15.5px !important;
        line-height: 1.75 !important;
    }

    .centre-leader-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .centre-leader-btn {
        width: 100% !important;
    }

    .home-team-preview {
        padding: 50px 18px !important;
    }

    .home-team-header h2 {
        font-size: 31px !important;
    }

    .home-team-header p {
        font-size: 15.5px !important;
    }

    .home-team-grid {
        grid-template-columns: 1fr !important;
    }

    .home-team-photo {
        height: 330px !important;
    }

    .home-team-actions .home-team-btn {
        width: 100% !important;
    }

    .important-links,
    .home-quick-links,
    .portal-section,
    .home-portals,
    .quick-access {
        padding: 45px 18px !important;
    }
}

/* Very small phones */
@media (max-width: 420px) {
    .spesse-home-slider {
        height: 720px !important;
    }

    .spesse-slide-overlay h1 {
        font-size: 28px !important;
    }

    .spesse-slide-overlay p {
        font-size: 15px !important;
    }

    .centre-leader-photo,
    .home-team-photo {
        height: 300px !important;
    }
}

/* =========================================================
   POLISHED TRAINING CALENDAR PAGE
   ========================================================= */

.training-calendar-hero {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 58%, #137346 100%);
    color: #ffffff;
    padding: 95px 7%;
}

.training-calendar-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.training-calendar-hero span {
    display: inline-block;
    color: #f4b400;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.training-calendar-hero h1 {
    color: #ffffff;
    font-size: 62px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 22px;
}

.training-calendar-hero p {
    max-width: 920px;
    color: #ecfdf3;
    font-size: 21px;
    line-height: 1.75;
    margin: 0;
}

.training-calendar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tc-btn,
.tc-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.2s ease;
}

.tc-btn {
    padding: 14px 23px;
    font-size: 15px;
}

.tc-btn-primary {
    background: #f4b400;
    color: #082f1c;
}

.tc-btn-secondary {
    background: #ffffff;
    color: #005c2f;
}

.tc-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.55);
}

.tc-btn-outline:hover,
.tc-btn-secondary:hover,
.tc-btn-primary:hover {
    transform: translateY(-1px);
}

.training-calendar-wrap {
    background: #f8fafc;
    padding: 70px 7%;
}

.training-calendar-container {
    max-width: 1180px;
    margin: 0 auto;
}

.tc-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.tc-summary-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.tc-summary-card span {
    display: block;
    color: #667085;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.tc-summary-card strong {
    display: block;
    color: #005c2f;
    font-size: 34px;
    font-weight: 900;
}

.tc-filter-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
    margin-bottom: 34px;
}

.tc-filter-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 16px;
}

.tc-form-group label {
    display: block;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.tc-form-group input,
.tc-form-group select {
    width: 100%;
    height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 0 13px;
    color: #101828;
    background: #ffffff;
    outline: none;
}

.tc-form-group input:focus,
.tc-form-group select:focus {
    border-color: #005c2f;
    box-shadow: 0 0 0 4px rgba(0, 92, 47, 0.10);
}

.tc-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.tc-filter-actions .tc-btn-outline {
    color: #005c2f;
    border-color: #005c2f;
}

.tc-empty-state {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.tc-empty-state h3 {
    color: #082f1c;
    font-size: 28px;
    margin: 0 0 10px;
}

.tc-empty-state p {
    color: #667085;
    margin: 0;
}

.tc-month-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.tc-month-block {
    background: transparent;
}

.tc-month-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d1fadf;
}

.tc-month-header h2 {
    color: #082f1c;
    font-size: 34px;
    font-weight: 900;
    margin: 0;
}

.tc-month-header span {
    color: #005c2f;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    padding: 7px 13px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}

.tc-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.tc-schedule-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tc-schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.11);
}

.tc-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.tc-track-badge,
.tc-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
}

.tc-track-badge {
    background: #fffbeb;
    color: #93370d;
    border: 1px solid #fedf89;
}

.tc-status-badge {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.tc-schedule-card h3 {
    color: #082f1c;
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 8px;
    font-weight: 900;
}

.tc-schedule-subtitle {
    color: #667085;
    margin: 0 0 16px;
    line-height: 1.6;
    font-size: 14px;
}

.tc-meta-list {
    display: grid;
    gap: 11px;
    margin: 18px 0;
}

.tc-meta-list div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f6;
}

.tc-meta-list div:last-child {
    border-bottom: none;
}

.tc-meta-list strong {
    color: #005c2f;
    font-size: 13px;
    font-weight: 900;
}

.tc-meta-list span {
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
}

.tc-note {
    background: #f8fafc;
    border-left: 4px solid #f4b400;
    border-radius: 0 12px 12px 0;
    padding: 12px 14px;
    color: #475467;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 16px;
}

.tc-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tc-btn-small {
    padding: 11px 15px;
    font-size: 13px;
}

.tc-apply {
    background: #005c2f;
    color: #ffffff;
}

.tc-interest {
    background: #f4b400;
    color: #082f1c;
}

.tc-apply:hover,
.tc-interest:hover {
    transform: translateY(-1px);
}

/* Print calendar cleanly */
@media print {
    header,
    footer,
    .training-calendar-actions,
    .tc-filter-card,
    .tc-card-actions,
    .top-bar,
    .site-header {
        display: none !important;
    }

    .training-calendar-hero {
        padding: 25px 0 !important;
        background: #ffffff !important;
        color: #000000 !important;
    }

    .training-calendar-hero h1,
    .training-calendar-hero p,
    .training-calendar-hero span {
        color: #000000 !important;
    }

    .training-calendar-wrap {
        padding: 0 !important;
        background: #ffffff !important;
    }

    .tc-schedule-grid {
        grid-template-columns: 1fr !important;
    }

    .tc-schedule-card {
        box-shadow: none !important;
        break-inside: avoid;
    }
}

/* Tablet */
@media (max-width: 1000px) {
    .training-calendar-hero h1 {
        font-size: 46px;
    }

    .training-calendar-hero p {
        font-size: 18px;
    }

    .tc-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-schedule-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .training-calendar-hero {
        padding: 60px 18px;
    }

    .training-calendar-hero h1 {
        font-size: 36px;
    }

    .training-calendar-hero p {
        font-size: 16px;
    }

    .training-calendar-actions,
    .tc-filter-actions,
    .tc-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tc-btn,
    .tc-btn-small {
        width: 100%;
    }

    .training-calendar-wrap {
        padding: 45px 18px;
    }

    .tc-summary-grid,
    .tc-filter-grid {
        grid-template-columns: 1fr;
    }

    .tc-month-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tc-month-header h2 {
        font-size: 28px;
    }

    .tc-schedule-card {
        padding: 20px;
    }

    .tc-card-top {
        flex-direction: column;
    }

    .tc-meta-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* =========================================================
   HOMEPAGE WHY STUDY SECTION
   ========================================================= */

.home-why-study {
    background: #f4f6f5;
    padding: 80px 7%;
}

.home-why-container {
    max-width: 1180px;
    margin: 0 auto;
}

.home-why-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 38px;
}

.home-why-header span {
    display: inline-block;
    color: #667085;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.home-why-header h2 {
    color: #082f1c;
    font-size: 50px;
    font-weight: 900;
    letter-spacing: 5px;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.home-why-header p {
    color: #475467;
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
}

.home-why-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.home-why-tabs button {
    border: none;
    background: #ffffff;
    color: #667085;
    padding: 22px 18px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-right: 1px solid #eef2f6;
}

.home-why-tabs button:last-child {
    border-right: none;
}

.home-why-tabs button.active {
    background: #005c2f;
    color: #ffffff;
}

.home-why-content {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-top: none;
    border-radius: 0 0 18px 18px;
    padding: 50px 58px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

.home-why-panel {
    display: none;
}

.home-why-panel.active {
    display: block;
}

.home-why-panel h3 {
    color: #1d3f72;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 22px;
}

.home-why-panel p {
    color: #667085;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 20px;
}

/* =========================================================
   HOMEPAGE IMPACT STATS
   ========================================================= */

.home-impact-stats {
    background: #008c35;
    padding: 75px 7%;
}

.home-impact-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-impact-card {
    text-align: center;
    color: #ffffff;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.25);
}

.home-impact-card:last-child {
    border-right: none;
}

.home-impact-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
}

.home-impact-card strong {
    display: block;
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.home-impact-card span {
    display: block;
    color: #d1fadf;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1000px) {
    .home-why-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-why-header h2 {
        font-size: 40px;
    }

    .home-impact-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-impact-card:nth-child(2) {
        border-right: none;
    }

    .home-impact-card:nth-child(1),
    .home-impact-card:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }
}

@media (max-width: 650px) {
    .home-why-study {
        padding: 55px 18px;
    }

    .home-why-header h2 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .home-why-tabs {
        grid-template-columns: 1fr;
    }

    .home-why-tabs button {
        border-right: none;
        border-bottom: 1px solid #eef2f6;
    }

    .home-why-content {
        padding: 28px 22px;
    }

    .home-why-panel h3 {
        font-size: 23px;
    }

    .home-why-panel p {
        font-size: 15.5px;
    }

    .home-impact-stats {
        padding: 50px 18px;
    }

    .home-impact-container {
        grid-template-columns: 1fr;
    }

    .home-impact-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }

    .home-impact-card:last-child {
        border-bottom: none;
    }
}

/* =========================================================
   CORE CLUSTER PAGES
   ========================================================= */

.cluster-index-hero,
.cluster-detail-hero {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 58%, #137346 100%);
    color: #ffffff;
    padding: 95px 7%;
}

.cluster-index-inner,
.cluster-detail-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.cluster-index-hero span,
.cluster-detail-hero span,
.cluster-section-kicker {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cluster-index-hero h1,
.cluster-detail-hero h1 {
    color: #ffffff;
    font-size: 62px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 22px;
}

.cluster-index-hero p,
.cluster-detail-hero p {
    max-width: 900px;
    color: #ecfdf3;
    font-size: 21px;
    line-height: 1.75;
    margin: 0;
}

.cluster-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cluster-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 900;
}

.cluster-btn-primary {
    background: #f4b400;
    color: #082f1c;
}

.cluster-btn-secondary {
    background: #ffffff;
    color: #005c2f;
}

.cluster-index-wrap,
.cluster-detail-wrap {
    background: #f8fafc;
    padding: 70px 7%;
}

.cluster-index-container,
.cluster-detail-container {
    max-width: 1180px;
    margin: 0 auto;
}

.cluster-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cluster-index-card,
.cluster-content-card,
.cluster-side-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

.cluster-index-card {
    padding: 28px;
}

.cluster-index-card span {
    color: #f4b400;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.cluster-index-card h2 {
    color: #082f1c;
    font-size: 26px;
    line-height: 1.25;
    margin: 14px 0;
    font-weight: 900;
}

.cluster-index-card p {
    color: #667085;
    line-height: 1.75;
}

.cluster-card-btn {
    display: inline-flex;
    background: #005c2f;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    margin-top: 10px;
}

.cluster-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.cluster-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cluster-content-card {
    padding: 32px;
}

.cluster-content-card h2 {
    color: #082f1c;
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 900;
}

.cluster-content-card p {
    color: #475467;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 16px;
}

.cluster-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cluster-list-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cluster-list-item span {
    color: #005c2f;
    font-weight: 900;
}

.cluster-list-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.cluster-pathway-list {
    display: grid;
    gap: 12px;
}

.cluster-pathway-item {
    background: #ecfdf3;
    color: #005c2f;
    border: 1px solid #abefc6;
    border-radius: 14px;
    padding: 16px 18px;
    font-weight: 900;
}

.cluster-schedule-list {
    display: grid;
    gap: 14px;
}

.cluster-schedule-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.cluster-schedule-item h3 {
    color: #082f1c;
    margin: 0 0 6px;
    font-size: 18px;
}

.cluster-schedule-item p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.cluster-schedule-item a,
.cluster-sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4b400;
    color: #082f1c;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.cluster-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cluster-side-card {
    padding: 22px;
}

.cluster-side-card h3 {
    color: #082f1c;
    font-size: 20px;
    margin: 0 0 16px;
    font-weight: 900;
}

.cluster-side-card a {
    display: block;
    color: #344054;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
    font-weight: 800;
}

.cluster-side-card a.active {
    color: #005c2f;
}

.cluster-contact-card p,
.cluster-contact-card span {
    color: #667085;
    line-height: 1.7;
}

.cluster-contact-card strong {
    display: block;
    color: #005c2f;
    margin-top: 14px;
}

.cluster-contact-card .cluster-sidebar-btn {
    display: inline-flex;
    margin-top: 16px;
    border-bottom: none;
}

/* Homepage cluster cards */
.home-clusters-section {
    background: #ffffff;
    padding: 75px 7%;
}

.home-clusters-container {
    max-width: 1180px;
    margin: 0 auto;
}

.home-clusters-header {
    max-width: 780px;
    margin-bottom: 34px;
}

.home-clusters-header span {
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.home-clusters-header h2 {
    color: #082f1c;
    font-size: 42px;
    line-height: 1.15;
    margin: 12px 0;
    font-weight: 900;
}

.home-clusters-header p {
    color: #667085;
    font-size: 17px;
    line-height: 1.75;
}

.home-clusters-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-cluster-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

.home-cluster-card span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #ecfdf3;
    color: #005c2f;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 20px;
}

.home-cluster-card h3 {
    color: #082f1c;
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 12px;
    font-weight: 900;
}

.home-cluster-card p {
    color: #667085;
    line-height: 1.7;
}

.home-cluster-card a {
    color: #005c2f;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .cluster-index-grid,
    .home-clusters-grid {
        grid-template-columns: 1fr;
    }

    .cluster-detail-container {
        grid-template-columns: 1fr;
    }

    .cluster-sidebar {
        position: static;
    }
}

@media (max-width: 650px) {
    .cluster-index-hero,
    .cluster-detail-hero {
        padding: 60px 18px;
    }

    .cluster-index-hero h1,
    .cluster-detail-hero h1 {
        font-size: 36px;
    }

    .cluster-index-hero p,
    .cluster-detail-hero p {
        font-size: 16px;
    }

    .cluster-index-wrap,
    .cluster-detail-wrap,
    .home-clusters-section {
        padding: 45px 18px;
    }

    .cluster-content-card,
    .cluster-side-card {
        padding: 22px;
    }

    .cluster-list-grid {
        grid-template-columns: 1fr;
    }

    .cluster-schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cluster-schedule-item a {
        width: 100%;
    }

    .home-clusters-header h2 {
        font-size: 32px;
    }
}

/* =========================================================
   CONTACT PAGE POLISH
   ========================================================= */

.contact-hero-section {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 58%, #137346 100%);
    padding: 90px 7%;
    color: #ffffff;
}

.contact-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-hero-inner span,
.section-kicker {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-hero-inner h1 {
    color: #ffffff;
    font-size: 60px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 20px;
}

.contact-hero-inner p {
    max-width: 850px;
    color: #ecfdf3;
    font-size: 20px;
    line-height: 1.75;
    margin: 0;
}

.contact-page-wrap {
    background: #f8fafc;
    padding: 70px 7%;
}

.contact-page-container {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.contact-info-card,
.contact-form-card,
.contact-side-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

.contact-info-card {
    padding: 24px;
}

.contact-icon {
    display: inline-flex;
    font-size: 30px;
    margin-bottom: 14px;
}

.contact-info-card h3,
.contact-side-card h3,
.contact-form-card h2 {
    color: #082f1c;
    font-weight: 900;
    margin: 0 0 12px;
}

.contact-info-card p,
.contact-info-card a,
.contact-side-card p,
.contact-side-card a {
    color: #475467;
    line-height: 1.7;
    text-decoration: none;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.contact-form-card {
    padding: 32px;
}

.contact-form-card p {
    color: #667085;
    line-height: 1.7;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form-group {
    margin-bottom: 16px;
}

.contact-form-group label {
    display: block;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 13px;
    outline: none;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #005c2f;
    box-shadow: 0 0 0 4px rgba(0, 92, 47, 0.10);
}

.contact-form-group small {
    color: #b42318;
}

.contact-submit-btn {
    background: #005c2f;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 9px;
    font-weight: 900;
    cursor: pointer;
}

.contact-success-box {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #027a48;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 800;
}

.contact-side-card {
    padding: 24px;
    position: sticky;
    top: 110px;
}

.contact-side-card a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
    font-weight: 800;
}

.contact-office-hours {
    background: #fffbeb;
    border-left: 4px solid #f4b400;
    padding: 16px;
    border-radius: 0 14px 14px 0;
    margin-top: 20px;
}

/* =========================================================
   CLEAN FOOTER
   ========================================================= */

.spesse-footer-clean {
    background: #06291a;
    color: #ffffff;
    padding-top: 60px;
}

.spesse-footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 7% 45px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 34px;
}

.spesse-footer-clean h3,
.spesse-footer-clean h4 {
    color: #ffffff;
    font-weight: 900;
    margin: 0 0 16px;
}

.spesse-footer-clean p,
.spesse-footer-clean a {
    color: #d1d5db;
    line-height: 1.75;
    text-decoration: none;
}

.spesse-footer-links a,
.spesse-footer-contact a {
    display: block;
    margin-bottom: 8px;
}

.spesse-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.spesse-footer-social a {
    color: #f4b400;
    font-weight: 800;
}

.spesse-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 7%;
    text-align: center;
}

.spesse-footer-bottom p {
    margin: 0;
    color: #cbd5e1;
}

@media (max-width: 1000px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-side-card {
        position: static;
    }

    .spesse-footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .contact-hero-section {
        padding: 60px 18px;
    }

    .contact-hero-inner h1 {
        font-size: 36px;
    }

    .contact-hero-inner p {
        font-size: 16px;
    }

    .contact-page-wrap {
        padding: 45px 18px;
    }

    .contact-info-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-side-card {
        padding: 22px;
    }

    .contact-submit-btn {
        width: 100%;
    }

    .spesse-footer-container {
        grid-template-columns: 1fr;
        padding: 0 18px 40px;
    }
}

/* =========================================================
   POLISHED PROGRAMME DETAIL PAGE
   ========================================================= */

.programme-detail-hero {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 55%, #137346 100%);
    color: #ffffff;
    padding: 95px 7%;
}

.programme-detail-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.programme-detail-hero span,
.programme-section-kicker {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.programme-detail-hero h1 {
    color: #ffffff;
    font-size: 58px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 20px;
    max-width: 900px;
}

.programme-detail-hero p {
    max-width: 850px;
    color: #ecfdf3;
    font-size: 20px;
    line-height: 1.75;
    margin: 0;
}

.programme-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.programme-btn,
.programme-sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 900;
}

.programme-btn-primary,
.programme-sidebar-btn {
    background: #f4b400;
    color: #082f1c;
}

.programme-btn-secondary {
    background: #ffffff;
    color: #005c2f;
}

.programme-detail-wrap {
    background: #f8fafc;
    padding: 75px 7%;
}

.programme-detail-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.programme-detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.programme-card,
.programme-side-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

.programme-card {
    padding: 34px;
}

.programme-card h2 {
    color: #082f1c;
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 900;
}

.programme-description {
    color: #475467;
    font-size: 16px;
    line-height: 1.9;
}

.programme-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.programme-info-grid div {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 16px;
}

.programme-info-grid strong {
    display: block;
    color: #005c2f;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.programme-info-grid span {
    color: #344054;
    font-weight: 700;
}

.programme-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.programme-course-card {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 22px;
}

.programme-course-card h3 {
    color: #082f1c;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 10px;
    font-weight: 900;
}

.programme-course-card p {
    color: #667085;
    line-height: 1.7;
}

.programme-course-card a {
    color: #005c2f;
    font-weight: 900;
    text-decoration: none;
}

.programme-schedule-list {
    display: grid;
    gap: 14px;
}

.programme-schedule-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.programme-schedule-item h3 {
    color: #082f1c;
    margin: 0 0 6px;
    font-size: 18px;
}

.programme-schedule-item p {
    color: #667085;
    margin: 0;
}

.programme-schedule-item a {
    background: #005c2f;
    color: #ffffff;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.programme-detail-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.programme-side-card {
    padding: 24px;
}

.programme-side-card h3 {
    color: #082f1c;
    font-size: 20px;
    margin: 0 0 14px;
    font-weight: 900;
}

.programme-side-card p,
.programme-side-card li,
.programme-side-card span {
    color: #667085;
    line-height: 1.7;
}

.programme-side-card ul {
    padding-left: 18px;
    margin: 0;
}

.programme-side-card strong {
    display: block;
    color: #005c2f;
    margin-top: 14px;
}

.programme-apply-card {
    background: #ecfdf3;
    border-color: #abefc6;
}

.programme-sidebar-btn {
    margin-top: 14px;
}

@media (max-width: 1000px) {
    .programme-detail-container {
        grid-template-columns: 1fr;
    }

    .programme-detail-sidebar {
        position: static;
    }

    .programme-course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .programme-detail-hero {
        padding: 60px 18px;
    }

    .programme-detail-hero h1 {
        font-size: 36px;
    }

    .programme-detail-hero p {
        font-size: 16px;
    }

    .programme-detail-wrap {
        padding: 45px 18px;
    }

    .programme-card,
    .programme-side-card {
        padding: 22px;
    }

    .programme-info-grid {
        grid-template-columns: 1fr;
    }

    .programme-schedule-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .programme-schedule-item a,
    .programme-btn {
        width: 100%;
    }
}



/* FINAL CLEAN FOOTER - SPESSE */

.spesse-footer-clean {
    background: #06291a;
    color: #ffffff;
    padding-top: 60px;
}

.spesse-footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 7% 45px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 34px;
}

.spesse-footer-clean h3,
.spesse-footer-clean h4 {
    color: #ffffff;
    font-weight: 900;
    margin: 0 0 16px;
}

.spesse-footer-clean p,
.spesse-footer-clean a {
    color: #d1d5db;
    line-height: 1.75;
    text-decoration: none;
}

.spesse-footer-links a,
.spesse-footer-contact a {
    display: block;
    margin-bottom: 8px;
}

.spesse-footer-links a:hover,
.spesse-footer-contact a:hover {
    color: #f4b400;
}

.spesse-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 7%;
    text-align: center;
}

.spesse-footer-bottom p {
    margin: 0;
    color: #cbd5e1;
}

@media (max-width: 1000px) {
    .spesse-footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .spesse-footer-container {
        grid-template-columns: 1fr;
        padding: 0 18px 40px;
    }
}

/* Footer logo fallback */
.spesse-footer-logo-fallback {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #ffffff;
    color: #00872f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 22px;
}

/* =========================================================
   HOME UPCOMING TRAININGS
   ========================================================= */

.home-upcoming-trainings {
    background: #f8fafc;
    padding: 80px 7%;
    position: relative;
}

.home-upcoming-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.home-upcoming-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.home-upcoming-header span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-upcoming-header h2 {
    color: #082f1c;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 10px;
}

.home-upcoming-header p {
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0;
}

.home-upcoming-header > a {
    background: #005c2f;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.home-training-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-training-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(16, 24, 40, 0.14);
}

.home-training-image {
    width: 100%;
    height: 250px;
    background: #eaf7ef;
    overflow: hidden;
}

.home-training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-training-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #005c2f 0%, #00872f 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.home-training-placeholder strong {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.home-training-placeholder span {
    color: #f4b400;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-training-body {
    padding: 22px;
}

.home-training-date {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 10px;
}

.home-training-body h3 {
    color: #082f1c;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.home-training-meta {
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
    margin: 7px 0;
}

.home-training-meta span {
    margin-right: 6px;
}

.home-training-link {
    display: inline-flex;
    margin-top: 14px;
    background: #f4b400;
    color: #082f1c;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .home-training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-upcoming-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    .home-upcoming-trainings {
        padding: 55px 18px;
    }

    .home-upcoming-header h2 {
        font-size: 32px;
    }

    .home-training-grid {
        grid-template-columns: 1fr;
    }

    .home-training-image {
        height: 220px;
    }

    .home-upcoming-header > a,
    .home-training-link {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   PUBLICATIONS PAGE
   ========================================================= */

.publications-hero {
    min-height: 300px;
    background:
        linear-gradient(rgba(0, 72, 38, 0.35), rgba(0, 72, 38, 0.35)),
        url('/uploads/home-slider/slide-2.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publications-hero-overlay {
    text-align: center;
    color: #ffffff;
    padding: 70px 20px;
}

.publications-hero-overlay span {
    color: #00a651;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.publications-hero-overlay h1 {
    color: #ffffff;
    font-size: 68px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    font-weight: 900;
}

.publications-page {
    background: #ffffff;
    padding: 60px 7% 80px;
}

.publications-container {
    max-width: 1180px;
    margin: 0 auto;
}

.publications-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.publications-search-form input {
    flex: 1;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 17px 18px;
    font-size: 16px;
    outline: none;
}

.publications-search-form input:focus {
    border-color: #00872f;
    box-shadow: 0 0 0 4px rgba(0, 135, 47, 0.10);
}

.publications-search-form button {
    background: #00872f;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.publications-list {
    display: grid;
    gap: 24px;
}

.publication-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-left: 5px solid #00872f;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.publication-card h2 {
    color: #1f2937;
    font-size: 27px;
    line-height: 1.35;
    margin: 0 0 14px;
    font-weight: 900;
}

.publication-authors {
    color: #667085;
    margin: 0 0 16px;
    font-size: 16px;
}

.publication-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.publication-meta span {
    background: #00872f;
    color: #ffffff;
    padding: 8px 13px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
}

.publication-meta strong {
    color: #344054;
    font-size: 18px;
}

.publication-detail {
    color: #475467;
    line-height: 1.7;
    margin: 8px 0;
}

.publication-detail strong {
    color: #1f2937;
}

.publication-detail a {
    color: #00872f;
    text-decoration: none;
    font-weight: 800;
}

.publication-abstract {
    color: #475467;
    line-height: 1.8;
    margin: 16px 0 0;
}

.publication-read-btn {
    display: inline-flex;
    margin-top: 18px;
    background: #f4b400;
    color: #082f1c;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.publications-pagination {
    margin-top: 30px;
}

.publication-empty {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.publication-empty h3 {
    color: #082f1c;
    margin: 0 0 10px;
}

.publication-empty p {
    color: #667085;
    margin: 0;
}

@media (max-width: 700px) {
    .publications-hero-overlay h1 {
        font-size: 42px;
    }

    .publications-search-form {
        flex-direction: column;
    }

    .publications-search-form button {
        padding: 15px 20px;
    }

    .publication-card {
        padding: 22px;
    }

    .publication-card h2 {
        font-size: 22px;
    }
}

/* =========================================================
   PUBLICATIONS PAGE V2 - CATEGORISED
   ========================================================= */

.pub-v2-hero {
    background:
        linear-gradient(135deg, rgba(0, 62, 36, 0.92), rgba(0, 135, 47, 0.82)),
        url('/uploads/home-slider/slide-2.svg');
    background-size: cover;
    background-position: center;
    padding: 95px 7%;
    color: #ffffff;
}

.pub-v2-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.pub-v2-hero span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pub-v2-hero h1 {
    color: #ffffff;
    font-size: 62px;
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 900;
}

.pub-v2-hero p {
    max-width: 850px;
    color: #ecfdf3;
    font-size: 19px;
    line-height: 1.75;
    margin: 0;
}

.pub-v2-page {
    background: #f8fafc;
    padding: 60px 7% 80px;
}

.pub-v2-container {
    max-width: 1180px;
    margin: 0 auto;
}

.pub-v2-top {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
    margin-bottom: 28px;
}

.pub-v2-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 18px;
}

.pub-v2-search input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 15px 16px;
    font-size: 15px;
    outline: none;
}

.pub-v2-search input:focus {
    border-color: #00872f;
    box-shadow: 0 0 0 4px rgba(0, 135, 47, 0.10);
}

.pub-v2-search button {
    background: #00872f;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.pub-v2-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pub-v2-tabs a {
    background: #f8fafc;
    color: #344054;
    border: 1px solid #e4e7ec;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.pub-v2-tabs a.active,
.pub-v2-tabs a:hover {
    background: #00872f;
    color: #ffffff;
    border-color: #00872f;
}

.pub-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pub-v2-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
    border-top: 5px solid #00872f;
    min-height: 330px;
}

.pub-v2-card.research-card {
    border-top-color: #005c2f;
}

.pub-v2-card.document-card {
    border-top-color: #f4b400;
}

.pub-v2-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.pub-v2-type {
    display: inline-flex;
    background: #ecfdf3;
    color: #027a48;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.document-card .pub-v2-type {
    background: #fffbeb;
    color: #92400e;
}

.pub-v2-card-top strong {
    color: #344054;
    font-size: 18px;
}

.pub-v2-card h2 {
    color: #111827;
    font-size: 24px;
    line-height: 1.35;
    margin: 0 0 14px;
    font-weight: 900;
}

.pub-v2-authors {
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 16px;
}

.pub-v2-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pub-v2-meta span {
    background: #00872f;
    color: #ffffff;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}

.pub-v2-detail {
    color: #475467;
    line-height: 1.7;
    margin: 8px 0;
}

.pub-v2-detail strong {
    color: #111827;
}

.pub-v2-detail a {
    color: #00872f;
    text-decoration: none;
    font-weight: 800;
}

.pub-v2-abstract {
    color: #475467;
    line-height: 1.8;
    margin: 15px 0 0;
}

.pub-v2-btn {
    display: inline-flex;
    margin-top: 18px;
    background: #f4b400;
    color: #082f1c;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.pub-v2-pagination {
    margin-top: 32px;
}

.pub-v2-empty {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 44px;
    text-align: center;
}

.pub-v2-empty h3 {
    color: #082f1c;
    margin: 0 0 10px;
    font-weight: 900;
}

.pub-v2-empty p {
    color: #667085;
    margin: 0;
}

@media (max-width: 900px) {
    .pub-v2-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .pub-v2-hero {
        padding: 60px 18px;
    }

    .pub-v2-hero h1 {
        font-size: 40px;
    }

    .pub-v2-page {
        padding: 45px 18px;
    }

    .pub-v2-search {
        grid-template-columns: 1fr;
    }

    .pub-v2-search button {
        padding: 14px 20px;
    }

    .pub-v2-card {
        padding: 22px;
    }

    .pub-v2-card h2 {
        font-size: 21px;
    }
}

/* =========================================================
   NEWS & UPDATES PAGE
   ========================================================= */

.news-v2-hero,
.news-detail-hero {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 56%, #0c7a3b 100%);
    color: #ffffff;
    padding: 95px 7%;
}

.news-v2-hero-inner,
.news-detail-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.news-v2-hero span,
.news-detail-hero span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.news-v2-hero h1,
.news-detail-hero h1 {
    color: #ffffff;
    font-size: 62px;
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 900;
}

.news-detail-hero h1 {
    max-width: 950px;
    font-size: 52px;
}

.news-v2-hero p,
.news-detail-hero p {
    max-width: 850px;
    color: #ecfdf3;
    font-size: 19px;
    line-height: 1.75;
    margin: 0;
}

.news-v2-page,
.news-detail-page {
    background: #f8fafc;
    padding: 65px 7% 85px;
}

.news-v2-container,
.news-detail-container {
    max-width: 1180px;
    margin: 0 auto;
}

.news-v2-featured {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.10);
    margin-bottom: 30px;
}

.news-v2-featured-content {
    padding: 38px;
}

.news-v2-featured-content span,
.news-v2-card-meta span {
    display: inline-flex;
    background: #ecfdf3;
    color: #027a48;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.news-v2-featured-content h2 {
    color: #082f1c;
    font-size: 34px;
    line-height: 1.25;
    margin: 16px 0;
    font-weight: 900;
}

.news-v2-featured-content p {
    color: #475467;
    line-height: 1.8;
    font-size: 16px;
}

.news-v2-featured-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #667085;
    margin-top: 18px;
}

.news-v2-featured-content a,
.news-v2-card-body a {
    display: inline-flex;
    margin-top: 20px;
    background: #f4b400;
    color: #082f1c;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.news-v2-featured-image {
    min-height: 330px;
    background: linear-gradient(135deg, #005c2f, #00872f);
}

.news-v2-featured-image img,
.news-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-v2-featured-image div,
.news-v2-card-image div {
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #ffffff;
}

.news-v2-featured-image strong,
.news-v2-card-image strong {
    font-size: 26px;
    font-weight: 900;
}

.news-v2-featured-image span,
.news-v2-card-image span {
    color: #f4b400;
    font-weight: 900;
    text-transform: uppercase;
}

.news-v2-filter-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
    margin-bottom: 28px;
}

.news-v2-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 18px;
}

.news-v2-search input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 15px 16px;
    font-size: 15px;
    outline: none;
}

.news-v2-search input:focus {
    border-color: #00872f;
    box-shadow: 0 0 0 4px rgba(0, 135, 47, 0.10);
}

.news-v2-search button {
    background: #00872f;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.news-v2-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-v2-categories a {
    background: #f8fafc;
    color: #344054;
    border: 1px solid #e4e7ec;
    padding: 10px 15px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.news-v2-categories a.active,
.news-v2-categories a:hover {
    background: #00872f;
    color: #ffffff;
    border-color: #00872f;
}

.news-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-v2-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
}

.news-v2-card-image {
    height: 210px;
    background: linear-gradient(135deg, #005c2f, #00872f);
}

.news-v2-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-v2-card-body {
    padding: 22px;
}

.news-v2-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.news-v2-card-meta em {
    color: #667085;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.news-v2-card-body h2 {
    color: #082f1c;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 12px;
}

.news-v2-card-body p {
    color: #667085;
    line-height: 1.7;
    margin: 0;
}

.news-v2-pagination {
    margin-top: 32px;
}

.news-v2-empty {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 44px;
    text-align: center;
}

.news-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.news-detail-card,
.news-related {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
}

.news-detail-card {
    padding: 34px;
}

.news-detail-image {
    height: 420px;
    border-radius: 18px;
    margin-bottom: 26px;
}

.news-detail-excerpt {
    color: #082f1c;
    font-size: 20px;
    line-height: 1.75;
    font-weight: 800;
    margin: 0 0 24px;
}

.news-detail-content {
    color: #475467;
    line-height: 1.9;
    font-size: 17px;
}

.news-related {
    padding: 24px;
    position: sticky;
    top: 110px;
}

.news-related h3 {
    color: #082f1c;
    font-weight: 900;
    margin: 0 0 18px;
}

.news-related a {
    display: block;
    border-bottom: 1px solid #eef2f6;
    padding: 14px 0;
    text-decoration: none;
}

.news-related a span {
    color: #00872f;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-related a strong {
    display: block;
    color: #344054;
    line-height: 1.5;
    margin-top: 5px;
}

@media (max-width: 1000px) {
    .news-v2-featured,
    .news-detail-container {
        grid-template-columns: 1fr;
    }

    .news-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-related {
        position: static;
    }
}

@media (max-width: 650px) {
    .news-v2-hero,
    .news-detail-hero {
        padding: 60px 18px;
    }

    .news-v2-hero h1,
    .news-detail-hero h1 {
        font-size: 38px;
    }

    .news-v2-page,
    .news-detail-page {
        padding: 45px 18px;
    }

    .news-v2-search {
        grid-template-columns: 1fr;
    }

    .news-v2-search button {
        padding: 14px 20px;
    }

    .news-v2-grid {
        grid-template-columns: 1fr;
    }

    .news-v2-featured-content,
    .news-detail-card {
        padding: 24px;
    }

    .news-detail-image {
        height: 260px;
    }
}

/* =========================================================
   GALLERY PAGE V2
   ========================================================= */

.gallery-v2-hero {
    background: linear-gradient(135deg, #003d24 0%, #005c2f 55%, #0c7a3b 100%);
    color: #ffffff;
    padding: 95px 7%;
}

.gallery-v2-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.gallery-v2-hero span {
    display: inline-block;
    color: #f4b400;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gallery-v2-hero h1 {
    color: #ffffff;
    font-size: 62px;
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 900;
}

.gallery-v2-hero p {
    max-width: 850px;
    color: #ecfdf3;
    font-size: 19px;
    line-height: 1.75;
    margin: 0;
}

.gallery-v2-page {
    background: #f8fafc;
    padding: 60px 7% 85px;
}

.gallery-v2-container {
    max-width: 1180px;
    margin: 0 auto;
}

.gallery-v2-tabs {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-v2-tabs a {
    background: #f8fafc;
    color: #344054;
    border: 1px solid #e4e7ec;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.gallery-v2-tabs a.active,
.gallery-v2-tabs a:hover {
    background: #00872f;
    color: #ffffff;
    border-color: #00872f;
}

.gallery-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-v2-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-v2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(16, 24, 40, 0.14);
}

.gallery-v2-image {
    height: 245px;
    display: block;
    background: linear-gradient(135deg, #005c2f, #00872f);
    overflow: hidden;
    text-decoration: none;
}

.gallery-v2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery-v2-card:hover .gallery-v2-image img {
    transform: scale(1.05);
}

.gallery-v2-placeholder {
    height: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.gallery-v2-placeholder strong {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 8px;
}

.gallery-v2-placeholder span {
    color: #f4b400;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-v2-body {
    padding: 22px;
}

.gallery-v2-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 13px;
}

.gallery-v2-meta span {
    display: inline-flex;
    background: #ecfdf3;
    color: #027a48;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.gallery-v2-meta em {
    color: #667085;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.gallery-v2-body h2 {
    color: #082f1c;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 10px;
}

.gallery-v2-body p {
    color: #667085;
    line-height: 1.7;
    margin: 0;
}

.gallery-v2-pagination {
    margin-top: 32px;
}

.gallery-v2-empty {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 44px;
    text-align: center;
}

.gallery-v2-empty h3 {
    color: #082f1c;
    margin: 0 0 10px;
    font-weight: 900;
}

.gallery-v2-empty p {
    color: #667085;
    margin: 0;
}

@media (max-width: 1000px) {
    .gallery-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .gallery-v2-hero {
        padding: 60px 18px;
    }

    .gallery-v2-hero h1 {
        font-size: 40px;
    }

    .gallery-v2-page {
        padding: 45px 18px;
    }

    .gallery-v2-grid {
        grid-template-columns: 1fr;
    }

    .gallery-v2-image {
        height: 230px;
    }
}
