/*!
 * Latest & Popular News — بلوک اخبار
 * راست‌چین، ریسپانسیو، سازگار با حالت تاریک
 */

/* ---------------------------------------------------------------
   1) توکن‌ها
   --------------------------------------------------------------- */
.hrtn {
	--hrtn-accent: #0b6f47;
	--hrtn-accent-soft: #eaf4ef;
	--hrtn-accent-deep: #085536;

	--hrtn-bg: #fbfbfc;
	--hrtn-surface: #fdfdfd;
	--hrtn-surface-2: #f6f7f8;
	--hrtn-text: #14181d;
	--hrtn-text-soft: #6b7280;
	--hrtn-text-mute: #9aa1ab;
	--hrtn-border: #ecedf1;
	--hrtn-border-soft: #f2f3f6;
	--hrtn-shadow: 0 14px 34px -26px rgba(15, 22, 30, 0.4);
	--hrtn-num: #e4e6ea;

	--hrtn-radius: 16px;
	--hrtn-radius-sm: 12px;
	--hrtn-max: 1320px;

	box-sizing: border-box;
	display: block;
	background: var(--hrtn-bg);
	color: var(--hrtn-text);
	padding: clamp(30px, 4.5vw, 64px) clamp(12px, 2.4vw, 26px);
	font-family: inherit;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}

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

.hrtn[data-scheme="dark"],
html[data-theme="dark"] .hrtn[data-scheme="auto"],
html[data-mode="dark"] .hrtn[data-scheme="auto"],
html.dark .hrtn[data-scheme="auto"],
body.dark .hrtn[data-scheme="auto"],
body.dark-mode .hrtn[data-scheme="auto"],
body.theme-dark .hrtn[data-scheme="auto"] {
	--hrtn-bg: #0e1116;
	--hrtn-surface: #161a21;
	--hrtn-surface-2: #1d222b;
	--hrtn-text: #eef1f6;
	--hrtn-text-soft: #9aa4b2;
	--hrtn-text-mute: #6f7885;
	--hrtn-border: #242a34;
	--hrtn-border-soft: #1f242d;
	--hrtn-shadow: 0 14px 34px -26px rgba(0, 0, 0, 0.9);
	--hrtn-num: #2b323d;
}

@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]):not(.light) body:not(.light-mode) .hrtn[data-scheme="auto"] {
		--hrtn-bg: #0e1116;
		--hrtn-surface: #161a21;
		--hrtn-surface-2: #1d222b;
		--hrtn-text: #eef1f6;
		--hrtn-text-soft: #9aa4b2;
		--hrtn-text-mute: #6f7885;
		--hrtn-border: #242a34;
		--hrtn-border-soft: #1f242d;
		--hrtn-shadow: 0 14px 34px -26px rgba(0, 0, 0, 0.9);
		--hrtn-num: #2b323d;
	}
}

.hrtn__inner {
	max-width: var(--hrtn-max);
	margin-inline: auto;
}

/* ---------------------------------------------------------------
   2) سربرگ
   --------------------------------------------------------------- */
.hrtn__head {
	text-align: center;
	margin-bottom: clamp(16px, 2vw, 24px);
}

.hrtn__mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--hrtn-surface-2);
	color: var(--hrtn-text-soft);
	margin-bottom: 10px;
}

.hrtn__mark .hrtn-icon {
	width: 19px;
	height: 19px;
	opacity: 1;
}

.hrtn__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1.2vw, 16px);
	margin: 0 0 6px;
	padding: 0;
	font-size: clamp(20px, 2.5vw, 31px);
	font-weight: 800;
	line-height: 1.6;
	color: var(--hrtn-text);
}

.hrtn__title-text {
	letter-spacing: 0.01em;
}

.hrtn__bead {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--hrtn-accent);
	opacity: 0.85;
}

.hrtn__bead--sm {
	width: 6px;
	height: 6px;
	opacity: 0.45;
}

.hrtn__subtitle {
	margin: 0;
	padding: 0;
	font-size: clamp(12.5px, 1vw, 15px);
	color: var(--hrtn-text-soft);
}

/* ---------------------------------------------------------------
   3) نوار تب‌ها
   --------------------------------------------------------------- */
.hrtn__tabs {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-bottom: clamp(14px, 1.6vw, 20px);
}

.hrtn-tabs__bar {
	flex: 1 1 auto;
	min-width: 0;
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	border-radius: var(--hrtn-radius-sm);
	padding: 4px;
	order: 0;
}

.hrtn-tabs__strip {
	display: flex;
	align-items: stretch;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
}

.hrtn-tabs__strip::-webkit-scrollbar {
	display: none;
}

.hrtn-tab {
	flex: 1 1 auto;
	min-width: -moz-fit-content;
	min-width: fit-content;
	scroll-snap-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 9px;
	font-size: clamp(12.5px, 1vw, 14px);
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
	color: var(--hrtn-text-soft);
	text-decoration: none;
	transition: background-color 0.22s ease, color 0.22s ease;
}

.hrtn-tab:hover {
	background: var(--hrtn-surface-2);
	color: var(--hrtn-text);
}

.hrtn-tab.is-active {
	background: var(--hrtn-accent);
	color: #fff;
	box-shadow: 0 8px 18px -12px var(--hrtn-accent);
}

.hrtn-tab:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: 2px;
}

