/* =========================================================
   FCHDK — ABOUT PAGE
   ========================================================= */


/* =========================================================
   PAGE HERO
   ========================================================= */

.fchdk-page-about .fchdk-page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 88px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 76, 48, 0.98),
            rgba(17, 111, 68, 0.94)
        );
    color: #fff;
}

.fchdk-page-about .fchdk-page-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    top: -190px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.14);
}

.fchdk-page-about .fchdk-page-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.fchdk-page-about .fchdk-page-hero .fchdk-container {
    position: relative;
    z-index: 1;
}

.fchdk-page-about .fchdk-page-hero-content {
    max-width: 850px;
}

.fchdk-page-about .fchdk-page-hero .fchdk-eyebrow {
    color: #ffd54f;
}

.fchdk-page-about .fchdk-page-hero h1 {
    max-width: 820px;
    margin: 14px 0 20px;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.fchdk-page-about .fchdk-page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    line-height: 1.8;
}


/* =========================================================
   GENERAL SECTION ENHANCEMENTS
   ========================================================= */

.fchdk-page-about .fchdk-section {
    position: relative;
}

.fchdk-page-about .fchdk-section-heading {
    max-width: 820px;
    margin-bottom: 48px;
}

.fchdk-page-about .fchdk-section-heading h2 {
    margin: 10px 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.fchdk-page-about .fchdk-section-heading p {
    max-width: 720px;
    margin: 0;
    color: #66756d;
    line-height: 1.8;
}

.fchdk-page-about .fchdk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #117044;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fchdk-page-about .fchdk-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: #e6b800;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.fchdk-about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.fchdk-about-intro-content h2 {
    max-width: 760px;
    margin: 12px 0 24px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.fchdk-about-intro-content p {
    max-width: 780px;
    margin: 0 0 18px;
    color: #56665e;
    font-size: 1rem;
    line-height: 1.9;
}

.fchdk-about-intro-content p:last-child {
    margin-bottom: 0;
}


/* Institutional identity card */

.fchdk-about-intro-card {
    position: relative;
    padding: 38px 32px;
    overflow: hidden;
    border: 1px solid rgba(17, 112, 68, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            #f7fbf8,
            #eef7f1
        );
    box-shadow: 0 18px 50px rgba(20, 68, 43, 0.08);
}

.fchdk-about-intro-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -80px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(230, 184, 0, 0.13);
}

.fchdk-about-card-icon {
    display: flex;
    width: 62px;
    height: 62px;
    margin-bottom: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #117044;
    color: #fff;
    font-size: 1.55rem;
}

.fchdk-about-intro-card > span {
    display: block;
    margin-bottom: 9px;
    color: #728078;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fchdk-about-intro-card strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #124d35;
    font-size: 1.35rem;
    line-height: 1.45;
}


/* =========================================================
   VISION / MISSION
   ========================================================= */

.fchdk-section-soft {
    background: #f6f9f7;
}

.fchdk-about-direction {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.fchdk-about-direction-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    padding: 34px;
    border: 1px solid #e3ebe6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(20, 68, 43, 0.055);
}

.fchdk-about-direction-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #edf7f0;
    color: #117044;
    font-size: 1.25rem;
}

.fchdk-about-direction-card h3 {
    margin: 0 0 12px;
    color: #153f2d;
    font-size: 1.35rem;
}

.fchdk-about-direction-card p {
    margin: 0;
    color: #65736c;
    line-height: 1.8;
}


/* =========================================================
   MANDATE
   ========================================================= */

.fchdk-mandate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fchdk-mandate-card {
    position: relative;
    min-height: 285px;
    padding: 34px 30px;
    overflow: hidden;
    border: 1px solid #e3ebe6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(20, 68, 43, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fchdk-mandate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 112, 68, 0.22);
    box-shadow: 0 20px 48px rgba(20, 68, 43, 0.10);
}

.fchdk-mandate-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(17, 112, 68, 0.09);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.fchdk-mandate-icon {
    display: flex;
    width: 54px;
    height: 54px;
    margin-bottom: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f1f8f3;
    color: #117044;
    font-size: 1.25rem;
}

.fchdk-mandate-card h3 {
    margin: 0 0 12px;
    color: #153f2d;
    font-size: 1.2rem;
}

