/*
 * Внутренние страницы CMS: статические страницы, категории, новости.
 *
 * Файл принадлежит CMS, а не вёрстке из html-larproxy: style.css перезаписывается
 * при синхронизации макета, поэтому стили страниц, которых нет в макете, живут здесь.
 * Токены (--color-*, --radius-*, --container) объявлены в style.css.
 */

.page {
    position: relative;
    padding: 40px 0 96px;
    background: var(--color-bg);
}

/* Мягкое свечение вверху — перекликается с hero и секцией «О сервисе». */
.page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 320px;
    background:
        radial-gradient(60% 100% at 20% 0, rgba(0, 153, 255, .08), transparent 70%),
        radial-gradient(50% 100% at 85% 0, rgba(255, 105, 0, .06), transparent 70%);
    pointer-events: none;
}

/* Ширину и боковые отступы задаёт .container — та же сетка, что у шапки,
   hero и футера; своей ширины страница не задаёт. */
.page__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Хлебные крошки */
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid var(--color-line);
    border-right: 1.5px solid var(--color-line);
    transform: rotate(45deg);
}

.breadcrumbs__link {
    color: var(--color-soft);
    transition: color .2s ease;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
    color: var(--color-blue);
}

.breadcrumbs__current {
    overflow: hidden;
    color: var(--color-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Шапка страницы */
.page-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-head__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.page-title {
    margin: 0;
    color: var(--color-text);
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
}

.page-lead {
    max-width: 70ch;
    margin: 0;
    color: var(--color-muted);
    font-size: 18px;
    line-height: 28px;
}

.page-date {
    color: var(--color-soft);
    font-size: 14px;
    line-height: 20px;
}

/* Карточка контента */
.page-card {
    padding: 40px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-small);
}

.page-card__title {
    margin: 0 0 20px;
    color: var(--color-text);
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

/* Блок со списком: подкатегории и страницы категории */
.page-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-block__title {
    margin: 0;
    color: var(--color-text);
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
}

/* Карточка записи: кликабельный заголовок, описание, ссылка «Подробнее» */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Материалы раздела — записи блога: по одной на строку, во всю ширину. */
.entry-grid--list {
    grid-template-columns: 1fr;
}

.entry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 24px;
    border: 2px solid rgba(0, 153, 255, .1);
    border-radius: var(--radius-md);
    background: #fff;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.entry-card--wide {
    padding: 32px;
    border-radius: var(--radius-lg);
}

.entry-card--wide .entry-card__title {
    font-size: 26px;
    line-height: 34px;
}

/* Длина строки под чтение: сама карточка во всю ширину, текст — нет. */
.entry-card--wide .entry-card__text {
    max-width: 80ch;
}

.entry-card__date {
    color: var(--color-soft);
    font-size: 14px;
    line-height: 20px;
}

.entry-card:hover,
.entry-card:focus-within {
    border-color: rgba(0, 153, 255, .32);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.entry-card__title {
    margin: 0;
    color: var(--color-text);
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
}

.entry-card__title a {
    color: inherit;
    transition: color .28s ease;
}

.entry-card:hover .entry-card__title a,
.entry-card__title a:focus-visible {
    color: var(--color-blue);
}

.entry-card__text {
    margin: 0;
    color: rgba(41, 43, 55, .8);
    font-size: 16px;
    line-height: 26px;
}

/* Прижимаем «Подробнее» к низу карточки, чтобы кнопки стояли на одной линии. */
.entry-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
    color: var(--color-blue);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.entry-card__more img {
    transition: transform .28s ease;
}

.entry-card:hover .entry-card__more img,
.entry-card__more:focus-visible img {
    transform: translateX(4px);
}

/* Контент + сайдбар (шаблон контактов) */
.page-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 24px;
}

.page-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-contacts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-contacts__label {
    color: var(--color-soft);
    font-size: 14px;
    line-height: 20px;
}

.page-contacts__value {
    color: var(--color-text);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

a.page-contacts__value {
    color: var(--color-blue);
    transition: color .2s ease;
}

a.page-contacts__value:hover,
a.page-contacts__value:focus-visible {
    color: var(--color-orange);
}

/* Пустая категория */
.page-empty {
    margin: 0;
    color: var(--color-soft);
    font-size: 16px;
    line-height: 24px;
}

/* Пагинация новостей */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.news-pagination__link {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.news-pagination__link:hover,
.news-pagination__link:focus-visible {
    border-color: var(--color-blue);
    color: var(--color-blue);
    box-shadow: var(--shadow-soft);
}

.news-pagination__link--disabled,
.news-pagination__link--disabled:hover {
    border-color: var(--color-line);
    background: #f3f4f6;
    color: var(--color-soft);
    box-shadow: none;
    cursor: default;
}

.news-pagination__current {
    color: var(--color-soft);
    font-size: 16px;
    line-height: 24px;
}

/* Категории материалов — динамический аналог AllArticlesPage из Figma Make. */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.listing-page {
    min-height: 60vh;
    padding: 64px 0 96px;
    background: #fff;
}

.listing-page__inner {
    display: flex;
    max-width: 1148px;
    flex-direction: column;
    gap: 0;
}

.listing-page .breadcrumbs {
    margin-bottom: 40px;
}

.listing-page__head {
    margin-bottom: 48px;
}

.listing-page__title {
    margin: 0 0 8px;
    color: var(--color-text);
    font-size: clamp(34px, 4vw, 42px);
    line-height: 1.16;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.listing-page__lead {
    max-width: 72ch;
    margin: 0;
    color: var(--color-soft);
    font-size: 16px;
    line-height: 1.7;
}

.listing-section + .listing-section {
    margin-top: 56px;
}

.listing-section__title {
    margin: 0 0 24px;
    color: var(--color-text);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.material-card {
    min-width: 0;
}

.material-card__link {
    display: flex;
    height: 100%;
    min-height: 302px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(26, 30, 46, .08);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.material-card__link:hover,
.material-card__link:focus-visible {
    border-color: rgba(0, 153, 255, .3);
    box-shadow: 0 8px 32px rgba(0, 153, 255, .12);
    transform: translateY(-4px);
    outline: none;
}

.material-card__accent {
    display: block;
    flex: none;
    height: 6px;
    background: linear-gradient(90deg, #ff6900, #0099ff, #314158);
}

.material-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.material-card__eyebrow,
.subcategory-card__eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(0, 153, 255, .08);
    color: var(--color-blue);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
}

.material-card__eyebrows,
.subcategory-card__eyebrows {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.material-card__eyebrows .material-card__eyebrow,
.subcategory-card__eyebrows .subcategory-card__eyebrow {
    margin-bottom: 0;
}

.material-card__title {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.material-card__link:hover .material-card__title,
.material-card__link:focus-visible .material-card__title {
    color: var(--color-blue);
}

.material-card__excerpt {
    display: block;
    margin-bottom: 20px;
    color: var(--color-soft);
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.material-card__meta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf0f3;
    color: #9098a5;
    font-size: 12px;
    line-height: 18px;
}

.material-card__meta time {
    text-align: right;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.subcategory-card {
    min-width: 0;
}

.subcategory-card__link {
    display: flex;
    height: 100%;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid rgba(0, 153, 255, .16);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f8fcff);
    box-shadow: 0 1px 3px rgba(26, 30, 46, .06);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.subcategory-card__link:hover,
.subcategory-card__link:focus-visible {
    border-color: rgba(0, 153, 255, .36);
    box-shadow: 0 8px 28px rgba(0, 153, 255, .1);
    transform: translateY(-4px);
    outline: none;
}

.subcategory-card__title {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.subcategory-card__text {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: var(--color-soft);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.subcategory-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--color-blue);
    font-size: 14px;
    font-weight: 600;
}

.subcategory-card__more img {
    width: 18px;
    height: 18px;
    transition: transform .24s ease;
}

.subcategory-card__link:hover .subcategory-card__more img,
.subcategory-card__link:focus-visible .subcategory-card__more img {
    transform: translateX(4px);
}

.listing-empty {
    padding: 32px;
    border: 1px dashed rgba(0, 153, 255, .25);
    border-radius: 16px;
    background: #f8fcff;
    color: var(--color-soft);
}

.listing-empty p {
    margin: 0;
}

/* Список новостей — динамический аналог AllNewsPage из Figma Make. */
.news-listing-page {
    min-height: 60vh;
    padding: 64px 0 96px;
    background: #fff;
}

.news-listing-page__inner {
    max-width: 1148px;
}

.news-listing-page .breadcrumbs {
    margin-bottom: 42px;
}

.news-listing-page__head {
    margin-bottom: 46px;
}

.news-listing-page__title {
    margin: 0;
    color: #1a1e2e;
    font-size: clamp(34px, 4vw, 42px);
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -.025em;
}

.news-list {
    border-top: 1px solid #e7ebef;
}

.news-type--important {
    --news-badge-bg: #fef2f2;
    --news-badge-border: #fecaca;
    --news-badge-color: #dc2626;
    --news-hero-gradient: linear-gradient(118deg, #1a0810 0%, #5a0f22 40%, #b02040 80%, #d4354f 100%);
    --news-hero-overlay: radial-gradient(circle at 0 0, rgba(255, 160, 171, .2), transparent 42%), radial-gradient(circle at 100% 100%, rgba(212, 53, 79, .42), transparent 38%);
    --news-hero-glow: radial-gradient(circle, rgba(212, 53, 79, .62), transparent 62%);
}

.news-type--maintenance {
    --news-badge-bg: #fffbeb;
    --news-badge-border: #fde68a;
    --news-badge-color: #b45309;
    --news-hero-gradient: linear-gradient(118deg, #12100a 0%, #4a2e00 40%, #a06000 80%, #cc8800 100%);
    --news-hero-overlay: radial-gradient(circle at 0 0, rgba(255, 229, 153, .18), transparent 42%), radial-gradient(circle at 100% 100%, rgba(204, 136, 0, .42), transparent 38%);
    --news-hero-glow: radial-gradient(circle, rgba(204, 136, 0, .62), transparent 62%);
}

.news-type--notice {
    --news-badge-bg: #eff6ff;
    --news-badge-border: #bfdbfe;
    --news-badge-color: #0099ff;
    --news-hero-gradient: linear-gradient(118deg, #0b1628 0%, #0c2d5e 30%, #0057b8 62%, #0099ff 100%);
    --news-hero-overlay: radial-gradient(circle at 0 0, rgba(128, 216, 255, .2), transparent 42%), radial-gradient(circle at 100% 100%, rgba(0, 153, 255, .4), transparent 38%);
    --news-hero-glow: radial-gradient(circle, rgba(0, 153, 255, .58), transparent 62%);
}

.news-type--general {
    --news-badge-bg: #f3f4f6;
    --news-badge-border: #d1d5db;
    --news-badge-color: #4b5563;
    --news-hero-gradient: linear-gradient(118deg, #111827 0%, #24364f 38%, #365f87 72%, #4b7fa6 100%);
    --news-hero-overlay: radial-gradient(circle at 0 0, rgba(180, 210, 235, .18), transparent 42%), radial-gradient(circle at 100% 100%, rgba(75, 127, 166, .38), transparent 38%);
    --news-hero-glow: radial-gradient(circle, rgba(75, 127, 166, .55), transparent 62%);
}

.news-type-badge {
    border-color: var(--news-badge-border);
    background: var(--news-badge-bg);
    color: var(--news-badge-color);
}

.news-card .news-type-badge {
    border: 1px solid var(--news-badge-border);
    background: var(--news-badge-bg);
    color: var(--news-badge-color);
}

.news-list-item {
    border-bottom: 1px solid #e7ebef;
    transition: border-color .22s ease, background .22s ease;
}

.news-list-item__link {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 32px;
    min-height: 166px;
    padding: 28px 24px;
    border-radius: 16px;
    color: inherit;
    transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.news-list-item--featured .news-list-item__link {
    background: linear-gradient(105deg, rgba(0, 153, 255, .075), rgba(255, 105, 0, .045));
}

.news-list-item__link:hover,
.news-list-item__link:focus-visible {
    background: #f7fbfe;
    box-shadow: 0 14px 40px rgba(29, 50, 72, .07);
    transform: translateY(-1px);
    outline: none;
}

.news-list-item__meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: #9299a5;
    font-size: 12px;
    line-height: 18px;
}

.news-list-item__badge {
    display: inline-flex;
    max-width: 100%;
    padding: 4px 10px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid var(--news-badge-border);
    background: var(--news-badge-bg);
    color: var(--news-badge-color);
    font-size: 10px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .045em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.news-list-item__body {
    min-width: 0;
}

.news-list-item__title {
    margin: 0 0 10px;
    color: #1a1e2e;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
    transition: color .22s ease;
}

.news-list-item__excerpt {
    margin: 0;
    color: #6e7480;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.news-list-item__arrow {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 153, 255, .16);
    border-radius: 50%;
    background: #fff;
    transition: border-color .22s ease, transform .22s ease;
}

.news-list-item__arrow img {
    width: 18px;
    height: 18px;
}

.news-list-item__link:hover .news-list-item__title,
.news-list-item__link:focus-visible .news-list-item__title {
    color: var(--color-blue);
}

.news-list-item__link:hover .news-list-item__arrow,
.news-list-item__link:focus-visible .news-list-item__arrow {
    border-color: rgba(0, 153, 255, .42);
    transform: translateX(4px);
}

/* Отдельный материал — динамический аналог ArticlePage из Figma Make. */
.article-page {
    min-height: 60vh;
    padding: 0 0 96px;
    background: #f7f8fa;
}

.article-page__inner {
    max-width: 1248px;
}

.article-page .breadcrumbs {
    padding: 20px 0;
}

.article-hero {
    position: relative;
    min-height: 200px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(118deg, #0b1628 0%, #0c2d5e 28%, #0057b8 56%, #0094f0 76%, #1eaeff 88%, #ff7a1a 100%);
    color: #fff;
}

.article-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(128, 216, 255, .22), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(255, 105, 0, .4), transparent 38%);
    pointer-events: none;
}

.article-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    pointer-events: none;
}

.article-hero--news {
    background: var(--news-hero-gradient);
}

.article-hero--news::before {
    background: var(--news-hero-overlay);
}

.article-hero--news .article-hero__glow {
    background: var(--news-hero-glow);
}

/* Общая плашка H1 для Page, статей, решений и новостей. */
.material-header--page {
    min-height: 0;
    background:
        radial-gradient(65% 180% at 88% -20%, rgba(219, 229, 241, .17), transparent 64%),
        linear-gradient(118deg, #1e2230 0%, #252c3e 30%, #2b3248 58%, #303a52 82%, #36415a 100%);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 12px 36px rgba(21, 30, 45, .08);
}

.material-header--page::before {
    background:
        linear-gradient(90deg, rgba(123, 134, 151, .55), rgba(225, 231, 239, .68), rgba(123, 134, 151, .55)) 0 0 / 100% 1px no-repeat,
        radial-gradient(circle at 72% 24%, rgba(226, 233, 242, .12), transparent 34%);
}

.material-header--page .article-hero__glow {
    right: -120px;
    bottom: -210px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(213, 222, 234, .16), transparent 63%);
}

.material-header--page .article-hero__content {
    min-height: 0;
    padding: 28px 32px;
}

.material-header--page .article-hero__title {
    max-width: 680px;
    margin-bottom: 12px;
    font-size: clamp(22px, 2.8vw, 28px);
    line-height: 1.28;
    text-shadow: none;
}

.article-hero__subtitle {
    max-width: 760px;
    margin: -4px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
}

.article-hero__subtitle + .article-hero__meta {
    margin-top: 18px;
}

.material-header__meta-items {
    display: contents;
}

.material-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.material-meta-icon {
    width: 14px;
    height: 14px;
    flex: none;
    background: currentColor;
    opacity: .7;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.material-meta-icon--calendar {
    -webkit-mask-image: url('../icons/calendar.svg');
    mask-image: url('../icons/calendar.svg');
}

.material-meta-icon--clock {
    -webkit-mask-image: url('../icons/clock.svg');
    mask-image: url('../icons/clock.svg');
}

.article-hero--news .material-meta-icon {
    opacity: 1;
}

.material-header-plain {
    margin-bottom: 24px;
}

.material-header-plain__title {
    max-width: 920px;
    margin: 0;
    color: var(--color-text);
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.material-header-plain__subtitle {
    max-width: 72ch;
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.65;
}

.material-header-plain__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    color: var(--color-soft);
    font-size: 13px;
    line-height: 18px;
}

.article-hero__glow {
    position: absolute;
    right: -80px;
    bottom: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 105, 0, .58), transparent 62%);
    pointer-events: none;
}

.article-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 200px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 32px;
}

.article-hero__eyebrows {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-hero__eyebrow {
    display: inline-flex;
    margin: 0;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.article-hero__title {
    max-width: 900px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(27px, 3.2vw, 34px);
    line-height: 1.22;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 18px;
}

.article-share-panel {
    padding: 12px;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(26, 30, 46, .06);
}

.article-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 153, 255, .25);
    border-radius: 12px;
    background: rgba(0, 153, 255, .07);
    color: var(--color-blue);
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.article-share-panel .article-share {
    width: 100%;
}

.article-share:hover,
.article-share:focus-visible {
    border-color: rgba(0, 153, 255, .46);
    background: rgba(0, 153, 255, .12);
    transform: translateY(-1px);
    outline: none;
}

.article-share.is-copied,
.article-share.is-copied:hover,
.article-share.is-copied:focus-visible {
    border-color: rgba(16, 172, 179, .27);
    background: rgba(15, 171, 183, .075);
    color: rgb(9, 148, 182);
    transform: none;
}

.article-share.is-error,
.article-share.is-error:hover,
.article-share.is-error:focus-visible {
    border-color: rgba(220, 38, 38, .28);
    background: rgba(220, 38, 38, .07);
    color: #dc2626;
    transform: none;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 248px;
    align-items: start;
    gap: 40px;
}

.article-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 108px;
}

.article-layout--single {
    grid-template-columns: minmax(0, 920px);
}

.page-material-layout .page-card {
    min-width: 0;
}

.article-content {
    min-width: 0;
    color: rgba(41, 43, 55, .82);
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    word-break: normal;
}

.article-content > .article-content__lead {
    margin: 0 0 40px;
    padding-left: 16px;
    border-left: 2px solid rgba(0, 153, 255, .3);
    color: rgba(41, 43, 55, .72);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 500;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content h2,
.article-content .h2 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 44px 0 20px;
    color: #1a1e2e;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.article-content h2::before,
.article-content .h2::before {
    content: "";
    width: 24px;
    height: 2px;
    flex: none;
    margin-top: .68em;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-blue));
}

.article-content h3,
.article-content .h3 {
    margin: 34px 0 16px;
    color: #1a1e2e;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.article-content h4,
.article-content .h4 {
    margin: 28px 0 14px;
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.article-content ul,
.article-content ol {
    margin: 18px 0 24px;
    padding-left: 26px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin: 8px 0;
    padding-left: 4px;
}

.article-content li::marker {
    color: var(--color-blue);
    font-weight: 600;
}

.article-content li > ul,
.article-content li > ol {
    margin: 8px 0 4px;
}

.article-content a {
    color: var(--color-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.article-content a:hover,
.article-content a:focus-visible {
    color: var(--color-orange);
}

.article-content strong,
.article-content b {
    color: var(--color-text);
    font-weight: 700;
}

.article-content em,
.article-content i {
    font-style: italic;
}

.article-content blockquote,
.article-content .qwen-markdown-blockquote {
    margin: 28px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--color-blue);
    border-radius: 0 12px 12px 0;
    background: linear-gradient(90deg, rgba(0, 153, 255, .08), rgba(0, 153, 255, .02));
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.article-content blockquote > :first-child {
    margin-top: 0;
}

.article-content blockquote > :last-child {
    margin-bottom: 0;
}

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 14px;
    object-fit: contain;
}

.article-content figure {
    max-width: 100%;
    margin: 32px 0;
}

.article-content figure img {
    margin: 0 auto;
}

.article-content figcaption {
    margin-top: 10px;
    color: var(--color-soft);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.article-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.55;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.article-content th,
.article-content td {
    min-width: 120px;
    padding: 12px 14px;
    border: 1px solid #dfe4ea;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    background: #edf7ff;
    color: var(--color-text);
    font-weight: 700;
}

.article-content tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, .56);
}

.article-content .qwen-markdown-table-wrapper,
.article-content .qwen-markdown-table-scroll-wrapper {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.article-content .qwen-markdown-table-wrapper table,
.article-content .qwen-markdown-table-scroll-wrapper table {
    display: table;
    width: max-content;
    min-width: 100%;
    max-width: none;
    overflow: visible;
}

.article-content hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #dfe4ea;
}

.article-content code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #eaf0f6;
    color: #1d293d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9em;
    overflow-wrap: anywhere;
}

.article-content pre {
    max-width: 100%;
    margin: 28px 0;
    padding: 20px;
    overflow-x: auto;
    border: 1px solid rgba(0, 153, 255, .16);
    border-radius: 14px;
    background: #101a2b;
    color: #e5edf7;
    line-height: 1.65;
    tab-size: 4;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.article-content pre code {
    padding: 0;
    background: none;
    color: inherit;
    white-space: pre;
    overflow-wrap: normal;
}

.article-content .code-snippet {
    max-width: 100%;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid rgba(124, 178, 255, .18);
    border-radius: 14px;
    background: #101a2b;
    box-shadow: 0 18px 38px rgba(16, 26, 43, .16);
}

.code-snippet__header {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #17243a;
}

.code-snippet__dots {
    display: inline-flex;
    flex: none;
    gap: 6px;
}

.code-snippet__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff5f57;
}

.code-snippet__dots span:nth-child(2) {
    background: #febc2e;
}

.code-snippet__dots span:nth-child(3) {
    background: #28c840;
}

.code-snippet__meta {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.code-snippet__language {
    overflow: hidden;
    color: rgba(220, 231, 246, .58);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    line-height: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    letter-spacing: .08em;
    white-space: nowrap;
}

.code-snippet__copy {
    flex: none;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: rgba(238, 246, 255, .82);
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.code-snippet__copy:hover,
.code-snippet__copy:focus-visible {
    border-color: rgba(0, 153, 255, .5);
    background: rgba(0, 153, 255, .14);
    color: #fff;
    outline: none;
}

.code-snippet__copy.is-copied {
    border-color: rgba(40, 200, 64, .38);
    background: rgba(40, 200, 64, .12);
    color: #82e691;
}

.code-snippet__copy.is-error {
    border-color: rgba(255, 95, 87, .42);
    background: rgba(255, 95, 87, .12);
    color: #ffaaa6;
}

.article-content .code-snippet pre {
    margin: 0;
    padding: 20px;
    border: 0;
    border-radius: 0;
    background: #101a2b;
    box-shadow: none;
}

.article-content .code-snippet pre code {
    display: block;
    min-width: max-content;
    font-size: 13px;
    line-height: 1.65;
}

.article-content iframe,
.article-content video {
    max-width: 100%;
}

/* Универсальная оболочка CMS Widget: размещение не зависит от HTML TinyMCE. */
.embedded-widget {
    display: flow-root;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin-top: 28px;
    margin-bottom: 28px;
}

.embedded-widget--left {
    margin-right: auto;
    margin-left: 0;
}

.embedded-widget--center {
    margin-right: auto;
    margin-left: auto;
}

.embedded-widget--right {
    margin-right: 0;
    margin-left: auto;
}

.embedded-widget--auto {
    width: auto;
}

.embedded-widget--content {
    width: fit-content;
}

.embedded-widget--full {
    width: 100%;
}

.embedded-widget iframe,
.embedded-widget video,
.embedded-widget img,
.embedded-widget canvas,
.embedded-widget svg {
    max-width: 100%;
}

.embedded-widget--full > iframe,
.embedded-widget--full > video {
    width: 100%;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content > :last-child {
    margin-bottom: 0;
}

.related-materials {
    padding: 20px;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(26, 30, 46, .06);
}

.related-materials__title {
    margin: 0 0 18px;
    color: var(--color-soft);
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.related-materials__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-material {
    display: block;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f3;
}

.related-material__eyebrow {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 153, 255, .08);
    color: var(--color-blue);
    font-size: 10px;
    line-height: 16px;
    font-weight: 600;
}

.related-material__eyebrows {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 7px;
}

.related-material__eyebrows .related-material__eyebrow {
    margin-bottom: 0;
}

.related-material__eyebrow--news {
    border: 1px solid var(--news-badge-border);
    background: var(--news-badge-bg);
    color: var(--news-badge-color);
}

.related-material__title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--color-text);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.related-material:hover .related-material__title,
.related-material:focus-visible .related-material__title {
    color: var(--color-blue);
}

.related-material__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #9098a5;
    font-size: 11px;
    line-height: 16px;
}

.related-materials__all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--color-blue);
    font-size: 13px;
    font-weight: 600;
}

.related-materials__all img {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.related-materials__all:hover img,
.related-materials__all:focus-visible img {
    transform: translateX(3px);
}

.related-materials__all--news {
    color: #d92b42;
}

.knowledge-related {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e3edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(26, 30, 46, .06);
}

.knowledge-related__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--color-soft);
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.knowledge-related__title {
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.knowledge-related__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #edf0f3;
    list-style: none;
}

.knowledge-related__item {
    border-bottom: 1px solid #edf0f3;
}

.knowledge-related__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 11px 0;
    color: var(--color-text);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.knowledge-related__arrow {
    color: var(--color-blue);
    transition: transform .2s ease;
}

.knowledge-related__link:hover,
.knowledge-related__link:focus-visible,
.knowledge-related__all:hover,
.knowledge-related__all:focus-visible {
    color: var(--color-blue);
}

.knowledge-related__link:focus-visible,
.knowledge-related__all:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(0, 153, 255, .35);
    outline-offset: 3px;
}

.knowledge-related__link:hover .knowledge-related__arrow,
.knowledge-related__link:focus-visible .knowledge-related__arrow {
    transform: translateX(3px);
}

.knowledge-related__all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: var(--color-blue);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.material-cta {
    position: relative;
    min-height: 250px;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 22px;
    background: linear-gradient(118deg, #0b1628 0%, #0b3c78 45%, #007ccb 72%, #0099ff 100%);
    box-shadow: 0 24px 48px rgba(15, 61, 105, .2);
}

.material-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .72) 0 1px, transparent 1.5px) 0 0 / 30px 30px,
        linear-gradient(100deg, rgba(255, 255, 255, .04), transparent 58%);
    opacity: .55;
    pointer-events: none;
}

.material-cta__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(6px);
    pointer-events: none;
}

.material-cta__glow--left {
    left: -180px;
    bottom: -230px;
    background: radial-gradient(circle, rgba(255, 105, 0, .68), transparent 66%);
}

.material-cta__glow--right {
    right: -140px;
    top: -210px;
    background: radial-gradient(circle, rgba(109, 214, 255, .6), transparent 68%);
}

.material-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 44px;
}

.material-cta__badge {
    display: inline-flex;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .88);
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.material-cta__title {
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.12;
    font-weight: 750;
}

.material-cta__text {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
    line-height: 25px;
}

.material-cta__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
    padding: 10px 20px;
    border-radius: 13px;
    background: #fff;
    color: #087fc7;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 31, 71, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}

.material-cta__button:hover,
.material-cta__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 31, 71, .28);
}

.material-cta__button img {
    width: 20px;
    height: 20px;
}

.article-sidebar .material-cta {
    width: 100%;
    min-height: 0;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(15, 61, 105, .2);
}

.article-sidebar .material-cta__content {
    min-height: 0;
    padding: 22px 18px;
}

.article-sidebar .material-cta__badge {
    padding: 4px 9px;
    font-size: 9px;
    line-height: 14px;
}

.article-sidebar .material-cta__title {
    margin-top: 13px;
    font-size: 22px;
    line-height: 1.18;
}

.article-sidebar .material-cta__text {
    margin-top: 10px;
    font-size: 13px;
    line-height: 20px;
}

.article-sidebar .material-cta__button {
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    padding: 9px 12px;
    font-size: 13px;
}

@media (max-width: 1020px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-sidebar {
        position: static;
        top: auto;
    }

    .related-materials__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .page {
        padding: 24px 0 64px;
    }

    .page-title {
        font-size: 30px;
        line-height: 38px;
    }

    .page-lead {
        font-size: 16px;
        line-height: 26px;
    }

    .page-card {
        padding: 24px;
        border-radius: var(--radius-md);
    }

    .entry-grid,
    .page-columns {
        grid-template-columns: 1fr;
    }

    .page-block__title {
        font-size: 22px;
        line-height: 30px;
    }

    .entry-card--wide {
        padding: 24px;
        border-radius: var(--radius-md);
    }

    .entry-card--wide .entry-card__title {
        font-size: 22px;
        line-height: 30px;
    }

    .listing-page {
        padding: 40px 0 72px;
    }

    .news-listing-page {
        padding: 40px 0 72px;
    }

    .news-listing-page .breadcrumbs {
        margin-bottom: 30px;
    }

    .news-listing-page__head {
        margin-bottom: 34px;
    }

    .news-list-item__link {
        grid-template-columns: 132px minmax(0, 1fr) 40px;
        gap: 24px;
        min-height: 148px;
        padding: 24px 18px;
    }

    .listing-page .breadcrumbs {
        margin-bottom: 30px;
    }

    .listing-page__head {
        margin-bottom: 36px;
    }

    .material-grid,
    .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-page {
        padding-bottom: 72px;
    }

    .article-hero__content {
        padding: 28px;
    }

    .article-content > .article-content__lead {
        margin-bottom: 32px;
        font-size: 16px;
    }
}

@media (max-width: 620px) {
    .listing-page {
        padding: 28px 0 56px;
    }

    .news-listing-page {
        padding: 28px 0 56px;
    }

    .news-listing-page .breadcrumbs {
        margin-bottom: 24px;
    }

    .news-listing-page__head {
        margin-bottom: 26px;
    }

    .news-listing-page__title {
        font-size: 32px;
    }

    .news-list-item__link {
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 16px;
        min-height: 0;
        padding: 22px 4px;
        border-radius: 0;
    }

    .news-list-item--featured .news-list-item__link {
        margin: 0 -12px;
        padding-right: 16px;
        padding-left: 16px;
        border-radius: 14px;
    }

    .news-list-item__meta {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
    }

    .news-list-item__title {
        font-size: 18px;
    }

    .news-list-item__arrow {
        width: 34px;
        height: 34px;
    }

    .listing-page .breadcrumbs {
        margin-bottom: 24px;
    }

    .listing-page__head {
        margin-bottom: 30px;
    }

    .listing-page__title {
        font-size: 32px;
    }

    .listing-section + .listing-section {
        margin-top: 40px;
    }

    .material-grid,
    .subcategory-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .material-card__link {
        min-height: 0;
    }

    .material-card__body,
    .subcategory-card__link {
        padding: 20px;
    }

    .material-card__title {
        -webkit-line-clamp: 4;
    }

    .material-card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .material-card__meta time {
        text-align: left;
    }

    .article-page {
        padding-bottom: 56px;
    }

    .article-page .breadcrumbs {
        padding: 16px 0;
    }

    .article-hero {
        min-height: 0;
        border-radius: 16px;
    }

    .article-hero__content {
        min-height: 0;
        padding: 24px 20px;
    }

    .article-hero__eyebrows {
        margin-bottom: 16px;
    }

    .article-hero__title {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .material-header--page .article-hero__content {
        padding: 24px 20px;
    }

    .material-header--page .article-hero__title {
        margin-bottom: 10px;
        font-size: 24px;
    }

    .article-hero__subtitle {
        font-size: 12px;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .article-content > .article-content__lead {
        padding-left: 14px;
        font-size: 15px;
    }

    .article-content h2,
    .article-content .h2 {
        gap: 9px;
        margin-top: 36px;
        font-size: 20px;
    }

    .article-content h2::before,
    .article-content .h2::before {
        width: 18px;
    }

    .article-content h3,
    .article-content .h3 {
        font-size: 18px;
    }

    .article-content pre {
        padding: 16px;
        border-radius: 12px;
    }

    .article-content th,
    .article-content td {
        min-width: 110px;
        padding: 10px 12px;
    }

    .related-materials__list {
        grid-template-columns: 1fr;
    }

    .material-cta {
        min-height: 0;
        border-radius: 18px;
    }

    .material-cta__content {
        min-height: 0;
        padding: 30px 22px;
    }

    .material-cta__title {
        font-size: 28px;
    }

    .material-cta__button {
        width: 100%;
    }
}
