/* ===== Terms Banner Section ===== */
.termsBanner-section {
    padding: 70px 0 60px;
    background: var(--banner-gradient);
    text-align: center;
}
.termsBanner-section h1 {
    font-family: var(--font-heading);
    font-size: var(--fs-6xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    color: var(--color-heading);
    margin-bottom: 12px;
}
.termsBanner-section p {
    font-family: var(--font-primary);
    font-size: var(--fs-md);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== Terms Page Section ===== */
.termsPage {
    padding: 60px 0 80px;
}
.body_Main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ===== Table of Contents Sidebar ===== */
.toc {
    position: sticky;
    top: 100px;
    min-width: 280px;
    max-width: 280px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.toc_head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-card-border);
}
.toc_head p {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--color-heading);
    margin: 0;
}
.toc_links {
    padding: 8px 0;
}
.toc_list_ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Active Indicator Arrow */
.activeShower {
    position: absolute;
    left: 10px;
    top: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.3s ease;
    z-index: 1;
    pointer-events: none;
}
.activeShower svg {
    width: 10px;
    height: 10px;
}

/* ToC List Items */
.toc_list_ul li {
    position: relative;
}
.toc_list_ul li a.toc_list_Item {
    display: block;
    padding: 2px 33px;
    margin: 12px 0;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    line-height: 1.5;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
}
.toc_list_ul li a.toc_list_Item:hover {
    color: var(--color-primary);
}
.toc_list_ul li.active a.toc_list_Item {
    color: var(--color-primary);
    font-weight: var(--fw-medium);
}

/* ===== Main Content Area ===== */
.content_Main {
    flex: 1;
    min-width: 0;
}
.topContent {
    padding: 20px 28px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}
.topContent p {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    margin: 0;
}

/* Content Sections */
.content.element-title {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-card-border);
}
.content.element-title:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.content.element-title h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-heading);
    color: var(--color-heading);
    margin-bottom: 16px;
}
.content.element-title p {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    margin-bottom: 14px;
}
.content.element-title p:last-child {
    margin-bottom: 0;
}
.content.element-title ul {
    padding-left: 6px;
    margin: 16px 0;
    list-style: none;
}
.content.element-title ul li {
    position: relative;
    padding-left: 18px;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    margin-bottom: 14px;
}
.content.element-title ul li:last-child {
    margin-bottom: 0;
}
.content.element-title p strong {
    color: #35414B;
    font-weight: 600;
    font-size: 15px;
}
.content.element-title ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}
.content.element-title ul li strong {
    color: var(--color-heading);
    font-weight: var(--fw-medium);
}

/* Nested Lists */
.content.element-title ul ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .body_Main {
        gap: 30px;
    }
    .toc {
        min-width: 240px;
        max-width: 240px;
    }
}

@media (max-width: 767px) {
    .termsBanner-section {
        padding: 40px 0 30px;
    }
    .termsBanner-section h1 {
        font-size: var(--fs-2xl);
        line-height: var(--lh-heading);
    }
    .termsBanner-section p {
        font-size: var(--fs-sm);
    }
    .termsPage {
        padding: 40px 0 50px;
    }
    .body_Main {
        flex-direction: column;
        gap: 24px;
    }
    .toc {
        position: static;
        min-width: 100%;
        max-width: 100%;
    }
    .content.element-title {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .content.element-title h2 {
        font-size: var(--fs-xl);
    }
    .topContent {
        padding: 16px 20px;
        margin-bottom: 24px;
    }
}

@media (max-width: 575px) {
    .termsBanner-section h1 {
        font-size: var(--fs-xl);
    }
    .toc_list_ul li a.toc_list_Item {
        font-size: 13px;
        padding: 8px 20px 8px 32px;
    }
}
