/**
 * Chustliklar — Newspack Block Theme ustidan qo‘shimcha uslublar.
 * Ranglar theme.json'dagi palitradan olinadi (--wp--preset--color--*), shuning uchun
 * "Chust tuni" uslub variantida ham avtomatik moslashadi.
 */

:root {
	--chust-line: var(--wp--preset--color--base-3);
	--chust-muted: var(--wp--preset--color--contrast-3);
	--chust-radius: 8px;
	/* R13: rang tokenlari. Qiymatlar theme.json (custom.chust) da, “Chust tuni” varianti o‘zinikini beradi. */
	--chust-on-accent: var(--wp--custom--chust--on-accent, #ffffff);
	--chust-qora-fon: var(--wp--custom--chust--qora-fon, #15171b);
	--chust-qora-matn: var(--wp--custom--chust--qora-matn, #faf8f4);
	--chust-qora-muted: var(--wp--custom--chust--qora-muted, #b9b3a8);
	--chust-qora-accent: var(--wp--custom--chust--qora-accent, #f26b5e);
}

body {
	background: var(--wp--preset--color--base);
	-webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------ */
/* Sarlavha                                                            */
/* ------------------------------------------------------------------ */

.chust-topbar p,
.chust-topbar .chust-today {
	margin: 0;
	opacity: 0.85;
}

.chust-header {
	position: relative;
}

.chust-header .wp-block-site-logo img {
	height: auto;
}

/* Do‘ppi chetidagi naqshli hoshiya: sarlavha ostidagi qora-qizil chiziq */
.chust-header::after {
	content: "";
	display: block;
	height: 6px;
	margin-top: var(--wp--preset--spacing--30);
	margin-inline: calc(-1 * var(--wp--preset--spacing--30));
	background: repeating-linear-gradient(
		90deg,
		var(--wp--preset--color--contrast) 0 14px,
		transparent 14px 18px,
		var(--wp--preset--color--accent) 18px 24px,
		transparent 24px 28px
	);
}

.chust-nav-row {
	padding-top: var(--wp--preset--spacing--20);
	border-top: 1px solid var(--chust-line);
}

.chust-header .primary-navigation .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--matn);
	padding-block: 0.35rem;
}

.chust-header .primary-navigation .wp-block-navigation-item__content:hover,
.chust-header .primary-navigation .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent);
}

.chust-telegram-btn .wp-block-button__link {
	background: var(--wp--preset--color--accent-2);
	color: var(--chust-on-accent);
	border-radius: var(--chust-radius);
}

/* T5: maqola sahifasida obuna tugmasi maqola oxirida bor — footerdagi takror yashiriladi */
body.single footer .wp-block-buttons:has(.chust-telegram-btn) {
	display: none;
}

.chust-telegram-btn .wp-block-button__link:hover {
	filter: brightness(0.9);
}

/* ------------------------------------------------------------------ */
/* Bo‘lim sarlavhalari                                                 */
/* ------------------------------------------------------------------ */

.chust-section-title,
.wp-block-newspack-blocks-homepage-articles.wpnbha .article-section-title {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin: 0 0 var(--wp--preset--spacing--40);
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--bolim);
	font-weight: 600;
	letter-spacing: -0.015em;
	text-transform: none;
	color: var(--wp--preset--color--contrast);
}

.chust-section-title a {
	color: inherit;
	text-decoration: none;
}

.chust-section-title a::after {
	content: "→";
	margin-left: 0.4em;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.7em;
	color: var(--chust-muted);
}

.chust-section-title a:hover,
.chust-section-title a:hover::after {
	color: var(--wp--preset--color--accent);
}

.wp-block-newspack-blocks-homepage-articles.wpnbha .article-section-title {
	font-size: var(--wp--preset--font-size--bolim);
	line-height: 1.2;
}

.wpnbha .article-section-title span {
	color: inherit;
}

/* ------------------------------------------------------------------ */
/* Newspack "Homepage Posts" kartochkalari                             */
/* ------------------------------------------------------------------ */

.wpnbha .entry-title {
	font-family: var(--wp--preset--font-family--newsreader);
	letter-spacing: -0.015em;
	text-wrap: pretty;
}

.wpnbha .entry-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.wpnbha .entry-title a:hover {
	color: var(--wp--preset--color--accent);
}

.wpnbha .cat-links {
	font-size: var(--wp--preset--font-size--yorliq);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wp-block-newspack-blocks-homepage-articles.wpnbha .cat-links a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.wpnbha .entry-meta,
.wpnbha .entry-meta a {
	color: var(--chust-muted);
	font-size: var(--wp--preset--font-size--sana);
}

.wpnbha .excerpt,
.wpnbha .excerpt p {
	color: var(--wp--preset--color--contrast-2);
}

.wpnbha .post-thumbnail img {
	border-radius: var(--chust-radius);
}

/* So‘nggi yangiliklar lentasi */
.chust-feed-col {
	padding-left: var(--wp--preset--spacing--50);
	border-left: 1px solid var(--chust-line);
}

.wpnbha.chust-feed article {
	margin-bottom: 0 !important;
	padding-block: 0.85rem;
	border-bottom: 1px solid var(--chust-line);
}

.wpnbha.chust-feed article:last-child {
	border-bottom: 0;
}

/* R3: lenta — yorliq, sarlavha, kulrang sana; chap chiziqsiz */
.wpnbha.chust-feed .entry-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.wpnbha.chust-feed .cat-links {
	margin: 0;
	font-size: var(--wp--preset--font-size--yorliq);
}

.wp-block-newspack-blocks-homepage-articles.wpnbha.chust-feed article .entry-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--kartochka);
	font-weight: 600;
	line-height: 1.25;
}

