/* Bugun.uz — тема «FT» (тёплая бумага, засечки в заголовках, текст без засечек) */
:root {
	--paper: #F6F0E6;
	--paper-2: #EFE6D8;
	--ink: #1A1714;
	--ink-2: #3E3832;
	--muted: #5C554C;
	--faint: #8A8177;
	--line: #D9CFC0;
	--red: #B5221B;
	--green: #1E7A3C;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 12px; }
.wrap { width: 100%; max-width: 1288px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--faint); font-weight: 500; text-transform: none; letter-spacing: 0; }
.up { color: var(--green); } .down { color: var(--red); } .flat { color: var(--faint); }
.mobile-only { display: none; }

/* типографика */
.h-xl { font-family: var(--serif); font-size: 42px; line-height: 1.06; font-weight: 700; letter-spacing: -.01em; }
.h-l { font-family: var(--serif); font-size: 24px; line-height: 1.15; font-weight: 700; }
.h-m { font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 600; }
.h-s { font-family: var(--serif); font-size: 18px; line-height: 1.25; font-weight: 600; }
.dek-l { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.dek-s { font-size: 14px; line-height: 1.45; color: var(--muted); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.kicker a:hover { text-decoration: underline; }
.sec-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.sec-label.red { color: var(--red); }
.sec-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.more { font-size: 13px; font-weight: 600; color: var(--red); }
.img1610 { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.img169 { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.img32 { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.img43 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* верхняя полоса */
.topbar { border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.tb-rates { display: flex; flex-wrap: wrap; gap: 4px 20px; font-variant-numeric: tabular-nums; }
.tb-rates b { color: var(--ink); }
.tb-lang { display: flex; gap: 4px; font-weight: 700; }
.tb-lang a { padding: 4px 8px; color: var(--faint); }
.tb-lang a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }

/* шапка */
.masthead { padding-top: 24px; }
.mh-in { display: flex; align-items: center; justify-content: center; position: relative; }
.logo img { height: 54px; width: auto; }
.masthead:not(.home) { padding-top: 14px; }
.masthead:not(.home) .logo img { height: 36px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); }
.burger { position: absolute; left: 14px; display: none; }
.search-toggle { position: absolute; right: 14px; }
.nav { margin-top: 18px; }
.nav > ul { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 26px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.nav .topic { font-weight: 500; color: var(--muted); }
.nav .sep { width: 1px; height: 16px; background: var(--line); }
.nav .on a { color: var(--red); }
.search-panel { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; height: 46px; border: 1px solid #CFC4B4; background: #FFFCF7; padding: 0 14px; font: inherit; font-size: 17px; border-radius: 0; }
.search-form button, .btn { height: 46px; padding: 0 22px; border: 0; background: var(--ink); color: var(--paper); font-weight: 600; display: inline-flex; align-items: center; }
.btn:hover { color: var(--paper); background: #000; }
.search-form.inline { margin-top: 16px; max-width: 640px; }

.site-main { padding: 28px 0 0; }

/* первая полоса */
.front { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 0 28px; }
.front-left { border-right: 1px solid var(--line); padding-right: 28px; }
.front-right { border-left: 1px solid var(--line); padding-left: 28px; }
.fl-item, .fr-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fl-item:last-child, .fr-item:last-child { border-bottom: 0; }
.fl-item.first, .fr-item.first { padding-top: 0; }
.fl-item.first img { margin-bottom: 10px; }
.fl-item .dek-s { margin-top: 6px; }
.fr-item .dek-s { margin: 8px 0 10px; }
.front-lead .lead-link { display: block; margin-bottom: 16px; }
.front-lead .kicker { margin-bottom: 8px; }
.front-lead .h-xl { margin-bottom: 12px; }
.related { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.35; }
.related b { color: var(--red); font-size: 10px; vertical-align: 2px; margin-right: 4px; }

/* сўнгги янгиликлар */
.latest { margin-top: 36px; border-top: 3px solid var(--ink); padding-top: 12px; }
.latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 6px; }
.feed-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.feed-row time { flex: 0 0 auto; min-width: 42px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.feed-row em { font-style: normal; font-size: 12px; color: var(--faint); margin-left: 6px; }
.feed-row.big { font-size: 17px; }

/* полосы разделов */
.strips { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.strip .sec-title { padding-top: 10px; border-top: 3px solid var(--red); margin-bottom: 12px; }
.strip .item { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
.strip .item.first { padding-top: 0; }
.strip .item.first img { margin-bottom: 10px; }
.strip .item:last-child { border-bottom: 0; }

/* данные */
.data-row { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 28px; }
.data-row > div { border-top: 3px solid var(--ink); padding-top: 10px; }
.data-row .sec-title { margin-bottom: 10px; }
.rates { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.rates th { text-align: left; font-size: 12px; font-weight: 600; color: var(--faint); padding: 6px 0; border-bottom: 1px solid var(--line); }
.rates td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.rates td:first-child { font-weight: 600; }
.rates th:not(:first-child), .rates td:not(:first-child) { text-align: right; }
.rates tr:last-child td { border-bottom: 0; }
.tq-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.tq-row:last-child { border-bottom: 0; }
.tq-row b { flex: 0 0 58px; font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.qol-item { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.qol-item:last-child { border-bottom: 0; }

/* кун воқеалари */
.photo-row { margin-top: 40px; border-top: 3px solid var(--ink); padding-top: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 12px; }
.photo-grid img { margin-bottom: 8px; }
.center-more { display: flex; justify-content: center; margin: 44px 0 0; }

/* статья */
.progress { position: sticky; top: 0; z-index: 30; height: 3px; background: transparent; }
.progress span { display: block; height: 3px; width: 0; background: var(--red); }
.article-wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 4px; }
.article { flex: 999 1 640px; min-width: 0; max-width: 820px; }
.a-title { font-family: var(--serif); font-size: 46px; line-height: 1.06; font-weight: 700; letter-spacing: -.01em; margin: 12px 0 14px; }
.a-dek { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink-2); margin-bottom: 18px; }
.a-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.a-meta b { color: var(--ink); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; border: 1px solid #CFC4B4; background: none; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.share .ico { width: 17px; height: 17px; }
.a-figure { margin: 24px 0 0; }
.a-figure img { width: 100%; }
.a-figure figcaption { font-size: 12px; color: var(--faint); margin-top: 8px; }
.a-body { font-size: 18px; line-height: 1.65; color: #221E1A; max-width: 680px; padding-top: 22px; }
.a-body p { margin: 0 0 20px; }
.a-body a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.a-body h2 { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 32px 0 12px; }
.a-body blockquote { margin: 24px 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--red); font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.a-body hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.a-body figure { margin: 24px 0; }
.a-body img { width: 100%; }
.mavzu { margin: 26px 0; padding: 14px 18px; background: var(--paper-2); border-top: 3px solid var(--red); }
.mavzu span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.mavzu a { font-family: var(--serif); font-size: 19px; font-weight: 600; text-decoration: none; }
.a-tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; }
.a-tags a { display: inline-block; padding: 7px 12px; border: 1px solid #CFC4B4; }
.btn-share-tg { display: none; }
.story { margin-top: 36px; border-top: 3px solid var(--ink); padding-top: 12px; }
.timeline { margin-top: 8px; border-left: 2px solid var(--red); padding-left: 18px; display: flex; flex-direction: column; gap: 14px; }
.timeline time { display: block; font-size: 12px; font-weight: 700; color: var(--faint); }
.timeline span { font-family: var(--serif); font-size: 18px; line-height: 1.3; font-weight: 600; }
.timeline em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--red); margin-left: 6px; text-transform: uppercase; }
.sidebar { flex: 1 1 280px; min-width: 0; }
.side-box { border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 28px; }
.mr-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mr-item:last-child { border-bottom: 0; }
.mr-item b { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--red); min-width: 18px; }
.mr-item span { font-family: var(--serif); font-size: 17px; line-height: 1.25; font-weight: 600; }

/* списки рубрик и тегов */
.archive-head { padding: 4px 0 22px; border-bottom: 3px solid var(--ink); margin-bottom: 8px; }
.archive-title { font-family: var(--serif); font-size: 44px; line-height: 1.08; font-weight: 700; margin-top: 6px; }
.archive-desc { margin-top: 10px; max-width: 760px; color: var(--ink-2); font-size: 17px; }
.list-first { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; padding: 18px 0 24px; border-bottom: 1px solid var(--line); }
.lf-text { display: flex; flex-direction: column; gap: 10px; }
.lf-text time { font-size: 13px; color: var(--faint); }
.list-row { display: grid; grid-template-columns: 110px 1fr 160px; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.list-row time { font-size: 13px; font-weight: 700; color: var(--red); padding-top: 3px; }
.list-row .dek-s { margin-top: 6px; }
.list-row .thumb { width: 160px; height: 107px; object-fit: cover; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 32px 0 0; flex-wrap: wrap; }
.pager .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #CFC4B4; font-weight: 600; }
.pager .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { color: var(--muted); font-size: 18px; padding: 20px 0; }
.lenta-day { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 26px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }

/* подвал */
.site-footer { margin-top: 56px; background: var(--ink); color: #BDB3A6; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; }
.footer-in img { height: 28px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: #F6F0E6; }
.footer-legal { flex-basis: 100%; color: #8A8177; }

/* меню на телефоне */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(26, 23, 20, .45); }
.drawer-in { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: var(--paper); padding: 10px 18px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 50px; }
.drawer-head img { height: 24px; width: auto; }
.drawer-nav { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.drawer-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 21px; font-weight: 600; }
.drawer-nav a.topic { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted); }
.drawer-lang { display: flex; gap: 8px; }
.drawer-lang a { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #CFC4B4; font-weight: 600; }
.drawer-lang a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-tg { height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--paper); font-weight: 600; }
.btn-tg:hover { color: var(--paper); }
body.drawer-open { overflow: hidden; }

/* планшет */
@media (max-width: 1100px) {
	.front { grid-template-columns: 1fr 2fr; }
	.front-right { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 3px solid var(--ink); padding-top: 12px; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
	.front-right .sec-label { grid-column: 1 / -1; }
	.front-lead { order: -1; grid-column: 1 / -1; margin-bottom: 28px; }
	.front-left { grid-column: 1 / -1; border-right: 0; padding-right: 0; }
	.strips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
	.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* телефон */
@media (max-width: 760px) {
	.wrap { padding: 0 16px; }
	.mobile-only { display: block; padding: 12px 0 0; }
	.tb-date { display: none; }
	.topbar-in { flex-wrap: nowrap; padding-top: 7px; padding-bottom: 7px; }
	.tb-rates { flex-wrap: nowrap; overflow-x: auto; gap: 16px; scrollbar-width: none; }
	.tb-rates span { white-space: nowrap; }
	.tb-lang { flex: 0 0 auto; }
	.masthead, .masthead:not(.home) { padding-top: 6px; }
	.burger { display: inline-flex; left: 2px; }
	.search-toggle { right: 2px; }
	.mh-in { height: 52px; }
	.logo img, .masthead:not(.home) .logo img { height: 27px; }
	.nav { margin-top: 6px; padding: 0; }
	.nav > ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 20px; padding: 10px 16px; scrollbar-width: none; white-space: nowrap; }
	.nav .sep { flex: 0 0 1px; }
	.site-main { padding-top: 16px; }
	.front { display: flex; flex-direction: column; }
	.front-lead { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
	.front-lead .lead-link { margin: 0 -16px 12px; }
	.img1610 { aspect-ratio: 3 / 2; }
	.h-xl { font-size: 29px; line-height: 1.08; }
	.dek-l { font-size: 17px; }
	.front-left { border-top: 3px solid var(--red); padding-top: 10px; }
	.fl-item.first img, .fr-item.first img { display: none; }
	.fl-item.first .h-m { font-size: 19px; }
	.front-right { display: block; background: var(--paper-2); margin: 20px -16px 0; padding: 18px 16px; border-top: 0; }
	.front-right .fr-item.first img { display: block; margin-top: 10px; }
	.h-l { font-size: 22px; }
	.latest { margin-top: 24px; }
	.latest-grid { grid-template-columns: 1fr; }
	.latest .sec-head .more { display: none; }
	.strips, .data-row { grid-template-columns: 1fr; margin-top: 28px; }
	.photo-row { margin-top: 28px; }
	.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.photo-grid .h-s { font-size: 15px; }
	.a-title { font-size: 30px; line-height: 1.08; }
	.a-dek { font-size: 18px; }
	.a-meta .share { display: none; }
	.a-figure { margin: 16px -16px 0; }
	.a-figure figcaption { padding: 0 16px; }
	.a-body { font-size: 17px; line-height: 1.62; padding-top: 16px; }
	.btn-share-tg { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; margin-top: 18px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; }
	.btn-share-tg:hover { color: var(--paper); }
	.article-wrap { gap: 28px; }
	.archive-title { font-size: 32px; }
	.list-first { grid-template-columns: 1fr; gap: 12px; }
	.list-first img { margin: 0 -16px; width: calc(100% + 32px); max-width: none; }
	.list-row { grid-template-columns: 1fr 92px; gap: 12px; }
	.list-row time { grid-column: 1 / -1; padding: 0; }
	.list-row .dek-s { display: none; }
	.list-row .thumb { width: 92px; height: 92px; }
	.feed-row.big { font-size: 16px; }
	.footer-in { padding-top: 28px; padding-bottom: 32px; gap: 16px 24px; }
	.footer-in img { height: 24px; }
	.footer-legal { line-height: 1.6; }
}

/* хлебные крошки */
.crumbs { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--faint); margin: 0 4px; }
.nav > ul { gap: 4px 22px; }
@media (max-width: 760px) { .crumbs { font-size: 11px; } }

/* выпадающее меню разделов (компьютер) */
.nav { position: relative; }
.nav li.has-mega { position: static; }
.mega { display: none; position: absolute; left: 24px; right: 24px; top: 100%; z-index: 40; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--ink); box-shadow: 0 12px 24px rgba(26, 23, 20, .12); padding: 22px 28px 24px; grid-template-columns: 5fr 7fr; gap: 0 40px; text-align: left; font-weight: 400; }
.nav li.has-mega:hover .mega, .nav li.has-mega:focus-within .mega { display: grid; }
.mega-col + .mega-col { border-left: 1px solid var(--line); padding-left: 40px; }
.mega-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mega-home { display: block; font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.mega-topics ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 15px; }
.mega-read ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mega-read li { position: relative; padding-left: 16px; font-family: var(--serif); font-size: 16px; line-height: 1.3; font-weight: 600; }
.mega-read li::before { content: "›"; position: absolute; left: 0; color: var(--red); font-family: var(--sans); }
/* разделы в меню телефона */
.dr-sec { border-bottom: 1px solid var(--line); }
.dr-sec summary { list-style: none; cursor: pointer; padding: 13px 0; font-family: var(--serif); font-size: 21px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.dr-sec summary::-webkit-details-marker { display: none; }
.dr-sec summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--red); font-size: 22px; }
.dr-sec[open] summary::after { content: "−"; }
.dr-topics { display: flex; flex-direction: column; padding: 0 0 12px 12px; border-left: 2px solid var(--red); margin-bottom: 10px; }
.drawer-nav .dr-topics a { padding: 7px 0; border: 0; font-family: var(--sans); font-size: 16px; font-weight: 500; }
.drawer-nav .dr-topics a.dr-home { font-weight: 700; }
@media (max-width: 1100px) { .mega { display: none !important; } }

.a-tags-box { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.a-tags-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.a-tags-box .a-tags { margin: 0; }

/* страницы данных: доллар, золото */
.tb-rates a { white-space: nowrap; }
.tb-rates a b { color: var(--ink); }
.money .crumbs { margin-bottom: 6px; }
.money-sub { color: var(--muted); font-size: 16px; margin: 8px 0 22px; }
.money-hero { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; padding: 22px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.mh-main { display: flex; flex-direction: column; gap: 6px; }
.mh-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mh-value { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.mh-value small { font-size: 22px; font-weight: 600; color: var(--muted); }
.mh-diff { font-size: 15px; }
.conv { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-left: auto; }
.conv .mh-label { flex-basis: 100%; }
.conv label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.conv input { width: 180px; height: 46px; border: 1px solid #CFC4B4; background: #FFFCF7; padding: 0 12px; font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; border-radius: 0; }
.money-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; }
.money-grid .sec-title { margin-bottom: 10px; }
.chart { margin: 0; }
.chart svg { width: 100%; height: 180px; display: block; }
.chart figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.money-text { margin-top: 36px; max-width: 760px; border-top: 3px solid var(--ink); padding-top: 12px; font-size: 16px; line-height: 1.6; }
.money-text p { margin: 10px 0 0; }
.money-text a { text-decoration: underline; text-decoration-color: var(--red); }
@media (max-width: 900px) { .money-grid { grid-template-columns: 1fr; } .conv { margin-left: 0; } }
@media (max-width: 760px) { .mh-value { font-size: 42px; } .conv input { width: 150px; } }
.rates td { white-space: nowrap; }
.rates.gold th { white-space: normal; padding-left: 10px; line-height: 1.25; vertical-align: bottom; }
@media (max-width: 600px) { .rates.gold { font-size: 13.5px; } .rates.gold td:not(:first-child) { padding-left: 10px; } }
.page-doc { max-width: 720px; padding: 4px 0 48px; }
.page-doc .a-body { border-top: 3px solid var(--ink); margin-top: 18px; }
.a-body ol.principles { list-style: none; counter-reset: p; padding: 0; margin: 0 0 24px; }
.a-body ol.principles li { counter-increment: p; position: relative; padding: 0 0 18px 44px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.a-body ol.principles li::before { content: counter(p); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--red); }
.a-body ol.principles b { display: block; font-family: var(--serif); font-size: 21px; margin-bottom: 4px; }
.a-body .facts { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.a-body .facts td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.a-body .facts td:first-child { color: var(--muted); width: 42%; padding-right: 16px; }
/* последняя рубрика в неполном ряду растягивается на весь ряд, материалы идут в строку */
@media (min-width: 1101px) {
	.strip:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
	.strip:last-child:nth-child(3n+2) { grid-column: span 2; }
	.strip:last-child:nth-child(3n+1), .strip:last-child:nth-child(3n+2) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; align-content: start; }
	.strip:last-child:nth-child(3n+1) .sec-title, .strip:last-child:nth-child(3n+2) .sec-title { grid-column: 1 / -1; }
	.strip:last-child:nth-child(3n+1) .item, .strip:last-child:nth-child(3n+2) .item { padding-top: 0; border-bottom: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) {
	.strip:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; align-content: start; }
	.strip:last-child:nth-child(odd) .sec-title { grid-column: 1 / -1; }
	.strip:last-child:nth-child(odd) .item { padding-top: 0; border-bottom: 0; }
}
.front .extra { display: none; }
.front .extra.on { display: block; }
