/* Шаблоны шага 18. Общая оболочка и оформление блоков — в общих стилях. */
.entry-header { margin-bottom: 1.8rem; }
.entry-header h1.entry-title { font-weight: 400; }
.entry-intro { max-width: 68ch; color: #52646d; font-size: 1.125rem; line-height: 1.65; }
.entry-intro > :last-child { margin-bottom: 0; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .8125rem; color: #52646d; margin-block: 1rem; }
.entry--wide { max-width: none; }
.entry--page { max-width: 960px; }
.entry--wide > .entry-content > .alignwide, .entry--wide > .entry-content > .alignfull { width: 100%; margin-inline: 0; }
.atmo-home-hero { padding: clamp(1.5rem, 4cqw, 3rem); background: #081116; color: #f7fbfc; border-radius: 6px; }
.atmo-home-hero h1 { max-width: 24ch; font-size: clamp(1.75rem, 5cqw, 3.625rem); line-height: 1.13; }
.atmo-home-hero .entry-intro { color: #bed0d9; }
.atmo-home-hero a { color: #65c6f3; }
.atmo-cover { margin: 0 0 1.8rem; }
.atmo-cover img { display: block; width: 100%; height: auto; border-radius: 7px; }
.atmo-breadcrumbs { margin-bottom: 1.5rem; font-size: .8125rem; color: #52646d; }
.atmo-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .6rem; list-style: none; margin: 0; padding: 0; }
.atmo-breadcrumbs li + li::before { content: '›'; margin-right: .6rem; }
.atmo-material-list > .entry { max-width: none; }
.atmo-page-collection, .atmo-related { margin-top: 2.5rem; }
.atmo-next-step { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #cbd5da; }
.atmo-collection-main .collection-header { max-width: none; }
.atmo-collection-main .collection-header h1 { max-width: 30ch; }
.atmo-collection-main .search-form { color: #18262d; margin-block: 1rem; }
.entry--article.has-article-aside { max-width: none; }
.atmo-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.has-article-aside .atmo-article-layout { grid-template-columns: minmax(0, 1fr) 260px; }
.atmo-article-main { min-width: 0; max-width: 68ch; }
.entry--article .entry-content > .alignwide, .entry--article .entry-content > .alignfull { width: 100%; margin-inline: 0; }
.atmo-article-sidebar { min-width: 0; align-self: stretch; font-size: .875rem; }
.atmo-toc { padding: 1.2rem; background: #f4f7f8; border: 1px solid #cbd5da; border-radius: 6px; }
.atmo-toc h2 { font-size: .9375rem; margin-block: 0 .75rem; }
.atmo-toc ol { margin: 0; padding-left: 1.2rem; font-size: .875rem; }
.atmo-toc li + li { margin-top: .55rem; }
.atmo-toc a { line-height: 1.5; overflow-wrap: anywhere; }
.atmo-toc__subitem { margin-left: .8rem; }
.atmo-toc--mobile { display: none; margin-bottom: 1.5rem; }
.atmo-sidebar-block { border-top: 1px solid #cbd5da; padding-top: 1.2rem; margin-top: 1.5rem; overflow-wrap: anywhere; }
.atmo-sidebar-block > :first-child { margin-top: 0; }
.atmo-sidebar-block h2, .atmo-sidebar-block h3 { font-size: 1rem; }
.atmo-sidebar-block .alignwide, .atmo-sidebar-block .alignfull { width: 100%; margin-inline: 0; }
.atmo-sidebar-block.is-sticky-eligible { position: sticky; top: calc(var(--atmo-header-height) + var(--atmo-admin-offset) + 20px); }
.atmo-pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.atmo-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .4rem .7rem; border: 1px solid #cbd5da; border-radius: 5px; }
.atmo-pagination .current { background: #081116; color: #fff; }
.atmo-editor-hint { font-size: .875rem; color: #52646d; }
@container (max-width: 900px) { .has-article-aside .atmo-article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 1.5rem; } }
@container (max-width: 720px) {
    .has-article-aside .atmo-article-layout { display: block; }
    .atmo-article-sidebar { display: none; }
    .atmo-toc--mobile { display: block; }
    .atmo-article-main { max-width: none; }
    .atmo-sidebar-block.is-sticky-eligible { position: static; }
    .entry-title, .atmo-home-hero h1 { font-size: clamp(1.5rem, 8cqw, 2.375rem); line-height: 1.13; }
    .atmo-home-hero { padding: 1.5rem; }
}
