/* Стили из <style> главной страницы макета */
.hero:not(.page) h1{font-size:clamp(32px,3.9vw,58px)}
.hero:not(.page) .h1-roll{font-size:clamp(32px,3.9vw,58px)}
@media(max-width:900px){.hero:not(.page) h1,.hero:not(.page) .h1-roll{font-size:clamp(30px,5.1vw,46px)}}
@media(max-width:640px){.hero:not(.page) h1,.hero:not(.page) .h1-roll{font-size:clamp(25px,7.1vw,35px)}}

/* Дополнения к стилям макета для WordPress: панель админа, ссылки в карточках блога, рубрики, страницы блога, статья, ловушка формы */
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hdr { top: 0; } }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.post { position: relative; }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post:hover h3 a { color: var(--blue); }
.post .cover img { width: 100%; height: 100%; object-fit: cover; }

.cats a { border-radius: 999px; padding: 10px 16px; background: var(--sky); color: var(--blue-d); font-weight: 500; font-size: 15px; text-decoration: none; }
.cats a.on, .cats a:hover { background: var(--blue); color: #fff; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.pager .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.pager .current { background: var(--blue); border-color: var(--blue); color: #fff; }

.article-cover { border-radius: var(--r); overflow: hidden; margin-bottom: 32px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 780px; font-size: 18px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { height: auto; border-radius: var(--r-sm); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--sky-3); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* В макете заголовок формы на синем фоне белый на белом — делаем видимым */
.on-blue .form h3 { color: var(--ink); }
