/* ==========================================================================
   Наш Уральск — основная таблица стилей
   Переключение на мобильный вид: 1000px
   ========================================================================== */

:root {
	--ink: #16181B;
	--text: #1F2226;
	--muted: #5C6068;
	--line: #E6E7EA;
	--line-2: #EEEFF1;
	--bg: #F3F4F6;
	--white: #FFFFFF;
	--graphite: #1F2226;
	--graphite-2: #2A2E33;
	--red: #E3123F;
	--red-text: #C40F37;
	--red-dark: #9E0C2C;
	--yellow: #F2E31B;
	--radius: 14px;
	--font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--entry-size: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.5 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:active, button:active { opacity: .75; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); }

.container { width: 100%; max-width: 1232px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.hscroll { scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }

/* Видимость: компьютер / телефон */
.only-mob, .only-mob-b { display: none !important; }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 32px; border: 0; border-radius: 999px; font: 700 15px var(--font-head); text-decoration: none; transition: background-color .15s ease; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #C20F36; }
.btn--dark { background: var(--graphite); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }

/* --------------------------------------------------------------------------
   Реклама
   -------------------------------------------------------------------------- */
.ad { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--line); }
.ad__img { display: block; width: 100%; height: auto; }
.ad--top { border-radius: 8px; }
.ad__label { position: absolute; right: 8px; top: 8px; background: rgba(255, 255, 255, .9); color: var(--muted); font: 500 11px/1 var(--font-body); padding: 4px 6px; border-radius: 4px; }
.ad-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 4 / 1; border: 2px dashed #B9BCC2; border-radius: 12px; background: var(--white); color: var(--muted); text-decoration: none; text-align: center; padding: 16px; }
.ad-empty strong { font: 700 15px var(--font-head); color: var(--text); }
.ad-empty:hover strong { color: var(--red); }

/* --------------------------------------------------------------------------
   Шапка (компьютер)
   -------------------------------------------------------------------------- */
.top { background: var(--white); }
.top__ad { padding-top: 12px; }
.hdr { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: block; flex: 0 0 auto; line-height: 0; }
.logo__img { display: block; height: 64px; width: auto; }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.hdr__meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.hdr__date { font-weight: 600; color: var(--text); }
.hdr__weather { display: flex; align-items: center; gap: 6px; }

