/**
 * Rosha — RTL red/yellow news theme (inspired by reference layout, not a copy)
 */

:root {
	--rosha-red: #b91c3c;
	--rosha-red-bright: #e11d48;
	--rosha-gold: #f5c518;
	--rosha-gold-hover: #eab308;
	--rosha-text: #111827;
	--rosha-muted: #64748b;
	--rosha-line: #e8e2dc;
	--rosha-bg: #faf8f6;
	--rosha-surface: #f3efe9;
	--rosha-header: #fffdf9;
	--rosha-topbar: #8f1235;
	--rosha-navbar-edge: rgba(185, 28, 60, 0.12);
	--rosha-max: 1120px;
	--rosha-radius: 8px;
	--rosha-font: IRANSans;
}

html[data-theme="dark"] {
	--rosha-red: #fb7185;
	--rosha-red-bright: #fda4af;
	--rosha-gold: #f5c518;
	--rosha-gold-hover: #fde047;
	--rosha-text: #ffffff;
	--rosha-muted: #cbd5e1;
	--rosha-line: #334155;
	--rosha-bg: #0b1220;
	--rosha-surface: #111827;
	--rosha-header: #111827;
	--rosha-topbar: #6b0f2a;
	--rosha-navbar-edge: rgba(251, 113, 133, 0.22);
	color-scheme: dark;
}

/* IRANSans only — kill Merriweather / Montserrat / Tahoma / system stacks */
body.rosha,
body.rosha button,
body.rosha input,
body.rosha select,
body.rosha textarea,
body.rosha .site-title,
body.rosha .site-description,
body.rosha .entry-title,
body.rosha .page-title,
body.rosha .widget-title,
body.rosha .main-navigation a,
body.rosha .rprof {
	font-family: IRANSans !important;
}

body.rosha *:not(.genericon):not([class*="genericon"]) {
	font-family: IRANSans !important;
}

body.rosha .genericon:before,
body.rosha [class*="genericon"]:before {
	font-family: Genericons !important;
}

/* Reset Twenty Sixteen chrome */
body.rosha {
	direction: rtl;
	text-align: right;
	background: var(--rosha-bg) !important;
	color: var(--rosha-text) !important;
	font-family: IRANSans !important;
	font-size: 16px;
	line-height: 1.75;
}

/* Twenty Sixteen fixed body strips cover the topbar — remove them */
body.rosha:before,
body.rosha:after,
body.rosha:not(.custom-background-image):before,
body.rosha:not(.custom-background-image):after {
	content: none !important;
	display: none !important;
	height: 0 !important;
	width: 0 !important;
	position: static !important;
	background: none !important;
	z-index: auto !important;
}

body.rosha .site,
body.rosha #page,
body.rosha .site-inner {
	margin: 0 !important;
}

body.rosha #page,
body.rosha .site-inner,
body.rosha .site-content,
body.rosha .content-area,
body.rosha .site-main {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	border: none !important;
	background: transparent !important;
}

body.rosha.front-page .sidebar,
body.rosha .sidebar-content-bottom,
body.rosha .header-image,
body.rosha .site-description,
body.rosha .byline,
body.rosha .author,
body.rosha .author-info,
body.rosha .author-avatar {
	display: none !important;
}

body.rosha a {
	color: var(--rosha-red-bright);
	text-decoration: none;
	box-shadow: none !important;
}

body.rosha a:hover {
	color: var(--rosha-gold-hover);
}

.rosha-container {
	width: min(var(--rosha-max), 92vw);
	margin-inline: auto;
}

/* ========== Top bar ========== */

body.rosha .rosha-header.site-header {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

.rosha-topbar {
	background:
		linear-gradient(90deg, #6b0f2a 0%, var(--rosha-topbar) 42%, #c21845 100%);
	color: #fff;
	font-size: 0.8125rem;
	border-bottom: 2px solid var(--rosha-gold);
}

.rosha-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 38px;
	padding-block: 0.35rem;
}

.rosha-top-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rosha-top-menu a {
	color: rgba(255, 255, 255, 0.92) !important;
	font-weight: 600;
}

.rosha-top-menu a:hover {
	color: var(--rosha-gold) !important;
}

.rosha-topbar__end {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.rosha-datetime {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
	color: rgba(255, 255, 255, 0.95);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rosha-datetime__sep {
	opacity: 0.45;
}

.rosha-datetime__jalali {
	font-weight: 700;
	color: #fff;
}

.rosha-datetime__greg {
	opacity: 0.88;
}

.rosha-datetime__time {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(245, 197, 24, 0.35);
}

.rosha-datetime__clock {
	font-weight: 800;
	color: var(--rosha-gold);
	min-width: 3.2ch;
}

.rosha-datetime__tz {
	font-size: 0.72rem;
	opacity: 0.85;
}

.rosha-social,
.rosha-topbar .social-links-menu {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rosha-social a,
.rosha-topbar .social-links-menu a,
.rosha-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: #fff !important;
	border-radius: 6px;
}

.rosha-social a:hover,
.rosha-social__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--rosha-gold) !important;
}

.rosha-social--compact .rosha-social__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.rosha-social-svg {
	display: block;
	fill: currentColor;
}

/* ========== Main navbar ========== */

.rosha-navbar {
	background:
		linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%);
	border-bottom: 1px solid var(--rosha-navbar-edge);
	box-shadow: 0 8px 24px rgba(111, 15, 42, 0.05);
	position: sticky;
	top: 0;
	z-index: 999;
}

