/* =========================================================
   TEKMARKETS — PRIVACY POLICY
   GLOBAL PAGE STYLES
========================================================= */
@media (min-width: 901px) {
    .tm-privacy-layout {
        row-gap: 0 !important;
    }

    .tm-privacy-layout > .tm-privacy-sidebar {
        grid-row: 1 / span 16 !important;
        align-self: start !important;
    }
}

.tm-privacy {
    --tm-blue: #174d7a;
    --tm-blue-dark: #103b5d;
    --tm-blue-soft: #edf5fa;

    --tm-orange: #f58220;
    --tm-orange-soft: #fff4e9;

    --tm-text: #101828;
    --tm-body: #475467;
    --tm-muted: #667085;

    --tm-border: #e4e7ec;
    --tm-bg: #f8fafc;
    --tm-white: #ffffff;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif !important;

    color: var(--tm-text);

    background: var(--tm-bg);

    width: 100%;

    margin: 0;

    padding: 0 0 80px;

    line-height: 1.7;

    box-sizing: border-box;
}

.tm-privacy *,
.tm-privacy *::before,
.tm-privacy *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.tm-privacy-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.tm-privacy-breadcrumb {
    padding: 28px 0 14px;

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    color: var(--tm-muted);
}

.tm-privacy-breadcrumb a {
    color: var(--tm-blue) !important;

    text-decoration: none !important;

    font-weight: 600;
}

.tm-privacy-breadcrumb span {
    color: #98a2b3;
}


/* =========================================================
   HERO
========================================================= */

.tm-privacy-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f3f8fc 100%
        );

    border: 1px solid var(--tm-border);

    border-radius: 24px;

    padding: 58px 60px;

    margin-bottom: 25px;

    box-shadow:
        0 12px 40px rgba(16, 24, 40, 0.06);
}

.tm-privacy-hero::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    top: -140px;

    border-radius: 50%;

    background: var(--tm-orange-soft);

    opacity: .9;
}

.tm-privacy-hero::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: 80px;
    bottom: -120px;

    border-radius: 50%;

    border: 1px solid rgba(23,77,122,.08);
}

.tm-privacy-hero-content {
    position: relative;

    z-index: 2;

    max-width: 900px;
}


/* =========================================================
   BADGE
========================================================= */

.tm-privacy-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    border-radius: 50px;

    background: var(--tm-blue-soft);

    border: 1px solid #d7e7f1;

    color: var(--tm-blue);

    font-size: 12px;

    font-weight: 700;
}

.tm-privacy-badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--tm-orange);
}


/* =========================================================
   HERO TITLE
========================================================= */

.tm-privacy .tm-privacy-hero h1 {
    margin: 18px 0 12px !important;

    padding: 0 !important;

    font-size: clamp(40px, 5vw, 58px) !important;

    line-height: 1.05 !important;

    letter-spacing: -2px;

    font-weight: 750 !important;

    color: var(--tm-text) !important;
}

.tm-privacy .tm-privacy-hero h1 span {
    color: var(--tm-blue) !important;
}

.tm-privacy-hero-description {
    max-width: 820px;

    margin: 0 !important;

    color: var(--tm-body) !important;

    font-size: 16px !important;

    line-height: 1.75 !important;
}


/* =========================================================
   META
========================================================= */

.tm-privacy-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

.tm-privacy-meta-item {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    background: #fff;

    border: 1px solid var(--tm-border);

    border-radius: 9px;

    font-size: 12px;

    color: var(--tm-muted);
}

.tm-privacy-meta-item strong {
    color: var(--tm-text);
}


/* =========================================================
   NOTICE
========================================================= */

.tm-privacy-notice {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 18px 20px;

    margin-bottom: 30px;

    background: var(--tm-orange-soft);

    border: 1px solid #f6d4b5;

    border-radius: 14px;
}

.tm-privacy-notice-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #fff;

    color: var(--tm-orange);

    font-weight: 800;
}

.tm-privacy-notice strong {
    display: block;

    margin-bottom: 3px;

    color: #8a3d00;

    font-size: 14px;
}