.sbox { flex: 1 1 280px; max-width: 440px; display: flex; align-items: center; background: var(--white); border: 1px solid #D5D7DB; border-radius: 999px; padding: 0 5px 0 18px; height: 46px; }
.sbox:focus-within { border-color: var(--text); }
.sbox__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 15px var(--font-body); color: var(--text); }
.sbox__input::-webkit-search-cancel-button { display: none; }
.sbox__btn { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.sbox--page { flex: 0 0 auto; width: 100%; max-width: 560px; margin: 0 0 20px; }

/* Соцсети */
.socials { display: flex; gap: 8px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.soc__txt { font: 800 12px var(--font-head); }
.soc__txt--f { font-size: 16px; }
.socials--light .soc { background: var(--white); border: 1px solid #D5D7DB; color: var(--text); }
.socials--dark .soc { width: 44px; height: 44px; border: 1px solid #4A4E55; color: #D5D7DB; }
.soc:hover { color: var(--white) !important; transform: translateY(-2px); }
.soc--vk:hover { background: #0077FF; border-color: #0077FF; }
.soc--facebook:hover { background: #1877F2; border-color: #1877F2; }
.soc--instagram:hover { background: #E1306C; border-color: #E1306C; }
.soc--telegram:hover { background: #229ED9; border-color: #229ED9; }

/* --------------------------------------------------------------------------
   Меню (компьютер)
   -------------------------------------------------------------------------- */
.nav { background: var(--graphite); position: relative; z-index: 20; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 4px; }
.nav .menu > li { position: relative; }
.nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 17px 16px; font: 700 15px/1 var(--font-head); color: var(--white); text-decoration: none; white-space: nowrap; }
.nav .menu > li > a:hover, .nav .menu > li:hover > a { color: var(--yellow); }
.nav .menu > .menu-item-has-children > a::after { content: ''; width: 7px; height: 7px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.nav .menu > .current-menu-item > a,
.nav .menu > .current-menu-ancestor > a,
.nav .menu > .current-menu-parent > a,
.nav .menu > .current-post-ancestor > a,
.nav .menu > .current-category-ancestor > a { color: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow); }
.nav .menu > .menu-right { margin-left: auto; }
.nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: var(--ink); border-radius: 0 0 12px 12px; box-shadow: 0 16px 32px rgba(0, 0, 0, .25); }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu { display: block; }
.nav .sub-menu a { display: block; padding: 12px 16px; font: 600 15px var(--font-head); color: var(--white); text-decoration: none; border-radius: 8px; }
.nav .sub-menu a:hover, .nav .sub-menu .current-menu-item > a { background: var(--graphite-2); color: var(--yellow); }

/* --------------------------------------------------------------------------
   Сетка страницы
   -------------------------------------------------------------------------- */
.layout { display: flex; gap: 32px; align-items: flex-start; padding-top: 24px; padding-bottom: 48px; }
.layout__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.side { flex: 0 0 300px; width: 300px; align-self: stretch; display: flex; flex-direction: column; gap: 20px; }
.side__sticky { position: sticky; top: 16px; }
.admin-bar .side__sticky { top: 48px; }
.box { background: var(--white); border-radius: var(--radius); padding: 20px; }
.box__title { margin: 0 0 6px; font: 800 18px/1.2 var(--font-head); color: var(--ink); }

/* --------------------------------------------------------------------------
   Фото
   -------------------------------------------------------------------------- */
.pic { position: relative; overflow: hidden; background: var(--line); aspect-ratio: 16 / 10; }
.pic__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.pic.is-portrait { background: var(--graphite); }
.pic.is-portrait .pic__img { position: relative; object-fit: contain; object-position: center; }
.pic__blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.75); transform: scale(1.15); }
.pic--empty { display: flex; align-items: center; justify-content: center; background: var(--graphite); }
.pic__logo { width: 46%; height: auto; opacity: .35; }

.badge { display: inline-block; background: var(--red); color: var(--white); font: 700 11px/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; text-decoration: none; }

/* --------------------------------------------------------------------------
   Слайдер главных новостей
   -------------------------------------------------------------------------- */
.slider { display: flex; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.slider__stage { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.slide { display: none; flex-direction: column; text-decoration: none; color: inherit; }
.slide.is-active { display: flex; animation: nu-fade .35s ease; }
@keyframes nu-fade { from { opacity: .3; } to { opacity: 1; } }
.slide__media { position: relative; }
.slide__pic { aspect-ratio: 16 / 9; background: var(--graphite); }
.slide__badge { position: absolute; left: 16px; top: 16px; font-size: 12px; padding: 7px 10px; }
.slide__num { position: absolute; right: 12px; top: 12px; background: rgba(22, 24, 27, .7); color: var(--white); font: 600 12px/1 var(--font-body); padding: 6px 8px; border-radius: 999px; }
.slide__text { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.slide__title { margin: 0; font: 800 26px/1.22 var(--font-head); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s ease; }
.slide:hover .slide__title { color: var(--red); }
.slide__excerpt { margin: 0; font: 400 15px/1.5 var(--font-body); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__date { font: 500 13px var(--font-body); color: var(--muted); }
.slider__list { flex: 0 0 330px; list-style: none; margin: 0; padding: 10px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.thumb { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 10px; border: 0; border-radius: 10px; background: transparent; position: relative; overflow: hidden; transition: background-color .15s ease; }
.thumb:hover, .thumb.is-active { background: var(--bg); }
.thumb__pic { flex: 0 0 92px; width: 92px; height: 66px; aspect-ratio: auto; border-radius: 8px; }
.thumb__pic .pic__img { object-fit: cover !important; object-position: center 20%; }
.thumb__pic .pic__blur { display: none; }
.thumb__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.thumb__cat { font: 700 11px/1.2 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--red-text); }
.thumb__title { font: 600 13px/1.35 var(--font-head); color: #3A3E45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s ease; }
.thumb.is-active .thumb__title { color: var(--ink); }
.thumb:hover .thumb__title { color: var(--red); }
.thumb__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); }
.slider__dots { justify-content: center; gap: 2px; padding: 0 0 12px; }
.dot { width: 30px; height: 30px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; }
.dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: #D5D7DB; transition: width .2s ease, background-color .2s ease; }
.dot.is-active span { width: 22px; background: var(--red); }

/* --------------------------------------------------------------------------
   Лента новостей
   -------------------------------------------------------------------------- */
.news { display: flex; flex-direction: column; gap: 18px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--text); padding-bottom: 10px; }
.sec-head--plain { border: 0; padding: 0; }
.sec-head__title { margin: 0; font: 800 24px/1.2 var(--font-head); color: var(--ink); }
.sec-head__link { font: 600 14px var(--font-body); color: var(--red-text); text-decoration: none; white-space: nowrap; }
.sec-head__link:hover { color: var(--red-dark); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.grid__wide { grid-column: 1 / -1; }

.card { background: var(--white); border-radius: 12px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: 0 8px 24px rgba(16, 24, 40, .12); transform: translateY(-2px); }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card__media { position: relative; }
.card__badge { position: absolute; left: 12px; top: 12px; }
.card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__title { margin: 0; font: 700 17px/1.3 var(--font-head); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s ease; }
.card:hover .card__title { color: var(--red); }
.card__excerpt { margin: 0; font: 400 14px/1.5 var(--font-body); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font: 500 12px var(--font-body); color: var(--muted); }
.card__cat { display: none; color: var(--red-text); font-weight: 700; }

.more { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.more__info { font: 500 13px var(--font-body); color: var(--muted); }
.btn.is-loading { opacity: .6; pointer-events: none; }

/* Поздравления */
.congr { display: flex; flex-direction: column; gap: 16px; }
.congr__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.congr__card:nth-child(n+4) { display: none; }
.congr__card { scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FAFAFB; text-decoration: none; color: inherit; transition: box-shadow .15s ease; }
.congr__card:hover { box-shadow: 0 8px 24px rgba(16, 24, 40, .10); }
.congr__pic { aspect-ratio: 4 / 3; }
.congr__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.congr__date { font: 600 12px var(--font-body); color: var(--muted); }
.congr__title { font: 700 16px/1.35 var(--font-head); color: var(--ink); transition: color .15s ease; }
.congr__card:hover .congr__title { color: var(--red); }
.congr__excerpt { font: 400 14px/1.5 var(--font-body); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Последние новости (колонка) */
.latest__list { list-style: none; margin: 0; padding: 0; }
.latest__list li { border-top: 1px solid var(--line-2); }
.latest__list a { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; text-decoration: none; color: var(--text); }
.latest__date { font: 600 12px var(--font-body); color: var(--muted); }
.latest__title { font: 600 14px/1.4 var(--font-head); transition: color .15s ease; }
.latest__list a:hover .latest__title { color: var(--red); }

/* --------------------------------------------------------------------------
   Рубрика, поиск
   -------------------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px var(--font-body); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.page-title { margin: 0; font: 800 36px/1.15 var(--font-head); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 40px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; font: 600 14px var(--font-body); text-decoration: none; background: var(--white); color: var(--text); border: 1px solid #D5D7DB; white-space: nowrap; }
.filter:hover { border-color: var(--red); }
.filter.is-active { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.rows { display: flex; flex-direction: column; gap: 16px; }
.row { background: var(--white); border-radius: var(--radius); transition: box-shadow .15s ease; }
.row:hover { box-shadow: 0 8px 24px rgba(16, 24, 40, .10); }
.row__link { display: flex; gap: 20px; padding: 16px; text-decoration: none; color: inherit; }
.row__pic { flex: 0 0 280px; border-radius: 10px; }
.row__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.row__meta { font: 600 13px var(--font-body); color: var(--muted); }
.row__cat { color: var(--red-text); font-weight: 700; }
.row__title { margin: 0; font: 700 21px/1.3 var(--font-head); color: var(--ink); transition: color .15s ease; }
.row:hover .row__title { color: var(--red); }
.row__excerpt { margin: 0; font: 400 15px/1.55 var(--font-body); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.found, .empty { margin: 0; color: var(--muted); }
.notfound { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.notfound p { margin: 0; }

/* --------------------------------------------------------------------------
   Новость
   -------------------------------------------------------------------------- */
.article { background: var(--white); border-radius: var(--radius); padding: 32px 40px 40px; gap: 0; }
.article .crumbs { margin-bottom: 20px; }
.article__badge { align-self: flex-start; font-size: 12px; padding: 7px 10px; }
.article__title { margin: 14px 0 16px; font: 800 38px/1.18 var(--font-head); color: var(--ink); max-width: 780px; }
.article__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.article__meta { display: flex; flex-wrap: wrap; gap: 16px; font: 500 14px var(--font-body); color: var(--muted); }
.article__tools { display: flex; align-items: center; gap: 8px; }
.article__cover { margin: 24px 0 0; }
.article__pic { aspect-ratio: 3 / 2; border-radius: 10px; }
.article__cover figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share__btn { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5D7DB; background: var(--white); display: inline-flex; align-items: center; font: 600 13px var(--font-body); color: var(--text); text-decoration: none; transition: background-color .15s ease; }
.share__btn:hover { background: var(--bg); }
.share--dark .share__btn { height: 44px; padding: 0 18px; border: 0; background: var(--graphite); color: var(--white); font-size: 14px; }
.share--dark .share__btn:hover { background: #000; }
.share__copy.is-done { background: var(--yellow) !important; color: var(--ink) !important; }

.entry { max-width: 740px; font: 400 var(--entry-size)/1.7 var(--font-body); color: var(--text); margin-top: 24px; overflow-wrap: break-word; }
.entry > * { margin: 0 0 20px; }
.entry > p:first-child { font-weight: 600; }
.entry h2 { font: 800 26px/1.25 var(--font-head); margin: 32px 0 12px; color: var(--ink); }
.entry h3 { font: 700 21px/1.3 var(--font-head); margin: 28px 0 10px; color: var(--ink); }
.entry a { color: var(--red-text); }
.entry a:hover { color: var(--red-dark); }
.entry img { display: block; max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.entry img.aligncenter, .entry .aligncenter img { margin-left: auto; margin-right: auto; }
.entry .wp-caption { max-width: 100%; }
.entry .wp-caption img { margin-bottom: 0; }
.entry figure { margin: 24px 0; }
.entry figcaption, .entry .wp-caption-text { font-size: 14px; color: var(--muted); margin-top: 6px; }
.entry .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; }
.entry .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; }
.entry .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry::after { content: ''; display: table; clear: both; }
.entry .ad__img { margin: 0; border-radius: 0; width: 100%; }
.entry blockquote { margin: 28px 0; padding: 22px 26px; background: #FFF9D6; border-radius: 12px; font-weight: 500; }
.entry blockquote p { margin: 0 0 10px; }
.entry blockquote p:last-child { margin: 0; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin: 6px 0; }
.entry iframe, .entry video { max-width: 100%; border-radius: 8px; }
.entry .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry td, .entry th { border: 1px solid var(--line); padding: 8px 10px; }
.ad--inline { margin: 28px 0; clear: both; }

.share-box { margin-top: 36px; padding: 20px 24px; border-radius: 12px; background: var(--bg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; clear: both; }
.share-box__title { font: 700 16px var(--font-head); color: var(--ink); }

.related { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.related__title { padding-bottom: 10px; border-bottom: 2px solid var(--text); font-size: 22px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.related__card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.related__pic { border-radius: 10px; }
.related__pic .pic__img { object-fit: cover !important; object-position: center 20%; }
.related__pic .pic__blur { display: none; }
.related__body { display: flex; flex-direction: column; gap: 6px; }
.related__cat { font: 700 11px var(--font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--red-text); }
.related__t { font: 700 16px/1.3 var(--font-head); color: var(--ink); transition: color .15s ease; }
.related__card:hover .related__t { color: var(--red); }

.fontsize { gap: 6px; }
.fontsize__btn { width: 44px; height: 36px; border: 1px solid #D5D7DB; border-radius: 8px; background: var(--white); font: 700 14px var(--font-head); color: var(--text); }

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */
.foot { background: var(--graphite); color: #D5D7DB; }
.foot a { color: #D5D7DB; text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.foot__cols { display: flex; flex-wrap: wrap; gap: 32px 40px; padding-top: 44px; padding-bottom: 24px; }
.foot__about { flex: 2 1 280px; display: flex; flex-direction: column; gap: 16px; }
.foot__about p { margin: 0; font: 400 14px/1.6 var(--font-body); max-width: 340px; }
.logo--foot .logo__img { height: 52px; }
.foot__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font: 400 14px/1.4 var(--font-body); }
.foot__contacts { flex-basis: 220px; line-height: 1.5; }
.foot__h { margin: 0 0 4px; font: 700 15px var(--font-head); color: var(--white); }
.foot__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot__phone { color: var(--white) !important; font-weight: 600; }
.foot__note { color: #A9ADB4; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid #3A3E45; font: 400 13px var(--font-body); color: #A9ADB4; }

/* --------------------------------------------------------------------------
   Мобильная шапка и меню
   -------------------------------------------------------------------------- */
.mhead { position: sticky; top: 0; z-index: 30; background: var(--white); box-shadow: 0 1px 0 var(--line); flex-direction: column; }
.admin-bar .mhead { top: 46px; }
.mhead__bar { height: 60px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; }
.logo--mob .logo__img { height: 34px; }
.chips-wrap { position: relative; }
.chips-wrap::after { content: ''; position: absolute; right: 0; top: 0; bottom: 12px; width: 40px; background: linear-gradient(to right, rgba(255, 255, 255, 0), #FFFFFF); pointer-events: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 12px; white-space: nowrap; }
.chip { flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; font: 600 14px var(--font-body); text-decoration: none; background: var(--bg); color: var(--text); }
.chip.is-active { background: var(--graphite); color: var(--white); }
.progress { height: 3px; background: var(--line-2); }
.progress__bar { display: block; height: 3px; width: 0; background: var(--red); }

.mnav { position: fixed; inset: 0; z-index: 100; background: var(--white); display: flex; flex-direction: column; }
.mnav[hidden] { display: none; }
.mnav__head { height: 60px; flex: 0 0 auto; padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mnav__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 20px; }
.mnav .sbox { max-width: none; height: 52px; border: 2px solid var(--text); border-radius: 12px; }
.mnav .sbox__btn { border-radius: 8px; width: 40px; height: 40px; }
.mnav__menu, .mnav__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.mnav__menu > li { border-bottom: 1px solid var(--line-2); }
.mnav__menu > li > a { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font: 700 18px var(--font-head); color: var(--ink); text-decoration: none; }
.mnav__menu .sub-menu { margin: 0 0 8px; padding-left: 14px; border-left: 2px solid var(--yellow); }
.mnav__menu .sub-menu a { display: flex; align-items: center; min-height: 46px; padding: 0 4px; font: 600 16px var(--font-body); color: #3A3E45; text-decoration: none; }
.mnav__menu .current-menu-item > a { color: var(--red-text); }
.mnav__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mnav__btns .btn { height: 52px; padding: 0 12px; border-radius: 12px; }
body.mnav-open { overflow: hidden; }

/* Нижняя панель «поделиться» на телефоне */
.sharebar { position: sticky; bottom: 0; z-index: 25; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px; }
.share--bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
.share--bar .share__btn { height: 44px; justify-content: center; border-radius: 10px; border: 0; background: var(--graphite); color: var(--white); font-size: 14px; }
.share--bar .share__btn:nth-child(3) { display: none; }
.share--bar .share__copy { background: var(--white); color: var(--text); border: 1px solid #D5D7DB; }

/* ==========================================================================
   Телефон и планшет
   ========================================================================== */
@media (max-width: 1000px) {
	.only-desk, .only-desk-b { display: none !important; }
	.only-mob { display: flex !important; }
	.only-mob-b { display: block !important; }

	.layout { display: block; padding: 12px 12px 32px; }
	.layout__main { gap: 20px; }

	.slider { border-radius: 12px; }
	.slide__pic { aspect-ratio: 16 / 10; }
	.slide__text { padding: 14px 16px 6px; min-height: 112px; }
	.slide__title { font-size: 21px; }
	.slide__badge { left: 12px; top: 12px; font-size: 11px; padding: 6px 8px; }

	.sec-head__title { font-size: 20px; }
	.grid { grid-template-columns: 1fr; gap: 10px; }
	.card:hover { transform: none; }
	.card__link { flex-direction: row-reverse; gap: 12px; padding: 12px; align-items: flex-start; }
	.card__media { flex: 0 0 104px; border-radius: 8px; overflow: hidden; }
	.card__pic { aspect-ratio: 4 / 3; }
	.card__pic .pic__img { object-fit: cover !important; object-position: center 20%; }
	.card__pic .pic__blur, .card__badge, .card__excerpt { display: none !important; }
	.card__body { flex: 1 1 auto; padding: 0; gap: 6px; }
	.card__title { font-size: 15px; }
	.card__cat { display: inline; }
	.ad--side { border-radius: 12px; }
	.btn--red { width: 100%; border-radius: 12px; height: 52px; }

	.box { padding: 16px; }
	.entry img[srcset] { width: 100%; }
	.entry .alignleft, .entry .alignright { float: none; margin: 20px 0; max-width: 100%; }
	.congr__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; }
	.congr__card:nth-child(n+4) { display: flex; }

	.page-title { font-size: 28px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px; }
	.rows { gap: 10px; }
	.row__link { flex-direction: row-reverse; gap: 12px; padding: 12px; }
	.row__pic { flex: 0 0 104px; aspect-ratio: 4 / 3; border-radius: 8px; }
	.row__pic .pic__img { object-fit: cover !important; object-position: center 20%; }
	.row__pic .pic__blur { display: none; }
	.row__body { padding: 0; gap: 6px; }
	.row__title { font-size: 15px; }
	.row__excerpt { display: none; }

	.layout--article { padding: 0 0 24px; }
	.article { border-radius: 0; padding: 16px 16px 28px; }
	.article .crumbs { margin-bottom: 14px; }
	.article__title { font-size: 26px; margin: 12px 0; }
	.article__bar { border-top: 0; padding-top: 0; }
	.article__meta { font-size: 13px; gap: 10px; }
	.article__cover { margin: 16px -16px 0; }
	.article__pic { border-radius: 0; }
	.entry { --entry-size: 17px; font-size: var(--entry-size); margin-top: 18px; }
	.entry .alignleft, .entry .alignright { float: none; margin: 16px 0; max-width: 100%; }
	.share-box { flex-direction: column; align-items: stretch; }
	.related__grid { grid-template-columns: 1fr; gap: 0; }
	.related__card { flex-direction: row-reverse; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
	.related__pic { flex: 0 0 104px; aspect-ratio: 4 / 3; border-radius: 8px; }
	.related__t { font-size: 15px; }

	.foot__cols { padding-top: 28px; gap: 24px; }
	.foot__bottom { flex-direction: column; }
}

@media (max-width: 600px) {
	.admin-bar .mhead { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
