/*
 * OGC Team Training Banner — v27
 * Targets the existing classes in app/views/home.php.
 * Append this file AFTER the existing homepage styles.
 */

/* Full-bleed section canvas */
.ogc-home .oh-team-cta.oh-team-cta--v6 {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #edf8f4;
}

/* Remove the old inset-card treatment and span the viewport */
.ogc-home .oh-team-cta--v6 .oh-team-cta-inner--v6 {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    column-gap: clamp(48px, 7vw, 120px);
    width: 100% !important;
    max-width: none !important;
    min-height: 300px;
    margin: 0 !important;
    padding: clamp(48px, 5.2vw, 82px) clamp(24px, 6.6vw, 126px) !important;
    box-sizing: border-box;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(112deg, #174650 0%, #1b5657 54%, #24695b 100%) !important;
    box-shadow: none !important;
}

/* Left-hand message: clear high contrast */
.ogc-home .oh-team-cta-copy--v6 {
    min-width: 0;
    max-width: 760px;
}

.ogc-home .oh-team-cta-copy--v6 .oh-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: #8fe4cb !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .19em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ogc-home .oh-team-cta-copy--v6 h2 {
    max-width: 760px;
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(32px, 3.05vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.ogc-home .oh-team-cta-copy--v6 p {
    max-width: 620px;
    margin: 18px 0 0;
    color: #d5e9e4 !important;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.7;
}

/* Right-hand action: separate it without crowding */
.ogc-home .oh-team-cta-action--v6 {
    min-width: 0;
    padding: 8px 0 8px clamp(32px, 4.2vw, 76px);
    border-left: 1px solid rgba(208, 245, 233, .24);
}

.ogc-home .oh-team-cta-action-kicker--v6 {
    display: block;
    margin: 0;
    color: #a6ead6 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ogc-home .oh-team-cta-action-note--v6 {
    max-width: 430px;
    margin: 22px 0 0 !important;
    color: #d0e5df !important;
    font-size: 16px;
    line-height: 1.75;
}

/* CTA button: clear separation from the supporting text */
.ogc-home .oh-team-cta-button--v6 {
    display: inline-flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 260px;
    min-height: 58px;
    margin-top: 26px !important;
    padding: 16px 22px !important;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 10px !important;
    background: #48c99f !important;
    color: #083b35 !important;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(3, 29, 35, .16);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ogc-home .oh-team-cta-button--v6 span,
.ogc-home .oh-team-cta-button--v6 i {
    color: #083b35 !important;
}

.ogc-home .oh-team-cta-button--v6:hover {
    background: #65d8b2 !important;
    color: #062e2c !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(3, 29, 35, .2);
}

.ogc-home .oh-team-cta-button--v6:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* Tablet: keep a balanced two-column composition */
@media (max-width: 960px) {
    .ogc-home .oh-team-cta--v6 .oh-team-cta-inner--v6 {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
        column-gap: 36px;
        padding-inline: 32px !important;
    }

    .ogc-home .oh-team-cta-action--v6 {
        padding-left: 30px;
    }
}

/* Mobile: stack the message and action, avoid a cramped divider */
@media (max-width: 700px) {
    .ogc-home .oh-team-cta--v6 .oh-team-cta-inner--v6 {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 34px;
        min-height: 0;
        padding: 42px 22px !important;
    }

    .ogc-home .oh-team-cta-copy--v6 h2 {
        max-width: 100%;
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.14;
    }

    .ogc-home .oh-team-cta-action--v6 {
        padding: 28px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(208, 245, 233, .24);
    }

    .ogc-home .oh-team-cta-action-note--v6 {
        margin-top: 14px !important;
        font-size: 15px;
    }

    .ogc-home .oh-team-cta-button--v6 {
        width: 100%;
        min-width: 0;
        margin-top: 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ogc-home .oh-team-cta-button--v6 {
        transition: none;
    }
}
