/**
 * Страница темы блога и главная блога — вёрстка по макету
 * «Страница темы (офлайн)», 30.07.2026.
 *
 * Все размеры в px, а не в rem: базовый кегль темы плавает вместе с
 * шириной экрана (--main-font-size во vw), и на 1440px один rem равен
 * 8.25px вместо десяти — сетка макета в нём разъезжается.
 *
 * Палитра макета: #2F4A3A — китайская метафизика, #2B3A55 — западная
 * астрология, #A8322D — действие, #EFEEEB / #F2F1EF — подложки,
 * #EAE9E6 — границы, #8A857C — вторичный текст.
 */

.bt {
	background: #FFFFFF;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #16171A;
}

/* Ширина как у страницы статьи: 1352 сетки + поля. Обе страницы
   стоят рядом в навигации, и разная ширина читалась бы как сбой. */
.bt__wrap {
	max-width: 1128px;
	margin: 0 auto;
	padding: 0 24px 60px;
}

@media (min-width: 1440px) {
	.bt__wrap { max-width: 1400px; }
}

/* ── Хлебные крошки ── */
.bt-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 18px 0 0;
	font-size: 13px;
	color: #8A857C;
}

.bt-crumbs a { color: #8A857C; text-decoration: none; }
.bt-crumbs a:hover { color: #A8322D; }
.bt-crumbs__current { font-weight: 600; color: #3A3833; }

/* ── Шапка темы ── */
.bt-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 30px;
	margin-top: 14px;
	padding: 26px 30px;
	border-radius: 16px;
	overflow: hidden;
}

/* Мягкое пятно в углу — оно даёт градиенту глубину, без него
   заливка выглядит плоской заплаткой. */
.bt-hero__glow {
	position: absolute;
	right: -60px;
	top: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .05);
}

.bt-hero__body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
}

.bt-hero__meta {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bt-hero__kicker {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	color: rgba(255, 255, 255, .6);
}

.bt-hero__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .4);
}

.bt-hero__counts {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, .75);
}

.bt-hero__title {
	margin: 0;
	font-family: 'Forum', Georgia, serif;
	font-size: 46px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.02em;
	color: #FFFFFF;
}

.bt-hero__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
	text-wrap: pretty;
}

.bt-hero__mark {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	margin-left: auto;
}

.bt-hero__cn {
	font-family: 'Noto Serif SC', 'Songti SC', serif;
	font-size: 68px;
	line-height: 1;
	color: rgba(255, 255, 255, .16);
}

.bt-hero__pinyin {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .45);
}

/* ── Чипы тем ── */
.bt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.bt-chip {
	padding: 10px 18px;
	border-radius: 999px;
	background: #F2F1EF;
	font-size: 14px;
	font-weight: 600;
	color: #3A3833;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}

.bt-chip:hover {
	background: #E6E4E0;
	transform: translateY(-1px);
	color: #3A3833;
}

.bt-chip.is-active {
	background: #4E6D5A;
	font-weight: 700;
	color: #FFFFFF;
}

.bt-chip.is-active:hover { transform: none; opacity: .92; }

/* ── Две колонки ── */
.bt__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
	padding-top: 26px;
}

.bt__feed {
	display: flex;
	flex-direction: column;
	gap: 26px;
	min-width: 0;
}

.bt__rail {
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: 84px;
}

/* ── Заголовок ленты ── */
.bt-feed-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bt-feed-head__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	color: #8A857C;
}

.bt-feed-head__line {
	flex: 1;
	height: 1px;
	background: #EDECE9;
}

/* ── Карточки ── */
.bt-grid { display: grid; gap: 20px; }
.bt-grid--md { grid-template-columns: 1fr 1fr; }
.bt-grid--sm { grid-template-columns: repeat(3, 1fr); gap: 18px; }

.bt-card__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.bt-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 13px;
	background: linear-gradient(140deg, #E8EDE6, #A9BCA6);
}

.bt-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bt-card--lead .bt-card__link {
	gap: 0;
	border: 1px solid #EAE9E6;
	border-radius: 16px;
	overflow: hidden;
	transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease;
}

