/* Список новостей и акций (шаблон news.list/mi) */
.container.news:not(.news-detail-page) { padding-top: 36px; }
.container.news:not(.news-detail-page) > h1:first-child {
    margin: 0 0 24px; font-size: 28px; font-weight: 700; line-height: 1.25; color: #1d1d1f; letter-spacing: -0.015em;
}

.nl { --o: #ff6900; --ink: #16161d; --mut: #6b7080; --line: #e6e6ee; --soft: #f7f7f7; margin-top: 4px; padding-bottom: 8px; }
.nl a { color: inherit; text-decoration: none; }
.nl a:hover { color: inherit; text-decoration: none; }

.nl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--mut); }
.nl-tag { background: var(--soft); border-radius: 99px; padding: 3px 10px; font-weight: 600; color: var(--ink); font-size: 12px; text-transform: lowercase; }
.nl-tag--o { background: #fff2e8; color: #e65c00; }
.nl-arrow { display: inline-block; width: 14px; height: 14px; background: var(--o);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
.nl-hero .nl-arrow { background: #fff; }

/* крупная новость */
.nl-hero { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #fff;
    box-shadow: 0 10px 36px rgba(20,20,40,.07); margin-bottom: 28px; transition: box-shadow .15s, border-color .15s; }
.nl-hero:hover { border-color: #ffd0ad; box-shadow: 0 14px 40px rgba(255,105,0,.13); }
.nl-hero__img { display: flex; align-items: center; justify-content: center; background: #f7f7f7; min-height: 340px; padding: 20px; }
.nl-hero__img img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; border-radius: 18px; }
.nl-hero__txt { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.nl-hero__title { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.nl-hero__lead { color: var(--mut); font-size: 16px; line-height: 1.55; }
.nl-btn { align-self: flex-start; background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }

/* сетка карточек */
.nl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden;
    box-shadow: 0 6px 24px rgba(20,20,40,.05); transition: border-color .15s, box-shadow .15s; }
.nl-card:hover { border-color: #ffd0ad; box-shadow: 0 12px 32px rgba(255,105,0,.12); }
.nl-card__img { display: block; aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden; }
.nl-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nl-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nl-card__title { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nl-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 14px; color: var(--ink); }

.nl-pager { margin: 34px 0 40px; text-align: center; }

@media (max-width: 1100px) { .nl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .nl-hero { grid-template-columns: 1fr; }
    .nl-hero__img { min-height: 240px; }
    .nl-hero__txt { padding: 22px; }
    .nl-hero__title { font-size: 24px; }
    .nl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .nl-card { border-radius: 18px; }
    .nl-card__body { padding: 12px 12px 14px; }
    .nl-card__title { font-size: 15px; }
}
@media (max-width: 767px) { .container.news:not(.news-detail-page) { padding-top: 24px; } }
