@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Tenor Sans', sans-serif;
}

html, body {
    width: 100%;
    min-height: 100%;
}

a {
    text-decoration: none !important;
}

a:hover {
    color: black !important;
}

ul,
ol,
li {
    list-style: none;
}

body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Arial", sans-serif;
    min-height: 100%;
    background-color: #FAFAFB;
}

/* Заголовок */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 12;
    background-color: #FAFAFB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: #FAFAFB;
}

.navbar-brand .title {
    font-size: 20px;
    position: relative;
    z-index: 15;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
}

.navbar-brand .title:hover {
    color: #333;
}

@media (max-width: 767px) {
    .navbar-brand .title {
        font-size: 18px;
    }
}

.nav-link {
    color: black;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-link:hover {
    color: #333;
}

.nav-link:focus, .nav-link:focus-visible, .nav-link:active {
    outline: none !important;
    color: black;
}

.dropdown-menu {
    background-color: #697077;
    border: none;
}

.dropdown-item {
    color: #FAFAFB;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.dropdown-item:hover {
    color: #697077;
}

/* Иконка "бургер" */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Основной контент */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    max-width: 100%;
    background-color: #FAFAFB;
}


.container_index_test {
    padding: 20px 50px;
    margin: 70px auto;
    box-sizing: border-box;
}

/* Блок информации о тесте */
.test_info_block {
    background: linear-gradient(180deg, rgba(195, 196, 197, 0.25) 0%, rgba(94, 94, 95, 0.25) 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 4px 0 #26323826;
}

.test_info_header h1 {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    color: #263238;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px;
}

.test_info_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.test_info_img {
    width: 50%;
    max-height: 300px;
    object-fit: contain;
}

.test_info_content {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.test_info_list {
    padding: 0;
    margin: 30px 0;
}

.test_info_list li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #263238;
    margin-bottom: 30px;
    padding-left: 34px;
    position: relative;
    display: flex;
    align-items: center;
}

.test_info_list li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: url('/images/icons/li-icon.png') no-repeat center;
    background-size: contain;
}

.button_start {
    width: 255px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #263238;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #263238;
    background: transparent;
    transition: background 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.button_start:hover, .go-test-button-modal:hover {
    background: linear-gradient(180deg, rgba(150, 151, 152, 0.4) 0%, rgba(50, 50, 51, 0.4) 100%);
}

/* Раздел описания */
.description-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 70px 0 40px;
}

.test-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #263238;
    width: 70%;
    margin-right: 20px;
    margin-top: 6rem;
}

.test-description p {
    margin-bottom: 15px;
}

.description-image {
    width: 25%;
    display: flex;
    justify-content: flex-end;
}

.description-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Раздел статей */
.articles-section h3 {
    font-weight: 400;
    font-size: 25px;
    line-height: 25px;
    text-align: center;
    color: #263238;
    margin-bottom: 20px;
}

.article {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #263238;
    margin-bottom: 5rem;
}

/* Аккордеон */
.accordion-section {
    margin: 0 auto;
}

.accordion-title {
    font-weight: 400;
    font-size: 25px;
    line-height: 25px;
    text-align: center;
    color: #263238;
    margin: 3rem 0 20px;
}

.accordion-button:not(.collapsed) {
    color: #263238;
    background: linear-gradient(180deg, rgba(195, 196, 197, 0.25) 0%, rgba(94, 94, 95, 0.25) 100%) !important;
}


/* Модальное окно */
.modal-content {
    background-color: #FAFAFB;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.modal-body .h2 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 24px;
    color: #263238;
}

.test_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.test_info_list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #263238;
    margin-bottom: 15px;
}

.go-test-button-modal {
    width: 255px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #263238;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #263238;
    background: transparent;
    transition: background 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.test_info_list_modal li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #263238;
    margin-bottom: 30px;
    padding-left: 34px;
    position: relative;
    display: flex;
    align-items: center;
}

/* Подвал */
.footer {
    background-color: #FAFAFB;
}