.wpnbha.chust-feed article .entry-wrapper .entry-meta,
.wpnbha.chust-feed .entry-meta .entry-date {
	margin: 0;
	color: var(--wp--preset--color--contrast-3);
	font-size: var(--wp--preset--font-size--sana);
	font-weight: 400;
}

.chust-feed-more {
	margin: 0.75rem 0 0;
	font-size: var(--wp--preset--font-size--x-small);
}

.chust-feed-more a {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Telegram chaqiruvi                                                  */
/* ------------------------------------------------------------------ */

.chust-cta {
	border-radius: var(--chust-radius);
	background: color-mix(in srgb, var(--wp--preset--color--accent-2) 12%, var(--wp--preset--color--base));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent-2) 35%, transparent);
}

.chust-cta h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--bolim);
}

.chust-cta p {
	margin: 0;
	color: var(--wp--preset--color--contrast-2);
}

/* ------------------------------------------------------------------ */
/* Bosh sahifaning pastki qismi (R5): Telegram → Ko‘p o‘qilgan → Bo‘limlar */
/* ------------------------------------------------------------------ */

.chust-home-block {
	margin-top: 3.5rem !important;
}

.chust-home-bottom .chust-most-read,
.chust-home-bottom .chust-bolimlar {
	margin-top: 0;
}

/* T4: “Ko‘p o‘qilgan” chiqmasa, uning bo‘sh ustuni ham joy egallamasin */
.chust-home-bottom > .wp-block-column:not(:has(.chust-most-read, .chust-bolimlar)) {
	display: none;
}

.chust-bolimlar__title {
	margin: 0 0 var(--wp--preset--spacing--30);
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--bolim);
}

.chust-bolimlar__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chust-bolimlar__list a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0.5rem 0.85rem;
	border-radius: var(--chust-radius);
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--matn);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.chust-bolimlar__list a:hover {
	color: var(--wp--preset--color--accent);
}

/* ------------------------------------------------------------------ */
/* Bo‘lim, “Yangi” va qidiruv ro‘yxatlari: ixcham kartochka (R6)       */
/* ------------------------------------------------------------------ */

