/**
 * Varzeshi News — استایل اصلی
 *
 * ساختار:
 *  1. متغیرها و ریست
 *  2. تایپوگرافی
 *  3. چیدمان و شبکه
 *  4. هدر و ناوبری
 *  5. کارت خبر
 *  6. صفحه خبر
 *  7. ابزارک و سایدبار
 *  8. فوتر
 *  9. اجزای کمکی
 * 10. واکنش‌گرایی
 * 11. حالت تاریک و چاپ
 */

/* ============================================================
   1. متغیرها و ریست
   ============================================================ */

:root {
	/* رنگ — با سفارشی‌ساز قابل تغییر */
	--vz-primary: #0a6c3c;
	--vz-primary-dark: #075029;
	--vz-primary-light: #e6f3ec;
	--vz-accent: #e63946;
	--vz-surface: #f4f6f8;

	--vz-bg: #ffffff;
	--vz-text: #16202a;
	--vz-text-soft: #5a6b7a;
	--vz-text-faint: #8b9aa8;
	--vz-border: #e3e8ed;
	--vz-border-strong: #cdd6de;

	/* فاصله — مقیاس ۴ پیکسلی */
	--vz-s1: 4px;
	--vz-s2: 8px;
	--vz-s3: 12px;
	--vz-s4: 16px;
	--vz-s5: 24px;
	--vz-s6: 32px;
	--vz-s7: 48px;
	--vz-s8: 64px;

	/* گردی */
	--vz-r1: 4px;
	--vz-r2: 8px;
	--vz-r3: 12px;
	--vz-r4: 16px;

	/* سایه */
	--vz-shadow-sm: 0 1px 2px rgba(22, 32, 42, .06);
	--vz-shadow: 0 2px 8px rgba(22, 32, 42, .08);
	--vz-shadow-lg: 0 8px 24px rgba(22, 32, 42, .12);

	/* چیدمان */
	--vz-container: 1280px;
	--vz-aside: 320px;
	--vz-gap: var(--vz-s5);
	--vz-header-h: 64px;

	/* فونت */
	--vz-font: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, sans-serif;
	--vz-font-num: "Vazirmatn", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--vz-font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--vz-text);
	background: var(--vz-surface);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
picture,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}

a:hover {
	color: var(--vz-primary);
}

button {
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
}

/* فوکوس قابل دیدن — الزام دسترس‌پذیری */
:focus-visible {
	outline: 3px solid var(--vz-primary);
	outline-offset: 2px;
	border-radius: var(--vz-r1);
}

/* ============================================================
   2. تایپوگرافی
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--vz-s3);
	font-weight: 800;
	line-height: 1.35;
	color: var(--vz-text);
	letter-spacing: -.01em;
}

h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }

p {
	margin: 0 0 var(--vz-s4);
}

/* اعداد فارسی گاهی در فونت‌های مختلف ناهماهنگ می‌شوند */
time,
.num,
table {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	right: var(--vz-s4);
	z-index: 999;
	padding: var(--vz-s3) var(--vz-s4);
	background: var(--vz-primary);
	color: #fff;
	border-radius: 0 0 var(--vz-r2) var(--vz-r2);
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* ============================================================
   3. چیدمان و شبکه
   ============================================================ */

.container {
	width: 100%;
	max-width: var(--vz-container);
	margin-inline: auto;
	padding-inline: var(--vz-s4);
}

.site-content {
	padding-block: var(--vz-s5) var(--vz-s7);
	min-height: 50vh;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--vz-aside);
	gap: var(--vz-s6);
	align-items: start;
}

/* سایدبار سمت راست */
.sidebar-right .layout {
	grid-template-columns: var(--vz-aside) minmax(0, 1fr);
}

.sidebar-right .layout__main {
	order: 2;
}

.sidebar-right .layout__aside {
	order: 1;
}

.sidebar-none .layout,
.layout--narrow {
	grid-template-columns: minmax(0, 1fr);
	max-width: 820px;
	margin-inline: auto;
}

.grid {
	display: grid;
	gap: var(--vz-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)); }

.section-title {
	position: relative;
	margin-bottom: var(--vz-s4);
	padding-right: var(--vz-s3);
	font-size: 1.25rem;
	font-weight: 800;
}

