/* ==========================================================================
   ISNA News — سیستم طراحی (RTL / فارسی)
   الهام‌گرفته از طراحی خبرگزاری ایسنا (isna.ir)
   ========================================================================== */

/* ---------- متغیرها ---------- */
:root {
	--isna-red: #c00f2d;
	--isna-dark: #8e0b20;
	--isna-black: #1c1c1c;
	--isna-gray: #6b6b6b;
	--isna-light: #f4f4f4;
	--isna-border: #e4e4e4;
	--isna-white: #ffffff;
	--font-main: 'Vazirmatn', 'Tahoma', 'Segoe UI', sans-serif;
	--container: 1200px;
	--radius: 6px;
	--shadow: 0 1px 3px rgba(0, 0, 0, .08);
	--shadow-lg: 0 4px 16px rgba(0, 0, 0, .12);
}

/* ---------- بازنشانی ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 15px;
	line-height: 1.9;
	color: var(--isna-black);
	background: var(--isna-white);
	direction: rtl;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--isna-dark);
	text-decoration: none;
	transition: color .15s ease;
}

a:hover,
a:focus {
	color: var(--isna-red);
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	line-height: 1.45;
	font-weight: 800;
	color: var(--isna-black);
}

p {
	margin: 0 0 1em;
}

ul, ol {
	padding-inline-start: 1.4em;
}

figure {
	margin: 0 0 1.5em;
}

/* ---------- دسترس‌پذیری ---------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: .875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	position: fixed;
	top: 10px;
	right: 10px;
	background: var(--isna-dark);
	color: #fff;
	padding: 10px 18px;
	z-index: 9999;
	border-radius: 4px;
}

/* ---------- کانتینر ---------- */
.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 16px;
}

/* ==========================================================================
   نوار بالا
   ========================================================================== */
.topbar {
	background: var(--isna-light);
	border-bottom: 1px solid var(--isna-border);
	font-size: 13px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
	gap: 12px;
}

.topbar-date {
	color: var(--isna-gray);
	font-weight: 500;
}

.topbar-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 18px;
}

.topbar-menu a {
	color: var(--isna-gray);
	font-size: 13px;
}

.topbar-menu a:hover {
	color: var(--isna-red);
}

/* ==========================================================================
   هدر
   ========================================================================== */
.site-header {
	background: var(--isna-white);
	border-bottom: 3px solid var(--isna-red);
}

.site-header.is-sticky .main-navigation {
	position: sticky;
	top: 0;
	z-index: 90;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 18px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
}

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

.site-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: -1px;
}

.site-title a {
	color: var(--isna-red);
}

.site-title a:hover {
	color: var(--isna-dark);
}

.site-description {
	margin: 0;
	font-size: 13px;
	color: var(--isna-gray);
}

.header-extras {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* فرم جستجو */
.search-form {
	display: flex;
	align-items: center;
	border: 2px solid var(--isna-border);
	border-radius: 30px;
	overflow: hidden;
	background: var(--isna-white);
	transition: border-color .2s ease;
}

.search-form:focus-within {
	border-color: var(--isna-red);
}

.search-field {
	border: 0;
	outline: 0;
	padding: 8px 16px;
	font-family: inherit;
	font-size: 14px;
	background: transparent;
	color: var(--isna-black);
	width: 220px;
}

.search-submit {
	border: 0;
	background: var(--isna-red);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	transition: background .2s ease;
}

.search-submit:hover {
	background: var(--isna-dark);
}

/* ==========================================================================
   منوی اصلی
   ========================================================================== */
.main-navigation {
	background: var(--isna-dark);
	position: relative;
}

.nav-inner {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li > a {
	display: block;
	color: #fff;
	padding: 13px 16px;
	font-size: 14.5px;
	font-weight: 600;
	border-left: 1px solid rgba(255, 255, 255, .14);
}

.primary-menu > li:last-child > a {
	border-left: 0;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-cat > a {
	background: var(--isna-red);
	color: #fff;
}

/* زیرمنو */
.primary-menu ul {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 220px;
	background: #fff;
	box-shadow: var(--shadow-lg);
	border-top: 3px solid var(--isna-red);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
	z-index: 99;
}

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

.primary-menu ul li a {
	display: block;
	padding: 9px 18px;
	color: var(--isna-black);
	font-size: 14px;
	border-inline-start: 3px solid transparent;
}

.primary-menu ul li a:hover {
	color: var(--isna-red);
	background: var(--isna-light);
	border-inline-start-color: var(--isna-red);
}

.primary-menu ul ul {
	top: 0;
	right: 100%;
}

/* دکمه منوی موبایل */
.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 12px 14px;
	align-items: center;
	gap: 8px;
}

.menu-toggle-icon {
	width: 20px;
	height: 2px;
	background: #fff;
	position: relative;
	display: inline-block;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: '';
	position: absolute;
	right: 0;
	width: 20px;
	height: 2px;
	background: #fff;
}

.menu-toggle-icon::before {
	top: -6px;
}

.menu-toggle-icon::after {
	top: 6px;
}

/* ==========================================================================
   نوار اخبار فوری
   ========================================================================== */
.breaking-news {
	background: var(--isna-white);
	border-bottom: 1px solid var(--isna-border);
}

.breaking-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 42px;
}

.breaking-label {
	background: var(--isna-red);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 4px;
	flex-shrink: 0;
}

.breaking-track {
	overflow: hidden;
	flex: 1;
}

.ticker-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 34px;
	animation: ticker-scroll 40s linear infinite;
	width: max-content;
}

