/*
Theme Name: AppVortex
Theme URI: https://themes.creatorsservices.net/
Author: CreatorsServices
Author URI: https://themes.creatorsservices.net/
Description: A translation-ready, RTL-ready starter theme for gaming, Android apps, news and magazine websites.
Version: 1.1.1
Text Domain: appvortex
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
/* =========================================================
   APPVORTEX — GLOBAL TYPOGRAPHY SYSTEM
   English + Arabic
========================================================= */

:root {

	/* English / Latin */
	--av-font-en:
		"Cairo",
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;

	/* Arabic */
	--av-font-ar:
		"Cairo",
		Tahoma,
		"Segoe UI",
		Arial,
		sans-serif;

	/* Global sizing */
	--av-text-xs: 13px;
	--av-text-sm: 15px;
	--av-text-base: 17px;
	--av-text-lg: 19px;

	--av-weight-normal: 400;
	--av-weight-medium: 500;
	--av-weight-semibold: 600;
	--av-weight-bold: 700;
	--av-weight-extrabold: 800;
}


/* =========================================================
   BASE
========================================================= */

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;

	font-family: var(--av-font-en);
	font-size: var(--av-text-base);
	font-weight: var(--av-weight-normal);
	line-height: 1.72;

	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   ARABIC
========================================================= */

html[lang^="ar"] body,
html[dir="rtl"] body {
	font-family: var(--av-font-ar);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.85;
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}


/* =========================================================
   HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;

	font-family: inherit;
	font-weight: 800;
	line-height: 1.2;

	letter-spacing: -0.025em;
}


/*
 * Arabic letters should not use negative tracking.
 */
html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3,
html[lang^="ar"] h4,
html[lang^="ar"] h5,
html[lang^="ar"] h6,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {

	letter-spacing: 0;
	line-height: 1.4;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

p {
	font-size: inherit;
	line-height: 1.75;
}

html[lang^="ar"] p,
html[dir="rtl"] p {
	line-height: 1.9;
}


/* =========================================================
   LINKS / BUTTONS
========================================================= */

a,
button {
	font-family: inherit;
}

button {
	font-weight: 700;
}


/* =========================================================
   FRONT PAGE
   Stronger, clearer premium typography
========================================================= */

.av-home {
	font-family: inherit;
}


/* Hero */

.av-home-hero__eyebrow {
	font-size: 14px;
	font-weight: 800;
}

.av-home-hero__title {
	font-weight: 800;
	line-height: 1.08;
}

.av-home-hero__description {
	font-size: 18px;
	line-height: 1.75;
}


/* Hero buttons */

.av-home-button {
	font-size: 15px;
	font-weight: 750;
}


/* Hero features */

.av-home-hero__feature {
	font-size: 14px;
	font-weight: 650;
}


/* =========================================================
   SECTION HEADERS
========================================================= */

.av-home-section__eyebrow {
	font-size: 13px;
	font-weight: 800;
}

.av-home-section__title {
	font-weight: 800;
	line-height: 1.18;
}

.av-home-section__description {
	font-size: 17px;
	line-height: 1.75;
}

.av-home-section__more {
	font-size: 15px;
	font-weight: 750;
}


/* =========================================================
   QUICK NAVIGATION
========================================================= */

.av-home-quick-card__content strong {
	font-size: 17px;
	font-weight: 800;
}

.av-home-quick-card__content small {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}


/* =========================================================
   NEWS
========================================================= */

.av-home-news-card__title {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.4;
}

.av-home-news-card__excerpt {
	font-size: 16px;
	line-height: 1.75;
}

.av-home-news-card__date {
	font-size: 13px;
	font-weight: 600;
}

.av-home-news-card__badge {
	font-size: 12px;
	font-weight: 800;
}


/* =========================================================
   GAME CARDS
========================================================= */

.av-home-game-card__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
}

.av-home-game-card__excerpt {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
}

.av-home-game-card__meta {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.av-home-game-card__category {
	font-size: 12px;
	font-weight: 800;
}


/* =========================================================
   APP CARDS
========================================================= */

.av-home-app-card__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
}

