html {
  scroll-behavior: smooth;
}

/* 1. DEFAULT STATE (When not active, not hovered) */
.menu-links .tn-atom__button-text {
    color: #ffffff !important; /* Forces text to be white by default */
    transition: all 0.3s ease;
}

.menu-links .tn-atom {
    background-color: transparent !important; /* Or whatever your default is */
    border: 1px solid #ffffff !important;
}

/* 2. ACTIVE STATE (Current Page) */
.menu-links.active .tn-atom__button-text {
    color: #004aad !important; /* Blue text when on this page */
}

.menu-links.active .tn-atom {
    background-color: #ffffff !important; /* White background when on this page */
    border: 1px solid #ffffff !important;
}

/* 3. HOVER STATE (Optional: what happens when you mouse over) */
.menu-links:hover .tn-atom {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color:#fff;
}

/* Your existing program block logic */
/* 1. DEFAULT STATE (When not active, not hovered) */
.menu-links .tn-atom__button-text {
    color: #ffffff !important; /* Forces text to be white by default */
    transition: all 0.3s ease;
}

.menu-links .tn-atom {
    background-color: transparent !important; /* Or whatever your default is */
    border: 1px solid #ffffff !important;
}

/* 2. ACTIVE STATE (Current Page) */
.menu-links.active .tn-atom__button-text {
    color: #004aad !important; /* Blue text when on this page */
}

.menu-links.active .tn-atom {
    background-color: #ffffff !important; /* White background when on this page */
    border: 1px solid #ffffff !important;
}

/* 3. HOVER STATE (Optional: what happens when you mouse over) */
.menu-links:hover .tn-atom {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color:#fff;
}

/* Your existing program block logic */
#rec1949284963 .t450__right_langs_lang a,
#rec1949250583 .t450__right_langs_lang a,
#rec1895255533 .t450__right_langs_lang a {
    color: #ffffff;
    font-family: Arial, Tahoma !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 28px;
    border:3px solid #fff;
    border-radius:50%;
    padding: 12px 7px;
}

#rec1895255533 .t450__right_langs_lang a {
    color: #ffffff;
    font-family: Arial, Tahoma !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 28px;
}
details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

summary {
    background-color: #f2f2f2;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

details[open] summary {
    background-color: #e3f2fd;
    /* Светло-синий для бренда Probilim */
}

.faq-content {
    padding: 10px;
    background-color: #fff;
}

.cta {
    color: #007bff;
    /* Синий CTA */
    font-weight: bold;
}

@media (max-width: 600px) {
    summary {
        font-size: 14px;
    }
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

caption {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 600px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

}