/* ================================================
   TEAM GLAM — Editorial Multi-Column FAQ Accordion Widget
   ================================================ */

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

.tg-faq-grid {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
}

.tg-faq-heading {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 400;
    color: #111111;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* ── Multi-Column FAQ List Area ── */
.tg-faq-right {
    width: 100%;
}

.tg-faq-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.tg-faq-cols-1 {
    display: block;
}

.tg-faq-column {
    width: 100%;
}

.tg-faq-list {
    width: 100%;
    border-top: 1px solid #111111;
    border-bottom: 1px solid #111111;
}

.tg-faq-item {
    border-bottom: 1px solid #dedede;
    transition: border-color 0.25s ease;
}

.tg-faq-item:last-child {
    border-bottom: none;
}

/* ── Simple Q&A Static Mode (No Icons, All Open) ── */
.tg-faq-header-static {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px 0 10px;
}

.tg-faq-item--simple .tg-faq-body {
    display: block !important;
    padding: 0 0 20px;
}

/* ── Accordion Trigger Button ── */
.tg-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
    gap: 0;
    transition: opacity 0.2s ease;
}

.tg-faq-trigger:hover {
    opacity: 0.7;
}

.tg-faq-title {
    font-family: 'beaufort-pro', serif;
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 400;
    color: #111111;
    line-height: 1.3;
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ── Toggle Icon (+ / -) ── */
.tg-faq-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-faq-icon-dash,
.tg-faq-icon-plus {
    position: absolute;
    background-color: currentColor;
    transition: transform 0.25s ease;
}

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

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

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

/* ── Body Answer Area ── */
.tg-faq-body {
    display: none;
    padding: 0 0 24px;
}

.tg-faq-answer {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: var(--tg-body-font-size, 15px) !important;
    line-height: 1.6;
    color: #444444;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tg-faq-wrap {
        padding: 60px 30px;
    }
    .tg-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tg-faq-cols-2 {
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .tg-faq-wrap {
        padding: 40px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .tg-faq-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
    }
    .tg-faq-heading {
        font-size: clamp(32px, 8vw, 44px) !important;
    }
    .tg-faq-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .tg-faq-title {
        font-size: var(--tg-accordion-title-size-mobile, 20px) !important;
        line-height: 1.35 !important;
    }
}
