/**
 * Warcry modern RTL/LTR theme — overrides legacy sprite layout
 */

.warcry-modern,
.warcry-modern body {
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

html.warcry-modern-root,
html.warcry-modern-root body.warcry-modern {
	height: auto;
	min-height: 100%;
}

body.warcry-modern {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.warcry-modern > center {
	flex: 1 0 auto;
	width: 100%;
}

body.warcry-modern > .footer-holder,
body.warcry-modern > footer.footer-holder {
	flex: 0 0 auto;
	width: 100%;
}

.warcry-modern center {
	display: block;
	width: 100%;
	max-width: none;
	height: auto !important;
	min-height: 0;
	text-align: center;
	overflow: visible;
}


.warcry-modern center {
	display: block;
	width: 100%;
	max-width: none;
	text-align: center;
}

/* Hide plain modern nav; keep classic Warcry header bar */
.warcry-modern .wc-header {
	display: none !important;
}

.warcry-modern .membership-holder,
.warcry-modern .membership-bar {
	display: none !important;
}

/* ---- Header bar: logo right + redesigned nav (RTL) ---- */
.warcry-modern #header {
	display: block !important;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
}

.warcry-modern #header .wc-header-bar {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: flex-end !important;
	align-items: flex-start !important;
	width: 1040px !important;
	max-width: 100%;
	height: 121px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	overflow: visible !important;
	background: transparent !important;
	float: none !important;
	box-sizing: border-box;
}

.warcry-modern #header .wc-header-bar__logo,
.warcry-modern #header a.logo {
	flex: 0 0 auto;
	float: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	width: auto !important;
	min-width: 0;
	box-sizing: border-box !important;
	overflow: hidden !important;
	text-decoration: none !important;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Logo inside nav bar (left side); no separate box */
.warcry-modern #header .wc-nav__logo {
	flex: 0 0 auto;
	align-self: stretch;
	max-width: 168px;
	height: auto !important;
	min-height: 52px;
	margin: 0 !important;
	padding: 0 16px 0 14px !important;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	z-index: 2;
}

.warcry-modern #header .wc-nav__logo::after {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 100%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
	pointer-events: none;
}

/* Site logo — admin image or text wordmark (always LTR; page may be RTL) */
.warcry-modern #header .wc-header-bar__logo,
.warcry-modern #header a.logo.wc-header-bar__logo {
	direction: ltr;
	unicode-bidi: isolate;
}

.warcry-modern #header .wc-logo__img {
	display: block;
	max-width: 148px;
	max-height: 44px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.warcry-modern #header .wc-logo__brand {
	display: inline-flex;
	flex-direction: row;
	direction: ltr;
	unicode-bidi: isolate;
	align-items: center;
	justify-content: center;
	gap: 0;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Vazirmatn, sans-serif;
	font-size: 28px;
	font-weight: 900;
	font-style: italic;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	user-select: none;
}

.warcry-modern #header .wc-logo__part {
	color: #f4f0e8;
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.85),
		0 0 18px rgba(255, 255, 255, 0.08);
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.warcry-modern #header .wc-logo__c {
	color: #e53935;
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.85),
		0 0 14px rgba(229, 57, 53, 0.55);
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.warcry-modern #header .wc-header-bar__logo:hover,
.warcry-modern #header a.logo:hover {
	background: none !important;
	border: none !important;
	box-shadow: none !important;
}

.warcry-modern #header .wc-header-bar__logo:hover .wc-logo__part,
.warcry-modern #header a.logo:hover .wc-logo__part {
	color: #ffe9b8;
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.85),
		0 0 16px rgba(255, 200, 87, 0.35);
}

.warcry-modern #header .wc-header-bar__logo:hover .wc-logo__c,
.warcry-modern #header a.logo:hover .wc-logo__c {
	color: #ff5252;
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.85),
		0 0 18px rgba(255, 82, 82, 0.65);
}

.warcry-modern #header .wc-header-bar__logo p,
.warcry-modern #header a.logo p {
	display: none !important;
}

/* Main navigation — logo left, menu items right; bar hugs content */
.warcry-modern .wc-nav {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	flex: 0 0 auto;
	width: max-content;
	max-width: 100%;
	min-width: 0;
	direction: ltr;
	margin: 23px 10px 0 0;
	position: relative;
	z-index: 20;
	min-height: 52px;
	background: linear-gradient(
		135deg,
		rgba(55, 50, 48, 0.55) 0%,
		rgba(30, 28, 26, 0.42) 50%,
		rgba(22, 20, 19, 0.48) 100%
	);
	-webkit-backdrop-filter: blur(14px) saturate(1.35);
	backdrop-filter: blur(14px) saturate(1.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2),
		0 8px 28px rgba(0, 0, 0, 0.35),
		0 2px 8px rgba(0, 0, 0, 0.2);
	overflow: visible;
}

.warcry-modern .wc-nav__list {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	direction: rtl;
	min-height: 52px;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.warcry-modern .wc-nav__item {
	position: relative;
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
}

.warcry-modern .wc-nav__item + .wc-nav__item::before {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 14px;
	right: 100%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
	pointer-events: none;
	z-index: 2;
}

.warcry-modern .wc-nav__link,
.warcry-modern .wc-nav__trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 52px;
	padding: 0 18px;
	border: none;
	background: transparent;
	color: #ebe6dc;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.warcry-modern .wc-nav__trigger {
	width: 100%;
}

.warcry-modern .wc-nav__chevron {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.75;
	transition: transform 0.2s ease;
}

.warcry-modern .wc-nav__item--open .wc-nav__chevron,
.warcry-modern .wc-nav__item--has-sub:hover .wc-nav__chevron {
	transform: rotate(180deg);
}

.warcry-modern .wc-nav__link:hover,
.warcry-modern .wc-nav__trigger:hover,
.warcry-modern .wc-nav__item--open > .wc-nav__trigger,
.warcry-modern .wc-nav__item--has-sub:hover > .wc-nav__link:first-child {
	color: #ffe08a;
	background: linear-gradient(
		180deg,
		rgba(255, 220, 120, 0.22) 0%,
		rgba(255, 180, 80, 0.08) 100%
	);
	box-shadow: inset 0 0 20px rgba(255, 200, 87, 0.15);
}

/* Dropdown panel */
.warcry-modern .wc-nav__sub {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	direction: rtl;
	text-align: right;
	background: linear-gradient(
		160deg,
		rgba(48, 44, 42, 0.72) 0%,
		rgba(28, 26, 24, 0.65) 100%
	);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	box-shadow:
		0 14px 40px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
	z-index: 100;
}

.warcry-modern .wc-nav__sub::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 20px;
	width: 10px;
	height: 10px;
	background: rgba(40, 38, 36, 0.75);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	border-right: 1px solid rgba(255, 255, 255, 0.14);
	transform: rotate(-45deg);
}

/* Hover bridge so moving to submenu does not close it */
.warcry-modern .wc-nav__item--has-sub::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	height: 12px;
}

.warcry-modern .wc-nav__item--has-sub:hover > .wc-nav__sub,
.warcry-modern .wc-nav__item--open > .wc-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.warcry-modern .wc-nav__sub li {
	margin: 0;
	padding: 0;
}

.warcry-modern .wc-nav__sub a {
	display: block;
	padding: 11px 18px;
	color: #b8b0a0;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease, background 0.15s ease, padding 0.15s ease;
}

.warcry-modern .wc-nav__sub li + li a {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.warcry-modern .wc-nav__sub a:hover {
	color: #ffe08a;
	background: rgba(255, 220, 120, 0.12);
	padding-right: 22px;
}

/* LTR fallback */
html[dir="ltr"] .warcry-modern #header .wc-header-bar {
	flex-direction: row !important;
	justify-content: flex-start !important;
}

html[dir="ltr"] .warcry-modern .wc-nav__list {
	direction: ltr;
}

html[dir="ltr"] .warcry-modern .wc-nav__item + .wc-nav__item::before {
	right: auto;
	left: 100%;
}

html[dir="ltr"] .warcry-modern .wc-nav__sub {
	right: auto;
	left: 0;
	text-align: left;
}

html[dir="ltr"] .warcry-modern .wc-nav__sub::before {
	right: auto;
	left: 20px;
}

html[dir="ltr"] .warcry-modern .wc-nav__sub a:hover {
	padding-right: 18px;
	padding-left: 22px;
}

html[dir="ltr"] .warcry-modern .wc-nav {
	margin: 23px 0 0 10px;
}

html[dir="ltr"] .warcry-modern #header .wc-nav__logo {
	padding: 0 14px 0 16px !important;
}

html[dir="ltr"] .warcry-modern #header .wc-nav__logo::after {
	left: auto;
	right: 100%;
}