.av-home-app-card__excerpt {
	font-size: 14px;
	line-height: 1.65;
}

.av-home-app-card__meta {
	font-size: 13px;
	font-weight: 600;
}

.av-home-app-card__category {
	font-size: 12px;
	font-weight: 800;
}


/* =========================================================
   CARD CTA
========================================================= */

.av-home-card-cta {
	font-size: 14px;
	font-weight: 800;
}


/* =========================================================
   TRENDING SHOWCASE
========================================================= */

.av-home-showcase__badge {
	font-size: 12px;
	font-weight: 800;
}

.av-home-showcase__date {
	font-size: 13px;
	font-weight: 650;
}

.av-home-showcase__title {
	font-weight: 850;
	line-height: 1.1;
}

.av-home-showcase__excerpt {
	font-size: 17px;
	line-height: 1.75;
}

.av-home-showcase__cta {
	font-size: 15px;
	font-weight: 800;
}


/* =========================================================
   HEADER
========================================================= */

.av-header__site-name {
	font-weight: 800;
}

.av-navigation__menu > li > a {
	font-size: 15px;
	font-weight: 700;
}

.av-navigation__menu .sub-menu a {
	font-size: 14px;
	font-weight: 600;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.av-mobile-navigation__menu a {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}


/* =========================================================
   ARABIC TYPOGRAPHY TUNING
========================================================= */

html[lang^="ar"] .av-home-hero__eyebrow,
html[dir="rtl"] .av-home-hero__eyebrow {
	font-size: 15px;
}

html[lang^="ar"] .av-home-hero__description,
html[dir="rtl"] .av-home-hero__description {
	font-size: 19px;
	line-height: 1.9;
}

html[lang^="ar"] .av-home-section__description,
html[dir="rtl"] .av-home-section__description {
	font-size: 18px;
	line-height: 1.9;
}

html[lang^="ar"] .av-navigation__menu > li > a,
html[dir="rtl"] .av-navigation__menu > li > a {
	font-size: 16px;
}

html[lang^="ar"] .av-mobile-navigation__menu a,
html[dir="rtl"] .av-mobile-navigation__menu a {
	font-size: 17px;
	line-height: 1.65;
}

html[lang^="ar"] .av-home-news-card__title,
html[dir="rtl"] .av-home-news-card__title {
	font-size: 22px;
	line-height: 1.55;
}

html[lang^="ar"] .av-home-game-card__title,
html[dir="rtl"] .av-home-game-card__title,
html[lang^="ar"] .av-home-app-card__title,
html[dir="rtl"] .av-home-app-card__title {
	font-size: 19px;
	line-height: 1.55;
}

html[lang^="ar"] .av-home-game-card__excerpt,
html[dir="rtl"] .av-home-game-card__excerpt,
html[lang^="ar"] .av-home-app-card__excerpt,
html[dir="rtl"] .av-home-app-card__excerpt {
	font-size: 15px;
	line-height: 1.8;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

	body {
		font-size: 16px;
	}

	.av-home-hero__description {
		font-size: 16px;
	}

	.av-home-button {
		font-size: 14px;
	}

	.av-home-section__description {
		font-size: 16px;
	}

	.av-home-news-card__title {
		font-size: 19px;
	}

	.av-home-news-card__excerpt {
		font-size: 15px;
	}

	.av-home-game-card__title,
	.av-home-app-card__title {
		font-size: 16px;
	}

	.av-home-game-card__excerpt,
	.av-home-app-card__excerpt {
		font-size: 13px;
	}

	.av-home-game-card__meta,
	.av-home-app-card__meta {
		font-size: 12px;
	}


	/* Arabic mobile */

	html[lang^="ar"] body,
	html[dir="rtl"] body {
		font-size: 17px;
	}

	html[lang^="ar"] .av-home-game-card__title,
	html[dir="rtl"] .av-home-game-card__title,
	html[lang^="ar"] .av-home-app-card__title,
	html[dir="rtl"] .av-home-app-card__title {
		font-size: 17px;
	}

}



/* =========================================================
   APPVORTEX — HERO TYPOGRAPHY REFINEMENT
========================================================= */

.av-home-hero__title {
	font-size: clamp(42px, 4vw, 60px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
	max-width: 680px;
	margin-inline: auto;
}

.av-home-hero__description {
	font-size: 16px;
	line-height: 1.7;
	max-width: 650px;
	margin-inline: auto;
}


/* Tablet */
@media (max-width: 1024px) {

	.av-home-hero__title {
		font-size: clamp(36px, 5vw, 50px);
		line-height: 1.1;
	}

	.av-home-hero__description {
		font-size: 16px;
	}

}


/* Mobile */
@media (max-width: 640px) {

	.av-home-hero__title {
		font-size: clamp(30px, 9vw, 40px);
		line-height: 1.12;
		letter-spacing: -0.025em;
	}

	.av-home-hero__description {
		font-size: 15px;
		line-height: 1.65;
	}

}


/* Arabic */
html[lang^="ar"] .av-home-hero__title,
html[dir="rtl"] .av-home-hero__title {
	letter-spacing: 0;
	line-height: 1.3;
}

html[lang^="ar"] .av-home-hero__description,
html[dir="rtl"] .av-home-hero__description {
	font-size: 17px;
	line-height: 1.8;
}

/* =========================================================
EASY ARAB AMERICA — HOMEPAGE FEATURED POSTS
========================================================= */

.eaa-featured {
	padding-top: 28px;
}

.eaa-featured__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, 220px);
	gap: 10px;
}

