/* ─────────────────────────────────────────
   TERMS & CONDITIONS PAGE STYLES — terms.css
   ───────────────────────────────────────── */

:root {
    --terms-bg: #ffffff;
    --terms-fg: #333333;
    --terms-primary: #c8102e;
    --terms-primary-fg: #ffffff;
    --terms-secondary: #0082c3;
    --terms-secondary-fg: #ffffff;
    --terms-muted: #f9f9f9;
    --terms-muted-fg: #666666;
    --terms-border: #e0e0e0;
    --terms-radius-sm: 4px;
    --terms-radius-md: 8px;
    --budli-pink: #cc497c;
}

/* ─── SEARCH SECTION ─── */
.search-section {
    background-color: var(--terms-secondary);
    padding: 24px 0;
    display: flex;
    justify-content: center;
}

.search-wrapper {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: var(--terms-radius-sm);
    display: flex;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
}

.search-btn {
    width: 48px;
    background: var(--terms-primary);
    border-radius: var(--terms-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    transition: background .2s;
}

.search-btn:hover {
    background: #a00d25;
}

/* ─── HEADER & CONTENT ─── */
.terms-page-header {
    padding-top: 40px;
    padding-bottom: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.terms-page-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.terms-page-header .breadcrumbs {
    font-size: 14px;
    color: var(--budli-pink);
}

.terms-page-header .breadcrumbs a {
    color: var(--budli-pink);
    text-decoration: none;
}

.terms-page-header .breadcrumbs span {
    color: var(--budli-pink);
}

.terms-divider {
    max-width: 1360px;
    width: calc(100% - 40px);
    margin: 0 auto 40px auto;
    border: 0;
    border-top: 1px solid #eaeaea;
}

.content-narrow {
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.content-narrow p {
    margin-bottom: 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.content-narrow h4,
.content-narrow .section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 16px;
    color: #111;
}

.content-narrow strong {
    font-weight: 600;
    color: #111;
}

/* Table of Contents Styles */
.toc-list {
    list-style: none;
    margin-bottom: 40px;
    padding-left: 0;
}

.toc-item {
    color: var(--budli-pink);
    font-size: 15px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: opacity .15s, transform .2s;
    display: block;
    width: fit-content;
}

.toc-item:hover {
    opacity: .75;
    transform: translateX(4px);
}

/* List Styles */
.content-narrow ol,
.content-narrow ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-narrow li {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.content-narrow a, .content-narrow span[style*="color"] {
    color: var(--budli-pink) !important;
}

.sub-list-alpha {
    list-style-type: lower-alpha;
    margin-top: 12px !important;
}

.sub-list-roman {
    list-style-type: lower-roman;
    margin-top: 12px !important;
}

/* ─── SECTIONS ─── */
.section-v2 {
    padding: 64px 0;
    background: white;
}

.section-bg-light-v2 {
    background-color: var(--terms-muted);
}

.section-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.section-title-v2 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
}

.section-subtitle-v2 {
    font-size: 14px;
    color: var(--terms-muted-fg);
    margin-top: 8px;
}

.nav-arrows-v2 {
    display: flex;
    gap: 8px;
}

.nav-arrow-v2 {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
    background: var(--terms-primary);
    color: white;
    transition: opacity .2s;
}

.nav-arrow-v2:hover {
    opacity: 0.9;
}

.nav-arrow-v2.disabled {
    background: #e0e0e0;
    color: #999;
}

/* ─── REVIEWS ─── */
.carousel-viewport-v2 {
    overflow: hidden;
}

.review-track-v2 {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.review-card-v2 {
    background: white;
    border: 1px solid var(--terms-border);
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    position: relative;
    flex: 0 0 calc((100% - 48px) / 3);
}

.review-quote-mark-v2 {
    position: absolute;
    font-size: 64px;
    color: #f0f0f0;
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.review-text-v2 {
    font-size: 14px;
    color: #333;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.reviewer-info-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.reviewer-avatar-v2 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name-v2 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.stars-v2 {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

/* ─── VIDEOS ─── */
.video-grid-v2 {
    display: flex;
    gap: 24px;
}

.video-card-v2 {
    border-radius: var(--terms-radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 calc((100% - 48px) / 3);
}

.video-play-v2 {
    width: 56px;
    height: 56px;
    background: var(--terms-primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    position: absolute;
    transition: transform .2s;
}

.video-card-v2:hover .video-play-v2 {
    transform: scale(1.1);
}

.video-bg-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform .3s;
}

.video-card-v2:hover .video-bg-v2 {
    transform: scale(1.05);
}

.video-title-v2 {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── SPOTLIGHT & AWARDS ─── */
.logos-grid-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    gap: 40px;
}

.awards-grid-v2 {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 32px 0;
    align-items: center;
}

.dots-v2 {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d9d9;
    cursor: pointer;
    transition: background .2s;
}

.dot.active {
    background: var(--terms-secondary);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {

    .review-card-v2,
    .video-card-v2 {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .section-header-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .review-card-v2,
    .video-card-v2 {
        flex: 0 0 100%;
    }

    .logos-grid-v2 {
        flex-direction: column;
        gap: 32px;
    }

    .awards-grid-v2 {
        flex-direction: column;
        gap: 32px;
    }

    .content-narrow {
        padding: 0 24px;
    }
}