html[data-theme="dark"] .rosha-navbar {
	background: linear-gradient(180deg, #151b2b 0%, #111827 100%);
}

body.admin-bar .rosha-navbar {
	top: 32px;
}

.rosha-navbar__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem 1.25rem;
	min-height: 64px;
	padding-block: 0.35rem;
}

.rosha-brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 !important;
	flex-shrink: 0;
}

.rosha-brand .custom-logo {
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.55);
}

.rosha-brand .site-title {
	margin: 0 !important;
	font-size: 1.35rem !important;
	font-weight: 900 !important;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.rosha-brand .site-title a {
	color: var(--rosha-red) !important;
	background: linear-gradient(120deg, var(--rosha-red), #d97706 140%);
	-webkit-background-clip: text;
	background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.rosha-brand .site-title a {
		color: transparent !important;
	}
}

.rosha-nav {
	display: flex;
	justify-content: center;
	min-width: 0;
}

.rosha-nav .primary-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.2rem;
	list-style: none;
	margin: 0;
	padding: 0.2rem;
	border-radius: 999px;
	background: rgba(185, 28, 60, 0.05);
	border: 1px solid rgba(185, 28, 60, 0.08);
}

html[data-theme="dark"] .rosha-nav .primary-menu {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.06);
}

.rosha-nav .primary-menu > li {
	position: relative;
	float: none !important;
}

.rosha-nav .primary-menu a {
	display: inline-block;
	padding: 0.45rem 0.85rem;
	color: var(--rosha-text) !important;
	font-weight: 700;
	font-size: 0.9rem;
	border-radius: 999px;
	border-bottom: none;
	background: none !important;
	transition: background 0.18s ease, color 0.18s ease;
}

.rosha-nav .primary-menu a:hover,
.rosha-nav .current-menu-item > a,
.rosha-nav .current_page_item > a {
	color: var(--rosha-red) !important;
	background: rgba(245, 197, 24, 0.22) !important;
}

.rosha-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 200px;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: var(--rosha-header);
	border: 1px solid var(--rosha-line);
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: 0.2s ease;
	z-index: 40;
}

.rosha-nav .primary-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.rosha-nav .sub-menu a {
	display: block;
	padding: 0.55rem 1rem;
	border: none;
}

.rosha-actions {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-shrink: 0;
}

.rosha-podcast-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	background: var(--rosha-gold) !important;
	color: #1c0a0a !important;
	font-weight: 700;
	font-size: 0.875rem;
}

.rosha-podcast-btn:hover {
	background: var(--rosha-gold-hover) !important;
	color: #1c0a0a !important;
}

.rosha-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	min-width: 38px;
	height: 38px;
	padding: 0 0.65rem;
	border: 1px solid var(--rosha-line);
	background: #fff;
	color: var(--rosha-text);
	border-radius: 10px;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.875rem;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

html[data-theme="dark"] .rosha-icon-btn {
	background: rgba(255, 255, 255, 0.04);
}

.rosha-icon-btn:hover {
	color: var(--rosha-red);
	border-color: rgba(225, 29, 72, 0.28);
	background: rgba(245, 197, 24, 0.16);
}

.rosha-theme-toggle__moon { display: none; }
html[data-theme="dark"] .rosha-theme-toggle__sun { display: none; }
html[data-theme="dark"] .rosha-theme-toggle__moon { display: inline; }

.rosha-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	border: none;
	background: transparent;
	cursor: pointer;
}

.rosha-menu-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	background: var(--rosha-text);
	border-radius: 2px;
}

.rosha-search-panel {
	border-top: 1px solid var(--rosha-line);
	background: var(--rosha-surface);
	padding: 1rem 0;
}