.section-title::before {
	content: "";
	position: absolute;
	right: 0;
	top: .35em;
	bottom: .35em;
	width: 4px;
	border-radius: 2px;
	background: var(--vz-primary);
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vz-s3);
	margin-bottom: var(--vz-s4);
}

.section-head .section-title {
	margin-bottom: 0;
}

.section-more {
	flex-shrink: 0;
	font-size: .875rem;
	font-weight: 700;
	color: var(--vz-primary);
}

.section-more::after {
	content: " ←";
}

/* ============================================================
   4. هدر و ناوبری
   ============================================================ */

.site-header {
	background: var(--vz-bg);
	box-shadow: var(--vz-shadow-sm);
	position: relative;
	z-index: 50;
}

.has-sticky-header .site-header__main {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--vz-bg);
	box-shadow: var(--vz-shadow-sm);
}

/* نوار لیگ‌ها */
.leagues-bar {
	background: var(--vz-primary);
	color: #fff;
	font-size: .8125rem;
}

.leagues-bar__menu {
	display: flex;
	gap: var(--vz-s4);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}

.leagues-bar__menu::-webkit-scrollbar {
	display: none;
}

.leagues-bar__menu a {
	display: block;
	padding: var(--vz-s2) 0;
	color: rgba(255, 255, 255, .88);
	font-weight: 600;
}

.leagues-bar__menu a:hover {
	color: #fff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--vz-s5);
	min-height: var(--vz-header-h);
}

.site-branding {
	flex-shrink: 0;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--vz-primary);
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

.main-navigation {
	flex: 1;
	min-width: 0;
}

.main-navigation__menu {
	display: flex;
	align-items: center;
	gap: var(--vz-s5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation__menu > li {
	position: relative;
}

.main-navigation__menu > li > a {
	display: block;
	padding: var(--vz-s4) 0;
	font-weight: 700;
	font-size: .9375rem;
	border-bottom: 3px solid transparent;
}

.main-navigation__menu > li:hover > a,
.main-navigation__menu > .current-menu-item > a {
	color: var(--vz-primary);
	border-bottom-color: var(--vz-primary);
}

/* زیرمنو */
.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 200px;
	margin: 0;
	padding: var(--vz-s2) 0;
	list-style: none;
	background: var(--vz-bg);
	border: 1px solid var(--vz-border);
	border-radius: var(--vz-r2);
	box-shadow: var(--vz-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sub-menu a {
	display: block;
	padding: var(--vz-s2) var(--vz-s4);
	font-size: .9rem;
}

.sub-menu a:hover {
	background: var(--vz-primary-light);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--vz-s2);
	margin-inline-start: auto;
}

.search-toggle,
.menu-toggle {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--vz-border);
	border-radius: var(--vz-r2);
	background: transparent;
	color: var(--vz-text);
}

.search-toggle:hover,
.menu-toggle:hover {
	border-color: var(--vz-primary);
	color: var(--vz-primary);
}

.menu-toggle {
	display: none;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle__bar {
	position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
	content: "";
	position: absolute;
	right: 0;
}

.menu-toggle__bar::before { top: -6px; }
.menu-toggle__bar::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* جستجوی هدر */
.header-search {
	padding-block: var(--vz-s4);
	background: var(--vz-primary-light);
	border-top: 1px solid var(--vz-border);
}

.search-form {
	display: flex;
	gap: var(--vz-s2);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	padding: var(--vz-s3) var(--vz-s4);
	font-family: inherit;
	font-size: 1rem;
	border: 1px solid var(--vz-border-strong);
	border-radius: var(--vz-r2);
	background: var(--vz-bg);
	color: var(--vz-text);
}

.search-form__input:focus {
	border-color: var(--vz-primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--vz-primary-light);
}

.search-form__submit {
	flex-shrink: 0;
	padding: var(--vz-s3) var(--vz-s5);
	font-weight: 700;
	color: #fff;
	background: var(--vz-primary);
	border: 0;
	border-radius: var(--vz-r2);
}

.search-form__submit:hover {
	background: var(--vz-primary-dark);
}

/* ============================================================
   5. کارت خبر
   ============================================================ */

.card {
	display: flex;
	flex-direction: column;
	background: var(--vz-bg);
	border-radius: var(--vz-r3);
	overflow: hidden;
	box-shadow: var(--vz-shadow-sm);
	transition: box-shadow .2s ease, transform .2s ease;
}

.card:hover {
	box-shadow: var(--vz-shadow);
	transform: translateY(-2px);
}

.card__link {
	display: block;
}

.thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--vz-border);
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.card:hover .thumb img {
	transform: scale(1.04);
}

.thumb--placeholder {
	background: linear-gradient(135deg, var(--vz-border) 0%, var(--vz-surface) 100%);
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: var(--vz-s2);
	padding: var(--vz-s4);
	flex: 1;
}

.post-kicker {
	align-self: flex-start;
	font-size: .75rem;
	font-weight: 800;
	color: var(--vz-primary);
	letter-spacing: .02em;
}

.post-kicker:hover {
	color: var(--vz-primary-dark);
}

.card__title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.5;
}