.ticker-list:hover {
	animation-play-state: paused;
}

.ticker-item a {
	color: var(--isna-black);
	font-size: 14px;
	white-space: nowrap;
}

.ticker-item a:hover {
	color: var(--isna-red);
}

@keyframes ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(50%); }
}

/* ==========================================================================
   چیدمان اصلی صفحات
   ========================================================================== */
.site-content {
	padding-block: 24px 40px;
	background: var(--isna-white);
}

.content-layout,
.home-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
}

.content-area {
	min-width: 0;
}

/* ==========================================================================
   خبر اصلی صفحه اول (lead)
   ========================================================================== */
.lead-story {
	background: var(--isna-light);
	border-bottom: 3px solid var(--isna-red);
	margin-bottom: 28px;
}

.lead-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 24px;
	padding-block: 24px;
	align-items: start;
}

.lead-main {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.lead-thumb {
	display: block;
	overflow: hidden;
}

.lead-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .3s ease;
}

.lead-main:hover .lead-thumb img {
	transform: scale(1.03);
}

.lead-body {
	padding: 18px 20px 22px;
}

.lead-body .cat-links a,
.single-header .cat-links a,
.news-item-header .cat-links a {
	display: inline-block;
	background: var(--isna-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 3px;
	margin-inline-end: 6px;
	margin-bottom: 10px;
}

.lead-title {
	font-size: 1.55rem;
	margin-bottom: 10px;
}

.lead-title a {
	color: var(--isna-black);
}

.lead-title a:hover {
	color: var(--isna-red);
}

.lead-excerpt {
	color: var(--isna-gray);
	font-size: 14.5px;
	margin: 0;
}

.lead-secondary {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lead-side-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fff;
	padding: 12px 14px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border-inline-start: 3px solid var(--isna-red);
}

.lead-side-num {
	background: var(--isna-light);
	color: var(--isna-red);
	font-weight: 900;
	font-size: 15px;
	min-width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 2px;
}

.lead-side-title {
	font-size: 14.5px;
	margin: 0;
	line-height: 1.7;
}

.lead-side-title a {
	color: var(--isna-black);
}

.lead-side-title a:hover {
	color: var(--isna-red);
}

/* ==========================================================================
   بخش‌های صفحه اصلی
   ========================================================================== */
.home-section {
	margin-bottom: 34px;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--isna-red);
	margin-bottom: 18px;
}

.section-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 900;
	background: var(--isna-red);
	color: #fff;
	padding: 7px 18px;
	border-radius: 4px 4px 0 0;
}

.section-title a {
	color: #fff;
}

.section-title a:hover {
	color: #ffe6ea;
}

.section-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--isna-red);
}

.section-more:hover {
	color: var(--isna-dark);
}

/* شبکه دسته‌ها */
.cat-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px;
}

.cat-lead {
	border-inline-start: 4px solid var(--isna-red);
	padding-inline-start: 14px;
}

