/* =========================================================
   Разборы
   ========================================================= */

.readings {
    width: 100%;
}


.readings-container {
    width: 1040px;

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


/* =========================================================
   Верхняя часть
   ========================================================= */

.readings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 36px;
}


.readings-heading {
    flex: 1;
}


/* Маленькая надпись */

.readings-label {
    position: relative;

    width: max-content;

    margin-bottom: 24px;
    padding-bottom: 9px;

    color: var(--gold);

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

    text-transform: uppercase;
    letter-spacing: 2px;
}


.readings-label::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 65px;
    height: 2px;

    background: var(--gold);
}


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

.readings-heading h2 {
    margin: 0 0 22px;

    color: var(--charcoal);

    font-size: 40px;
    font-weight: 500;
    line-height: 1.08;
}


/* =========================================================
   Подзаголовок
   ========================================================= */

.readings-description {
    color: var(--charcoal);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}


/* =========================================================
   Все разборы
   ========================================================= */

.readings-all {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    flex-shrink: 0;
    
    padding-bottom: 7px;
    border-bottom: 1px solid var(--gold);

    text-decoration: none;
    font-size: 12px;
    font-weight: 400;    
}

.readings-all-arrow {
    display: block;
    width: 35px;
    height: 10px;

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

    flex-shrink: 0;
}

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

.readings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.reading-card {
    display: flex;
    flex-direction: column;
}


/* =========================================================
   Изображение
   ========================================================= */

.reading-card-image {
    display: block;

    width: 100%;
    height: 325px;

    overflow: hidden;

    border-radius: 4px;

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


.reading-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   Имя
   ========================================================= */

.reading-card h3 {
    margin: 18px 0 20px;

    color: var(--charcoal);

    font-weight: 400;
    line-height: 1.25;
}

.reading-card-name {
    display: block;

    font-size: 18px;
    font-weight: 500;
}

.reading-card-subtitle {
    display: block;

    margin-top: 4px;

    color: var(--gray-500);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

/* =========================================================
   Интригующая фраза
   ========================================================= */

.reading-card-lead {
    color: var(--gray-500);

    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}


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

.reading-card-link {
    
    width: max-content;

    margin-top: auto;
    padding-top: 18px;
        
    display: flex;
    align-items: center;
    gap: 20px;
    
 
    padding: 8 0 4px;
    border-bottom: 1px solid var(--gold);

    color: var(--gold);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;    
}

.reading-card-arrow {
    display: block;
    width: 35px;
    height: 10px;

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

    flex-shrink: 0;
}

/* =========================================================
   Нижний разделитель
   ========================================================= */

.readings-divider {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-top: 50px;
    padding-bottom: 32px;
}


.readings-divider span {
    flex: 1;

    height: 1px;

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


.readings-divider-symbol {
    color: var(--gold);

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