.hrtn-tabs__nav {
	order: 1;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: clamp(48px, 5vw, 72px);
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	border-radius: var(--hrtn-radius-sm);
	color: var(--hrtn-text-soft);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hrtn-tabs__nav--prev {
	order: -1;
}

.hrtn-tabs__nav:hover {
	background: var(--hrtn-surface-2);
	color: var(--hrtn-text);
}

.hrtn-tabs__nav[hidden] {
	display: none;
}

/* ---------------------------------------------------------------
   4) شبکه
   --------------------------------------------------------------- */
.hrtn__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr);
	grid-template-areas: "main side";
	gap: 16px;
	align-items: start;
}

.hrtn__main {
	grid-area: main;
}

.hrtn__side {
	grid-area: side;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ---------------------------------------------------------------
   5) پنل‌ها
   --------------------------------------------------------------- */
.hrtn-panel {
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	border-radius: var(--hrtn-radius);
	box-shadow: var(--hrtn-shadow);
	padding: 14px;
}

.hrtn-panel__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 4px 14px;
}

.hrtn-panel--news .hrtn-panel__head {
	justify-content: flex-start;
	padding-inline-start: 8px;
}

.hrtn-panel__icon {
	display: inline-grid;
	place-items: center;
	color: var(--hrtn-accent);
	order: -1;
}

.hrtn-panel__icon .hrtn-icon {
	width: 18px;
	height: 18px;
	opacity: 1;
}

.hrtn-panel__title {
	margin: 0;
	padding: 0;
	font-size: clamp(14px, 1.15vw, 16.5px);
	font-weight: 800;
	line-height: 1.8;
	color: var(--hrtn-text);
}

.hrtn-panel__foot {
	display: flex;
	justify-content: center;
	padding: 12px 4px 4px;
}

/* ---------------------------------------------------------------
   6) فهرست آخرین اخبار
   --------------------------------------------------------------- */
.hrtn-news {
	transition: opacity 0.2s ease;
}

.hrtn-news.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.hrtn-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-inline-start: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hrtn-news__item {
	position: relative;
	margin: 0;
	padding: 0;
}

/* نقطه خط زمانی */
.hrtn-news__item::after {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline-start: -26px;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	border-radius: 50%;
	background: var(--hrtn-accent);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	pointer-events: none;
}

.hrtn-news__item:hover::after {
	transform: scale(1.25);
	box-shadow: 0 0 0 4px var(--hrtn-accent-soft);
}

.hrtn-news__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: stretch;
	gap: clamp(10px, 1.4vw, 20px);
	padding: 8px 16px;
	border: 1px solid var(--hrtn-border-soft);
	border-radius: var(--hrtn-radius-sm);
	background: var(--hrtn-surface);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.hrtn-news__link:hover,
.hrtn-news__link:focus-visible {
	border-color: var(--hrtn-accent-soft);
	background: var(--hrtn-surface-2);
	transform: translateX(-3px);
	box-shadow: 0 10px 26px -22px rgba(15, 22, 30, 0.6);
}

.hrtn-news__link:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: 2px;
}

.hrtn-news__thumb {
	display: block;
	width: clamp(120px, 17vw, 232px);
	aspect-ratio: 21 / 10;
	border-radius: 10px;
	overflow: hidden;
	background: var(--hrtn-surface-2);
	order: -1;
}

.hrtn-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-news__link:hover .hrtn-news__thumb img {
	transform: scale(1.06);
}

.hrtn-news__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.hrtn-news__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(13.5px, 1.08vw, 15.5px);
	font-weight: 700;
	line-height: 1.8;
	color: var(--hrtn-text);
	transition: color 0.22s ease;
}

.hrtn-news__link:hover .hrtn-news__title {
	color: var(--hrtn-accent);
}

.hrtn-news__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(11.5px, 0.9vw, 12.5px);
	line-height: 1.8;
	color: var(--hrtn-text-soft);
}

.hrtn-news__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	flex: 0 0 auto;
}

.hrtn-news__empty {
	margin: 8px 0;
	padding: 26px 16px;
	text-align: center;
	color: var(--hrtn-text-soft);
	border: 1px dashed var(--hrtn-border);
	border-radius: var(--hrtn-radius-sm);
}

/* برچسب دسته و زمان */
.hrtn-chip {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 3px 10px;
	border-radius: 6px;
	background: var(--chip-bg, var(--hrtn-accent-soft));
	color: var(--chip-fg, var(--hrtn-accent-deep));
	font-size: 11px;
	font-weight: 700;
	line-height: 1.9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hrtn-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: var(--hrtn-text-mute);
	white-space: nowrap;
}

.hrtn-time .hrtn-icon {
	width: 13px;
	height: 13px;
	order: -1;
}

.hrtn-icon {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	opacity: 0.9;
}

/* ---------------------------------------------------------------
   7) پربازدیدترین‌ها
   --------------------------------------------------------------- */