/* ---- Top bar (search + account) — WoW-inspired bar ---- */
.wc-topbar {
	width: 100%;
	background:
		linear-gradient(180deg, rgba(255, 215, 120, 0.04) 0%, transparent 28%),
		linear-gradient(180deg, #1e1c19 0%, #12100e 55%, #0a0908 100%);
	border-bottom: 1px solid #4a3f2e;
	box-shadow:
		inset 0 1px 0 rgba(255, 220, 140, 0.08),
		0 6px 24px rgba(0, 0, 0, 0.55);
	position: relative;
}

.wc-topbar::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		90deg,
		transparent,
		transparent 3px,
		rgba(0, 0, 0, 0.03) 3px,
		rgba(0, 0, 0, 0.03) 4px
	);
	pointer-events: none;
	opacity: 0.5;
}

.wc-topbar__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 14px clamp(16px, 2.5vw, 36px);
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	/* Keep search on the visual left and profile on the visual right */
	direction: ltr;
}

.wc-topbar__search-zone {
	flex: 0 0 auto;
	min-width: 0;
	margin-right: 0;
}

/* Flexible spacer + ornate divider between search and profile */
.wc-topbar__rift {
	flex: 1 1 auto;
	min-width: 48px;
	max-width: none;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	padding: 0 20px;
	pointer-events: none;
}

.wc-topbar__rift::before,
.wc-topbar__rift::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 168, 90, 0.55), transparent);
}

.wc-topbar__rift-gem {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin: 0 10px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffe9a8, #c9a24a 45%, #6b4e18 100%);
	box-shadow:
		0 0 8px rgba(233, 172, 53, 0.45),
		inset 0 -1px 2px rgba(0, 0, 0, 0.6);
	transform: rotate(45deg);
}

