.brand-logo { display: block; width: auto; height: 34px; }
.brand-logo--dark { display: none; }
[data-theme="dark"] .brand-logo--light { display: none; }
[data-theme="dark"] .brand-logo--dark { display: block; }
.brand--xl .brand-logo { height: clamp(44px, 5vw, 66px); }
.brand--md .brand-logo { height: 38px; }
.brand--sm .brand-logo { height: 32px; }

.fcols { display: block; columns: 4 220px; column-gap: 28px; }
.fcol { break-inside: avoid; margin: 0 0 24px; }
.fcol-head { white-space: normal; align-items: flex-start; line-height: 1.3; }
.fcol-head i { margin-top: 3px; flex: none; }
@media (max-width: 599px) { .fcols { columns: 2 140px; column-gap: 16px; } }

.items { grid-auto-flow: row dense; }
.items > .short-rkl, .items > [id^="yandex_rtb"], .items > [class*="caramel"], .items > [id^="grf_"] { grid-column: 1 / -1; min-width: 0; }
.items > .short-rkl:empty { display: none; }

.items, .items--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1099px) { .items, .items--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .items, .items--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .items, .items--wide { grid-template-columns: minmax(0, 1fr); } }

.head .progress { height: 3px; margin: 0; border-radius: 0; background: transparent; overflow: hidden; }
.head .progress span { border-radius: 0; }

.nl { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 28px clamp(32px, 5vw, 72px); padding: clamp(26px, 3.4vw, 48px); border: 1px solid var(--line-2); border-radius: 22px; background: var(--card); color: var(--ink); }
.nl-head { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nl-label { opacity: 1; color: var(--muted); }
.nl-title { font-size: clamp(30px, 3.4vw, 50px); }
.nl-title em { color: var(--acc-text); }
.nl-text { margin: 0; max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.5; }
.nl-form { gap: 18px; }
.nl-topics { gap: 8px; }
.ntopic { border-color: var(--line-2); color: var(--ink); background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ntopic:hover { border-color: var(--ink); }
.ntopic.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nl-row { max-width: none; border: 1px solid var(--line-2); background: var(--bg); }
.nl-row:focus-within { border-color: var(--ink); }
.nl-row input { color: var(--ink); }
.nl-row button { background: var(--ink); color: var(--bg); cursor: pointer; transition: background .2s; }
.nl-row button:hover { background: var(--acc); color: var(--acc-ink); }
.nl-msg { opacity: 1; color: var(--muted); }
@media (max-width: 860px) { .nl { grid-template-columns: minmax(0, 1fr); } }

.nl-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ntopic { justify-content: center; width: 100%; padding: 12px 14px; }
@media (max-width: 420px) { .nl-topics { grid-template-columns: minmax(0, 1fr); } }

.inc-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: repeat(5, auto); gap: 14px 32px; }
.inc-item { display: flex; gap: 16px; align-items: center; min-width: 0; color: var(--band-ink); text-decoration: none; padding: 8px; border-radius: 14px; transition: background .2s; }
.inc-item:hover { background: rgba(242, 242, 238, .08); color: var(--band-ink); }
.inc-ph { flex: none; width: 128px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--band-ph); }
.inc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.inc-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inc-title { font-size: 16px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.inc-meta { color: var(--band-soft); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.inc-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.inc-item:first-child { grid-row: 1 / span 5; flex-direction: column; align-items: stretch; gap: 18px; padding: 0; background: none; }
.inc-item:first-child:hover { background: none; }
.inc-item:first-child .inc-ph { width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; }
.inc-item:first-child .inc-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; -webkit-line-clamp: 4; }
.inc-item:first-child:hover .inc-title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) {
	.inc-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.inc-item:first-child { grid-row: auto; }
	.inc-ph { width: 104px; }
}

.byline-name b { font-weight: 600; }
.byline-name b + small { display: block; }
.vsrc:empty { display: none; }
.vsrc:not(:empty)::before { content: "Видео: "; }