.rosha-search-panel .search-form {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.rosha-search-panel .search-field {
	flex: 1;
	border: 1px solid var(--rosha-line);
	border-radius: var(--rosha-radius);
	padding: 0.7rem 1rem;
	background: var(--rosha-bg);
	color: var(--rosha-text);
	font-family: inherit;
}

.rosha-search-panel .search-submit {
	background: var(--rosha-red) !important;
	color: #fff !important;
	border: none;
	border-radius: var(--rosha-radius);
	padding: 0.7rem 1.2rem;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 991px) {
	.rosha-navbar__inner {
		grid-template-columns: 1fr auto;
	}

	.rosha-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--rosha-header);
		border-bottom: 1px solid var(--rosha-line);
		padding: 0.75rem 4vw 1rem;
		grid-column: 1 / -1;
	}

	.rosha-header.is-nav-open .rosha-nav {
		display: block;
	}

	.rosha-navbar {
		position: relative;
	}

	.rosha-nav .primary-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		border-radius: 12px;
		padding: 0.35rem;
	}

	.rosha-nav .primary-menu a {
		padding: 0.75rem 0.85rem;
		border-radius: 8px;
	}

	.rosha-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
	}

	.rosha-menu-toggle { display: inline-flex; }
	.rosha-search-label { display: none; }
	.rosha-topbar .rosha-social { display: none; }

	.rosha-datetime {
		font-size: 0.75rem;
		white-space: normal;
		justify-content: flex-end;
	}
}

@media (max-width: 640px) {
	.rosha-topbar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.35rem;
	}

	.rosha-topbar__end {
		justify-content: space-between;
	}

	.rosha-datetime__greg { display: none; }
}

/* ========== Sections ========== */

.rosha-section {
	padding: 2rem 0 0.5rem;
}

.rosha-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.15rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--rosha-text);
}

.rosha-section-title::before {
	content: "✓";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rosha-red-bright);
	color: #fff;
	font-size: 0.75rem;
}

.rosha-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.25rem;
}

.rosha-section-head .rosha-section-title {
	margin-bottom: 1.15rem;
}

.rosha-section-head--end {
	justify-content: flex-end;
}

.rosha-section-more {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--rosha-red-bright) !important;
	white-space: nowrap;
}

/* Featured grid: slider + 3 side cards */
.rosha-featured-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.15rem;
	align-items: stretch;
}

.rosha-featured-side {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-height: 0;
}

.rosha-featured-side .rosha-card--side {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
}

.rosha-card { margin: 0; border: none; background: transparent; box-shadow: none; }

.rosha-card__link {
	display: block;
	height: 100%;
	color: inherit !important;
}

.rosha-card--hero .rosha-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.rosha-card__media {
	overflow: hidden;
	border-radius: var(--rosha-radius);
	background: var(--rosha-surface);
	isolation: isolate;
}

.rosha-card__media img,
.rosha-card__media .wp-post-image,
body.rosha .rosha-card__media img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
	margin: 0 !important;
}

.rosha-card--hero .rosha-card__media {
	flex: 1 1 auto;
	aspect-ratio: 16 / 10;
	min-height: 220px;
}

.rosha-card--hero .rosha-card__media img {
	min-height: 0;
}

.rosha-card--side .rosha-card__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	gap: 0.85rem;
	align-items: start;
	padding: 0.85rem 1rem;
	border: 1px solid var(--rosha-line);
	border-radius: var(--rosha-radius);
	background: var(--rosha-header);
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

.rosha-card--side .rosha-card__media {
	order: 2;
	width: 96px;
	height: 96px;
	max-width: 96px;
	border-radius: 8px;
	flex-shrink: 0;
}

.rosha-card--side .rosha-card__body {
	order: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	overflow: hidden;
}

.rosha-card--side .rosha-card__media img {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.rosha-card__cat {
	display: inline-block;
	margin-bottom: 0.15rem;
	color: var(--rosha-red-bright) !important;
	font-size: 0.8125rem;
	font-weight: 700;
	flex-shrink: 0;
}

.rosha-card__title {
	margin: 0;
	font-weight: 800;
	line-height: 1.45;
	color: var(--rosha-text) !important;
}

.rosha-card--hero .rosha-card__title {
	margin-top: 0.85rem;
	font-size: 1.35rem;
}

.rosha-card--side .rosha-card__title {
	font-size: 0.92rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: calc(1.45em * 2);
	flex: 0 1 auto;
	min-height: 0;
}

.rosha-card__link:hover .rosha-card__title {
	color: var(--rosha-red-bright) !important;
}

.rosha-card__meta {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	color: var(--rosha-muted) !important;
	flex-shrink: 0;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Featured slider */
.rosha-slider {
	position: relative;
	min-width: 0;
	border-radius: var(--rosha-radius);
}

.rosha-slider__viewport {
	overflow: hidden;
	border-radius: var(--rosha-radius);
	height: 100%;
}

.rosha-slider__track {
	display: flex;
	direction: ltr; /* consistent slide math in RTL pages */
	height: 100%;
	transition: transform 0.45s ease;
	will-change: transform;
}

.rosha-slider__slide {
	flex: 0 0 100%;
	min-width: 0;
	height: 100%;
	direction: rtl;
}

.rosha-slider__slide .rosha-card--hero {
	height: 100%;
}

.rosha-slider__btn {
	position: absolute;
	top: 42%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.55);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s ease, opacity 0.2s ease;
}

.rosha-slider__btn:hover {
	background: var(--rosha-red);
}

.rosha-slider__btn--prev { right: 0.75rem; }
.rosha-slider__btn--next { left: 0.75rem; }

.rosha-slider__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.85rem;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	pointer-events: none;
}