/* Hero panel: identity + account actions */
.wc-topbar__hero {
	flex: 0 0 auto;
	margin-inline-start: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	min-width: 0;
	padding: 10px 16px;
	background:
		linear-gradient(145deg, rgba(255, 220, 140, 0.06) 0%, transparent 42%),
		linear-gradient(180deg, #2a2620 0%, #1a1814 100%);
	border: 1px solid #5c4f38;
	border-radius: 4px;
	box-shadow:
		inset 0 1px 0 rgba(255, 230, 170, 0.12),
		inset 0 -2px 6px rgba(0, 0, 0, 0.35),
		0 3px 12px rgba(0, 0, 0, 0.4);
}

.wc-topbar__hero--member {
	padding: 12px 18px;
}

.wc-topbar__identity {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.wc-topbar__avatar-wrap {
	flex: 0 0 auto;
	position: relative;
	width: 58px;
	height: 58px;
	padding: 3px;
	border-radius: 50%;
	background: linear-gradient(145deg, #e8c56a 0%, #8b6914 35%, #4a3810 70%, #c9a24a 100%);
	box-shadow:
		0 0 0 1px #1a1408,
		0 0 14px rgba(233, 172, 53, 0.25),
		inset 0 1px 2px rgba(255, 240, 180, 0.35);
}

.wc-topbar__avatar-wrap::before {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.45);
	pointer-events: none;
	z-index: 2;
}

.wc-topbar__avatar {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 2px solid #1a1612;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.65);
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.wc-topbar__avatar:hover {
	filter: brightness(1.12);
	box-shadow:
		inset 0 0 8px rgba(0, 0, 0, 0.5),
		0 0 12px rgba(233, 172, 53, 0.35);
}

.wc-topbar__meta {
	min-width: 0;
}

.wc-topbar__welcome {
	margin: 0;
	color: #e8e0d0;
	font-size: 14px;
	line-height: 1.45;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.wc-topbar__welcome strong {
	color: #f0c040;
	font-weight: 700;
	text-shadow:
		0 0 12px rgba(233, 172, 53, 0.35),
		0 1px 0 rgba(0, 0, 0, 0.9);
}

.wc-topbar__coins {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 6px 0 0;
	font-size: 13px;
}

.wc-coin {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #d4c8b0;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.wc-coin::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background: url(images/misc/misc_main.png) no-repeat;
}

.wc-coin--gold::before {
	background-position: -814px 0;
}

.wc-coin--silver::before {
	background-position: -834px 0;
}

.wc-coin--gold {
	color: #f5d76e;
}

.wc-coin--silver {
	color: #c8d0d8;
}

.wc-topbar__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.wc-topbar__menu a {
	padding: 7px 13px;
	border-radius: 3px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 35%),
		linear-gradient(180deg, #3d3830 0%, #252220 100%);
	border: 1px solid #5c5345;
	color: #e8e0d0;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 2px 4px rgba(0, 0, 0, 0.35);
	transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.wc-topbar__menu a:hover {
	color: #ffe08a;
	border-color: #9a7b3c;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 0 10px rgba(233, 172, 53, 0.2),
		0 2px 6px rgba(0, 0, 0, 0.45);
}

.wc-topbar__menu a.is-active {
	color: #fff0c8;
	border-color: #d4a843;
	background:
		linear-gradient(180deg, rgba(255, 220, 140, 0.22) 0%, rgba(255, 200, 80, 0.06) 38%, transparent 100%),
		linear-gradient(180deg, #4a3d28 0%, #2a2218 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 240, 190, 0.28),
		inset 0 0 16px rgba(233, 172, 53, 0.14),
		0 0 16px rgba(233, 172, 53, 0.28),
		0 2px 8px rgba(0, 0, 0, 0.45);
}

.wc-topbar__menu a.is-active:hover {
	color: #fff4d6;
	border-color: #e9b84a;
}

.wc-topbar__menu a.is-active.wc-pulse {
	animation: none;
}

/* Search — carved stone slot */
.wc-search {
	position: relative;
	width: 100%;
	min-width: 240px;
	max-width: 340px;
}

.wc-search__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wc-search::before,
.wc-search::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border-color: rgba(201, 168, 90, 0.65);
	border-style: solid;
	pointer-events: none;
	z-index: 2;
}

.wc-search::before {
	top: 4px;
	left: 4px;
	border-width: 2px 0 0 2px;
}

.wc-search::after {
	bottom: 4px;
	right: 4px;
	border-width: 0 2px 2px 0;
}

.wc-search input[type="search"] {
	width: 100%;
	height: 46px;
	padding: 0 48px 0 16px;
	border: 1px solid #6a5a3a;
	border-radius: 3px;
	background:
		linear-gradient(180deg, rgba(255, 220, 140, 0.04) 0%, transparent 40%),
		linear-gradient(180deg, #0c0b0a 0%, #181614 100%);
	color: #f0ebe0;
	font-family: inherit;
	font-size: 14px;
	box-sizing: border-box;
	box-shadow:
		inset 0 2px 8px rgba(0, 0, 0, 0.65),
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 1px 0 rgba(255, 220, 140, 0.06);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wc-search input[type="search"]::placeholder {
	color: #8a7f6e;
}

.wc-search input[type="search"]:focus {
	outline: none;
	border-color: #c9a24a;
	box-shadow:
		inset 0 2px 8px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(233, 172, 53, 0.25),
		0 0 14px rgba(233, 172, 53, 0.12);
}

.wc-search__btn,
.wc-search button.wc-search__btn {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 36px;
	height: 32px;
	padding: 0;
	border: 1px solid #5c4f38;
	border-radius: 3px;
	cursor: pointer;
	background:
		linear-gradient(180deg, #4a4338 0%, #2a2620 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 2px 4px rgba(0, 0, 0, 0.4);
	font-size: 0;
	line-height: 0;
	color: transparent;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

/* Magnify icon (sprite may be missing on disk — SVG always renders) */
.wc-search__btn::before,
.wc-search button.wc-search__btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4b060' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M16 16l5.5 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

.wc-search__btn:hover,
.wc-search button.wc-search__btn:hover {
	border-color: #9a7b3c;
	filter: brightness(1.12);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 0 10px rgba(233, 172, 53, 0.2);
}

.wc-search__btn:hover::before,
.wc-search button.wc-search__btn:hover::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe08a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M16 16l5.5 5.5'/%3E%3C/svg%3E");
}

.wc-topbar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.wc-topbar__links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
}

.wc-topbar__links a {
	color: #c9b88a;
	text-decoration: none;
}

.wc-topbar__links a:hover {
	color: #ffc857;
}

/* Auth buttons — Warcry industrial bar (Persian RTL + LTR) */
.wc-auth-buttons {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	direction: inherit;
	background: linear-gradient(180deg, #1c1b19 0%, #121110 100%);
	border: 1px solid #2a2826;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 2px 8px rgba(0, 0, 0, 0.45);
}

.wc-auth-btn {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px 14px;
	height: 54px;
	padding: 0 18px 0 16px;
	text-decoration: none;
	position: relative;
	box-sizing: border-box;
	font-family: inherit;
	white-space: nowrap;
	border: 1px solid rgba(0, 0, 0, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.18),
		inset 0 -2px 0 rgba(0, 0, 0, 0.35),
		0 2px 4px rgba(0, 0, 0, 0.35);
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.wc-auth-btn:hover {
	filter: brightness(1.08);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		inset 0 -2px 0 rgba(0, 0, 0, 0.3),
		0 3px 8px rgba(0, 0, 0, 0.45);
}

.wc-auth-btn__title {
	flex: 0 0 auto;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.25),
		0 -1px 0 rgba(0, 0, 0, 0.5);
}

.wc-auth-btn__sub {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.01em;
	opacity: 0.92;
	white-space: normal;
	max-width: 200px;
}

.wc-auth-btn--login {
	color: #e8ecef;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
		linear-gradient(180deg, #6d7d8f 0%, #4f5d6c 45%, #3a4552 100%);
	border-color: #2a323c;
	z-index: 2;
}

.wc-auth-btn--register {
	color: #f5e8d8;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
		linear-gradient(180deg, #c47a3e 0%, #9a5528 48%, #7a421e 100%);
	border-color: #5c3818;
	border-right: none;
	z-index: 1;
}

.wc-auth-btn--login .wc-auth-btn__sub {
	color: #b8c4ce;
}

.wc-auth-btn--register .wc-auth-btn__sub {
	color: #ffe9c8;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
	opacity: 1;
	font-weight: 600;
}

/* RTL: register left, login right; title right, subtitle left; login tab on outer right */
html[dir="rtl"] .wc-auth-buttons,
html.locale-fa .wc-auth-buttons,
html[lang="fa"] .wc-auth-buttons {
	direction: rtl;
}

html[dir="rtl"] .wc-auth-btn,
html.locale-fa .wc-auth-btn,
html[lang="fa"] .wc-auth-btn {
	flex-direction: row;
	padding: 0 16px 0 18px;
}

html[dir="rtl"] .wc-auth-btn--login,
html.locale-fa .wc-auth-btn--login,
html[lang="fa"] .wc-auth-btn--login {
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
	padding-right: 22px;
	border-left: none;
}

html[dir="rtl"] .wc-auth-btn--register,
html.locale-fa .wc-auth-btn--register,
html[lang="fa"] .wc-auth-btn--register {
	border-right: 1px solid rgba(0, 0, 0, 0.55);
	border-left: none;
}

html[dir="rtl"] .wc-auth-btn__sub,
html.locale-fa .wc-auth-btn__sub,
html[lang="fa"] .wc-auth-btn__sub {
	text-align: left;
}

/* LTR: login left with tab on outer left */
html[dir="ltr"] .wc-auth-buttons {
	direction: ltr;
}

html[dir="ltr"] .wc-auth-btn--login {
	clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
	padding-left: 22px;
	border-right: none;
}

html[dir="ltr"] .wc-auth-btn--register {
	border-left: none;
}

html[dir="ltr"] .wc-auth-btn__title {
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.06em;
}

html[dir="ltr"] .wc-auth-btn__sub {
	text-transform: uppercase;
	font-size: 9px;
	letter-spacing: 0.04em;
	text-align: right;
}

@media (max-width: 720px) {
	.wc-auth-btn__sub {
		display: none;
	}

	.wc-auth-btn {
		padding: 0 14px;
		min-width: 0;
	}

	html[dir="rtl"] .wc-auth-btn--login,
	html.locale-fa .wc-auth-btn--login,
	html[lang="fa"] .wc-auth-btn--login,
	html[dir="ltr"] .wc-auth-btn--login {
		clip-path: none;
		padding-left: 14px;
		padding-right: 14px;
	}
}

.wc-pulse {
	animation: wc-pulse 1.5s ease-in-out infinite;
}

@keyframes wc-pulse {
	50% { box-shadow: 0 0 0 3px rgba(233, 172, 53, 0.45); }
}

/* ---- Page shell ---- */
.warcry-modern .main_b_holder {
	top: 0;
	background: transparent;
}

.warcry-modern .main_b_holder:has(.wc-auth-page) {
	top: 0 !important;
	min-height: 0 !important;
}

.warcry-modern .sec_b_holder {
	background: transparent;
	padding-bottom: 60px;
}

.warcry-modern .sec_b_holder:has(.wc-auth-page) {
	padding-bottom: 100px !important;
	background: transparent !important;
	margin-top: 0 !important;
}


.warcry-modern .sec_b_holder {
	background: transparent;
	padding-bottom: 60px;
}

.warcry-modern #body {
	width: 100% !important;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
	float: none !important;
	text-align: inherit;
	overflow: visible !important;
	display: block !important;
}

.warcry-modern .sec_b_holder,
.warcry-modern .main_b_holder {
	overflow: visible !important;
	width: 100% !important;
}

.warcry-modern .space-fix {
	height: 0;
}

/* Home layout: main + sidebar on the RIGHT */
.wc-page-home {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.wc-layout {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 16px;
	width: 100% !important;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 0 40px;
	box-sizing: border-box;
	clear: both;
	overflow: visible !important;
}

.wc-main-col {
	flex: 1 1 680px;
	min-width: 0;
	max-width: 685px;
	order: 1;
	float: none !important;
	position: relative;
}

.wc-sidebar-col {
	flex: 0 0 299px;
	width: 299px !important;
	min-width: 299px !important;
	max-width: 299px !important;
	order: 2;
	float: none !important;
	position: relative !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
}

.wc-sidebar-col .sidebar {
	width: 299px !important;
	max-width: 299px !important;
	float: none !important;
	padding: 0 !important;
	position: static !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Sidebar banners — WotLK glass panels (no sprite sheets) */
.wc-sidebar-banners {
	--wc-banner-help-bg: #243a22;
	--wc-banner-help-border: #4a6b44;
	--wc-banner-help-glow: rgba(90, 140, 75, 0.35);
	--wc-banner-dl-bg: #5c4028;
	--wc-banner-dl-mid: #7a421e;
	--wc-banner-dl-accent: #c47a3e;
	--wc-banner-dl-border: #9a5528;
	width: 299px !important;
	margin: 0 0 12px 0 !important;
	display: flex !important;
	flex-direction: column;
	gap: 3px;
	position: relative;
	border-radius: 6px;
	overflow: visible;
	filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
}

.wc-sidebar-banners a#support,
.wc-sidebar-banners a#launcher_dw {
	display: flex !important;
	align-items: stretch;
	width: 100% !important;
	position: relative !important;
	overflow: hidden;
	text-decoration: none !important;
	background-image: none !important;
	box-sizing: border-box;
	isolation: isolate;
	transition:
		transform 0.22s ease,
		filter 0.22s ease,
		box-shadow 0.22s ease;
}

.wc-sidebar-banners a#support {
	min-height: 70px !important;
}

.wc-sidebar-banners a#launcher_dw {
	min-height: 50px !important;
}

/* Frosted glass base */
.wc-sidebar-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	backdrop-filter: blur(10px) saturate(1.15);
	-webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.wc-sidebar-banner::after {
	content: "";
	position: absolute;
	inset: 1px;
	z-index: 1;
	pointer-events: none;
	border-radius: 4px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		inset 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.wc-sidebar-banner--help {
	background:
		linear-gradient(
			165deg,
			rgba(58, 92, 52, 0.72) 0%,
			rgba(36, 58, 34, 0.88) 42%,
			rgba(22, 38, 20, 0.94) 100%
		) !important;
	border: 1px solid var(--wc-banner-help-border);
	border-radius: 5px 5px 3px 3px;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.06),
		inset 0 12px 24px rgba(120, 180, 100, 0.06),
		0 2px 0 rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(0, 0, 0, 0.35);
}

.wc-sidebar-banner--help::before {
	background: linear-gradient(
		135deg,
		rgba(72, 110, 64, 0.25) 0%,
		rgba(36, 58, 34, 0.55) 55%,
		rgba(18, 30, 16, 0.65) 100%
	);
}

.wc-sidebar-banner--download {
	background:
		linear-gradient(
			180deg,
			rgba(196, 122, 62, 0.22) 0%,
			rgba(122, 66, 30, 0.55) 28%,
			rgba(92, 64, 40, 0.9) 62%,
			rgba(61, 42, 24, 0.95) 100%
		) !important;
	border: 1px solid var(--wc-banner-dl-border);
	border-radius: 3px 3px 5px 5px;
	box-shadow:
		inset 0 0 0 1px rgba(255, 220, 170, 0.08),
		inset 0 -8px 18px rgba(0, 0, 0, 0.35),
		0 2px 0 rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(0, 0, 0, 0.3);
}

.wc-sidebar-banner--download::before {
	background: linear-gradient(
		180deg,
		rgba(196, 122, 62, 0.18) 0%,
		rgba(154, 85, 40, 0.28) 40%,
		rgba(92, 64, 40, 0.5) 100%
	);
}

.wc-sidebar-banner:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
}

.wc-sidebar-banner--help:hover {
	box-shadow:
		inset 0 0 0 1px rgba(180, 220, 160, 0.12),
		inset 0 12px 28px var(--wc-banner-help-glow),
		0 3px 10px rgba(0, 0, 0, 0.55),
		0 0 12px var(--wc-banner-help-glow);
}

.wc-sidebar-banner--download:hover {
	box-shadow:
		inset 0 0 0 1px rgba(255, 210, 150, 0.14),
		inset 0 -6px 16px rgba(196, 122, 62, 0.2),
		0 3px 10px rgba(0, 0, 0, 0.55),
		0 0 14px rgba(196, 122, 62, 0.25);
}

.wc-sidebar-banner__icon {
	flex: 0 0 56px;
	width: 56px;
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.wc-sidebar-banner__icon::before {
	content: "";
	display: block;
	width: 36px;
	height: 36px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.75));
	opacity: 0.92;
}

.wc-sidebar-banner--help .wc-sidebar-banner__icon {
	background: linear-gradient(
		90deg,
		rgba(18, 32, 16, 0.55) 0%,
		rgba(36, 58, 34, 0.15) 100%
	);
	border-inline-end: 1px solid rgba(74, 107, 68, 0.45);
	box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.wc-sidebar-banner--help .wc-sidebar-banner__icon::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M8 6h12l6 6v14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z' stroke='%23b8d4a8' stroke-width='1.5'/%3E%3Cpath d='M14 10h8M14 14h10M14 18h7' stroke='%2388b078' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='11' cy='16' r='3.5' stroke='%23e5d4a8' stroke-width='1.3'/%3E%3Cpath d='M11 14.2v1.6M11 17.8v.2' stroke='%23e5d4a8' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.wc-sidebar-banner--download .wc-sidebar-banner__icon {
	background: linear-gradient(
		90deg,
		rgba(61, 42, 24, 0.6) 0%,
		rgba(92, 64, 40, 0.12) 100%
	);
	border-inline-end: 1px solid rgba(154, 85, 40, 0.5);
	box-shadow: inset -1px 0 0 rgba(255, 200, 140, 0.08);
}

.wc-sidebar-banner--download .wc-sidebar-banner__icon::before {
	width: 32px;
	height: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M6 10l10-6 10 6v12l-10 6-10-6V10z' stroke='%23c47a3e' stroke-width='1.4'/%3E%3Cpath d='M16 11v10M12 17l4 4 4-4' stroke='%23e8c89a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wc-sidebar-banner__content {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: 10px 14px 10px 12px;
	pointer-events: none;
}

.wc-sidebar-banner--download .wc-sidebar-banner__content {
	padding: 7px 14px 7px 12px;
}

.wc-sidebar-banner__title {
	display: block;
	font-family: Vazirmatn, "Segoe UI", Tahoma, Arial, sans-serif;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	color: #dcc99a;
	letter-spacing: 0.03em;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.2),
		0 -1px 0 rgba(0, 0, 0, 0.7),
		0 2px 4px rgba(0, 0, 0, 0.85);
}

.wc-sidebar-banner--help .wc-sidebar-banner__title {
	font-size: 14px;
	color: #e5d4a8;
}

.wc-sidebar-banner--download .wc-sidebar-banner__title {
	color: #f0d8a8;
	text-shadow:
		0 1px 0 rgba(255, 240, 200, 0.25),
		0 -1px 0 rgba(60, 30, 10, 0.8),
		0 2px 5px rgba(0, 0, 0, 0.9);
}

.wc-sidebar-banner__sub {
	display: block;
	margin-top: 4px;
	font-family: Vazirmatn, "Segoe UI", Tahoma, Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
	color: #b8a878;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.wc-sidebar-banner--help .wc-sidebar-banner__sub {
	color: #9cb88a;
}

.wc-sidebar-banner--download .wc-sidebar-banner__sub {
	color: #e8c89a;
	text-shadow:
		0 1px 0 rgba(255, 230, 190, 0.2),
		0 1px 3px rgba(0, 0, 0, 0.75);
}

/* RTL / Persian: text right, decorative icon on visual left */
html[dir="rtl"] .wc-sidebar-banners a#support,
html[dir="rtl"] .wc-sidebar-banners a#launcher_dw,
html.locale-fa .wc-sidebar-banners a#support,
html.locale-fa .wc-sidebar-banners a#launcher_dw,
html[lang="fa"] .wc-sidebar-banners a#support,
html[lang="fa"] .wc-sidebar-banners a#launcher_dw {
	flex-direction: row-reverse;
}

html[dir="rtl"] .wc-sidebar-banner__content,
html.locale-fa .wc-sidebar-banner__content,
html[lang="fa"] .wc-sidebar-banner__content {
	align-items: flex-end;
	text-align: right;
	padding: 10px 12px 10px 14px;
}

html[dir="rtl"] .wc-sidebar-banner--download .wc-sidebar-banner__content,
html.locale-fa .wc-sidebar-banner--download .wc-sidebar-banner__content,
html[lang="fa"] .wc-sidebar-banner--download .wc-sidebar-banner__content {
	padding: 7px 12px 7px 14px;
}

html[dir="rtl"] .wc-sidebar-banner--help .wc-sidebar-banner__icon,
html.locale-fa .wc-sidebar-banner--help .wc-sidebar-banner__icon,
html[lang="fa"] .wc-sidebar-banner--help .wc-sidebar-banner__icon,
html[dir="rtl"] .wc-sidebar-banner--download .wc-sidebar-banner__icon,
html.locale-fa .wc-sidebar-banner--download .wc-sidebar-banner__icon,
html[lang="fa"] .wc-sidebar-banner--download .wc-sidebar-banner__icon {
	border-inline-end: none;
	border-inline-start: 1px solid rgba(154, 85, 40, 0.45);
	box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05);
}

html[dir="rtl"] .wc-sidebar-banner--help .wc-sidebar-banner__icon,
html.locale-fa .wc-sidebar-banner--help .wc-sidebar-banner__icon,
html[lang="fa"] .wc-sidebar-banner--help .wc-sidebar-banner__icon {
	border-inline-start-color: rgba(74, 107, 68, 0.45);
}

html[dir="ltr"] .wc-sidebar-banner__content {
	align-items: flex-start;
	text-align: left;
}

.wc-sidebar-col .index-status-container,
.wc-sidebar-col .spotlight,
.wc-sidebar-col .realmlist {
	display: block !important;
	width: 100% !important;
}

.wc-main-col {
	min-width: 0;
}

.wc-main-col .main_side {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

.wc-main-col .welcome_to_warcry,
.wc-main-col .index_news,
.wc-main-col .home_media,
.wc-main-col .top_voters,
.wc-main-col .social-media {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* Cards */
.wc-card {
	background: linear-gradient(180deg, #1e1d1b 0%, #141312 100%);
	border: 1px solid #3d3b38;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	margin-bottom: 16px;
	overflow: hidden;
}

.wc-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid #3d3b38;
	background: rgba(255, 255, 255, 0.02);
}

.wc-card__head h2 {
	margin: 0;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #e8c878;
	text-transform: none;
	letter-spacing: 0;
}

.wc-card__body {
	padding: 18px;
	color: #c8c4bc;
}

.wc-card__body--welcome h1 {
	margin: 0 0 12px;
	font-size: 22px;
	color: #e9ac35;
	line-height: 1.4;
}

.wc-card__body--welcome p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #b9ae8f;
}

/* News */
.wc-news-feature {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
	align-items: start;
}

.wc-news-feature__thumb img {
	width: 100%;
	border-radius: 8px;
	display: block;
}

.wc-news-feature__content h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: #d9b162;
}

.wc-news-feature__meta {
	margin: 0 0 10px;
	font-size: 13px;
	color: #7a7160;
}

.wc-news-feature__text {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #9a9080;
}

.wc-link {
	color: #e9ac35;
	font-weight: 600;
	text-decoration: none;
}

.wc-link:hover {
	color: #ffc857;
}

.wc-news-list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.wc-news-list li {
	padding: 12px 14px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 8px;
	border: 1px solid #2b2a28;
}

.wc-news-list h4 {
	margin: 0 0 6px;
	font-size: 15px;
}

.wc-news-list h4 a {
	color: #d9b162;
	text-decoration: none;
}

.wc-news-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wc-news-tabs a {
	padding: 6px 12px;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	color: #a89f8f;
	text-decoration: none;
	border-radius: 6px;
	text-transform: none;
}

.wc-news-tabs a:hover {
	color: #e9ac35;
	background: rgba(255, 255, 255, 0.05);
}

/* Sidebar widgets */
.wc-sidebar-col .container,
.wc-sidebar-col .realmlist {
	border-radius: 8px;
	margin-bottom: 12px;
}

.wc-sidebar-col .realmlist .light_normal {
	padding: 12px 16px !important;
	box-sizing: border-box;
	line-height: 1.5;
	word-break: break-word;
}

.wc-sidebar-col .index-status-container,
.wc-sidebar-col .spotlight {
	text-align: start;
}

/* RTL — status box, links, logon row */
html[dir="rtl"] .wc-sidebar-col .index-status-container {
	direction: rtl;
}

/* Realm card: Persian text, physically left-aligned (RTL page direction otherwise pins content right) */
html[dir="rtl"] .sidebar .realmst_head,
html[dir="rtl"] .wc-sidebar-col .realmst_head,
html.locale-fa .sidebar .realmst_head,
html.locale-fa .wc-sidebar-col .realmst_head {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	direction: ltr !important;
	padding: 18px 0 0 5px !important;
	text-align: left !important;
}

html[dir="rtl"] .sidebar .realmst_head .realm_name,
html[dir="rtl"] .wc-sidebar-col .realmst_head .realm_name,
html.locale-fa .sidebar .realmst_head .realm_name,
html.locale-fa .wc-sidebar-col .realmst_head .realm_name {
	direction: rtl !important;
	unicode-bidi: plaintext;
	padding: 0 0 0 37px !important;
	text-align: left !important;
	align-self: flex-start !important;
	width: 100%;
	box-sizing: border-box;
}

html[dir="rtl"] .sidebar .realmst_head .online,
html[dir="rtl"] .sidebar .realmst_head .offline,
html[dir="rtl"] .wc-sidebar-col .realmst_head .online,
html[dir="rtl"] .wc-sidebar-col .realmst_head .offline,
html.locale-fa .sidebar .realmst_head .online,
html.locale-fa .sidebar .realmst_head .offline,
html.locale-fa .wc-sidebar-col .realmst_head .online,
html.locale-fa .wc-sidebar-col .realmst_head .offline {
	left: 9px !important;
	right: auto !important;
}

html[dir="rtl"] .sidebar .realm_st p.realm-desc,
html[dir="rtl"] .wc-sidebar-col .realm_st p.realm-desc,
html.locale-fa .sidebar .realm_st p.realm-desc,
html.locale-fa .wc-sidebar-col .realm_st p.realm-desc {
	direction: rtl !important;
	unicode-bidi: plaintext;
	padding: 2px 0 0 17px !important;
	text-align: left !important;
	align-self: flex-start !important;
	width: 100%;
	box-sizing: border-box;
}

html[dir="rtl"] .wc-sidebar-col .ts-status {
	width: auto !important;
	height: auto !important;
	min-height: 38px;
	padding: 10px 14px 10px 12px !important;
	box-sizing: border-box;
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .wc-sidebar-col .ts-status a#download-ts,
html[dir="rtl"] .wc-sidebar-col .ts-status a#download-htc {
	display: inline-block;
	padding: 2px 14px 2px 0 !important;
	margin: 0 0 0 10px !important;
	background-position: right center !important;
}

html[dir="rtl"] .wc-sidebar-col .logon-status {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	width: 100% !important;
	height: auto !important;
	min-height: 46px;
	padding: 10px 14px !important;
	box-sizing: border-box;
	direction: rtl;
}

html[dir="rtl"] .wc-sidebar-col .logon-status #logon-status,
html.locale-fa .wc-sidebar-col .logon-status #logon-status {
	float: none !important;
	margin: 0 !important;
	padding: 0 4px 0 0;
	text-align: right;
	flex: 0 0 auto;
	order: 1;
}

html[dir="rtl"] .wc-sidebar-col .logon-status #server-time,
html.locale-fa .wc-sidebar-col .logon-status #server-time {
	float: none !important;
	margin: 0 !important;
	padding: 0 0 0 8px;
	text-align: left;
	flex: 0 0 auto;
	order: 2;
}

html[dir="rtl"] .wc-sidebar-col .logon-status #players-online {
	float: none !important;
	margin: 0 !important;
	padding: 0 8px;
	text-align: center;
	flex: 0 0 auto;
}

html[dir="ltr"] .wc-sidebar-col .logon-status #players-online {
	float: none !important;
	margin: 0 !important;
	padding: 0 8px;
	text-align: center;
	flex: 0 0 auto;
}