.cat-lead img {
	border-radius: var(--radius);
	margin-bottom: 10px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.cat-lead-title {
	font-size: 1.1rem;
	margin-bottom: 6px;
}

.cat-lead-title a {
	color: var(--isna-black);
}

.cat-lead-title a:hover {
	color: var(--isna-red);
}

.cat-lead-excerpt {
	font-size: 13.5px;
	color: var(--isna-gray);
	margin: 0;
}

.cat-item {
	padding: 10px 0;
	border-bottom: 1px dashed var(--isna-border);
}

.cat-item:last-child {
	border-bottom: 0;
}

.cat-item-title {
	font-size: 14.5px;
	margin: 0 0 4px;
	line-height: 1.7;
}

.cat-item-title a {
	color: var(--isna-black);
}

.cat-item-title a:hover {
	color: var(--isna-red);
}

.cat-item-time {
	font-size: 12px;
	color: var(--isna-gray);
}

/* ==========================================================================
   فهرست اخبار
   ========================================================================== */
.news-list {
	display: flex;
	flex-direction: column;
}

.news-row {
	display: flex;
	gap: 18px;
	padding: 18px 0;
	border-bottom: 1px solid var(--isna-border);
}

.news-row:first-child {
	padding-top: 0;
}

.news-row:last-child {
	border-bottom: 0;
}

.news-row-thumb {
	flex-shrink: 0;
	width: 220px;
}

.news-row-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
	transition: transform .25s ease;
}

.news-row:hover .news-row-thumb img {
	transform: scale(1.03);
}

.news-row-body {
	min-width: 0;
}

.news-row-title {
	font-size: 1.05rem;
	margin-bottom: 6px;
	line-height: 1.6;
}

.news-row-title a {
	color: var(--isna-black);
}

.news-row-title a:hover {
	color: var(--isna-red);
}

.news-row-excerpt {
	font-size: 13.5px;
	color: var(--isna-gray);
	margin: 0 0 8px;
}

.news-row-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: var(--isna-gray);
}

.news-row-meta .meta-cat a {
	color: var(--isna-red);
	font-weight: 700;
}

/* ==========================================================================
   هدر صفحات (دسته، آرشیو، جستجو)
   ========================================================================== */
.page-header {
	margin-bottom: 22px;
}

.archive-header {
	background: var(--isna-light);
	border-inline-start: 4px solid var(--isna-red);
	border-radius: var(--radius);
	padding: 18px 20px;
	margin-bottom: 24px;
}

.page-title {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 900;
}

.page-title .search-term {
	color: var(--isna-red);
}

.archive-description {
	color: var(--isna-gray);
	font-size: 14px;
	margin: 0;
}

.subcategory-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.subcategory-link {
	background: #fff;
	border: 1px solid var(--isna-border);
	border-radius: 20px;
	padding: 4px 14px;
	font-size: 13px;
	color: var(--isna-black);
}

.subcategory-link:hover {
	border-color: var(--isna-red);
	color: var(--isna-red);
}

/* ==========================================================================
   صفحه خبر (single)
   ========================================================================== */
.breadcrumbs {
	font-size: 13px;
	color: var(--isna-gray);
	margin-bottom: 16px;
}

.breadcrumbs a {
	color: var(--isna-gray);
}

.breadcrumbs a:hover {
	color: var(--isna-red);
}

.breadcrumbs .sep {
	margin-inline: 8px;
	color: #bbb;
}

.breadcrumbs .current {
	color: var(--isna-black);
	font-weight: 600;
}

.single-news {
	background: #fff;
	border: 1px solid var(--isna-border);
	border-radius: var(--radius);
	padding: 26px 28px;
}

.single-header {
	margin-bottom: 20px;
}

.single-title {
	font-size: 1.8rem;
	line-height: 1.5;
	margin-bottom: 12px;
}

.single-lead {
	font-size: 1.05rem;
	font-weight: 600;
	color: #333;
	background: var(--isna-light);
	border-inline-start: 4px solid var(--isna-red);
	padding: 12px 16px;
	border-radius: 4px;
}

.single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	font-size: 13px;
	color: var(--isna-gray);
	border-block: 1px solid var(--isna-border);
	padding-block: 10px;
	margin-block: 16px 18px;
}

.single-meta .meta-author a {
	color: var(--isna-red);
	font-weight: 600;
}