.footer-info { padding: 8px 0 28px; border-top: 1px solid var(--line); margin-top: 8px; }
.footer-info-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; padding-top: 24px; }
.footer-info-col { display: flex; flex-direction: column; gap: 8px; }
.footer-info-head { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.footer-info-col a { font-size: 14px; color: var(--muted); }
.footer-info-col a:hover { color: var(--ink); }
.footer-legal { margin: 22px 0 0; max-width: 110ch; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.footer-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Подвал Newsbash */
.nbf { --nbf-bg: #0b0b0c; --nbf-ink: #f2f2ee; --nbf-soft: rgba(242, 242, 238, .62); --nbf-line: rgba(242, 242, 238, .14); margin-top: clamp(32px, 5vw, 72px); border: 0; background: var(--nbf-bg); color: var(--nbf-ink); }
.nbf-in { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 28px; display: block; }
.nbf-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(24px, 4vw, 64px); }
.nbf-brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.nbf-logo img { display: block; height: clamp(44px, 4.4vw, 62px); width: auto; }
.nbf-tagline { margin: 0; max-width: 34ch; color: var(--nbf-soft); font-size: 15px; line-height: 1.55; }
.nbf .soc a { border-color: var(--nbf-line); color: var(--nbf-ink); background: transparent; }
.nbf .soc a:hover { background: var(--nbf-ink); color: var(--nbf-bg); border-color: var(--nbf-ink); }
.nbf-col { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.nbf-head { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nbf-soft); margin-bottom: 6px; }
.nbf-col a { color: var(--nbf-ink); font-size: 15px; line-height: 1.35; opacity: .86; transition: opacity .2s, transform .2s; }
.nbf-col a:hover { opacity: 1; color: var(--nbf-ink); transform: translateX(3px); }
.nbf-catlist { display: block; columns: 2 150px; column-gap: 24px; }
.nbf-catlist .fcol { break-inside: avoid; margin: 0 0 14px; gap: 7px; }
.nbf-catlist .fcol-head { color: var(--nbf-ink); font-size: 15px; font-weight: 600; white-space: normal; opacity: 1; }
.nbf-catlist .fcol-head i { display: none; }
.nbf-catlist .fcol > a:not(.fcol-head) { color: var(--nbf-soft); font-size: 13.5px; opacity: 1; }
.nbf-catlist .fcol > a:not(.fcol-head):hover { color: var(--nbf-ink); }
.nbf-legal { margin: clamp(32px, 4vw, 52px) 0 0; padding-top: 24px; border-top: 1px solid var(--nbf-line); max-width: 118ch; color: var(--nbf-soft); font-size: 12.5px; line-height: 1.6; }
.nbf-legal a { color: var(--nbf-ink); text-decoration: underline; text-underline-offset: 2px; }
.nbf-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--nbf-line); font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--nbf-soft); }
.nbf-age { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; margin-right: 10px; padding: 0 6px; border: 1px solid var(--nbf-line); border-radius: 6px; color: var(--nbf-ink); font-weight: 600; }
.nbf .foot-made { color: var(--nbf-soft); }
.nbf .foot-made:hover { color: var(--nbf-ink); }
.page-article .nbf .nbf-cats { display: flex; }
@media (max-width: 1099px) { .nbf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nbf-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .nbf-top { grid-template-columns: minmax(0, 1fr); gap: 32px; } .nbf-catlist { columns: 2 130px; } }

.nbf-catlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; gap: 11px 24px; columns: auto; }
.nbf-catlist > a { color: var(--nbf-ink); font-size: 15px; line-height: 1.35; opacity: .86; transition: opacity .2s, transform .2s; }
.nbf-catlist > a:hover { opacity: 1; transform: translateX(3px); }
.nbf-legal { max-width: none; width: 100%; font-size: 13px; line-height: 1.7; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 599px) { .nbf-legal { text-align: left; hyphens: none; } }

.nbf .dm-logo { color: var(--nbf-ink); }
.nbf .foot-made { opacity: .75; transition: opacity .2s; }
.nbf .foot-made:hover { opacity: 1; }

.ui-dialog { z-index: 1000 !important; }