.wc-sidebar-col #players-online span,
.warcry-modern .wc-sidebar-col #players-online span {
	display: block;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #d4c4a0 !important;
}

.wc-sidebar-col #players-online p,
.wc-sidebar-col #players-online-count,
.warcry-modern .wc-sidebar-col #players-online p,
.warcry-modern .wc-sidebar-col #players-online-count {
	margin: 0;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #9fd36a !important;
	line-height: 1.2;
}

html[dir="ltr"] .wc-sidebar-col .logon-status {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	height: auto !important;
	min-height: 46px;
	padding: 10px 14px !important;
	box-sizing: border-box;
}

html[dir="ltr"] .wc-sidebar-col .logon-status #logon-status {
	float: none !important;
	margin: 0 !important;
}

html[dir="ltr"] .wc-sidebar-col .logon-status #server-time {
	float: none !important;
	margin: 0 !important;
}

html[dir="ltr"] .wc-sidebar-col .ts-status {
	padding: 10px 12px 10px 14px !important;
	box-sizing: border-box;
}

/* Home media row */
.wc-home-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 16px;
}

.wc-home-grid-2 .home_media,
.wc-home-grid-2 .top_voters {
	width: 100% !important;
	float: none !important;
}

/* Home cards: contain legacy fixed widths inside responsive grid */
.warcry-modern .wc-home-grid-2 .home_media,
.warcry-modern .wc-home-grid-2 .top_voters {
	min-width: 0;
	overflow: hidden;
}