.footer a {
    font-family: Montserrat sans-serif;
    color: #263238 !important;
    font-weight: 400;
    font-size: 15px;
    line-height: 14px;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .container_index_test {
        padding: 15px;
        margin: 50px auto;
    }

    .test_info_header h1 {
        font-size: 20px;
        line-height: 28px;
    }

    .test_info_inner {
        flex-direction: column;
        padding: 15px;
    }

    .test_info_img {
        width: 100%;
        max-height: 200px;
        margin-bottom: 20px;
    }

    .test_info_content {
        width: 100%;
        align-items: center;
    }

    .test_info_list li {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .test_info_list_modal {
        padding-left: 0;
    }

    .test_info_list_modal li {
        font-size: 15px;
        margin-bottom: 20px;
        padding-left: 0;
    }

    .button_start {
        width: 180px;
        height: 40px;
        font-size: 10px;
    }

    .description-section {
        flex-direction: column;
        align-items: center;
        margin: 50px 0 30px;
    }

    .test-description {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
        margin-top: 1rem;
    }

    .description-image {
        display: none;
    }

    .articles-section h3, .accordion-title {
        font-size: 20px;
        line-height: 24px;
    }

    .article {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 3rem;
    }

    .modal-body .h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .test_info_header h1 {
        font-size: 18px;
        line-height: 25px;
    }

    .test_info_list li {
        font-size: 13px;
    }

    .test-description {
        font-size: 14px;
        line-height: 18px;
    }

    .articles-section h3, .accordion-title {
        font-size: 18px;
        line-height: 22px;
    }
}

/* Таймер и номер вопроса */
.timer-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#timer {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #263238;
}

.question-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #263238;
}

/* Контент теста */
.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.test-content {
    border: 2px solid #263238;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Вопрос */
.test-question {
    margin-bottom: 20px;
    width: 100%;
}

.exercise {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 24px;
    color: #263238;
    text-align: center;
    margin-bottom: 20px;
}

.question-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Форма ответов */
.answer-form {
    width: 100%;
}

.answer-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.answer-option:hover {
    background: rgba(150, 151, 152, 0.2);
}

.answer-image img {
    max-width: 100px;
    height: auto;
    object-fit: contain;
}

.answer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 24px;
    color: #263238;
}

/* Макет: Вопрос с картинкой слева, текстовые ответы справа */
.layout-q-left-a-right-text {
    flex-direction: row;
    justify-content: space-between;
}

