﻿/*! ==========================================================================
   Andijon Filarmoniyasi — styles.css  (DataLife Engine 15/16/17 ready)
   --------------------------------------------------------------------------
   0. Dizayn tokenlari        7. CTA band              14. Komponentlar
   1. Reset va base           8. Layout + sidebar      15. Animatsiya
   2. Tipografika / prose     9. Maqola (fullstory)    16. Media queries
   3. Utility                10. Izohlar               17. Print
   4. Header / navigatsiya   11. Formalar              18. DLE engine mosligi
   5. Hero slayder           12. Pager / speedbar
   6. Kartochkalar           13. Footer
   ========================================================================== */

/* ============================ 0. DIZAYN TOKENLARI ========================= */
:root {
	color-scheme: light;

	/* Brend ranglari — chuqur navy + nafis oltin */
	--navy-950: #060d16;
	--navy-900: #0a1421;
	--navy-800: #0f1f2f;
	--navy-700: #152a3f;
	--navy-600: #1d3854;
	--navy-500: #2b4d70;
	--navy-400: #48688c;
	--gold-700: #96620f;
	--gold-600: #c1811a;
	--gold-500: #e9a227;
	--gold-400: #f7c05a;
	--gold-300: #fbd88f;
	--gold-100: #fdf1dc;
	--gold-050: #fff8ec;
	--gold-grad: linear-gradient(135deg, var(--gold-600), var(--gold-500) 46%, var(--gold-400));
	--gold-grad-soft: linear-gradient(135deg, var(--gold-400), var(--gold-300));
	--gold-line: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-400), transparent);
	--gold-ring: rgba(233, 162, 39, .38);

	/* Neytral yuzalar */
	--c-bg: #ffffff;
	--c-surface: #f5f8fc;
	--c-surface-2: #eaeff6;
	--c-border: #e1e7f0;
	--c-border-strong: #c6d2e0;

	/* Matn */
	--c-text: #121f2e;
	--c-muted: #54677c;
	--c-soft: #78889b;
	--c-inverse: #f4f8fd;
	--c-inverse-muted: #adbed1;

	/* Semantik */
	--c-link: #1f6fd0;
	--c-link-hover: #164f97;
	--c-success: #2f9e5e;
	--c-danger: #d64545;
	--c-warning: #e0952a;
	--c-info: #2f7fd1;

	/* Tipografika */
	--font-sans: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--font-display: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
	--fs-xs: .75rem;
	--fs-sm: .875rem;
	--fs-base: 1rem;
	--fs-md: 1.0625rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5rem;
	--fs-2xl: 1.95rem;
	--fs-3xl: clamp(1.6rem, 2.9vw, 2.4rem);
	--fs-4xl: clamp(1.95rem, 4.8vw, 3.35rem);
	--fs-hero: clamp(2.15rem, 5.4vw, 4.15rem);
	--fs-display: clamp(2.6rem, 7vw, 5.5rem);
	--lh-display: 1.07;
	--lh-tight: 1.16;
	--lh-snug: 1.38;
	--lh-base: 1.65;
	--tracking-tight: -.022em;
	--tracking-wide: .08em;
	--measure: 68ch;

	/* Oraliqlar */
	--s-1: .25rem;
	--s-2: .5rem;
	--s-3: .75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 3rem;
	--s-8: 4rem;
	--s-9: 6rem;
	--gap: clamp(1rem, 2.2vw, 1.6rem);
	--gutter: clamp(1rem, 4vw, 2rem);
	--container: 1240px;
	--container-narrow: 880px;

	/* Shakl / soya */
	--r-sm: .55rem;
	--r-md: .9rem;
	--r-lg: 1.35rem;
	--r-xl: 1.75rem;
	--r-2xl: 2.25rem;
	--r-pill: 999px;
	--sh-1: 0 1px 2px rgba(10, 20, 33, .05), 0 4px 14px rgba(10, 20, 33, .06);
	--sh-2: 0 6px 18px rgba(10, 20, 33, .08), 0 20px 44px rgba(10, 20, 33, .10);
	--sh-3: 0 20px 54px rgba(10, 20, 33, .20);
	--sh-gold: 0 10px 28px rgba(233, 162, 39, .32);
	--glass-bg: rgba(255, 255, 255, .82);
	--glass-border: rgba(255, 255, 255, .6);
	--ring: 0 0 0 3px var(--gold-ring);

	/* Harakat */
	--t-fast: .16s ease;
	--t-base: .28s cubic-bezier(.4, 0, .2, 1);
	--t-slow: .55s cubic-bezier(.4, 0, .2, 1);
	--header-h: 66px;
}

[data-theme="dark"] {
	color-scheme: dark;
	--c-bg: #0a1421;
	--c-surface: #0f1f2f;
	--c-surface-2: #152a3f;
	--c-border: #1c3247;
	--c-border-strong: #2b4d70;
	--c-text: #eaf1f9;
	--c-muted: #a7b6c8;
	--c-soft: #8494a7;
	--c-link: #74b4f7;
	--c-link-hover: #a5d0fb;
	--c-success: #46bd7c;
	--c-danger: #f0736f;
	--sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .34);
	--sh-2: 0 8px 24px rgba(0, 0, 0, .46), 0 20px 44px rgba(0, 0, 0, .36);
	--sh-3: 0 22px 56px rgba(0, 0, 0, .56);
	--ring: 0 0 0 3px rgba(247, 192, 90, .35);
	--glass-bg: rgba(15, 31, 47, .82);
	--glass-border: rgba(43, 77, 112, .5);
}

/* ============================== 1. RESET / BASE =========================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	transition: background-color var(--t-base), color var(--t-base);
}

body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }
img { border-style: none; }
svg { display: inline-block; vertical-align: middle; }

button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }

a { color: var(--c-link); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-link-hover); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--gold-500); color: var(--navy-900); }

hr { height: 0; border: 0; border-top: 1px solid var(--c-border); margin: var(--s-6) 0; }

table { border-collapse: collapse; width: 100%; }
caption { text-align: left; caption-side: bottom; color: var(--c-muted); font-size: var(--fs-sm); padding-top: var(--s-3); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-surface); }
::-webkit-scrollbar-thumb { background: var(--c-border-strong); border-radius: var(--r-pill); border: 2px solid var(--c-surface); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-400); }

/* ========================= 2. TIPOGRAFIKA VA PROSE ======================== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: var(--lh-tight);
	color: var(--c-text);
	margin: 0 0 var(--s-3);
	letter-spacing: var(--tracking-tight);
	text-wrap: balance;
}

h1, .h1 { font-size: var(--fs-4xl); line-height: var(--lh-display); }
h2, .h2 { font-size: var(--fs-3xl); }
h3, .h3 { font-size: var(--fs-xl); font-weight: 700; }
h4, .h4 { font-size: var(--fs-lg); font-weight: 700; }
h5, .h5 { font-size: var(--fs-md); font-weight: 700; }
h6, .h6 { font-size: var(--fs-base); font-weight: 700; letter-spacing: 0; }

/* Kichik ustki sarlavha (eyebrow) */
.eyebrow {
	display: inline-block;
	margin: 0 0 var(--s-3);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--gold-600);
}
[data-theme="dark"] .eyebrow { color: var(--gold-400); }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.35em; }
ul { list-style: disc; }
ol { list-style: decimal; }
li { margin-bottom: var(--s-2); }
li > ul, li > ol { margin-top: var(--s-2); margin-bottom: 0; }

blockquote {
	margin: var(--s-5) 0;
	padding: var(--s-4) var(--s-5);
	border-left: 4px solid var(--gold-500);
	background: var(--c-surface);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	color: var(--c-muted);
	font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }

small, .small { font-size: var(--fs-sm); }
strong, b { font-weight: 650; }
code, kbd, samp, pre { font-family: var(--font-mono); font-size: .92em; }
code { background: var(--c-surface-2); padding: .12em .4em; border-radius: var(--r-sm); }

/* Kontent tipografikasi (DLE {full-story}, {static}) */
.prose { font-size: var(--fs-md); line-height: 1.78; color: var(--c-text); }
.prose > p:first-of-type { font-size: 1.1em; line-height: 1.7; }
.prose h2 { margin: var(--s-7) 0 var(--s-3); }
.prose h3 { margin: var(--s-6) 0 var(--s-3); }
.prose > * + h2, .prose > * + h3 { margin-top: var(--s-7); }
.prose img { border-radius: var(--r-md); margin: var(--s-3) 0; }
.prose figure { margin: var(--s-5) 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--s-2); text-align: center; }
.prose a:not(.btn) {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(233, 162, 39, .55);
}
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose table { margin: var(--s-5) 0; font-size: var(--fs-sm); }
.prose table th, .prose table td { padding: .6rem .8rem; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.prose table th { background: var(--c-surface); font-weight: 650; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); background: #000; }

/* ============================== 3. UTILITY ================================ */
.container { width: min(var(--container), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - (var(--gutter) * 2)); }
.container--wide { width: min(1400px, 100% - (var(--gutter) * 2)); }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: var(--s-4);
	top: -100px;
	z-index: 200;
	padding: .7rem 1.15rem;
	background: var(--navy-700);
	color: #fff;
	border-radius: 0 0 var(--r-md) var(--r-md);
	font-weight: 600;
	font-size: var(--fs-sm);
	transition: top var(--t-base);
}
.skip-link:focus { top: 0; color: #fff; }

.icon {
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.grid--span { grid-column: 1 / -1; }

/* Section */
.section { padding-block: clamp(2.25rem, 5.5vw, 4.25rem); }
.section--muted { background: var(--c-surface); }
.section--tight { padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }
.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--s-3) var(--s-5);
	margin-bottom: var(--s-5);
}
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { margin: 0; font-size: var(--fs-2xl); font-weight: 800; position: relative; }
.section__title::after {
	content: "";
	display: block;
	width: 62px;
	height: 3px;
	margin-top: .6rem;
	border-radius: var(--r-pill);
	background: var(--gold-grad);
}
.section__head--center .section__title::after { margin-inline: auto; }
.section__subtitle { color: var(--c-muted); margin: .6rem 0 0; max-width: var(--measure); }
.section__more {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 600;
	font-size: var(--fs-sm);
	white-space: nowrap;
}
.section__more:hover { gap: .65em; }
.section__head--gap { margin-top: var(--s-8); }
.section__subtitle--center { text-align: center; max-width: 80ch; margin: 0 auto var(--s-6); }