.warcry-modern .wc-home-grid-2 .home_media {
	min-height: 0;
}

.warcry-modern .wc-home-grid-2 .new_trailer.wc-card,
.warcry-modern .wc-home-grid-2 .top_voters.wc-card {
	background: linear-gradient(180deg, #1e1d1b 0%, #141312 100%);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: auto;
	min-height: 40px;
	padding: 12px 16px;
	box-sizing: border-box;
	overflow: hidden;
}

.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head h1,
.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head h2,
.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head a {
	float: none !important;
	margin: 0 !important;
	flex: 0 0 auto;
}

.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head h1 {
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #e8c878;
	text-transform: none;
	letter-spacing: 0;
	text-shadow: none;
}

.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head h2 {
	flex: 1 1 auto;
	min-width: 0;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	color: #a89f8f;
	text-transform: none;
	text-align: end;
	line-height: 1.5;
	overflow-wrap: anywhere;
	text-shadow: none;
}

.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head a {
	flex: 0 0 auto;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	color: #a89f8f;
	padding: 0 14px 0 0;
	background-position: right center;
	white-space: nowrap;
	text-transform: none;
	text-shadow: none;
}

.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head a:hover {
	color: #e8c878;
}

html[dir="rtl"] .warcry-modern .wc-home-grid-2 .sub_header.wc-card__head a {
	padding: 0 0 0 14px;
	background-position: left center;
}

.warcry-modern .new_video_thumb.wc-card__body {
	width: 100% !important;
	max-width: 100%;
	height: auto;
	margin: 0 !important;
	padding: 14px 16px 16px;
	box-sizing: border-box;
	overflow: hidden;
}

.warcry-modern .new_video_thumb a {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: auto;
	aspect-ratio: 368 / 198;
	position: relative;
	border-radius: 6px;
	overflow: hidden;
}

.warcry-modern .new_video_thumb a div.image-thumb-preview {
	width: 100% !important;
	height: 100% !important;
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.warcry-modern .new_video_thumb a .play-button-small {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -32px 0 0 -32px;
}

.warcry-modern .top_voters .cont_container.wc-card__body {
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	padding: 12px 16px 16px;
	box-sizing: border-box;
	overflow: hidden;
}

.warcry-modern ul.top_voters_list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.warcry-modern ul.top_voters_list li p,
.warcry-modern ul.top_voters_list li a,
.warcry-modern ul.top_voters_list li span {
	float: none !important;
	margin: 0 !important;
	display: block;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	text-shadow: none;
}

.warcry-modern ul.top_voters_list li p {
	flex: 0 0 auto;
	font-size: 0.88rem;
	font-weight: 700;
	color: #8f8778;
}

.warcry-modern ul.top_voters_list li a {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.92rem;
	font-weight: 600;
	color: #d4c4a0;
}

.warcry-modern ul.top_voters_list li a:hover {
	color: #e8c878;
}

.warcry-modern ul.top_voters_list li span {
	flex: 0 0 auto;
	white-space: nowrap;
	font-size: 0.88rem;
	font-weight: 600;
	color: #a89f8f;
}

.warcry-modern ul.top_voters_list li span i {
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 0.8rem;
	color: #8f8778;
}

html[dir="rtl"] .warcry-modern ul.top_voters_list li {
	direction: rtl;
	text-align: right;
}

.warcry-modern .gift_box {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100% !important;
	max-width: 100%;
	height: auto;
	min-height: 63px;
	margin: 16px 0 4px !important;
	padding: 10px 12px 10px 10px;
	box-sizing: border-box;
	overflow: hidden;
}

.warcry-modern .gift_box .gift_image {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	float: none !important;
	margin: 0 !important;
	background-size: contain;
	background-position: center;
}

.warcry-modern .gift_box h2 {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	left: auto !important;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.65;
	color: #b9ae8f;
	text-shadow: none;
	overflow-wrap: anywhere;
}

html[dir="rtl"] .warcry-modern .gift_box {
	flex-direction: row-reverse;
}

/* Sidebar spotlight — keep text and images inside card */
.warcry-modern .wc-sidebar-col .spotlight {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	margin-top: 12px;
}

.warcry-modern .wc-sidebar-col .spotlight .sub_header {
	box-sizing: border-box;
	padding: 0 14px;
	overflow: hidden;
}

.warcry-modern .wc-sidebar-col .spotlight .sub_header h1 {
	float: none !important;
	margin: 11px 0 !important;
}

.warcry-modern .wc-sidebar-col .spotlight .blueberry {
	max-width: 100%;
	overflow: hidden;
}

.warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li img {
	display: block;
	width: calc(100% - 28px) !important;
	max-width: calc(100% - 28px);
	height: auto;
	margin: 8px 14px 0;
	box-sizing: border-box;
}

.warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li h1,
.warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li h4,
.warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li p {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 14px;
	padding-right: 14px;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
}

html[dir="rtl"] .warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li h1,
html[dir="rtl"] .warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li h4,
html[dir="rtl"] .warcry-modern .wc-sidebar-col .spotlight .blueberry .slides li p {
	text-align: right;
}

.warcry-modern .wc-sidebar-col .spotlight .blueberry .pager {
	box-sizing: border-box;
	padding: 0 14px;
}

/* Home widgets — override legacy Calibri from home.css */
.warcry-modern .new_trailer .sub_header h1,
.warcry-modern .new_trailer .sub_header a,
.warcry-modern .top_voters .sub_header h1,
.warcry-modern .top_voters .sub_header h2,
.warcry-modern .spotlight .sub_header h1,
.warcry-modern .blueberry .slides li h1,
.warcry-modern .blueberry .slides li h4,
.warcry-modern .blueberry .slides li p,
.warcry-modern .gift_box h2 {
	font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
	text-transform: none !important;
	text-shadow: none !important;
}

.wc-news-feature__content h3,
.wc-news-feature__meta,
.wc-news-feature__text,
.wc-news-list h4,
.wc-news-list h4 a,
.wc-card__body--welcome h1,
.wc-card__body--welcome p {
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

/* Social bar simplification */
.wc-main-col .social-media {
	width: 100% !important;
	margin: 16px 0;
	border-radius: 10px;
	overflow: hidden;
}

.wc-main-col .media-buttons-holder {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px;
}

/* LTR override when English */
html[dir="ltr"] .warcry-modern .wc-layout {
	direction: ltr;
}

html[dir="ltr"] .warcry-modern .wc-header__inner {
	direction: ltr;
}

/* RTL: mirror profile cluster + menu; search field stays on the visual left */
html[dir="rtl"] .warcry-modern .wc-topbar__hero,
html.locale-fa .warcry-modern .wc-topbar__hero,
html[lang="fa"] .warcry-modern .wc-topbar__hero {
	direction: rtl;
}

html[dir="rtl"] .warcry-modern .wc-topbar__hero--member,
html.locale-fa .warcry-modern .wc-topbar__hero--member,
html[lang="fa"] .warcry-modern .wc-topbar__hero--member {
	flex-direction: row;
	justify-content: flex-start;
}

html[dir="rtl"] .warcry-modern .wc-topbar__identity,
html.locale-fa .warcry-modern .wc-topbar__identity,
html[lang="fa"] .warcry-modern .wc-topbar__identity {
	flex-direction: row;
}

html[dir="rtl"] .warcry-modern .wc-topbar__meta,
html.locale-fa .warcry-modern .wc-topbar__meta,
html[lang="fa"] .warcry-modern .wc-topbar__meta {
	text-align: right;
}

html[dir="rtl"] .warcry-modern .wc-topbar__welcome,
html.locale-fa .warcry-modern .wc-topbar__welcome,
html[lang="fa"] .warcry-modern .wc-topbar__welcome {
	direction: rtl;
	unicode-bidi: plaintext;
}

html[dir="rtl"] .warcry-modern .wc-topbar__menu,
html.locale-fa .warcry-modern .wc-topbar__menu,
html[lang="fa"] .warcry-modern .wc-topbar__menu {
	direction: rtl;
	flex-direction: row;
}

html[dir="rtl"] .warcry-modern .wc-search input[type="search"],
html.locale-fa .warcry-modern .wc-search input[type="search"],
html[lang="fa"] .warcry-modern .wc-search input[type="search"] {
	direction: rtl;
	text-align: right;
	padding: 0 16px 0 48px;
}

html[dir="rtl"] .warcry-modern .wc-search__btn,
html[dir="rtl"] .warcry-modern .wc-search button.wc-search__btn,
html.locale-fa .warcry-modern .wc-search__btn,
html.locale-fa .warcry-modern .wc-search button.wc-search__btn,
html[lang="fa"] .warcry-modern .wc-search__btn,
html[lang="fa"] .warcry-modern .wc-search button.wc-search__btn {
	right: auto;
	left: 8px;
}

html[dir="rtl"] .warcry-modern .wc-search::before,
html.locale-fa .warcry-modern .wc-search::before,
html[lang="fa"] .warcry-modern .wc-search::before {
	left: auto;
	right: 4px;
	border-width: 2px 2px 0 0;
}

html[dir="rtl"] .warcry-modern .wc-search::after,
html.locale-fa .warcry-modern .wc-search::after,
html[lang="fa"] .warcry-modern .wc-search::after {
	right: auto;
	left: 4px;
	border-width: 0 0 2px 2px;
}

/* Topbar responsive stack */
@media (max-width: 900px) {
	.wc-topbar__inner {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px;
		padding: 12px 16px;
	}

	.wc-topbar__rift {
		flex: 0 0 100%;
		max-width: none;
		min-width: 0;
		order: 2;
		padding: 0;
	}

	.wc-topbar__rift-gem {
		margin: 0 8px;
	}

	.wc-topbar__hero {
		flex: 1 1 100%;
		order: 3;
		margin-inline-start: 0;
		justify-content: center;
	}

	.wc-topbar__search-zone {
		flex: 1 1 100%;
		order: 1;
		display: flex;
		justify-content: flex-start;
	}

	.wc-topbar__rift {
		order: 2;
	}

	.wc-search {
		max-width: 100%;
	}
}

@media (max-width: 900px) {
	.wc-layout {
		flex-direction: column !important;
		flex-wrap: wrap !important;
		align-items: stretch !important;
		max-width: none;
		padding: 12px 0 28px;
	}

	.wc-main-col,
	.wc-sidebar-col {
		flex: 1 1 100% !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		order: unset !important;
	}

	.wc-sidebar-col .sidebar,
	.wc-sidebar-banners {
		width: 100% !important;
		max-width: none !important;
	}

	.wc-news-feature {
		grid-template-columns: 1fr;
	}

	.wc-home-grid-2 {
		grid-template-columns: 1fr;
	}

	.warcry-modern #body {
		padding: 0 12px;
	}

	.warcry-modern #header .wc-header-bar {
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		min-height: 0;
		flex-wrap: wrap;
		padding: 0 8px;
		box-sizing: border-box;
	}

	.warcry-modern .wc-nav {
		width: 100%;
		max-width: none;
	}

	.warcry-modern .wc-nav__list {
		flex-wrap: wrap;
		justify-content: center;
		min-height: auto;
		gap: 2px;
	}

	.warcry-modern .wc-nav__link,
	.warcry-modern .wc-nav__trigger {
		font-size: 0.82rem;
		padding: 10px 12px;
	}

	.warcry-modern #warcry-slider.slider {
		height: clamp(180px, 42vw, 280px);
	}

	.warcry-modern .sub_head_image {
		min-height: clamp(160px, 38vw, 240px);
	}

	.wc-nav__list {
		justify-content: center;
	}

	.wc-header__inner {
		flex-direction: column;
	}
}