.tm-privacy-notice p {
    margin: 0 !important;

    color: #694a34 !important;

    font-size: 13px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.tm-privacy-layout {
    display: grid;

    grid-template-columns: 240px minmax(0, 1fr);

    gap: 32px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.tm-privacy-sidebar {
    position: sticky;

    top: 100px;
}

.tm-privacy-toc {
    background: #fff;

    border: 1px solid var(--tm-border);

    border-radius: 16px;

    padding: 18px;

    box-shadow:
        0 8px 30px rgba(16,24,40,.05);
}

.tm-privacy-toc-title {
    margin-bottom: 12px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .09em;

    font-weight: 800;

    color: var(--tm-text);
}

.tm-privacy-toc a {
    display: block;

    padding: 8px 10px;

    margin: 2px 0;

    border-radius: 8px;

    color: var(--tm-muted) !important;

    text-decoration: none !important;

    font-size: 12px;

    line-height: 1.4;

    transition: .2s ease;
}

.tm-privacy-toc a:hover {
    background: var(--tm-blue-soft);

    color: var(--tm-blue) !important;

    transform: translateX(2px);
}

.tm-privacy-toc-divider {
    height: 1px;

    background: var(--tm-border);

    margin: 15px 0;
}

.tm-privacy-toc-contact {
    color: var(--tm-muted);

    font-size: 12px;

    line-height: 1.6;
}

.tm-privacy-toc-contact a {
    padding: 0;

    color: var(--tm-blue) !important;

    font-weight: 700;
}


/* =========================================================
   CONTENT
========================================================= */

.tm-privacy-content {
    min-width: 0;
}


/* =========================================================
   INTRO
========================================================= */

.tm-privacy-intro {
    padding: 25px 28px;

    margin-bottom: 16px;

    background: #fff;

    border: 1px solid var(--tm-border);

    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(16,24,40,.045);
}

.tm-privacy-intro p {
    margin: 0 !important;

    color: var(--tm-body) !important;

    font-size: 14px !important;
}


/* =========================================================
   SECTIONS
========================================================= */

.tm-privacy-section {
    padding: 32px 34px;

    margin-bottom: 16px;

    background: #fff;

    border: 1px solid var(--tm-border);

    border-radius: 17px;

    box-shadow:
        0 8px 30px rgba(16,24,40,.045);

    scroll-margin-top: 100px;
}

.tm-privacy-section-header {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 18px;
}

.tm-privacy-number {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--tm-blue-soft);

    color: var(--tm-blue);

    border-radius: 9px;

    font-size: 11px;

    font-weight: 800;
}

.tm-privacy .tm-privacy-section h2 {
    margin: 4px 0 0 !important;

    padding: 0 !important;

    font-size: 23px !important;

    line-height: 1.3 !important;

    color: var(--tm-text) !important;

    letter-spacing: -.4px;
}

.tm-privacy .tm-privacy-section h3 {
    margin: 24px 0 8px !important;

    font-size: 15px !important;

    color: var(--tm-text) !important;
}

.tm-privacy .tm-privacy-section p {
    margin: 0 0 14px !important;

    color: var(--tm-body) !important;

    font-size: 14px !important;

    line-height: 1.8 !important;
}

.tm-privacy .tm-privacy-section p:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   LISTS
========================================================= */

.tm-privacy .tm-privacy-section ul {
    margin: 10px 0 18px !important;

    padding-left: 21px !important;
}

.tm-privacy .tm-privacy-section li {
    margin-bottom: 8px !important;

    color: var(--tm-body) !important;

    font-size: 14px !important;

    line-height: 1.7 !important;
}

.tm-privacy .tm-privacy-section li::marker {
    color: var(--tm-orange);
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.tm-privacy-info-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0,1fr));

    gap: 12px;

    margin-top: 20px;
}

.tm-privacy-info-card {
    padding: 17px 18px;

    background: #fafbfc;

    border: 1px solid var(--tm-border);

    border-radius: 12px;
}

.tm-privacy-info-card-title {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 6px;

    font-size: 13px;

    font-weight: 750;

    color: var(--tm-text);
}

.tm-privacy-info-card-title::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--tm-orange);
}

.tm-privacy-info-card p {
    margin: 0 !important;

    font-size: 12px !important;

    line-height: 1.6 !important;

    color: var(--tm-muted) !important;
}


/* =========================================================
   RIGHTS
========================================================= */

.tm-privacy-rights {
    display: grid;

    grid-template-columns: repeat(2, minmax(0,1fr));

    gap: 10px;

    margin-top: 18px;
}