/* Qorong'u (navy) fonli bo'lim — "Natijalar" va h.k. */
.section--dark {
	position: relative;
	border-top: 1px solid rgba(233, 162, 39, .16);
	border-bottom: 1px solid rgba(233, 162, 39, .16);
	background:
		radial-gradient(ellipse at 15% 15%, rgba(233, 162, 39, .09) 0%, transparent 55%),
		radial-gradient(ellipse at 85% 85%, rgba(43, 77, 112, .38) 0%, transparent 60%),
		linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
	color: #fff;
	overflow: hidden;
}
.section--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 15% 20%, rgba(233, 162, 39, .07) 0%, transparent 55%),
		radial-gradient(ellipse at 85% 80%, rgba(45, 74, 107, .3) 0%, transparent 60%);
	pointer-events: none;
}
.section--dark::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 28%, #000 0%, transparent 76%);
	mask-image: radial-gradient(ellipse at 50% 28%, #000 0%, transparent 76%);
	pointer-events: none;
}
.section--dark .section__title { color: #fff; }
.section--dark > .container { position: relative; z-index: 1; }
.feature.feature--dark {
	background: rgba(255, 255, 255, .05);
	border-color: rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 40px rgba(0, 0, 0, .28);
}
.feature.feature--dark:hover {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(233, 162, 39, .55);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 24px 54px rgba(0, 0, 0, .38), 0 0 0 1px rgba(233, 162, 39, .2);
}
.feature--dark .feature__title { color: #fff; }
.feature--dark .feature__text { color: var(--c-inverse-muted); }
.feature--dark .feature__avatar {
	border-color: var(--gold-400);
	background: var(--navy-700);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .4), 0 0 0 4px rgba(233, 162, 39, .14);
}

/* Hamkorlar tarmog'i */
.partners {
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	align-items: stretch;
	gap: var(--gap);
}
.partner {
	display: grid;
	place-items: center;
	min-height: 124px;
	padding: var(--s-5) var(--s-4);
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold-500); }
.partner img {
	max-width: 100%;
	height: auto;
	max-height: 68px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .82;
	transition: filter var(--t-base), opacity var(--t-base);
}
.partner:hover img { filter: none; opacity: 1; }

/* Tugmalar */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .72em 1.35em;
	border-radius: var(--r-md);
	border: 1px solid transparent;
	font-family: var(--font-display);
	font-weight: 650;
	font-size: var(--fs-sm);
	line-height: 1.2;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	transition: transform var(--t-fast), box-shadow var(--t-base), background-color var(--t-base), color var(--t-base), border-color var(--t-base), filter var(--t-base);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn--primary {
	background: var(--gold-grad);
	color: #231603;
	box-shadow: var(--sh-gold);
}
.btn--primary:hover { background: var(--gold-grad-soft); color: #231603; box-shadow: 0 14px 32px rgba(233, 162, 39, .4); }

.btn--dark { background: var(--navy-700); color: #fff; box-shadow: var(--sh-1); }
.btn--dark:hover { background: var(--navy-600); color: #fff; }

.btn--outline { border-color: var(--c-border-strong); background: transparent; color: var(--c-text); }
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--gold-100); }
[data-theme="dark"] .btn--outline:hover { background: rgba(233, 162, 39, .12); color: var(--gold-400); }

.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.btn--danger { background: var(--c-danger); color: #fff; }
.btn--danger:hover { color: #fff; filter: brightness(1.08); }

.btn--sm { padding: .5em .9em; font-size: var(--fs-xs); border-radius: var(--r-sm); }
.btn--lg { padding: .9em 1.7em; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--r-md);
	color: inherit;
	border: 1px solid transparent;
	transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }

/* Chip / badge */
.chip {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	padding: .3em .7em;
	border-radius: var(--r-pill);
	background: var(--c-surface-2);
	color: var(--c-muted);
	font-size: var(--fs-xs);
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.chip--gold { background: var(--gold-100); color: var(--gold-600); }
[data-theme="dark"] .chip--gold { background: rgba(233, 162, 39, .16); color: var(--gold-400); }
.chip--navy { background: var(--navy-700); color: #fff; }
.chip--success { background: rgba(47, 158, 94, .14); color: var(--c-success); }
.chip--danger { background: rgba(214, 69, 69, .14); color: var(--c-danger); }
a.chip:hover { background: var(--gold-500); color: #231603; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .9rem; color: var(--c-soft); font-size: var(--fs-xs); }
.meta__item { display: inline-flex; align-items: center; gap: .35em; }
.meta__item .icon { opacity: .85; }
.meta a { color: inherit; }
.meta a:hover { color: var(--gold-600); }

.text-muted { color: var(--c-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--s-2); }
.mt-3 { margin-top: var(--s-3); }
.mt-5 { margin-top: var(--s-5); }
.text-danger { color: var(--c-danger); }
.req-star { color: var(--c-danger); font-weight: 700; }
.img-cover { display: block; width: 100%; height: auto; border-radius: var(--r-lg); margin-bottom: var(--s-4); }

/* =========================== 4. HEADER / NAVIGATSIYA ====================== */
.site-header {
	position: relative;
	z-index: 60;
	background: var(--c-bg);
	transition: box-shadow var(--t-base);
}

/* -- Yuqori chiziq -- */
.topbar {
	position: relative;
	background: linear-gradient(90deg, var(--navy-950), var(--navy-800) 55%, var(--navy-900));
	color: var(--c-inverse-muted);
	font-size: var(--fs-xs);
	max-height: 120px;
	overflow: hidden;
	transition: max-height var(--t-base), opacity var(--t-base);
}
.topbar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--gold-line);
	opacity: .35;
	pointer-events: none;
}
.topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-4);
	min-height: 42px;
}
.topbar__text {
	margin: 0;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	letter-spacing: .02em;
}
.topbar__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.topbar .icon-btn { width: 2rem; height: 2rem; color: var(--c-inverse-muted); }
.topbar .icon-btn:hover { color: var(--gold-400); background: rgba(255, 255, 255, .08); }

.socials { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.socials li { margin: 0; }
.socials__link {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: var(--r-sm);
	color: var(--c-inverse-muted);
	transition: color var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}
.socials__link:hover { color: var(--gold-400); background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.socials__link .icon { width: 1.15rem; height: 1.15rem; }

/* -- Logotip bloki -- */
.masthead {
	position: relative;
	background: linear-gradient(180deg, var(--c-bg), var(--c-surface));
	padding-block: clamp(.9rem, 2vw, 1.4rem);
	max-height: 260px;
	overflow: hidden;
	border-bottom: 1px solid var(--c-border);
	transition: max-height var(--t-base), opacity var(--t-base), padding var(--t-base), border-color var(--t-base);
}
.masthead__in {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .85rem; color: inherit; flex: 0 0 auto; min-width: 0; }
.brand:hover { color: inherit; }
.brand__logo {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	padding: 5px;
	border-radius: 50%;
	border: 2px solid transparent;
	background:
		linear-gradient(var(--c-surface), var(--c-surface)) padding-box,
		var(--gold-grad) border-box;
	box-shadow: 0 6px 18px rgba(233, 162, 39, .26);
	transition: transform var(--t-base), box-shadow var(--t-base);
	flex: none;
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); box-shadow: 0 10px 26px rgba(233, 162, 39, .36); }
.brand__logo img { width: 56px; height: 56px; max-width: none; object-fit: contain; border-radius: 50%; display: block; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(.95rem, 1.8vw, 1.15rem);
	line-height: 1.12;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--c-text);
	white-space: nowrap;
}
.brand__name b {
	font-weight: 800;
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--gold-500);
}
.brand__sub {
	margin-top: .25rem;
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--c-muted);
	text-transform: none;
	white-space: nowrap;
}

.contact-cards {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(.65rem, 1.6vw, 1.4rem);
	flex: 1 1 auto;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.contact-cards li { margin: 0; }
.contact-card { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.contact-card__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	color: var(--gold-600);
	transition: background-color var(--t-base), color var(--t-base), transform var(--t-base), border-color var(--t-base);
	flex: none;
}
.contact-card:hover .contact-card__icon {
	background: var(--gold-500);
	border-color: var(--gold-500);
	color: #231603;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(233, 162, 39, .3);
}
.contact-card__body { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.contact-card__label {
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-soft);
	white-space: nowrap;
}
.contact-card__value {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--c-text);
	white-space: nowrap;
	letter-spacing: -.005em;
}
a.contact-card__value:hover { color: var(--gold-600); }
.masthead__cta { flex: 0 0 auto; }

/* -- Avatar -- */
.avatar {
	display: inline-block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--c-surface-2);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	flex: none;
	overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar--sm { width: 32px; height: 32px; }
.avatar--lg { width: 72px; height: 72px; }
.avatar--xl { width: 108px; height: 108px; border: 3px solid var(--gold-500); padding: 2px; background-color: var(--c-bg); }

