/*
Theme Name: عصر همگرایی
Theme URI: https://asrhamgaraei.ir/
Author: عصر همگرایی
Description: پوسته خبری سبک، راست‌به‌چپ و واکنش‌گرا برای پایگاه خبری عصر همگرایی.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: asrhamgaraei
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--asrh-brand: #c90038;
	--asrh-nav: #650136;
	--asrh-accent: #d90429;
	--asrh-page: #edeff4;
	--asrh-ink: #1e2024;
	--asrh-muted: #8d99ae;
	--asrh-subtle: #646363;
	--asrh-border: #dee2e6;
	--asrh-white: #fff;
	--asrh-radius: 4px;
	--asrh-image-radius: 8px;
	--asrh-shadow: 0 2px 8px rgba(22, 28, 35, .06);
	--asrh-container: 1200px;
	--asrh-transition: 180ms ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	direction: rtl;
	margin: 0;
	background: var(--asrh-page);
	color: var(--asrh-ink);
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .asrh-navigation.is-open {
	top: 46px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--asrh-image-radius);
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(217, 4, 41, .32);
	outline-offset: 3px;
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin-top: 0;
}

.asrh-container {
	width: min(calc(100% - 32px), var(--asrh-container));
	margin-inline: auto;
}

.asrh-skip-link {
	position: fixed;
	top: -100px;
	right: 16px;
	z-index: 9999;
	padding: 8px 14px;
	background: var(--asrh-white);
	color: var(--asrh-ink);
	border: 2px solid var(--asrh-accent);
}

.asrh-skip-link:focus {
	top: 12px;
}

/* Header */
.asrh-brandbar {
	background: var(--asrh-brand);
	color: var(--asrh-white);
}

.asrh-brandbar__inner {
	display: flex;
	min-height: 114px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.asrh-logo,
.asrh-footer-logo {
	display: block;
	flex: 0 0 auto;
}

.asrh-logo img {
	width: 104px;
	height: 104px;
	object-fit: contain;
}

.asrh-date {
	display: flex;
	direction: rtl;
	align-items: center;
	gap: 7px;
	font-size: .86rem;
	font-weight: 700;
	white-space: nowrap;
}

.asrh-navbar {
	position: relative;
	z-index: 20;
	background: var(--asrh-nav);
	color: var(--asrh-white);
}

.asrh-navbar__inner {
	min-height: 54px;
	display: flex;
	align-items: center;
}

.asrh-navigation {
	width: 100%;
}

.asrh-menu,
.asrh-navigation > ul,
.asrh-footer-menu {
	display: flex;
	padding: 0;
	margin: 0;
	align-items: stretch;
	list-style: none;
}

.asrh-menu > li,
.asrh-navigation > ul > li {
	position: relative;
}

.asrh-menu > li > a,
.asrh-navigation > ul > li > a {
	display: flex;
	min-height: 54px;
	padding: 0 18px;
	align-items: center;
	font-size: .92rem;
	font-weight: 700;
	transition: background var(--asrh-transition), color var(--asrh-transition);
}

.asrh-menu > li:hover > a,
.asrh-navigation > ul > li:hover > a,
.asrh-menu > .current-menu-item > a,
.asrh-navigation > ul > .current-menu-item > a {
	background: rgba(255, 255, 255, .1);
	box-shadow: inset 0 -4px 0 var(--asrh-accent);
}

.asrh-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 190px;
	padding: 6px 0;
	margin: 0;
	background: var(--asrh-nav);
	list-style: none;
	box-shadow: var(--asrh-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all var(--asrh-transition);
}

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

.asrh-menu .sub-menu a {
	display: block;
	padding: 8px 14px;
	font-size: .85rem;
}

.asrh-menu .sub-menu a:hover {
	background: rgba(255, 255, 255, .1);
}

.asrh-menu-toggle {
	display: none;
	padding: 8px 0;
	align-items: center;
	gap: 9px;
	border: 0;
	background: transparent;
	color: var(--asrh-white);
	cursor: pointer;
}

.asrh-menu-toggle__lines {
	display: grid;
	gap: 4px;
}

.asrh-menu-toggle__lines i {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--asrh-muted);
}