.chust-cards {
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.chust-card > * {
	margin-block: 0;
}

.chust-card__image {
	margin: 0 0 0.75rem !important;
}

.chust-card__image img {
	border-radius: var(--chust-radius);
}

.chust-card__body > * {
	margin-block: 0 !important;
}

.chust-card__cat {
	margin-bottom: 0.25rem !important;
	font-size: var(--wp--preset--font-size--yorliq);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.chust-card__cat a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.category .chust-card__cat {
	display: none;
}

.chust-card__title {
	display: -webkit-box;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--kartochka);
	font-weight: 600;
	line-height: 1.25;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

.chust-card__title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.chust-card__title a:hover {
	color: var(--wp--preset--color--accent);
}

.chust-card__date {
	margin-top: 0.3rem !important;
	color: var(--wp--preset--color--contrast-3);
	font-size: var(--wp--preset--font-size--sana);
}

/* Bo‘lim sahifasining boshi: sarlavha ostida 32×3 qizil chiziq, tavsif 2 qator */
.chust-archive-head .wp-block-query-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-top: 0.6rem;
	background: var(--wp--preset--color--accent);
}

.chust-archive-head .wp-block-term-description,
.chust-archive-head .wp-block-term-description p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: var(--wp--preset--color--contrast-2);
	font-size: var(--wp--preset--font-size--matn);
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Qidiruv sarlavhasi va natijasiz holat (R7) */
.chust-search-title {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--maqola);
}

.chust-search-hint {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--contrast-2);
}

.wp-block-query-no-results > * + * {
	margin-top: var(--wp--preset--spacing--50);
}

.chust-latest-title {
	margin-bottom: var(--wp--preset--spacing--30) !important;
}

/* ------------------------------------------------------------------ */
/* Maqola sahifasi                                                     */
/* ------------------------------------------------------------------ */

.single .wp-block-post-content {
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
}

.single .wp-block-post-content :is(h2, h3) {
	margin-top: 1.4em;
	margin-bottom: 0.4em;
	font-size: var(--wp--preset--font-size--bosh);
}

.single .wp-block-post-content a {
	color: var(--wp--preset--color--accent);
	text-underline-offset: 3px;
}

.single .wp-block-post-content table {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--x-small);
}

.single .wp-block-post-content th {
	background: var(--wp--preset--color--base-2);
}

.single .wp-block-post-content blockquote {
	border-left-color: var(--wp--preset--color--accent-3);
	font-style: italic;
}

/* Manbalar bloki (import skripti va muharrirlar uchun "chust-sources" klassi) */
.chust-sources {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	border-radius: var(--chust-radius);
	background: color-mix(in srgb, var(--wp--preset--color--accent-2) 10%, var(--wp--preset--color--base));
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--x-small);
}

.chust-sources h3 {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--sana);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-2);
}

.chust-sources ul {
	margin: 0;
}

.chust-sources a {
	color: var(--wp--preset--color--contrast) !important;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.chust-footer {
	background-image: url("../images/doppi-naqsh.svg");
	background-size: 64px 64px;
}

.chust-footer .chust-footer-title {
	margin-bottom: 0.9rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--sana);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chust-footer-list {
	padding: 0;
	list-style: none;
	line-height: 2;
}

.chust-footer-list a,
.chust-footer .chust-muted,
.chust-footer .chust-muted a {
	color: var(--chust-qora-muted) !important;
	text-decoration: none;
}

.chust-footer-list a:hover {
	color: var(--chust-qora-matn) !important;
}

/* Footer va yuqori qator har doim do‘ppi qorasida — "Chust tuni" variantida ham */
.chust-footer,
.chust-topbar {
	background-color: var(--chust-qora-fon) !important;
	color: var(--chust-qora-matn) !important;
}

.chust-footer a,
.chust-topbar a,
.chust-footer h2 {
	color: var(--chust-qora-matn);
}

/* ------------------------------------------------------------------ */
/* Telefon                                                             */
/* ------------------------------------------------------------------ */

@media (max-width: 781px) {
	.chust-feed-col {
		padding-left: 0;
		border-left: 0;
	}

	.chust-header::after {
		margin-top: var(--wp--preset--spacing--30);
	}
}

/* Ro‘yxatlarda (rukn, qidiruv) qisqa tavsif allaqachon ko‘rinadi — kichik sarlavha takrorlanmasin */
.wp-block-post-template .wp-block-newspack-block-theme-article-subtitle {
	display: none;
}

/* ================================================================== */
/* 1.1: zamin.uz uslubidagi elementlar va telefon birinchi o‘rinda    */
/* ================================================================== */

/* Yuqori qator: sana · ob-havo · valyuta */
.chust-topbar p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.1rem;
}