.hrtn-pop {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hrtn-pop__item {
	margin: 0;
	padding: 0;
}

.hrtn-pop__link {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(8px, 1vw, 14px);
	padding: 10px 12px;
	border: 1px solid var(--hrtn-border-soft);
	border-radius: var(--hrtn-radius-sm);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-pop__link:hover,
.hrtn-pop__link:focus-visible {
	border-color: var(--hrtn-accent-soft);
	background: var(--hrtn-surface-2);
	transform: translateX(-3px);
}

.hrtn-pop__link:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: 2px;
}

.hrtn-pop__num {
	font-family: "Times New Roman", Georgia, serif;
	font-size: clamp(20px, 1.9vw, 27px);
	font-weight: 700;
	line-height: 1;
	min-width: 1.6em;
	text-align: center;
	color: var(--hrtn-num);
	font-variant-numeric: tabular-nums;
	transition: color 0.25s ease;
}

.hrtn-pop__item.is-first .hrtn-pop__num {
	color: var(--hrtn-accent);
}

.hrtn-pop__link:hover .hrtn-pop__num {
	color: var(--hrtn-accent);
}

.hrtn-pop__thumb {
	display: block;
	width: clamp(86px, 11vw, 164px);
	aspect-ratio: 5 / 2;
	border-radius: 9px;
	overflow: hidden;
	background: var(--hrtn-surface-2);
}

.hrtn-pop__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-pop__link:hover .hrtn-pop__thumb img {
	transform: scale(1.07);
}

.hrtn-pop__body {
	min-width: 0;
}

.hrtn-pop__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(12px, 0.95vw, 13.2px);
	font-weight: 700;
	line-height: 1.9;
	color: var(--hrtn-text);
	transition: color 0.22s ease;
}

.hrtn-pop__link:hover .hrtn-pop__title {
	color: var(--hrtn-accent);
}

/* ---------------------------------------------------------------
   8) یادداشت و تحلیل
   --------------------------------------------------------------- */
.hrtn-notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 12px;
}

.hrtn-note {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hrtn-border-soft);
	border-radius: var(--hrtn-radius-sm);
	padding: 8px;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.hrtn-note:hover {
	border-color: var(--hrtn-accent-soft);
	background: var(--hrtn-surface-2);
}

.hrtn-note__media {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: visible;
	margin-bottom: 26px;
}

.hrtn-note__media img {
	width: 100%;
	aspect-ratio: 21 / 10;
	object-fit: cover;
	display: block;
	border-radius: 10px;
}

.hrtn-note__badge {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--hrtn-accent);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.9;
}

.hrtn-note__avatar {
	position: absolute;
	bottom: -20px;
	inset-inline-start: 10px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--hrtn-surface-2);
	border: 3px solid var(--hrtn-surface);
	box-shadow: 0 6px 14px -8px rgba(15, 22, 30, 0.6);
	display: grid;
	place-items: center;
}

.hrtn-note__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.hrtn-note__avatar-fallback {
	font-size: 16px;
	font-weight: 800;
	color: var(--hrtn-accent);
}

.hrtn-note__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 2px;
}

.hrtn-note__title {
	margin: 0;
	padding: 0;
	font-size: clamp(12px, 0.95vw, 13px);
	font-weight: 700;
	line-height: 1.85;
}

.hrtn-note__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--hrtn-text);
	text-decoration: none;
	transition: color 0.22s ease;
}

.hrtn-note__title a:hover {
	color: var(--hrtn-accent);
}

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

/* ---------------------------------------------------------------
   9) دکمه‌ها
   --------------------------------------------------------------- */
.hrtn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 22px;
	border-radius: 10px;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hrtn-btn .hrtn-icon {
	width: 15px;
	height: 15px;
	opacity: 1;
	transition: transform 0.25s ease;
}

.hrtn-btn:hover .hrtn-icon {
	transform: translateX(-3px);
}

.hrtn-btn--ghost {
	min-width: 190px;
	border: 1px solid var(--hrtn-border);
	color: var(--hrtn-text-soft);
	background: transparent;
}

.hrtn-btn--ghost:hover,
.hrtn-btn--ghost:focus-visible {
	color: var(--hrtn-accent);
	border-color: var(--hrtn-accent-soft);
	background: var(--hrtn-accent-soft);
}

.hrtn-btn--primary {
	min-width: 260px;
	background: var(--hrtn-accent);
	color: #fff;
	box-shadow: 0 14px 26px -18px var(--hrtn-accent);
}

.hrtn-btn--primary:hover,
.hrtn-btn--primary:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.hrtn-btn:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: 2px;
}

.hrtn__footer {
	display: flex;
	justify-content: center;
	margin-top: clamp(16px, 2vw, 24px);
}

/* ---------------------------------------------------------------
   10) واکنش‌گرایی
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
	.hrtn__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"main"
			"side";
	}

	.hrtn__side {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		align-items: start;
	}
}

@media (max-width: 720px) {
	.hrtn-tab {
		flex: 0 0 auto;
	}

	.hrtn-news__link {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.hrtn-news__thumb {
		width: clamp(96px, 30vw, 140px);
	}

	.hrtn-news__meta {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.hrtn-news__excerpt {
		display: none;
	}

	.hrtn-news__list {
		padding-inline-start: 16px;
	}

	.hrtn-news__item::after {
		inset-inline-start: -22px;
		width: 10px;
		height: 10px;
		margin-top: -5px;
	}

	.hrtn-btn--primary,
	.hrtn-btn--ghost {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 420px) {
	.hrtn-pop__num {
		font-size: 17px;
		min-width: 1.3em;
	}

	.hrtn-pop__thumb {
		width: 74px;
	}
}

/* ---------------------------------------------------------------
   11) ترجیحات کاربر
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.hrtn *,
	.hrtn *::before,
	.hrtn *::after {
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.hrtn-news__link:hover,
	.hrtn-pop__link:hover {
		transform: none;
	}
}

@media print {
	.hrtn {
		background: #fff;
		padding: 0;
	}

	.hrtn__tabs,
	.hrtn__footer {
		display: none;
	}

	.hrtn-panel {
		box-shadow: none;
	}
}

/* ===============================================================
   بلوک «تحلیل و گزارش ویژه»
   =============================================================== */

