
/* ============================================================
   UNIGOM — MISSION PAGE
   Professional Compact Layout
   Original Content Design Preserved
   ============================================================ */

:root {
    --mission-bg: #f5f7fa;
    --mission-soft: #eef2f6;
    --mission-panel: #ffffff;
    --mission-border: #dce3ea;

    --mission-text: #243447;
    --mission-muted: #647384;
    --mission-heading: #0b2745;

    --mission-blue: #12345b;
    --mission-blue-dark: #0b2745;
    --mission-blue-deep: #071b31;

    --mission-gold: #c9a227;
    --mission-gold-light: #f1e4b5;

    --mission-red: #b5222b;
    --mission-red-dark: #8e1b22;

    --mission-shadow: 0 18px 45px rgba(7, 27, 49, 0.09);
    --mission-shadow-soft: 0 8px 25px rgba(7, 27, 49, 0.06);
}


/* ============================================================
   PAGE BASE
   ============================================================ */

.mission-page {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    background: var(--mission-bg);
    color: var(--mission-text);

    overflow-x: clip;
    box-sizing: border-box;
}

.mission-page *,
.mission-page *::before,
.mission-page *::after {
    box-sizing: border-box;
}


/* ============================================================
   MAIN PAGE AREA
   ============================================================ */

.mission-main {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 160px);

    margin-top:50px;
    padding: 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            var(--mission-bg) 300px,
            var(--mission-bg) 100%
        );
}


/* ============================================================
   TOP ACCENT
   ============================================================ */

.mission-top-bar {
    position: relative;
    display: block;

    width: 100%;
    height: 4px;
    margin: 0;
    padding: 0;

    background:
        linear-gradient(
            90deg,
            var(--mission-blue-deep) 0%,
            var(--mission-blue) 68%,
            var(--mission-gold) 100%
        );

    box-shadow: 0 2px 8px rgba(7, 27, 49, 0.08);
}


/* ============================================================
   MAIN SECTION
   Compact width and balanced columns
   ============================================================ */

.mission-section {
    width: min(1040px, calc(100% - 56px));
    max-width: 1040px;

    margin: 0 auto;
    padding: 38px 0 48px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.12fr);

    align-items: center;
    gap: 30px;

    box-sizing: border-box;
}


/* ============================================================
   IMAGE AREA
   ============================================================ */

.mission-image-wrap {
    position: relative;

    width: 100%;
    height: 350px;
    min-height: 350px;
    max-height: 350px;

    overflow: hidden;

    border-radius: 12px;
    background: var(--mission-blue-deep);
    border: 1px solid rgba(7, 27, 49, 0.08);

    box-shadow: var(--mission-shadow);
}

.mission-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 27, 49, 0.02) 20%,
            rgba(7, 27, 49, 0.13) 100%
        );

    pointer-events: none;
}

.mission-image-wrap img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;

    object-fit: cover;
    object-position: center;

    filter: saturate(0.94) contrast(1.02);

    transition: transform 0.45s ease;
}

.mission-image-wrap:hover img {
    transform: scale(1.02);
}


/* ============================================================
   CONTENT AREA
   ============================================================ */

.mission-content {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 4px 0;
}


/* ============================================================
   PAGE TITLE
   ============================================================ */

.mission-content h1 {
    position: relative;

    margin: 0 0 12px;
    padding-left: 16px;

    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.035em;
    font-weight: 800;

    color: var(--mission-heading);
}

.mission-content h1::before {
    content: "";
    position: absolute;

    left: 0;
    top: 4px;

    width: 4px;
    height: 78%;

    border-radius: 4px;
    background: var(--mission-gold);
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.mission-intro {
    width: 100%;
    max-width: 100%;

    margin: 0 0 18px;

    color: var(--mission-muted);

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.7;

    text-align: justify;
    text-justify: inter-word;
}


/* ============================================================
   TABS
   Original design preserved
   ============================================================ */

.mission-tabs {
    width: 100%;
    max-width: 100%;

    margin: 0 0 13px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;

    background: var(--mission-panel);

    border: 1px solid var(--mission-border);
    border-radius: 10px;

    overflow: hidden;

    box-shadow: var(--mission-shadow-soft);
}

.mission-tab {
    position: relative;
    appearance: none;

    min-width: 0;
    min-height: 56px;

    padding: 11px 10px;

    border: 0;
    border-right: 1px solid var(--mission-border);

    background: #ffffff;
    color: var(--mission-muted);

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;

    text-align: center;

    cursor: pointer;

    transition:
        color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.mission-tab:last-child {
    border-right: 0;
}

.mission-tab:hover {
    color: var(--mission-blue);
    background: #f8fafc;
}

.mission-tab:focus-visible {
    outline: 3px solid rgba(201, 162, 39, 0.28);
    outline-offset: -3px;
}

.mission-tab.active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--mission-blue),
            var(--mission-blue-dark)
        );

    box-shadow: inset 0 -3px 0 var(--mission-gold);
}


/* ============================================================
   CONTENT PANEL
   Original card design preserved
   ============================================================ */

.mission-panel {
    width: 100%;
    max-width: 100%;

    padding: 21px 23px 20px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--mission-border);
    border-radius: 10px;

    box-shadow: var(--mission-shadow-soft);
}


/* ============================================================
   PANEL HEADING
   ============================================================ */

.mission-panel h2 {
    margin: 0 0 13px;

    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 750;

    color: var(--mission-heading);
}

.mission-panel h2::after {
    content: "";
    display: block;

    width: 42px;
    height: 3px;

    margin-top: 9px;

    border-radius: 3px;
    background: var(--mission-gold);
}


