/* Legacy Bitrix content blocks (iblock 54 sections + template HTML). */

/* Регион content не обёрнут в .container, когда на странице нет сайдбаров,
 * поэтому импортированные страницы шли во всю ширину окна. Класс ставит
 * node.html.twig.
 * Бокс оригинала: max-width 1440 с полем 79px (common.css:112), то есть
 * контент 1282px при окне 1440. Переменная --container темы даёт 1240 и
 * поле 100 — близко, но не совпадает; здесь нужен именно исходный размер. */
.node--constrained {
  width: 100%;
  max-width: 1440px;
  padding-inline: 79px;
  margin-inline: auto;
}

@media (max-width: 991px) {
  .node--constrained { padding-inline: 20px; }
}

/* Заголовок узла выводился без единого класса и доставался Bootstrap:
 * 40px/48px весом 500, да ещё текучий ниже 1200px. Оригинал (common.css:349)
 * держит фиксированные 30px/38px шрифтом Volvo Novum Regular. */
.node--constrained > h1 {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 38px;
}

.content__block {
  margin-bottom: 40px;
}
.content__block + .content__block {
  margin-top: 48px;
}
.-content-text-image-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Разметка Bitrix размечена классом .no-gutters, который в Bootstrap 5
 * переименован в .g-0 и потому не действует. Возвращаются обе части жёлоба:
 * отрицательные поля самого .row (из-за них ряд вылезал на 12px за пределы
 * родителя) и внутренние отступы колонок. */
.row.no-gutters {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-inline: 0;
}
.row.no-gutters > * {
  padding-inline: 0;
}
.content__image {
  width: 50%;
}
.content__image img {
  display: block;
  /* Картинка должна занимать колонку целиком: в оригинале её ширина равна
   * ширине колонки, поэтому зазор равен ровно padding. Image style отдаёт
   * 600px при более широкой колонке, и недобор прибавлялся к зазору. */
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* Зазор между картинкой и текстом: оригинал держит 120px на десктопе
 * (common.css:1274,1277), 24px на ≤991px и 0 на ≤767px. В теме мобильные 24px
 * стояли базовым значением на всех ширинах — вся лестница брейкпоинтов была
 * сдвинута на ступень, из-за чего зазор выходил 73px вместо 120px. */
.content__text {
  width: 50%;
  padding-right: 120px;
}
.content__image + .content__text {
  padding-right: 0;
  padding-left: 120px;
}
.content__text p {
  margin-bottom: 1rem;
}
.content__text .btn {
  display: inline-block;
}

/* Ссылки в тексте были неотличимы от обычного текста: global.css задаёт
 * color:inherit и убирает подчёркивание. Это нарушение WCAG 1.4.1 —
 * у ссылки не остаётся ни одного визуального признака. */
.node--constrained .content__text a:not(.btn),
.node--constrained .field--name-field-body a:not(.btn) {
  color: #2c7bcd;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .content__text {
    padding-right: 24px;
  }
  .content__image + .content__text {
    padding-left: 24px;
  }
}

@media (max-width: 767px) {
  .-content-text-image-row {
    flex-direction: column;
  }
  .content__image,
  .content__text {
    width: 100%;
    padding: 0;
  }
  .content__text {
    margin-top: 24px;
  }
}

/* Утилитарная шкала кеглей оригинала (common.css:168-219). Импортированная
 * разметка Bitrix размечена этими классами (.-fs-42 у заголовков моделей и
 * так далее), но в теме их не было — весь такой текст падал на базовый
 * кегль, и иерархия внутри страниц пропадала. */
.-fs-9 { font-size: 9px; line-height: 11px; }
.-fs-12 { font-size: 12px; line-height: 15px; }
.-fs-13 { font-size: 13px; line-height: 15px; }
.-fs-14 { font-size: 14px; line-height: 17px; }
.-fs-15 { font-size: 15px; line-height: 20px; }
.-fs-16 { font-size: 16px; line-height: 20px; }
.-fs-17 { font-size: 17px; line-height: 27px; }
.-fs-18 { font-size: 18px; line-height: 29px; }
.-fs-20 { font-size: 20px; line-height: 28px; }
.-fs-22 { font-size: 22px; line-height: 26px; }
.-fs-24 { font-size: 24px; line-height: 28px; }
.-fs-25 { font-size: 25px; line-height: 32px; }
.-fs-26 { font-size: 26px; line-height: 30px; }
.-fs-29 { font-size: 29px; line-height: 37px; }
.-fs-32 { font-size: 32px; line-height: 38px; }
.-fs-36 { font-size: 36px; line-height: 43px; }
.-fs-38 { font-size: 38px; line-height: 46px; }
.-fs-40 { font-size: 40px; line-height: 48px; }
.-fs-42 { font-size: 42px; line-height: 48px; }
.-fs-46 { font-size: 46px; line-height: 52px; }
.-fs-48 { font-size: 48px; line-height: 58px; }
.-fs-50 { font-size: 50px; line-height: 59px; }
.-fs-54 { font-size: 54px; line-height: 59px; }
.-fs-64 { font-size: 64px; line-height: 64px; }