.rosha-slider__dot {
	width: 0.55rem;
	height: 0.55rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	pointer-events: auto;
	transition: background 0.2s ease, transform 0.2s ease;
}

.rosha-slider__dot.is-active {
	background: var(--rosha-yellow, #facc15);
	transform: scale(1.15);
}

@media (max-width: 767px) {
	.rosha-featured-grid { grid-template-columns: 1fr; }
	.rosha-card--hero .rosha-card__media { min-height: 180px; }
	.rosha-card--side .rosha-card__link {
		grid-template-columns: 1fr 88px;
	}
	.rosha-card--side .rosha-card__media {
		width: 88px;
		height: 88px;
		max-width: 88px;
	}
}

/* Follow / social strip */
.rosha-follow {
	margin-top: 2rem;
}

.rosha-follow__panel {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) 1.4fr;
	gap: 1.5rem;
	align-items: center;
	padding: 1.6rem 1.75rem;
	border-radius: 18px;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(250, 204, 21, 0.28), transparent 45%),
		linear-gradient(115deg, #9f1239 0%, var(--rosha-red) 45%, #be123c 100%);
	color: #fff;
	box-shadow: 0 18px 40px rgba(159, 18, 57, 0.22);
	overflow: hidden;
	position: relative;
}

.rosha-follow__panel::after {
	content: "";
	position: absolute;
	inset: auto -40px -50px auto;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(250, 204, 21, 0.12);
	pointer-events: none;
}

.rosha-follow__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.78);
}

.rosha-follow__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 900;
	line-height: 1.35;
	color: #fff !important;
}

.rosha-follow__text {
	margin: 0.55rem 0 0;
	max-width: 28ch;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.95rem;
	line-height: 1.7;
}

.rosha-follow__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
}

.rosha-follow__item,
a.rosha-follow__item {
	width: auto;
	height: auto;
	min-height: 52px;
	justify-content: flex-start;
	gap: 0.65rem;
	padding: 0.7rem 0.85rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	color: #fff !important;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.rosha-follow__item:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(250, 204, 21, 0.55);
	color: var(--rosha-gold) !important;
}

.rosha-follow__item .rosha-social__icon {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.18);
	flex-shrink: 0;
}

.rosha-follow__item .rosha-social__label {
	font-size: 0.9rem;
	font-weight: 700;
}