.eaa-featured__item {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: 18px;
	background: #0b1d36;
}

.eaa-featured__item--main { grid-column: 1; grid-row: 1 / 3; }
.eaa-featured__item:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
.eaa-featured__item:nth-child(3) { grid-column: 2; grid-row: 2; }
.eaa-featured__item:nth-child(4) { grid-column: 3; grid-row: 2; }

.eaa-featured__link {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

.eaa-featured__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.eaa-featured__link:hover .eaa-featured__image,
.eaa-featured__link:focus-visible .eaa-featured__image {
	transform: scale(1.05);
}

.eaa-featured__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(4, 12, 26, .88) 0%, rgba(4, 12, 26, .35) 45%, rgba(4, 12, 26, 0) 75%);
}

.eaa-featured__cat {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	padding: 5px 11px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	color: #fff;
	background: var(--av-primary, #1e88e5);
	border-radius: 999px;
}

.eaa-featured__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
}

.eaa-featured__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.55;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.eaa-featured__item--main .eaa-featured__title {
	-webkit-line-clamp: 3;
	font-size: clamp(21px, 2vw, 27px);
}

.eaa-featured__item--main .eaa-featured__body {
	padding: 26px;
}

.eaa-featured__date {
	font-size: 13px;
	font-weight: 600;
	opacity: .85;
}

/* Tablet and phone: a simple swipe slider */
@media (max-width: 860px) {
	.eaa-featured__grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 4px;
	}
	.eaa-featured__grid::-webkit-scrollbar { display: none; }
	.eaa-featured__item,
	.eaa-featured__item--main {
		flex: 0 0 86%;
		height: 260px;
		scroll-snap-align: center;
	}
	.eaa-featured__item--main .eaa-featured__title { font-size: 20px; }
}

/* =========================================================
LATEST ARTICLES — 4 CARDS PER ROW ON DESKTOP
========================================================= */

.eaa-home .eaa-news__grid.av-home-news__grid--large {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	grid-auto-rows: auto;
}

.eaa-home .eaa-news__grid .av-home-news-card__title {
	font-size: 17px;
	line-height: 1.6;
}

.eaa-home .eaa-news__grid .av-home-news-card__excerpt {
	font-size: 14px;
}

.eaa-home .av-home-news-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1100px) {
	.eaa-home .eaa-news__grid.av-home-news__grid--large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.eaa-home .eaa-news__grid.av-home-news__grid--large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.eaa-home .eaa-news__grid.av-home-news__grid--large { grid-template-columns: 1fr; }
}

