/**
 * Главная: «Топовые инсайты» — карусель (Figma)
 * 6_index_375 | 5_index_800 | 4_index_1024 | 3_index_1280 | 2_index_1440 | 1_index_1900
 * Карточка 1024: 10008:8573 — 300×432, gap 13px
 */

body.page-home .section--articles .insights-showcase.h-slider {
  position: relative;
  padding-inline: clamp(36px, 5vw, 56px);
  margin: 0;
  overflow: visible;
}

body.page-home .section--articles .insights-showcase .h-slider__track,
body.page-home #articles .grid.grid--4.media-cards-grid--articles {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  grid-template-columns: none;
  box-sizing: border-box;
}

body.page-home .section--articles .insights-showcase .h-slider__track::-webkit-scrollbar,
body.page-home #articles .grid.grid--4.media-cards-grid--articles::-webkit-scrollbar {
  display: none;
}

body.page-home .section--articles .insights-showcase .h-slider__track > .insight-card,
body.page-home #articles .grid.grid--4.media-cards-grid--articles > .insight-card,
body.page-home .section--news-home .news-showcase .h-slider__track > .news-card {
  flex: 0 0 min(300px, calc(100vw - 120px));
  width: min(300px, calc(100vw - 120px));
  max-width: 378px;
  min-height: 432px;
  scroll-snap-align: start;
}

body.page-home .section--articles .insights-showcase .h-slider__nav {
  display: flex;
  top: 42%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}

body.page-home .section--articles .insights-showcase .h-slider__nav--prev {
  left: 0;
}

body.page-home .section--articles .insights-showcase .h-slider__nav--next {
  right: 0;
}

body.page-home .section--articles .insights-showcase .h-slider__hint {
  display: none;
}

