/* ================================================
   TEAM GLAM — Dual Split CTA Banners Widget
   ================================================ */

.tg-dcb-wrap {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.tg-dcb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0;
    align-items: stretch;
}

.tg-dcb-card {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

/* Background image with hover zoom */
.tg-dcb-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    z-index: 0;
}

/* Greyscale option */
.tg-dcb-wrap.is-greyscale .tg-dcb-bg {
    filter: grayscale(100%);
}

.tg-dcb-card:hover .tg-dcb-bg {
    transform: scale(1.06);
}

.tg-dcb-wrap.is-greyscale .tg-dcb-card:hover .tg-dcb-bg {
    filter: grayscale(100%) contrast(105%);
}

/* Dark overlay */
.tg-dcb-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
    transition: background-color 0.4s ease;
}

.tg-dcb-card:hover .tg-dcb-overlay {
    background-color: rgba(0, 0, 0, 0.35);
}

/* Content Container */
.tg-dcb-content {
    position: relative;
    z-index: 2;
    padding: 40px 32px;
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.tg-dcb-title {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(32px, 3.5vw, 54px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.tg-dcb-btn-wrap {
    display: block;
    width: 100%;
    text-align: center;
}

.tg-dcb-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;
    color: #ffffff;
    background-color: #000000;
    padding: 14px 38px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tg-dcb-btn:hover {
    background-color: #222222;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tg-dcb-card {
        height: 55vh;
        min-height: 440px;
    }
}

@media (max-width: 767px) {
    .tg-dcb-grid {
        grid-template-columns: 1fr !important;
    }
    .tg-dcb-card {
        height: 50vh !important;
        min-height: 380px !important;
        padding: 32px 20px !important;
    }
    .tg-dcb-title {
        font-size: clamp(28px, 7vw, 40px) !important;
        margin-bottom: 20px !important;
    }
}