.hrtn-rp .hrtn__head--plain {
	margin-bottom: clamp(18px, 2.2vw, 28px);
}

.hrtn-rp__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.67fr) minmax(0, 1fr);
	grid-template-areas: "feature aside";
	gap: 12px;
	align-items: stretch;
}

.hrtn-rp__feature {
	grid-area: feature;
	padding: clamp(12px, 1.5vw, 20px);
}

.hrtn-rp__aside {
	grid-area: aside;
	padding: clamp(12px, 1.4vw, 18px);
	display: flex;
	flex-direction: column;
}

/* --- کارت گزارش ویژه --- */
.hrtn-rp__media {
	position: relative;
	display: block;
	border-radius: var(--hrtn-radius-sm);
	overflow: hidden;
	background: var(--hrtn-surface-2);
}

.hrtn-rp__media img {
	width: 100%;
	aspect-ratio: 24 / 11;
	object-fit: cover;
	display: block;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-rp__feature:hover .hrtn-rp__media img {
	transform: scale(1.03);
}

.hrtn-rp__badge {
	position: absolute;
	top: 18px;
	inset-inline-end: 20px;
	padding: 6px 14px;
	border-radius: 8px;
	background: var(--hrtn-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
	box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.9);
}

.hrtn-rp__title {
	margin: clamp(14px, 1.6vw, 20px) 0 0;
	padding: 0;
	font-size: clamp(17px, 1.85vw, 26px);
	font-weight: 800;
	line-height: 1.75;
}

.hrtn-rp__title a {
	color: var(--hrtn-text);
	text-decoration: none;
	transition: color 0.22s ease;
}

.hrtn-rp__title a:hover {
	color: var(--hrtn-accent);
}

.hrtn-rp__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 10px 0 0;
	padding: 0;
	font-size: clamp(12.5px, 1vw, 14px);
	line-height: 2.1;
	color: var(--hrtn-text-soft);
}

.hrtn-rp__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(14px, 1.8vw, 22px);
}

/* در چیدمان راست‌به‌چپ، دکمه سمت چپ و اطلاعات مطلب سمت راست قرار می‌گیرد. */
.hrtn-rp__foot > .hrtn-btn {
	order: 2;
}

.hrtn-rp__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.hrtn-rp__meta > * + * {
	margin-inline-start: 14px;
	padding-inline-start: 14px;
	border-inline-start: 1px solid var(--hrtn-border);
}

.hrtn-btn--sm {
	padding: 11px 20px;
	min-width: 0;
	font-size: 12.5px;
}

/* --- فهرست تحلیل‌های کناری --- */
.hrtn-rp__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1 1 auto;
}

.hrtn-rp__item {
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.hrtn-rp__item-link {
	height: 100%;
}

.hrtn-rp__item-link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(10px, 1.2vw, 16px);
	padding: 6px;
	padding-inline-end: 14px;
	border: 1px solid var(--hrtn-border-soft);
	border-radius: var(--hrtn-radius-sm);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-rp__item-link:hover,
.hrtn-rp__item-link:focus-visible {
	border-color: var(--hrtn-accent-soft);
	background: var(--hrtn-surface-2);
	transform: translateX(-3px);
}

.hrtn-rp__item-link:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: 2px;
}

.hrtn-rp__item-thumb {
	display: block;
	width: clamp(112px, 13vw, 176px);
	border-radius: 10px;
	overflow: hidden;
	background: var(--hrtn-surface-2);
}

.hrtn-rp__item-thumb img {
	width: 100%;
	height: 100%;
	min-height: 118px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-rp__item-link:hover .hrtn-rp__item-thumb img {
	transform: scale(1.06);
}

.hrtn-rp__item-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding-block: 8px;
}

.hrtn-rp__label {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--hrtn-accent);
}

.hrtn-rp__item-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(13px, 1.02vw, 15px);
	font-weight: 700;
	line-height: 1.9;
	color: var(--hrtn-text);
	transition: color 0.22s ease;
}

.hrtn-rp__item-link:hover .hrtn-rp__item-title {
	color: var(--hrtn-accent);
}

.hrtn-rp__item-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hrtn-rp__sep {
	display: block;
	width: 1px;
	height: 12px;
	background: var(--hrtn-border);
}

/* --- سه کارت دسته‌بندی --- */
.hrtn-rp__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.hrtn-rp__card {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(8px, 1vw, 16px);
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	border-radius: var(--hrtn-radius);
	box-shadow: var(--hrtn-shadow);
	padding: clamp(14px, 1.5vw, 20px);
	min-height: 208px;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-rp__card:hover {
	border-color: var(--hrtn-accent-soft);
	transform: translateY(-3px);
}

.hrtn-rp__art {
	display: block;
	width: clamp(92px, 9.5vw, 138px);
	color: var(--hrtn-accent);
	opacity: 0.32;
	transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-rp__card:hover .hrtn-rp__art {
	opacity: 0.5;
	transform: scale(1.04);
}

.hrtn-rp__art svg {
	display: block;
	width: 100%;
	height: auto;
}

.hrtn-rp__card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	height: 100%;
}

.hrtn-rp__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.hrtn-rp__card-title {
	margin: 0;
	padding: 0;
	font-size: clamp(14px, 1.15vw, 16.5px);
	font-weight: 800;
	line-height: 1.8;
}

.hrtn-rp__card-title a {
	color: var(--hrtn-text);
	text-decoration: none;
	transition: color 0.22s ease;
}

.hrtn-rp__card-title a:hover {
	color: var(--hrtn-accent);
}

.hrtn-rp__card-title::after {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-top: 8px;
	margin-inline-end: auto;
	border-radius: 2px;
	background: var(--hrtn-accent);
}

.hrtn-rp__card-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--hrtn-accent-soft);
	color: var(--hrtn-accent);
}