.rosha-follow .rosha-social__link--telegram .rosha-social__icon { background: #229ed9; }
.rosha-follow .rosha-social__link--eitaa .rosha-social__icon { background: #e67e22; }
.rosha-follow .rosha-social__link--bale .rosha-social__icon { background: #00a884; }
.rosha-follow .rosha-social__link--rubika .rosha-social__icon { background: #7c3aed; }
.rosha-follow .rosha-social__link--soroush .rosha-social__icon { background: #0ea5e9; }
.rosha-follow .rosha-social__link--aparat .rosha-social__icon { background: #ed145b; }
.rosha-follow .rosha-social__link--instagram .rosha-social__icon { background: #c13584; }
.rosha-follow .rosha-social__link--twitter .rosha-social__icon { background: #111827; }
.rosha-follow .rosha-social__link--youtube .rosha-social__icon { background: #ff0000; }
.rosha-follow .rosha-social__link--facebook .rosha-social__icon { background: #1877f2; }
.rosha-follow .rosha-social__link--linkedin .rosha-social__icon { background: #0a66c2; }
.rosha-follow .rosha-social__link--whatsapp .rosha-social__icon { background: #25d366; }
.rosha-follow .rosha-social__link--threads .rosha-social__icon { background: #111827; }
.rosha-follow .rosha-social__link--tiktok .rosha-social__icon { background: #111827; }

@media (max-width: 800px) {
	.rosha-follow__panel {
		grid-template-columns: 1fr;
		padding: 1.35rem 1.2rem;
	}
}

/* Latest + left sidebar */
.rosha-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 1.5rem;
	align-items: start;
}

.rosha-split__side {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	position: sticky;
	top: 5.5rem;
}

.rosha-side-block {
	padding: 1rem;
	border: 1px solid var(--rosha-line);
	border-radius: var(--rosha-radius);
	background: var(--rosha-header);
}

.rosha-side-block__title {
	margin: 0 0 0.85rem;
	font-size: 1.05rem;
	font-weight: 900;
	color: var(--rosha-text) !important;
}

.rosha-side-block .rosha-rank-list {
	border: none;
	border-radius: 0;
	background: transparent;
}

.rosha-side-block .rosha-rank-list li {
	padding: 0.7rem 0;
}

.rosha-side-block .rosha-stats__intro {
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
}

.rosha-side-block .rosha-stats-donut {
	width: 150px;
	height: 150px;
}

.rosha-mini-grid {
	display: grid;
	grid-template-columns: repeat(var(--rosha-latest-cols, 3), minmax(0, 1fr));
	gap: 1rem;
}

.rosha-mini-card {
	margin: 0;
	border: 1px solid var(--rosha-line);
	border-radius: 14px;
	background: var(--rosha-header);
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rosha-mini-card:hover {
	transform: translateY(-3px);
	border-color: rgba(225, 29, 72, 0.35);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.rosha-mini-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit !important;
}

.rosha-mini-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--rosha-surface);
}

.rosha-mini-card__media img,
.rosha-mini-card__media .wp-post-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
	margin: 0;
	transition: transform 0.35s ease;
}

.rosha-mini-card:hover .rosha-mini-card__media img {
	transform: scale(1.04);
}

.rosha-mini-card__media--placeholder {
	background:
		linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(250, 204, 21, 0.18));
}

.rosha-mini-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.9rem 0.95rem 1rem;
	min-width: 0;
	flex: 1 1 auto;
}

.rosha-mini-card__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.5;
	color: var(--rosha-text) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: calc(1.5em * 2);
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.rosha-mini-card__link:hover .rosha-mini-card__title {
	color: var(--rosha-red-bright) !important;
}

.rosha-mini-card .rosha-card__meta {
	margin-top: auto;
	padding-top: 0.25rem;
	flex-shrink: 0;
}

@media (max-width: 1100px) {
	.rosha-mini-grid {
		grid-template-columns: repeat(min(3, var(--rosha-latest-cols, 3)), minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.rosha-split {
		grid-template-columns: 1fr;
	}
	.rosha-split__side {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}
	.rosha-mini-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rosha-split__side { grid-template-columns: 1fr; }
	.rosha-mini-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}

/* Lists */
.rosha-list {
	display: grid;
	gap: 1rem;
}

.rosha-list-card {
	margin: 0;
	background: var(--rosha-header);
	border: 1px solid var(--rosha-line);
	border-radius: var(--rosha-radius);
	overflow: hidden;
}

.rosha-list-card__link {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 1.15rem;
	align-items: center;
	padding: 1rem;
	color: inherit !important;
}

.rosha-list-card__media {
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4/3;
}

.rosha-list-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	margin: 0;
}

.rosha-list-card__title {
	margin: 0.2rem 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--rosha-text) !important;
}

.rosha-list-card__link:hover .rosha-list-card__title {
	color: var(--rosha-red-bright) !important;
}

.rosha-list-card__excerpt {
	margin-top: 0.35rem;
	color: var(--rosha-muted);
	font-size: 0.9rem;
}

@media (max-width: 640px) {
	.rosha-list-card__link { grid-template-columns: 1fr; }
}

/* Homepage featured profiles */
.rosha-profiles-grid {
	display: grid;
	grid-template-columns: repeat(var(--rosha-profiles-cols, 4), minmax(0, 1fr));
	gap: 1rem;
}

.rosha-home-profile {
	margin: 0;
	border: 1px solid var(--rosha-line);
	border-radius: 14px;
	background: var(--rosha-header);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rosha-home-profile:hover {
	transform: translateY(-3px);
	border-color: rgba(185, 28, 60, 0.28);
	box-shadow: 0 14px 30px rgba(185, 28, 60, 0.08);
}

.rosha-home-profile__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	padding: 1.25rem 1rem 1.35rem;
	color: inherit !important;
	text-align: center;
}

.rosha-home-profile__avatar {
	position: relative;
	width: 88px;
	height: 88px;
	flex-shrink: 0;
}

.rosha-home-profile__avatar img,
.rosha-home-profile__fallback {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0;
	border: 3px solid #fff;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.rosha-home-profile__fallback {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #fff7ed, #ffe4e6);
	color: var(--rosha-red);
	font-size: 2rem;
	font-weight: 900;
}

.rosha-home-profile__verified {
	position: absolute;
	left: 2px;
	bottom: 2px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #2563eb;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 900;
	border: 2px solid #fff;
}

.rosha-home-profile__body {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
	width: 100%;
}

.rosha-home-profile__type {
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--rosha-red);
}

.rosha-home-profile__name {
	margin: 0 !important;
	font-size: 1.05rem !important;
	font-weight: 900 !important;
	line-height: 1.35 !important;
	color: var(--rosha-text) !important;
}

.rosha-home-profile__desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--rosha-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 900px) {
	.rosha-profiles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
	.rosha-profiles-grid { grid-template-columns: 1fr; }
}

/* Rank list */
.rosha-rank-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--rosha-line);
	border-radius: var(--rosha-radius);
	background: var(--rosha-header);
	overflow: hidden;
}

.rosha-rank-list li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.9rem 1rem;
	border-bottom: 1px solid var(--rosha-line);
}

.rosha-rank-list li:last-child { border-bottom: none; }

.rosha-rank-list__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(225, 29, 72, 0.1);
	color: var(--rosha-red-bright);
	font-weight: 800;
}

.rosha-rank-list a {
	color: var(--rosha-text) !important;
	font-weight: 600;
}

.rosha-rank-list a:hover {
	color: var(--rosha-red-bright) !important;
}

/* Stats — donut + bars */
.rosha-stats__intro {
	margin: 0 0 1rem;
	color: var(--rosha-muted);
}

.rosha-stats__intro strong {
	color: var(--rosha-red-bright);
	font-size: 1.25rem;
}

.rosha-stats-chart {
	display: grid;
	gap: 1rem;
}

.rosha-stats-donut {
	position: relative;
	width: 168px;
	height: 168px;
	margin: 0.15rem auto 0.25rem;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.rosha-stats-donut__hole {
	position: absolute;
	inset: 22%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--rosha-header, #fff);
	box-shadow: inset 0 0 0 1px var(--rosha-line);
}

.rosha-stats-donut__num {
	font-size: 1.45rem;
	font-weight: 900;
	line-height: 1;
	color: var(--rosha-text);
	font-variant-numeric: tabular-nums;
}

.rosha-stats-donut__label {
	margin-top: 0.2rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--rosha-muted);
}

.rosha-stats-bars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.rosha-stats-bar {
	display: grid;
	gap: 0.35rem;
	color: inherit !important;
	text-decoration: none !important;
}

.rosha-stats-bar__meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-width: 0;
}

.rosha-stats-bar__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rosha-bar-color, #64748b);
	flex-shrink: 0;
}

.rosha-stats-bar__name {
	flex: 1;
	min-width: 0;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--rosha-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rosha-stats-bar__val {
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--rosha-muted);
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
}

.rosha-stats-bar__val small {
	font-weight: 700;
	opacity: 0.85;
}

.rosha-stats-bar__track {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-line);
	overflow: hidden;
}