/* =========================================================
SINGLE POST — CONTENT + "MOST READ" SIDEBAR
========================================================= */

.eaa-single-layout {
	width: min(1240px, calc(100% - 48px));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
	align-items: start;
}

.eaa-single-main {
	min-width: 0;
}

.eaa-single-main .av-container {
	max-width: none;
	padding-inline: 0;
}

.eaa-single-main .av-post-content__inner,
.eaa-single-main .av-post-heading__inner {
	max-width: none;
}

.eaa-single-aside {
	position: sticky;
	top: 24px;
	padding-top: 40px;
}

.admin-bar .eaa-single-aside {
	top: 56px;
}

.eaa-widget {
	padding: 20px;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(15, 35, 70, .06);
}

.eaa-widget__title {
	position: relative;
	margin: 0 0 16px;
	padding-bottom: 12px;
	font-size: 19px;
	font-weight: 800;
	border-bottom: 1px solid #edf1f6;
}

.eaa-widget__title::after {
	content: "";
	position: absolute;
	bottom: -1px;
	inset-inline-start: 0;
	width: 48px;
	height: 3px;
	background: var(--av-primary, #1e88e5);
	border-radius: 3px;
}

.eaa-most-read__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.eaa-most-read__link {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.eaa-most-read__media {
	position: relative;
	display: block;
	width: 88px;
	height: 64px;
	overflow: hidden;
	background: #edf3f8;
	border-radius: 10px;
}

.eaa-most-read__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eaa-most-read__num {
	position: absolute;
	top: 4px;
	inset-inline-start: 4px;
	min-width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	background: var(--av-primary, #1e88e5);
	border-radius: 7px;
}

.eaa-most-read__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.eaa-most-read__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	transition: color .2s ease;
}

.eaa-most-read__link:hover .eaa-most-read__title,
.eaa-most-read__link:focus-visible .eaa-most-read__title {
	color: var(--av-primary, #1e88e5);
}

.eaa-most-read__date {
	font-size: 12px;
	color: #7a8494;
}

@media (max-width: 1024px) {
	.eaa-single-layout {
		grid-template-columns: 1fr;
		width: 100%;
		gap: 0;
	}
	.eaa-single-main .av-container {
		padding-inline: 20px;
	}
	.eaa-single-aside {
		position: static;
		padding: 0 20px 40px;
	}
}

@media (max-width: 640px) {
	.eaa-single-main .av-container { padding-inline: 16px; }
	.eaa-single-aside { padding-inline: 16px; }
}

/* =========================================================
EASY ARAB AMERICA — HEADER DROPDOWN MENU
========================================================= */

@media (min-width: 1025px) {
	html body .av-header .av-navigation__menu {
		gap: 0;
	}
	html body .av-header .av-navigation__menu > li > a {
		gap: 6px;
		padding: 0 9px;
		white-space: nowrap;
		font-size: 15px;
	}
	html body .av-header .av-navigation__menu > li.menu-item-has-children > a::before {
		content: "";
		order: 9;
		width: 7px;
		height: 7px;
		margin-top: -4px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: .55;
	}
	html body .av-header .av-navigation__menu .sub-menu {
		width: 250px;
		max-height: 75vh;
		overflow: visible;
	}
	html body .av-header .av-navigation__menu .sub-menu .menu-item-has-children > a {
		justify-content: space-between;
		gap: 8px;
	}
	html body .av-header .av-navigation__menu .sub-menu .menu-item-has-children > a::after {
		content: "‹";
		font-size: 16px;
		line-height: 1;
		opacity: .6;
	}
	html body .av-header .av-navigation__menu .av-nav-icon,
	html body .av-header .av-navigation__menu .sub-menu .av-nav-icon {
		display: none;
	}
	html body .av-header .av-header__inner {
		gap: 14px;
	}
	html body .av-header .av-navigation--desktop {
		flex: 1 1 auto;
		min-width: 0;
	}
	html body .av-header .av-header__actions {
		flex: 0 0 auto;
	}
}

html {
	overflow-x: clip;
}

@media (min-width: 1025px) {
	/* Same header width on every page (single posts use a narrower container). */
	html body .av-header .av-header__inner.av-container {
		max-width: 1360px;
	}
	/* Menus near the left edge open their third level to the right. */
	html body .av-header .av-navigation__menu > li:nth-last-child(-n+3) .sub-menu .sub-menu {
		inset-inline-start: auto;
		inset-inline-end: calc(100% + 8px);
	}
	html body .av-header .av-navigation__menu > li:nth-last-child(-n+3) .sub-menu .menu-item-has-children > a::after {
		content: "›";
	}
}

/* =========================================================
EASY ARAB AMERICA — US FLAG LOGO + FOOTER BRAND
========================================================= */

html body .av-header .av-header__brand-mark {
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	box-shadow: 0 6px 16px rgba(178, 34, 52, .18);
	border-radius: 11px;
	overflow: hidden;
	flex: 0 0 auto;
}

html body .av-header .av-header__brand-mark .eaa-flag {
	display: block;
	width: 40px;
	height: 40px;
}

html body .av-site-footer .eaa-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 360px;
}

.eaa-footer-brand__identity {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	text-decoration: none;
}

.eaa-footer-brand__logo {
	display: inline-flex;
	flex: 0 0 auto;
	border-radius: 13px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.eaa-footer-brand__logo .eaa-flag {
	display: block;
	width: 46px;
	height: 46px;
}

.eaa-footer-brand__name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.3;
}

.eaa-footer-brand__name strong {
	font-size: 21px;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
}

.eaa-footer-brand__name small {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #8fb8ff;
	text-align: start;
}

html body .av-site-footer .eaa-footer-brand__description {
	margin: 0;
	padding-inline-start: 14px;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(226, 234, 248, .78);
	border-inline-start: 3px solid #B22234;
}

.eaa-footer-brand__topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eaa-footer-brand__topics a {
	display: inline-block;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: #dbe6f7;
	text-decoration: none;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.eaa-footer-brand__topics a:hover,
.eaa-footer-brand__topics a:focus-visible {
	color: #fff;
	background: #3C3B6E;
	border-color: #3C3B6E;
}

/* Footer categories: two tidy columns with post counts */
html body .av-site-footer .eaa-footer-cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 18px;
	row-gap: 4px;
	min-width: 300px;
}

html body .av-site-footer .eaa-footer-cats li {
	margin: 0;
}

html body .av-site-footer .eaa-footer-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	white-space: nowrap;
	border-bottom: 1px dashed rgba(255, 255, 255, .08);
}

.eaa-footer-cats__count {
	min-width: 26px;
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	color: #8fb8ff;
	background: rgba(143, 184, 255, .1);
	border-radius: 999px;
}

@media (max-width: 640px) {
	html body .av-site-footer .eaa-footer-cats {
		min-width: 0;
	}
}

@media (min-width: 1025px) {
	/* Four footer columns: brand, quick links, categories (wider), about. */
	html body .av-site-footer .av-footer-main {
		grid-template-columns: minmax(280px, 1.3fr) minmax(130px, .7fr) minmax(330px, 1.7fr) minmax(150px, .8fr);
	}
}

/* Header site name: Arabic name with the English name below (matches the footer) */
html body .av-header .eaa-brand-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
	line-height: 1.2;
}

html body .av-header .eaa-brand-text__ar {
	font-size: 20px;
	font-weight: 800;
	color: #111827;
	white-space: nowrap;
}

html body .av-header .eaa-brand-text__en {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--av-primary, #1e88e5);
	text-align: start;
	white-space: nowrap;
}

@media (max-width: 640px) {
	html body .av-header .eaa-brand-text__ar { font-size: 18px; }
	html body .av-header .eaa-brand-text__en { font-size: 11px; }
}

/* Related articles: 6 cards in 3 columns beside the sidebar */
html body .eaa-single-main .av-post-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1024px) {
	html body .eaa-single-main .av-post-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	html body .eaa-single-main .av-post-related__grid { grid-template-columns: 1fr; }
}