.card__excerpt {
	margin: 0;
	font-size: .875rem;
	line-height: 1.7;
	color: var(--vz-text-soft);
}

.card__meta {
	display: flex;
	gap: var(--vz-s3);
	margin-top: auto;
	padding-top: var(--vz-s2);
	font-size: .75rem;
	color: var(--vz-text-faint);
}

/* --- حالت تیتر یک --- */
.hero-section {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
	gap: var(--vz-gap);
	margin-bottom: var(--vz-s7);
}

.hero-section__side {
	display: flex;
	flex-direction: column;
	gap: var(--vz-s3);
}

.card--hero {
	height: 100%;
	position: relative;
}

.card--hero .thumb {
	aspect-ratio: 16 / 9;
	height: 100%;
}

.card--hero .card__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: var(--vz-s6) var(--vz-s5) var(--vz-s5);
	background: linear-gradient(to top, rgba(10, 18, 26, .92) 15%, rgba(10, 18, 26, .65) 55%, transparent 100%);
	color: #fff;
}

.card--hero .card__title {
	font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem);
	color: #fff;
}

.card--hero .card__title a {
	color: #fff;
}

.card--hero .card__excerpt {
	color: rgba(255, 255, 255, .85);
}

.card--hero .post-kicker {
	display: inline-block;
	padding: 2px var(--vz-s2);
	background: var(--vz-accent);
	color: #fff;
	border-radius: var(--vz-r1);
}

.card--hero .card__meta {
	color: rgba(255, 255, 255, .7);
}

/* --- حالت افقی --- */
.card--list {
	flex-direction: row;
	align-items: stretch;
	gap: var(--vz-s3);
	padding: var(--vz-s3);
}

.card--list .card__link {
	flex-shrink: 0;
	width: 120px;
}

.card--list .thumb {
	border-radius: var(--vz-r2);
	aspect-ratio: 4 / 3;
}

.card--list .card__body {
	padding: 0;
	justify-content: center;
}

.card--list .card__title {
	font-size: .9375rem;
	line-height: 1.6;
}

/* --- حالت فشرده --- */
.card--compact .card__body {
	padding: var(--vz-s3);
}

.card--compact .card__title {
	font-size: .9375rem;
}

.search-results {
	display: flex;
	flex-direction: column;
	gap: var(--vz-s3);
}

/* ============================================================
   6. صفحه خبر
   ============================================================ */

.single-post {
	padding: var(--vz-s5);
	background: var(--vz-bg);
	border-radius: var(--vz-r3);
	box-shadow: var(--vz-shadow-sm);
}

.single-post__header {
	margin-bottom: var(--vz-s5);
}

.single-post__title {
	margin-block: var(--vz-s2) var(--vz-s3);
	font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
	line-height: 1.4;
}

.single-post__lead {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--vz-text-soft);
	font-weight: 500;
}

.single-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vz-s2) var(--vz-s4);
	padding-top: var(--vz-s3);
	border-top: 1px solid var(--vz-border);
	font-size: .8125rem;
	color: var(--vz-text-faint);
}

.single-post__meta a {
	color: var(--vz-text-soft);
	font-weight: 600;
}

.single-post__figure {
	margin: 0 0 var(--vz-s5);
}