@media (max-width: 991px) {
  .-fs-9 { font-size: 9px; line-height: 11px; }
  .-fs-12 { font-size: 10px; line-height: 12px; }
  .-fs-13 { font-size: 13px; line-height: 15px; }
  .-fs-14 { font-size: 14px; line-height: 20px; }
  .-fs-15 { font-size: 14px; line-height: 20px; }
  .-fs-16 { font-size: 16px; line-height: 20px; }
  .-fs-17 { font-size: 16px; line-height: 24px; }
  .-fs-18 { font-size: 14px; line-height: 20px; }
  .-fs-20 { font-size: 14px; line-height: 16px; }
  .-fs-22 { font-size: 16px; line-height: 20px; }
  .-fs-24 { font-size: 18px; line-height: 24px; }
  .-fs-25 { font-size: 25px; line-height: 32px; }
  .-fs-26 { font-size: 20px; line-height: 26px; }
  .-fs-29 { font-size: 22px; line-height: 28px; }
  .-fs-32 { font-size: 24px; line-height: 30px; }
  .-fs-36 { font-size: 36px; line-height: 43px; }
  .-fs-38 { font-size: 24px; line-height: 28px; }
  .-fs-40 { font-size: 40px; line-height: 48px; }
  .-fs-42 { font-size: 32px; line-height: 36px; }
  .-fs-46 { font-size: 24px; line-height: 32px; }
  .-fs-48 { font-size: 48px; line-height: 58px; }
  .-fs-50 { font-size: 32px; line-height: 40px; }
  .-fs-54 { font-size: 54px; line-height: 59px; }
  .-fs-64 { font-size: 64px; line-height: 64px; }
}

/* Заголовки внутри импортированного контента (common.css:349-372).
 * Bootstrap давал им свои размеры и вес 500; оригинал держит Volvo Novum
 * Regular весом 400 с фиксированными кеглями и отступами. */