.hrtn-rp__card-icon .hrtn-icon {
	width: 22px;
	height: 22px;
	opacity: 1;
}

.hrtn-rp__card-text {
	margin: 0;
	padding: 0;
	font-size: clamp(11.5px, 0.95vw, 13px);
	line-height: 2.1;
	color: var(--hrtn-text-soft);
}

.hrtn-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--hrtn-text-soft);
	text-decoration: none;
	transition: color 0.22s ease;
}

.hrtn-link .hrtn-icon {
	width: 14px;
	height: 14px;
	transition: transform 0.25s ease;
}

.hrtn-link:hover {
	color: var(--hrtn-accent);
}

.hrtn-link:hover .hrtn-icon {
	transform: translateX(-3px);
}

.hrtn-link:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.hrtn-rp__card .hrtn-link {
	margin-top: auto;
	align-self: flex-end;
}

.hrtn__footer--plain {
	margin-top: clamp(14px, 1.6vw, 20px);
}

.hrtn-link--lg {
	font-size: 13px;
}

/* --- واکنش‌گرایی بلوک گزارش‌ها --- */
@media (max-width: 1024px) {
	.hrtn-rp__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"feature"
			"aside";
	}

	.hrtn-rp__cards {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}

@media (max-width: 720px) {
	.hrtn-rp__foot {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.hrtn-rp__foot .hrtn-btn {
		justify-content: center;
		width: 100%;
	}

	.hrtn-rp__meta {
		justify-content: flex-start;
	}

	.hrtn-rp__item-thumb {
		width: clamp(96px, 32vw, 130px);
	}

	.hrtn-rp__item-thumb img {
		min-height: 96px;
	}

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

	.hrtn-rp__art {
		width: 84px;
	}
}

@media (max-width: 420px) {
	.hrtn-rp__meta > * + * {
		margin-inline-start: 10px;
		padding-inline-start: 10px;
	}
}

@media (max-width: 1024px) {
	.hrtn-rp__grid {
		align-items: start;
	}

	.hrtn-rp__item {
		flex: 0 0 auto;
	}
}

@media (max-width: 720px) {
	.hrtn-rp__sep {
		display: none;
	}

	.hrtn-rp__item-meta {
		gap: 4px 12px;
	}
}

/* ===============================================================
   بلوک «دیدگاه تحلیلگران و کارشناسان» + موضوعات ویژه + خبرنامه
   =============================================================== */

.hrtn-ex {
	--hrtn-ink: #181e26;
	--hrtn-ink-2: #0d171e;
	--hrtn-ink-soft: rgba(255, 255, 255, 0.72);
	--hrtn-ink-line: rgba(255, 255, 255, 0.12);
}

/* --- نوار بالای بخش --- */
.hrtn-ex__topbar {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 56px;
	margin-bottom: clamp(16px, 2vw, 26px);
}

.hrtn-ex__topbar .hrtn__head {
	margin-bottom: 0;
	max-width: 640px;
}

.hrtn-ex__topbar > .hrtn-btn {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
}

.hrtn-ex__dots--corner {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: 96px;
	height: 62px;
	color: var(--hrtn-accent);
	opacity: 0.35;
}

.hrtn-ex__dots {
	display: block;
	width: 100%;
	height: 26px;
	color: currentColor;
	background-image: radial-gradient(currentColor 1.15px, transparent 1.25px);
	background-size: 8px 8px;
	opacity: 0.5;
}

.hrtn-ex__qm {
	display: inline-flex;
	color: var(--hrtn-accent);
}

.hrtn-ex__qm .hrtn-icon {
	width: 20px;
	height: 20px;
	opacity: 1;
}

.hrtn-ex__qm--flip {
	transform: rotate(180deg);
}

.hrtn__title--sm {
	font-size: clamp(17px, 1.7vw, 22px);
}

.hrtn-tp__mark {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--hrtn-accent-soft);
	color: var(--hrtn-accent);
}

.hrtn-tp__mark .hrtn-icon {
	width: 17px;
	height: 17px;
	opacity: 1;
}

/* --- دکمه‌ها --- */
.hrtn-btn--outline {
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	color: var(--hrtn-text-soft);
	padding: 10px 18px;
	font-size: 12.5px;
}

.hrtn-btn--outline:hover,
.hrtn-btn--outline:focus-visible {
	color: var(--hrtn-accent);
	border-color: var(--hrtn-accent-soft);
	background: var(--hrtn-accent-soft);
}

.hrtn-btn--accent {
	background: var(--hrtn-accent);
	color: #fff;
	box-shadow: 0 14px 26px -18px var(--hrtn-accent);
}

.hrtn-btn--accent:hover,
.hrtn-btn--accent:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	filter: brightness(1.07);
}

.hrtn-link--accent {
	color: var(--hrtn-accent);
}

/* --- شبکه اصلی --- */
.hrtn-ex__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.58fr);
	grid-template-areas: "aside card";
	gap: 12px;
	align-items: stretch;
}

