/* ============================================================
   TENIS ARENA — FAQ
   ============================================================ */

.ta-faq-page {
    width:
        100%;

    overflow:
        hidden;

    background:
        var(--ta-ivory-soft);

    color:
        var(--ta-ink);
}


.ta-faq-page,
.ta-faq-page *,
.ta-faq-page button,
.ta-faq-page input {
    box-sizing:
        border-box;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif !important;
}


.ta-faq-container {
    width:
        min(
            calc(100% - 96px),
            1280px
        );

    margin-inline:
        auto;
}



/* ============================================================
   COMMON
   ============================================================ */

.ta-faq-eyebrow,
.ta-faq-section-label {
    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    font-size:
        .61rem;

    line-height:
        1;

    letter-spacing:
        .15em;

    text-transform:
        uppercase;

    font-weight:
        600;
}


.ta-faq-eyebrow {
    color:
        var(--ta-gold);
}


.ta-faq-eyebrow::before {
    content:
        "";

    width:
        34px;

    height:
        1px;

    flex:
        0 0
        34px;

    background:
        currentColor;
}


.ta-faq-section-label span,
.ta-faq-section-label strong {
    color:
        var(--ta-clay);
}


.ta-faq-section-label strong {
    font-weight:
        600;
}



/* ============================================================
   HERO
   ============================================================ */

.ta-faq-hero {
    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

    overflow:
        hidden;

    background:
        var(--ta-forest-deep)
        var(--ta-faq-hero)
        center 56%
        / cover
        no-repeat;

    color:
        var(--ta-ivory);
}


.ta-faq-hero-overlay {
    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(
                3,
                35,
                27,
                .97
            )
            0%,

            rgba(
                3,
                35,
                27,
                .79
            )
            40%,

            rgba(
                3,
                35,
                27,
                .28
            )
            73%,

            rgba(
                3,
                35,
                27,
                .13
            )
            100%
        );
}


.ta-faq-hero-inner {
    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        minmax(
            0,
            1fr
        )
        280px;

    align-items:
        center;

    gap:
        80px;
}


.ta-faq-hero-copy {
    max-width:
        680px;
}


.ta-faq-hero h1 {
    margin:
        22px
        0
        0;

    font-size:
        clamp(
            3.7rem,
            4.8vw,
            5.5rem
        ) !important;

    line-height:
        .87 !important;

    letter-spacing:
        -.048em !important;

    font-weight:
        500 !important;

    color:
        var(--ta-ivory);
}


.ta-faq-hero-copy > p {
    max-width:
        550px;

    margin:
        20px
        0
        0;

    font-size:
        .98rem;

    line-height:
        1.48;

    color:
        rgba(
            246,
            240,
            228,
            .78
        );
}


.ta-faq-hero-action {
    min-width:
        220px;

    min-height:
        47px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        28px;

    margin-top:
        27px;

    padding:
        0
        18px;

    border:
        1px solid
        var(--ta-gold);

    background:
        var(--ta-gold);

    color:
        var(--ta-forest-deep);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .63rem;

    font-weight:
        700;

    transition:
        background-color
        300ms
        ease,
        color
        300ms
        ease;
}


.ta-faq-hero-action:hover {
    background:
        transparent;

    color:
        var(--ta-gold);
}


.ta-faq-hero-action strong {
    font-size:
        1rem;

    font-weight:
        400;
}


.ta-faq-hero-quote {
    justify-self:
        end;

    display:
        grid;

    gap:
        3px;

    padding-left:
        21px;

    border-left:
        1px solid
        rgba(
            199,
            165,
            82,
            .68
        );

    text-align:
        right;

    text-transform:
        uppercase;

    letter-spacing:
        .16em;

    font-size:
        .78rem;

    line-height:
        1.25;

    color:
        rgba(
            246,
            240,
            228,
            .8
        );
}


.ta-faq-hero-quote strong {
    font-weight:
        500;

    color:
        var(--ta-ivory);
}



/* ============================================================
   TOPICS
   ============================================================ */

.ta-faq-topics {
    border-bottom:
        1px solid
        var(--ta-border);

    background:
        var(--ta-ivory);
}


.ta-faq-topics-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );
}


.ta-faq-topics-grid > a {
    min-height:
        155px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    align-items:
        center;

    padding:
        22px;

    border-right:
        1px solid
        var(--ta-border);

    text-align:
        center;

    text-decoration:
        none;

    color:
        var(--ta-forest);

    transition:
        background-color
        280ms
        ease;
}


.ta-faq-topics-grid > a:first-child {
    border-left:
        1px solid
        var(--ta-border);
}