/* Shared editorial components */
.asrh-main {
	min-height: 55vh;
}

.asrh-section,
.asrh-panel {
	margin-bottom: 20px;
}

.asrh-section-title {
	display: flex;
	min-height: 62px;
	padding: 13px 17px;
	align-items: center;
	justify-content: space-between;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	border-right: 5px solid var(--asrh-accent);
	color: var(--asrh-accent);
	font-size: clamp(1.2rem, 2vw, 1.48rem);
	font-weight: 800;
	line-height: 1.35;
}

.asrh-section-title a {
	color: inherit;
}

.asrh-card {
	min-width: 0;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	box-shadow: var(--asrh-shadow);
}

.asrh-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--asrh-nav);
	border-radius: var(--asrh-image-radius);
}

.asrh-card__image > img,
.asrh-card__image > .asrh-image-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 280ms ease;
}

.asrh-card:hover .asrh-card__image > img {
	transform: scale(1.025);
}

.asrh-card__body {
	min-height: 116px;
	padding: 16px;
}

.asrh-card__body h3 {
	margin: 0 0 10px;
	font-size: 1rem;
	line-height: 1.8;
}

.asrh-card__body h3 a:hover,
.asrh-compact-item__title:hover {
	color: var(--asrh-accent);
}

.asrh-card time,
.asrh-compact-item time {
	display: block;
	color: var(--asrh-muted);
	font-size: .72rem;
}

.asrh-image-fallback {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--asrh-nav), var(--asrh-brand));
}

.asrh-image-fallback img {
	width: min(38%, 112px);
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .2));
}

/* Homepage hero */
.asrh-hero {
	width: 100%;
	background: #16181d;
}

.asrh-hero-grid {
	display: grid;
	max-width: 1600px;
	min-height: 490px;
	margin: 0 auto;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	direction: rtl;
}

.asrh-hero-story {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--asrh-image-radius);
}

.asrh-hero-story--lead {
	grid-row: 1 / 3;
}

.asrh-hero-grid--count-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.asrh-hero-grid--count-2 {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr;
}

.asrh-hero-grid--count-1 .asrh-hero-story--lead,
.asrh-hero-grid--count-2 .asrh-hero-story--lead {
	grid-row: auto;
}

.asrh-hero-story__link,
.asrh-hero-story__link > img,
.asrh-hero-story__link > .asrh-image-fallback {
	display: block;
	width: 100%;
	height: 100%;
}

.asrh-hero-story__link > img {
	object-fit: cover;
	transition: transform 420ms ease;
}

.asrh-hero-story:hover .asrh-hero-story__link > img {
	transform: scale(1.02);
}

.asrh-hero-story__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 42%, rgba(30, 32, 36, .95) 100%);
	pointer-events: none;
}

.asrh-hero-story__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	padding: 24px;
	flex-direction: column;
	gap: 6px;
	color: var(--asrh-white);
}

.asrh-hero-story__content time {
	font-size: .78rem;
	opacity: .9;
}

.asrh-hero-story__content strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: clamp(1.05rem, 2vw, 1.55rem);
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.asrh-hero-story--lead .asrh-hero-story__content {
	padding: 34px;
}