.rosha-stats-bar__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--rosha-bar-color, #64748b);
	animation: rosha-bar-grow 0.85s ease forwards;
}

@keyframes rosha-bar-grow {
	from { width: 0; }
	to { width: var(--rosha-bar-pct, 0%); }
}

.rosha-stats-bar:hover .rosha-stats-bar__name {
	color: var(--rosha-red-bright);
}

.rosha-stats-bar:hover .rosha-stats-bar__fill {
	filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
	.rosha-stats-bar__fill {
		animation: none;
		width: var(--rosha-bar-pct, 0%);
	}
}

.rosha-stats__hint {
	margin: 0.85rem 0 0;
	font-size: 0.85rem;
	color: var(--rosha-muted);
}

/* Stats band — full width on homepage */
.rosha-stats-section {
	margin-top: 0;
}

.rosha-stats-band {
	padding: 1.35rem 1.5rem;
	border: 1px solid var(--rosha-line);
	border-radius: 16px;
	background: var(--rosha-header);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.rosha-stats-band__title {
	margin-top: 0;
}

.rosha-stats-band__inner {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1.5rem;
	align-items: center;
}

.rosha-stats-band__summary {
	min-width: 0;
}

.rosha-stats-band__intro {
	margin: 0 0 0.35rem;
	font-size: 0.88rem;
	color: var(--rosha-muted);
}

.rosha-stats-band__total {
	margin: 0;
	font-size: 2.25rem;
	font-weight: 900;
	color: var(--rosha-red-bright);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.rosha-stats-band__total-label {
	margin: 0.15rem 0 0;
	font-size: 0.85rem;
	color: var(--rosha-muted);
	font-weight: 600;
}

.rosha-stats-band__bars-title {
	margin: 0 0 0.65rem;
	font-size: 0.92rem;
	font-weight: 800;
	color: var(--rosha-text);
}

.rosha-stats-band__bars-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.rosha-stats-band__bars-grid--cols2 {
	grid-template-columns: 1fr 1fr;
	gap: 0 1.25rem;
}

.rosha-stats-band__bar-row {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"name val"
		"track track";
	gap: 0.2rem 0.65rem;
	align-items: center;
	margin-bottom: 0.55rem;
}

.rosha-stats-band__bar-name {
	grid-area: name;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--rosha-text);
	line-height: 1.35;
	word-break: break-word;
}

.rosha-stats-band__bar-track {
	grid-area: track;
	height: 8px;
	border-radius: 999px;
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-line);
	overflow: hidden;
}

.rosha-stats-band__bar-fill {
	height: 100%;
	border-radius: inherit;
	transition: width 0.85s ease;
}

