/* ==========================================================================
   TNB TERMS OF SERVICE SECTION
   ========================================================================== */
.tnb-terms-section {
    padding: 80px 0 120px 0;
    background-color: #F8FAFD;
}

/* --- Layout Grid --- */
.tnb-terms-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* --- Sticky Sidebar (Table of Contents) --- */
.tnb-terms-sidebar {
    flex: 0 0 300px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 35px 30px;
    border: 1px solid #EAEFEF;
    box-shadow: 0 10px 30px rgba(20, 36, 65, 0.04);
    position: sticky;
    top: 100px;
}

.tnb-terms-sidebar h4 {
    color: #142441;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Arimo', sans-serif;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EAEFEF;
}

.tnb-terms-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tnb-terms-sidebar ul li {
    margin-bottom: 15px;
}

.tnb-terms-sidebar ul li a {
    color: #6B778C;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tnb-terms-sidebar ul li a::before {
    content: "\f105";
    /* Angle right icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #D2DCE9;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tnb-terms-sidebar ul li a:hover,
.tnb-terms-sidebar ul li a.active {
    color: #3764EB;
    padding-left: 5px;
}

.tnb-terms-sidebar ul li a:hover::before,
.tnb-terms-sidebar ul li a.active::before {
    color: #3764EB;
}

/* --- Main Content Area --- */
.tnb-terms-content {
    flex: 1;
    min-width: 0;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 50px 60px;
    border: 1px solid #EAEFEF;
    box-shadow: 0 10px 30px rgba(20, 36, 65, 0.04);
}

.tnb-terms-update {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(20, 36, 65, 0.05);
    color: #142441;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Typography Content */
.tnb-terms-block {
    margin-bottom: 45px;
}

.tnb-terms-block:last-child {
    margin-bottom: 0;
}

.tnb-terms-block h3 {
    color: #142441;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Arimo', sans-serif;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tnb-terms-block h3 i {
    color: #3764EB;
    font-size: 20px;
}

.tnb-terms-block p {
    color: #6B778C;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.tnb-terms-block ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.tnb-terms-block ul li {
    color: #6B778C;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.tnb-terms-block ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #3764EB;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 10px;
}

/* Responsiveness */
@media (max-width: 991px) {
    .tnb-terms-wrapper {
        flex-direction: column;
    }

    .tnb-terms-sidebar {
        flex: 1 1 100%;
        width: 100%;
        position: relative;
        top: 0;
    }

    .tnb-terms-content {
        padding: 40px 30px;
    }
}