.ta-faq-topics-grid > a:hover {
    background:
        rgba(
            199,
            165,
            82,
            .055
        );
}


.ta-faq-topic-icon {
    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        11px;

    border:
        1px solid
        var(--ta-gold);

    border-radius:
        50%;

    color:
        var(--ta-gold);
}


.ta-faq-topics-grid strong {
    font-size:
        1.02rem;

    font-weight:
        600;
}


.ta-faq-topics-grid p {
    max-width:
        195px;

    margin:
        6px
        0
        0;

    font-size:
        .71rem;

    line-height:
        1.35;

    color:
        var(--ta-muted);
}



/* ============================================================
   SEARCH HEADER
   ============================================================ */

.ta-faq-content {
    padding:
        51px
        0
        55px;
}


.ta-faq-search-row {
    display:
        grid;

    grid-template-columns:
        minmax(
            0,
            1fr
        )
        minmax(
            280px,
            390px
        );

    align-items:
        end;

    gap:
        55px;

    margin-bottom:
        34px;
}


.ta-faq-search-row h2 {
    margin:
        12px
        0
        0;

    font-size:
        clamp(
            2.75rem,
            3.4vw,
            4rem
        );

    line-height:
        .91;

    letter-spacing:
        -.04em;

    font-weight:
        500;

    color:
        var(--ta-forest);
}


.ta-faq-search {
    position:
        relative;

    display:
        block;
}


.ta-faq-search input {
    width:
        100%;

    height:
        50px;

    padding:
        0
        48px
        0
        16px;

    border:
        1px solid
        var(--ta-border);

    border-radius:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        var(--ta-forest);

    font-size:
        .82rem;

    transition:
        border-color
        240ms
        ease,
        background-color
        240ms
        ease;
}


.ta-faq-search input:focus {
    border-color:
        var(--ta-forest);

    background:
        var(--ta-ivory);
}


.ta-faq-search input::placeholder {
    color:
        var(--ta-muted);
}


.ta-faq-search-icon {
    position:
        absolute;

    top:
        50%;

    right:
        16px;

    transform:
        translateY(
            -50%
        );

    color:
        var(--ta-clay);

    pointer-events:
        none;
}



/* ============================================================
   GROUPS
   ============================================================ */

.ta-faq-groups {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        48px
        clamp(
            45px,
            6vw,
            100px
        );
}


.ta-faq-group[hidden] {
    display:
        none !important;
}


.ta-faq-group-heading {
    margin-bottom:
        16px;
}


.ta-faq-group-heading h3 {
    margin:
        11px
        0
        0;

    font-size:
        clamp(
            2.15rem,
            2.7vw,
            3rem
        );

    line-height:
        .94;

    letter-spacing:
        -.035em;

    font-weight:
        500;

    color:
        var(--ta-forest);
}


.ta-faq-group-heading > p {
    max-width:
        520px;

    margin:
        9px
        0
        0;

    font-size:
        .78rem;

    line-height:
        1.4;

    color:
        var(--ta-muted);
}



/* ============================================================
   ACCORDION
   ============================================================ */

.ta-faq-accordion {
    border-top:
        1px solid
        var(--ta-border);
}


.ta-faq-accordion details {
    border-bottom:
        1px solid
        var(--ta-border);
}


.ta-faq-accordion details[hidden] {
    display:
        none !important;
}


.ta-faq-accordion summary {
    min-height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        22px;

    padding:
        12px
        10px;

    list-style:
        none;

    cursor:
        pointer;

    color:
        var(--ta-forest);

    transition:
        color
        240ms
        ease;
}


.ta-faq-accordion summary::-webkit-details-marker {
    display:
        none;
}


.ta-faq-accordion summary:hover {
    color:
        var(--ta-clay);
}


.ta-faq-accordion summary > span {
    font-size:
        .94rem;

    line-height:
        1.25;

    font-weight:
        500;
}