.rosha-stats-band__bar-val {
	grid-area: val;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--rosha-text);
	text-align: left;
	direction: ltr;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rosha-stats-band__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.85rem;
}

.rosha-stats-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.rosha-stats-chip:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	color: #fff !important;
}

.rosha-stats-chip__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.rosha-stats-band__inner {
		grid-template-columns: 1fr;
	}

	.rosha-stats-band__bars-grid--cols2 {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rosha-stats-band__bar-fill {
		transition: none;
	}
}

/* Inner pages layout + sidebar */
body.rosha:not(.front-page) .site-content {
	padding: 2rem 0 3rem !important;
}

/* Kill Twenty Sixteen content side margins / float meta column on posts */
body.rosha .entry-header,
body.rosha .entry-summary,
body.rosha .entry-content,
body.rosha .entry-footer,
body.rosha .page-content,
body.rosha .post-thumbnail,
body.rosha .comments-area,
body.rosha .image-navigation,
body.rosha .post-navigation,
body.rosha .page-header,
body.rosha .content-bottom-widgets,
body.rosha .rsingle-header,
body.rosha .rsingle-featured,
body.rosha .rsingle-content,
body.rosha .rsingle-nav,
body.rosha .rsingle-comments {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	box-sizing: border-box;
}

body.rosha:not(.search-results) article:not(.type-page) .entry-content,
body.rosha:not(.search-results) article:not(.type-page) .entry-footer {
	float: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.rosha-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 1.5rem;
	align-items: start;
	width: min(var(--rosha-max), 92vw) !important;
	margin-inline: auto !important;
}

.rosha-layout__main {
	min-width: 0;
	width: auto !important;
	margin: 0 !important;
}

.rosha-sidebar.sidebar {
	display: flex !important;
	flex-direction: column;
	gap: 1rem;
	position: sticky;
	top: 5.5rem;
	width: auto !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.rosha-sidebar .widget {
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--rosha-line);
	border-radius: 14px;
	background: var(--rosha-header);
	color: var(--rosha-text);
}

.rosha-sidebar .widget-title,
.rosha-sidebar-social__title {
	margin: 0 0 0.85rem !important;
	font-size: 1rem !important;
	font-weight: 900 !important;
	color: var(--rosha-text) !important;
	border: none !important;
}

.rosha-sidebar .rosha-rank-list {
	border: none;
	border-radius: 0;
	background: transparent;
}

.rosha-sidebar .rosha-rank-list li {
	padding: 0.7rem 0;
}

.rosha-sidebar .widget_recent_entries ul,
.rosha-sidebar .widget_pages ul,
.rosha-sidebar .widget_categories ul,
.rosha-sidebar .widget_archive ul,
.rosha-sidebar .widget_meta ul,
.rosha-sidebar .widget_nav_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rosha-sidebar .widget_recent_entries li {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.25rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--rosha-line);
}

.rosha-sidebar .widget_recent_entries li:last-child {
	border-bottom: none;
}

.rosha-sidebar .widget_recent_entries a {
	color: var(--rosha-text) !important;
	font-weight: 600;
}

.rosha-sidebar .widget_recent_entries a:hover {
	color: var(--rosha-red-bright) !important;
}