/* -- Asosiy navigatsiya paneli -- */
.navbar {
	position: relative;
	z-index: 62;
	background: linear-gradient(180deg, var(--navy-600), var(--navy-800));
	color: #fff;
	transition: box-shadow var(--t-base), background var(--t-base);
}
.navbar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--gold-line);
	opacity: .8;
	pointer-events: none;
}
html.is-stuck .navbar {
	background: linear-gradient(180deg, rgba(21, 42, 63, .92), rgba(10, 20, 33, .95));
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 12px 34px rgba(6, 13, 22, .4);
}
.navbar__in {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: var(--header-h);
}
.navbar__tools {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	justify-self: end;
	padding-left: var(--s-3);
	border-left: 1px solid rgba(255, 255, 255, .14);
}
.navbar__tools .icon-btn { color: #fff; }
.navbar__tools .icon-btn:hover { color: var(--gold-400); }

.nav { display: flex; align-items: center; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav__list li { margin: 0; }
.nav__item { position: relative; }
.nav__link {
	display: flex;
	align-items: center;
	gap: .45rem;
	padding: .85rem .75rem;
	color: #fff;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .82rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	border-radius: var(--r-sm);
	transition: color var(--t-fast), background-color var(--t-fast);
	white-space: nowrap;
}
.nav__link::after {
	content: "";
	position: absolute;
	left: .75rem;
	right: .75rem;
	bottom: .45rem;
	height: 2px;
	border-radius: var(--r-pill);
	background: var(--gold-grad);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--t-base);
}
.nav__link:hover::after, .nav__item:hover > .nav__link::after { transform: scaleX(1); }
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__sub .nav__link::after { display: none; }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--gold-400); background: rgba(255, 255, 255, .08); }
.nav__item.is-current > .nav__link { color: var(--gold-400); box-shadow: none; }
.nav__link .icon { width: 1.05rem; height: 1.05rem; opacity: .85; flex: none; }
.nav__caret { display: none; }
.nav__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--r-md);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .06);
	transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav__burger:hover { background: rgba(255, 255, 255, .14); color: var(--gold-400); border-color: rgba(255, 255, 255, .3); }
.nav__drawer-head { display: none; }
.nav__drawer-close { display: none; color: #fff; }
.nav__scrim { display: none; }

/* Pod-menyusi bor itemlarda caret ko'rsatgichi (desktop) */
.has-sub > .nav__link .nav__caret {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: .15rem;
	opacity: .65;
	transition: opacity var(--t-fast), transform var(--t-base);
}
.has-sub:hover > .nav__link .nav__caret,
.has-sub:focus-within > .nav__link .nav__caret { opacity: 1; transform: rotate(180deg); }

/* Mobil pastki daraja uchun caret tugmasi */
.nav__sub-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 2.5rem;
	height: 100%;
	display: none;
	color: inherit;
	opacity: .75;
	transition: opacity var(--t-fast), transform var(--t-fast);
}
.nav__sub-toggle:hover { opacity: 1; }
.nav__sub-toggle .icon { transition: transform var(--t-base); }
.nav__item.is-open > .nav__sub-toggle .icon { transform: rotate(180deg); }

.nav__sub {
	position: absolute;
	top: calc(100% - 4px);
	left: 0;
	z-index: 5;
	min-width: 240px;
	margin: 0;
	padding: .45rem;
	list-style: none;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	box-shadow: var(--sh-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub li { margin: 0; }
.nav__sub .nav__link {
	color: var(--c-text);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 550;
	font-size: var(--fs-sm);
	padding: .55rem .7rem;
	border-radius: var(--r-sm);
}
.nav__sub .nav__link:hover { background: var(--c-surface); color: var(--gold-600); }
.nav__sub .nav__item.is-current > .nav__link { box-shadow: none; color: var(--gold-600); font-weight: 700; }

/* -- Qidiruv paneli -- */
.searchbar {
	grid-column: 1 / -1;
	background: var(--navy-800);
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height var(--t-base), visibility var(--t-base);
}
.searchbar.is-open { max-height: 150px; visibility: visible; border-top: 1px solid rgba(255, 255, 255, .08); }
.search-form { display: flex; align-items: center; gap: .5rem; padding-block: .85rem; }
.search-form input[type="search"], .search-form input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 1rem;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--r-md);
	transition: border-color var(--t-fast), background-color var(--t-fast);
}
.search-form input::placeholder { color: rgba(255, 255, 255, .55); }
.search-form input:focus { outline: none; border-color: var(--gold-500); background: rgba(255, 255, 255, .13); }
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* -- Foydalanuvchi paneli ({login}) -- */
.userpane { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.userpane > li { margin: 0; position: relative; }
.userpane__toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .3rem .65rem .3rem .3rem;
	border-radius: var(--r-pill);
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .06);
	transition: background-color var(--t-fast), border-color var(--t-fast);
}
.userpane__toggle:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.userpane__toggle .icon { width: 1rem; height: 1rem; opacity: .8; }
.userpane__badge {
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 .35rem;
	display: inline-grid;
	place-items: center;
	border-radius: var(--r-pill);
	background: var(--gold-500);
	color: #231603;
	font-size: .6875rem;
	font-weight: 800;
}
.userpane__menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 20;
	width: 290px;
	padding: .85rem;
	background: var(--c-bg);
	color: var(--c-text);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(.98);
	transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.dropdown.open > .userpane__menu,
.userpane > li:focus-within > .userpane__menu { opacity: 1; visibility: visible; transform: none; }
.userpane__head { display: flex; align-items: center; gap: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--c-border); }
.userpane__name { font-weight: 700; font-size: var(--fs-sm); color: var(--c-text); }
.userpane__role { font-size: var(--fs-xs); color: var(--c-muted); }
.userpane__nav { list-style: none; margin: .5rem 0 0; padding: 0; }
.userpane__nav li { margin: 0; }
.userpane__nav a {
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .55rem .6rem;
	border-radius: var(--r-sm);
	color: var(--c-text);
	font-size: var(--fs-sm);
	font-weight: 550;
}
.userpane__nav a:hover { background: var(--c-surface); color: var(--gold-600); }
.userpane__nav .icon { width: 1.05rem; height: 1.05rem; color: var(--c-soft); flex: none; }
.userpane__nav .badge {
	margin-left: auto;
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--c-muted);
	background: var(--c-surface-2);
	border-radius: var(--r-pill);
	padding: .1rem .5rem;
}
.userpane__foot { display: flex; gap: .5rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--c-border); }
.userpane__foot .btn { flex: 1 1 auto; }

/* -- Mehmon uchun login formasi -- */
.loginform { width: 300px; }
.loginform__soc { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.loginform__row { margin-bottom: .6rem; }
.loginform__row label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); margin-bottom: .3rem; }
.loginform__row input {
	width: 100%;
	height: 42px;
	padding: 0 .8rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	color: var(--c-text);
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.loginform__row input:focus { outline: none; border-color: var(--gold-500); box-shadow: var(--ring); }
.loginform__foot { display: flex; justify-content: space-between; gap: .5rem; margin-top: .8rem; font-size: var(--fs-xs); }
.loginform__submit { margin-top: .8rem; }

/* -- Sticky holat: header yig'iladi -- */
html.is-stuck .topbar, html.is-stuck .masthead { max-height: 0; opacity: 0; border-color: transparent; }
html.is-stuck .masthead { padding-block: 0; }
html.is-stuck .site-header { box-shadow: 0 14px 40px rgba(6, 13, 22, .28); }

/* ============================= 5. HERO SLAYDER ============================ */
.hero { position: relative; background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 60%, #0a1220 100%); isolation: isolate; overflow: hidden; }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse at 18% 55%, rgba(233, 162, 39, .1) 0%, transparent 58%),
		radial-gradient(ellipse at 82% 25%, rgba(43, 77, 112, .32) 0%, transparent 55%);
	pointer-events: none;
}
.hero__track {
	position: relative;
	z-index: 2;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	transition: transform .65s cubic-bezier(.4, 0, .2, 1);
}
.hero__track.is-dragging { transition: none; }
@media (prefers-reduced-motion: reduce) { .hero__track { transition: none; } }
.hero__slide { flex: 0 0 100%; position: relative; margin: 0; }
.hero__link { display: block; position: relative; color: #fff; }
.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 1s ease-out;
}
.hero__slide:hover .hero__img { transform: scale(1.09); }
.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 17, 27, .93) 0%, rgba(8, 17, 27, .74) 44%, rgba(8, 17, 27, .18) 100%),
		linear-gradient(0deg, rgba(8, 17, 27, .72) 0%, transparent 58%);
}
.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: .9rem;
	min-height: clamp(460px, 74vh, 760px);
	width: min(var(--container), 100% - (var(--gutter) * 2));
	margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-300);
	background: rgba(233, 162, 39, .14);
	border: 1px solid rgba(233, 162, 39, .42);
	border-radius: var(--r-pill);
	padding: .38em 1em;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.hero__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.9rem, 4.8vw, 3.8rem);
	line-height: var(--lh-display);
	letter-spacing: var(--tracking-tight);
	max-width: 20ch;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
	transition: color var(--t-base);
	color: white;
}
.hero__link:hover .hero__title { color: var(--gold-300); }
.hero__text {
	margin: 0;
	font-size: clamp(.95rem, 1.35vw, 1.15rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, .86);
	max-width: 60ch;
}
.hero__text p { margin: 0 0 .5em; }
.hero__text p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; }
.hero__more {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	margin-top: .6rem;
	padding: .72em 1.5em;
	border-radius: var(--r-pill);
	background: var(--gold-grad);
	color: #231603;
	font-weight: 700;
	font-size: var(--fs-sm);
	box-shadow: var(--sh-gold);
	transition: gap var(--t-fast), filter var(--t-base), transform var(--t-fast);
}
.hero__link:hover .hero__more { gap: .8em; filter: brightness(1.06); transform: translateY(-1px); }