.fchdk-mandate-card p {
    margin: 0;
    color: #68776f;
    line-height: 1.75;
}


/* =========================================================
   MANAGEMENT — FEATURED PROVOST
   ========================================================= */

.fchdk-management-feature {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    min-height: 470px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #0b5638,
            #117044
        );
    box-shadow: 0 24px 60px rgba(12, 70, 44, 0.15);
}


/* =========================================================
   MANAGEMENT PHOTOGRAPH CONTAINER
   ========================================================= */

.fchdk-management-photo {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    background: #f4f7f5;
}


/* Regular management photographs remain fully visible */

.fchdk-management-photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}


/* =========================================================
   FEATURED PROVOST PHOTOGRAPH
   ========================================================= */

/*
 * The Provost is the featured institutional portrait.
 *
 * Unlike the other management portraits, this photograph
 * intentionally fills the entire featured panel.
 *
 * This uses COVER because the source image is already a
 * passport-style portrait with the shoulders cropped.
 */

.fchdk-management-photo-large {
    min-height: 470px;
    background: #0b5638;
}

.fchdk-management-photo-large img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}


/* Featured photograph overlay */

.fchdk-management-photo-large::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0, 0, 0, 0.10)
        );
    pointer-events: none;
}


/* =========================================================
   REGULAR MANAGEMENT IMAGE OVERLAY
   ========================================================= */

.fchdk-management-photo:not(.fchdk-management-photo-large)::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0, 0, 0, 0.06)
        );
    pointer-events: none;
}


/* =========================================================
   MANAGEMENT FEATURE CONTENT
   ========================================================= */

.fchdk-management-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
    color: #fff;
}

.fchdk-management-role {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffd54f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fchdk-management-content h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.fchdk-management-content p {
    max-width: 550px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.fchdk-management-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.fchdk-management-link:hover {
    color: #ffd54f;
}


/* =========================================================
   MANAGEMENT — FOUR OFFICERS
   ========================================================= */

.fchdk-management-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.fchdk-management-card {
    display: block;
    overflow: hidden;
    border: 1px solid #e1e9e4;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 32px rgba(20, 68, 43, 0.055);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fchdk-management-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 112, 68, 0.20);
    box-shadow: 0 18px 42px rgba(20, 68, 43, 0.11);
}


/* Regular management portrait area */

.fchdk-management-card .fchdk-management-photo {
    height: 350px;
    min-height: 350px;
}


/* Regular management photographs remain completely visible */

.fchdk-management-card .fchdk-management-photo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.fchdk-management-card-body {
    padding: 23px 22px 25px;
}

.fchdk-management-card-body > span {
    display: block;
    margin-bottom: 7px;
    color: #117044;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fchdk-management-card-body h3 {
    min-height: 30px;
    margin: 0 0 8px;
    color: #163f2d;
    font-size: 1.05rem;
    line-height: 1.4;
}

.fchdk-management-card-body small {
    color: #7a8780;
    font-size: 0.82rem;
}


/* =========================================================
   COURSES / PROGRAMMES
   ========================================================= */

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

.fchdk-course-card {
    position: relative;
    display: flex;
    min-height: 335px;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #e1e9e4;
    border-radius: 22px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 34px rgba(20, 68, 43, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fchdk-course-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -65px;
    bottom: -65px;
    border-radius: 50%;
    background: rgba(230, 184, 0, 0.10);
    transition: transform 0.3s ease;
}

.fchdk-course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(17, 112, 68, 0.25);
    box-shadow: 0 20px 48px rgba(20, 68, 43, 0.10);
}

.fchdk-course-card:hover::after {
    transform: scale(1.5);
}

.fchdk-course-icon {
    display: flex;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eef7f1;
    color: #117044;
    font-size: 1.25rem;
}

.fchdk-course-level {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7d6;
    color: #806600;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fchdk-course-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 13px;
    color: #153f2d;
    font-size: 1.2rem;
    line-height: 1.4;
}

.fchdk-course-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #6b7871;
    font-size: 0.92rem;
    line-height: 1.7;
}

.fchdk-course-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: auto;
    padding-top: 25px;
    align-items: center;
    gap: 9px;
    color: #117044;
    font-size: 0.82rem;
    font-weight: 800;
}

.fchdk-course-arrow i {
    transition: transform 0.2s ease;
}