.tm-privacy-right {
    padding: 16px;

    background: #fafbfc;

    border: 1px solid var(--tm-border);

    border-radius: 11px;
}

.tm-privacy-right strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;

    color: var(--tm-text);
}

.tm-privacy-right span {
    display: block;

    font-size: 12px;

    line-height: 1.55;

    color: var(--tm-muted);
}


/* =========================================================
   CALLOUT
========================================================= */

.tm-privacy-callout {
    padding: 17px 19px;

    margin: 20px 0;

    background: var(--tm-orange-soft);

    border-left: 3px solid var(--tm-orange);

    border-radius: 0 10px 10px 0;
}

.tm-privacy-callout strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;

    color: #8a3d00;
}

.tm-privacy-callout p {
    margin: 0 !important;

    color: #694a34 !important;

    font-size: 13px !important;
}


/* =========================================================
   CONTACT
========================================================= */

.tm-privacy-contact {
    position: relative;

    overflow: hidden;

    padding: 38px;

    margin-top: 20px;

    border-radius: 19px;

    background:
        linear-gradient(
            135deg,
            #174d7a,
            #103b5d
        );

    color: #fff;
}

.tm-privacy-contact::after {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    right: -120px;
    top: -120px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;
}

.tm-privacy-contact-content {
    position: relative;

    z-index: 2;
}

.tm-privacy .tm-privacy-contact h2 {
    margin: 0 0 8px !important;

    color: #fff !important;

    font-size: 25px !important;
}

.tm-privacy-contact p {
    max-width: 680px;

    margin: 0 !important;

    color: rgba(255,255,255,.78) !important;

    font-size: 14px !important;
}

.tm-privacy-contact-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}

.tm-privacy-contact-btn {
    display: inline-flex;

    align-items: center;

    padding: 10px 15px;

    border-radius: 8px;

    background: #fff;

    color: var(--tm-blue) !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 750;
}

.tm-privacy-contact-btn.secondary {
    background: rgba(255,255,255,.1);

    border: 1px solid rgba(255,255,255,.2);

    color: #fff !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .tm-privacy-layout {
        grid-template-columns: 1fr;
    }

    .tm-privacy-sidebar {
        position: static;
    }

    .tm-privacy-toc {
        display: grid;

        grid-template-columns: repeat(2,1fr);

        gap: 2px 8px;
    }

    .tm-privacy-toc-title,
    .tm-privacy-toc-divider,
    .tm-privacy-toc-contact {
        grid-column: 1 / -1;
    }

}


@media (max-width: 600px) {

    .tm-privacy-container {
        width: calc(100% - 28px);
    }

    .tm-privacy-hero {
        padding: 36px 23px;

        border-radius: 17px;
    }

    .tm-privacy .tm-privacy-hero h1 {
        font-size: 40px !important;

        letter-spacing: -1.5px;
    }

    .tm-privacy-meta {
        flex-direction: column;

        align-items: flex-start;
    }

    .tm-privacy-toc {
        display: block;
    }

    .tm-privacy-section {
        padding: 25px 21px;
    }

    .tm-privacy-info-grid,
    .tm-privacy-rights {
        grid-template-columns: 1fr;
    }

    .tm-privacy-contact {
        padding: 28px 22px;
    }

}

/* =========================================================
   TEKMARKETS PRIVACY POLICY — FINAL STRUCTURAL FIX
========================================================= */

/* Pure white page background */
.tm-privacy {
    background: #ffffff !important;
}


/* Keep the privacy content area white */
.tm-privacy-layout {
    background: #ffffff !important;

    display: grid !important;

    grid-template-columns: 240px minmax(0, 1fr) !important;

    gap: 32px !important;

    align-items: start !important;
}


/* Explicitly lock the sidebar to column 1 */
.tm-privacy-layout > .tm-privacy-sidebar {
    grid-column: 1 !important;
    grid-row: 1 !important;
}


/* Explicitly lock the main content to column 2 */
.tm-privacy-layout > .tm-privacy-content {
    grid-column: 2 !important;
    grid-row: 1 !important;

    min-width: 0 !important;
}


/*
   IMPORTANT:
   If WordPress moves a section outside the
   .tm-privacy-content wrapper, force it back
   into the content column.
*/
.tm-privacy-layout > .tm-privacy-section,
.tm-privacy-layout > .tm-privacy-intro,
.tm-privacy-layout > .tm-privacy-contact {
    grid-column: 2 !important;
}