/* ---- Site footer (full width, outside legacy center) ---- */
.warcry-modern .wc-site-footer {
	position: relative;
	width: 100vw;
	max-width: 100%;
	margin: 0;
	margin-inline: calc(50% - 50vw);
	padding: 0;
	background: linear-gradient(180deg, #0a0a0b 0%, #050506 100%);
	border-top: 1px solid rgba(255, 190, 34, 0.16);
	box-sizing: border-box;
	clear: both;
}

.warcry-modern .wc-site-footer__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 18px 18px;
	box-sizing: border-box;
}

.warcry-modern .wc-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(190px, 220px);
	gap: 22px 28px;
	align-items: start;
}

.warcry-modern .wc-site-footer__col--brand {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

html[dir="ltr"] .warcry-modern .wc-site-footer__col--brand {
	align-items: flex-end;
}

html[dir="rtl"] .warcry-modern .wc-site-footer__col--brand {
	align-items: flex-start;
}

.warcry-modern .wc-site-footer__heading {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #d6a94b;
	letter-spacing: 0.02em;
}

.warcry-modern .wc-site-footer__subheading {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: #b8a88a;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.warcry-modern .wc-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.warcry-modern .wc-site-footer__links li {
	margin: 0 0 5px;
}

.warcry-modern .wc-site-footer__links a {
	color: #c8c2b6;
	font-size: 13px;
	text-decoration: none;
	transition: color 0.15s ease;
}

.warcry-modern .wc-site-footer__links a:hover {
	color: #f0e8d8;
}

.warcry-modern .wc-site-footer__hours p {
	margin: 0;
	color: #9a9488;
	font-size: 12px;
	line-height: 1.45;
}

.warcry-modern .wc-site-footer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
}