.node--constrained :is(h1, .h1) { margin: 0 0 40px; color: #000; font-family: var(--font-heading); font-size: 30px; font-weight: 400; line-height: 38px; text-align: left; }
.node--constrained :is(h2, .h2) { margin: 0 0 22px; color: #000; font-family: var(--font-heading); font-size: 22px; font-weight: 400; line-height: 30px; text-align: left; }
.node--constrained :is(h3, .h3) { margin: 0 0 16px; color: #000; font-family: var(--font-heading); font-size: 18px; font-weight: 400; line-height: 24px; text-align: left; }

/* В оригинале полужирный набирается отдельным начертанием, а не синтетическим
 * утолщением Light: font-weight:700 по Volvo Novum Light даёт «жирный» глиф,
 * которого в гарнитуре нет, и браузер эмулирует его сам. */
.node--constrained :is(b, strong) { font-family: var(--font-medium); font-weight: 400; }

/* Классы начертаний оригинала (common.css). Импортированная разметка размечена
 * ими наравне с .-fs-N: у цены в каталоге стоит "-volvo-m -fs-24", у заголовка
 * модели "-volvo-l". Без этих правил всё сводилось к одному начертанию.
 * font-weight:400 обязателен: гарнитура разложена по отдельным семействам,
 * и любое значение больше 400 браузер эмулировал бы синтетически. */
.-volvo-l { font-family: var(--font-body); font-weight: 400; }
.-volvo-r { font-family: var(--font-heading); font-weight: 400; }
.-volvo-m { font-family: var(--font-medium); font-weight: 400; }
.-volvo-b { font-family: var(--font-bold); font-weight: 400; }
.-volvo-broad { font-family: 'Volvo Broad Pro', Arial, sans-serif; font-weight: 400; }

/* Команда (info/team) в стиле volvocars.com/ru-md: Volvo Centum, крупные
 * заголовки без декора, общее фото во всю ширину контента, портреты 6:7 в
 * сетке 4 колонки с зазором 24px, контакты подчёркнутыми ссылками. */
@font-face { font-family: 'Volvo Centum'; font-weight: 380; font-display: swap;
  src: url('/sites/default/files/ex60-reference/89e0a28ab2d7ed932d7c68d500f61bdb34f6a82d702ee85905524d2e417ae2c7.woff2') format('woff2');
  unicode-range: U+4??, U+500-52F, U+2DE0-2DFF, U+A640-A69F, U+1C8?; }
@font-face { font-family: 'Volvo Centum'; font-weight: 570; font-display: swap;
  src: url('/sites/default/files/ex60-reference/89e0a28ab2d7ed932d7c68d500f61bdb34f6a82d702ee85905524d2e417ae2c7.woff2') format('woff2');
  unicode-range: U+4??, U+500-52F, U+2DE0-2DFF, U+A640-A69F, U+1C8?; }
@font-face { font-family: 'Volvo Centum'; font-weight: 380; font-display: swap;
  src: url('/sites/default/files/ex60-reference/296c841477ddb89f66d49f2622396e79c7aba371c1531f9938864e53c4f8f441.woff2') format('woff2'); }
@font-face { font-family: 'Volvo Centum'; font-weight: 570; font-display: swap;
  src: url('/sites/default/files/ex60-reference/296c841477ddb89f66d49f2622396e79c7aba371c1531f9938864e53c4f8f441.woff2') format('woff2'); }

.node--constrained:has(.m1-team, .m1-contacts, .m1-service) > h1 > .field { font: inherit; }
.node--constrained:has(.m1-team, .m1-contacts, .m1-service) > h1 {
  margin: 24px 0 16px;
  font: 570 48px/56px 'Volvo Centum', Arial, sans-serif;
  color: #000;
}
.node--constrained .m1-team {
  font: 380 16px/24px 'Volvo Centum', Arial, sans-serif;
  color: #000;
  padding-bottom: 96px;
}
.node--constrained .m1-team__lead {
  max-width: 720px;
  margin: 0 0 40px;
  font-size: 20px;
  line-height: 28px;
  color: #5e5e5e;
}
.node--constrained .m1-team__hero {
  margin: 0 0 80px;
  background: #f0f0f0;
}
.node--constrained .m1-team__hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1980 / 489;
  object-fit: cover;
}
.node--constrained .m1-team__group + .m1-team__group { margin-top: 80px; }
.node--constrained .m1-team__title {
  margin: 0 0 32px;
  font: 570 32px/40px 'Volvo Centum', Arial, sans-serif;
  color: #000;
}
.node--constrained .m1-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
}
.node--constrained .m1-team__photo {
  overflow: hidden;
  background: #f0f0f0;
}
.node--constrained .m1-team__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}
.node--constrained .m1-team__name {
  margin: 16px 0 0;
  font: 570 18px/26px 'Volvo Centum', Arial, sans-serif;
  color: #000;
}
.node--constrained .m1-team__role {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: #5e5e5e;
}
.node--constrained .m1-team__contacts {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 22px;
}
.node--constrained .m1-team__contacts li + li { margin-top: 4px; }
.node--constrained .field--name-field-body .m1-team__contacts a:not(.btn) {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.node--constrained .field--name-field-body .m1-team__contacts a:not(.btn):hover { color: #5e5e5e; }
@media (max-width: 991px) {
  .node--constrained:has(.m1-team, .m1-contacts, .m1-service) > h1 { font-size: 36px; line-height: 44px; }
  .node--constrained .m1-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .node--constrained .m1-team__hero { margin-bottom: 56px; }
  .node--constrained .m1-team__hero img { aspect-ratio: 16 / 7; }
}
@media (max-width: 767px) {
  .node--constrained .m1-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .node--constrained .m1-team__title { font-size: 26px; line-height: 34px; }
  .node--constrained .m1-team__hero img { aspect-ratio: 4 / 3; }
}

/* Контакты (info/kontakty) в той же стилистике: слева данные дилера, справа
 * карта Яндекса; подписи 14px серым, значения 20px, кнопки-«пилюли» Volvo. */
.node--constrained .m1-contacts {
  font: 380 16px/24px 'Volvo Centum', Arial, sans-serif;
  color: #000;
  padding-bottom: 96px;
}
.node--constrained .m1-contacts__lead {
  max-width: 720px;
  margin: 0 0 40px;
  font-size: 20px;
  line-height: 28px;
  color: #5e5e5e;
}
.node--constrained .m1-contacts__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.node--constrained .m1-contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.node--constrained .field--name-field-body .m1-contacts__button:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 9999px;
  background: #e3e3e3;
  color: #000;
  font: 380 16px/24px 'Volvo Centum', Arial, sans-serif;
  text-decoration: none;
  transition: background-color .16s ease;
}
.node--constrained .field--name-field-body .m1-contacts__button:not(.btn):hover { background: #d6d6d6; }
.node--constrained .field--name-field-body .m1-contacts__button--primary:not(.btn) { background: #0b2ded; color: #fff; }
.node--constrained .field--name-field-body .m1-contacts__button--primary:not(.btn):hover { background: #0824b8; color: #fff; }
.node--constrained .m1-contacts__list { margin: 0; }
.node--constrained .m1-contacts__list > div {
  padding: 24px 0;
  border-top: 1px solid rgb(0 0 0 / 12%);
}
.node--constrained .m1-contacts__list > div:last-child { border-bottom: 1px solid rgb(0 0 0 / 12%); }
.node--constrained .m1-contacts__list dt {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 380;
  color: #5e5e5e;
}
.node--constrained .m1-contacts__list dd {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
}
.node--constrained .m1-contacts__note {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 22px;
  color: #5e5e5e;
}
.node--constrained .field--name-field-body .m1-contacts a:not(.btn):not(.m1-contacts__button) {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.node--constrained .field--name-field-body .m1-contacts a:not(.btn):not(.m1-contacts__button):hover { color: #5e5e5e; }
.node--constrained .m1-contacts__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 16px;
}
.node--constrained .m1-contacts__social { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.node--constrained .m1-contacts__map {
  position: sticky;
  top: 96px;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
}
.node--constrained .m1-contacts__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 991px) {
  .node--constrained .m1-contacts__layout { grid-template-columns: 1fr; }
  .node--constrained .m1-contacts__map { position: static; }
}

/* Сервис (/service/): контент старого volvom1.ru в той же стилистике, что
 * «Команда» и «Контакты»: Volvo Centum, плитки услуг, прайс строками. */
.node--constrained .m1-service {
  font: 380 16px/24px 'Volvo Centum', Arial, sans-serif;
  color: #000;
  padding-bottom: 96px;
}
.node--constrained .m1-service p { margin: 0 0 12px; }
.node--constrained .m1-service__intro { max-width: 820px; margin-bottom: 72px; }
.node--constrained .m1-service__lead { font-size: 20px; line-height: 28px; color: #5e5e5e; }
.node--constrained .m1-service__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.node--constrained .field--name-field-body .m1-service__button:not(.btn) {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: 9999px; background: #e3e3e3; color: #000; text-decoration: none;
  font: 380 16px/24px 'Volvo Centum', Arial, sans-serif; transition: background-color .16s ease;
}
.node--constrained .field--name-field-body .m1-service__button:not(.btn):hover { background: #d6d6d6; }
.node--constrained .field--name-field-body .m1-service__button--primary:not(.btn) { background: #0b2ded; color: #fff; }
.node--constrained .field--name-field-body .m1-service__button--primary:not(.btn):hover { background: #0824b8; color: #fff; }
.node--constrained .m1-service__section { margin-top: 80px; }
.node--constrained .m1-service__title { margin: 0 0 32px; font: 570 32px/40px 'Volvo Centum', Arial, sans-serif; color: #000; }
.node--constrained .m1-service__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.node--constrained .field--name-field-body a.m1-service__card:not(.btn) { display: block; color: #000; text-decoration: none; }
.node--constrained .m1-service__card-image { display: block; overflow: hidden; background: #f0f0f0; aspect-ratio: 2 / 1; }
.node--constrained .m1-service__card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.node--constrained .m1-service__card:hover .m1-service__card-image img { transform: scale(1.03); }
.node--constrained .m1-service__card-title { display: block; margin-top: 16px; font: 570 18px/26px 'Volvo Centum', Arial, sans-serif; }
.node--constrained .m1-service__card:hover .m1-service__card-title { text-decoration: underline; text-underline-offset: 4px; }
.node--constrained .m1-service__links,
.node--constrained .m1-service__models { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.node--constrained .m1-service__models { margin-top: 0; }
.node--constrained .field--name-field-body :is(.m1-service__links, .m1-service__models) a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid rgb(0 0 0 / 20%);
  border-radius: 9999px; color: #000; text-decoration: none;
}
.node--constrained .field--name-field-body :is(.m1-service__links, .m1-service__models) a:not(.btn):hover { border-color: #000; }
.node--constrained .m1-service__standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.node--constrained .m1-service__standards li { padding-top: 20px; border-top: 2px solid #000; font: 570 18px/26px 'Volvo Centum', Arial, sans-serif; }
.node--constrained .m1-service__prices { max-width: 820px; margin: 0; }
.node--constrained .m1-service__prices > div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid rgb(0 0 0 / 12%); }
.node--constrained .m1-service__prices > div:last-child { border-bottom: 1px solid rgb(0 0 0 / 12%); }
.node--constrained .m1-service__prices dt { font-weight: 380; }
.node--constrained .m1-service__prices dd { margin: 0; white-space: nowrap; font-weight: 570; }
.node--constrained .m1-service__contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 48px; background: #f0f0f0; }
.node--constrained .m1-service__contact .m1-service__title { margin-bottom: 12px; }
.node--constrained .m1-service__person { display: flex; gap: 20px; align-items: center; }
.node--constrained .m1-service__person img { width: 96px; height: 112px; object-fit: cover; flex: none; }
.node--constrained .m1-service__person p { margin: 0 0 4px; font-size: 14px; line-height: 22px; }
.node--constrained .m1-service__person .m1-service__person-name { font: 570 18px/26px 'Volvo Centum', Arial, sans-serif; }
.node--constrained .m1-service__person .m1-service__person-role { color: #5e5e5e; }
.node--constrained .field--name-field-body .m1-service__person a:not(.btn) { color: #000; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991px) {
  .node--constrained .m1-service__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node--constrained .m1-service__standards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .node--constrained .m1-service__contact { grid-template-columns: 1fr; padding: 32px 24px; }
}
@media (max-width: 575px) {
  .node--constrained .m1-service__cards { grid-template-columns: 1fr; }
  .node--constrained .m1-service__title { font-size: 26px; line-height: 34px; }
}

/* Новости: листинг /info/news/ ----------------------------------------------
 * Вид m1_news отдаёт голую разметку Views (.views-row / .views-field), а блок
 * стоит в region-content вне .container, поэтому ширину и сетку задаём здесь.
 * Карточка целиком кликабельна за счёт растянутой ссылки заголовка: разметку
 * Views для этого править не нужно. */
/* У .block в теме стоит display:contents, боксa он не образует, поэтому ширину
 * держит сам вид, а не блок-обёртка. */
.view-m1-news {
  display: block;
  width: var(--container);
  margin: 0 auto;
  padding: 56px 0 88px;
}
.view-m1-news .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 48px 24px;
  /* На .view-content висит бутстраповский .row: без сброса жёлоба его padding
   * остаётся на ячейках грида и картинка становится уже карточки. */
  --bs-gutter-x: 0;
  margin: 0;
}
.view-m1-news .view-content > * { padding-right: 0; padding-left: 0; }
.view-m1-news .views-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.view-m1-news .views-field-field-media-image { overflow: hidden; background: var(--surface); }
.view-m1-news .views-field-field-media-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 393 / 322;
  object-fit: cover;
  transition: transform .35s ease;
}
.view-m1-news .views-row:hover .views-field-field-media-image img { transform: scale(1.03); }

.view-m1-news .views-field-field-published-date {
  order: -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.view-m1-news .views-field-field-media-image { order: -2; }

.view-m1-news .views-field-title { font-family: var(--font-heading); font-size: 20px; line-height: 1.25; }
.view-m1-news .views-field-title a { color: var(--ink); text-decoration: none; }
/* Растягиваем ссылку на всю карточку. */
.view-m1-news .views-field-title a::after { position: absolute; inset: 0; content: ''; }
.view-m1-news .views-row:hover .views-field-title a { text-decoration: underline; text-underline-offset: 3px; }

.view-m1-news .views-field-field-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.view-m1-news .pagination {
  justify-content: center;
  margin: 64px 0 0;
  gap: 4px;
  flex-wrap: wrap;
}
.view-m1-news .pagination .page-link {
  min-width: 40px;
  border: 0;
  border-radius: 9999px;
  color: var(--ink);
  text-align: center;
}
.view-m1-news .pagination .page-item.active .page-link { color: var(--white); background: var(--blue); }
.view-m1-news .pagination .page-link:hover { background: var(--surface); }

@media (max-width: 767px) {
  .view-m1-news { padding: 32px 0 56px; }
  .view-m1-news .view-content { grid-template-columns: 1fr; gap: 36px; }
  .view-m1-news .views-field-title { font-size: 18px; }
}
