/* Styles for article.blade.php and pages/stati.blade.php
   Оформление следует образцам дизайна в корне репозитория:
   скругления по токенам сайта, зелёная шапка с капс-меткой,
   белая карточка контента, наезжающая на шапку, кнопки без цен. */

/* ===== Зелёная шапка статьи ===== */
.art-hero {
    background: var(--accent);
    padding: 140px 0 96px;
    position: relative;
    overflow: hidden;
}

.art-hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(200, 165, 92, 0.10) 0%, rgba(200, 165, 92, 0) 70%);
    border-radius: 50%;
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.art-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.art-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
}

.art-crumbs a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease);
}

.art-crumbs a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.art-flag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #D4B36E;
    margin-bottom: 14px;
}

.art-hero__title {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: var(--white);
    margin: 0 0 20px;
}

.art-hero__lead {
    font-size: 1.06rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 26px;
    max-width: 66ch;
}

.art-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.art-meta__author {
    color: #D4B36E;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 179, 110, 0.35);
    transition: border-color var(--dur) var(--ease);
}

.art-meta__author:hover {
    border-bottom-color: #D4B36E;
}

/* ===== Раскладка: белая карточка наезжает на шапку ===== */
.art-wrap {
    background: var(--gray-50);
    padding-bottom: 80px;
}

.art-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
    margin-top: -56px;
    position: relative;
    z-index: 2;
}

.art-body {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 40px rgba(8, 47, 36, 0.06);
    padding: 44px 48px;
    min-width: 0;
}

/* ===== Обложка в начале статьи ===== */
.art-cover {
    margin: 0 0 36px;
}

.art-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--gray-100);
}

/* ===== Оглавление ===== */
.art-toc {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 40px;
}

.art-toc__title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin: 0 0 14px;
}

.art-toc__list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.art-toc__list a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.94rem;
    line-height: 1.45;
    border-bottom: 1px solid transparent;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.art-toc__list a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ===== Текст ===== */
.art-h2 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.32rem, 2.4vw, 1.68rem);
    line-height: 1.3;
    color: var(--gray-900);
    margin: 44px 0 16px;
    scroll-margin-top: 100px;
}

.art-p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--gray-700);
    margin: 0 0 18px;
}

.art-p strong,
.art-list strong {
    color: var(--gray-900);
    font-weight: 600;
}

.art-list {
    margin: 0 0 22px;
    padding-left: 22px;
    display: grid;
    gap: 11px;
}

.art-list li {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--gray-700);
}

.art-list li::marker {
    color: #C8A55C;
}

/* ===== Цитата нормы ===== */
.art-law {
    background: var(--accent-50);
    border: 1px solid var(--accent-100);
    border-radius: var(--radius-md);
    margin: 0 0 24px;
    padding: 20px 24px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gray-700);
}

/* ===== Врезка ===== */
.art-callout {
    background: #fdf9f0;
    border: 1px solid rgba(200, 165, 92, 0.35);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin: 0 0 26px;
}

.art-callout__title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9a7b34;
    margin: 0 0 10px;
}

.art-callout__text {
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--gray-700);
    margin: 0;
}

/* ===== Таймлайн ===== */
.art-timeline {
    display: grid;
    margin: 0 0 30px;
    border-left: 2px solid var(--gray-200);
}

.art-tl {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 18px 0 18px 26px;
    position: relative;
}

.art-tl::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: #C8A55C;
    border: 2px solid var(--white);
    border-radius: var(--radius-full);
}

.art-tl__day {
    display: inline-block;
    align-self: start;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--accent);
    background: var(--accent-50);
    border-radius: var(--radius-full);
    padding: 5px 14px;
}

.art-tl__title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
    margin: 0 0 5px;
}

.art-tl__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
}

/* ===== CTA: одна кнопка, выбор формата — в модальном окне ===== */
.art-cta {
    background: var(--accent);
    border-radius: var(--radius-lg);
    color: var(--white);
    padding: 36px 38px;
    margin: 48px 0 40px;
    position: relative;
    overflow: hidden;
}

.art-cta::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(200, 165, 92, 0.12) 0%, rgba(200, 165, 92, 0) 70%);
    border-radius: 50%;
    bottom: -180px;
    right: -100px;
    pointer-events: none;
}

.art-cta__label {
    position: relative;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #D4B36E;
    margin: 0 0 12px;
}

.art-cta__title {
    position: relative;
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    line-height: 1.32;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--white);
}

.art-cta__text {
    position: relative;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
    max-width: 56ch;
}

.art-cta__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #C8A55C;
    color: #02312b;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.art-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.art-cta__note {
    position: relative;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    margin: 18px 0 0;
}

/* ===== FAQ ===== */
.art-faq {
    display: grid;
    gap: 10px;
    margin-bottom: 34px;
}