.warcry-modern .wc-footer-office {
	flex: 1 1 180px;
	min-width: 0;
}

.warcry-modern .wc-footer-office__title {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	color: #8f8778;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.warcry-modern .wc-footer-contact__row {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 0 0 5px;
	font-size: 12px;
	line-height: 1.4;
	color: #b8b0a2;
}

.warcry-modern .wc-footer-contact__icon {
	flex: 0 0 auto;
	width: 14px;
	color: #d6a94b;
	font-size: 12px;
	line-height: 1.4;
	opacity: 0.9;
}

.warcry-modern .wc-footer-contact__value {
	display: inline-flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
}

.warcry-modern .wc-footer-contact__value a {
	color: #e2dbd0;
	text-decoration: none;
	word-break: break-word;
}

.warcry-modern .wc-footer-contact__value a:hover {
	color: #fff;
	text-decoration: underline;
}

.warcry-modern .wc-footer-copy {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.04);
	color: #c8c2b6;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.warcry-modern .wc-footer--copy-on .wc-footer-copy {
	display: inline-flex;
}

.warcry-modern .wc-footer-copy:hover {
	background: rgba(214, 169, 75, 0.14);
	border-color: rgba(214, 169, 75, 0.35);
	color: #f4ead6;
}

.warcry-modern .wc-footer-copy.is-copied {
	background: rgba(72, 160, 88, 0.2);
	border-color: rgba(72, 160, 88, 0.45);
	color: #b8f0c0;
}

.warcry-modern .wc-site-footer__about {
	margin: 0 0 14px;
	color: #9a9488;
	font-size: 12px;
	line-height: 1.55;
}

.warcry-modern .wc-site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.warcry-modern .wc-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	color: #d8d0c2;
	font-size: 11px;
	text-decoration: none;
}

.warcry-modern .wc-site-footer__social-link:hover {
	border-color: rgba(214, 169, 75, 0.35);
	color: #fff;
}

.warcry-modern .wc-site-footer__social-empty {
	color: #6f6a60;
	font-size: 12px;
}

.warcry-modern .wc-footer-brand__logo {
	display: block;
	text-decoration: none;
}

.warcry-modern .wc-footer-brand__img {
	display: block;
	max-width: 168px;
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.warcry-modern .wc-footer-brand__text {
	display: inline-flex;
	flex-direction: row;
	direction: ltr;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Vazirmatn, sans-serif;
	font-size: 24px;
	font-weight: 900;
	font-style: italic;
	letter-spacing: 0.06em;
}

.warcry-modern .wc-site-footer__payments {
	width: 100%;
}

.warcry-modern .wc-site-footer__payment-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

html[dir="rtl"] .warcry-modern .wc-site-footer__payment-badges {
	justify-content: flex-start;
}

.warcry-modern .wc-site-footer__pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	height: 30px;
	padding: 0 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.warcry-modern .wc-site-footer__pay--visa {
	background: #fff;
	color: #1a1f71;
}

.warcry-modern .wc-site-footer__pay--mc {
	background: linear-gradient(90deg, #eb001b 0%, #f79e1b 100%);
	color: #fff;
}

.warcry-modern .wc-site-footer__bar {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.warcry-modern .wc-site-footer__copyright {
	margin: 0;
	color: #5f5a52;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.warcry-modern .wc-site-footer__copyright b {
	color: #7a7468;
}

@media (max-width: 960px) {
	.warcry-modern .wc-site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.warcry-modern .wc-site-footer__col--brand {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.warcry-modern .wc-site-footer__payment-badges {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.warcry-modern .wc-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.warcry-modern .wc-site-footer__col--brand {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---- Hero slider + sub-page banners (modern theme) ---- */
.warcry-modern #warcry-slider.slider {
	position: relative;
	display: block !important;
	width: 100%;
	height: 394px;
	overflow: hidden;
	background: #0a0908;
}

.warcry-modern .sub_head_image {
	position: relative;
	display: block !important;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #0a0908;
}

.warcry-modern .sub_head_image > div {
	width: 100%;
	max-width: 1600px;
	height: 220px;
	margin: 0 auto;
	background-size: cover;
	background-position: center 30%;
}

.warcry-modern .sub_head_image::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 72px;
	background: linear-gradient(to top, rgba(10, 9, 8, 0.92), transparent);
	pointer-events: none;
}

.warcry-modern .wc-page-account,
.warcry-modern .wc-page-support,
.warcry-modern .wc-page-boosts,
.warcry-modern .wc-page-levels,
.warcry-modern .wc-page-login {
	padding-top: 24px;
}

.warcry-modern .wc-page-account,
.warcry-modern .wc-page-support,
.warcry-modern .wc-page-boosts,
.warcry-modern .wc-page-levels,
.warcry-modern .wc-page-register,
.warcry-modern .wc-page-login {
	padding-top: 24px;
}

/* ---- Login popup modal ---- */
#Login-box_container.wc-login-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 20000;
	padding: 20px 16px;
	overflow-y: auto;
	background: rgba(4, 4, 5, 0.82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	box-sizing: border-box;
}

.wc-login-popup__panel {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
}

.warcry-modern .wc-login-popup,
.wc-login-popup {
	position: relative;
	width: 100%;
	padding: 0;
	background: linear-gradient(165deg, #1a1612 0%, #0d0c0b 100%);
	border: 1px solid rgba(201, 162, 90, 0.3);
	border-radius: 16px;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
	overflow: hidden;
	text-align: start;
}

.wc-login-popup__close {
	position: absolute;
	top: 12px;
	inset-inline-end: 14px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.75);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	z-index: 2;
}

.wc-login-popup__close:hover {
	background: rgba(201, 162, 90, 0.18);
	color: #e8c878;
}

.wc-login-popup__header {
	padding: 28px 28px 10px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-login-popup__header h2 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: #e8c878;
}

.wc-login-popup__header p {
	margin: 8px 0 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.55);
}

.wc-login-popup__form {
	padding: 22px 28px 10px;
}

.wc-login-popup__field {
	margin-bottom: 14px;
}

.wc-login-popup__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.88rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78);
}

.wc-login-popup__field input[type="text"],
.wc-login-popup__field input[type="password"] {
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 14px;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 0.95rem;
	color: #f0ebe3;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-sizing: border-box;
	float: none !important;
}

.wc-login-popup__field input:focus {
	border-color: rgba(201, 162, 90, 0.55);
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 162, 90, 0.12);
}

.wc-login-popup__remember {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 4px 0 16px;
	padding: 0;
	box-shadow: none;
	height: auto;
	float: none;
}

.wc-login-popup__remember span {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.88rem;
}

.wc-login-popup__submit {
	display: block;
	width: 100%;
	height: 46px;
	border: none;
	border-radius: 12px;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #1a1408;
	cursor: pointer;
	background: linear-gradient(180deg, #e8c878 0%, #c9a25a 48%, #a67c3a 100%);
	box-shadow: 0 4px 16px rgba(201, 162, 90, 0.35);
}

.wc-login-popup__submit:hover {
	filter: brightness(1.06);
}

.wc-login-popup__footer {
	padding: 16px 28px 24px;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.2);
	font-size: 0.88rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.55);
}

.wc-login-popup__footer a {
	color: #e8c878;
	font-weight: 600;
	text-decoration: none;
}

.wc-login-popup__footer a:hover {
	text-decoration: underline;
}

html[dir="rtl"] .wc-login-popup__footer,
html[dir="rtl"] .wc-login-popup__header,
html[dir="rtl"] .wc-login-popup__form {
	text-align: right;
}

html[dir="rtl"] .wc-login-popup__header {
	text-align: center;
}

html[dir="rtl"] .wc-login-popup__footer {
	text-align: center;
}

/* Sidebar readability — brighter text on dark panels */
.wc-sidebar-col .realm_st,
.warcry-modern .wc-sidebar-col .realm_st {
	height: auto !important;
	min-height: 68px;
	overflow: visible !important;
}

.wc-sidebar-col .realm_st a,
.warcry-modern .wc-sidebar-col .realm_st a {
	height: auto !important;
	min-height: 66px;
	padding-bottom: 10px;
	box-sizing: border-box;
}

.wc-sidebar-col .realmst_head,
.warcry-modern .wc-sidebar-col .realmst_head {
	height: auto !important;
	min-height: 49px;
	padding-bottom: 8px;
}

.wc-sidebar-col .realmst_head .realm_name,
.warcry-modern .wc-sidebar-col .realmst_head .realm_name {
	color: #e8d4a8 !important;
}

.wc-sidebar-col .realm_st p.realm-desc,
.warcry-modern .wc-sidebar-col .realm_st p.realm-desc {
	color: #c4b896 !important;
	font-style: normal;
	font-size: 12px;
}