.ta-faq-accordion summary > strong {
    flex:
        0
        0
        auto;

    font-size:
        1.2rem;

    line-height:
        1;

    font-weight:
        400;

    color:
        var(--ta-clay);

    transition:
        transform
        360ms
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


.ta-faq-accordion details[open]
summary > strong {
    transform:
        rotate(
            45deg
        );
}


.ta-faq-answer {
    overflow:
        hidden;
}


.ta-faq-answer p {
    max-width:
        610px;

    margin:
        0;

    padding:
        1px
        38px
        20px
        10px;

    font-size:
        .79rem;

    line-height:
        1.52;

    color:
        var(--ta-muted);
}



/* ============================================================
   EMPTY / NO RESULTS
   ============================================================ */

.ta-faq-no-results,
.ta-faq-empty {
    padding:
        42px
        25px;

    border:
        1px solid
        var(--ta-border);

    background:
        var(--ta-ivory);

    text-align:
        center;
}


.ta-faq-no-results {
    margin-bottom:
        35px;
}


.ta-faq-no-results strong,
.ta-faq-empty h3 {
    font-size:
        1.45rem;

    font-weight:
        500;

    color:
        var(--ta-forest);
}


.ta-faq-no-results p,
.ta-faq-empty p {
    max-width:
        540px;

    margin:
        7px
        auto
        0;

    font-size:
        .8rem;

    color:
        var(--ta-muted);
}


.ta-faq-empty {
    grid-column:
        1 / -1;
}


.ta-faq-empty > span {
    font-size:
        .58rem;

    letter-spacing:
        .13em;

    text-transform:
        uppercase;

    color:
        var(--ta-clay);
}


.ta-faq-empty h3 {
    margin:
        10px
        0
        0;
}



/* ============================================================
   CONTACT STRIP
   ============================================================ */

.ta-faq-contact {
    padding-bottom:
        55px;
}


.ta-faq-contact-inner {
    display:
        grid;

    grid-template-columns:
        54px
        minmax(
            0,
            1fr
        )
        auto;

    align-items:
        center;

    gap:
        25px;

    padding:
        22px
        25px;

    border:
        1px solid
        var(--ta-border);

    background:
        var(--ta-ivory);
}


.ta-faq-contact-icon {
    width:
        44px;

    height:
        44px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        var(--ta-gold);

    border-radius:
        50%;

    color:
        var(--ta-gold);
}


.ta-faq-contact-copy h2 {
    margin:
        0;

    font-size:
        1.55rem;

    line-height:
        1;

    font-weight:
        500;

    color:
        var(--ta-forest);
}


.ta-faq-contact-copy p {
    margin:
        5px
        0
        0;

    font-size:
        .75rem;

    color:
        var(--ta-muted);
}


.ta-faq-contact-action {
    min-width:
        185px;

    min-height:
        44px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    padding:
        0
        17px;

    border:
        1px solid
        var(--ta-gold);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .59rem;

    font-weight:
        600;

    color:
        var(--ta-forest);
}


.ta-faq-contact-action strong {
    color:
        var(--ta-clay);

    font-size:
        .95rem;

    font-weight:
        400;
}



/* ============================================================
   CLOSING
   ============================================================ */

.ta-faq-closing {
    display:
        grid;

    grid-template-columns:
        minmax(
            360px,
            .95fr
        )
        minmax(
            0,
            1.05fr
        );

    min-height:
        300px;

    background:
        var(--ta-forest-deep);

    color:
        var(--ta-ivory);
}


.ta-faq-closing-copy {
    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;
}


.ta-faq-closing-inner {
    width:
        min(
            100%,
            650px
        );

    padding:
        42px
        48px;
}


.ta-faq-closing h2 {
    margin:
        15px
        0
        0;

    font-size:
        clamp(
            2.8rem,
            3.8vw,
            4.2rem
        );

    line-height:
        .9;

    letter-spacing:
        -.04em;

    font-weight:
        500;

    color:
        var(--ta-ivory);
}


.ta-faq-closing p {
    max-width:
        500px;

    margin:
        13px
        0
        0;

    font-size:
        .88rem;

    line-height:
        1.48;

    color:
        rgba(
            246,
            240,
            228,
            .72
        );
}


.ta-faq-closing-inner > a {
    min-width:
        190px;

    min-height:
        45px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        28px;

    margin-top:
        24px;

    padding:
        0
        17px;

    background:
        var(--ta-gold);

    color:
        var(--ta-forest-deep);

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .62rem;

    font-weight:
        700;
}


.ta-faq-closing-inner > a strong {
    font-size:
        1rem;

    font-weight:
        400;
}


.ta-faq-closing-media {
    position:
        relative;

    min-height:
        300px;

    overflow:
        hidden;
}


.ta-faq-closing-media img {
    width:
        100%;

    height:
        100%;

    object-fit:
        cover;
}


.ta-faq-closing-media::after {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(
                4,
                43,
                33,
                .32
            ),
            transparent
            40%
        );
}


.ta-faq-closing-quote {
    position:
        absolute;

    z-index:
        2;

    right:
        38px;

    bottom:
        31px;

    display:
        grid;

    text-align:
        right;

    text-transform:
        uppercase;

    letter-spacing:
        .15em;

    font-size:
        .68rem;

    color:
        var(--ta-ivory);
}


.ta-faq-closing-quote strong {
    font-weight:
        500;
}