/* Make every section stay inside its content width */
.tm-privacy-content .tm-privacy-section,
.tm-privacy-content .tm-privacy-intro,
.tm-privacy-content .tm-privacy-contact {
    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;
}


/* =========================================================
   REMOVE THE LIGHT BLUE PAGE BACKGROUND
========================================================= */

.tm-privacy,
.tm-privacy-container,
.tm-privacy-layout,
.tm-privacy-content {
    background-color: #ffffff !important;
}


/* =========================================================
   KEEP THE CARDS WHITE
========================================================= */

.tm-privacy-section,
.tm-privacy-intro,
.tm-privacy-toc {
    background: #ffffff !important;
}


/* Slightly cleaner page separation */
.tm-privacy-section {
    box-shadow:
        0 4px 18px rgba(16, 24, 40, 0.035) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .tm-privacy-layout {
        display: block !important;
    }

    .tm-privacy-layout > .tm-privacy-sidebar,
    .tm-privacy-layout > .tm-privacy-content,
    .tm-privacy-layout > .tm-privacy-section,
    .tm-privacy-layout > .tm-privacy-intro,
    .tm-privacy-layout > .tm-privacy-contact {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .tm-privacy-sidebar {
        position: static !important;

        margin-bottom: 20px !important;
    }

}

/* =========================================================
   TEKMARKETS
   TERMS & CONDITIONS
   Standalone stylesheet
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --tm-blue: #174d7a;
    --tm-blue-dark: #103b60;
    --tm-orange: #f58220;

    --tm-text: #111827;
    --tm-text-soft: #536276;
    --tm-text-muted: #718096;

    --tm-border: #e5e9ef;
    --tm-border-dark: #d7dde5;

    --tm-bg: #ffffff;
    --tm-bg-soft: #f8fafc;
    --tm-bg-blue: #f5f8fb;
    --tm-bg-orange: #fff8f1;

    --tm-radius-sm: 8px;
    --tm-radius-md: 14px;
    --tm-radius-lg: 20px;

    --tm-shadow:
        0 10px 30px rgba(15, 23, 42, 0.05);

    --tm-container: 1120px;
}


/* =========================================================
   RESET
========================================================= */

.tm-terms-page,
.tm-terms-page * {
    box-sizing: border-box;
}

.tm-terms-page {
    margin: 0;
    padding: 0;

    background: #ffffff;

    color: var(--tm-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.75;

    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   CONTAINER
========================================================= */

.tm-terms-container {
    width: min(
        calc(100% - 40px),
        var(--tm-container)
    );

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.tm-terms-hero {

    padding:
        42px
        0
        58px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    border-bottom:
        1px solid var(--tm-border);
}


.tm-terms-breadcrumb {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 38px;

    color: var(--tm-text-muted);

    font-size: 13px;
}


.tm-terms-breadcrumb a {

    color: var(--tm-blue);

    text-decoration: none;

    font-weight: 600;
}


.tm-terms-breadcrumb a:hover {

    text-decoration: underline;
}


.tm-terms-eyebrow {

    display: inline-flex;

    align-items: center;

    padding:
        6px
        11px;

    margin-bottom: 15px;

    border-radius: 999px;

    background: #eef5fa;

    color: var(--tm-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.tm-terms-hero h1 {

    max-width: 760px;

    margin: 0 0 15px;

    color: var(--tm-text);

    font-size: clamp(
        38px,
        5vw,
        56px
    );

    line-height: 1.08;

    letter-spacing: -0.035em;

    font-weight: 750;
}


.tm-terms-hero-text {

    max-width: 760px;

    margin: 0;

    color: var(--tm-text-soft);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   META
========================================================= */

.tm-terms-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


.tm-terms-meta > div {

    min-width: 170px;

    padding:
        13px
        17px;

    border:
        1px solid var(--tm-border);

    border-radius:
        var(--tm-radius-sm);

    background: #ffffff;
}


.tm-terms-meta span {

    display: block;

    margin-bottom: 2px;

    color: var(--tm-text-muted);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.07em;
}


.tm-terms-meta strong {

    display: block;

    color: var(--tm-text);

    font-size: 13px;

    font-weight: 650;
}


/* =========================================================
   MAIN
========================================================= */

.tm-terms-main {

    padding:
        54px
        0
        90px;

    background: #ffffff;
}


/* =========================================================
   NOTICE
========================================================= */

.tm-terms-notice {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 24px 26px;

    margin-bottom: 30px;

    border:
        1px solid #dce7ef;

    border-left:
        4px solid var(--tm-blue);

    border-radius:
        var(--tm-radius-md);

    background:
        #f8fbfd;
}


.tm-terms-notice-icon {

    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--tm-blue);

    color: #ffffff;

    font-size: 17px;

    font-weight: 800;
}


.tm-terms-notice h2 {

    margin:
        0 0 4px;

    font-size: 16px;

    line-height: 1.4;
}


.tm-terms-notice p {

    margin: 0;

    color: var(--tm-text-soft);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   SUMMARY CARDS
========================================================= */

.tm-terms-summary {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 50px;
}


.tm-terms-summary-card {

    padding: 23px;

    border:
        1px solid var(--tm-border);

    border-radius:
        var(--tm-radius-md);

    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.tm-terms-summary-card:hover {

    transform: translateY(-2px);

    border-color:
        #d5dce4;

    box-shadow:
        var(--tm-shadow);
}


.tm-terms-summary-number {

    display: inline-flex;

    margin-bottom: 14px;

    color: var(--tm-orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.08em;
}


.tm-terms-summary-card h3 {

    margin:
        0 0 7px;

    color: var(--tm-text);

    font-size: 16px;

    line-height: 1.4;
}


.tm-terms-summary-card p {

    margin: 0;

    color: var(--tm-text-soft);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CONTENTS
========================================================= */

.tm-terms-contents {

    padding:
        30px;

    margin-bottom: 58px;

    border:
        1px solid var(--tm-border);

    border-radius:
        var(--tm-radius-lg);

    background:
        var(--tm-bg-soft);
}


.tm-terms-contents-header {

    margin-bottom: 23px;
}


.tm-terms-label {

    display: block;

    margin-bottom: 5px;

    color: var(--tm-orange);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.tm-terms-contents h2 {

    margin: 0;

    color: var(--tm-text);

    font-size: 24px;

    line-height: 1.3;
}


.tm-terms-contents-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px 26px;
}


.tm-terms-contents-grid a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        9px
        0;

    color: var(--tm-text);

    text-decoration: none;

    font-size: 13px;

    border-bottom:
        1px solid transparent;

    transition:
        color 0.2s ease;
}


.tm-terms-contents-grid a:hover {

    color: var(--tm-blue);
}


.tm-terms-contents-grid span {

    color: var(--tm-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.06em;
}


/* =========================================================
   CONTENT
========================================================= */

.tm-terms-content {

    max-width: 900px;

    margin: 0 auto;
}


/* =========================================================
   SECTIONS
========================================================= */

.tm-terms-section {

    padding:
        42px
        0;

    border-top:
        1px solid var(--tm-border);
}


.tm-terms-section:first-child {

    border-top: 0;

    padding-top: 0;
}


.tm-terms-section-heading {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    margin-bottom: 22px;
}


.tm-terms-section-heading > span {

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-top: 2px;

    border-radius:
        10px;

    background:
        #eef5fa;

    color: var(--tm-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.05em;
}


.tm-terms-section-heading h2 {

    margin: 0;

    color: var(--tm-text);

    font-size: 27px;

    line-height: 1.3;

    letter-spacing: -0.02em;
}


.tm-terms-section p {

    margin:
        0 0 18px;

    color: var(--tm-text-soft);

    font-size: 15px;

    line-height: 1.85;
}


.tm-terms-section p:last-child {

    margin-bottom: 0;
}


.tm-terms-section strong {

    color: var(--tm-text);

    font-weight: 650;
}


/* =========================================================
   SUBHEADINGS
========================================================= */

.tm-terms-section h3 {

    margin:
        30px 0 10px;

    color: var(--tm-text);

    font-size: 17px;

    line-height: 1.45;
}


/* =========================================================
   LISTS
========================================================= */

.tm-terms-section ul {

    margin:
        10px 0 22px;

    padding-left: 22px;
}


.tm-terms-section li {

    margin-bottom: 9px;

    padding-left: 5px;

    color: var(--tm-text-soft);

    font-size: 15px;

    line-height: 1.75;
}


.tm-terms-section li::marker {

    color: var(--tm-orange);
}


/* =========================================================
   LINKS
========================================================= */

.tm-terms-section a {

    color: var(--tm-blue);

    font-weight: 650;

    text-decoration:
        underline;

    text-decoration-thickness:
        1px;

    text-underline-offset:
        3px;
}


/* =========================================================
   CALLOUT
========================================================= */

.tm-terms-callout {

    padding:
        21px
        23px;

    margin:
        26px 0;

    border:
        1px solid #dce7ef;

    border-left:
        3px solid var(--tm-blue);

    border-radius:
        var(--tm-radius-md);

    background:
        #f7fafc;
}


.tm-terms-callout strong {

    display: block;

    margin-bottom: 5px;

    color: var(--tm-blue);

    font-size: 14px;
}


.tm-terms-callout p {

    margin: 0;

    font-size: 14px;
}


.tm-terms-callout-orange {

    border-color:
        #f5dfcd;

    border-left-color:
        var(--tm-orange);

    background:
        var(--tm-bg-orange);
}


.tm-terms-callout-orange strong {

    color:
        #c76510;
}


/* =========================================================
   FINAL SECTION
========================================================= */

.tm-terms-final-section {

    padding-bottom: 48px;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.tm-terms-contact-card {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    margin-top: 28px;
}


.tm-terms-contact-card > div {

    padding:
        20px;

    border:
        1px solid var(--tm-border);

    border-radius:
        var(--tm-radius-md);

    background:
        #ffffff;
}


.tm-terms-contact-card span {

    display: block;

    margin-bottom: 6px;

    color: var(--tm-text-muted);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.tm-terms-contact-card a {

    color: var(--tm-blue);

    font-size: 15px;

    text-decoration: none;
}


/* =========================================================
   FINAL NOTE
========================================================= */

.tm-terms-footer-note {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    max-width: 900px;

    margin:
        20px auto 0;

    padding:
        25px;

    border:
        1px solid #dce7ef;

    border-radius:
        var(--tm-radius-md);

    background:
        #f8fbfd;
}


.tm-terms-footer-check {

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background:
        #e8f5ee;

    color:
        #23834b;

    font-weight: 800;
}


.tm-terms-footer-note h3 {

    margin:
        0 0 4px;

    color: var(--tm-text);

    font-size: 16px;
}


.tm-terms-footer-note p {

    margin: 0;

    color: var(--tm-text-soft);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .tm-terms-summary {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .tm-terms-contents-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .tm-terms-container {

        width:
            min(
                calc(100% - 28px),
                var(--tm-container)
            );
    }


    .tm-terms-hero {

        padding:
            28px 0 40px;
    }


    .tm-terms-breadcrumb {

        margin-bottom: 28px;
    }


    .tm-terms-hero h1 {

        font-size: 38px;
    }


    .tm-terms-hero-text {

        font-size: 15px;
    }


    .tm-terms-meta {

        display: grid;

        grid-template-columns:
            1fr;
    }


    .tm-terms-meta > div {

        min-width: 0;
    }


    .tm-terms-main {

        padding:
            35px 0 60px;
    }


    .tm-terms-notice {

        padding:
            20px;

        gap: 13px;
    }


    .tm-terms-summary {

        grid-template-columns:
            1fr;

        margin-bottom: 35px;
    }


    .tm-terms-contents {

        padding:
            22px;

        margin-bottom: 40px;
    }


    .tm-terms-contents-grid {

        grid-template-columns:
            1fr;
    }


    .tm-terms-section {

        padding:
            34px 0;
    }


    .tm-terms-section-heading {

        gap: 12px;

        margin-bottom: 18px;
    }


    .tm-terms-section-heading > span {

        width: 34px;
        height: 34px;
    }


    .tm-terms-section-heading h2 {

        font-size: 23px;
    }


    .tm-terms-section p,
    .tm-terms-section li {

        font-size: 14px;
    }


    .tm-terms-contact-card {

        grid-template-columns:
            1fr;
    }


    .tm-terms-footer-note {

        padding:
            20px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.tm-terms-page a:focus-visible {

    outline:
        3px solid rgba(245, 130, 32, 0.35);

    outline-offset:
        3px;

    border-radius:
        4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tm-terms-page *,
    .tm-terms-page *::before,
    .tm-terms-page *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }

}