.wc-sidebar-col .realm_st p.realm-online,
.warcry-modern .wc-sidebar-col .realm_st p.realm-online {
	color: #9fd36a !important;
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
	padding: 4px 14px 0 0 !important;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
	text-align: right !important;
	width: 100%;
	box-sizing: border-box;
	direction: rtl;
	unicode-bidi: plaintext;
}

.wc-sidebar-col #server-time .wc-status-block__label,
.wc-sidebar-col #server-time .wc-status-block__value,
.wc-sidebar-col .wc-status-block--uptime .wc-status-block__label,
.wc-sidebar-col .wc-status-block--uptime .wc-status-block__value,
.warcry-modern .wc-sidebar-col #server-time .wc-status-block__label,
.warcry-modern .wc-sidebar-col #server-time .wc-status-block__value,
.warcry-modern .wc-sidebar-col .wc-status-block--uptime .wc-status-block__label,
.warcry-modern .wc-sidebar-col .wc-status-block--uptime .wc-status-block__value {
	font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
}

.wc-sidebar-col .realmlist .light_normal,
.warcry-modern .wc-sidebar-col .realmlist .light_normal {
	color: #c8c4bc !important;
}

.wc-sidebar-col .realmlist .light_normal font,
.warcry-modern .wc-sidebar-col .realmlist .light_normal font {
	color: #e9ac35 !important;
}

.wc-sidebar-col .ts-status a#download-ts,
.wc-sidebar-col .ts-status a#download-htc,
.warcry-modern .wc-sidebar-col .ts-status a#download-ts,
.warcry-modern .wc-sidebar-col .ts-status a#download-htc {
	color: #d4c4a0 !important;
	font-weight: 600;
}

.wc-sidebar-col .ts-status a#download-ts:hover,
.wc-sidebar-col .ts-status a#download-htc:hover,
.warcry-modern .wc-sidebar-col .ts-status a#download-ts:hover,
.warcry-modern .wc-sidebar-col .ts-status a#download-htc:hover {
	color: #ffc857 !important;
}

.wc-sidebar-col #logon-status h3,
.warcry-modern .wc-sidebar-col #logon-status h3 {
	color: #d4c4a0 !important;
}

/* Status bar blocks — labels, values, glass chip */
.wc-sidebar-col .wc-status-block,
.warcry-modern .wc-sidebar-col .wc-status-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

html[dir="rtl"] .wc-sidebar-col .wc-status-block,
html.locale-fa .wc-sidebar-col .wc-status-block {
	align-items: flex-end;
	text-align: right;
}

.wc-sidebar-col .wc-status-block__label,
.warcry-modern .wc-sidebar-col .wc-status-block__label {
	display: block;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	color: #d4c4a0 !important;
	letter-spacing: 0.01em;
}

.wc-sidebar-col .wc-status-block__value,
.warcry-modern .wc-sidebar-col .wc-status-block__value {
	margin: 0;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	color: #e9d6a8 !important;
}

.wc-sidebar-col .wc-status-block__value--players,
.warcry-modern .wc-sidebar-col .wc-status-block__value--players {
	font-size: 15px;
	color: #9fd36a !important;
}

.wc-sidebar-col .wc-status-chip,
.warcry-modern .wc-sidebar-col .wc-status-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	font-style: normal !important;
	line-height: 1.35;
	letter-spacing: 0.02em;
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wc-sidebar-col .wc-status-chip.online,
.wc-sidebar-col #logon-status2.online,
.warcry-modern .wc-sidebar-col .wc-status-chip.online,
.warcry-modern .wc-sidebar-col #logon-status2.online {
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.35) 0%, rgba(46, 125, 50, 0.22) 100%) !important;
	border-color: rgba(129, 199, 132, 0.55) !important;
	color: #c8f7c5 !important;
	box-shadow: 0 0 14px rgba(76, 175, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.wc-sidebar-col .wc-status-chip.offline,
.wc-sidebar-col #logon-status2.offline,
.warcry-modern .wc-sidebar-col .wc-status-chip.offline,
.warcry-modern .wc-sidebar-col #logon-status2.offline {
	background: linear-gradient(135deg, rgba(198, 40, 40, 0.32) 0%, rgba(120, 24, 24, 0.22) 100%) !important;
	border-color: rgba(239, 154, 154, 0.45) !important;
	color: #ffcdd2 !important;
	box-shadow: 0 0 12px rgba(198, 40, 40, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.wc-sidebar-col .wc-status-chip.wc-status-chip--unknown,
.wc-sidebar-col #logon-status2.wc-status-chip--unknown,
.warcry-modern .wc-sidebar-col .wc-status-chip.wc-status-chip--unknown {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #b9ae8f !important;
}

.wc-sidebar-col #logon-status h3 p.status.online,
.warcry-modern .wc-sidebar-col #logon-status h3 p.status.online {
	color: #9fd36a !important;
}

.wc-sidebar-col #logon-status h3 p.status.offline,
.warcry-modern .wc-sidebar-col #logon-status h3 p.status.offline {
	color: #e07070 !important;
}

.wc-sidebar-col #server-time span,
.warcry-modern .wc-sidebar-col #server-time span {
	color: #c8c4bc !important;
}

.wc-sidebar-col .logon-status,
.warcry-modern .wc-sidebar-col .logon-status {
	width: 100% !important;
	height: auto !important;
	min-height: 46px;
}

.wc-sidebar-col #server-time p,
.wc-sidebar-col #server-uptime-value,
.wc-sidebar-col #server-time-cloack,
.warcry-modern .wc-sidebar-col #server-time p,
.warcry-modern .wc-sidebar-col #server-uptime-value,
.warcry-modern .wc-sidebar-col #server-time-cloack {
	color: #e9d6a8 !important;
}

html.locale-fa .wc-sidebar-col .realm_st p.realm-online,
html[dir="rtl"] .wc-sidebar-col .realm_st p.realm-online {
	padding: 4px 14px 0 0 !important;
	text-align: right !important;
}

/* ---- Full-width layout option (admin: layout_full_width) ---- */
.warcry-modern.warcry-layout-full #body,
.warcry-modern.warcry-layout-full .wc-page-home,
.warcry-modern.warcry-layout-full .wc-layout {
	max-width: none;
	width: 100%;
}

.warcry-modern.warcry-layout-full #body {
	padding-left: clamp(16px, 2.5vw, 32px);
	padding-right: clamp(16px, 2.5vw, 32px);
}

.warcry-modern.warcry-layout-full .wc-layout {
	padding-left: 0;
	padding-right: 0;
}

.warcry-modern.warcry-layout-full .wc-main-col {
	flex: 1 1 auto;
	max-width: none;
}

.warcry-modern.warcry-layout-full #header .wc-header-bar {
	width: 100% !important;
	max-width: none !important;
	padding-inline: clamp(12px, 2vw, 28px);
	box-sizing: border-box;
}

.warcry-modern.warcry-layout-full .wc-site-footer__inner {
	max-width: none;
	padding-left: clamp(16px, 2.5vw, 32px);
	padding-right: clamp(16px, 2.5vw, 32px);
}

.warcry-modern.warcry-layout-full .wc-topbar__inner {
	max-width: none;
	padding-inline: clamp(12px, 2vw, 28px);
}

/* ---- Mobile / tablet refinements ---- */
@media (max-width: 720px) {
	.warcry-modern .wc-topbar__menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px;
	}

	.warcry-modern .wc-topbar__menu a {
		font-size: 0.78rem;
		padding: 6px 10px;
	}

	.warcry-modern .wc-auth-buttons {
		flex-direction: column;
		width: 100%;
		max-width: 320px;
	}

	.warcry-modern .wc-auth-btn {
		width: 100%;
	}

	.warcry-modern .wc-topbar__identity {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.warcry-modern .wc-topbar__meta {
		text-align: center;
	}

	.warcry-modern .wc-card__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.warcry-modern .wc-news-tabs {
		width: 100%;
	}

	.warcry-modern .wc-card__body,
	.warcry-modern .wc-card__body--welcome {
		padding: 14px;
	}

	.warcry-modern .wc-card__body--welcome h1 {
		font-size: 1.25rem;
	}

	.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head h2,
	.warcry-modern .wc-home-grid-2 .sub_header.wc-card__head a {
		text-align: start;
		width: 100%;
	}

	.warcry-modern .wc-login-popup {
		margin: auto 0;
	}

	.warcry-modern .media-buttons-holder {
		flex-direction: column;
	}

	.warcry-modern .media-wrapp {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.warcry-modern #body {
		padding: 0 10px;
	}

	.warcry-modern .wc-nav__item + .wc-nav__item::before {
		display: none;
	}

	.warcry-modern .wc-nav__list {
		gap: 4px;
	}

	.warcry-modern .wc-search {
		width: 100%;
	}

	.warcry-modern .wc-topbar__inner {
		padding: 10px 12px;
	}

	.warcry-modern .gift_box {
		flex-direction: column;
		align-items: flex-start;
	}

	.warcry-modern .gift_box .gift_image {
		align-self: center;
	}
}