/* ============================================================
   LARGE DESKTOP
   ============================================================ */

@media (min-width: 1280px) {

    .ta-faq-container {
        width:
            calc(
                100%
                - 96px
            );

        max-width:
            none;
    }


    .ta-faq-hero-inner {
        grid-template-columns:
            minmax(
                0,
                1fr
            )
            clamp(
                260px,
                18vw,
                380px
            );

        gap:
            clamp(
                70px,
                7vw,
                160px
            );
    }


    .ta-faq-groups {
        column-gap:
            clamp(
                60px,
                7vw,
                135px
            );
    }

}


@media (min-width: 1800px) {

    .ta-faq-container {
        width:
            calc(
                100%
                - 128px
            );
    }

}



/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1023px) {

    .ta-faq-container {
        width:
            calc(
                100%
                - 64px
            );
    }


    .ta-faq-hero-inner {
        grid-template-columns:
            minmax(
                0,
                1fr
            )
            190px;

        gap:
            35px;
    }


    .ta-faq-topics-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .ta-faq-topics-grid
    > a:nth-child(2) {
        border-right:
            1px solid
            var(--ta-border);
    }


    .ta-faq-topics-grid
    > a:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--ta-border);
    }


    .ta-faq-search-row {
        grid-template-columns:
            minmax(
                0,
                1fr
            )
            minmax(
                250px,
                320px
            );

        gap:
            30px;
    }


    .ta-faq-groups {
        gap:
            42px
            35px;
    }

}



/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {

    .ta-faq-container {
        width:
            calc(
                100%
                - 40px
            );
    }


    .ta-faq-hero {
        min-height:
            470px;

        background-position:
            64%
            center;
    }


    .ta-faq-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(
                    3,
                    35,
                    27,
                    .97
                ),
                rgba(
                    3,
                    35,
                    27,
                    .76
                )
                74%,
                rgba(
                    3,
                    35,
                    27,
                    .47
                )
            );
    }


    .ta-faq-hero-inner {
        min-height:
            470px;

        grid-template-columns:
            1fr;

        align-content:
            center;

        gap:
            28px;
    }


    .ta-faq-hero h1 {
        font-size:
            clamp(
                3.1rem,
                14vw,
                4.4rem
            ) !important;
    }


    .ta-faq-hero-quote {
        justify-self:
            start;

        text-align:
            left;

        font-size:
            .64rem;
    }


    .ta-faq-hero-action {
        width:
            100%;
    }


    .ta-faq-topics-grid {
        grid-template-columns:
            1fr
            1fr;
    }


    .ta-faq-topics-grid > a {
        min-height:
            135px;

        padding:
            17px
            10px;
    }


    .ta-faq-content {
        padding:
            42px
            0;
    }


    .ta-faq-search-row {
        grid-template-columns:
            1fr;

        gap:
            22px;

        margin-bottom:
            32px;
    }


    .ta-faq-search {
        width:
            100%;
    }


    .ta-faq-groups {
        grid-template-columns:
            1fr;

        gap:
            42px;
    }


    .ta-faq-group-heading h3 {
        font-size:
            clamp(
                2.2rem,
                10vw,
                3rem
            );
    }


    .ta-faq-contact {
        padding-bottom:
            42px;
    }


    .ta-faq-contact-inner {
        grid-template-columns:
            44px
            minmax(
                0,
                1fr
            );

        gap:
            18px;
    }


    .ta-faq-contact-action {
        grid-column:
            1 / -1;

        width:
            100%;
    }


    .ta-faq-closing {
        grid-template-columns:
            1fr;
    }


    .ta-faq-closing-copy {
        justify-content:
            stretch;
    }


    .ta-faq-closing-inner {
        width:
            100%;

        padding:
            38px
            20px;
    }


    .ta-faq-closing-inner > a {
        width:
            100%;
    }


    .ta-faq-closing-media {
        min-height:
            240px;
    }


    .ta-faq-closing-quote {
        right:
            20px;

        bottom:
            20px;
    }

}



/* ============================================================
   SMALL PHONE
   ============================================================ */

@media (max-width: 390px) {

    .ta-faq-container {
        width:
            calc(
                100%
                - 32px
            );
    }


    .ta-faq-topics-grid {
        grid-template-columns:
            1fr;
    }


    .ta-faq-topics-grid > a {
        border-right:
            1px solid
            var(--ta-border);

        border-bottom:
            1px solid
            var(--ta-border);
    }

}



/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ta-faq-page *,
    .ta-faq-page *::before,
    .ta-faq-page *::after {
        transition:
            none !important;

        scroll-behavior:
            auto !important;
    }

}