.single-post__figure img {
	width: 100%;
	border-radius: var(--vz-r2);
}

.single-post__figure figcaption {
	margin-top: var(--vz-s2);
	font-size: .8125rem;
	color: var(--vz-text-faint);
	text-align: center;
}

/* --- محتوای مطلب --- */
.entry-content {
	font-size: 1.0625rem;
	line-height: 2;
}

.entry-content > * + * {
	margin-top: var(--vz-s4);
}

.entry-content h2 {
	margin-top: var(--vz-s6);
	font-size: 1.4rem;
}

.entry-content h3 {
	margin-top: var(--vz-s5);
	font-size: 1.2rem;
}

.entry-content a {
	color: var(--vz-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content img {
	border-radius: var(--vz-r2);
	margin-inline: auto;
}

.entry-content figure {
	margin: var(--vz-s5) 0;
}

.entry-content figcaption {
	margin-top: var(--vz-s2);
	font-size: .8125rem;
	color: var(--vz-text-faint);
	text-align: center;
}

.entry-content blockquote {
	margin: var(--vz-s5) 0;
	padding: var(--vz-s4) var(--vz-s5);
	border-inline-start: 4px solid var(--vz-primary);
	background: var(--vz-primary-light);
	border-radius: var(--vz-r2);
	font-size: 1.0625rem;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: var(--vz-s5);
}

.entry-content li + li {
	margin-top: var(--vz-s2);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9375rem;
}

.entry-content th,
.entry-content td {
	padding: var(--vz-s2) var(--vz-s3);
	border: 1px solid var(--vz-border);
	text-align: start;
}

.entry-content th {
	background: var(--vz-surface);
	font-weight: 700;
}

.embed-responsive {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--vz-r2);
	overflow: hidden;
}

.embed-responsive iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --- جعبه منبع --- */
.source-box {
	margin-top: var(--vz-s5);
	padding: var(--vz-s3) var(--vz-s4);
	background: var(--vz-surface);
	border-radius: var(--vz-r2);
	font-size: .875rem;
	color: var(--vz-text-soft);
}

.source-box__label {
	font-weight: 700;
	color: var(--vz-text);
}

.source-box a {
	color: var(--vz-primary);
	text-decoration: underline;
}

/* --- اشتراک‌گذاری --- */
.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vz-s2);
	margin-bottom: var(--vz-s5);
	padding-block: var(--vz-s3);
	border-block: 1px solid var(--vz-border);
}

.share__label {
	font-size: .8125rem;
	font-weight: 700;
	color: var(--vz-text-soft);
}

.share__btn {
	padding: var(--vz-s1) var(--vz-s3);
	font-size: .8125rem;
	font-weight: 600;
	color: var(--vz-text-soft);
	background: var(--vz-surface);
	border: 1px solid var(--vz-border);
	border-radius: 999px;
	transition: all .15s ease;
}

.share__btn:hover {
	color: #fff;
	background: var(--vz-primary);
	border-color: var(--vz-primary);
}

.share__btn--copy.is-copied {
	color: #fff;
	background: var(--vz-primary);
	border-color: var(--vz-primary);
}

/* --- برچسب‌ها --- */
.single-post__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vz-s2);
	margin-top: var(--vz-s5);
}

.tags__label {
	font-size: .8125rem;
	font-weight: 700;
	color: var(--vz-text-soft);
}

.tag-chip {
	padding: var(--vz-s1) var(--vz-s3);
	font-size: .8125rem;
	background: var(--vz-primary-light);
	color: var(--vz-primary-dark);
	border-radius: 999px;
}

.tag-chip:hover {
	background: var(--vz-primary);
	color: #fff;
}

/* --- جعبه نویسنده --- */
.author-box {
	display: flex;
	gap: var(--vz-s4);
	margin-top: var(--vz-s6);
	padding: var(--vz-s4);
	background: var(--vz-surface);
	border-radius: var(--vz-r3);
}

.author-box__avatar {
	flex-shrink: 0;
	border-radius: 50%;
}

.author-box__name {
	margin: 0 0 var(--vz-s1);
	font-size: 1rem;
}

.author-box__bio {
	margin: 0;
	font-size: .875rem;
	line-height: 1.7;
	color: var(--vz-text-soft);
}