.art-faq__item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: border-color var(--dur) var(--ease);
}

.art-faq__item[open] {
    border-color: var(--accent-100);
    background: var(--gray-50);
}

.art-faq__q {
    cursor: pointer;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.art-faq__q::-webkit-details-marker {
    display: none;
}

.art-faq__q::after {
    content: '+';
    color: #C8A55C;
    font-size: 1.3rem;
    line-height: 1;
    flex: 0 0 auto;
}

.art-faq__item[open] .art-faq__q::after {
    content: '−';
}

.art-faq__a {
    padding: 0 22px 18px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 66ch;
}

/* ===== Об авторе ===== */
.art-author {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    margin: 40px 0 16px;
}

.art-author__photo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gray-100);
}

.art-author__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin: 0 0 4px;
}

.art-author__name {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 8px;
}

.art-author__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0 0 10px;
}

.art-author__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.art-author__link:hover {
    color: var(--accent-light);
}

.art-disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gray-500);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 0;
}

/* ===== Поделиться: строки с иконками в правой панели ===== */
.share-list {
    display: grid;
    gap: 4px;
}

.share-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-700);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.share-item:hover {
    background: var(--accent-50);
    color: var(--accent);
}

.share-item__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #C8A55C;
    transition: color var(--dur) var(--ease);
}

.share-item:hover .share-item__icon {
    color: var(--accent);
}

/* Подсказка появляется с задержкой: при беглом движении мыши не мелькает */
.share-item::after {
    content: attr(data-hint);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 8px;
    right: 8px;
    z-index: 20;
    background: #082F24;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.45;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(8, 47, 36, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.14s ease, visibility 0.14s ease, transform 0.14s ease;
    pointer-events: none;
}

.share-item:hover::after,
.share-item:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Задержка только на показ: при уходе курсора подсказка гаснет сразу */
    transition-delay: 0.55s;
}

.share-note {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 12px 0 0;
    min-height: 1px;
}

.share-note--ok {
    color: var(--accent);
}

.share-note--error {
    color: #b91c1c;
}

/* ===== Сайдбар ===== */
.art-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
}

.art-side__card {
    position: relative;
    z-index: 1;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: 0 6px 24px rgba(8, 47, 36, 0.04);
}

/* Карточка с подсказками должна лежать выше соседних */
.art-side__card:has(.share-list) {
    z-index: 3;
}

.art-side__label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin: 0 0 14px;
}

.art-side__service {
    display: block;
    font-family: 'Lora', Georgia, serif;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gray-900);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color var(--dur) var(--ease);
}

.art-side__service:hover {
    color: var(--accent);
}

.art-side__text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--gray-600);
    margin: 0;
}

.art-side__link {
    display: block;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--gray-700);
    text-decoration: none;
    padding: 11px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color var(--dur) var(--ease);
}

.art-side__link:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.art-side__link:hover {
    color: var(--accent);
}

/* ===== Список статей ===== */
.arts-hero {
    background: var(--accent);
    padding: 140px 0 88px;
    position: relative;
    overflow: hidden;
}

.arts-hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(200, 165, 92, 0.10) 0%, rgba(200, 165, 92, 0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.arts-hero__inner {
    position: relative;
    z-index: 1;
}

.arts-hero__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-bottom: 18px;
}

.arts-hero__title {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: var(--white);
    margin: 0;
}

.arts-hero__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 64ch;
    margin: 0;
}

.arts-wrap {
    background: var(--gray-50);
    padding-bottom: 80px;
}

.arts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.arts-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(8, 47, 36, 0.06);
    padding: 28px 30px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.arts-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(8, 47, 36, 0.09);
    border-color: var(--accent-100);
}

/* Свежий материал: во всю ширину сетки и с более крупной типографикой */
.arts-card--lead {
    grid-column: 1 / -1;
    padding: 40px 44px 36px;
    /* Лежит на зелёной шапке: серая рамка там читается как шов */
    border: 0;
}

.arts-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.arts-card__top:empty {
    display: none;
}

/* Нечётный остаток: последняя карточка закрывает ряд целиком */
.arts-card--wide {
    grid-column: 1 / -1;
}

/* Карточка с обложкой: картинка по краю, отступы переезжают в тело */
.arts-card--cover {
    padding: 0;
    overflow: hidden;
}

.arts-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.arts-card--cover .arts-card__body {
    padding: 24px 30px 28px;
}

.arts-card__media {
    display: block;
    background: var(--gray-100);
}

.arts-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.arts-card--cover:hover .arts-card__media img {
    transform: scale(1.02);
}

.arts-card__media picture {
    display: block;
    overflow: hidden;
}

