/* ================================================
   TEAM GLAM — Split Hero
   Two media blocks in opposite corners, floating
   content area between them.
   ================================================ */

.tg-split-hero {
    position: relative;
    width: 100%;
    height: 760px;
    overflow: hidden;
    background: #ffffff;
}

/* ── Media blocks ────────────────────────────── */
.tg-split-media {
    position: absolute;
    overflow: hidden;
}

/* Left media: bottom-left corner */
.tg-split-media--left {
    left:   0;
    bottom: 0;
    width:  40%;
    height: 44%;
}

/* Right media: top-right corner */
.tg-split-media--right {
    right: 0;
    top:   0;
    width:  44%;
    height: 55%;
}

.tg-split-media img,
.tg-split-media video {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
}

/* ── Content overlay ─────────────────────────── */
.tg-split-content {
    position:  absolute;
    top:       50%;
    left:      50%;
    transform: translate(-50%, -50%);
    z-index:   10;
    max-width: 380px;
    width:     100%;
    text-align: center;
}

/* ── Heading ──────────────────────────────────── */
.tg-split-heading {
    font-family:   'beaufort-pro', serif;
    font-size:     clamp(40px, 5vw, 76px);
    line-height:   1.1;
    font-weight:   400;
    color:         #000000;
    margin:        0 0 20px;
    white-space:   pre-line;
}

/* ── Subtext ──────────────────────────────────── */
body .tg-split-sub,
.tg-split-sub {
    font-family: 'brandon-grotesque', sans-serif;
    font-size:   var(--tg-body-font-size, 18px) !important;
    line-height: 1.65;
    color:       #333333;
    margin:      0 0 32px;
}

/* ── CTA Button ───────────────────────────────── */
.tg-split-cta {
    display:         inline-block;
    background:      #1a1a1a;
    color:           #ffffff;
    padding:         14px 36px;
    font-family:     'brandon-grotesque', sans-serif;
    font-size:       11px;
    font-weight:     400;
    letter-spacing:  0.10em;
    text-transform:  uppercase;
    text-decoration: none;
    transition:      background 0.22s ease, color 0.22s ease;
}

.tg-split-cta:hover,
.tg-split-cta:focus {
    background: #383838;
    color:      #ffffff;
}

/* ── Mobile: stack vertically ─────────────────── */
@media (max-width: 767px) {
    .tg-split-hero {
        height:         auto !important;
        display:        flex;
        flex-direction: column;
        gap:            0;
    }

    /* Right image first (top), then content, then left video */
    .tg-split-media--right {
        order:    1;
        position: relative !important;
        inset:    auto !important;
        width:    100% !important;
        height:   260px !important;
    }

    .tg-split-content {
        order:     2;
        position:  relative !important;
        top:       auto !important;
        left:      auto !important;
        transform: none !important;
        max-width: 100% !important;
        padding:   48px 24px;
        text-align: center !important;
    }

    .tg-split-media--left {
        order:    3;
        position: relative !important;
        inset:    auto !important;
        width:    100% !important;
        height:   260px !important;
    }

    .tg-split-heading {
        font-size: clamp(32px, 10vw, 48px) !important;
    }
}
