/* Стили для страницы категории */

/* Вкладки */
.tabs {
    margin-bottom: 2rem;
}

.tabs ul {
    border-bottom: 2px solid var(--border);
}

.tabs li.is-active a {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tabs a {
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tabs a:hover {
    border-bottom-color: var(--primary);
    background-color: var(--surface);
}

/* Контент вкладок */
.tab-content {
    min-height: 50px;
}

.section {
    padding: 0 !important;
    margin: 0.5rem 0 !important;
}

.tab-pane {
    display: none;
}

.tab-pane.is-active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Список профессий */
.profession-list {
    border-radius: 12px;
    overflow: hidden;
}

.profession-item {
    background: var(--surface);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.profession-item:hover {
    background-color: var(--primary);
    transform: translateX(5px);
}

.profession-item:hover span:not(.icon) {
    color: white !important;
}

.profession-item:hover .has-text-grey {
    color: rgba(255, 255, 255, 0.8) !important;
}

.profession-item:hover .icon {
    color: white !important;
    transform: translateX(3px);
}

.profession-item .icon {
    transition: all 0.3s ease;
}



.description-content div {
    margin-bottom: 1rem;
}


/* Тени и анимации */
.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rostekhnadzor-tests h2 {
    font-size: 1rem;
    margin: 0 0 0.4rem !important;
    color: var(--test-heading-color, #040071);
    text-align: center;
}

.rostekhnadzor-tests p {
    margin: 0 0 0.4rem !important;
}

.tab-pane h2 {
    font-size: 2rem;
    margin: 0 0 0.4rem !important;
    color: var(--test-heading-color, #040071);
    text-align: center;
}

.tab-pane h3 {
    font-size: 2rem;
    margin: 0 0 0.4rem !important;
    color: var(--test-heading-color, #040071);
    text-align: center;
}

.tab-pane p {
    margin: 0 0 0.4rem !important;
}

.tab-pane ul,
.tab-pane ol {
    margin: 0 !important;
}

.tab-pane li {
    margin: 0 0 0 0.4rem !important;
}

.rostekhnadzor-tests li {
    margin: 0 0 0 0.4rem !important;
}

.tab-pane p {
    margin: 0 0 0.4rem !important;
}

.rostekhnadzor-tests ul {
    margin: 0 !important;

}

.rostekhnadzor-tests li {
    margin: 0 0 0 0.4rem !important;
}

.course-description {
    margin: 0 0 0.5rem 0 !important;
}

.p-5 {
    padding: 0.5rem 1.5rem !important;
}




/* Для светлой темы */
[data-theme="light"] {
    --test-heading-color: #040071;
}

/* Для темной темы */
[data-theme="dark"] {
    --test-heading-color: #6ba6ff;
    /* Более светлый синий для темной темы */
}

/* Адаптивность */
@media (max-width: 768px) {
    .tabs {
        font-size: 0.9rem;
    }

    .tabs .icon {
        display: none;
    }

    .profession-item {
        padding: 0.5rem !important;
    }

    .profession-item span.is-size-4 {
        font-size: 1.1rem !important;
    }

    .description-content {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .tabs li span {
        font-size: 0.7rem !important;
    }

    .tabs.is-boxed li a {
        padding: 0.5rem 1rem !important;
    }

    .tabs li span {
        font-size: 0.7rem !important;
    }

    .tabs.is-boxed li a {
        padding: 0.5rem 0.6rem !important;
        /* Уменьшаем отступы */
    }

    .is-size-5 {
        font-size: 0.9rem !important;
    }

    .shadow-lg {
        padding: 0 !important;
    }

    .rostekhnadzor-tests h2 {
        font-size: 1rem;
    }

    .course-overview h2 {
        font-size: 1rem;
    }

    .rostekhnadzor-tests p {
        font-size: 0.7rem;
    }

    .rostekhnadzor-tests li {
        font-size: 0.6rem;
    }

    .tab-pane h2 {
        font-size: 1rem;

    }

    .tab-pane h3 {
        font-size: 1rem;

    }

    .tab-pane p {
        font-size: 0.7rem;
    }

    .tab-pane li {
        font-size: 0.6rem;
    }
}

/* Разделители */
hr {
    background-color: var(--border);
    margin: 0;
}

/* Иконки */
.icon i {
    font-style: normal;
}