.related {
	margin-top: var(--vz-s7);
}

/* ============================================================
   7. ابزارک و سایدبار
   ============================================================ */

.widget-area--sticky {
	position: sticky;
	top: calc(var(--vz-header-h) + var(--vz-s4));
}

.widget {
	margin-bottom: var(--vz-s5);
	padding: var(--vz-s4);
	background: var(--vz-bg);
	border-radius: var(--vz-r3);
	box-shadow: var(--vz-shadow-sm);
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	margin: 0 0 var(--vz-s3);
	padding-bottom: var(--vz-s2);
	font-size: 1rem;
	font-weight: 800;
	border-bottom: 2px solid var(--vz-primary);
}

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

.widget li + li {
	margin-top: var(--vz-s2);
	padding-top: var(--vz-s2);
	border-top: 1px solid var(--vz-border);
}

.widget a {
	font-size: .9375rem;
	font-weight: 500;
}

/* ============================================================
   8. فوتر
   ============================================================ */

.site-footer {
	margin-top: var(--vz-s8);
	padding-block: var(--vz-s7) var(--vz-s5);
	background: #16202a;
	color: rgba(255, 255, 255, .78);
}

.site-footer a {
	color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--vz-s5);
	padding-bottom: var(--vz-s6);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .widget {
	padding: 0;
	background: transparent;
	box-shadow: none;
	margin-bottom: 0;
}

.site-footer .widget-title {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, .2);
}

.site-footer .widget li + li {
	border-top-color: rgba(255, 255, 255, .08);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--vz-s4);
	padding-top: var(--vz-s5);
}

.site-footer__title {
	font-size: 1.25rem;
	font-weight: 900;
	color: #fff;
}

.site-footer__desc {
	margin: var(--vz-s1) 0 0;
	font-size: .875rem;
	opacity: .7;
}

.footer-navigation__menu,
.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vz-s4);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .875rem;
}

.site-footer__copy {
	width: 100%;
	margin: 0;
	padding-top: var(--vz-s4);
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .8125rem;
	opacity: .6;
	text-align: center;
}

/* ============================================================
   9. اجزای کمکی
   ============================================================ */

.breadcrumb {
	margin-bottom: var(--vz-s4);
	font-size: .8125rem;
	color: var(--vz-text-faint);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vz-s2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-inline-start: var(--vz-s2);
	color: var(--vz-border-strong);
}

.breadcrumb a:hover {
	color: var(--vz-primary);
}

.archive-header {
	margin-bottom: var(--vz-s5);
	padding: var(--vz-s5);
	background: var(--vz-bg);
	border-radius: var(--vz-r3);
	box-shadow: var(--vz-shadow-sm);
}

.page-title {
	margin: 0;
}

.archive-header__desc {
	margin-top: var(--vz-s2);
	color: var(--vz-text-soft);
	font-size: .9375rem;
}

.pagination {
	margin-top: var(--vz-s6);
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--vz-s2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: var(--vz-s3);
	font-weight: 700;
	font-size: .9375rem;
	background: var(--vz-bg);
	border: 1px solid var(--vz-border);
	border-radius: var(--vz-r2);
}

.pagination .page-numbers:hover {
	border-color: var(--vz-primary);
	color: var(--vz-primary);
}

.pagination .current {
	background: var(--vz-primary);
	border-color: var(--vz-primary);
	color: #fff;
}

.btn {
	display: inline-block;
	padding: var(--vz-s3) var(--vz-s5);
	font-weight: 700;
	border-radius: var(--vz-r2);
	border: 1px solid transparent;
}

.btn--primary {
	background: var(--vz-primary);
	color: #fff;
}

.btn--primary:hover {
	background: var(--vz-primary-dark);
	color: #fff;
}

.no-results {
	padding: var(--vz-s7) var(--vz-s5);
	text-align: center;
	background: var(--vz-bg);
	border-radius: var(--vz-r3);
	color: var(--vz-text-soft);
}

.error-404 {
	max-width: 720px;
	margin-inline: auto;
	padding: var(--vz-s7) var(--vz-s5);
	text-align: center;
}