/* Свежий материал и широкая карточка: картинка слева, текст справа */
.arts-card--lead.arts-card--cover,
.arts-card--wide.arts-card--cover {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
}

.arts-card--lead.arts-card--cover .arts-card__media,
.arts-card--wide.arts-card--cover .arts-card__media,
.arts-card--lead.arts-card--cover .arts-card__media picture,
.arts-card--wide.arts-card--cover .arts-card__media picture {
    height: 100%;
}

.arts-card--lead.arts-card--cover .arts-card__media img,
.arts-card--wide.arts-card--cover .arts-card__media img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 100%;
}

.arts-card--lead.arts-card--cover .arts-card__body {
    padding: 36px 40px 32px;
}

/* Разделитель между свежим материалом и остальной подборкой */
.arts-sep {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 0;
}

.arts-sep__label {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray-500);
}

.arts-sep__line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.arts-sep__count {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #A8873E;
}

.arts-card__flag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-50);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    margin: 0;
}

.arts-card__title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.34;
    font-weight: 600;
    margin: 0 0 12px;
}

.arts-card--lead .arts-card__title {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    line-height: 1.24;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.arts-card__title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

.arts-card__title a:hover {
    color: var(--accent);
}

.arts-card__lead {
    font-size: 0.93rem;
    line-height: 1.62;
    color: var(--gray-600);
    margin: 0 0 18px;
    max-width: 70ch;
}

.arts-card--lead .arts-card__lead {
    font-size: 1.04rem;
    line-height: 1.68;
    color: var(--gray-700);
    max-width: 82ch;
}

.arts-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: auto 0 16px;
}

.arts-card__meta > span + span::before {
    content: '·';
    margin-right: 14px;
    color: var(--gray-300);
}

.arts-card__topic {
    padding: 4px 11px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    text-decoration: none;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.arts-card__topic:hover {
    background: var(--accent-50);
    color: var(--accent);
}

.arts-card__more {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.arts-card__more:hover {
    color: var(--accent-light);
}

.arts-feed {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.arts-feed:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #D4B36E;
}

.arts-feed__icon {
    width: 18px;
    height: 18px;
    color: #D4B36E;
}

.arts-feed::after {
    content: attr(data-hint);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    z-index: 5;
    width: max-content;
    max-width: 280px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.45;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 28px rgba(8, 47, 36, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.14s ease, visibility 0.14s ease, transform 0.14s ease;
    pointer-events: none;
}

.arts-feed:hover::after,
.arts-feed:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Задержка только на показ: при уходе курсора подсказка гаснет сразу */
    transition-delay: 0.55s;
}

.arts-cta {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 24px rgba(8, 47, 36, 0.04);
    padding: 36px 38px;
}

.arts-cta__title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.3rem, 2.4vw, 1.5rem);
    line-height: 1.3;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 10px;
}

.arts-cta__text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-600);
    margin: 0 0 24px;
    max-width: 62ch;
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
    .art-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .art-side {
        position: static;
    }
}

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

    .arts-card--lead {
        padding: 32px 30px 28px;
    }

    .arts-card--lead.arts-card--cover,
    .arts-card--wide.arts-card--cover {
        display: flex;
        padding: 0;
    }

    .arts-card--lead.arts-card--cover .arts-card__media img,
    .arts-card--wide.arts-card--cover .arts-card__media img {
        aspect-ratio: 1200 / 630;
        height: auto;
        min-height: 0;
    }

    .arts-card--lead.arts-card--cover .arts-card__body {
        padding: 28px 30px 28px;
    }
}

@media (max-width: 640px) {
    .art-hero,
    .arts-hero {
        padding: 116px 0 72px;
    }

    .art-body {
        padding: 30px 22px;
        border-radius: var(--radius-md);
    }

    .art-hero__lead {
        font-size: 1rem;
    }

    .art-tl {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding-left: 22px;
    }

    .art-cta,
    .arts-cta {
        padding: 28px 22px;
        border-radius: var(--radius-md);
    }

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

    .arts-card--lead {
        padding: 26px 20px 24px;
        border-radius: var(--radius-md);
    }

    .arts-card--cover,
    .arts-card--lead.arts-card--cover {
        padding: 0;
    }

    .arts-card--cover .arts-card__body,
    .arts-card--lead.arts-card--cover .arts-card__body {
        padding: 20px 20px 22px;
    }

    .art-cover {
        margin-bottom: 28px;
    }

    .art-author {
        gap: 14px;
        padding: 18px;
    }

    .art-author__photo {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .art-cover img {
        border-radius: var(--radius-sm);
    }

    .arts-card__meta {
        gap: 4px 12px;
    }

    .arts-card__meta > span + span::before,
    .arts-card__meta > span + a::before {
        margin-right: 12px;
    }

    .art-toc {
        padding: 18px 20px;
    }
}
