/* ==========================================================================
   FAQ Section (merged from shared sections/faq.css)
   Figma: container 1539.01px wide
   Annotation: FAQ content from provided Word doc
   ========================================================================== */
.faq-section {
    padding: 0 0 80px;
}

.faq-section .container {
    max-width: 1560px;
}

/* Figma: 38px Bold #272727, letter-spacing 1.9px */
.faq-section .section-title {
    margin-bottom: 47px;
}

/* ==========================================================================
   Category Filter Tabs
   Figma: tabs with border 1.166px #e1e1e3, radius 69.944px
   Active: bg #002856, white text
   Inactive: white bg, #2a2a2a text
   Text: 18.652px Medium, line-height 30.309px
   ========================================================================== */
.faq-filters {
    gap: 12px;
    margin-bottom: 45px;
}

.faq-filter {
    padding: 5px 30px;
    height: 40.801px;
    font-size: 18.652px;
    line-height: 30.309px;
    border: 1.166px solid #e1e1e3;
    color: #2a2a2a;
    transition: all 0.2s;
}

.faq-filter:hover {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.faq-filter.active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* ==========================================================================
   FAQ List
   Figma: questions 20.983px Regular #2a2a2a, line-height 30.309px
   Separator lines: full width, spaced 72.27px apart
   Chevron: 16.32 × 8.16px, rotated 90deg
   ========================================================================== */
.faq-list {
    max-width: 1539px;
    margin: 0 auto;
}

/* All category groups render together; tabs jump to each one */
/* .faq-group {
    scroll-margin-top: 120px;
} */

.faq-group+.faq-group {
    margin-top: 58px;
}

.faq-item {
    border-bottom: 0.854px solid var(--gray-200);
    margin-left: 58px;
    margin-right: 58px;
}

/* Figma: 20.983px Regular #2a2a2a, line-height 30.309px */
.faq-item__question {
    padding: 22px 26px;
    font-size: 20.983px;
    color: #2a2a2a;
    line-height: 30.309px;
    background: none;
    font-family: inherit;
    gap: 20px;
}

.faq-item__question span {
    flex: 1;
}

/* Figma: chevron 16.32 × 8.16px */
.faq-item__icon {
    flex-shrink: 0;
    width: 16.32px;
    height: 8.16px;
    transition: transform 0.3s;
    color: #2a2a2a;
}

.faq-item.active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    display: none;
    padding: 0 26px 22px;
}

.faq-item.active .faq-item__answer {
    display: block;
}

.faq-item__answer p {
    color: #707070;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .faq-filter {
        font-size: 16px;
        padding: 5px 22px;
    }

    .faq-item__question {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .faq-section {
        padding: 50px 0 60px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 40px 0 50px;
    }

    .faq-section .section-title {
        margin-bottom: 30px;
    }

    .faq-filters {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 35px;
        padding: 0 17px;
    }

    .faq-filter {
        font-size: 16px;
        padding: 5px 20px;
        height: 35px;
        border-radius: 60px;
        line-height: 26px;
    }

    .faq-list {
        margin-left: 15px;
        margin-right: 15px;
    }

    .faq-item {
        margin-left: 0;
        margin-right: 0;
    }

    .faq-item__question {
        color: #2A2A2A;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 26px;
        /* 144.444% */
        padding: 16px 3px;
    }

    .faq-item__answer p {
        color: #707070;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
    }

    .faq-item__question span {
        max-width: 280px;
    }

    .faq-item__icon {
        width: 14px;
        height: 7px;
    }

    .faq-item__answer {
        padding: 0 3px 16px;
    }

    .faq-group+.faq-group {
        margin-top: 48px;
    }
}

/* ==========================================================================
   Page-level overrides (original pages/faq.css)
   ========================================================================== */
#site-header,
.site-footer,
#main-content {
    overflow: hidden;
}

#find-store-banner {
    display: none;
}

#faq {
    margin-top: 69px;
}

#faq .container {
    max-width: 1670;
    padding: 0 15px;
}

#faq .faq-filters {
    justify-content: center;
}

.explore-section .section-title {
    display: none;
}

.explore-section {
    padding-top: 160px;
}

.faq-active-title {
    margin-left: 58px;
    margin-right: 58px;
    color: #00447C;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 0 26px;
}

@media screen and (min-width: 1200px) and (max-width: 1915px) {
    #faq .container {
        padding: 0;
        margin-left: 140px;
        margin-right: 140px;
    }

    .explore-section>.container {
        padding: 0;
    }
}

@media screen and (max-width: 767px) {
    .explore-section .section-title {
        display: block;
    }

    #faq .faq-filters {
        justify-content: flex-start;
    }

    .faq-active-title {
        font-size: 21px;
        padding: 0;
        margin: 0;
        margin-bottom: 6px;
    }

    #explore-rent-one.explore-section {
        padding-top: 50px;
    }

    #faq {
        margin-top: 37px;
        padding-top: 0;
    }
}