.asrh-hero-story--lead .asrh-hero-story__content strong {
	font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

/* Homepage body */
.asrh-home-layout {
	display: grid;
	padding-top: 20px;
	grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
	gap: 20px;
}

.asrh-service-layout .asrh-listing {
	padding-top: 0;
}

.asrh-service-layout .asrh-listing-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asrh-special-grid {
	display: grid;
	padding-top: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.asrh-editor-grid {
	display: grid;
	padding: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	border-top: 0;
}

.asrh-editor-grid .asrh-card {
	border: 0;
	box-shadow: none;
}

.asrh-editor-grid .asrh-card__body {
	padding: 12px 4px 2px;
}

.asrh-editor-grid .asrh-card__body h3 {
	font-size: .88rem;
	line-height: 1.7;
}

.asrh-star-list,
.asrh-compact-list {
	padding: 10px 16px;
	margin: 0;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	border-top: 0;
	list-style: none;
}

.asrh-star-list li {
	position: relative;
	padding: 12px 28px 12px 0;
	border-bottom: 1px solid var(--asrh-border);
	font-size: .9rem;
	line-height: 1.75;
}

.asrh-star-list li:last-child {
	border-bottom: 0;
}

.asrh-star-list li::before {
	position: absolute;
	top: 13px;
	right: 2px;
	content: "★";
	color: var(--asrh-accent);
}

.asrh-star-list a:hover {
	color: var(--asrh-accent);
}

.asrh-compact-item {
	display: grid;
	padding: 12px 0;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	border-bottom: 1px solid var(--asrh-border);
}

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

.asrh-compact-item__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--asrh-image-radius);
}

.asrh-compact-item__image img,
.asrh-compact-item__image .asrh-image-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asrh-compact-item__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: .83rem;
	font-weight: 700;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.asrh-compact-list--text .asrh-compact-item {
	grid-template-columns: minmax(0, 1fr);
}

.asrh-compact-list--text .asrh-compact-item__title {
	-webkit-line-clamp: 2;
}

.asrh-panel--sticky {
	position: sticky;
	top: 16px;
}

/* Article */
.asrh-article-layout {
	display: grid;
	padding-top: 20px;
	padding-bottom: 32px;
	grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr);
	gap: 20px;
}

.asrh-article {
	min-width: 0;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	box-shadow: var(--asrh-shadow);
}

.asrh-article__tools {
	display: flex;
	padding: 14px 20px 0;
	gap: 8px;
}

.asrh-share {
	position: relative;
}

.asrh-share__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 30;
	display: grid;
	min-width: 154px;
	padding: 6px;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	border-radius: var(--asrh-radius);
	box-shadow: 0 10px 28px rgba(22, 28, 35, .16);
}

.asrh-share__menu[hidden] {
	display: none;
}

.asrh-share__menu a {
	padding: 8px 10px;
	border-radius: 3px;
	color: var(--asrh-ink);
	font-size: .84rem;
	font-weight: 600;
}

.asrh-share__menu a:hover,
.asrh-share__menu a:focus-visible {
	background: #f3f4f7;
	color: var(--asrh-accent);
}

.asrh-tool-button {
	display: inline-flex;
	min-height: 36px;
	padding: 6px 11px;
	align-items: center;
	gap: 7px;
	background: #f3f4f7;
	color: var(--asrh-subtle);
	border: 1px solid transparent;
	border-radius: var(--asrh-radius);
	cursor: pointer;
	transition: all var(--asrh-transition);
}

.asrh-tool-button:hover {
	color: var(--asrh-accent);
	border-color: var(--asrh-border);
}

.asrh-tool-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.asrh-article__header {
	padding: 6px 20px 0;
}

.asrh-article__header h1 {
	margin: 12px 0 18px;
	font-size: clamp(1.75rem, 2.8vw, 2.3rem);
	line-height: 1.55;
}

.asrh-article__lead {
	padding: 14px 18px;
	margin-bottom: 18px;
	background: #f7f9fc;
	border: 1px solid #d8e0eb;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-weight: 500;
	line-height: 1.85;
	text-align: justify;
}

.asrh-article__lead p {
	margin: 0 0 12px;
}

.asrh-article__lead p:last-child {
	margin-bottom: 0;
}

.asrh-article__image {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eceff3;
	border-radius: var(--asrh-image-radius);
}