.chust-rates {
	display: inline-flex;
	gap: 0.9rem;
}

.chust-rate b,
.chust-weather b {
	font-weight: 700;
}

/* Kurs strelkalari: och fonda to‘q ranglar, qora yuqori qatorda — yorqinroq (R2) */
.chust-rate--up::after {
	content: " ▲";
	color: #1e8a55;
	font-size: 0.7em;
}

.chust-rate--down::after {
	content: " ▼";
	color: #b3261e;
	font-size: 0.7em;
}

.chust-topbar .chust-rate--up::after {
	color: #4cc38a;
}

.chust-topbar .chust-rate--down::after {
	color: var(--chust-qora-accent);
}

/* Bosh maqola: 16:9 rasm, sarlavha rasm ostida (R1) */
.wpnbha.chust-lead article {
	margin-bottom: 0;
}

.wpnbha.chust-lead .post-thumbnail {
	margin: 0 0 0.75rem;
}

.wpnbha.chust-lead .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 540px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--chust-radius);
}

.wpnbha.chust-lead .cat-links {
	margin: 0 0 0.35rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--yorliq);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wpnbha.chust-lead .cat-links a {
	padding: 0;
	background: none;
	color: var(--wp--preset--color--accent);
}

.wp-block-newspack-blocks-homepage-articles.wpnbha.chust-lead article .entry-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

.wpnbha.chust-lead article .entry-wrapper .entry-meta,
.wpnbha.chust-lead .entry-meta a {
	margin-top: 0.4rem;
	color: var(--wp--preset--color--contrast-3);
	font-size: var(--wp--preset--font-size--sana);
}

/* Ko‘p o‘qilgan — raqamli ro‘yxat */
.chust-most-read {
	margin-top: var(--wp--preset--spacing--50);
}

.chust-most-read__title {
	margin: 0 0 var(--wp--preset--spacing--30);
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--bolim);
}

.chust-most-read__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: chust-rank;
}

.chust-most-read__list li {
	position: relative;
	padding: 0.75rem 0 0.75rem 2.6rem;
	border-bottom: 1px solid var(--chust-line);
	counter-increment: chust-rank;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--kartochka);
	font-weight: 600;
	line-height: 1.25;
}

.chust-most-read__list li:last-child {
	border-bottom: 0;
}

.chust-most-read__list li::before {
	content: counter(chust-rank);
	position: absolute;
	left: 0;
	top: 0.45rem;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--contrast-3);
}

.chust-most-read__list a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.chust-most-read__list a:hover {
	color: var(--wp--preset--color--accent);
}

.chust-views {
	display: block;
	margin-top: 0.2rem;
	font-size: var(--wp--preset--font-size--yorliq);
	font-weight: 500;
	color: var(--chust-muted);
}

.chust-views::before {
	content: "👁 ";
}

/* Telefon uchun pastki menyu va ruknlar oynasi — kompyuterda yashirin */
.chust-bottom-nav {
	display: none;
}

.chust-sheet {
	inset: auto 0 0 0;
	width: 100%;
	max-width: none;
	max-height: 75vh;
	margin: 0;
	padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
	border: 0;
	border-radius: var(--chust-radius) var(--chust-radius) 0 0;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	box-shadow: 0 -12px 40px rgb(0 0 0 / 0.2);
}

.chust-sheet::backdrop {
	background: rgb(10 11 13 / 0.5);
}

.chust-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-size: var(--wp--preset--font-size--medium);
}

.chust-sheet__head button {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--base-2);
	color: inherit;
	font-size: var(--wp--preset--font-size--matn);
}

