/* --- CEO Message Page Styles --- */

.page-ceo {
    background-color: #fff;
}

/* --- Section General --- */
.career-section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.career-section.has-watermark::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 800px;
    height: 800px;
    background-image: url('../images/logo_f.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.02;
    z-index: 0;
    pointer-events: none;
}

/* --- Background Text --- */
.cp-bg-text {
    position: absolute;
    top: 60px;
    right: 5vw;
    font-size: clamp(60px, 15vw, 120px);
    font-family: var(--font-eng);
    color: #F8F7F5;
    z-index: 1;
    pointer-events: none;
    line-height: 0.8;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Main Message (Editorial Grid) --- */
.ceo-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    /* Text wider than image */
    gap: 100px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.ceo-statement {
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

.cp-lead {
    font-family: var(--font-serif);
    font-size: clamp(26px, 4vw, 42px);
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.cp-text p {
    margin-bottom: 2em;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-sub-text);
}

/* --- Final Statement & Signature --- */
.ceo-final-statement {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

.ceo-final-statement p {
    font-family: var(--font-serif);
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--color-text);
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 0;
}

.ceo-signature {
    margin-top: 40px;
    text-align: right;
    position: relative;
    z-index: 10;
}

.ceo-signature-role {
    font-family: var(--font-serif);
    font-size: 16px;
    color: #188136;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 15px !important;
}

.ceo-signature-name {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 30px);
    color: #188136;
    font-weight: 600;
    margin: 0 !important;
}

/* --- Portraits / Visuals --- */
.ceo-visual-wrap {
    position: sticky;
    top: 140px;
}

.ceo-visual-outer {
    position: relative;
    padding: 0;
}

.ceo-visual-outer::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    border-top: 2px solid #ae915c;
    border-right: 2px solid #ae915c;
    z-index: 5;
}

.ceo-visual-outer::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid #ae915c;
    border-left: 2px solid #ae915c;
    z-index: 5;
}

.ceo-portrait {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

/* --- CONTACT --- */
.cp-contact-heading {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--color-text);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.cp-contact-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-sub-text);
    margin-bottom: 60px;
    text-align: center;
}

.cp-contact-cta {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* --- Responsive --- */
@media (max-width: 1024px) {
    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 5vw;
    }

    .ceo-visual-wrap {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    .career-section {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .career-section {
        padding: 80px 0;
    }

    .cp-lead {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .ceo-final-statement p {
        font-size: 16px;
    }

    .ceo-signature {
        text-align: left;
    }

    .ceo-visual-outer::before,
    .ceo-visual-outer::after {
        width: 40px;
        height: 40px;
    }

     .ceo-visual-wrap {
        max-width: 270px;
    }
}