/* =========================================================
   OPTIMIQ CONSULTUS
   TERMS AND CONDITIONS
========================================================= */

.terms-page-wrapper {
    background: var(--brand-paper);
    color: var(--text);
}


/* =========================================================
   HEADER
========================================================= */

/* .terms-page .header-1 {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: var(--brand-deep-teal) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(var(--white-rgb), .14) !important;
    box-shadow: none !important;
}

.terms-page .header-1
.main-menu ul li a {
    color: var(--white) !important;
}

.terms-page .header-1
.main-menu ul li a:hover {
    color: var(--brand-mint) !important;
}

.terms-page .header-1
.header-right .theme-btn {
    color: var(--white) !important;
    background: var(--brand-teal) !important;
    border-color: var(--brand-teal) !important;
}

.terms-page .header-1
.header-right .theme-btn:hover {
    background: var(--brand-deep-teal) !important;
    border-color: var(--brand-deep-teal) !important;
} */


/* =========================================================
   HERO
========================================================= */

.terms-hero {
    position: relative;
    overflow: hidden;
    min-height: 226px;
    padding-top: 92px;
    padding-bottom: 24px;
    background: var(--brand-deep-teal);

}


/* HERO CIRCLES */

/* .terms-hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle-one {
    width: 150px;
    height: 150px;
    left: -48px;
    top: 65px;
    background: rgba(var(--brand-mist-rgb), .16);
}

.circle-two {
    width: 155px;
    height: 155px;
    right: 105px;
    top: 45px;
    background: rgba(var(--brand-mint-rgb), .12);
}

.circle-three {
    width: 170px;
    height: 170px;
    right: -65px;
    top: -55px;
    background: rgba(var(--brand-mint-rgb), .10);
} */


/* HERO CONTENT */

.terms-hero-content {
    position: relative;
    z-index: 3;
}

.terms-hero-content h1 {
    margin: 0 0 10px;
    color: var(--brand-paper);
    font-size: clamp(46px, 4.2vw, 60px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
}

.terms-hero-content h1 span {
    color: var(--brand-mint);
}

.terms-hero-content p {
    max-width: 650px;
    margin: 0;
    color: var(--brand-mist);
    font-size: 17px;
    line-height: 1.48;
}

.terms-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: rgba(var(--white-rgb), .78);
    font-size: 13px;
}

.terms-meta b {
    color: var(--brand-paper);
}

.terms-meta .dot {
    color: var(--brand-mint);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.terms-hero-art {
    position: relative;
    z-index: 3;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terms-hero-art img {
    width: 420px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateY(10px);
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.terms-content {
    padding-top: 0;
    background: var(--brand-paper);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.terms-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    color: var(--text);
    font-size: 13px;
}

.terms-breadcrumb i:first-child {
    color: var(--brand-teal);
}

.terms-breadcrumb i {
    font-size: 10px;
    color: var(--service-text-soft);
}

.terms-breadcrumb strong {
    color: var(--brand-deep-teal);
    font-weight: 500;
}


/* =========================================================
   SIDEBAR
========================================================= */

.terms-toc {
    position: sticky;
    top: 85px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 10px 18px;
    border: 1px solid rgba(var(--brand-teal-rgb), .18);
    border-radius: 15px;
    background: var(--brand-paper);
    box-shadow: 0 12px 30px rgba(var(--shadow-rgb), .04);
    scrollbar-width: thin;
    scrollbar-color: var(--brand-teal) var(--brand-mist);
}


/* Chrome */

.terms-toc::-webkit-scrollbar {
    width: 7px;
}

.terms-toc::-webkit-scrollbar-track {
    background: var(--brand-mist);
    border-radius: 10px;
}

.terms-toc::-webkit-scrollbar-thumb {
    background: var(--brand-teal);
    border-radius: 10px;
}

.terms-toc::-webkit-scrollbar-thumb:hover {
    background: var(--brand-deep-teal);
}


/* TITLE */

.terms-toc h3 {
    margin: 0 10px 15px;
    color: var(--brand-deep-teal);
    font-size: 18px;
    font-weight: 700;
}


/* NAV */

.terms-toc nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.terms-toc a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: .2s ease;
}

.terms-toc a span {
    flex: 0 0 25px;
    color: var(--service-text-soft);
    font-size: 11px;
    font-weight: 700;
}

.terms-toc a b {
    font-weight: 500;
}

.terms-toc a:hover {
    color: var(--brand-deep-teal);
    background: var(--brand-mist);
}


/* ACTIVE */

.terms-toc a.active {
    color: var(--brand-deep-teal);
    background: var(--brand-mist);
}

.terms-toc a.active span {
    color: var(--brand-teal);
}

.terms-toc a.active b {
    font-weight: 700;
}


/* =========================================================
   DOCUMENT
========================================================= */

.terms-document {
    min-width: 0;
}

.terms-section {
    scroll-margin-top: 95px;
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.terms-section:last-child {
    border-bottom: 0;
}


/* =========================================================
   HEADINGS
========================================================= */

.terms-section h2 {
    margin: 0 0 8px;
    color: var(--brand-deep-teal);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.terms-section h2 span {
    margin-right: 7px;
}

.terms-section h2 {
    color: var(--brand-deep-teal);
}

.terms-section h2::after {
    content: "";
}

.terms-section h2 {
    color: var(--brand-deep-teal);
}


/* Heading text */

.terms-section h2 {
    font-weight: 700;
}


/* Make title teal */

.terms-section h2 {
    color: var(--brand-deep-teal);
}


/* Number remains navy */

.terms-section h2 span {
    color: var(--brand-deep-teal);
}


/* Section title after number */

.terms-section h2 {
    color: var(--brand-teal);
}


/* Number override */

.terms-section h2 span {
    color: var(--brand-deep-teal);
}


/* =========================================================
   PARAGRAPH
========================================================= */

.terms-section p {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   DEFINITIONS CARD
========================================================= */

.terms-list-card {
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 9px;
    background: linear-gradient(
        135deg,
        var(--brand-paper),
        var(--brand-mist)
    );
}

.terms-list-card div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
}

.terms-list-card i {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand-teal);
    font-size: 9px;
}

.terms-list-card span {
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
}

.terms-list-card strong {
    color: var(--brand-deep-teal);
    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .terms-hero-art img {
        width: 360px;
    }
}


@media (max-width: 991px) {
    .terms-page .header-1 {
        position: fixed !important;
    }

    .terms-hero {
        padding-top: 100px;
        padding-bottom: 20px;
    }

    .terms-hero-content h1 {
        font-size: 48px;
    }

    .terms-hero-art {
        height: 190px;
        margin-top: 5px;
    }

    .terms-hero-art img {
        width: 330px;
    }

    .terms-toc {
        position: relative;
        top: auto;
        max-height: 330px;
    }
}


@media (max-width: 767px) {
    .terms-hero {
        padding-top: 90px;
    }

    .terms-hero-content h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .terms-hero-content p {
        font-size: 15px;
    }

    .terms-meta {
        font-size: 12px;
    }

    .terms-hero-art {
        height: 170px;
    }

    .terms-hero-art img {
        width: 290px;
    }

    .terms-breadcrumb {
        padding: 8px 0;
        font-size: 12px;
    }

    .terms-section h2 {
        font-size: 25px;
    }

    .terms-section p {
        font-size: 14px;
    }

    .terms-list-card {
        padding: 12px;
    }
}