.rosha-sidebar-social__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rosha-sidebar-social__item,
a.rosha-sidebar-social__item {
	width: 100%;
	height: auto;
	min-height: 44px;
	justify-content: flex-start;
	gap: 0.65rem;
	padding: 0.55rem 0.7rem;
	border-radius: 12px;
	border: 1px solid var(--rosha-line);
	background: var(--rosha-surface);
	color: var(--rosha-text) !important;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rosha-sidebar-social__item:hover {
	transform: translateY(-1px);
	border-color: rgba(225, 29, 72, 0.35);
	background: rgba(245, 197, 24, 0.14);
	color: var(--rosha-red) !important;
}

.rosha-sidebar-social__item .rosha-social__icon {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(0, 0, 0, 0.08);
	color: #fff;
	flex-shrink: 0;
}

.rosha-sidebar-social__item .rosha-social__label {
	font-size: 0.88rem;
	font-weight: 700;
}

.rosha-sidebar .rosha-social__link--telegram .rosha-social__icon { background: #229ed9; }
.rosha-sidebar .rosha-social__link--eitaa .rosha-social__icon { background: #e67e22; }
.rosha-sidebar .rosha-social__link--bale .rosha-social__icon { background: #00a884; }
.rosha-sidebar .rosha-social__link--rubika .rosha-social__icon { background: #7c3aed; }
.rosha-sidebar .rosha-social__link--soroush .rosha-social__icon { background: #0ea5e9; }
.rosha-sidebar .rosha-social__link--aparat .rosha-social__icon { background: #ed145b; }
.rosha-sidebar .rosha-social__link--instagram .rosha-social__icon { background: #c13584; }
.rosha-sidebar .rosha-social__link--twitter .rosha-social__icon { background: #111827; }
.rosha-sidebar .rosha-social__link--youtube .rosha-social__icon { background: #ff0000; }
.rosha-sidebar .rosha-social__link--facebook .rosha-social__icon { background: #1877f2; }
.rosha-sidebar .rosha-social__link--linkedin .rosha-social__icon { background: #0a66c2; }
.rosha-sidebar .rosha-social__link--whatsapp .rosha-social__icon { background: #25d366; }
.rosha-sidebar .rosha-social__link--threads .rosha-social__icon { background: #111827; }
.rosha-sidebar .rosha-social__link--tiktok .rosha-social__icon { background: #111827; }

@media (max-width: 960px) {
	.rosha-layout {
		grid-template-columns: 1fr;
	}
	.rosha-sidebar.sidebar {
		position: static;
		order: 2;
	}
}

body.rosha article.post,
body.rosha article.page {
	background: var(--rosha-header);
	border: 1px solid var(--rosha-line);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1.25rem;
}

body.rosha .entry-title,
body.rosha .page-title,
body.rosha .entry-content {
	color: var(--rosha-text) !important;
}

body.rosha .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border-radius: 8px;
	border: 1px solid var(--rosha-line);
	background: var(--rosha-surface);
	color: var(--rosha-text) !important;
}

body.rosha .page-numbers.current,
body.rosha a.page-numbers:hover {
	background: var(--rosha-red-bright);
	border-color: var(--rosha-red-bright);
	color: #fff !important;
}

/* Footer */
.rosha-footer.site-footer {
	margin-top: 2.5rem !important;
	padding: 0 !important;
	background: var(--rosha-surface) !important;
	border-top: 1px solid var(--rosha-line);
	color: var(--rosha-muted);
}

.rosha-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	gap: 1.5rem;
	padding: 2rem 0 1.5rem;
	align-items: start;
}

.rosha-footer__brand {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--rosha-text);
	font-size: 1.1rem;
}

.rosha-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.rosha-footer-menu a {
	color: var(--rosha-text) !important;
}

.rosha-footer__bottom {
	border-top: 1px solid var(--rosha-line);
	padding: 1rem 0;
	text-align: center;
	font-size: 0.875rem;
}

.rosha-footer__bottom p { margin: 0; }

@media (max-width: 767px) {
	.rosha-footer__grid { grid-template-columns: 1fr; }
}

/* Dark text lock */
html[data-theme="dark"] body.rosha,
html[data-theme="dark"] body.rosha p,
html[data-theme="dark"] body.rosha li,
html[data-theme="dark"] body.rosha h1,
html[data-theme="dark"] body.rosha h2,
html[data-theme="dark"] body.rosha h3,
html[data-theme="dark"] body.rosha h4,
html[data-theme="dark"] body.rosha .entry-title,
html[data-theme="dark"] body.rosha .entry-content,
html[data-theme="dark"] body.rosha .rosha-card__title,
html[data-theme="dark"] body.rosha .rosha-list-card__title,
html[data-theme="dark"] body.rosha .rosha-section-title,
html[data-theme="dark"] body.rosha .primary-menu a,
html[data-theme="dark"] body.rosha .rosha-profile-card__name,
html[data-theme="dark"] body.rosha .rosha-rank-list a {
	color: #ffffff !important;
}

html[data-theme="dark"] body.rosha .rosha-card__meta,
html[data-theme="dark"] body.rosha .rosha-list-card__excerpt,
html[data-theme="dark"] body.rosha .rosha-muted,
html[data-theme="dark"] body.rosha .rosha-stats__hint,
html[data-theme="dark"] body.rosha .rosha-profile-card__desc {
	color: #cbd5e1 !important;
}

html[data-theme="dark"] body.rosha .rosha-brand .site-title a,
html[data-theme="dark"] body.rosha .rosha-card__cat,
html[data-theme="dark"] body.rosha .current-menu-item > a {
	color: var(--rosha-gold) !important;
}

html[data-theme="dark"] body.rosha .rosha-menu-toggle span:not(.screen-reader-text) {
	background: #fff;
}

.rosha-home {
	padding-bottom: 2rem;
}

.rosha-card__media--placeholder {
	min-height: 180px;
	background: linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(251, 191, 36, 0.2));
}

.rosha-card--side .rosha-card__media--placeholder {
	min-height: 112px;
}

.rosha-empty-notice {
	padding: 1.25rem 1.5rem;
	border: 1px dashed var(--rosha-red-bright);
	border-radius: var(--rosha-radius);
	background: var(--rosha-surface);
	color: var(--rosha-text);
}

.rosha-empty-notice p {
	margin: 0 0 0.5rem;
}

.rosha-empty-notice p:last-child {
	margin-bottom: 0;
}

.rosha-empty-inline {
	color: var(--rosha-muted);
}