.chust-sheet ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.chust-sheet a {
	display: flex;
	justify-content: space-between;
	padding: 0.9rem 0.25rem;
	border-bottom: 1px solid var(--chust-line);
	color: inherit;
	font-size: var(--wp--preset--font-size--kartochka);
	font-weight: 600;
	text-decoration: none;
}

.chust-sheet a span {
	color: var(--chust-muted);
	font-weight: 500;
}

/* Rukn tugmalari (faqat telefonda ko‘rinadi) */
.chust-mobile-info:empty,
.chust-mobile-info:not(:has(span)) {
	display: none;
}

@media (max-width: 781px) {
	body {
		padding-bottom: calc(64px + env(safe-area-inset-bottom));
	}

	/* Sarlavha yopishqoq: aylantirganda logotip va ruknlar doim ko‘rinadi */
	header.wp-block-template-part {
		position: sticky;
		top: 0;
		z-index: 60;
	}

	.admin-bar header.wp-block-template-part {
		top: 46px;
	}

	/* R2: bosh sahifada ob-havo/kurs qatori (32px) eng yuqorida turadi va sahifa bilan
	   yuqoriga ketadi; yopishqoq holatda faqat logotip (56px) va chiplar (44px) qoladi. */
	.home header.wp-block-template-part {
		top: -32px;
	}

	.home.admin-bar header.wp-block-template-part {
		top: 14px;
	}

	.chust-header--mobile::after {
		height: 4px;
		margin-top: 0;
	}

	.chust-header--mobile > * {
		margin-block: 0 !important;
	}

	.chust-header--mobile .chust-logo-row {
		min-height: 56px;
		align-items: center;
	}

	.chust-mobile-info {
		display: flex;
		align-items: center;
		gap: 0.9rem;
		height: 32px;
		overflow-x: auto;
		font-size: var(--wp--preset--font-size--x-small);
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
		color: var(--chust-muted);
		scrollbar-width: none;
	}

	body:not(.home) .chust-mobile-info {
		display: none;
	}

	/* T3: telefondagi qatorda “Chust” so‘zisiz — kurslar 360px da ham sig‘sin */
	.chust-mobile-info .chust-weather__joy {
		display: none;
	}

	.chust-chips {
		height: 44px;
		margin-inline: calc(-1 * var(--wp--preset--spacing--30));
		padding: 4px var(--wp--preset--spacing--30);
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		/* O‘ng chetda 24px yumshoq o‘tish: yon tomonga surish mumkinligi bilinadi */
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
	}

	.chust-chips::-webkit-scrollbar {
		display: none;
	}

	.chust-chips .wp-block-navigation__container {
		flex-wrap: nowrap !important;
		gap: 0.45rem !important;
	}

	.chust-chips .wp-block-navigation-item__content {
		position: relative;
		display: flex;
		align-items: center;
		box-sizing: border-box;
		height: 36px;
		padding: 0 0.85rem !important;
		border: 1px solid var(--chust-line);
		border-radius: 999px;
		background: var(--wp--preset--color--base-2);
		font-size: var(--wp--preset--font-size--x-small);
		font-weight: 600;
		white-space: nowrap;
	}

	/* Tugma maydoni 44px: chip ustidan va ostidan 4px dan */
	.chust-chips .wp-block-navigation-item__content::before {
		content: "";
		position: absolute;
		inset: -4px 0;
	}

	.chust-chips .current-menu-item > .wp-block-navigation-item__content {
		border-color: var(--wp--preset--color--accent);
		background: var(--wp--preset--color--accent);
		color: var(--chust-on-accent);
	}

	/* Pastki menyu */
	.chust-bottom-nav {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 70;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid var(--chust-line);
		background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent);
		backdrop-filter: saturate(1.4) blur(12px);
	}

	.chust-bottom-nav a,
	.chust-bottom-nav button {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 58px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--chust-muted);
		font-family: var(--wp--preset--font-family--inter);
		font-weight: 600;
		line-height: 1.2;
		font-size: var(--wp--preset--font-size--yorliq);
		text-decoration: none;
		cursor: pointer;
	}

	.chust-bottom-nav [aria-current="page"] {
		color: var(--wp--preset--color--accent);
	}

	.chust-bottom-nav .is-telegram {
		color: var(--wp--preset--color--accent-2);
	}

	/* Bosh maqola telefonda: rasm chetdan-chetga, matn odatiy chegarada */
	.wpnbha.chust-lead .post-thumbnail {
		margin-inline: calc(-1 * var(--wp--preset--spacing--30));
	}

	.wpnbha.chust-lead .post-thumbnail img {
		border-radius: 0;
	}

	/* Birinchi ekranga ko‘proq sarlavha sig‘sin: bosh sahifadagi bo‘shliqlar ixcham */
	.home .chust-header--mobile {
		margin-bottom: 0.75rem !important;
	}

	.chust-hero {
		row-gap: 1.25rem !important;
	}

	.chust-feed .article-section-title {
		margin-bottom: 0.25rem !important;
		padding-bottom: 0.4rem !important;
	}

	.wpnbha.chust-feed article {
		padding-block: 0.5rem;
	}

	.wpnbha.chust-feed .entry-wrapper {
		gap: 0.1rem;
	}

	/* T2: telefonda sana yorliq qatorida — “HUNARMANDLAR · Kecha, 10:30”, ostida sarlavha */
	.wpnbha.chust-feed .entry-wrapper,
	.wpnbha.chust-lead .entry-wrapper {
		display: flex;
		flex-flow: row wrap;
		align-items: baseline;
		column-gap: 0.4rem;
		row-gap: 0.1rem;
	}

	.wpnbha.chust-feed .cat-links,
	.wpnbha.chust-lead .cat-links {
		order: 1;
		margin: 0;
	}

	.wpnbha.chust-feed article .entry-wrapper .entry-meta,
	.wpnbha.chust-lead article .entry-wrapper .entry-meta {
		display: block;
		order: 2;
		margin: 0;
		white-space: nowrap;
	}

	.wpnbha.chust-feed .entry-meta *,
	.wpnbha.chust-lead .entry-meta * {
		display: inline !important;
	}

	.wpnbha.chust-feed .entry-meta::before,
	.wpnbha.chust-lead .entry-meta::before {
		content: "· ";
	}

	.wp-block-newspack-blocks-homepage-articles.wpnbha.chust-feed article .entry-title,
	.wp-block-newspack-blocks-homepage-articles.wpnbha.chust-lead article .entry-title {
		order: 3;
		flex-basis: 100%;
		margin-top: 0.15rem;
	}

	.wp-block-newspack-blocks-homepage-articles.wpnbha.chust-lead article .entry-title {
		font-size: var(--wp--preset--font-size--bosh);
	}

	/* Tugma va havolalar barmoq uchun yetarlicha katta */
	.wpnbha.chust-feed .entry-title a,
	.chust-most-read__list a {
		display: block;
		padding-block: 0.1rem;
	}

	.chust-home-block {
		margin-top: 2rem !important;
	}

	.chust-home-bottom {
		row-gap: 2rem !important;
	}

	.chust-cta .wp-block-buttons,
	.chust-cta .wp-block-button {
		width: 100%;
	}

	.chust-cta .wp-block-button__link {
		display: block;
		width: 100%;
	}

	/* R6: telefonda kartochka — chapda 96×96 rasm, o‘ngda sarlavha va sana */
	.chust-cards {
		gap: 0 !important;
	}

	.chust-cards > li {
		padding-block: 0.75rem;
		border-bottom: 1px solid var(--chust-line);
	}

	.chust-card {
		display: grid;
		grid-template-columns: 96px 1fr;
		gap: 12px;
		align-items: start;
	}

	.chust-card__image {
		width: 96px;
		margin: 0 !important;
	}

	.chust-card__image img {
		width: 96px !important;
		height: 96px !important;
		aspect-ratio: 1 !important;
		object-fit: cover;
		border-radius: 6px;
	}
}

