/* =========================
   MAIN / TEASERS (ts.css) — FINAL
   - без дублей
   - day-brief: 2 блока как на скринах
   - grid7: 2 строки на ПК, столбик на мобиле
   - tzFoot: линия ВСЕГДА снизу карточки
   ========================= */

/* =========================
   MAIN LAYOUT
   ========================= */
.mWrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 18px 30px;
}

@media (max-width:760px) {
  .mWrap {
    padding: 14px 16px 24px;
  }
}

.mSection {
  margin: 14px 0 22px;
}

.mKicker {
  text-align: center;
  font-size: 11px;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .55);
  margin: 0 0 10px;
}

/* =========================
   TEASER CARD (generic)
   ========================= */
.tzCard {
  background: #fff;
  color: #111;
  text-decoration: none;
  display: block;
  min-width: 0;
}

.tzMedia {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #eaeaea;
}

.tzMedia img,
.tzMedia video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tzPlay {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tzPlay svg {
  width: 22px;
  height: 22px;
  fill: #111;
}

.tzBody {
  padding: 10px 0 0;
}

.tzTitle {
  margin: 0;
  font-weight: 900;
  letter-spacing: .1px;
  line-height: 1.15;
  font-size: 20px;
}

.tzDesc {
  margin: 10px 0 0;
  color: rgba(0, 0, 0, .70);
  line-height: 1.35;
  font-size: 18px;
}

.tzMeta {
  margin: 10px 0 0;
  color: rgba(0, 0, 0, .45);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25px;
}

/* =========================
   A) AD TOP
   ========================= */
.mAd {
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding-top: 12px;
  display: block;
}

.adHero {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  overflow: hidden;
  max-width: 960px;
  /* ограничение ширины на ПК */
  width: 100%;
  margin: 0 auto;
}

.adHero__left {
  max-height: 260px;
  width: 100%;
}

.adHero__right {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.adHero__title {
  margin: 0;
  font-weight: 900;
  font-size: 30px;
   line-height: 1.15;
}

.adHero__desc {
  margin: 12px 0 0;
  color: rgba(0, 0, 0, .70);
  line-height: 1.35;
}

.adHero__brand {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, .55);
  font-size: 12px;
}

.adHero__dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0d2b4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
}

@media (max-width:980px) {
  .adHero {
    max-width: none;
  }
}

@media (max-width:760px) {
  .adHero {
    grid-template-columns: 1fr;
  }

  .adHero__left {
    min-height: 190px;
  }

  .adHero__right {
    padding: 14px 14px;
  }
}

/* =========================
   B) DAY BRIEF (2 blocks as on screenshots)
   ========================= */

/* --- Top gray block (left info + 3 cards) --- */
.dayTop {
  background: #f3f3f3;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.dayTop__row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 18px 0;
}

.dayIntro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dayIntro__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dayIntro__ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0;
  font-weight: 900;
}

.dayIntro__title {
  margin: 0;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.05;
}

.dayIntro__sub {
  margin: 8px 0 0;
  color: rgba(0, 0, 0, .65);
  font-size: 13px;
  line-height: 1.35;
}

/* right: 3 horizontal cards */
.dayTopCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* IMPORTANT: anti-overlap hardening */
.dayHCard {
  display: flex;
  /* фикс против схлопывания */
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: #fff;
  background: #000;
  overflow: hidden;
}

.dayHCard__media {
  position: relative !important;
  flex: 0 0 auto;
  /* не даём схлопнуться */
  height: 200px;
  background: #dcdcdc;
}

.dayHCard__media img,
.dayHCard__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dayHCard__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .82));
  z-index: 2;
}

.dayHCard__title {
  margin: 0;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.15;
}

/* --- Bottom white strip (big date + 3 items + promo) --- */
.dayBottom {
  background: #fff;
  padding: 18px 0 6px;
}

.dayBottom__date {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: .2px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.dayStrip {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr 280px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, .10);
}

.dayNowe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f3f3f3;
  padding: 14px 10px;
  height: 72px;
}

.dayNowe__tag {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .25px;
  text-transform: uppercase;
  background: #b9ff7a;
  color: #111;
  padding: 6px 10px;
}

.dayNowe__time {
  font-weight: 900;
  font-size: 28px;
}

.dayItem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.dayItem__time {
  font-weight: 900;
  color: #e02424;
  white-space: nowrap;
  margin-top: 2px;
}

.dayItem__text {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
  color: #111;
}

.dayPromo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f3f3f3;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 10px 12px;
  height: 72px;
  text-decoration: none;
  color: #111;
}

.dayPromo__k {
  font-size: 11px;
  letter-spacing: .25px;
  text-transform: uppercase;
  color: #e02424;
  font-weight: 900;
}

.dayPromo__t {
  margin: 2px 0 0;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.15;
}

.dayPromo__p {
  margin: 2px 0 0;
  color: rgba(0, 0, 0, .65);
  font-size: 11px;
  line-height: 1.25;
}

.dayPromo__img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
}

/* --- Responsive day brief --- */
@media (max-width:1100px) {
  .dayTop__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dayTopCards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dayStrip {
    grid-template-columns: 140px 1fr 1fr 1fr;
    /* promo below */
  }

  .dayPromo {
    grid-column: 1 / -1;
    height: auto;
  }
}

@media (max-width:760px) {
  .dayTop__row {
    padding: 14px 0;
  }

  .dayIntro__title {
    font-size: 22px;
  }

  .dayTopCards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dayHCard__media {
    height: 160px;
  }

  /* важное: достаточно высоты на мобиле */
  .dayHCard__title {
    font-size: 15px;
  }

  .dayBottom__date {
    font-size: 26px;
    margin: 0 0 12px;
  }

  .dayStrip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .dayNowe {
    justify-content: flex-start;
    height: auto;
  }

  .dayPromo {
    height: auto;
  }
}

