/* ================================================
   TEAM GLAM — Editorial Split Hero (Multi-CTA) Widget
   ================================================ */

.tg-esh-wrap {
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
}

.tg-esh-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 75vh;
    align-items: stretch;
    width: 100%;
}

/* ── Left Content Column ── */
.tg-esh-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 100px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.tg-esh-content {
    max-width: 540px;
    width: 100%;
}

.tg-esh-eyebrow {
    display: block;
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 16px;
}

.tg-esh-heading {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    color: #111111;
    margin: 0 0 28px;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.tg-esh-desc {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: var(--tg-body-font-size, 18px) !important;
    line-height: 1.65;
    color: #444444;
    margin-bottom: 40px;
}

/* ── Multi-CTA Buttons Container ── */
.tg-esh-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.tg-esh-btn {
    display: inline-block;
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 34px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tg-esh-btn--solid_dark {
    background-color: #000000;
    color: #ffffff;
}

.tg-esh-btn--solid_dark:hover {
    background-color: #333333;
    color: #ffffff;
}

.tg-esh-btn--outline {
    background-color: transparent;
    color: #111111;
    border: 1px solid #111111;
}

.tg-esh-btn--outline:hover {
    background-color: #111111;
    color: #ffffff;
}

.tg-esh-btn--solid_light {
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #e0e0e0;
}

.tg-esh-btn--solid_light:hover {
    background-color: #f5f5f5;
    color: #111111;
}

/* ── Flipped Column Layout (Image Left / Text Right) ── */
.tg-esh-grid--flipped .tg-esh-left {
    order: 2;
    padding: 80px 100px 80px 80px;
}

.tg-esh-grid--flipped .tg-esh-right {
    order: 1;
}

/* ── Right Image Column ── */
.tg-esh-right {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
}

.tg-esh-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .tg-esh-left {
        padding: 60px 48px;
    }
    .tg-esh-grid--flipped .tg-esh-left {
        padding: 60px 48px;
    }
}

@media (max-width: 1024px) {
    .tg-esh-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .tg-esh-grid--mobile-text-first .tg-esh-left {
        order: 1 !important;
    }
    .tg-esh-grid--mobile-text-first .tg-esh-right {
        order: 2 !important;
    }
    .tg-esh-grid--mobile-image-first .tg-esh-left {
        order: 2 !important;
    }
    .tg-esh-grid--mobile-image-first .tg-esh-right {
        order: 1 !important;
    }
    .tg-esh-left {
        padding: 60px 30px;
    }
    .tg-esh-right {
        height: auto;
        min-height: 380px;
        max-height: 520px;
    }
}

@media (max-width: 767px) {
    .tg-esh-wrap {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .tg-esh-grid {
        grid-template-columns: 1fr !important;
    }
    .tg-esh-left {
        padding: 36px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tg-esh-right {
        height: auto !important;
        min-height: 280px !important;
        max-height: 440px !important;
        width: 100% !important;
    }
    .tg-esh-heading {
        font-size: clamp(32px, 8vw, 44px) !important;
        margin-bottom: 20px !important;
        word-break: break-word !important;
    }
    .tg-esh-desc {
        margin-bottom: 28px !important;
    }
    .tg-esh-buttons {
        gap: 12px !important;
    }
    .tg-esh-right {
        height: 420px !important;
        width: 100% !important;
    }
}