/* ≤600 — Figma 6_index_375: карусель 300×432, gap 13, x=30/343 (2-я карточка — peek) */
@media (max-width: 600px) {
  body.page-home .section--articles .section-header {
    margin-bottom: 48px;
  }

  body.page-home .section--articles .insights-showcase.h-slider {
    position: relative;
    margin-inline: calc(-1 * var(--gutter));
    width: auto;
    padding-inline: 0;
    overflow: visible;
  }

  body.page-home .section--articles .insights-showcase .h-slider__nav {
    display: none;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 13px;
    width: auto;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    grid-template-columns: none !important;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles::-webkit-scrollbar,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles::-webkit-scrollbar {
    display: none;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track > .insight-card,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles > .insight-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-height: 432px;
    height: 432px;
    max-height: 432px;
    scroll-snap-align: start;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home #articles .insight-card__img,
  body.page-home .section--articles .insight-card__img {
    height: 175px;
    max-height: 175px;
    min-height: 175px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  body.page-home #articles .insight-card__img img,
  body.page-home .section--articles .insight-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  body.page-home #articles .insight-card__body,
  body.page-home .section--articles .insight-card__body {
    padding: 15px 15px 20px;
    gap: 10px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body.page-home #articles .insight-card__meta .insight-card__rubric,
  body.page-home .section--articles .insight-card__meta .insight-card__rubric {
    padding: 5px;
    border-radius: 5px;
    background: #f1f1f1;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #ed1a34;
  }

  body.page-home #articles .insight-card__meta .news-card__date,
  body.page-home .section--articles .insight-card__meta .news-card__date {
    font-family: var(--font-body-figma);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #020203;
  }

  body.page-home #articles .news-card__title,
  body.page-home .section--articles .news-card__title {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #020203;
  }

  body.page-home #articles .news-card__excerpt,
  body.page-home .section--articles .news-card__excerpt {
    font-family: var(--font-body-figma);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #020203;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.page-home #articles .news-card__more,
  body.page-home .section--articles .news-card__more {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #686a73;
  }
}

/* 601–880 — Figma 5_index_800: 300×432, x=28/338/648, gap 10, 3-я частично видна */
@media (min-width: 601px) and (max-width: 880px) {
  body.page-home .section--articles .section-header {
    margin-bottom: 40px;
  }

  body.page-home .section--articles .insights-showcase.h-slider {
    padding-inline: 0;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }

  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles {
    gap: 10px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    width: auto;
  }

  body.page-home .section--articles .insights-showcase.h-slider .h-slider__track.media-cards-grid--articles {
    margin-inline: 0;
    padding-inline: 0;
    width: 100%;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track > .insight-card,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles > .insight-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-height: 432px;
    height: 432px;
    max-height: 432px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home #articles .insight-card__img {
    height: 175px;
    max-height: 175px;
    min-height: 175px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  body.page-home #articles .insight-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  body.page-home #articles .insight-card__body {
    padding: 15px 15px 20px;
    gap: 10px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body.page-home #articles .insight-card__meta {
    margin-bottom: 0;
  }

  body.page-home #articles .insight-card__meta .insight-card__rubric {
    padding: 5px;
    border-radius: 5px;
    background: #f1f1f1;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #ed1a34;
  }

  body.page-home #articles .insight-card__meta .news-card__date {
    font-family: var(--font-body-figma);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #020203;
  }

  body.page-home #articles .news-card__title {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #020203;
  }

  body.page-home #articles .news-card__excerpt {
    font-family: var(--font-body-figma);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #020203;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.page-home #articles .news-card__more {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #686a73;
  }

  body.page-home .section--articles .insights-showcase .h-slider__nav {
    display: none;
  }
}

/* 881–1279 — горизонтальная лента (как новости / мероприятия) */
@media (min-width: 881px) and (max-width: 1279px) {
  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles {
    gap: 24px;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track > .insight-card,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles > .insight-card {
    flex: 0 0 min(300px, calc(100vw - 2 * var(--gutter) - 24px));
    width: min(300px, calc(100vw - 2 * var(--gutter) - 24px));
  }
}

/* 1024–1279 — Figma 4_index_1024: 300×432, gap 13 (x 30→343→656→969) */
@media (min-width: 1024px) and (max-width: 1279px) {
  body.page-home .section--articles .section-header {
    margin-bottom: 24px;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles {
    gap: 13px;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track > .insight-card,
  body.page-home #articles .grid.grid--4.media-cards-grid--articles > .insight-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-height: 432px;
    height: 432px;
    max-height: 432px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home .section--articles .insight-card__img {
    height: 175px;
    max-height: 175px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  body.page-home .section--articles .insight-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  body.page-home .section--articles .insight-card__body {
    padding: 15px;
    gap: 10px;
  }

  body.page-home .section--articles .insight-card__meta {
    margin-bottom: 0;
  }

  body.page-home .section--articles .insight-card__meta .insight-card__rubric {
    padding: 5px;
    border-radius: 5px;
    background: #f1f1f1;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #ed1a34;
  }

  body.page-home .section--articles .insight-card__meta .news-card__date {
    font-family: var(--font-body-figma);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #020203;
  }

  body.page-home .section--articles .news-card__title {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #020203;
  }

  body.page-home .section--articles .news-card__excerpt {
    font-family: var(--font-body-figma);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #020203;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.page-home .section--articles .news-card__more {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #686a73;
  }
}

/* 1280+ — лента за правый край, одна стрелка (как в styles.css, дублируем специфичность) */
@media (min-width: 1280px) and (max-width: 1899px) {
  body.page-home .section--articles {
    overflow-x: clip;
    overflow-y: visible;
  }

  body.page-home .section--articles > .container {
    max-width: none;
    padding-inline: 0;
  }

  body.page-home .section--articles .section-header,
  body.page-home .section--articles .section-actions--insights {
    padding-inline: var(--gutter);
    box-sizing: border-box;
  }

  body.page-home .section--articles .section-header {
    margin-bottom: 60px;
  }

  body.page-home .section--articles .section-actions--insights {
    margin-top: 60px;
  }

  body.page-home .section--articles .insights-showcase.h-slider {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--gutter);
    padding-right: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles {
    gap: 33px;
    width: max-content;
    min-width: 100%;
    padding-right: var(--gutter);
  }

  body.page-home .section--articles .insights-showcase .h-slider__track > .insight-card {
    flex: 0 0 378px;
    width: 378px;
    max-width: 378px;
    min-height: 487px;
    height: 487px;
    max-height: 487px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home .section--articles .insight-card__img {
    height: 300px;
    max-height: 300px;
    min-height: 300px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  body.page-home .section--articles .insight-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  body.page-home .section--articles .insight-card__body {
    padding: 20px 22px 22px;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }

  body.page-home .section--articles .insight-card__meta {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  body.page-home .section--articles .news-card__title {
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
  }

  body.page-home .section--articles .news-card__excerpt {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 16px;
    line-height: 1.3;
  }

  body.page-home .section--articles .news-card__more {
    margin-top: 0;
    flex-shrink: 0;
  }

  body.page-home .section--articles .insights-showcase .h-slider__nav--prev {
    display: none;
  }

  body.page-home .section--articles .insights-showcase .h-slider__nav--next {
    display: flex;
    top: 43%;
    z-index: 6;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  body.page-home .section--articles .insights-showcase .h-slider__track.media-cards-grid--articles {
    gap: 23px;
  }

  body.page-home .section--articles .insights-showcase .h-slider__nav--next {
    right: 16px;
  }
}

@media (min-width: 1440px) and (max-width: 1899px) {
  body.page-home .section--articles .insights-showcase .h-slider__nav--next {
    right: 63px;
  }
}

/* Новости на главной — те же размеры карточек, что «Топовые инсайты» */
@media (max-width: 600px) {
  body.page-home .section--news-home .news-showcase .h-slider__track > .news-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-height: 432px;
    height: 432px;
    max-height: 432px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home .section--news-home .news-card__img {
    height: 175px;
    max-height: 175px;
    min-height: 175px;
    aspect-ratio: auto;
  }

  body.page-home .section--news-home .news-card__body {
    padding: 15px 15px 20px;
    gap: 10px;
    flex: 1;
    min-height: 0;
  }

  body.page-home .section--news-home .news-card__excerpt {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (min-width: 601px) and (max-width: 880px) {
  body.page-home .section--news-home .news-showcase .h-slider__track > .news-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-height: 432px;
    height: 432px;
    max-height: 432px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home .section--news-home .news-card__img {
    height: 175px;
    max-height: 175px;
    min-height: 175px;
    aspect-ratio: auto;
  }

  body.page-home .section--news-home .news-card__body {
    padding: 15px 15px 20px;
    gap: 10px;
    flex: 1;
    min-height: 0;
  }

  body.page-home .section--news-home .news-card__excerpt {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body.page-home .section--news-home .news-showcase .h-slider__track > .news-card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-height: 432px;
    height: 432px;
    max-height: 432px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home .section--news-home .news-card__img {
    height: 175px;
    max-height: 175px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  body.page-home .section--news-home .news-card__body {
    padding: 15px;
    gap: 10px;
  }

  body.page-home .section--news-home .news-card__excerpt {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (min-width: 1280px) and (max-width: 1899px) {
  body.page-home .section--news-home .news-showcase .h-slider__track > .news-card {
    flex: 0 0 378px;
    width: 378px;
    max-width: 378px;
    min-height: 487px;
    height: 487px;
    max-height: 487px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 12.5px rgba(57, 59, 65, 0.1);
    border-top-width: 0;
  }

  body.page-home .section--news-home .news-card__img {
    height: 220px;
    max-height: 220px;
    min-height: 220px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  body.page-home .section--news-home .news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  body.page-home .section--news-home .news-card__body {
    padding: 20px 22px 22px;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }

  body.page-home .section--news-home .news-card__title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
  }

  body.page-home .section--news-home .news-card__excerpt {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: calc(1.3em * 2);
    max-height: calc(1.3em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  body.page-home .section--news-home .news-card__more {
    margin-top: 0;
    flex-shrink: 0;
  }
}

/* Главная: «Мероприятия» — карусель со стрелками (как инсайты) */
body.page-home .section--events-home .events-showcase.h-slider {
  position: relative;
  padding-inline: clamp(36px, 5vw, 56px);
  margin: 0;
  overflow: visible;
}

body.page-home .section--events-home .events-showcase .h-slider__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  box-sizing: border-box;
}

body.page-home .section--events-home .events-showcase .h-slider__track::-webkit-scrollbar {
  display: none;
}

body.page-home .section--events-home .events-showcase .h-slider__track > .event-card--media {
  flex: 0 0 min(300px, calc(100vw - 120px));
  width: min(300px, calc(100vw - 120px));
  max-width: 378px;
  scroll-snap-align: start;
}

body.page-home .section--events-home .events-showcase .h-slider__nav {
  display: flex;
  top: 42%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}

body.page-home .section--events-home .events-showcase .h-slider__nav--prev {
  left: 0;
}

body.page-home .section--events-home .events-showcase .h-slider__nav--next {
  right: 0;
}

body.page-home .section--events-home .events-showcase .h-slider__hint {
  display: none;
}

@media (max-width: 880px) {
  body.page-home .section--events-home .events-showcase .h-slider__nav {
    display: none;
  }
}

@media (min-width: 1280px) and (max-width: 1899px) {
  body.page-home .section--events-home {
    overflow-x: clip;
    overflow-y: visible;
  }

  body.page-home .section--events-home > .container {
    max-width: none;
    padding-inline: 0;
  }

  body.page-home .section--events-home .section-header {
    padding-inline: var(--gutter);
    box-sizing: border-box;
  }

  body.page-home .section--events-home .events-showcase.h-slider {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--gutter);
    padding-right: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  body.page-home .section--events-home .events-showcase .h-slider__track {
    gap: 33px;
    width: max-content;
    min-width: 100%;
    padding-right: var(--gutter);
  }

  body.page-home .section--events-home .events-showcase .h-slider__track > .event-card--media {
    flex: 0 0 378px;
    width: 378px;
    max-width: 378px;
  }

  body.page-home .section--events-home .events-showcase .h-slider__nav--prev {
    display: none;
  }

  body.page-home .section--events-home .events-showcase .h-slider__nav--next {
    display: flex;
    top: 43%;
    z-index: 6;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  body.page-home .section--events-home .events-showcase .h-slider__nav--next {
    right: 16px;
  }
}

@media (min-width: 1440px) and (max-width: 1899px) {
  body.page-home .section--events-home .events-showcase .h-slider__nav--next {
    right: 63px;
  }
}

/* 1900+ — карусель как «Топовые инсайты»: обе стрелки, лента на всю ширину контейнера */
@media (min-width: 1900px) {
  body.page-home .section--events-home .events-showcase.h-slider {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: clamp(36px, 5vw, 56px);
    overflow: visible;
    box-sizing: border-box;
  }

  body.page-home .section--events-home .events-showcase .h-slider__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 33px;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding-bottom: 4px;
  }

  body.page-home .section--events-home .events-showcase .h-slider__track > .event-card--media {
    flex: 0 0 378px;
    width: 378px;
    max-width: 378px;
    min-height: 422px;
    scroll-snap-align: start;
  }

  body.page-home .section--events-home .events-showcase .h-slider__nav {
    display: flex;
    top: 42%;
    transform: translateY(-50%);
    z-index: 6;
  }

  body.page-home .section--events-home .events-showcase .h-slider__nav--prev {
    display: flex;
    left: 0;
  }

  body.page-home .section--events-home .events-showcase .h-slider__nav--next {
    display: flex;
    right: 0;
  }
}

/* Инсайты и новости: ровные блоки текста, «Читать полностью» сразу под анонсом (все брейкпоинты, в т.ч. 1900+) */
body.page-home .section--articles .insight-card__body,
body.page-home .section--news-home .news-card__body {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

body.page-home .section--articles .news-card__title,
body.page-home .section--news-home .news-card__title {
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  max-height: calc(1.3em * 2);
}

body.page-home .section--articles .news-card__excerpt,
body.page-home .section--news-home .news-card__excerpt {
  flex: 0 0 auto;
  flex-shrink: 0;
  min-height: calc(1.3em * 2);
  max-height: calc(1.3em * 2);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 16px;
  line-height: 1.3;
}

body.page-home .section--articles .news-card__more,
body.page-home .section--news-home .news-card__more {
  margin-top: 0;
  padding-top: 0;
  flex-shrink: 0;
}

@media (min-width: 1900px) {
  body.page-home .section--articles .insight-card__body {
    padding: 20px 22px 22px;
    flex: 1 1 auto;
  }

  body.page-home .section--articles .insight-card__meta {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}