/* =========================
   C) GRID 7 (1 big + 6 small) — 2 rows desktop, stacked mobile
   ========================= */

.mGrid7 {
  display: grid;
  gap: 18px;
}

@media (min-width:761px) {
  .mGrid7 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }

  .mGrid7>.tzCard--big {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .mGrid7>.tzCard--s:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1;
  }

  .mGrid7>.tzCard--s:nth-of-type(3) {
    grid-column: 4;
    grid-row: 1;
  }

  .mGrid7>.tzCard--s:nth-of-type(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .mGrid7>.tzCard--s:nth-of-type(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .mGrid7>.tzCard--s:nth-of-type(6) {
    grid-column: 3;
    grid-row: 2;
  }

  .mGrid7>.tzCard--s:nth-of-type(7) {
    grid-column: 4;
    grid-row: 2;
  }

  /* BIG: текст внутри картинки (чтобы по высоте не выбивалось) */
  .tzCard--big {
    position: relative;
  }

  .tzCard--big .tzMedia {
    height: 340px;
    position: relative;
  }

  .tzCard--big .tzBody {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .82));
    z-index: 2;
  }

  .tzCard--big .tzTitle {
    font-size: 28px;
    line-height: 1.12;
    color: #fff;
    margin: 0;
  }

  .tzCard--big .tzDesc {
    display: none;
  }

  .tzCard--big .tzMeta {
    color: rgba(255, 255, 255, .75);
    margin-top: 10px;
  }

  /* SMALL */
  .tzCard--s .tzMedia {
    height: 220px;
  }

  /* выше, чтобы не казалось "вытянутым" */
  .tzCard--s .tzTitle {
    font-size: 16px;
  }

  .tzCard--s .tzDesc {
    display: none;
  }
}

@media (max-width:1100px) and (min-width:761px) {
  .tzCard--big .tzMedia {
    height: 300px;
  }

  .tzCard--s .tzMedia {
    height: 210px;
  }
}

@media (max-width:760px) {
  .mGrid7 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mGrid7>.tzCard--big,
  .mGrid7>.tzCard--s {
    grid-column: auto;
    grid-row: auto;
  }

  .tzCard--big {
    position: relative;
  }

  .tzCard--big .tzMedia {
    height: 260px;
  }

  .tzCard--big .tzBody {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 14px 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .82));
    z-index: 2;
  }

  .tzCard--big .tzTitle {
    font-size: 22px;
    color: #fff;
  }

  .tzCard--big .tzMeta {
    color: rgba(255, 255, 255, .75);
  }

  .tzCard--big .tzDesc {
    display: none;
  }

  .tzCard--s .tzMedia {
    height: 200px;
  }
}

/* =========================
   tzFoot — ALWAYS bottom underline (Gazeta-like)
   IMPORTANT: line at the BOTTOM of card, not between content/meta
   ========================= */

.tzCard--s .tzBody,
.tzCard--n .tzBody {
  display: flex;
  flex-direction: column;
  min-height: 128px;
  /* стабилизируем высоту малых карточек */
}

/* футер всегда прижат вниз, линия снизу */
.tzFoot {
  margin-top: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
}

.tzFoot__left {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .25px;
  color: rgba(0, 0, 0, .55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tzFoot__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .14);
  background: #fff;
  flex: 0 0 auto;
}

.tzFoot__btn:hover {
  background: rgba(0, 0, 0, .04);
}

.tzFoot__btn svg {
  width: 16px;
  height: 16px;
  fill: #111;
  display: block;
}

@media (max-width:760px) {

  .tzCard--s .tzBody,
  .tzCard--n .tzBody {
    min-height: 118px;
  }

  .tzFoot {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .tzFoot__btn {
    width: 32px;
    height: 32px;
  }
}

/* =========================
   D) GRID 8 (normal)
   ========================= */
.mGrid8 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding-top: 16px;
}

@media (max-width:1100px) {
  .mGrid8 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:760px) {
  .mGrid8 {
    grid-template-columns: 1fr;
  }
}

.tzCard--n .tzMedia {
  height: 180px;
}

/* чуть выше */
.tzCard--n .tzTitle {
  font-size: 16px;
}

.tzCard--n .tzDesc {
  display: none;
}

/* =========================
   D) RUBRYKI (2 x 4)
   ========================= */

.rubSec {
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding-top: 18px;
}

.rubHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.rubTitle {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.rubMeta {
  font-size: 12px;
  color: rgba(0, 0, 0, .55);
  white-space: nowrap;
}

.rubGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.rubSec:last-child .rubGrid {
  border-bottom: 0;
  padding-bottom: 0;
}

.rubSpacer {
  height: 18px;
}

/* карточки как у тебя в normal */
.rubGrid .tzCard--n .tzMedia {
  height: 170px;
}

.rubGrid .tzCard--n .tzTitle {
  font-size: 16px;
  line-height: 1.2;
}

.rubGrid .tzCard--n .tzDesc {
  display: none;
}

/* TABLET */
@media (max-width:1100px) {
  .rubGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rubGrid .tzCard--n .tzMedia {
    height: 180px;
  }
}

/* MOBILE */
@media (max-width:760px) {
  .rubHead {
    margin-bottom: 10px;
  }

  .rubTitle {
    font-size: 16px;
  }

  .rubMeta {
    display: none;
    /* чтобы не шумело на мобиле */
  }

  .rubGrid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 14px;
  }

  .rubGrid .tzCard--n .tzMedia {
    height: 200px;
  }
}
.mAd {
  position: relative;
}

.adHero {
  animation: adFadeIn .35s ease;
}

@keyframes adFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.adHero__left img,
.adHero__left video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}