/* ================================================
   TEAM GLAM — Services Accordion & Card Widget
   ================================================ */

.tg-sac-wrap {
    width: 100%;
    background-color: #f5f5f5;
    padding: 80px 60px;
    box-sizing: border-box;
}

.tg-sac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

/* ── Left Column: Accordion ── */
.tg-sac-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tg-sac-left-heading {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    color: #000000;
    margin: 0 0 40px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.tg-sac-accordion {
    border-top: 1px solid #d5d5d5;
    width: 100%;
}

.tg-sac-item {
    border-bottom: 1px solid #d5d5d5;
}

.tg-sac-header {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.tg-sac-icon {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
    color: #111111;
}

.tg-sac-icon-dash,
.tg-sac-icon-plus {
    position: absolute;
    background-color: currentColor;
    transition: transform 0.25s ease;
}

.tg-sac-icon-dash {
    width: 16px;
    height: 1px;
}

.tg-sac-icon-plus {
    width: 1px;
    height: 16px;
    transform: scaleY(1);
}

.tg-sac-item.is-open .tg-sac-icon-plus {
    transform: scaleY(0);
}

.tg-sac-title {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 400;
    color: #000000;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.tg-sac-header:hover .tg-sac-title {
    color: #555555;
}

.tg-sac-body {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

body .tg-sac-content,
.tg-sac-content {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: var(--tg-body-font-size, 18px) !important;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 24px 36px;
    max-width: 540px;
}

/* ── Right Column: Image Card CTA ── */
.tg-sac-right {
    display: flex;
    width: 100%;
}

.tg-sac-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 540px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 48px;
    box-sizing: border-box;
    background-color: #111111;
    border-radius: 0;
}

.tg-sac-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.tg-sac-card-content {
    position: relative;
    z-index: 2;
    max-width: 380px;
    text-align: left;
}

.tg-sac-card-heading {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 28px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.tg-sac-btn-wrap {
    display: block;
    width: 100%;
}

.tg-sac-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: #111111;
    padding: 14px 36px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tg-sac-wrap {
        padding: 60px 30px;
    }
    .tg-sac-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .tg-sac-card {
        min-height: 440px;
        padding: 48px 32px;
    }
}

@media (max-width: 767px) {
    .tg-sac-wrap {
        padding: 40px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .tg-sac-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        width: 100% !important;
    }
    .tg-sac-left-heading {
        font-size: clamp(28px, 7.5vw, 36px) !important;
        margin-bottom: 24px !important;
        word-break: break-word !important;
    }
    .tg-sac-header {
        padding: 16px 0 !important;
        gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tg-sac-icon {
        font-size: 16px !important;
        width: 16px !important;
        flex-shrink: 0 !important;
    }
    .tg-sac-title {
        font-size: var(--tg-accordion-title-size-mobile, 20px) !important;
        line-height: 1.35 !important;
        flex: 1 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    .tg-sac-content {
        margin-left: 20px !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tg-sac-card {
        padding: 36px 20px !important;
        min-height: 380px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tg-sac-card-heading {
        font-size: clamp(30px, 8vw, 40px) !important;
        margin-bottom: 20px !important;
    }
}