.asrh-article__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asrh-article__byline {
	display: flex;
	padding: 12px 2px 10px;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: var(--asrh-subtle);
	border-bottom: 1px solid var(--asrh-border);
	font-size: .82rem;
	line-height: 1.8;
}

.asrh-article__byline a {
	color: var(--asrh-accent);
	font-weight: 650;
}

.asrh-article__content {
	padding: 8px 24px 18px;
	font-size: 1.08rem;
	line-height: 2.15;
}

.asrh-article__content > p {
	margin: 20px 0;
	text-align: justify;
}

.asrh-article__content > p:first-child {
	margin-top: 14px;
}

.asrh-source-prefix {
	color: var(--asrh-accent);
	font-weight: 800;
}

.asrh-article__content h2,
.asrh-article__content h3,
.asrh-article__content h4 {
	margin: 28px 0 12px;
	line-height: 1.65;
}

.asrh-article__content a:not(.asrh-inline-best a):not(.asrh-star-list a) {
	color: var(--asrh-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.asrh-article__content blockquote {
	padding: 12px 18px;
	margin: 24px 0;
	background: #f7f7f8;
	border-right: 4px solid var(--asrh-accent);
}

.asrh-article__content iframe,
.asrh-article__content video {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.asrh-article__content iframe {
	aspect-ratio: 16 / 9;
}

.asrh-article__content video {
	/* Use poster/video dimensions when known; 16:9 is only the fallback. */
	aspect-ratio: auto 16 / 9;
}

.asrh-article__content video,
.asrh-article__content .asrh-video-player,
.asrh-article__content .wp-block-video video,
.asrh-article__content .asr-migrated-video video {
	margin: 24px auto;
	background: #111;
	object-fit: contain;
}

.asrh-article__content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.asrh-article__content th,
.asrh-article__content td {
	padding: 8px;
	border: 1px solid var(--asrh-border);
}

.asrh-inline-others,
.asrh-inline-best {
	clear: both;
	margin: 28px 0 12px;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
	border-radius: var(--asrh-radius);
	overflow: hidden;
}

.asrh-inline-others h2,
.asrh-inline-best h2,
.asrh-related h2,
.asrh-comments h2,
.asrh-comments .comment-reply-title {
	padding: 10px 14px;
	margin: 0;
	color: var(--asrh-accent);
	border-right: 4px solid var(--asrh-accent);
	font-size: 1.25rem;
	line-height: 1.4;
}

.asrh-inline-others .asrh-star-list {
	border: 0;
}

.asrh-inline-best__list {
	padding: 0 16px 4px;
}

.asrh-inline-best__item {
	display: grid;
	min-height: 154px;
	padding: 16px 0;
	align-items: center;
	grid-template-columns: minmax(220px, 44%) minmax(0, 1fr);
	gap: 18px;
	border-bottom: 1px solid var(--asrh-border);
}

.asrh-inline-best__item:last-child {
	border-bottom: 0;
}

.asrh-inline-best__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eceff3;
	border-radius: var(--asrh-image-radius);
}

.asrh-inline-best__thumb > img,
.asrh-inline-best__thumb > .asrh-image-fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--asrh-transition);
}

.asrh-inline-best__title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.9;
	transition: color var(--asrh-transition);
}

.asrh-inline-best__item:hover .asrh-inline-best__thumb > img,
.asrh-inline-best__item:focus-visible .asrh-inline-best__thumb > img {
	transform: scale(1.02);
}

.asrh-inline-best__item:hover .asrh-inline-best__title,
.asrh-inline-best__item:focus-visible .asrh-inline-best__title {
	color: var(--asrh-accent);
}

.asrh-article__footer {
	padding: 0 24px 24px;
}

.asrh-tags {
	display: flex;
	padding: 14px 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	border-top: 1px solid var(--asrh-border);
}

