/* ============================================================
   TENIS ARENA — TERMS & CONDITIONS
   ============================================================ */

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

    overflow:
        hidden;

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

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


.ta-terms-page,
.ta-terms-page * {
    box-sizing:
        border-box;

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


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

    margin-inline:
        auto;
}



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

.ta-terms-eyebrow,
.ta-terms-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-terms-eyebrow {
    color:
        var(--ta-gold);
}


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

    width:
        34px;

    height:
        1px;

    flex:
        0 0 34px;

    background:
        currentColor;
}


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


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



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

.ta-terms-hero {
    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

    overflow:
        hidden;

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

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


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

    inset:
        0;

    background:
        linear-gradient(
            90deg,
            rgba(3,35,27,.97) 0%,
            rgba(3,35,27,.80) 43%,
            rgba(3,35,27,.28) 74%,
            rgba(3,35,27,.10) 100%
        );
}


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

    z-index:
        2;
}


.ta-terms-hero-copy {
    max-width:
        720px;
}


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

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

    line-height:
        .87 !important;

    letter-spacing:
        -.048em !important;

    font-weight:
        500 !important;

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


.ta-terms-hero-copy > p {
    max-width:
        570px;

    margin:
        20px
        0
        0;

    font-size:
        .97rem;

    line-height:
        1.48;

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


.ta-terms-updated {
    margin-top:
        14px;

    font-size:
        .68rem;

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


.ta-terms-updated strong {
    color:
        rgba(246,240,228,.9);

    font-weight:
        600;
}


.ta-terms-hero-action {
    min-width:
        205px;

    min-height:
        47px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        28px;

    margin-top:
        26px;

    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:
        .62rem;

    font-weight:
        700;
}



/* ============================================================
   DOCUMENT INDEX
   ============================================================ */

.ta-terms-index {
    border-bottom:
        1px solid
        var(--ta-border);

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


.ta-terms-index > .ta-terms-container {
    display:
        grid;

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

    align-items:
        stretch;
}


.ta-terms-index-heading {
    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    gap:
        5px;

    padding:
        22px
        25px
        22px
        0;

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

    text-transform:
        uppercase;

    letter-spacing:
        .11em;

    font-size:
        .57rem;
}


.ta-terms-index-heading span {
    color:
        var(--ta-clay);
}


.ta-terms-index-heading strong {
    color:
        var(--ta-forest);

    font-weight:
        600;
}


.ta-terms-index-links {
    display:
        flex;

    min-width:
        0;

    overflow-x:
        auto;

    scrollbar-width:
        thin;
}


.ta-terms-index-links a {
    min-width:
        190px;

    min-height:
        82px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        15px
        20px;

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

    text-decoration:
        none;
}


.ta-terms-index-links a span {
    font-size:
        .53rem;

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


.ta-terms-index-links a strong {
    margin-top:
        5px;

    font-size:
        .82rem;

    line-height:
        1.15;

    font-weight:
        500;

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



/* ============================================================
   CMS LEGAL SECTIONS
   ============================================================ */

.ta-terms-section {
    display:
        grid;

    grid-template-columns:
        minmax(0,1.34fr)
        minmax(290px,.66fr);

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

    scroll-margin-top:
        90px;
}


.ta-terms-section-main {
    padding:
        40px
        clamp(
            38px,
            5vw,
            88px
        )
        40px
        0;
}


.ta-terms-section-main h2,
.ta-terms-empty h2,
.ta-terms-related-heading h2 {
    margin:
        12px
        0
        0;

    font-size:
        clamp(
            2.55rem,
            3.25vw,
            3.8rem
        );

    line-height:
        .92;

    letter-spacing:
        -.04em;

    font-weight:
        500;

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


.ta-terms-section-copy {
    max-width:
        780px;

    margin-top:
        15px;
}


.ta-terms-section-copy p {
    margin:
        0
        0
        10px;

    font-size:
        .88rem;

    line-height:
        1.55;

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


.ta-terms-section-copy p:last-child {
    margin-bottom:
        0;
}


.ta-terms-section-aside {
    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        34px
        0
        34px
        clamp(
            32px,
            4vw,
            65px
        );

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


.ta-terms-section-icon {
    width:
        44px;

    height:
        44px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        16px;

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

    border-radius:
        50%;

    color:
        var(--ta-gold);

    font-size:
        1rem;
}


.ta-terms-section-aside h3 {
    margin:
        0;

    font-size:
        1.15rem;

    line-height:
        1.08;

    font-weight:
        600;

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


.ta-terms-section-aside p {
    max-width:
        320px;

    margin:
        8px
        0
        0;

    font-size:
        .77rem;

    line-height:
        1.46;

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


.ta-terms-inline-link {
    display:
        inline-flex;

    gap:
        25px;

    margin-top:
        20px;

    padding-bottom:
        6px;

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

    text-decoration:
        none;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;

    font-size:
        .59rem;

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


.ta-terms-inline-link span {
    color:
        var(--ta-clay);
}



/* ============================================================
   EMPTY
   ============================================================ */

.ta-terms-empty {
    padding:
        55px
        0;

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


.ta-terms-empty p {
    max-width:
        660px;

    margin:
        14px
        0
        0;

    font-size:
        .86rem;

    line-height:
        1.5;

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



/* ============================================================
   RELATED LINKS
   ============================================================ */

.ta-terms-related {
    padding:
        48px
        0
        54px;
}


.ta-terms-related-heading {
    margin-bottom:
        22px;
}


.ta-terms-related-grid {
    display:
        grid;

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

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

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


.ta-terms-related-grid a {
    min-height:
        90px;

    display:
        grid;

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

    align-items:
        center;

    gap:
        14px;

    padding:
        18px;

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

    text-decoration:
        none;
}


.ta-terms-related-grid a:last-child {
    border-right:
        0;
}


.ta-terms-related-grid span {
    font-size:
        .54rem;

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


.ta-terms-related-grid strong {
    font-size:
        .95rem;

    font-weight:
        500;

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


.ta-terms-related-grid em {
    color:
        var(--ta-clay);

    font-style:
        normal;
}



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

.ta-terms-closing {
    display:
        grid;

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

    min-height:
        305px;

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

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


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

    align-items:
        center;

    justify-content:
        flex-end;
}


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

    padding:
        42px
        48px;
}


.ta-terms-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-terms-closing p {
    max-width:
        515px;

    margin:
        13px
        0
        0;

    font-size:
        .87rem;

    line-height:
        1.48;

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


.ta-terms-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:
        .61rem;

    font-weight:
        700;
}


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

    min-height:
        305px;

    overflow:
        hidden;
}


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

    height:
        100%;

    display:
        block;

    object-fit:
        cover;
}


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

    position:
        absolute;

    inset:
        0;

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


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

    z-index:
        2;

    right:
        38px;

    bottom:
        30px;

    display:
        grid;

    text-align:
        right;

    text-transform:
        uppercase;

    letter-spacing:
        .14em;

    font-size:
        .68rem;

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


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



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

@media (min-width: 1280px) {

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

        max-width:
            none;
    }

}


@media (min-width: 1800px) {

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

}



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

@media (max-width: 1023px) {

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


    .ta-terms-section {
        grid-template-columns:
            minmax(0,1.2fr)
            minmax(250px,.8fr);
    }


    .ta-terms-index
    > .ta-terms-container {
        grid-template-columns:
            150px
            minmax(0,1fr);
    }

}



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

@media (max-width: 720px) {

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


    .ta-terms-hero {
        min-height:
            500px;

        background-position:
            63%
            center;
    }


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


    .ta-terms-hero-inner {
        min-height:
            500px;

        display:
            flex;

        align-items:
            center;
    }


    .ta-terms-hero h1 {
        font-size:
            clamp(
                3rem,
                13.5vw,
                4.3rem
            ) !important;
    }


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


    .ta-terms-index
    > .ta-terms-container {
        width:
            100%;

        grid-template-columns:
            1fr;
    }


    .ta-terms-index-heading {
        padding:
            15px
            20px;

        border-right:
            0;

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


    .ta-terms-index-links {
        padding-left:
            20px;
    }


    .ta-terms-index-links a {
        min-width:
            175px;
    }


    .ta-terms-section {
        grid-template-columns:
            1fr;
    }


    .ta-terms-section-main {
        padding:
            38px
            0
            30px;
    }


    .ta-terms-section-aside {
        padding:
            24px
            0
            34px;

        border-left:
            0;

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


    .ta-terms-related-grid {
        grid-template-columns:
            1fr;
    }


    .ta-terms-related-grid a {
        border-right:
            0;

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


    .ta-terms-related-grid a:last-child {
        border-bottom:
            0;
    }


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


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


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

        padding:
            38px
            20px;
    }


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


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


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

        bottom:
            20px;
    }

}



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

@media (max-width: 390px) {

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

}



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

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

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

        scroll-behavior:
            auto !important;
    }

}