/* Меню «Другие сети» вместо системного окна Windows (23.10.2026) */
.share-wrap { position: relative; display: inline-flex; }
.share-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; display: flex; flex-direction: column; padding: 6px; background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.share-pop[hidden] { display: none; }
.share-pop a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.share-pop a:hover { background: var(--soft); }
.share-pop a i { width: 16px; text-align: center; font-size: 15px; }

/* Согласие на обработку персональных данных (152-ФЗ, 24.10.2026) */
.nb-consent label, label.nb-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.nb-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.nb-consent a { color: inherit; text-decoration: underline; }
.nb-consent--nl { margin-top: 10px; font-size: 12px; }
.sbox .nb-consent--nl { color: inherit; opacity: .85; }
.sbox .nb-consent--nl { margin-top: 12px; color: inherit; opacity: .9; }
.sbox .nb-consent--nl input[type="checkbox"] { accent-color: #fff; }
.sbox--acc .nl-msg { color: inherit; }
.nb-tagseo:empty { display: none; }

/* Фото автора мнения в цитате статьи (28.10.2026) */
.opq figcaption { display: flex; align-items: center; gap: 12px; }
.opq-photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* страница автора (из Halftone 1.3, 03.11.2026) */
.profile--author .label { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pro-role { margin: -4px 0 0; font-size: 16px; line-height: 1.4; color: var(--muted); }
.pro-stats { padding-top: 22px; align-items: flex-end; }
.pro-all { margin-left: auto; align-self: center; }
.pro-all a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule); font: 600 14px var(--sans); color: var(--ink); }
.pro-all a:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.pro-about { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.pro-about h2 { font-family: var(--head); font-weight: 400; font-size: 22px; }
.pro-bio { font-size: 17px; line-height: 1.6; }
.pro-hint { display: block; margin: 0; font-size: 14px; line-height: 1.6; }
.profile__actions a > .profile__action-content { height: auto; padding: 0; border: 0; background: none; }
@media (max-width: 600px) {
	.profile__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.profile__head .avatar--xl { width: 80px; height: 80px; }
	.profile__ident { width: 100%; }
	.profile__actions > * { max-width: 100%; }
	.pro-all { margin-left: 0; flex-basis: 100%; }
	.pro-bio { font-size: 16px; }
}

/* Цитаты (05.11.2026, просьба клиента): блок мнения (доп. поле quote) и [quote] в тексте — одним видом,
   рамка с пунктиром как у [quote], шрифт как у текста новости; у [quote] убрана пустая полоса снизу */
.art-body .opq, .art-body .quote_block { margin: 0 0 28px; padding: 6px; gap: 0; background: var(--surface-soft); border: 0; border-left: 3px solid var(--acc); border-radius: 0 14px 14px 0; }
.art-body .opq > i { display: none; }
.art-body .opq blockquote, .art-body .quote_block > .quote { display: flex; gap: 14px; margin: 0; padding: 18px 22px; background: transparent; border: 1px dashed var(--rule); border-radius: 10px; font-family: var(--sans); font-size: var(--fs); line-height: 1.6; letter-spacing: 0; text-wrap: pretty; color: var(--text, inherit); }
.art-body .opq blockquote::before { content: "\f10d"; flex: none; font: 900 20px/1.4 "Font Awesome 7 Free"; color: var(--acc-text); }
.art-body .quote_block > .quote::before { line-height: 1.45; }
.art-body .quote_block .quote_body { font-size: inherit; line-height: inherit; }
.art-body .opq figcaption { padding: 12px 16px 8px; }
@media (max-width: 600px) {
	.art-body .opq blockquote, .art-body .quote_block > .quote { padding: 14px 16px; gap: 12px; }
	.art-body .opq figcaption { padding: 10px 10px 6px; }
}

/* Соцсети автора (07.11.2026): поля профиля vk, telegram, ok, dzen — значки рядом с «RSS автора» на странице автора */
.pro-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-soc:not(:has(a)) { display: none; }
.pro-soc a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--soft); border-radius: 50%; color: var(--ink); font-size: 16px; transition: border-color .15s, color .15s; }
.pro-soc a:hover { border-color: var(--acc); color: var(--acc-text); }