.hero__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.1rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	pointer-events: none;
}
.hero__arrow {
	pointer-events: auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .26);
	backdrop-filter: blur(6px);
	transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.hero__arrow:hover { background: var(--gold-500); border-color: var(--gold-500); color: #231603; transform: scale(1.06); }
.hero__dots { pointer-events: auto; display: flex; align-items: center; gap: .4rem; }
.hero__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, .5);
	transition: width var(--t-base), background-color var(--t-base);
}
.hero__dot:hover { background: #fff; }
.hero__dot.is-active { width: 28px; background: var(--gold-500); }

/* ============================== YORDAMCHI UTILITIES ======================== */
.w-100 { width: 100% !important; }
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ============================== 6. KARTOCHKALAR =========================== */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--sh-1);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--sh-2), 0 0 0 1px rgba(233, 162, 39, .4);
	border-color: transparent;
}
.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 3;
	background: var(--gold-grad);
	border-radius: var(--r-pill);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--t-base);
}
.card:hover::before { transform: scaleX(1); }
.card__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--c-surface-2);
	flex: none;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(11, 22, 34, .4));
	opacity: 0;
	transition: opacity var(--t-base);
}
.card:hover .card__media::after { opacity: 1; }
.card__badge { position: absolute; top: .75rem; left: .75rem; z-index: 2; }
.card__date {
	position: absolute;
	bottom: .75rem;
	left: .75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .32em .75em;
	border-radius: var(--r-pill);
	background: rgba(6, 13, 22, .74);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.4;
}
.card__body {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	padding: 1.05rem 1.15rem 1.2rem;
	flex: 1 1 auto;
	min-width: 0;
}
.card__title {
	margin: 0;
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card__title a { color: var(--c-text); }
.card__title a:hover { color: var(--gold-600); }
.card__text {
	margin: 0;
	color: var(--c-muted);
	font-size: var(--fs-sm);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card__text p { margin: 0; }
.card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: auto;
	padding-top: .8rem;
	border-top: 1px dashed var(--c-border);
}
.card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; font-size: var(--fs-sm); }
.card__more:hover { gap: .65em; }
.card--compact .card__body { padding: .9rem 1rem 1rem; }
.card--compact .card__title { font-size: var(--fs-base); -webkit-line-clamp: 2; line-clamp: 2; }

/* Shortstory metadata (sana, ko'rishlar, izohlar) */
.card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .75rem;
	font-size: var(--fs-xs);
	color: var(--c-soft);
}
.card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: .35em;
}
.card__meta-item .icon {
	color: var(--gold-500);
	flex: none;
	opacity: .9;
}
.card__more .icon { transition: transform var(--t-base); }
.card:hover .card__more .icon { transform: translateX(3px); }

/* Badge (shortstory kategoriya chipi) */
.badge {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .35rem .75rem;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-radius: var(--r-pill);
	background: var(--c-bg);
	color: var(--c-text);
	border: 1px solid var(--c-border);
	text-decoration: none;
	transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.badge:hover { background: var(--c-surface); border-color: var(--gold-500); color: var(--gold-600); }
.badge--gold {
	background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
	color: #231603;
	border-color: transparent;
	box-shadow: 0 6px 16px rgba(233, 162, 39, .32);
}
.badge--gold:hover {
	color: #231603;
	background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
	transform: translateY(-1px);
}

/* Plitka (rasm ustida sarlavha) */
.tile {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--navy-800);
	isolation: isolate;
	box-shadow: var(--sh-1);
	color: #fff;
	transition: transform var(--t-base), box-shadow var(--t-base);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-2), 0 0 0 1px rgba(233, 162, 39, .4); color: #fff; }
.tile::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 3;
	background: var(--gold-grad);
	border-radius: var(--r-pill);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--t-base);
}
.tile:hover::before { transform: scaleX(1); }
.tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.tile:hover .tile__media img { transform: scale(1.07); }
.tile__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 2.5rem 1rem 1rem;
	background: linear-gradient(0deg, rgba(8, 17, 27, .95) 0%, rgba(8, 17, 27, .6) 52%, transparent 100%);
}
.tile__title {
	margin: 0;
	font-size: var(--fs-base);
	font-weight: 700;
	line-height: 1.32;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color var(--t-fast);
}
.tile:hover .tile__title { color: var(--gold-400); }
.tile__text {
	margin: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	font-size: var(--fs-sm);
	line-height: 1.55;
	color: rgba(255, 255, 255, .86);
	transition: max-height var(--t-base), opacity var(--t-base), margin-top var(--t-base);
}
.tile:hover .tile__text, .tile:focus-within .tile__text { max-height: 9em; opacity: 1; margin-top: .5rem; }
.tile__chip { position: absolute; top: .75rem; left: .75rem; z-index: 2; }

/* Kichik kartochka (yon ustun) */
.mini-card { display: flex; gap: .85rem; padding: .7rem; border-radius: var(--r-md); transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.mini-card + .mini-card { margin-top: .25rem; }
.mini-card:hover { background: var(--c-surface); box-shadow: inset 2px 0 0 var(--gold-500); }
.mini-card__media { flex: none; width: 78px; height: 78px; border-radius: var(--r-md); overflow: hidden; background: var(--c-surface-2); }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base); }
.mini-card:hover .mini-card__media img { transform: scale(1.08); }
.mini-card__body { min-width: 0; display: flex; flex-direction: column; gap: .3rem; justify-content: center; }
.mini-card__title {
	margin: 0;
	font-size: var(--fs-sm);
	font-weight: 650;
	line-height: 1.42;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mini-card__title a { color: var(--c-text); }
.mini-card:hover .mini-card__title a { color: var(--gold-600); }
.mini-card__meta { font-size: var(--fs-xs); color: var(--c-soft); display: flex; flex-wrap: wrap; gap: .2rem .55rem; }
.mini-card__text {
	margin: 0;
	font-size: var(--fs-xs);
	line-height: 1.5;
	color: var(--c-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* "Natijalar" kartochkasi */
.feature {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .55rem;
	margin-top: 42px;
	padding: calc(var(--s-6) + 30px) var(--s-5) var(--s-5);
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold-500); }
.feature__avatar {
	position: absolute;
	top: -42px;
	left: 50%;
	transform: translateX(-50%);
	width: 84px;
	height: 84px;
	padding: 3px;
	border-radius: 50%;
	background: var(--c-bg);
	border: 2px solid var(--gold-500);
	overflow: hidden;
	transition: transform var(--t-base);
}
.feature:hover .feature__avatar { transform: translateX(-50%) scale(1.07); }
.feature__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.feature__title { margin: 0; font-size: var(--fs-md); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.feature__text {
	margin: 0;
	font-size: var(--fs-sm);
	line-height: 1.68;
	color: var(--c-muted);
	display: -webkit-box;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.feature__link { font-weight: 650; font-size: var(--fs-sm); }

/* ================================ 7. CTA BAND ============================= */
.cta-band {
	position: relative;
	isolation: isolate;
	background-color: var(--navy-800);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding-block: clamp(2.5rem, 7vw, 5rem);
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(120deg, rgba(11, 22, 34, .94) 0%, rgba(22, 40, 58, .82) 48%, rgba(233, 162, 39, .3) 130%);
}
.cta-band__in { max-width: 780px; }
.cta-band__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	margin: 0 0 .75rem;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold-400);
}
.cta-band__title { margin: 0 0 .85rem; color: #fff; font-size: clamp(1.35rem, 3vw, 2.1rem); }
.cta-band__text { margin: 0 0 1.4rem; color: rgba(255, 255, 255, .87); font-size: var(--fs-md); line-height: 1.72; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ====================== 8. SAHIFA LAYOUTI VA SIDEBAR ====================== */
.page-hero {
	background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
	color: #fff;
	padding-block: clamp(1.4rem, 3.4vw, 2.4rem);
	border-bottom: 3px solid var(--gold-500);
	margin-bottom: 20px;
}
.page-hero__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; }
.page-hero__brand {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-400);
}
.page-hero__title { margin: .3rem 0 0; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); }
.page-hero__title:empty { display: none; }

.crumbs { font-size: var(--fs-xs); color: var(--c-inverse-muted); }
.crumbs a { color: var(--c-inverse-muted); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs span, .crumbs .speedbar_sep { color: rgba(255, 255, 255, .45); }
.crumbs--light { color: var(--c-muted); }
.crumbs--light a { color: var(--c-muted); }
.crumbs--light a:hover { color: var(--gold-600); }

.page__content { min-width: 0; }

.layout-2col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}
.layout-2col--reverse { grid-template-columns: 330px minmax(0, 1fr); }
.layout-2col__main { min-width: 0; }
.layout-2col__side { min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.layout-2col > .article { margin-bottom: 0; }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 16px); }