.error-404__code {
	margin: 0;
	font-size: clamp(4rem, 2rem + 10vw, 8rem);
	font-weight: 900;
	line-height: 1;
	color: var(--vz-primary);
	opacity: .2;
}

.error-404__text {
	color: var(--vz-text-soft);
	margin-bottom: var(--vz-s5);
}

.error-404__recent {
	margin-top: var(--vz-s7);
	text-align: start;
}

.back-to-top {
	position: fixed;
	inset-inline-start: var(--vz-s4);
	bottom: var(--vz-s4);
	z-index: 80;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--vz-primary);
	color: #fff;
	box-shadow: var(--vz-shadow-lg);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .2s, transform .2s;
}

.back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.home-top,
.home-standings,
.archive-standings {
	margin-bottom: var(--vz-s6);
}

.league-section {
	margin-bottom: var(--vz-s7);
}

/* ============================================================
   10. واکنش‌گرایی
   ============================================================ */

@media (max-width: 1100px) {
	:root {
		--vz-aside: 280px;
	}

	.grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.layout,
	.sidebar-right .layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar-right .layout__main,
	.sidebar-right .layout__aside {
		order: initial;
	}

	.widget-area--sticky {
		position: static;
	}

	.hero-section {
		grid-template-columns: minmax(0, 1fr);
	}

	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* منوی موبایل */
	.menu-toggle {
		display: grid;
	}

	.main-navigation {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		background: var(--vz-bg);
		border-top: 1px solid var(--vz-border);
		box-shadow: var(--vz-shadow-lg);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}

	.main-navigation.is-open {
		max-height: 80vh;
		overflow-y: auto;
	}

	.main-navigation__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: var(--vz-s2) var(--vz-s4);
	}

	.main-navigation__menu > li > a {
		padding: var(--vz-s3) 0;
		border-bottom: 1px solid var(--vz-border);
	}

	.main-navigation .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding-inline-start: var(--vz-s4);
		background: transparent;
	}

	.site-header__inner {
		position: relative;
		gap: var(--vz-s3);
	}
}

@media (max-width: 560px) {
	:root {
		--vz-gap: var(--vz-s3);
	}

	body {
		font-size: 15px;
	}

	.grid--2,
	.grid--3,
	.grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-post {
		padding: var(--vz-s4) var(--vz-s3);
	}

	.card--hero .card__body {
		position: static;
		background: none;
		color: var(--vz-text);
		padding: var(--vz-s4);
	}

	.card--hero .card__title,
	.card--hero .card__title a {
		color: var(--vz-text);
	}

	.card--hero .card__excerpt {
		color: var(--vz-text-soft);
	}

	.card--hero .card__meta {
		color: var(--vz-text-faint);
	}

	.author-box {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.site-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.footer-navigation__menu,
	.social-links {
		justify-content: center;
	}
}

/* ============================================================
   11. حالت تاریک و چاپ
   ============================================================ */

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--vz-bg: #1b242e;
		--vz-surface: #121a22;
		--vz-text: #eaf0f5;
		--vz-text-soft: #a8b7c4;
		--vz-text-faint: #7e8f9d;
		--vz-border: #2c3844;
		--vz-border-strong: #3c4a58;
		--vz-primary-light: #16302a;
		--vz-shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
		--vz-shadow: 0 2px 8px rgba(0, 0, 0, .4);
		--vz-shadow-lg: 0 8px 24px rgba(0, 0, 0, .5);
	}

	:root:not([data-theme="light"]) .site-footer {
		background: #0d141b;
	}
}

:root[data-theme="dark"] {
	--vz-bg: #1b242e;
	--vz-surface: #121a22;
	--vz-text: #eaf0f5;
	--vz-text-soft: #a8b7c4;
	--vz-text-faint: #7e8f9d;
	--vz-border: #2c3844;
	--vz-border-strong: #3c4a58;
	--vz-primary-light: #16302a;
}

@media print {
	.site-header,
	.site-footer,
	.layout__aside,
	.share,
	.related,
	.back-to-top,
	.breadcrumb,
	.pagination {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 12pt;
	}

	.single-post {
		box-shadow: none;
		padding: 0;
	}

	.entry-content a::after {
		content: " (" attr(href) ")";
		font-size: .85em;
		color: #555;
	}
}
