

/* Start:/local/components/custom/news.list/templates/.default/style.css?17823894426341*/
/* ==========================================================================
   custom:news.list — список акций и новостей
   Стиль в духе moscow.vetotvet.com
   ========================================================================== */

:root {
    --nl-orange:        #E67725;
    --nl-orange-dark:   #c9621a;
    --nl-orange-light:  #fff4ec;
    --nl-blue:          #1a6fc4;
    --nl-blue-dark:     #0e4d8f;
    --nl-heading:       #1a1a2e;
    --nl-text:          #333333;
    --nl-muted:         #727272;
    --nl-border:        #e0e0e0;
    --nl-bg:            #f5f7fa;
    --nl-card-bg:       #ffffff;
    --nl-radius:        14px;
    --nl-radius-sm:     8px;
    --nl-shadow:        0 2px 16px rgba(26,111,196,.08);
    --nl-shadow-hover:  0 8px 32px rgba(26,111,196,.16);
    --nl-transition:    .22s ease;
    --nl-gap:           28px;
}

/* ==========================================================================
   ОБЁРТКА СЕКЦИИ
   ========================================================================== */
.nl-section {
    padding: 48px 0 72px;
    background: var(--nl-bg);
}

.nl-container {
    max-width: 1672px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   ЗАГОЛОВОК СТРАНИЦЫ
   ========================================================================== */
.nl-header {
    margin-bottom: 40px;
}

.nl-header__title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: var(--nl-heading);
    margin: 0;
    line-height: 1.2;
}

/* ==========================================================================
   ПУСТОЕ СОСТОЯНИЕ
   ========================================================================== */
.nl-empty {
    padding: 60px 0;
    text-align: center;
    color: var(--nl-muted);
    font-size: 18px;
}

/* ==========================================================================
   СЕТКА КАРТОЧЕК — 3 колонки как на макете
   ========================================================================== */
.nl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nl-gap);
}

/* ==========================================================================
   КАРТОЧКА
   ========================================================================== */
.nl-card {
    background: var(--nl-card-bg);
    border-radius: var(--nl-radius);
    box-shadow: var(--nl-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--nl-transition), transform var(--nl-transition);
}

.nl-card:hover {
    box-shadow: var(--nl-shadow-hover);
    transform: translateY(-3px);
}

/* --- Изображение --- */
.nl-card__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    flex-shrink: 0;
}

.nl-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--nl-transition);
}

.nl-card:hover .nl-card__img {
    transform: scale(1.04);
}

.nl-card__img-wrap--no-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nl-card__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* --- Тело --- */
.nl-card__body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* --- Мета: тег + дата --- */
.nl-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nl-card__tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--nl-orange-light);
    color: var(--nl-orange);
    white-space: nowrap;
}

.nl-card__date {
    font-size: 13px;
    color: var(--nl-muted);
}

/* --- Заголовок карточки (h2) --- */
.nl-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--nl-heading);
}

.nl-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--nl-transition);
}

.nl-card__title-link:hover {
    color: var(--nl-orange);
}

/* --- Текст превью --- */
.nl-card__text {
    margin: 0;
    font-size: 14px;
    color: var(--nl-text);
    line-height: 1.6;
    flex: 1;
}

/* --- Кнопка «Читать далее» --- */
.nl-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--nl-orange);
    text-decoration: none;
    transition: color var(--nl-transition), gap var(--nl-transition);
}

.nl-card__more:hover {
    color: var(--nl-orange-dark);
    gap: 10px;
}

.nl-card__more-icon {
    flex-shrink: 0;
    transition: transform var(--nl-transition);
}

.nl-card__more:hover .nl-card__more-icon {
    transform: translateX(3px);
}

/* ==========================================================================
   ПОСТРАНИЧНАЯ НАВИГАЦИЯ
   ========================================================================== */
.nl-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

/* Планшет: 2 колонки */
@media (max-width: 1024px) {
    .nl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .nl-header__title {
        font-size: 28px;
    }
}

/* Мобильный: 1 колонка */
@media (max-width: 640px) {
    .nl-section {
        padding: 32px 0 48px;
    }

    .nl-container {
        padding: 0 16px;
    }

    .nl-header {
        margin-bottom: 28px;
    }

    .nl-header__title {
        font-size: 24px;
    }

    .nl-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nl-card__body {
        padding: 16px 18px 20px;
    }

    .nl-card__title {
        font-size: 16px;
    }
}

/* End */
/* /local/components/custom/news.list/templates/.default/style.css?17823894426341 */