/* ------------------------------------------------------------------ */
/* Maqola boshi (R8): bo‘lim → sarlavha → lid → bitta meta qator → rasm */
/* ------------------------------------------------------------------ */

.chust-article-head .taxonomy-category {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--yorliq);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.chust-article-head .taxonomy-category a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.single .chust-article-head .wp-block-post-title {
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--maqola);
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
}

.single .chust-article-head .wp-block-newspack-block-theme-article-subtitle {
	margin: 0;
	color: var(--wp--preset--color--contrast-2);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

.chust-byline {
	margin: 0;
	color: var(--wp--preset--color--contrast-3);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--sana);
	line-height: 1.5;
}

.chust-article-head .chust-byline--updated {
	margin-top: -0.5rem;
}

.chust-byline a {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.chust-byline a:hover {
	color: var(--wp--preset--color--accent);
}

.single .avatar {
	display: none;
}

.single .post-image .wp-block-post-featured-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
	height: auto;
	border-radius: var(--chust-radius);
}

.single .post-image .wp-block-newspack-featured-image-caption {
	color: var(--wp--preset--color--contrast-3);
	font-size: var(--wp--preset--font-size--yorliq);
}

@media (min-width: 782px) {
	.single .wp-block-post-content > * {
		max-width: 40rem;
	}
}