/* ============================================================
   PANEL PARAGRAPHS
   ============================================================ */

.mission-panel p {
    margin: 0 0 13px;

    color: var(--mission-muted);

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.7;

    text-align: justify;
    text-justify: inter-word;
}


/* ============================================================
   PANEL LIST
   Original icon design preserved
   ============================================================ */

.mission-panel ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: grid;
    gap: 8px;
}

.mission-panel li {
    display: flex;
    align-items: flex-start;

    gap: 11px;
    padding: 3px 0;

    color: var(--mission-text);

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.6;

    text-align: justify;
    text-justify: inter-word;
}

.mission-panel li span {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    margin-top: 2px;

    border-radius: 50%;

    background: rgba(201, 162, 39, 0.13);
    color: var(--mission-blue);

    font-size: 12px;
    font-weight: 800;
}


/* ============================================================
   LAPTOP / TABLET
   ============================================================ */

@media (max-width: 1150px) {

    .mission-section {
        width: min(960px, calc(100% - 48px));
        max-width: 960px;

        grid-template-columns:
            minmax(0, 0.88fr)
            minmax(0, 1.12fr);

        gap: 28px;

        padding-top: 32px;
        padding-bottom: 44px;
    }

    .mission-image-wrap {
        height: 330px;
        min-height: 330px;
        max-height: 330px;
    }

    .mission-content h1 {
        font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    }

    .mission-intro {
        font-size: 11.5px;
    }

    .mission-tab {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 10.5px;
    }

    .mission-panel {
        padding: 19px 20px;
    }

    .mission-panel h2 {
        font-size: 17px;
    }

    .mission-panel p,
    .mission-panel li {
        font-size: 11.5px;
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .mission-section {
        width: min(700px, calc(100% - 40px));
        max-width: 700px;

        grid-template-columns: 1fr;

        gap: 24px;

        padding-top: 30px;
        padding-bottom: 42px;
    }

    .mission-image-wrap {
        width: 100%;

        height: 310px;
        min-height: 310px;
        max-height: 310px;
    }

    .mission-content {
        padding: 0;
    }

    .mission-content h1 {
        max-width: 100%;
        font-size: 1.65rem;
    }

    .mission-intro {
        max-width: 100%;
        font-size: 12px;
    }

    .mission-tabs,
    .mission-panel {
        width: 100%;
        max-width: 100%;
    }

    .mission-tab {
        font-size: 11px;
    }

    .mission-panel h2 {
        font-size: 18px;
    }

    .mission-panel p,
    .mission-panel li {
        font-size: 12px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .mission-main {
        padding-top: 0;
    }

    .mission-top-bar {
        height: 4px;
    }

    .mission-section {
        width: calc(100% - 30px);
        max-width: 560px;

        grid-template-columns: 1fr;

        gap: 20px;

        padding-top: 25px;
        padding-bottom: 36px;
    }

    .mission-image-wrap {
        width: 100%;

        height: 250px;
        min-height: 250px;
        max-height: 250px;

        border-radius: 10px;
    }

    .mission-image-wrap img {
        width: 100%;
        height: 100%;

        min-height: 0;
        max-height: none;
    }

    .mission-content h1 {
        margin-bottom: 10px;
        padding-left: 14px;

        font-size: clamp(1.4rem, 5.2vw, 1.7rem);
        line-height: 1.2;
    }

    .mission-content h1::before {
        width: 3px;
        height: 72%;
    }

    .mission-intro {
        margin-bottom: 16px;

        font-size: 11.5px;
        line-height: 1.65;
    }

    /* Original tabs adapted for narrow screens */
    .mission-tabs {
        grid-template-columns: 1fr;

        margin-bottom: 12px;

        border-radius: 9px;
    }

    .mission-tab {
        min-height: auto;

        padding: 11px 13px;

        border-right: 0;
        border-bottom: 1px solid var(--mission-border);

        font-size: 11px;
    }

    .mission-tab:last-child {
        border-bottom: 0;
    }

    /* Original content card appearance */
    .mission-panel {
        padding: 19px 16px 18px;
        border-radius: 9px;
    }

    .mission-panel h2 {
        font-size: 16px;
    }

    .mission-panel p {
        font-size: 11.5px;
        line-height: 1.65;
    }

    .mission-panel li {
        font-size: 11.5px;
        line-height: 1.6;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .mission-section {
        width: calc(100% - 24px);
        max-width: 380px;

        padding-top: 21px;
        padding-bottom: 30px;

        gap: 17px;
    }

    .mission-image-wrap {
        height: 215px;
        min-height: 215px;
        max-height: 215px;
    }

    .mission-content h1 {
        font-size: 1.4rem;
    }

    .mission-intro {
        font-size: 11px;
    }

    .mission-panel {
        padding: 17px 14px 16px;
    }

    .mission-panel h2 {
        font-size: 15px;
    }

    .mission-panel p {
        font-size: 11px;
    }

    .mission-panel li {
        font-size: 11px;
    }
}


/* ============================================================
   HEADER COMPATIBILITY
   ============================================================ */

/*
   Do not redefine the shared header's colors, dimensions,
   dropdowns, or navigation layout here.

   If the shared header uses position: fixed, its own CSS
   should provide the appropriate space above the page.
   The Mission page starts with its accent bar and controlled
   section margin below the header.
*/

.mission-page header {
    max-width: 100%;
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .mission-image-wrap img,
    .mission-tab {
        transition: none;
    }

    .mission-image-wrap:hover img {
        transform: none;
    }
}