/* Widget (yon ustun bloki) */
.widget {
	position: relative;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	overflow: hidden;
}
.widget::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 1;
	background: var(--gold-grad);
	opacity: .9;
	pointer-events: none;
}
.widget__title {
	margin: 0;
	padding: 1rem 1.1rem .9rem;
	font-family: var(--font-display);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--c-text);
	background: linear-gradient(180deg, var(--c-surface), var(--c-bg));
	border-bottom: 1px solid var(--c-border);
	display: flex;
	align-items: center;
	gap: .5rem;
}
.widget__title .icon { color: var(--gold-500); }
.widget__body { padding: 1rem 1.1rem; }
.widget__list { padding: .5rem; margin: 0; list-style: none; }
.widget__list > li { margin: 0; }
.widget__nav { list-style: none; margin: 0; padding: .45rem; }
.widget__nav li { margin: 0; }
.widget__nav a {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .6rem .65rem;
	border-radius: var(--r-sm);
	color: var(--c-text);
	font-size: var(--fs-sm);
	font-weight: 550;
	transition: background-color var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.widget__nav a:hover { background: var(--c-surface); color: var(--gold-600); padding-left: .9rem; }
.widget__nav .icon { width: 1.05rem; height: 1.05rem; color: var(--gold-500); flex: none; }
.widget--dark { background: var(--navy-800); border-color: transparent; color: var(--c-inverse); }
.widget--dark .widget__title { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .1); }
.widget--dark .widget__nav a { color: var(--c-inverse-muted); }
.widget--dark .widget__nav a:hover { background: rgba(255, 255, 255, .08); color: var(--gold-400); }
.widget__cta { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem; text-align: center; background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); color: #fff; }
.widget__cta p { margin: 0; font-size: var(--fs-sm); color: var(--c-inverse-muted); }

/* ============================ 9. MAQOLA (FULLSTORY) ======================= */
.panel {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	overflow: hidden;
	margin-bottom: var(--gap);
}
.panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.35rem;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-border);
}
.panel__title { margin: 0; font-size: var(--fs-xl); }
.panel__body { padding: 1.35rem; }
.panel__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	padding: 1rem 1.35rem;
	background: var(--c-surface);
	border-top: 1px solid var(--c-border);
}
.panel--navy .panel__head {
	background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
	border-color: transparent;
	color: #fff;
}
.panel--navy .panel__title { color: #fff; }
.panel--navy .panel__head .btn--outline { border-color: rgba(255, 255, 255, .3); color: #fff; }
.panel--navy .panel__head .btn--outline:hover { background: var(--gold-500); border-color: var(--gold-500); color: #231603; }

/* Kontent grid: kartochkalar avtomatik qatorga teriladi, qolganlari butun eniga */
.page__content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: var(--gap);
}
.page__content > *:not(.card) { grid-column: 1 / -1; min-width: 0; }

/* DLE ro'yxat sahifalari (#dle-content) — kartochkalar responsiv grid.
   Ro'yxat elementlari (.card/.mini-card) qatorlarga teriladi, qolgan
   bloklar (maqola, panel, pager va h.k.) butun eniga cho'ziladi. */
#dle-content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: var(--gap);
	align-items: start;
}
#dle-content > :not(.card):not(.mini-card) { grid-column: 1 / -1; min-width: 0; }
#dle-content > .mini-card { display: flex; }

.article {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	overflow: hidden;
	margin-bottom: var(--gap);
}
.article__head { padding: clamp(1.2rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2.2rem) 0; }
.article__head .meta { margin-top: .7rem; }
.article__title { margin: .65rem 0 0; font-size: clamp(1.5rem, 3.4vw, 2.35rem); line-height: 1.18; letter-spacing: var(--tracking-tight); max-width: 34ch; }
.article__subtitle { margin: var(--s-5) 0 var(--s-3); font-size: var(--fs-xl); }
.article__cover {
	margin: clamp(1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 2.2rem) 0;
	overflow: hidden;
	background: var(--c-surface-2);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
}
.article__cover img { width: 100%; display: block; object-fit: cover; max-height: clamp(280px, 54vh, 540px); transition: transform var(--t-slow); }
.article__cover:hover img { transform: scale(1.02); }
.article__body { padding: clamp(1.2rem, 3vw, 2.2rem); }
.article__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem clamp(1.1rem, 3vw, 2rem);
	background: var(--c-surface);
	border-top: 1px solid var(--c-border);
}
.article__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.article__related { padding: clamp(1.1rem, 3vw, 2rem); border-top: 1px solid var(--c-border); }
.related-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.related-list li { margin: 0; }
.related-list a { display: flex; align-items: baseline; gap: .55rem; padding: .5rem .6rem; border-radius: var(--r-sm); color: var(--c-text); font-size: var(--fs-sm); }
.related-list a:hover { background: var(--c-surface); color: var(--gold-600); }
.related-list .icon { color: var(--gold-500); flex: none; align-self: center; }
.related-list span { margin-left: auto; font-size: var(--fs-xs); color: var(--c-soft); white-space: nowrap; }

/* Ulashish */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.share__label {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-soft);
	margin-right: .3rem;
}
.share__btn {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1px solid var(--c-border);
	background: var(--c-bg);
	color: var(--c-muted);
	transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.share__btn:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.share__btn[data-share-target="telegram"]:hover { background: #2aabee; }
.share__btn[data-share-target="facebook"]:hover { background: #1877f2; }
.share__btn[data-share-target="twitter"]:hover { background: #14171a; }
.share__btn[data-share-target="whatsapp"]:hover { background: #25d366; }
.share__btn[data-share-target="native"]:hover { background: var(--navy-600); }
.share__btn[data-share-target="copy"]:hover { background: var(--gold-500); color: #231603; }
.share__btn.is-copied { background: var(--c-success); border-color: transparent; color: #fff; }

/* Teglar */
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.tags__label { display: inline-flex; align-items: center; gap: .35em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-soft); text-transform: uppercase; letter-spacing: .06em; }

/* ================================ 10. IZOHLAR ============================= */
.comments { grid-column: 1 / -1; margin-top: var(--s-5); }
.comments__head { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: var(--s-4); }
.comments__title { margin: 0; font-size: var(--fs-xl); }
.comments__list { display: block; }
.comment__source {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-bottom: .5rem;
	font-size: var(--fs-xs);
	color: var(--c-soft);
}
.comment__source a { color: var(--c-muted); }
.comment__source a:hover { color: var(--gold-600); }

.comment {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: .9rem;
	padding: 1rem 0;
	border-top: 1px solid var(--c-border);
}
.comment:first-child { border-top: 0; padding-top: 0; }
.comment__avatar { width: 52px; height: 52px; }
.comment__main {
	min-width: 0;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	padding: .85rem 1rem 1rem;
	transition: border-color var(--t-base), box-shadow var(--t-base);
}
.comment:hover .comment__main { border-color: var(--c-border-strong); box-shadow: var(--sh-1); }
.comment--online .comment__main { border-left: 3px solid var(--c-success); }
.comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-bottom: .5rem; }
.comment__author { font-weight: 700; font-size: var(--fs-sm); color: var(--c-text); }
.comment__author a { color: inherit; }
.comment__author a:hover { color: var(--gold-600); }
.comment__group {
	font-size: .6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--c-muted);
	background: var(--c-surface-2);
	border-radius: var(--r-pill);
	padding: .12rem .55rem;
}
.comment__status { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--fs-xs); color: var(--c-soft); }
.comment__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-border-strong); }
.comment__status--on { color: var(--c-success); }
.comment__status--on::before { background: var(--c-success); box-shadow: 0 0 0 3px rgba(47, 158, 94, .18); }
.comment__date { margin-left: auto; font-size: var(--fs-xs); color: var(--c-soft); }
.comment__body { font-size: var(--fs-sm); line-height: 1.68; color: var(--c-text); overflow-wrap: anywhere; }
.comment__body p:last-child { margin-bottom: 0; }
.comment__sign {
	margin-top: .65rem;
	padding-top: .5rem;
	border-top: 1px dashed var(--c-border);
	font-size: var(--fs-xs);
	font-style: italic;
	color: var(--c-soft);
}
.comment__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-top: .7rem; list-style: none; padding: 0; }
.comment__tools li { margin: 0; }
.comment__tools a, .comment__tools span {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	padding: .3rem .6rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--c-muted);
	cursor: pointer;
	transition: background-color var(--t-fast), color var(--t-fast);
}
.comment__tools a:hover, .comment__tools span:hover { background: var(--c-surface); color: var(--gold-600); }
.comment__tools .icon { width: .95rem; height: .95rem; }
.comment__tools li.comment__tools-danger a:hover { color: var(--c-danger); background: rgba(214, 69, 69, .1); }

.comment__rate { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .25rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-pill); }
.comment__rate a, .comment__rate span { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; color: var(--c-muted); font-size: var(--fs-xs); }
.comment__rate a:hover { background: var(--c-bg); }
.comment__rate .ratingplus { color: var(--c-success); font-weight: 700; }
.comment__rate .ratingminus { color: var(--c-danger); font-weight: 700; }
.comment__rate .ratingzero { color: var(--c-soft); font-weight: 700; }

/* Daraxtli (nested) izohlar вЂ” DLE konteyneri */
.comments-tree-list { margin-left: 0; }
.comments-tree-list .comments-tree-list { margin-left: clamp(14px, 3vw, 42px); padding-left: clamp(8px, 1.6vw, 18px); border-left: 2px solid var(--c-border); }

/* Izoh qo'shish formasi */
.addcomment {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: clamp(1rem, 3vw, 1.6rem);
	margin-bottom: var(--s-5);
	box-shadow: var(--sh-1);
}
.addcomment__title { margin: 0 0 1rem; font-size: var(--fs-lg); }

/* ================================ 11. FORMALAR ============================ */
.ui-form { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ui-form > li { margin: 0; }
.form-group { display: grid; gap: .4rem; margin: 0; }
.form-group > label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }
.form-group > label a { color: var(--c-link); font-weight: 600; }
.form-group label.imp::after { content: " *"; color: var(--c-danger); }
.form-sep { height: 1px; padding: 0; background: var(--c-border); }

