/* =========================================================
Education — мобильная версия
========================================================= */


.education {
    width: 100%;
}


.education-container {
    width: 335px;

    margin: 0 auto;
    padding: 28px 0 0;
}


/* =====================================================
   Заголовок
   ===================================================== */

.education-head {
    padding-bottom: 16px;
}


.education-heading {
    margin: 0 0 12px;
    padding-bottom: 8px;

    font-size: 27px;
    font-weight: 500;
    line-height: 1;
}


.education-heading::after {
    width: 44px;
    height: 1px;
}


.education-subtitle {
    width: 260px;

    font-size: 11px;
    line-height: 1.45;
}


/* =====================================================
   Список курсов
   ===================================================== */

.education-list {
    display: block;

    margin: 0;
}


/* Убираем десктопную центральную линию и точку */

.education-list::after,
.education-list::before {
    display: none;
}


/* =====================================================
   Карточка
   ===================================================== */

.education-item,
.education-item:first-child,
.education-item:last-child {
    display: grid;

    grid-template-columns: 125px 1fr;
    grid-template-rows: auto auto auto;

    min-height: 0;

    margin-bottom: 6px;
    padding: 17px 14px 17px 10px;

    border-radius: 7px;

    background: var(--cream-300);
}


/* =====================================================
   Номер
   ===================================================== */

.education-number {
    grid-column: 1;
    grid-row: 1 / 4;

    align-self: start;

    margin: 4px 0 0;

    font-family: "Bodoni MT", "Times New Roman", serif;
    font-size: 66px;
    font-weight: 400;
    line-height: .9;

    color: var(--cream-500);
}


/* =====================================================
   Уровень
   ===================================================== */

.education-level {
    grid-column: 2;
    grid-row: 1;

    margin: 0 0 7px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 500;
    line-height: 1;

    text-transform: uppercase;
}


/* =====================================================
   Название
   ===================================================== */

.education-title {
    height: auto;
    
    grid-column: 2;
    grid-row: 2;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.17;
}


/* На мобильном не нужна */

.education-title-line {
    display: none;
}


/* Описание и характеристики скрываем */

.education-description,
.education-details {
    display: none;
}

    /* =====================================================
       Подробнее ->
       ===================================================== */

.education-more {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    
    margin-top: 17px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--gold);

    text-decoration: none;
    color: var(--gold);

    font-size: 10px;
    line-height: 1;    
}

.education-arrow {
    display: block;
    width: 25px;
    height: 8px;

    background-image: url('../../images/base/arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    flex-shrink: 0;
}


/* =====================================================
   Разделительная линия после экрана
   ===================================================== */

.education::after {
    content: '';

    display: block;

    width: 100%;
    height: 16px;

    margin-top: 10px;

    background: var(--charcoal);
}