.asrh-tags a {
	padding: 3px 10px;
	background: #eef1f5;
	border-radius: 20px;
	color: var(--asrh-subtle);
	font-size: .77rem;
}

.asrh-tags a:hover {
	background: var(--asrh-accent);
	color: var(--asrh-white);
}

.asrh-related {
	border: 1px solid var(--asrh-border);
}

.asrh-related__grid {
	display: grid;
	padding: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.asrh-related__grid img,
.asrh-related__grid .asrh-image-fallback {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--asrh-image-radius);
}

.asrh-related__grid span {
	display: block;
	padding-top: 7px;
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.6;
}

/* Comments */
.asrh-comments {
	padding: 0 24px 24px;
}

.asrh-comment-list {
	padding: 0;
	list-style: none;
}

.asrh-comment-list .comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--asrh-border);
}

.asrh-comment-list .comment-meta {
	font-size: .8rem;
}

.asrh-comments input:not([type="submit"]),
.asrh-comments textarea {
	width: 100%;
	padding: 9px 11px;
	background: #f6f7f9;
	border: 1px solid var(--asrh-border);
	border-radius: var(--asrh-radius);
}

.asrh-comments textarea {
	min-height: 120px;
	resize: vertical;
}

.comment-form-author,
.comment-form-email {
	display: inline-block;
	width: calc(50% - 8px);
}

.comment-form-author {
	margin-left: 12px;
}

.asrh-button,
.asrh-comments .submit {
	display: inline-flex;
	min-height: 42px;
	padding: 8px 18px;
	align-items: center;
	justify-content: center;
	background: var(--asrh-brand);
	color: var(--asrh-white);
	border: 0;
	border-radius: var(--asrh-radius);
	cursor: pointer;
	transition: background var(--asrh-transition);
}

.asrh-button:hover,
.asrh-comments .submit:hover {
	background: var(--asrh-nav);
}

/* Archives and pages */
.asrh-listing,
.asrh-page-wrap,
.asrh-status-page {
	padding-top: 24px;
	padding-bottom: 36px;
}

.asrh-listing-grid {
	display: grid;
	padding-top: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.asrh-archive-description,
.asrh-empty,
.asrh-page {
	padding: 24px;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
}

.asrh-archive-description {
	margin-top: 16px;
}

.asrh-archive-description p,
.asrh-page__content > p {
	text-align: justify;
}

.asrh-page h1 {
	margin-bottom: 20px;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.asrh-page__content {
	line-height: 2.1;
}

.asrh-status-page {
	text-align: center;
}

.asrh-status-page > strong {
	display: block;
	color: var(--asrh-brand);
	font-size: clamp(4rem, 12vw, 8rem);
	line-height: 1.2;
}

.navigation.pagination {
	padding-top: 24px;
	text-align: center;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	padding: 5px 11px;
	background: var(--asrh-white);
	border: 1px solid var(--asrh-border);
}

.page-numbers.current {
	background: var(--asrh-accent);
	color: var(--asrh-white);
}

/* Footer */
.asrh-footer__main {
	background: var(--asrh-ink);
	color: var(--asrh-white);
	font-size: .9rem;
}

.asrh-footer__inner {
	display: flex;
	min-height: 112px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.asrh-footer-logo img {
	width: 76px;
	height: 76px;
	object-fit: contain;
}

.asrh-footer-menu {
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 22px;
}

.asrh-footer-menu a {
	font-size: .9rem;
}

.asrh-footer-menu a:hover {
	color: var(--asrh-accent);
}

.asrh-footer__copyright {
	padding: 10px 0;
	background: var(--asrh-brand);
	color: var(--asrh-white);
	text-align: center;
	font-size: .85rem;
}

.asrh-footer__legal {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.asrh-footer__credit a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.asrh-footer__credit a:hover {
	opacity: .8;
}

/* Advertisement slots: fixed initial space prevents layout shifts while Yektanet loads. */
.asrh-ad,
#pos-article-display-104010,
#pos-article-display-104011,
#pos-article-display-card-104009,
#ynpos-16958,
#ynpos-16959,
#ynpos-17171 {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	clear: both;
	overflow: hidden;
	text-align: center;
}

#pos-article-display-104010 > *,
#pos-article-display-104011 > *,
#pos-article-display-card-104009 > *,
#ynpos-16958 > *,
#ynpos-16959 > *,
#ynpos-17171 > * {
	max-width: 100% !important;
	margin-right: auto !important;
	margin-left: auto !important;
	box-sizing: border-box;
}

.asrh-ad iframe,
.asrh-ad img,
#pos-article-display-card-104009 iframe,
#pos-article-display-card-104009 img,
#ynpos-16958 iframe,
#ynpos-16958 img,
#ynpos-16959 iframe,
#ynpos-16959 img,
#ynpos-17171 iframe,
#ynpos-17171 img {
	max-width: 100%;
}

.asrh-ad--before-article {
	display: flex;
	max-width: 640px;
	min-height: 250px;
	margin-top: 20px;
	align-items: center;
	justify-content: center;
}

#pos-article-display-104010 {
	min-height: 250px;
}