@media (max-width: 781px) {
	.single .post-image {
		margin-top: 1.25rem !important;
		margin-bottom: 1.5rem !important;
		padding-inline: 0 !important;
	}

	.single .post-image .wp-block-post-featured-image img {
		border-radius: 0;
	}

	.single .post-image .wp-block-newspack-featured-image-caption {
		padding-inline: var(--wp--preset--spacing--30);
	}

	.single .post-image + .wp-block-group {
		margin-top: 0 !important;
	}
}

/* ------------------------------------------------------------------ */
/* Maqola oxiri (R9): ulashish → obuna → “Mavzuga oid”                 */
/* ------------------------------------------------------------------ */

.chust-post-end {
	margin-top: var(--wp--preset--spacing--60);
}

.chust-share__title,
.chust-oxshash__title {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--newsreader);
	font-size: var(--wp--preset--font-size--bolim);
	font-weight: 600;
	line-height: 1.25;
}

.chust-share__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--yorliq);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-3);
}

.chust-share__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.chust-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--chust-line);
	border-radius: var(--chust-radius);
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	line-height: 1.2;
	font-size: var(--wp--preset--font-size--x-small);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.chust-share__btn svg {
	flex: none;
	width: 20px;
	height: 20px;
}

.chust-share__btn--telegram {
	/* T5: kontur — to‘la firuza faqat obuna tugmasida */
	border-color: currentColor;
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--accent-2);
}

.chust-share__btn:hover {
	filter: brightness(0.95);
}

.chust-oxshash__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.chust-oxshash .chust-card__title {
	margin: 0;
}

@media (max-width: 781px) {
	.chust-share__btn {
		padding: 0 0.4rem;
		font-size: var(--wp--preset--font-size--sana);
	}

	.chust-oxshash__list {
		display: block;
	}

	.chust-oxshash__list > li:first-child {
		padding-top: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Footer (R11): telefonda faqat logotip, shior, Telegram, havolalar, © */
/* ------------------------------------------------------------------ */

.chust-footer .chust-footer-sep {
	border: 0;
	height: 1px;
	background: rgb(255 255 255 / 0.12);
	color: rgb(255 255 255 / 0.12);
}

.chust-footer .chust-footer-links {
	display: none;
}

@media (max-width: 781px) {
	.chust-footer .chust-footer-col {
		display: none;
	}

	.chust-footer .chust-footer-links {
		display: block;
		margin-top: 1rem;
	}

	.chust-footer > .wp-block-columns {
		padding-top: var(--wp--preset--spacing--60) !important;
		padding-bottom: var(--wp--preset--spacing--40) !important;
	}

	.chust-footer .chust-footer-logo img {
		width: 180px !important;
	}
}