.bt-card--lead .bt-card__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(30, 25, 15, .12);
}

.bt-card--lead .bt-card__media { height: 290px; border-radius: 0; }
.bt-card--md   .bt-card__media { height: 160px; }
.bt-card--sm   .bt-card__media { height: 124px; border-radius: 12px; }

/* Колонка ленты стала шире, и картинки прежней высоты превратились
   в полоски. Высота растёт вместе с шириной, пропорции держатся
   близко к 16:9. Правила идут после базовых, иначе те их перебьют. */
@media (min-width: 1200px) {
	.bt-card--lead .bt-card__media { height: 340px; }
	.bt-card--md   .bt-card__media { height: 190px; }
	.bt-card--sm   .bt-card__media { height: 136px; }
}

@media (min-width: 1440px) {
	.bt-card--lead .bt-card__media { height: 420px; }
	.bt-card--md   .bt-card__media { height: 250px; }
	.bt-card--sm   .bt-card__media { height: 172px; }
}

.bt-card--md .bt-card__link:hover,
.bt-card--sm .bt-card__link:hover { transform: translateY(-4px); }

.bt-card--md .bt-card__link,
.bt-card--sm .bt-card__link { transition: transform .25s cubic-bezier(.2, .7, .3, 1); }

.bt-card__badge {
	position: absolute;
	top: 18px;
	padding: 6px 11px;
	border-radius: 7px;
	font-size: 11px;
	font-weight: 700;
	color: #FFFFFF;
}

.bt-card__badge--top   { left: 18px; background: #A8322D; }
.bt-card__badge--views { left: 18px; background: rgba(0, 0, 0, .28); transform: translateY(30px); }

.bt-card__likes {
	position: absolute;
	right: 12px;
	top: 12px;
	padding: 5px 9px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .92);
	font-size: 11px;
	font-weight: 700;
	color: #A8322D;
}

.bt-card--lead .bt-card__likes { right: 18px; top: 18px; padding: 6px 11px; font-size: 12px; }

.bt-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bt-card--lead .bt-card__body { padding: 20px 24px 22px; background: #FFFFFF; }
.bt-card--sm   .bt-card__body { gap: 9px; }

.bt-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	font-size: 11px;
	color: #8A857C;
}

.bt-card__cat {
	padding: 4px 8px;
	border-radius: 6px;
	background: #EDF2EE;
	font-weight: 700;
	color: #2F4A3A;
}

.bt-card--sm .bt-card__cat { padding: 0; background: none; }

.bt-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #16171A;
}

.bt-card--lead .bt-card__title { font-size: 27px; line-height: 1.25; letter-spacing: -.01em; }
.bt-card--sm   .bt-card__title { font-size: 16px; }

.bt-card__excerpt {
	font-size: 13px;
	line-height: 1.55;
	color: #6E6A63;
}

.bt-card--lead .bt-card__excerpt { font-size: 14px; line-height: 1.6; }
.bt-card--sm   .bt-card__excerpt { font-size: 12px; line-height: 1.5; }

.bt-card__more {
	font-size: 12px;
	font-weight: 700;
	color: #A8322D;
}

