.LearnersTitle {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.LearnersBlockContainer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 32px;
    padding-top: 80px;
    font-family: 'Open Sans';
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 2px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.LearnersCategoryBlocks {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
}

.LearnersCategoryBlock {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 2px solid rgba(223, 228, 234, 1);
    width: 100%;
    padding: 50px;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    border-radius: 24px;
    max-height: 180px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

/* Декоративный кружок */
.LearnersCategoryBlock::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--circle-bg, gray);
    background-image: var(--icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    z-index: 1;
}

.LearnersIconContainer > button {
    border-style: none;
    cursor: pointer;
    padding: 0;
    background: none;
}

.LearnersFile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: rgba(28, 28, 30, 1);
    border: 1px solid rgba(223, 228, 234, 1);
}

.LearnersIconContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.LearnersFile p {
    padding: 0;
    margin: 0;
}

/* ==================== ДОБАВЛЯЕМ АДАПТИВНОСТЬ ==================== */

/* 1) При ширине экрана до 992px (например, планшеты)
   позволяем кнопкам категорий переноситься и занимать по 50% ширины,
   чтобы они не слипались при узком экране */
@media (max-width: 992px) {
    .LearnersCategoryBlocks {
        flex-wrap: wrap;              /* Разрешаем перенос */
        justify-content: center;      /* Центрируем при переносе */
        gap: 16px;                    /* Можно чуть уменьшить отступ */
    }
    .LearnersCategoryBlock {
        flex: 1 1 calc(50% - 16px);   /* Две кнопки в строке (50% ширины) */
        max-width: calc(50% - 16px);
    }
}

/* 2) При ещё более узких экранах — до 576px (смартфоны)
   делаем каждую кнопку во всю ширину */
@media (max-width: 576px) {
    .LearnersCategoryBlock {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 30px;
        padding: 88px 0 56px 0;
        font-size: 18px;
        margin-top: 36px;
    }
    .LearnersCategoryBlock::before {
        width: 80px;
        height: 80px;
        top: -40px;
        background-size: 40px, cover; /* иконка становится чуть меньше */
    }
}
