/* =====================================================
   DUTECH SYSTEMS - MESSAGE FROM THE CEO
   ===================================================== */

.ceo-message-page {
    background: #ffffff;
}

/* HERO */
.ceo-message-page .ceo-message-hero {
    position: relative;
    min-height: 400px;
    background-color: #082951;
    background-image:
        linear-gradient(90deg,
            rgba(5, 28, 63, .58) 0%,
            rgba(5, 28, 63, .27) 50%,
            rgba(5, 28, 63, .04) 100%),
        url('../img/leadership/dutech-ceo.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ceo-message-page .ceo-message-hero .dutech-service-hero-content {
    min-height: 400px;
    display: flex;
    align-items: center;
}

.ceo-message-page .ceo-hero-copy {
    max-width: 650px;
}

.ceo-message-page .ceo-message-hero h1 {
    color: #ffffff;
    font-size: 48px;
    line-height: 1.15;
    margin: 0 0 22px;
}

.ceo-message-page .ceo-message-hero .dutech-service-hero-lead {
    color: #edf4fc;
    max-width: 560px;
    font-size: 19px;
    line-height: 1.65;
    margin: 0;
}

/* MAIN CONTENT */
.ceo-message-section {
    padding: 90px 0 100px;
    background: #ffffff;
}

.ceo-message-section .row {
    align-items: flex-start;
}

/* CEO PROFILE */
.ceo-profile {
    background: #f7f9fc;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    padding: 32px;
    text-align: center;
}

.ceo-profile-image {
    display: block;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    margin: 0 auto 26px;
    border-radius: 12px;
}

.ceo-profile-details h2 {
    font-size: 23px;
    font-weight: 700;
    color: #182344;
    margin: 0 0 8px;
}

.ceo-profile-details p {
    font-size: 15px;
    font-weight: 700;
    color: #29398b;
    margin: 0 0 4px;
}

.ceo-profile-details span {
    font-size: 14px;
    color: #667286;
}

/* CEO MESSAGE */
.ceo-message-content {
    padding-left: 36px;
}

.ceo-message-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1999d0;
    margin-bottom: 16px;
}

.ceo-message-content h2 {
    color: #182344;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 30px;
}

.ceo-message-content p {
    color: #596b7f;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 23px;
}

.ceo-message-content strong {
    color: #29398b;
}

/* SIGNATURE AREA */
.ceo-signoff {
    padding-top: 15px;
    margin-top: 12px;
}

.ceo-signature-slot:empty {
    display: none;
}

.ceo-signoff > strong {
    display: block;
    font-size: 20px;
    color: #182344;
    margin-bottom: 6px;
}

.ceo-signoff > span {
    display: block;
    font-size: 14px;
    color: #697587;
    line-height: 1.65;
}

/* TABLET */
@media (max-width: 991px) {
    .ceo-message-section {
        padding: 65px 0;
    }

    .ceo-message-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .ceo-message-content h2 {
        font-size: 32px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .ceo-message-page .ceo-message-hero,
    .ceo-message-page .ceo-message-hero .dutech-service-hero-content {
        min-height: 340px;
    }

    .ceo-message-page .ceo-message-hero h1 {
        font-size: 34px;
    }

    .ceo-message-page .ceo-message-hero .dutech-service-hero-lead {
        font-size: 16px;
    }

    .ceo-message-section {
        padding: 50px 0 65px;
    }

    .ceo-profile {
        padding: 25px;
    }

    .ceo-message-content h2 {
        font-size: 29px;
    }

    .ceo-message-content p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* CEO MOBILE TEXT REFINEMENT */
@media (max-width: 767px) {
    .ceo-message-page .ceo-hero-copy {
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
    }

    .ceo-message-page .ceo-message-hero h1 {
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.2;
    }

    .ceo-message-page .ceo-message-hero .dutech-service-hero-lead {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }
}

/* CEO MOBILE TEXT WIDTH FIX */
@media (max-width: 767px) {
    .ceo-message-page .ceo-hero-copy {
        width: 100%;
        max-width: 100%;
        padding-right: 24px;
    }

    .ceo-message-page .ceo-message-hero h1 {
        font-size: clamp(26px, 6.5vw, 32px);
        max-width: 100%;
    }

    .ceo-message-page .ceo-message-hero .dutech-service-hero-lead {
        max-width: 330px;
        white-space: normal;
        font-size: 15px;
        line-height: 1.6;
    }
}

/* DUTECH CEO AUTHENTIC SIGNATURE */
.ceo-message-page .ceo-signoff .ceo-signature-image {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin: 0 0 -10px -37px;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.5) brightness(1.12);
}

@media (max-width: 767px) {
    .ceo-message-page .ceo-signoff .ceo-signature-image {
        width: 200px;
    }
}