#ynpos-16958 {
	min-height: 280px;
	margin: 0 0 18px;
}

#pos-article-display-card-104009 {
	min-height: 260px;
	margin: 26px 0;
}

#ynpos-16959,
#ynpos-17171 {
	min-height: 140px;
	margin: 20px 24px;
	width: calc(100% - 48px);
}

.asrh-ad--after-article {
	display: flex;
	max-width: 640px;
	min-height: 300px;
	margin-bottom: 32px;
	align-items: center;
	justify-content: center;
}

#pos-article-display-104011 {
	min-height: 300px;
}

/* Tablet */
@media (max-width: 1024px) {
	.asrh-menu-toggle {
		display: inline-flex;
	}

	.asrh-navbar__inner {
		justify-content: flex-start;
	}

	.asrh-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		background: var(--asrh-nav);
		box-shadow: var(--asrh-shadow);
	}

	.asrh-navigation.is-open {
		display: block;
	}

	.asrh-navigation .asrh-menu,
	.asrh-navigation > ul {
		width: min(calc(100% - 32px), var(--asrh-container));
		margin: 0 auto;
		align-items: stretch;
		flex-direction: column;
	}

	.asrh-menu > li > a,
	.asrh-navigation > ul > li > a {
		min-height: 44px;
		padding-inline: 4px;
	}

	.asrh-menu .sub-menu {
		position: static;
		display: none;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.asrh-menu li:focus-within > .sub-menu {
		display: block;
	}

	.asrh-hero-grid {
		min-height: 420px;
	}

	.asrh-home-layout,
	.asrh-article-layout {
		grid-template-columns: 1fr;
	}

	.asrh-article-sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.asrh-panel--sticky {
		position: static;
	}

	.asrh-ad--before-article,
	#pos-article-display-104010 {
		min-height: 250px;
	}

	#ynpos-16958 {
		min-height: 270px;
	}

	#pos-article-display-card-104009 {
		min-height: 250px;
	}

	#ynpos-16959,
	#ynpos-17171 {
		min-height: 130px;
	}

	.asrh-ad--after-article,
	#pos-article-display-104011 {
		min-height: 290px;
	}

}