/* --- کارت تیره یادداشت ویژه --- */
.hrtn-ex__card {
	grid-area: card;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
	grid-template-areas: "expert note";
	gap: clamp(10px, 1.4vw, 22px);
	padding: clamp(16px, 1.8vw, 26px);
	border-radius: var(--hrtn-radius);
	background:
		radial-gradient(120% 140% at 15% 0%, #1f2833 0%, rgba(31, 40, 51, 0) 60%),
		linear-gradient(160deg, #1b222c 0%, #12181f 100%);
	color: #fff;
	min-height: 340px;
}

.hrtn-ex__card--portrait {
	grid-template-columns: minmax(0, 0.85fr) minmax(120px, 0.7fr) minmax(0, 1.25fr);
	grid-template-areas: "expert photo note";
}

.hrtn-ex__card.is-photoless {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	grid-template-areas: "expert note";
}

/* وقتی نقل‌قولی وارد نشده، کارت نویسنده به گوشه پایین می‌چسبد. */
.hrtn-ex__card.has-no-quote .hrtn-ex__expert {
	justify-content: flex-end;
}

/* کارت گوشه‌ای نویسنده */
.hrtn-ex__author {
	display: flex;
	align-self: flex-start;
	align-items: center;
	gap: 13px;
	max-width: 100%;
	margin: 0;
	padding: 11px 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.hrtn-ex__card:hover .hrtn-ex__author {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
}

.hrtn-ex__author-photo {
	position: relative;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: clamp(54px, 5vw, 70px);
	height: clamp(54px, 5vw, 70px);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14), 0 12px 24px -14px rgba(0, 0, 0, 0.95);
}

.hrtn-ex__author-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hrtn-ex__author-initial {
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	color: var(--hrtn-accent);
}

.hrtn-ex__author-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.hrtn-ex__author .hrtn-ex__name,
.hrtn-ex__author .hrtn-ex__role {
	display: block;
}

.hrtn-ex__author .hrtn-ex__name {
	font-size: clamp(13.5px, 1.15vw, 16px);
	line-height: 1.8;
}

.hrtn-ex__author .hrtn-ex__role {
	font-size: clamp(10.5px, 0.88vw, 12px);
	line-height: 1.8;
}

.hrtn-ex__chart {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 0;
	height: 78%;
	color: var(--hrtn-accent);
	opacity: 0.14;
	pointer-events: none;
}

.hrtn-ex__chart svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hrtn-ex__expert {
	grid-area: expert;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding-block: 12px;
}

.hrtn-ex__name {
	margin: 0;
	padding: 0;
	font-size: clamp(15px, 1.35vw, 19px);
	font-weight: 800;
	line-height: 1.9;
	color: #fff;
}

.hrtn-ex__role {
	margin: 0;
	padding: 0;
	font-size: clamp(11.5px, 0.95vw, 13px);
	line-height: 1.95;
	color: var(--hrtn-ink-soft);
}

.hrtn-ex__bigq {
	display: block;
	margin: 14px 0 4px;
	color: var(--hrtn-ink-line);
}

.hrtn-ex__bigq .hrtn-icon {
	width: 34px;
	height: 34px;
	opacity: 1;
	transform: rotate(180deg);
}

.hrtn-ex__quote {
	margin: 0;
	padding: 2px 14px 2px 0;
	border-inline-start: 2px solid var(--hrtn-accent);
	font-size: clamp(11.5px, 0.98vw, 13.5px);
	line-height: 2.15;
	color: rgba(255, 255, 255, 0.86);
}

.hrtn-ex__photo {
	grid-area: photo;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	align-self: stretch;
	margin-bottom: calc(-1 * clamp(16px, 1.8vw, 26px));
}

.hrtn-ex__photo img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	object-position: bottom;
	display: block;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}

.hrtn-ex__note {
	grid-area: note;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
}

.hrtn-ex__note .hrtn-btn {
	margin-top: auto;
}

.hrtn-ex__badge {
	display: inline-flex;
	align-self: flex-end;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: 9px;
	background: rgba(228, 106, 2, 0.16);
	background: color-mix(in srgb, var(--hrtn-accent) 18%, transparent);
	border: 1px solid var(--hrtn-accent);
	color: var(--hrtn-accent);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.8;
}

.hrtn-ex__badge .hrtn-icon {
	width: 14px;
	height: 14px;
	opacity: 1;
}

.hrtn-ex__note-title {
	margin: 4px 0 0;
	padding: 0;
	font-size: clamp(18px, 1.9vw, 27px);
	font-weight: 800;
	line-height: 1.75;
}

.hrtn-ex__note-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.22s ease;
}

.hrtn-ex__note-title a:hover {
	color: var(--hrtn-accent);
}

.hrtn-ex__note-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-size: clamp(11.5px, 0.98vw, 13.5px);
	line-height: 2.15;
	color: var(--hrtn-ink-soft);
}

.hrtn-ex__note-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}

.hrtn-ex__note-meta li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px;
	border-radius: 9px;
	border: 1px solid var(--hrtn-ink-line);
	background: rgba(255, 255, 255, 0.05);
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
}

.hrtn-ex__note-meta .hrtn-icon {
	width: 14px;
	height: 14px;
	opacity: 0.85;
}

.hrtn-ex__note .hrtn-btn {
	margin-top: 6px;
}