.bt-card__link:hover .bt-card__title { color: #A8322D; }

/* ── Врезки в ленте ── */
.bt-insert {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 14px;
	text-decoration: none;
	transition: transform .2s ease;
}

.bt-insert:hover { transform: translateY(-2px); }

.bt-insert--podcast  { background: linear-gradient(120deg, #2F4A3A, #3F5F4C); }
.bt-insert--tool     { border: 1px solid #E4DECD; background: linear-gradient(150deg, #F6F1E4, #EFE7D2); }
.bt-insert--glossary { border: 1px solid #EAE9E6; padding: 16px 20px; }

.bt-insert__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .14);
	color: #E8DFC8;
}

.bt-insert__icon--paper {
	background: #FFFFFF;
	font-family: 'Noto Serif SC', 'Songti SC', serif;
	font-size: 19px;
	color: #8A6A2E;
}

.bt-insert__cn {
	flex: none;
	font-family: 'Noto Serif SC', 'Songti SC', serif;
	font-size: 26px;
	line-height: 1;
	color: #3F5F4C;
}

.bt-insert__divider {
	flex: none;
	width: 1px;
	height: 44px;
	background: #EDECE9;
}

.bt-insert__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.bt-insert__kicker {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	color: rgba(255, 255, 255, .55);
}

.bt-insert--tool     .bt-insert__kicker { color: #8A7A50; }
.bt-insert--glossary .bt-insert__kicker { color: #8A857C; }

.bt-insert__title {
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
}

.bt-insert--tool     .bt-insert__title { color: #2C2418; }
.bt-insert--glossary .bt-insert__title { color: #16171A; }

.bt-insert__note {
	font-size: 12px;
	color: rgba(255, 255, 255, .7);
}

.bt-insert--tool     .bt-insert__note { color: #6B5B33; }
.bt-insert--glossary .bt-insert__note { color: #6E6A63; }

.bt-insert__cta {
	flex: none;
	padding: 10px 16px;
	border-radius: 9px;
	background: #E8DFC8;
	font-size: 12px;
	font-weight: 700;
	color: #2F4A3A;
}

.bt-insert__cta--red { padding: 11px 18px; background: #A8322D; color: #FFFFFF; }
.bt-insert__arrow    { flex: none; font-size: 18px; color: #C9C5BC; }

/* ── Правая колонка ── */
.bt-widget {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding: 14px 16px;
	border: 1px solid #EAE9E6;
	border-radius: 14px;
	background: #FFFFFF;
}

/* Подпись виджета — заголовок h2, а тема даёт всем заголовкам
   Forum (антикву). Здесь нужен Manrope: это служебная метка списка,
   а не название раздела, и антиква в 11px выглядит инородно. */
.bt .bt-widget__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	color: #8A857C;
}

/* Тот же гротеск всем служебным меткам страницы */
.bt .bt-feed-head__label,
.bt .bt-hero__kicker,
.bt .bt-hero__counts,
.bt .bt-insert__kicker,
.bt .bt-widget__all,
.bt .bt-widget__more {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.bt-widget__all {
	margin-left: auto;
	font-size: 11px;
	font-weight: 700;
	color: #A8322D;
	text-decoration: none;
}

.bt-widget__all--muted { font-weight: 400; color: #C9C5BC; }
.bt-widget__hr { height: 1px; background: #EDECE9; }

.bt-widget__more {
	font-size: 12px;
	font-weight: 700;
	color: #A8322D;
	text-decoration: none;
}

.bt-row {
	display: flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: inherit;
	transition: transform .2s ease;
}

.bt-row:hover { transform: translateX(3px); }

.bt-row__mark,
.bt-row__cover {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #EDF2EE;
	font-family: 'Noto Serif SC', 'Songti SC', serif;
	font-size: 15px;
	color: #3F5F4C;
	overflow: hidden;
}

.bt-row__cover { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(140deg, #3F5F4C, #2F4A3A); color: #E8DFC8; }
.bt-row__cover img { width: 100%; height: 100%; object-fit: cover; }

.bt-row__mark--love,
.bt-row__mark--lichnost { background: #FBF1EF; color: #A8322D; }
.bt-row__mark--china,
.bt-row__mark--luna { background: #F6F1E4; color: #8A6A2E; }

.bt-row__body { flex: 1; min-width: 0; }
.bt-row__title { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; color: #16171A; }
.bt-row__note  { display: block; font-size: 11px; color: #8A857C; }
.bt-row__arrow { flex: none; font-size: 15px; color: #C9C5BC; }

/* ── Комментарии в колонке ── */
.bt-comment {
	display: flex;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.bt-comment__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	color: #FFFFFF;
}

.bt-comment__body { flex: 1; min-width: 0; }

.bt-comment__head {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.bt-comment__author { font-size: 12px; font-weight: 700; color: #16171A; }
.bt-comment__badge  { font-size: 10px; font-weight: 700; color: #A8322D; }
.bt-comment__time   { font-size: 10px; color: #A9A49B; }

.bt-comment__text {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.45;
	color: #6E6A63;
}

.bt-comment__where {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: #8A857C;
}

/* ── Читают сейчас ── */
.bt-popular__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #A8322D;
}

.bt-popular__item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding-top: 14px;
	border-top: 1px solid #EFEEEB;
	text-decoration: none;
	color: inherit;
	transition: transform .25s cubic-bezier(.2, .7, .3, 1);
}

.bt-popular__item:hover { transform: translateX(3px); }

.bt-popular__item--first {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding-top: 0;
	border-top: 0;
}

.bt-popular__item--first:hover { transform: translateY(-3px); }

.bt-popular__media {
	position: relative;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(140deg, #E8D3C4, #C9A97C);
}

.bt-popular__item--first .bt-popular__media { width: 100%; height: 112px; border-radius: 11px; }
.bt-popular__media img { width: 100%; height: 100%; object-fit: cover; }

.bt-popular__rank {
	position: absolute;
	left: 5px;
	top: 5px;
	padding: 2px 5px;
	border-radius: 5px;
	background: rgba(22, 23, 26, .45);
	font-size: 10px;
	font-weight: 800;
	color: #FFFFFF;
}

.bt-popular__item--first .bt-popular__rank { left: 10px; top: 10px; padding: 4px 8px; font-size: 11px; border-radius: 6px; }

.bt-popular__body { flex: 1; min-width: 0; }

.bt-popular__title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	color: #16171A;
}

.bt-popular__item--first .bt-popular__title { font-size: 14px; }

.bt-popular__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
}

.bt-popular__fill {
	height: 3px;
	border-radius: 2px;
	background: #A8322D;
}

.bt-popular__bar { position: relative; }

.bt-popular__bar::before {
	content: "";
	position: absolute;
	left: 0;
	right: 44px;
	height: 3px;
	border-radius: 2px;
	background: #EFEEEB;
}

.bt-popular__fill { position: relative; z-index: 1; }
.bt-popular__count { margin-left: auto; font-size: 11px; font-weight: 700; color: #8A857C; }

/* ── Справочник в колонке ── */
.bt-gloss {
	display: flex;
	align-items: baseline;
	gap: 9px;
	text-decoration: none;
	color: inherit;
}

.bt-gloss__cn {
	font-family: 'Noto Serif SC', 'Songti SC', serif;
	font-size: 17px;
	color: #3F5F4C;
}

.bt-gloss__name { font-size: 13px; font-weight: 600; color: #3A3833; }
.bt-gloss:hover .bt-gloss__name { color: #A8322D; }

/* ── Пагинация ── */
.bt-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding-top: 20px;
	border-top: 1px solid #EDECE9;
}

.bt-pager .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid #EAE9E6;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 600;
	color: #3A3833;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}

.bt-pager .page-numbers:hover { border-color: #C9D6CB; color: #2F4A3A; }
.bt-pager .page-numbers.current { border-color: #3F5F4C; background: #3F5F4C; color: #FFFFFF; font-weight: 700; }
.bt-pager .page-numbers.dots { border: 0; min-width: 24px; color: #C9C5BC; }

.bt-empty {
	padding: 40px 0;
	font-size: 15px;
	color: #6E6A63;
	text-align: center;
}

/* ═══════════ Планшет ═══════════ */
@media (max-width: 1199px) {
	.bt__cols { grid-template-columns: minmax(0, 1fr); }
	.bt__rail { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
	.bt-hero__mark { display: none; }
}

/* ═══════════ Телефон: одна колонка вперемешку ═══════════ */
/* В макете виджеты не свалены под ленту, а вставлены между статьями:
   погода после первых карточек, инструменты дальше, подкасты ещё ниже.
   Колонок на телефоне нет, поэтому обе обёртки распускаем через
   display: contents — их дети становятся детьми одной сетки, и порядок
   задаётся order. Иначе рельса целиком уехала бы в самый низ, куда
   долистывают единицы. */
@media (max-width: 720px) {
	.bt__cols {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.bt__feed,
	.bt__rail { display: contents; }

	/* Лента: шаг десять, чтобы между её блоками было куда вставить виджет */
	.bt__feed > *:nth-child(1)  { order: 10 }
	.bt__feed > *:nth-child(2)  { order: 20 }
	.bt__feed > *:nth-child(3)  { order: 30 }
	.bt__feed > *:nth-child(4)  { order: 40 }
	.bt__feed > *:nth-child(5)  { order: 50 }
	.bt__feed > *:nth-child(6)  { order: 60 }
	.bt__feed > *:nth-child(7)  { order: 70 }
	.bt__feed > *:nth-child(8)  { order: 80 }
	.bt__feed > *:nth-child(9)  { order: 90 }
	.bt__feed > *:nth-child(10) { order: 100 }
	.bt__feed > *:nth-child(11) { order: 110 }
	.bt__feed > *:nth-child(12) { order: 120 }
	.bt__feed > *:nth-child(13) { order: 130 }
	.bt__feed > *:nth-child(14) { order: 140 }

	/* Виджеты — в промежутки */
	.bt__rail > *:nth-child(1) { order: 44 }   /* погода */
	.bt__rail > *:nth-child(2) { order: 45 }   /* сегодня */
	.bt__rail > *:nth-child(3) { order: 46 }   /* инструменты */
	.bt__rail > *:nth-child(4) { order: 75 }   /* подкасты */
	.bt__rail > *:nth-child(5) { order: 95 }   /* комментарии */
	.bt__rail > *:nth-child(6) { order: 96 }   /* читают сейчас */
	.bt__rail > *:nth-child(7) { order: 97 }   /* справочник */
}

/* ═══════════ Телефон ═══════════ */
@media (max-width: 720px) {
	.bt__wrap { padding: 0 16px 40px; }

	.bt-hero { margin-top: 12px; padding: 18px; border-radius: 14px; }
	.bt-hero__title { font-size: 30px; }
	.bt-hero__lead { font-size: 12px; line-height: 1.55; }
	.bt-hero__counts { font-size: 11px; }

	.bt-chips { margin-top: 14px; }
	.bt-chip { padding: 9px 15px; font-size: 13px; }

	.bt__cols { gap: 22px; padding-top: 18px; }
	.bt__feed { gap: 18px; }
	.bt__rail { grid-template-columns: 1fr; }

	/* Ниже первой карточки макет переходит на строчный список:
	   картинка слева, заголовок справа — так на экран помещается
	   вчетверо больше статей, чем сеткой. */
	.bt-grid--md,
	.bt-grid--sm { grid-template-columns: 1fr; gap: 16px; }

	.bt-card--md .bt-card__link,
	.bt-card--sm .bt-card__link {
		display: grid;
		grid-template-columns: 100px 1fr;
		gap: 14px;
		align-items: center;
	}

	.bt-card--md .bt-card__media,
	.bt-card--sm .bt-card__media { height: 74px; border-radius: 10px; }

	.bt-card--md .bt-card__title,
	.bt-card--sm .bt-card__title { font-size: 15px; }

	.bt-card--md .bt-card__excerpt,
	.bt-card--sm .bt-card__excerpt { display: none; }

	.bt-card--md .bt-card__cat,
	.bt-card--sm .bt-card__cat { display: none; }

	.bt-card--lead .bt-card__media { height: 190px; }
	.bt-card--lead .bt-card__title { font-size: 21px; }
	.bt-card--lead .bt-card__body  { padding: 16px 16px 18px; }
	.bt-card__badge--views { display: none; }

	.bt-insert { padding: 14px 16px; gap: 12px; }
	.bt-insert__title { font-size: 14px; }
	.bt-insert__note { display: none; }
	.bt-insert__cta { padding: 9px 14px; font-size: 11px; }

	.bt-pager .page-numbers { min-width: 44px; height: 44px; font-size: 14px; }

	/* Все виджеты рельсы на мобиле — единая ширина и внутренние отступы.
	   Раньше .bt-widget шёл с 14px 16px, а .art-rail-block (today/tools/
	   glossary) с 14px по кругу и .art-today вообще с 18px — контент внутри
	   вставал на разных X-позициях и лента выглядела «сдвинутой».
	   Теперь всё выровнено под ритм карточек статей (16px горизонтально).
	   Селектор через .bt__rail — визуально это дети .bt__cols из-за
	   display:contents, но в DOM родитель всё ещё .bt__rail. */
	.bt__rail > .bt-widget,
	.bt__rail > .art-rail-block {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.bt__rail > .art-rail-block {
		padding: 14px 16px;
		border-radius: 14px;
	}

	.bt__rail > .art-rail-block.art-today {
		padding: 16px;
		border-radius: 16px;
	}

	.bt__rail > .bt-widget.bw {
		padding: 16px;
		border-radius: 16px;
	}
}

/* Описание рубрики под лентой — снимаем внешние отступы секции:
   внутри колонки они дают провал, которого в макете нет. */
.bt-intro { margin: 0; padding: 0; }
.bt-intro .section-category-intro__inner { margin: 0; }

/* ── Фирменный баннер в ленте ── */
/* Баннер самодостаточен и печатает свои стили сам. Здесь только
   снимаем внешние отступы: в колонке ленты интервалы задаёт gap. */
.bt-banner { margin: 0; }
.bt-banner .bzpro-upsell { margin: 0; }

/* ══════════ Погода ══════════ */
/* Тёмная карточка, как в макете: она первая в колонке и должна
   отличаться от белых виджетов ниже, иначе колонка сливается. */
.bt-widget.bw {
	gap: 13px;
	padding: 16px 18px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(165deg, #2B3A33 0%, #21302B 100%);
	color: #FFFFFF;
}

.bw__top { display: flex; align-items: flex-start; gap: 12px; }
.bw__place { flex: 1; }

.bw__city {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	cursor: pointer;
}

.bw__city svg { opacity: .5; }
.bw__city:hover svg { opacity: .9; }

.bw__temp {
	font-family: 'Forum', Georgia, serif;
	font-size: 40px;
	line-height: 1.05;
	letter-spacing: -.02em;
}

.bw__cond {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	text-align: right;
}

.bw__range { font-size: 11px; opacity: .6; }

.bw__hours {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	padding: 10px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.bw__hour {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.bw__hour-time { font-size: 10px; opacity: .65; }
.bw__hour-temp { font-size: 12px; font-weight: 700; }
.bw__hour--sun .bw__hour-time,
.bw__hour--sun .bw__hour-temp { color: #E8DFC8; opacity: 1; font-weight: 700; }
.bw__hour--sun .bw__hour-temp { font-size: 10px; }

.bw__days { display: flex; flex-direction: column; gap: 8px; }

.bw__day {
	display: grid;
	grid-template-columns: 26px 20px 28px 1fr 30px;
	align-items: center;
	gap: 8px;
}

.bw__day-name { font-size: 12px; font-weight: 700; }
.bw__day-min  { font-size: 12px; opacity: .55; text-align: right; }
.bw__day-max  { font-size: 12px; font-weight: 700; text-align: right; }

.bw__day-bar {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .14);
}

/* Тёплый конец шкалы желтее, холодный зеленее — глазу видно перепад
   раньше, чем он прочитает цифры. */
.bw__day-fill {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #7FA88C, #E8C86A);
}

.bw__foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 3px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 11px;
	opacity: .7;
}

.bw__picker { display: flex; flex-direction: column; gap: 8px; }

/* display: flex перебивает встроенное [hidden] — поле поиска города
   висело открытым всегда. Правило обязано стоять после него. */
.bw__picker[hidden] { display: none; }

.bw__search {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 9px;
	background: rgba(255, 255, 255, .08);
	font-family: inherit;
	font-size: 13px;
	color: #FFFFFF;
	outline: none;
}

.bw__search::placeholder { color: rgba(255, 255, 255, .45); }
.bw__search:focus { border-color: rgba(255, 255, 255, .4); }

.bw__results { display: flex; flex-direction: column; gap: 2px; }

.bw__result {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 10px;
	border: 0;
	border-radius: 8px;
	background: none;
	font-family: inherit;
	font-size: 13px;
	color: #FFFFFF;
	text-align: left;
	cursor: pointer;
}

.bw__result:hover { background: rgba(255, 255, 255, .1); }
.bw__result span { font-size: 11px; opacity: .55; }
.bw__empty { padding: 8px 10px; font-size: 12px; opacity: .55; }