@media (max-width: 760px) {
	.asrh-container {
		width: min(calc(100% - 20px), var(--asrh-container));
	}

	.asrh-brandbar__inner {
		min-height: 88px;
	}

	.asrh-logo img {
		width: 76px;
		height: 76px;
	}

	.asrh-date {
		align-items: flex-end;
		flex-direction: column;
		gap: 0;
		font-size: .74rem;
		font-weight: 650;
		line-height: 1.45;
	}

	.asrh-hero-grid {
		min-height: auto;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: minmax(300px, 52vh) minmax(190px, 30vh);
	}

	.asrh-hero-story--lead {
		grid-column: 1 / 3;
		grid-row: 1;
	}

	.asrh-hero-story__content,
	.asrh-hero-story--lead .asrh-hero-story__content {
		padding: 17px;
	}

	.asrh-hero-story__content strong,
	.asrh-hero-story--lead .asrh-hero-story__content strong {
		font-size: 1rem;
		line-height: 1.65;
	}

	.asrh-hero-story--lead .asrh-hero-story__content strong {
		font-size: 1.35rem;
	}

	.asrh-special-grid {
		grid-template-columns: 1fr;
	}

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

	.asrh-article-sidebar {
		grid-template-columns: 1fr;
	}

	.asrh-article__header,
	.asrh-article__content,
	.asrh-article__footer,
	.asrh-comments {
		padding-right: 16px;
		padding-left: 16px;
	}

	.asrh-article__header h1 {
		font-size: 1.8rem;
	}

	.asrh-article__byline {
		gap: 4px 12px;
		font-size: .76rem;
	}

	.asrh-article__content {
		font-size: 1rem;
		line-height: 2;
	}

	.asrh-ad--before-article {
		max-width: calc(100% - 20px);
		margin-top: 12px;
	}

	#ynpos-16958 {
		min-height: 260px;
		margin-bottom: 16px;
	}

	#pos-article-display-card-104009 {
		min-height: 250px;
		margin: 24px 0;
	}

	#ynpos-16959,
	#ynpos-17171 {
		min-height: 120px;
		margin: 18px 16px;
		width: calc(100% - 32px);
	}

	.asrh-ad--after-article {
		max-width: calc(100% - 20px);
		margin-bottom: 24px;
	}

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

	.asrh-footer__inner {
		padding: 20px 0;
		align-items: center;
		flex-direction: column;
	}

	.asrh-footer-menu {
		justify-content: center;
	}

	.asrh-footer__legal {
		flex-direction: column;
		gap: 3px;
	}

	.asrh-footer__separator {
		display: none;
	}
}

@media (max-width: 480px) {
	.asrh-hero-grid {
		display: block;
	}

	.asrh-hero-story {
		height: 210px;
	}

	.asrh-hero-story--lead {
		height: 320px;
	}

	.asrh-editor-grid,
	.asrh-related__grid,
	.asrh-listing-grid {
		grid-template-columns: 1fr;
	}

	.asrh-inline-best__item {
		min-height: 0;
		grid-template-columns: 116px minmax(0, 1fr);
		gap: 12px;
	}

	.asrh-inline-best__title {
		font-size: .9rem;
	}

	.asrh-article__tools {
		padding-right: 14px;
		padding-left: 14px;
	}

	.asrh-tool-button span {
		font-size: .75rem;
	}

	.asrh-ad--before-article,
	#pos-article-display-104010 {
		min-height: 260px;
	}

	#ynpos-16958 {
		min-height: 250px;
	}

	#pos-article-display-card-104009 {
		min-height: 240px;
	}

	#ynpos-16959,
	#ynpos-17171 {
		min-height: 110px;
	}

	.asrh-ad--after-article,
	#pos-article-display-104011 {
		min-height: 260px;
	}

	.comment-form-author,
	.comment-form-email {
		display: block;
		width: 100%;
	}

	.comment-form-author {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.asrh-header,
	.asrh-footer,
	.asrh-article-sidebar,
	.asrh-article__tools,
	.asrh-comments,
	.asrh-inline-others,
	.asrh-inline-best,
	.asrh-ad,
	#pos-article-display-card-104009,
	#ynpos-16958,
	#ynpos-16959,
	#ynpos-17171 {
		display: none !important;
	}

	body,
	.asrh-article {
		background: #fff;
	}

	.asrh-article-layout {
		display: block;
		width: 100%;
	}
}