.wide,
.ui-form input[type="text"],
.ui-form input[type="email"],
.ui-form input[type="password"],
.ui-form input[type="url"],
.ui-form input[type="tel"],
.ui-form input[type="number"],
.ui-form input[type="search"],
.ui-form select,
.ui-form textarea,
.field {
	width: 100%;
	min-height: 46px;
	padding: .7rem .9rem;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	color: var(--c-text);
	font-size: var(--fs-sm);
	line-height: 1.5;
	transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.wide:hover, .ui-form input:hover, .ui-form select:hover, .ui-form textarea:hover, .field:hover { border-color: var(--c-border-strong); }
.wide:focus, .ui-form input:focus, .ui-form select:focus, .ui-form textarea:focus, .field:focus {
	outline: none;
	border-color: var(--gold-500);
	box-shadow: var(--ring);
}
.ui-form textarea { min-height: 140px; resize: vertical; line-height: 1.65; }
.ui-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.2rem;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c8b9d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .8rem center;
}
.ui-form input[type="file"] { padding: .55rem; background: var(--c-surface); min-height: 0; }
.ui-form input[type="checkbox"], .ui-form input[type="radio"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--gold-500); flex: none; }
::placeholder { color: var(--c-soft); opacity: 1; }

.checkbox { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); color: var(--c-muted); }
.form-group.combo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; }
.combo_field { min-width: 0; display: grid; gap: .4rem; }
.form_submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--c-border);
}
.form-note { margin: 1rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.form-note .req { color: var(--c-danger); }
.login_check { display: flex; gap: .5rem; }
.login_check input { flex: 1 1 auto; min-width: 0; }
.login_check .btn { flex: none; }
#result-registration { font-size: var(--fs-xs); margin-top: .3rem; }

.c-captcha { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.c-captcha img { border-radius: var(--r-sm); border: 1px solid var(--c-border); background: #fff; }
.c-captcha input { max-width: 220px; }
.g-recaptcha { margin: .5rem 0; }
.recaptcha { display: flex; justify-content: flex-start; }

/* Qo'shimcha maydonlar ({xfields}) */
.xfields { width: 100%; border: 0; }
.xfields tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: .35rem 0; }
.xfields td { display: block; border: 0; padding: 0; font-size: var(--fs-sm); }
.xfields td.label, .xfields td:first-child { font-weight: 600; }
.xfields input[type="text"], .xfields textarea, .xfields select { width: 100%; }
.xprofile textarea { width: 100%; min-height: 90px; }
.xprofile input { width: 100%; }

/* ==================== 12. PAGINATSIYA, XATO, QIDIRUV, TEG ================= */
.pager {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	margin: var(--s-6) 0 0;
	padding-top: var(--s-5);
	border-top: 1px solid var(--c-border);
}
.pager__arrows { display: flex; gap: .4rem; }
.pager__arrow:empty { display: none; }
.pager__arrow span { opacity: .45; cursor: default; }
.pager__arrow a, .pager__arrow span {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .55rem .9rem;
	border-radius: var(--r-md);
	border: 1px solid var(--c-border);
	background: var(--c-bg);
	color: var(--c-muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}
.pager__arrow a:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--gold-100); }
[data-theme="dark"] .pager__arrow a:hover { background: rgba(233, 162, 39, .12); color: var(--gold-400); }
.pages { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.pages a, .pages span {
	display: inline-grid;
	place-items: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 .55rem;
	border-radius: var(--r-md);
	border: 1px solid var(--c-border);
	background: var(--c-bg);
	color: var(--c-muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pages a:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--gold-100); transform: translateY(-1px); }
[data-theme="dark"] .pages a:hover { background: rgba(233, 162, 39, .12); color: var(--gold-400); }
.pages span, .pages .nav_current { background: var(--navy-700); border-color: var(--navy-700); color: #fff; box-shadow: var(--sh-1); }
.splitnewsnavigation { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: var(--s-4) 0; font-size: var(--fs-xs); color: var(--c-soft); }
.splitnewsnavigation .pages a, .splitnewsnavigation .pages span { min-width: 2rem; height: 2rem; font-size: var(--fs-xs); }
.navigation { font-size: var(--fs-sm); color: var(--c-muted); }

/* Xabar / xato bloki ({info}) */
.berrors {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	padding: 1rem 1.15rem;
	margin-bottom: var(--gap);
	border-radius: var(--r-md);
	background: rgba(214, 69, 69, .08);
	border: 1px solid rgba(214, 69, 69, .28);
	border-left: 4px solid var(--c-danger);
	color: var(--c-text);
	font-size: var(--fs-sm);
}
.berrors__icon { flex: none; color: var(--c-danger); margin-top: .1rem; }
.berrors b { color: var(--c-danger); }
.berrors--info { background: rgba(47, 127, 209, .08); border-color: rgba(47, 127, 209, .28); border-left-color: var(--c-info); }
.berrors--info b, .berrors--info .berrors__icon { color: var(--c-info); }

/* Qidiruv natijalari */
.searchtable { font-size: var(--fs-sm); overflow-x: auto; }
.searchtable table { width: 100%; min-width: 560px; }
.searchtable th, .searchtable td { padding: .6rem .7rem; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.searchtable th { background: var(--c-surface); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.searchtable tr:hover td { background: var(--c-surface); }
.search_result_num { margin: .75rem 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
.search-advanced { display: grid; gap: 1rem; }

/* Teglar buluti */
.tag_list { display: flex; flex-wrap: wrap; gap: .4rem; line-height: 1.4; }
.tag_list a {
	display: inline-block;
	padding: .35rem .8rem;
	border-radius: var(--r-pill);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	color: var(--c-muted);
	font-size: var(--fs-sm);
	transition: transform var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.tag_list a:hover { transform: translateY(-2px); background: var(--gold-500); border-color: var(--gold-500); color: #231603; font-weight: 600; }

/* So'rovnoma / ovoz berish */
.block_grey {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	padding: 1.15rem;
	box-shadow: var(--sh-1);
	margin-bottom: var(--gap);
}
.block_grey .title { margin: 0 0 .85rem; font-size: var(--fs-lg); }
.vote_more { margin-bottom: .85rem; font-size: var(--fs-xs); }
.vote_list { display: grid; gap: .55rem; margin-bottom: 1rem; }
.vote_list label { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); padding: .55rem .7rem; border-radius: var(--r-sm); border: 1px solid var(--c-border); cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast); }
.vote_list label:hover { background: var(--c-surface); border-color: var(--gold-500); }
.vote_votes { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: .75rem; }
.block_grey .btn + .btn { margin-left: .4rem; }

/* =================== 13. SHAXSIY KABINET: PM, PROFIL, STAT ================= */
.pm-menu { display: flex; flex-wrap: wrap; gap: .4rem; }
.pm-menu span, .pm-menu a {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .55rem 1rem;
	border-radius: var(--r-pill);
	border: 1px solid var(--c-border);
	background: var(--c-bg);
	color: var(--c-muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pm-menu span:hover, .pm-menu a:hover { border-color: var(--gold-500); color: var(--gold-600); }
.pm-menu .is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.pm-status { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; font-size: var(--fs-xs); color: var(--c-muted); }
.pm-subject { margin: 0 0 .5rem; font-size: var(--fs-lg); font-weight: 700; }
.pm-status__bar { flex: 1 1 auto; height: 8px; border-radius: var(--r-pill); background: var(--c-surface-2); overflow: hidden; }
.pm-status__bar > div, .pm-status__bar > span {
	display: block;
	height: 100%;
	border-radius: var(--r-pill);
	background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
}
.pm-status__bar div div, .pm-status__bar div span { display: block; height: 100%; background: inherit; }
.pmlist { font-size: var(--fs-sm); overflow-x: auto; }
.pmlist table { width: 100%; min-width: 560px; }
.pmlist th, .pmlist td { padding: .65rem .6rem; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: middle; }
.pmlist th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); background: var(--c-surface); }
.pmlist tr:hover td { background: var(--c-surface); }
.pmlist img { border-radius: 50%; }

.comment-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: .9rem; }
.comment-card__info { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: var(--fs-xs); color: var(--c-soft); }
.comment-card__name { font-weight: 700; font-size: var(--fs-sm); color: var(--c-text); }
.status { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--fs-xs); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-border-strong); }
.status.online { color: var(--c-success); }
.status.online::before { background: var(--c-success); }
.status.offline { color: var(--c-soft); }
.com_tools { margin-top: .7rem; }
.com_tools_links { display: flex; flex-wrap: wrap; gap: .3rem; }
.com_tools_links a, .com_tools_links span {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .3rem .65rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--c-muted);
	cursor: pointer;
}
.com_tools_links a:hover, .com_tools_links span:hover { background: var(--c-surface); color: var(--gold-600); }

/* Profil */
.profile {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: var(--gap);
	align-items: start;
	margin-bottom: var(--gap);
}
.profile__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
	padding: 1.5rem 1.25rem;
	text-align: center;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}
.profile__name { margin: 0; font-size: var(--fs-lg); }
.profile__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.profile__details {
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	overflow: hidden;
}
.profile__row {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem .75rem;
	justify-content: space-between;
	padding: .8rem 1.1rem;
	border-bottom: 1px solid var(--c-border);
	font-size: var(--fs-sm);
}
.profile__row:last-child { border-bottom: 0; }
.profile__row:nth-child(odd) { background: var(--c-surface); }
.profile__row b {
	color: var(--c-muted);
	font-weight: 600;
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: .05em;
}
.profile__row span, .profile__row div, .profile__row p { min-width: 0; }
.profile__section-title { margin: var(--s-6) 0 var(--s-4); font-size: var(--fs-xl); }

/* Foydalanuvchi pop-up oynasi */
.user-popup { display: flex; gap: 1rem; align-items: flex-start; }
.user-popup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: var(--fs-sm); }
.user-popup li b { color: var(--c-text); }