/* --- فهرست کناری --- */
.hrtn-ex__aside {
	grid-area: aside;
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.hrtn-ex__list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.hrtn-ex__item {
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.hrtn-ex__item + .hrtn-ex__item {
	border-top: 1px solid var(--hrtn-border-soft);
}

.hrtn-ex__item-link {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(10px, 1.2vw, 16px);
	height: 100%;
	padding: clamp(12px, 1.3vw, 16px);
	text-decoration: none;
	color: inherit;
	transition: background-color 0.25s ease;
}

.hrtn-ex__item-link:hover,
.hrtn-ex__item-link:focus-visible {
	background: var(--hrtn-surface-2);
}

.hrtn-ex__item-link:focus-visible {
	outline: 2px solid var(--hrtn-accent);
	outline-offset: -2px;
}

.hrtn-ex__rank {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: clamp(44px, 4.4vw, 62px);
	color: var(--rank, var(--hrtn-accent));
}

.hrtn-ex__rank-num {
	font-family: "Times New Roman", Georgia, serif;
	font-size: clamp(20px, 1.9vw, 28px);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.hrtn-ex__rank .hrtn-ex__dots {
	height: 16px;
	opacity: 0.4;
	background-size: 6px 6px;
}

.hrtn-ex__avatar {
	display: grid;
	place-items: center;
	width: clamp(52px, 5.4vw, 74px);
	height: clamp(52px, 5.4vw, 74px);
	border-radius: 14px;
	overflow: hidden;
	background: var(--hrtn-surface-2);
	color: var(--hrtn-text-mute);
	flex: 0 0 auto;
}

.hrtn-ex__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hrtn-ex__item-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.hrtn-ex__item-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(12.5px, 1vw, 14.5px);
	font-weight: 700;
	line-height: 1.9;
	color: var(--hrtn-text);
	transition: color 0.22s ease;
}

.hrtn-ex__item-link:hover .hrtn-ex__item-title {
	color: var(--hrtn-accent);
}

.hrtn-ex__item-author {
	font-size: 11.5px;
	color: var(--hrtn-text-soft);
}

.hrtn-ex__item-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}

.hrtn-ex__aside-foot {
	display: flex;
	justify-content: center;
	padding: 12px;
	border-top: 1px solid var(--hrtn-border-soft);
}

/* --- اسلایدر موضوعات ویژه --- */
.hrtn-tp {
	margin-top: clamp(20px, 2.6vw, 34px);
}

.hrtn-tp__viewport {
	position: relative;
}

.hrtn-tp__track {
	list-style: none;
	margin: 0;
	padding: 4px 0 8px;
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.hrtn-tp__track::-webkit-scrollbar {
	display: none;
}

.hrtn-tp__item {
	flex: 0 0 clamp(220px, 19vw, 278px);
	scroll-snap-align: start;
	margin: 0;
	padding: 0;
}

.hrtn-tp__card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	border-radius: var(--hrtn-radius);
	box-shadow: var(--hrtn-shadow);
	padding: 8px;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.hrtn-tp__card:hover {
	transform: translateY(-4px);
	border-color: var(--hrtn-accent-soft);
}

.hrtn-tp__media {
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	background: var(--hrtn-surface-2);
}

.hrtn-tp__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hrtn-tp__card:hover .hrtn-tp__img {
	transform: scale(1.05);
}

.hrtn-tp__badge {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	padding: 4px 10px;
	border-radius: 7px;
	background: rgba(12, 16, 22, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.85;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.hrtn-tp__icon {
	position: absolute;
	bottom: 10px;
	inset-inline-start: 10px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--c, var(--hrtn-accent));
	color: #fff;
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.8);
}

.hrtn-tp__icon .hrtn-icon {
	width: 19px;
	height: 19px;
	opacity: 1;
}

.hrtn-tp__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	padding: 14px 8px 6px;
	text-align: center;
}

.hrtn-tp__title {
	margin: 0;
	padding: 0;
	font-size: clamp(13.5px, 1.08vw, 15.5px);
	font-weight: 800;
	line-height: 1.85;
}

.hrtn-tp__title a {
	color: var(--hrtn-text);
	text-decoration: none;
	transition: color 0.22s ease;
}

.hrtn-tp__title a:hover {
	color: var(--hrtn-accent);
}

.hrtn-tp__text {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-size: clamp(11.5px, 0.92vw, 12.5px);
	line-height: 2;
	color: var(--hrtn-text-soft);
}

.hrtn-tp__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--hrtn-border-soft);
}

.hrtn-tp__nav {
	position: absolute;
	top: 42%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hrtn-surface);
	border: 1px solid var(--hrtn-border);
	color: var(--hrtn-text-soft);
	box-shadow: 0 12px 24px -16px rgba(15, 22, 30, 0.7);
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hrtn-tp__nav:hover {
	color: var(--hrtn-accent);
	border-color: var(--hrtn-accent-soft);
	transform: scale(1.06);
}

.hrtn-tp__nav[hidden] {
	display: none;
}

.hrtn-tp__nav--prev {
	inset-inline-start: -6px;
}

.hrtn-tp__nav--next {
	inset-inline-end: -6px;
}

.hrtn-tp__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 10px;
}

.hrtn-tp__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--hrtn-border);
	cursor: pointer;
	transition: width 0.25s ease, background-color 0.25s ease;
}

.hrtn-tp__dot.is-active {
	width: 22px;
	border-radius: 5px;
	background: var(--hrtn-accent);
}

/* --- نوار خبرنامه --- */
.hrtn-nl {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 30px);
	margin-top: clamp(18px, 2.4vw, 30px);
	padding: clamp(16px, 1.8vw, 24px) clamp(16px, 2vw, 28px);
	border-radius: var(--hrtn-radius);
	background: linear-gradient(140deg, #16202a 0%, #0b131a 100%);
	color: #fff;
}