.fchdk-course-card:hover .fchdk-course-arrow i {
    transform: translateX(4px);
}


/* =========================================================
   LOCATION / GREEN BAND
   ========================================================= */

.fchdk-section-green {
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #0a5336,
            #117044
        );
    color: #fff;
}

.fchdk-section-green::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: -220px;
    border-radius: 50%;
    background: rgba(255, 213, 79, 0.08);
}

.fchdk-about-location {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.fchdk-section-green .fchdk-eyebrow {
    color: #ffd54f;
}

.fchdk-about-location h2 {
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.fchdk-about-location > div:first-child > p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.fchdk-location-address {
    display: flex;
    margin-top: 25px;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
}

.fchdk-location-address i {
    margin-top: 4px;
    color: #ffd54f;
}

.fchdk-about-location-card {
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.fchdk-about-location-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fchdk-about-location-card strong {
    display: block;
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.5;
}

.fchdk-about-location-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffd54f;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   EXPLORE LINKS
   ========================================================= */

.fchdk-about-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fchdk-about-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 90px;
    padding: 16px;
    align-items: center;
    gap: 13px;
    border: 1px solid #e1e9e4;
    border-radius: 16px;
    background: #fff;
    color: #173f2e;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.fchdk-about-link:hover {
    transform: translateY(-3px);
    border-color: rgba(17, 112, 68, 0.22);
    box-shadow: 0 12px 28px rgba(20, 68, 43, 0.08);
}

.fchdk-about-link > span {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef7f1;
    color: #117044;
}

.fchdk-about-link strong {
    font-size: 0.88rem;
    line-height: 1.35;
}

.fchdk-about-link > i {
    color: #117044;
    font-size: 0.78rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

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

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

    .fchdk-about-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MEDIUM TABLET
   ========================================================= */

@media (max-width: 900px) {

    .fchdk-about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fchdk-about-intro-card {
        max-width: 520px;
    }

    .fchdk-about-direction {
        grid-template-columns: 1fr;
    }

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

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

    /* Featured Provost */
    .fchdk-management-photo-large {
        min-height: 530px;
        max-height: 620px;
    }

    .fchdk-management-photo-large img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center center;
    }

    .fchdk-management-content {
        padding: 42px;
    }

    .fchdk-about-location {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .fchdk-page-about .fchdk-page-hero {
        padding: 68px 0 62px;
    }

    .fchdk-page-about .fchdk-page-hero h1 {
        font-size: 2.25rem;
    }

    .fchdk-page-about .fchdk-page-hero p {
        font-size: 1rem;
    }

    .fchdk-page-about .fchdk-section-heading {
        margin-bottom: 34px;
    }

    .fchdk-about-direction-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px;
    }

    .fchdk-mandate-grid {
        grid-template-columns: 1fr;
    }

    .fchdk-mandate-card {
        min-height: auto;
    }

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

    /* Regular management portraits */
    .fchdk-management-card .fchdk-management-photo {
        height: 380px;
        min-height: 380px;
    }

    .fchdk-management-card .fchdk-management-photo img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    /* Featured Provost */
    .fchdk-management-photo-large {
        min-height: 440px;
        max-height: 520px;
    }

    .fchdk-management-photo-large img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center center;
    }

    .fchdk-management-content {
        padding: 32px 26px;
    }

    .fchdk-management-content h3 {
        font-size: 2rem;
    }

    .fchdk-course-grid {
        grid-template-columns: 1fr;
    }

    .fchdk-course-card {
        min-height: 300px;
    }

    .fchdk-about-links {
        grid-template-columns: 1fr;
    }

    .fchdk-about-location-card {
        padding: 28px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .fchdk-page-about .fchdk-page-hero h1 {
        font-size: 2rem;
    }

    .fchdk-about-intro-content h2 {
        font-size: 1.9rem;
    }

    .fchdk-page-about .fchdk-section-heading h2 {
        font-size: 1.9rem;
    }

    /* Regular management portraits */
    .fchdk-management-card .fchdk-management-photo {
        height: 320px;
        min-height: 320px;
    }

    /* Featured Provost */
    .fchdk-management-photo-large {
        min-height: 390px;
    }

    .fchdk-course-card {
        padding: 25px;
    }

}