/* Statistika */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.stat-card {
	padding: 1.1rem 1.2rem;
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-left: 4px solid var(--gold-500);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2), 0 0 0 1px rgba(233, 162, 39, .28); }
.stat-card__title { margin: 0 0 .35rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--c-soft); }
.stat-card__value {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-2xl);
	font-weight: 800;
	line-height: 1.1;
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--gold-600);
}
.stat-card__note { margin: .35rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.stat-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--gap); }
.stat-group ul { list-style: none; margin: 0; padding: 0; }
.stat-group li {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	margin: 0;
	padding: .5rem 0;
	border-bottom: 1px dashed var(--c-border);
	font-size: var(--fs-sm);
	color: var(--c-muted);
}
.stat-group li:last-child { border-bottom: 0; }
.stat-group li b { color: var(--c-text); font-weight: 700; }
.userstop { width: 100%; font-size: var(--fs-sm); }
.userstop th, .userstop td { padding: .55rem .6rem; border-bottom: 1px solid var(--c-border); text-align: left; }
.userstop th { background: var(--c-surface); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.table_top_users { overflow-x: auto; }

/* Fayl biriktirmalari */
.attachment {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .45rem .8rem;
	margin: .25rem .25rem .25rem 0;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	font-size: var(--fs-sm);
}
.attachment a { font-weight: 600; }
.attachment .icon { color: var(--gold-500); }

/* ============ 14. TABLAR, AKKORDEON, PROGRESS, FOOTER, MAYDA ============= */
/* Tablar (ARIA) */
.tabs { margin-bottom: var(--gap); }
.tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	list-style: none;
	margin: 0 0 var(--gap);
	padding: .35rem;
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--r-md);
	overflow-x: auto;
	scrollbar-width: thin;
}
.tabs__list li { margin: 0; }
.tabs__btn {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .6rem 1rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--c-muted);
	white-space: nowrap;
	transition: background-color var(--t-fast), color var(--t-fast);
}
.tabs__btn:hover { color: var(--gold-600); background: var(--c-bg); }
.tabs__btn.is-active, .tabs__btn[aria-selected="true"] { background: var(--navy-700); color: #fff; box-shadow: var(--sh-1); }
.tabs__panel { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(1rem, 3vw, 1.6rem); }

/* Akkordeon (native <details>) */
.acc { border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg); margin-bottom: var(--gap); }
.acc__item { border-bottom: 1px solid var(--c-border); }
.acc__item:last-child { border-bottom: 0; }
.acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--fs-md);
	color: var(--c-text);
	transition: background-color var(--t-fast), color var(--t-fast);
}
.acc__head::-webkit-details-marker { display: none; }
.acc__head::after {
	content: "";
	width: .6rem;
	height: .6rem;
	flex: none;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
	transition: transform var(--t-base);
}
.acc__item[open] .acc__head::after { transform: rotate(-135deg); }
.acc__head:hover { background: var(--c-surface); color: var(--gold-600); }
.acc__body { padding: 0 1.25rem 1.25rem; color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.7; }

/* Progress */
.progress-row { margin-bottom: 1rem; }
.progress-row__head { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); margin-bottom: .4rem; }
.progress-row__label { color: var(--c-muted); font-weight: 600; }
.progress { height: 8px; border-radius: var(--r-pill); background: var(--c-surface-2); overflow: hidden; }
.progress__fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: var(--r-pill);
	background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
	transition: width 1.1s cubic-bezier(.4, 0, .2, 1);
}
.progress__label { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--c-text); font-size: var(--fs-xs); }

/* Xarita va kontakt bloki */
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-surface-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-frame #map { width: 100%; height: 100%; }
.contact-list { display: grid; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; }
.contact-list__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: var(--r-md);
	background: var(--gold-100);
	color: var(--gold-600);
}
[data-theme="dark"] .contact-list__icon { background: rgba(233, 162, 39, .15); color: var(--gold-400); }
.contact-list__label { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .07em; color: var(--c-soft); font-weight: 700; }
.contact-list__value { display: block; font-size: var(--fs-md); font-weight: 600; color: var(--c-text); }
a.contact-list__value:hover { color: var(--gold-600); }

/* Yuqoriga tugmasi (zamonaviy) — pastdagi 18-bo'limda to'liq ko'rinishi bor */
.toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 300;
	transform: translate(-50%, 20px);
	padding: .7rem 1.15rem;
	border-radius: var(--r-pill);
	background: var(--navy-800);
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 600;
	box-shadow: var(--sh-3);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
	pointer-events: none;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ================================ FOOTER ================================== */
.site-footer {
	position: relative;
	margin-top: clamp(2rem, 6vw, 4rem);
	background:
		radial-gradient(ellipse at 85% 0%, rgba(233, 162, 39, .06) 0%, transparent 45%),
		linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
	color: var(--c-inverse-muted);
	font-size: var(--fs-sm);
}
.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--gold-line);
	opacity: .9;
}
.site-footer a { color: var(--c-inverse-muted); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .btn, .site-footer .btn:hover { color: #231603; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	padding-block: clamp(2rem, 5vw, 3.25rem);
}
.site-footer__col { min-width: 0; }
.site-footer__col .btn { margin-top: .4rem; }
.site-footer__title {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	position: relative;
	padding-bottom: .6rem;
}
.site-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 2px;
	border-radius: var(--r-pill);
	background: var(--gold-500);
}
.site-footer__about { display: flex; flex-direction: column; gap: .9rem; }
.site-footer__brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.site-footer__brand .brand__logo {
	width: 60px;
	height: 60px;
	background:
		linear-gradient(var(--navy-800), var(--navy-800)) padding-box,
		var(--gold-grad) border-box;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .34), 0 0 0 4px rgba(233, 162, 39, .1);
}
.site-footer__brand .brand__logo img { width: 46px; height: 46px; }
.site-footer__brand .brand__name { color: #fff; }
.site-footer__text { margin: 0; line-height: 1.7; color: var(--c-inverse-muted); font-size: var(--fs-sm); }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; list-style: none; padding: 0; }
.site-footer__socials li { margin: 0; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-footer__nav li { margin: 0; }
.site-footer__nav a {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .38rem 0;
	font-size: var(--fs-sm);
	transition: color var(--t-fast), transform var(--t-fast);
}
.site-footer__nav a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold-500);
	opacity: .55;
	flex: none;
	transition: opacity var(--t-fast), transform var(--t-fast);
}
.site-footer__nav a:hover { color: var(--gold-400); transform: translateX(3px); }
.site-footer__nav a:hover::before { opacity: 1; }
.site-footer__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.site-footer__contacts li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; }
.site-footer__contacts .icon { color: var(--gold-500); flex: none; margin-top: .15rem; }
.site-footer__socials { display: flex; gap: .4rem; margin-top: 1rem; }
.site-footer__socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, .07);
	color: var(--c-inverse-muted);
	transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.site-footer__socials a:hover { background: var(--gold-500); color: #231603; transform: translateY(-2px); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .09);
	padding-block: 1.1rem;
	font-size: var(--fs-xs);
	color: var(--c-inverse-muted);
}
.site-footer__bottom p { margin: 0; }
.site-footer__dev a { color: var(--gold-400); font-weight: 600; }
.site-footer__dev a:hover { color: var(--gold-300); }

