/* Articles: main-page block and article pages. Uses the tokens of style.css. Generated by the CMS. */
.al { display: none; }
html[lang="ru"] .al[data-l~="ru"], html[lang="uk"] .al[data-l~="uk"], html[lang="en"] .al[data-l~="en"] { display: revert; }

.cms-articles .section-intro { margin-bottom: 28px; }
.art-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.art-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); transition: transform var(--d-mid) var(--ease-out), box-shadow var(--d-mid) var(--ease-out); }
.art-cover { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sage-soft); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-cover-empty { background: linear-gradient(135deg, var(--sage-soft), var(--surface-2)); }
.art-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.art-meta { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.art-title { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.art-excerpt { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.art-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--green); }
.art-more .icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art-all { margin-top: 24px; }
@media (hover: hover) { .art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }
@media (min-width: 760px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }

/* Article page */
.article-page { background: var(--bg); }
.art-main { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: 40px; min-height: 60vh; }
.art-main-wide { width: min(1160px, 100% - 2 * var(--gutter)); }
.art-back { margin-bottom: 24px; font-size: 14.5px; }
.art-back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-weight: 600; }
.art-date { margin: 0 0 12px; }
.art-h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -.028em; color: var(--ink); }
.art-hero { margin: 28px 0 8px; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-soft); box-shadow: var(--shadow); }
.art-hero img { width: 100%; height: auto; }
.art-note { margin: 0 0 18px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--sage-soft); color: var(--green); font-size: 14px; }
.art-text { margin-top: 28px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.art-text p { margin: 0 0 1.1em; }
.art-text h2 { margin: 1.8em 0 .6em; font-size: clamp(24px, 4vw, 30px); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.art-text h3 { margin: 1.5em 0 .5em; font-size: 20px; line-height: 1.3; color: var(--ink); }
.art-text ul, .art-text ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.art-text ul { list-style: disc; }
.art-text ol { list-style: decimal; }
.art-text li { margin: .3em 0; padding-left: .2em; }
.art-text a { color: var(--green); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.art-text strong { color: var(--ink); font-weight: 600; }
.art-article { padding-bottom: 8px; }
.article-page .footer { margin-top: 72px; }
.article-page .nav a[aria-current="page"] { color: var(--green); }