.layout-q-left-a-right-text .test-question {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-q-left-a-right-text .exercise {
    order: 1;
    margin-bottom: 30px;
}

.layout-q-left-a-right-text .question-image {
    order: 2;
}

.layout-q-left-a-right-text .question-image img {
    width: 410px;
    height: 295px;
    border: 4px solid #C3C4C5;
    border-radius: 5px;
}

.layout-q-left-a-right-text .answer-form {
    width: 45%;
}

.layout-q-left-a-right-text .answer-container {
    flex-direction: column;
    align-items: flex-start;
}

.layout-q-left-a-right-text .answer-option {
    border: none;
    position: relative;
    padding-left: 60px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.layout-q-left-a-right-text .answer-option input[type="radio"] {
    display: none;
}

.layout-q-left-a-right-text .answer-option::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/icons/radio-off-icon.png') no-repeat center;
    background-size: 20px 20px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.layout-q-left-a-right-text .answer-option input[type="radio"]:checked + .answer-text::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/icons/radio-on-icon.png') no-repeat center;
    background-size: 20px 20px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.layout-q-left-a-right-text .answer-text::before {
    content: none;
}

.layout-q-left-a-right-text .answer-text {
    text-align: left;
    flex-grow: 1;
}

/* Макет: Вопрос без картинки по центру, текстовые ответы в столбик */
.layout-q-center-a-column {
    flex-direction: column;
}

.layout-q-center-a-column .test-question {
    width: 100%;
    text-align: center;
}

.layout-q-center-a-column .answer-form {
    width: 100%;
    display: flex;
    justify-content: center;
}

.layout-q-center-a-column .answer-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: auto;
}

.layout-q-center-a-column .answer-option {
    border: none;
    position: relative;
    padding-left: 60px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.layout-q-center-a-column .answer-option input[type="radio"] {
    display: none;
}

.layout-q-center-a-column .answer-option::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/icons/radio-off-icon.png') no-repeat center;
    background-size: 20px 20px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.layout-q-center-a-column .answer-option input[type="radio"]:checked + .answer-text::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/icons/radio-on-icon.png') no-repeat center;
    background-size: 20px 20px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.layout-q-center-a-column .answer-text::before {
    content: none;
}

.layout-q-center-a-column .answer-text {
    text-align: left;
    flex-grow: 1;
}

/* Макет: Вопрос с картинкой слева, картинки ответов справа в сетке */
.layout-q-left-a-right-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.layout-q-left-a-right-grid .test-question {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-q-left-a-right-grid .exercise {
    order: 1;
    margin-bottom: 30px;
}

.layout-q-left-a-right-grid .question-image {
    order: 2;
}

.layout-q-left-a-right-grid .question-image img {
    width: 410px;
    height: 295px;
    border: 4px solid #C3C4C5;
    border-radius: 5px;
}

.layout-q-left-a-right-grid .answer-form {
    margin-top: 90px;
    width: 45%;
    display: flex;
    justify-content: center;
}

.layout-q-left-a-right-grid .answer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.layout-q-left-a-right-grid .answer-option {
    padding: 0;
    border: 2px solid #C3C4C5;
    border-radius: 5px;
    max-width: 204px;
    max-height: 204px;
}

.layout-q-left-a-right-grid .answer-image img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.layout-q-left-a-right-grid .answer-option input[type="radio"] {
    display: none;
}

/* Кнопка "Назад" */
.back-button {
    width: 400px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid #263238;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #263238;
    background: transparent;
    transition: background 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    cursor: pointer;
}

.back-button:hover {
    background: linear-gradient(180deg, rgba(150, 151, 152, 0.4) 0%, rgba(50, 50, 51, 0.4) 100%);
}

/* Кнопка "Вернуться на главную" */
.return-button {
    width: 400px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid #263238;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #FAFAFB;
    background: #263238;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
}

.return-button:hover {
    background: #555;
    color: #FAFAFB;
    border-color: #555;
}

/* Спиннер загрузки */
.spinner {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
    padding: 20px;
    border-radius: 10px;
}

.spinner-icon {
    width: 40px;
    height: 40px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Кастомное уведомление */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.custom-alert-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.custom-alert-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #263238;
    margin: 0 0 20px 0;
}

.custom-alert-button {
    width: 100px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #263238;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #263238;
    background: transparent;
    transition: background 0.3s ease;
    cursor: pointer;
}

.custom-alert-button:hover {
    background: #f0f0f0;
}

/* Страница результатов */
.result-header {
    width: 100vw;
    min-height: 447px;
    background: linear-gradient(180deg, rgba(195, 196, 197, 0.25) 0%, rgba(94, 94, 95, 0.25) 100%);
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 4px 0 #26323826;
}

.result-header h1 {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 46px;
    text-transform: uppercase;
    color: #263238;
    text-align: center;
    margin-bottom: 15px;
}

.result-header h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    color: #263238;
    margin: 5px 0;
}

.result-header .iq-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #263238;
    text-align: center;
    margin: 5px 0;
}

.result-image {
    max-width: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.result-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px 50px;
    color: #263238;
}

.result-content h2 {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 38px;
    text-transform: uppercase;
    color: #263238;
    margin-bottom: 20px;
}

.result-content h2.recommendations-header {
    font-size: 24px;
    line-height: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.result-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.restart-form {
    text-align: center;
    margin: 40px 0;
}

.restart-button {
    width: 255px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #263238;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #263238;
    background: transparent;
    transition: background 0.3s ease;
    cursor: pointer;
}

.restart-button:hover {
    background: linear-gradient(180deg, rgba(150, 151, 152, 0.4) 0%, rgba(50, 50, 51, 0.4) 100%);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container_index_test {
        padding: 20px 30px;
    }

    .test-header {
        flex-direction: column;
        gap: 10px;
    }

    .timer-wrapper, .question-number {
        font-size: 14px;
    }

    .timer-icon {
        width: 20px;
        height: 20px;
    }

    .back-button, .return-button {
        width: 300px;
        height: 45px;
        font-size: 11px;
    }

    .result-header {
        min-height: 400px;
    }

    .result-header h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .result-header h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .result-header .iq-score {
        font-size: 18px;
    }

    .result-image {
        max-width: 250px;
    }

    .result-content {
        padding: 20px 30px;
    }

    .result-content h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .result-content h2.recommendations-header {
        font-size: 22px;
        line-height: 26px;
    }
}

@media (max-width: 768px) {
    .container_index_test {
        padding: 15px;
        margin: 50px auto;
    }

    .test-content {
        flex-direction: column;
        align-items: center;
        min-height: 100%;
    }

    .test-question {
        width: 100%;
    }

    .answer-text {
        font-size: 16px;
        line-height: 20px;
    }

    .back-button, .return-button {
        width: 100%;
        max-width: 300px;
        height: 40px;
        font-size: 10px;
        margin: 20px auto;
    }

    .layout-q-left-a-right-text, .layout-q-left-a-right-grid {
        flex-direction: column;
    }

    .layout-q-left-a-right-text .test-question, .layout-q-left-a-right-grid .test-question {
        width: 100%;
    }

    .layout-q-left-a-right-text .question-image img, .layout-q-left-a-right-grid .question-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-width: 2px;
    }

    .layout-q-left-a-right-text .answer-form, .layout-q-left-a-right-grid .answer-form {
        width: 100%;
        margin-top: 0;
    }

    .layout-q-left-a-right-text .answer-option, .layout-q-center-a-column .answer-option {
        padding-left: 40px;
    }

    .layout-q-left-a-right-text .answer-option::before,
    .layout-q-left-a-right-text .answer-option input[type="radio"]:checked + .answer-text::before,
    .layout-q-center-a-column .answer-option::before,
    .layout-q-center-a-column .answer-option input[type="radio"]:checked + .answer-text::before {
        width: 16px;
        height: 16px;
        background-size: 16px 16px;
        left: 8px;
    }

    .layout-q-left-a-right-grid .answer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .layout-q-left-a-right-grid .answer-option {
        max-width: 80px;
        max-height: 80px;
        border-width: 1px;
    }

    .layout-q-left-a-right-grid .answer-image img {
        max-width: 78px;
        max-height: 78px;
    }

    .result-header {
        min-height: 350px;
        margin-top: 50px;
        padding: 15px;
    }

    .result-header h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .result-header h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .result-header .iq-score {
        font-size: 18px;
    }

    .result-image {
        max-width: 200px;
    }

    .result-content {
        padding: 15px;
    }

    .result-content h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .result-content h2.recommendations-header {
        font-size: 20px;
        line-height: 24px;
    }

    .restart-button {
        width: 200px;
        height: 40px;
        font-size: 10px;
    }

    .custom-alert-content {
        width: 90%;
        padding: 15px;
    }

    .custom-alert-content p {
        font-size: 12px;
    }

    .custom-alert-button {
        width: 80px;
        height: 35px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .container_index_test {
        margin: 49px auto;
        padding: 17px;
    }

    .timer-wrapper, .question-number {
        font-size: 12px;
    }

    .timer-icon {
        width: 16px;
        height: 16px;
    }

    .answer-text {
        font-size: 14px;
        line-height: 18px;
    }

    .back-button, .return-button {
        max-width: 200px;
        height: 35px;
        font-size: 9px;
        margin: 15px auto;
    }

    .layout-q-left-a-right-text .question-image img, .layout-q-left-a-right-grid .question-image img {
        max-width: 200px;
    }

    .layout-q-left-a-right-text .answer-option, .layout-q-center-a-column .answer-option {
        padding-left: 30px;
    }

    .layout-q-left-a-right-text .answer-option::before,
    .layout-q-left-a-right-text .answer-option input[type="radio"]:checked + .answer-text::before,
    .layout-q-center-a-column .answer-option::before,
    .layout-q-center-a-column .answer-option input[type="radio"]:checked + .answer-text::before {
        width: 14px;
        height: 14px;
        background-size: 14px 14px;
        left: 6px;
    }

    .layout-q-left-a-right-grid .answer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .layout-q-left-a-right-grid .answer-option {
        max-width: 60px;
        max-height: 60px;
    }

    .layout-q-left-a-right-grid .answer-image img {
        max-width: 58px;
        max-height: 58px;
    }

    .result-header h1 {
        font-size: 20px;
        line-height: 24px;
    }

    .result-header h3 {
        font-size: 18px;
        line-height: 22px;
    }

    .result-header .iq-score {
        font-size: 16px;
    }

    .result-image {
        max-width: 150px;
    }

    .result-content h2 {
        font-size: 20px;
        line-height: 24px;
    }

    .result-content h2.recommendations-header {
        font-size: 18px;
        line-height: 22px;
    }

    .result-content p {
        font-size: 12px;
        line-height: 18px;
    }

    .restart-button {
        width: 180px;
        height: 35px;
        font-size: 9px;
    }
}

.article ul li {
    list-style: disc ;
}

.article ol li{
    list-style: decimal;
}

.result-content ul li {
    list-style: disc ;
}

.result-content ol li{
    list-style: decimal;
}