.single-share {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.share-label {
	font-size: 13px;
	color: var(--isna-gray);
	font-weight: 600;
}

.share-link {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
}

.share-telegram { background: #229ed9; }
.share-whatsapp { background: #25d366; }
.share-x       { background: #111; }

.share-link:hover {
	opacity: .85;
	color: #fff;
}

.single-thumb {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 22px;
}

.single-thumb img {
	width: 100%;
}

/* تایپوگرافی متن خبر */
.single-content {
	font-size: 16px;
	line-height: 2.1;
	color: #242424;
}

.single-content p {
	margin-bottom: 1.2em;
}

.single-content h2,
.single-content h3 {
	margin-top: 1.4em;
}

.single-content blockquote {
	margin: 1.5em 0;
	padding: 14px 20px;
	background: var(--isna-light);
	border-inline-start: 4px solid var(--isna-red);
	border-radius: 4px;
	color: #333;
}

.single-content img {
	border-radius: var(--radius);
}

.single-content .wp-caption {
	max-width: 100%;
}

.single-footer {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--isna-border);
}

.single-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.tags-label {
	font-size: 13px;
	color: var(--isna-gray);
	font-weight: 600;
}

.single-tags a {
	display: inline-block;
	background: var(--isna-light);
	border: 1px solid var(--isna-border);
	font-size: 12.5px;
	color: var(--isna-black);
	padding: 3px 12px;
	border-radius: 20px;
}

.single-tags a:hover {
	background: var(--isna-red);
	border-color: var(--isna-red);
	color: #fff;
}

/* صفحه‌بندی خبر قبلی/بعدی */
.post-navigation {
	margin-top: 24px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	border: 1px solid var(--isna-border);
	border-radius: var(--radius);
	padding: 12px 16px;
	background: #fff;
}

.post-navigation .nav-previous { text-align: right; }
.post-navigation .nav-next { text-align: left; }

.nav-label {
	display: block;
	font-size: 12px;
	color: var(--isna-gray);
	margin-bottom: 4px;
}

.nav-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--isna-black);
}

.post-navigation a:hover .nav-title {
	color: var(--isna-red);
}

/* اخبار مرتبط */
.related-news {
	margin-top: 28px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.news-card {
	border: 1px solid var(--isna-border);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s ease;
}

.news-card:hover {
	box-shadow: var(--shadow-lg);
}

.news-card-thumb {
	display: block;
	overflow: hidden;
}

.news-card-thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .25s ease;
}

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

.news-card-body {
	padding: 12px 14px;
}

.news-card-title {
	font-size: 13.5px;
	line-height: 1.7;
	margin: 0 0 6px;
}

.news-card-title a {
	color: var(--isna-black);
}

.news-card-title a:hover {
	color: var(--isna-red);
}

.news-card-time {
	font-size: 12px;
	color: var(--isna-gray);
}

/* ==========================================================================
   صفحه‌بندی اعداد
   ========================================================================== */
.pagination,
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 26px;
}

.pagination .page-numbers,
.pagination .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--isna-border);
	border-radius: 6px;
	background: #fff;
	color: var(--isna-black);
	font-size: 14px;
	font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .nav-links .page-numbers.current {
	background: var(--isna-red);
	border-color: var(--isna-red);
	color: #fff;
}

.pagination a.page-numbers:hover {
	border-color: var(--isna-red);
	color: var(--isna-red);
}

/* ==========================================================================
   سایدبار
   ========================================================================== */
.sidebar {
	min-width: 0;
}

.widget {
	margin-bottom: 26px;
	background: #fff;
	border: 1px solid var(--isna-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.widget-inner {
	padding: 0 16px 16px;
}

.widget-title {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 900;
	background: var(--isna-dark);
	color: #fff;
	padding: 10px 16px;
	display: flex;
	align-items: center;
}

.widget-title span {
	position: relative;
}

.widget-title span::after {
	content: '';
	position: absolute;
	inset-inline-start: -10px;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 18px;
	background: var(--isna-red);
	border-radius: 2px;
}

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

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--isna-border);
	font-size: 14px;
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget ul li a {
	color: var(--isna-black);
}

.widget ul li a:hover {
	color: var(--isna-red);
}

.widget select,
.widget input[type="search"] {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--isna-border);
	border-radius: 4px;
	font-family: inherit;
}

.widget .search-form {
	border: 1px solid var(--isna-border);
	border-radius: 6px;
}

/* ویجت اختصاصی ایسنا */
.isna-widget-list .isna-widget-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
}

.isna-widget-thumb {
	flex-shrink: 0;
	width: 74px;
}

.isna-widget-thumb img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
}

.isna-widget-title {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.7;
	color: var(--isna-black);
}

.isna-widget-title:hover {
	color: var(--isna-red);
}

.isna-widget-meta {
	display: block;
	font-size: 11.5px;
	color: var(--isna-gray);
	margin-top: 4px;
}

/* ==========================================================================
   فوتر
   ========================================================================== */
.site-footer {
	background: #232323;
	color: #cfcfcf;
	font-size: 14px;
}

.footer-widgets {
	padding-block: 34px 10px;
}

.footer-widgets-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.footer-widget {
	margin-bottom: 24px;
}

.footer-widget-title {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--isna-red);
}

.footer-widget ul li {
	border-bottom-color: rgba(255, 255, 255, .1);
}

.footer-widget ul li a {
	color: #cfcfcf;
}

.footer-widget ul li a:hover {
	color: #fff;
}

