/* ==================================================
   РАЗБОРЫ — МОБИЛЬНАЯ ВЕРСИЯ
   ================================================== */

.analysis-page {
    width: 100%;

    padding: 28px 20px 42px;

    box-sizing: border-box;
}


/* ==================================================
   КОНТЕЙНЕР
   ================================================== */

.analysis-container {
    width: 100%;
    max-width: none;

    margin: 0;
}


/* ==================================================
   ЗАГОЛОВОК
   ================================================== */

.analysis-header {
    margin-bottom: 24px;
}


.analysis-title {
    margin: 0;

    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;

    color: var(--charcoal);
}


/* ==================================================
   ПОДЗАГОЛОВОК
   ================================================== */

.analysis-intro {
    max-width: none;

    margin-top: 14px;
    padding-left: 13px;

    border-left:
        2px solid var(--sand-500);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;

    color: var(--gray-700);
}


/* ==================================================
   КАТЕГОРИИ
   ================================================== */

.analysis-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px 20px;

    width: 100%;

    margin: 0 0 27px;
    padding-bottom: 16px;

    border-bottom:
        1px solid var(--cream-500);
}


/* ==================================================
   КАТЕГОРИЯ
   ================================================== */

.analysis-category {
    position: relative;

    display: block;

    padding: 0 0 5px;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;

    color: var(--taupe);

    text-decoration: none;
}


.analysis-category.active {
    font-weight: 600;

    color: var(--charcoal);
}


/* ==================================================
   АКТИВНАЯ КАТЕГОРИЯ
   ================================================== */

.analysis-category.active::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: var(--charcoal);
}


/* ==================================================
   СПИСОК РАЗБОРОВ
   ================================================== */

.analysis-grid {
    display: flex;
    flex-direction: column;

    gap: 0;

    width: 100%;

    margin: 0;
}


/* ==================================================
   КАРТОЧКА
   ================================================== */

.analysis-card {
    display: grid;

    grid-template-columns:
        105px minmax(0, 1fr);

    column-gap: 15px;

    width: 100%;
    min-width: 0;

    padding: 15px 0;

    box-sizing: border-box;

    border-bottom:
        1px solid var(--cream-500);
}


.analysis-card:first-child {
    padding-top: 0;
}


/* ==================================================
   ФОТО
   ================================================== */

.analysis-card-image {
    display: block;

    width: 105px;
    height: 105px;

    overflow: hidden;

    border-radius: 6px;

    background: var(--cream-300);

    text-decoration: none;
}


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

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: none;
}


.analysis-card-image:hover img {
    transform: none;
}


/* ==================================================
   ТЕКСТ КАРТОЧКИ
   ================================================== */

.analysis-card-content {
    min-width: 0;

    padding: 1px 0 0;
}


/* ==================================================
   ИМЯ
   ================================================== */

.analysis-card-title {
    display: block;

    margin: 0;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--charcoal);

    text-decoration: none;
}


/* ==================================================
   КТО ЭТО
   ================================================== */

.analysis-card-subtitle {
    margin-top: 3px;

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

    color: var(--taupe);
}


/* ==================================================
   КРАТКОЕ ОПИСАНИЕ
   ================================================== */

.analysis-card-lead {
    display: -webkit-box;

    margin-top: 6px;

    overflow: hidden;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;

    color: var(--gray-700);

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* ==================================================
   ПУСТАЯ КАТЕГОРИЯ
   ================================================== */

.analysis-empty {
    padding: 20px 0;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    color: var(--gray-700);
}


/* ==================================================
   ПАГИНАЦИЯ
   ================================================== */

.analysis-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 34px;
}


.analysis-pagination a,
.analysis-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 31px;
    height: 31px;

    box-sizing: border-box;

    font-size: 13px;
    font-weight: 500;

    color: var(--taupe);

    text-decoration: none;
}


.analysis-pagination a:hover {
    color: var(--charcoal);
}


.analysis-pagination .active {
    color: var(--charcoal);

    border-bottom:
        2px solid var(--charcoal);
}