.hrtn-nl__art {
	flex: 0 0 auto;
	width: clamp(72px, 8vw, 116px);
	color: var(--hrtn-accent);
	opacity: 0.9;
}

.hrtn-nl__art svg {
	width: 100%;
	height: auto;
	display: block;
}

.hrtn-nl__perks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: flex-start;
	gap: clamp(10px, 1.4vw, 22px);
	flex: 0 0 auto;
}

.hrtn-nl__perks li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: clamp(64px, 6.5vw, 92px);
	text-align: center;
	font-size: 10.5px;
	line-height: 1.7;
	color: var(--hrtn-ink-soft);
}

.hrtn-nl__perks .hrtn-icon {
	width: 19px;
	height: 19px;
	color: var(--hrtn-accent);
	opacity: 1;
}

.hrtn-nl__text {
	flex: 1 1 auto;
	min-width: 0;
}

.hrtn-nl__title {
	margin: 0;
	padding: 0;
	font-size: clamp(14px, 1.35vw, 19px);
	font-weight: 800;
	line-height: 1.85;
	color: #fff;
}

.hrtn-nl__subtitle {
	margin: 4px 0 0;
	padding: 0;
	font-size: clamp(11px, 0.92vw, 12.5px);
	line-height: 1.95;
	color: var(--hrtn-ink-soft);
}

.hrtn-nl__form {
	flex: 0 0 clamp(280px, 30vw, 420px);
	margin: 0;
}

.hrtn-nl__row {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 10px;
	overflow: hidden;
}

.hrtn-nl__field {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	padding-inline: 12px;
	min-width: 0;
}

.hrtn-nl__field .hrtn-icon {
	width: 16px;
	height: 16px;
	color: #8b93a0;
	opacity: 1;
	flex: 0 0 auto;
}

.hrtn-nl__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 12px 0;
	font: inherit;
	font-size: 12.5px;
	color: #14181d;
	text-align: start;
}

.hrtn-nl__input::placeholder {
	color: #9aa1ab;
}

.hrtn-nl__submit {
	flex: 0 0 auto;
	border-radius: 8px;
	margin: 4px;
	padding: 9px 20px;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 12.5px;
	font-weight: 700;
}

.hrtn-nl__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.hrtn-nl__note {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.58);
}

.hrtn-nl__note .hrtn-icon {
	width: 13px;
	height: 13px;
	opacity: 0.8;
}

.hrtn-nl__msg {
	margin: 6px 0 0;
	padding: 0;
	font-size: 11.5px;
	line-height: 1.9;
	min-height: 0;
	color: var(--hrtn-accent);
}

.hrtn-nl__msg.is-error {
	color: #ff8f8f;
}

.hrtn-nl__msg.is-ok {
	color: #6fe0a8;
}

.hrtn-nl__form.is-busy {
	opacity: 0.65;
	pointer-events: none;
}

/* --- واکنش‌گرایی --- */
@media (max-width: 1180px) {
	.hrtn-nl {
		flex-wrap: wrap;
	}

	.hrtn-nl__form {
		flex: 1 1 320px;
	}
}

@media (max-width: 1080px) {
	.hrtn-ex__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"card"
			"aside";
	}

	.hrtn-ex__item {
		flex: 0 0 auto;
	}
}

@media (max-width: 900px) {
	.hrtn-ex__topbar {
		flex-direction: column;
		align-items: center;
		gap: 14px;
	}

	.hrtn-ex__topbar > .hrtn-btn {
		position: static;
	}

	.hrtn-ex__dots--corner {
		display: none;
	}

	.hrtn-ex__card--portrait {
		grid-template-columns: minmax(0, 1fr) minmax(110px, 0.6fr);
		grid-template-areas:
			"expert photo"
			"note note";
	}

	.hrtn-ex__card--corner,
	.hrtn-ex__card.is-photoless {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"note"
			"expert";
	}

	.hrtn-ex__photo {
		margin-bottom: 0;
	}

	.hrtn-ex__photo img {
		max-height: 220px;
	}
}

@media (max-width: 600px) {
	.hrtn-ex__card,
	.hrtn-ex__card--portrait,
	.hrtn-ex__card--corner,
	.hrtn-ex__card.is-photoless {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"note"
			"expert";
		min-height: 0;
	}

	.hrtn-ex__photo {
		display: none;
	}

	.hrtn-ex__note .hrtn-btn,
	.hrtn-ex__topbar > .hrtn-btn {
		width: 100%;
		justify-content: center;
	}

	.hrtn-ex__author {
		align-self: flex-start;
	}

	.hrtn-ex__rank {
		width: 36px;
	}

	.hrtn-ex__rank .hrtn-ex__dots {
		display: none;
	}

	.hrtn-nl {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	/* در چیدمان ستونی، flex-basis روی ارتفاع اثر می‌گذارد. */
	.hrtn-nl__form {
		flex: 0 0 auto;
		width: 100%;
	}

	.hrtn-nl__art {
		align-self: center;
	}

	.hrtn-nl__perks {
		justify-content: center;
		flex-wrap: wrap;
	}

	.hrtn-nl__note {
		justify-content: center;
	}

	.hrtn-tp__nav {
		display: none;
	}
}

/* متن مخصوص صفحه‌خوان (مستقل از کلاس‌های قالب) */
.hrtn-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