/* ============================== 15. ANIMATSIYA ============================ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
	.hero__img { transition: none; }
}

/* ============================ 16. MEDIA QUERIES =========================== */
@media (max-width: 1100px) {
	.layout-2col, .layout-2col--reverse { grid-template-columns: minmax(0, 1fr); }
	.sidebar-sticky { position: static; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.profile { grid-template-columns: minmax(0, 1fr); }
	.contact-cards { flex-wrap: wrap; justify-content: flex-end; }
	.contact-card { flex: 0 0 auto; }
	.masthead__cta { margin-left: auto; }
}

@media (max-width: 900px) {
	:root { --header-h: 60px; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-band { background-attachment: scroll; }

	/* Mobil menyu (off-canvas drawer) */
	.navbar__in { grid-template-columns: auto 1fr auto; }
	.nav { min-width: 0; }
	.nav__burger { display: inline-flex; }
	.nav__scrim {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 70;
		background: rgba(6, 14, 22, .62);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--t-base), visibility var(--t-base);
	}
	html.nav-open .nav__scrim { opacity: 1; visibility: visible; }
	.nav__list {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 80;
		width: min(350px, 90vw);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
		border-left: 1px solid rgba(233, 162, 39, .32);
		box-shadow: var(--sh-3);
		transform: translateX(105%);
		transition: transform var(--t-base);
	}
	html.nav-open .nav__list { transform: none; }
	.nav__drawer-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding-bottom: .9rem;
		margin-bottom: .6rem;
		border-bottom: 1px solid rgba(255, 255, 255, .12);
		color: #fff;
		font-family: var(--font-display);
		font-weight: 700;
		font-size: var(--fs-sm);
		letter-spacing: .08em;
		text-transform: uppercase;
	}
	.nav__drawer-title { display: inline-flex; align-items: center; gap: .6rem; }
	.nav__drawer-title::before {
		content: "";
		width: 22px;
		height: 2px;
		border-radius: var(--r-pill);
		background: var(--gold-grad);
	}
	.nav__drawer-close {
		display: inline-flex;
		width: 2.4rem;
		height: 2.4rem;
		color: #fff;
		border: 1px solid rgba(255, 255, 255, .16);
		background: rgba(255, 255, 255, .06);
	}
	.nav__drawer-close:hover { background: rgba(255, 255, 255, .14); color: var(--gold-400); }
	.nav__item { border-bottom: 1px solid rgba(255, 255, 255, .07); }
	.nav__item:last-child { border-bottom: 0; }
	.nav__link { text-transform: none; letter-spacing: 0; font-size: var(--fs-base); padding: .8rem .85rem; border-radius: var(--r-sm); }
	.nav__link::after { display: none; }
	.nav__item.is-current > .nav__link { box-shadow: none; background: rgba(233, 162, 39, .16); }
	.nav__caret {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2rem;
		height: 2rem;
		margin-left: auto;
		border-radius: var(--r-sm);
		color: rgba(255, 255, 255, .7);
	}
	.nav__item.is-open > .nav__link .nav__caret { transform: rotate(180deg); }
	.nav__sub {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		max-height: 0;
		overflow: hidden;
		padding: 0 .4rem;
		background: rgba(255, 255, 255, .05);
		border: 0;
		box-shadow: none;
		border-radius: var(--r-sm);
		transition: max-height var(--t-base), padding var(--t-base);
	}
	.nav__item.is-open > .nav__sub { max-height: 360px; padding: .35rem .4rem .6rem; }
	.nav__sub .nav__link { color: var(--c-inverse-muted); font-size: var(--fs-sm); padding: .55rem .6rem; }
	.nav__sub .nav__link:hover { background: transparent; color: var(--gold-400); }

	/* Pastki daraja caret tugmasi — faqat mobilda */
	.has-sub { padding-right: 2.5rem; }
	.nav__sub-toggle { display: inline-flex; }
	.nav__item.is-open > .nav__sub { max-height: 360px; }
	.navbar__in { gap: .5rem; padding-top: 7px; }
	.navbar__tools { padding-left: .25rem; border-left: 0; }
	.userpane__menu { position: fixed; top: auto; right: var(--gutter); left: var(--gutter); width: auto; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 700px) {
	.topbar__text { display: none; }
	.topbar__in { justify-content: flex-end; }
	.contact-cards { display: none; }
	.masthead__cta { display: none; }
	.masthead__in { justify-content: space-between; gap: .75rem; }
	.grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
	.grid--2 { grid-template-columns: minmax(0, 1fr); }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.article__foot { flex-direction: column; align-items: flex-start; }
	.comment { grid-template-columns: 40px minmax(0, 1fr); gap: .7rem; }
	.comment__avatar { width: 40px; height: 40px; }
	.comment__date { margin-left: 0; flex-basis: 100%; }
	.pager { gap: .5rem; }
	.pager__arrows { width: 100%; justify-content: space-between; }
	.hero__content { min-height: clamp(400px, 68vh, 580px); gap: .7rem; }
	.hero__title { max-width: 100%; }
	.hero__text { -webkit-line-clamp: 3; line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
	.hero__more { padding: .62em 1.2em; }
	.hero__controls { bottom: .9rem; }
	.hero__arrow { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
	.hero__content { min-height: clamp(360px, 72vh, 520px); gap: .6rem; }
	.hero__title { font-size: 1.55rem; }
	.hero__badge { font-size: .65rem; letter-spacing: .1em; }
	.hero__controls { bottom: .7rem; gap: .5rem; }
	.hero__arrow { width: 36px; height: 36px; }
	.share__btn { width: 2.2rem; height: 2.2rem; }
	.feature { margin-top: 46px; }
	.brand__logo { width: 54px; height: 54px; padding: 4px; }
	.brand__logo img { width: 44px; height: 44px; }
	.tabs__btn { padding: .55rem .8rem; }
}

/* ================================= 17. PRINT ============================== */
@media print {
	.site-header, .site-footer, .to-top, .toast, .skip-link,
	.share, .pager, .comments, .addcomment, .searchbar,
	.layout-2col__side, .widget, .article__tools, .hero__controls { display: none !important; }

	body { background: #fff; color: #000; font-size: 12pt; }
	.article, .panel, .page__content { border: 0; box-shadow: none; background: #fff; display: block; }
	.layout-2col { display: block; }
	.article__body, .article__head, .panel__body { padding: 0; }
	.prose, .article__body { color: #000; }
	a { color: #000; text-decoration: underline; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #444; word-break: break-all; }
	img { max-width: 100% !important; page-break-inside: avoid; }
	h1, h2, h3, h4 { page-break-after: avoid; color: #000; }
	.article__cover { margin: 0 0 1rem; }
}

/* ===================== 18. DLE ENGINE MOSLIGI (15.x / 16.x / 17.x) ========= */
/* DataLife Engine standart klasslari uchun minimal moslashtirish —
   shu qatorda tema ishlab chiqaruvchisi o'zgartirish kiritmasa ham, DLE ning
   standart teglari ({news}, {full-story}, {static}, {comments}, {poll},
   {login}, {pm}, {addnews} va h.k.) ushbu dizaynga mos tushadi. */

/* Standart DLE speedbar */
.speedbar, .speedbar a, .crumbs a { color: inherit; opacity: .9; }
.speedbar a:hover, .crumbs a:hover { color: var(--gold-400); opacity: 1; }

/* DLE pagination (standart) */
.navigation, .navination, .page-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: var(--s-5) 0; list-style: none; padding: 0; }
.navigation a, .navigation span, .navination a, .navination span, .page-nav a, .page-nav span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.25rem; height: 2.25rem; padding: 0 .65rem;
	border: 1px solid var(--c-border); border-radius: var(--r-sm);
	color: var(--c-text); font-size: var(--fs-sm); font-weight: 600;
	background: var(--c-bg); text-decoration: none;
	transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.navigation a:hover, .navination a:hover, .page-nav a:hover { background: var(--gold-100); border-color: var(--gold-500); color: var(--gold-600); }
[data-theme="dark"] .navigation a:hover, [data-theme="dark"] .navination a:hover, [data-theme="dark"] .page-nav a:hover { background: rgba(233, 162, 39, .12); }
.navigation span, .navination span, .page-nav span { background: var(--gold-500); border-color: var(--gold-500); color: #231603; cursor: default; }

/* DLE bb-kodlar va maxsus teglar */
.bbcode, .quote, .code { background: var(--c-surface); border-left: 3px solid var(--gold-500); padding: .75rem 1rem; border-radius: var(--r-sm); margin: var(--s-3) 0; }
.code { font-family: var(--font-mono); font-size: var(--fs-sm); white-space: pre-wrap; }
.spoiler, .spoiler-title { background: var(--c-surface-2); border-radius: var(--r-sm); padding: .5rem .85rem; margin: .35rem 0; }

/* DLE xabarlari */
.ui-state-highlight, .info-box, .alert, .message {
	padding: .85rem 1.1rem; border-radius: var(--r-md);
	border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text); margin: var(--s-3) 0;
}
.ui-state-error, .error, .alert-error { border-color: rgba(214, 69, 69, .4); background: rgba(214, 69, 69, .08); color: var(--c-danger); }
.ui-state-success, .success, .alert-success { border-color: rgba(47, 158, 94, .4); background: rgba(47, 158, 94, .08); color: var(--c-success); }

/* DLE rasmiy jadval va forma */
.tableform, .dle-table { width: 100%; border-collapse: collapse; }
.tableform td, .dle-table td, .tableform th, .dle-table th { padding: .55rem .75rem; border-bottom: 1px solid var(--c-border); }

/* PM, izoh, login DLE sahifalari uchun markazlash */
.pm-header, .comments-header, .login-page, .registration-page, .feedback-page, .search-page, .static-page {
	padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

/* DLE foydalanuvchi menyusi (BB panelda) */
.bb-pane, .bb-editor { border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-bg); }
.bb-btn { width: 2rem; height: 2rem; display: inline-grid; place-items: center; border-radius: var(--r-sm); color: var(--c-text); }
.bb-btn:hover { background: var(--c-surface); color: var(--gold-600); }

/* DLE kengashlar (tags) */
.tags a, .tag-link { display: inline-block; padding: .25em .7em; border-radius: var(--r-pill); background: var(--c-surface-2); color: var(--c-muted); font-size: var(--fs-xs); margin: .15rem; text-decoration: none; }
.tags a:hover, .tag-link:hover { background: var(--gold-500); color: #231603; }

/* Ssilka va fayl yuklamalari */
.attachment, .dowload-link { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: var(--r-md); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text); }
.attachment:hover, .dowload-link:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--gold-100); }
[data-theme="dark"] .attachment:hover, [data-theme="dark"] .dowload-link:hover { background: rgba(233, 162, 39, .12); }

/* DLE comment tree (iyerarxik) */
.comment-tree { padding-left: 0; list-style: none; margin: 0; }
.comment-tree .comment-tree { margin-top: var(--s-3); padding-left: 1.25rem; border-left: 2px solid var(--c-border); }

/* Aspect-ratio fallback */
@supports not (aspect-ratio: 1) {
	.card__media { position: relative; }
	.card__media::before { content: ""; display: block; padding-top: 62.5%; }
	.card__media img { position: absolute; inset: 0; }
}

/* Yuqoriga tugmasi (zamonaviy) */
.to-top {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 55;
	display: grid; place-items: center;
	width: 2.75rem; height: 2.75rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
	color: #231603;
	box-shadow: 0 10px 28px rgba(233, 162, 39, .35);
	opacity: 0; transform: translateY(8px) scale(.9);
	transition: opacity var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.to-top:hover { color: #231603; box-shadow: 0 14px 36px rgba(233, 162, 39, .5); transform: translateY(0) scale(1.05); }
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.to-top[hidden] { display: none; }

/* "Noindex" ichidagi skriptlar uchun vizual o'zgarish yo'q */