.footer-navigation {
	border-block: 1px solid rgba(255, 255, 255, .12);
	padding-block: 14px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	color: #cfcfcf;
	font-size: 13.5px;
}

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

.site-info {
	padding-block: 16px;
	font-size: 13px;
}

.site-info-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
}

.site-info p {
	margin: 0;
}

.site-info a {
	color: #fff;
}

.site-info-credit a {
	color: var(--isna-red);
}

/* ==========================================================================
   دیدگاه‌ها
   ========================================================================== */
.comments-area {
	margin-top: 28px;
	background: #fff;
	border: 1px solid var(--isna-border);
	border-radius: var(--radius);
	padding: 24px 26px;
}

.comments-title {
	font-size: 1.15rem;
	margin-bottom: 18px;
}

.comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.comment-list .comment {
	margin-bottom: 18px;
}

.comment-body {
	background: var(--isna-light);
	border-radius: var(--radius);
	padding: 14px 18px;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 13px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .fn {
	font-weight: 700;
	color: var(--isna-black);
}

.comment-metadata a {
	color: var(--isna-gray);
	font-size: 12px;
}

.comment-content p {
	margin-bottom: 8px;
}

.reply a {
	color: var(--isna-red);
	font-size: 13px;
	font-weight: 700;
}

.comment-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--isna-border);
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 0;
	border-color: var(--isna-red);
}

.comment-form .submit {
	background: var(--isna-red);
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 10px 26px;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--isna-dark);
}

/* ==========================================================================
   خطای ۴۰۴
   ========================================================================== */
.error-404 {
	text-align: center;
	padding: 50px 20px;
}

.error-code {
	font-size: 6rem;
	font-weight: 900;
	color: var(--isna-red);
	line-height: 1;
	margin-bottom: 10px;
}

.error-404 .search-form {
	max-width: 420px;
	margin: 22px auto;
}

.error-actions {
	margin: 20px 0;
}

.btn {
	display: inline-block;
	padding: 10px 26px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
}

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

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

.error-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: 900px;
	margin: 30px auto 0;
	text-align: right;
}

/* ==========================================================================
   محتوای گوتنبرگ
   ========================================================================== */
.alignwide { margin-inline: -40px; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }

.wp-block-image figcaption,
.wp-caption-text {
	font-size: 12.5px;
	color: var(--isna-gray);
	text-align: center;
	padding: 6px 0;
}

.wp-block-quote {
	border-inline-start: 4px solid var(--isna-red);
	padding: 14px 20px;
	background: var(--isna-light);
}

.wp-block-separator {
	border: 0;
	border-top: 2px solid var(--isna-border);
}

/* ==========================================================================
   واکنش‌گرایی
   ========================================================================== */
@media (max-width: 1024px) {
	.content-layout,
	.home-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 20px;
	}

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

	.lead-grid {
		grid-template-columns: 1fr;
	}

	.lead-secondary {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.alignwide { margin-inline: 0; }
}

@media (max-width: 782px) {
	.content-layout,
	.home-layout {
		grid-template-columns: 1fr;
	}

	.header-inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 14px;
	}

	.site-branding {
		justify-content: center;
	}

	.header-extras {
		justify-content: center;
	}

	.search-field {
		width: 100%;
	}

	.search-form {
		width: 100%;
		max-width: 360px;
		margin-inline: auto;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.nav-inner {
		flex-wrap: wrap;
	}

	.primary-menu {
		display: none;
		width: 100%;
		flex-direction: column;
		background: var(--isna-dark);
		padding-bottom: 8px;
	}

	.primary-menu.toggled-on {
		display: flex;
	}

	.primary-menu > li > a {
		border-inline-start: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .14);
	}

	.primary-menu ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: rgba(0, 0, 0, .18);
		padding: 0;
	}

	.primary-menu ul li a {
		color: #eee;
		padding-inline-start: 30px;
	}

	.primary-menu ul ul {
		right: 0;
	}

	.cat-grid {
		grid-template-columns: 1fr;
	}

	.news-row {
		flex-direction: column;
	}

	.news-row-thumb {
		width: 100%;
	}

	.lead-secondary {
		grid-template-columns: 1fr;
	}

	.footer-widgets-grid {
		grid-template-columns: 1fr;
	}

	.error-widgets {
		grid-template-columns: 1fr;
	}

	.single-news {
		padding: 18px 16px;
	}

	.single-title {
		font-size: 1.4rem;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.breaking-track {
		overflow-x: auto;
	}

	.ticker-list {
		animation: none;
	}
}
