/* OIES Career + Quote CTA Elementor Widget */

.oies-dual-cta,
.oies-dual-cta * {
    box-sizing: border-box;
}

.oies-dual-cta {
    --navy: #062958;
    --navy-dark: #03234d;
    --orange: #ff6b00;
    --text: #101828;
    --white: #ffffff;

    width: 100%;
    background: #ffffff;
    padding: 20px 25px 35px;
}

.oies-dual-cta-container {
    width: 96%;
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.oies-cta-card {
    position: relative;
    min-height: 330px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    isolation: isolate;
}

/* CAREER CARD */
.oies-career-card {
    background: linear-gradient(90deg, #042654 0%, #062b5d 48%, #072d60 100%);
}

.oies-career-content {
    width: 48%;
    position: relative;
    z-index: 2;
    padding: 42px 10px 38px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.oies-career-card h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 31px;
    line-height: 1.18;
    font-weight: 600;
}

.oies-career-card p {
    margin: 0 0 27px;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.8;
    max-width: 390px;
}

.oies-career-image {
    width: 52%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.oies-career-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.oies-career-image:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: -45px;
    width: 110px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #062a5a 0%,
        rgba(6,42,90,.7) 40%,
        transparent 100%
    );
}

/* QUOTE CARD */
.oies-quote-card {
    background: linear-gradient(110deg, #ffffff 0%, #ffffff 52%, #f5f7fa 100%);
    border: 1px solid #edf0f3;
}

.oies-quote-content {
    width: 48%;
    position: relative;
    z-index: 2;
    padding: 42px 10px 38px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.oies-quote-card h2 {
    margin: 0 0 15px;
    color: var(--text);
    font-size: 31px;
    line-height: 1.18;
    font-weight: 600;
}

.oies-quote-card p {
    margin: 0 0 27px;
    color: #3f4650;
    font-size: 14px;
    line-height: 1.8;
    max-width: 390px;
}

.oies-quote-image {
    width: 52%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.oies-quote-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.oies-quote-image:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: -45px;
    width: 110px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255,255,255,.78) 45%,
        transparent 100%
    );
}

/* BUTTON */
.oies-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    gap: 15px;
    padding: 14px 21px;
    background: var(--orange);
    color: #ffffff;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.oies-cta-btn:hover {
    color: #ffffff;
    background: #e95f00;
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(255,107,0,.22);
}

.oies-cta-btn .arrow {
    font-size: 18px;
    line-height: 1;
}

/* TABLET */
@media (max-width: 1050px) {
    .oies-dual-cta-container {
        grid-template-columns: 1fr;
    }

    .oies-cta-card {
        min-height: 340px;
    }

    .oies-career-content,
    .oies-quote-content {
        width: 52%;
    }

    .oies-career-image,
    .oies-quote-image {
        width: 50%;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .oies-dual-cta {
        padding: 15px 14px 25px;
    }

    .oies-dual-cta-container {
        width: 100%;
        gap: 15px;
        grid-template-columns: 1fr !important;
    }

    .oies-cta-card {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .oies-career-content,
    .oies-quote-content {
        width: 100% !important;
        padding: 30px 25px 25px;
    }

    .oies-career-card h2,
    .oies-quote-card h2 {
        font-size: 27px;
    }

    .oies-career-card p,
    .oies-quote-card p {
        font-size: 13px;
        line-height: 1.7;
    }

    .oies-career-image,
    .oies-quote-image {
        width: 100% !important;
        height: 260px;
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
    }

    .oies-career-image:before,
    .oies-quote-image:before {
        display: none;
    }

    .oies-career-image img,
    .oies-quote-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 450px) {
    .oies-career-card h2,
    .oies-quote-card h2 {
        font-size: 24px;
    }

    .oies-career-image,
    .oies-quote-image {
        height: 220px;
    }

    .oies-cta-btn {
        padding: 13px 17px;
        font-size: 11px;
    }
}
