﻿/*
Theme Name: Ayman Winwin Starter
Template: twentytwentyfive
Author: Codex
Description: Starter child theme with an RTL sports-news header inspired by winwin colors and layout.
Version: 0.1.0
Text Domain: ayman-winwin-starter
*/

:root {
	--ayman-navy: #111126;
	--ayman-navy-2: #16172f;
	--ayman-green: #ef4f34;
	--ayman-cyan: #ff684e;
	--ayman-ink: #080934;
	--ayman-muted: #f1f1f4;
	--ayman-line: rgba(17, 17, 38, .12);
}

html {
	direction: rtl;
}

body {
	margin: 0;
	background: #f5f7fa;
	color: var(--ayman-ink);
	font-family: "Tahoma", "Arial", sans-serif;
}

body.admin-bar .ayman-site-header {
	top: 32px;
}

.ayman-site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #f7f7f8;
	color: #fff;
	box-shadow: 0 10px 28px rgba(5, 6, 46, .24);
}

.ayman-top-strip {
	background: #111126;
	border-bottom: 1px solid var(--ayman-line);
}

.ayman-header-inner {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.ayman-top-strip .ayman-header-inner,
.ayman-main-bar,
.ayman-nav-bar {
	display: flex;
	align-items: center;
}

.ayman-top-strip .ayman-header-inner {
	min-height: 38px;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
	color: var(--ayman-muted);
}

.ayman-world-cup {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.ayman-world-cup::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ayman-green);
	box-shadow: 0 0 0 4px rgba(240, 82, 55, .18);
}

.ayman-main-bar {
	min-height: 96px;
	justify-content: space-between;
	gap: 20px;
}

.ayman-logo-slot {
	width: 246px;
	height: 72px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 10px 22px rgba(17, 17, 38, .14);
	text-decoration: none;
	
}

.ayman-logo-slot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ayman-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ayman-today-link {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 6px;
	background: var(--ayman-green);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.ayman-icon-button {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d9dbe5;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, .06);
	text-decoration: none;
	font-size: 17px;
	line-height: 1;
}

.ayman-nav-wrap {
	background: #16172f;
	border-top: 1px solid rgba(239, 79, 52, .18);
}

.ayman-nav-bar {
	min-height: 48px;
	gap: 26px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.ayman-nav-bar a {
	flex: 0 0 auto;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.ayman-nav-bar a:hover,
.ayman-nav-bar a:focus {
	color: var(--ayman-cyan);
}

.ayman-site-header + .wp-site-blocks {
	padding-top: 0;
}

@media (max-width: 782px) {
	body.admin-bar .ayman-site-header {
		top: 46px;
	}
}

@media (max-width: 700px) {
	.ayman-header-inner {
		width: min(100% - 20px, 1180px);
	}

	.ayman-top-strip .ayman-header-inner {
		min-height: 34px;
		font-size: 12px;
	}

	.ayman-main-bar {
		min-height: 66px;
		gap: 10px;
	}

	.ayman-logo-slot {
		width: 154px;
		height: 50px;
		font-size: 12px;
		
	}

	.ayman-today-link {
		min-height: 34px;
		padding: 0 10px;
		font-size: 12px;
	}

	.ayman-icon-button {
		width: 34px;
		height: 34px;
		font-size: 15px;
	}

	.ayman-nav-bar {
		min-height: 44px;
		gap: 18px;
	}

	.ayman-nav-bar a {
		font-size: 14px;
	}
}

.wp-site-blocks > header.wp-block-template-part {
	display: none;
}

.ayman-matches-page {
	width: min(1120px, calc(100% - 32px));
	margin: 36px auto 64px;
}

.ayman-matches-head {
	margin-bottom: 24px;
}

.ayman-matches-head span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 5px;
	background: rgba(240, 82, 55, .12);
	color: var(--ayman-green);
	font-weight: 800;
	font-size: 14px;
}

.ayman-matches-head h1 {
	margin: 12px 0 0;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.2;
	color: var(--ayman-ink);
}

.ayman-league-block {
	margin-bottom: 22px;
}

.ayman-league-block h2 {
	margin: 0;
	padding: 12px 16px;
	border-radius: 7px 7px 0 0;
	background: #f7f7f8;
	color: #fff;
	font-size: 17px;
	line-height: 1.4;
}

.ayman-league-matches {
	border: 1px solid #d9e2ec;
	border-top: 0;
	border-radius: 0 0 7px 7px;
	background: #fff;
	overflow: hidden;
}

.ayman-match-card {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr) 92px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 96px;
	padding: 12px 16px;
	border-top: 1px solid #eef2f6;
}

.ayman-match-card:first-child {
	border-top: 0;
}

.ayman-match-card.is-live {
	background: #fff6f3;
}

.ayman-match-status {
	color: #637083;
	font-size: 13px;
	font-weight: 800;
}

.ayman-match-team {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-weight: 800;
	color: var(--ayman-ink);
}

.ayman-match-team.away {
	justify-content: flex-end;
}

.ayman-match-team img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	flex: 0 0 auto;
}

.ayman-match-team span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ayman-match-score {
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: #f3f4ff;
	color: var(--ayman-navy);
	font-weight: 900;
	font-size: 17px;
}

.ayman-matches-notice {
	width: min(760px, calc(100% - 32px));
	margin: 40px auto;
	padding: 20px;
	border: 1px solid #d9e2ec;
	border-right: 5px solid var(--ayman-green);
	border-radius: 7px;
	background: #fff;
	color: var(--ayman-ink);
}

.ayman-matches-notice strong {
	display: block;
	margin-bottom: 8px;
	font-size: 20px;
}

.ayman-matches-notice p {
	margin: 0;
	color: #546173;
}

@media (max-width: 760px) {
	.ayman-match-card {
		grid-template-columns: 1fr 66px 1fr;
		gap: 10px;
		padding: 12px;
	}

	.ayman-match-status {
		grid-column: 1 / -1;
	}

	.ayman-match-team {
		font-size: 13px;
	}

	.ayman-match-team img {
		width: 28px;
		height: 28px;
	}

	.ayman-match-score {
		font-size: 14px;
		min-height: 34px;
	}
}





/* Final header palette: light brand area, dark ink navigation. */
.ayman-site-header {
	background: #f7f7f8;
	color: var(--ayman-ink);
	box-shadow: 0 8px 24px rgba(17, 17, 38, .12);
}

.ayman-top-strip {
	background: #111126;
	border-bottom: 1px solid rgba(239, 79, 52, .22);
}

.ayman-main-bar {
	background: #f7f7f8;
}

.ayman-brand-tools {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-inline-start: auto;
	direction: ltr;
}

.ayman-brand-tools .ayman-header-actions {
	direction: rtl;
}

.ayman-logo-slot {
	transform: none;
	border: 1px solid #e2e3e8;
	box-shadow: 0 10px 22px rgba(17, 17, 38, .14);
}

.ayman-icon-button {
	color: #111126;
	background: #fff;
	border: 1px solid #d9dbe5;
}

.ayman-icon-button:hover,
.ayman-icon-button:focus {
	color: #ef4f34;
	border-color: rgba(239, 79, 52, .42);
}

.ayman-nav-wrap {
	background: #16172f;
	border-top: 1px solid rgba(239, 79, 52, .18);
}

@media (max-width: 700px) {
	.ayman-brand-tools {
		gap: 8px;
	}

	.ayman-logo-slot {
		transform: none;
	}
}

/* Single-row header refinement. */
.ayman-main-bar {
	min-height: 88px;
	justify-content: flex-start;
	gap: 18px;
	background: #f4f4f5;
}

.ayman-brand-tools {
	margin-inline-start: 0;
	gap: 10px;
}

.ayman-inline-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-inline-start: auto;
	white-space: nowrap;
}

.ayman-inline-nav a {
	color: #111126;
	font-size: 16px;
	font-weight: 900;
	text-decoration: none;
}

.ayman-inline-nav a:hover,
.ayman-inline-nav a:focus {
	color: #ef4f34;
}

.ayman-nav-wrap {
	display: none;
}

.ayman-logo-slot {
	width: 222px;
	height: 66px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ayman-logo-slot img {
	object-fit: contain;
}

@media (max-width: 760px) {
	.ayman-main-bar {
		min-height: 74px;
		gap: 8px;
	}

	.ayman-inline-nav {
		order: 3;
		width: 100%;
		justify-content: center;
		gap: 18px;
		padding-bottom: 10px;
	}

	.ayman-logo-slot {
		width: 138px;
		height: 44px;
	}
}

/* Push brand/search tools to the far left of the header row. */
.ayman-main-bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	column-gap: 24px;
}

.ayman-main-bar > .ayman-header-actions {
	grid-column: 1;
	justify-self: end;
}

.ayman-inline-nav {
	grid-column: 2;
	justify-self: end;
	margin-inline-start: 0;
}

.ayman-brand-tools {
	grid-column: 3;
	justify-self: start;
	margin-inline-start: 0;
}

@media (max-width: 760px) {
	.ayman-main-bar {
		display: flex;
		flex-wrap: wrap;
	}

	.ayman-brand-tools {
		margin-inline-start: auto;
	}
}

/* Keep logo in place; move only the icon buttons to the far left. */
.ayman-main-bar {
	display: flex;
	position: relative;
	grid-template-columns: none;
	justify-content: flex-start;
}

.ayman-main-bar > .ayman-header-actions,
.ayman-inline-nav,
.ayman-brand-tools {
	grid-column: auto;
	justify-self: auto;
}

.ayman-brand-tools {
	margin-inline-start: 0;
}

.ayman-brand-tools > .ayman-header-actions {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 760px) {
	.ayman-brand-tools > .ayman-header-actions {
		position: static;
		transform: none;
	}
}

/* News page layout. */
.ayman-news-page {
	width: min(1360px, calc(100% - 36px));
	margin: 44px auto 80px;
	direction: rtl;
}

.ayman-news-title {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	margin-bottom: 34px;
	border-top: 5px solid #e62d24;
	padding-top: 18px;
}

.ayman-news-title span {
	width: 42px;
	height: 70px;
	background: linear-gradient(145deg, #e8e8ea 0%, #d1d2d7 100%);
	transform: skewX(-22deg);
}

.ayman-news-title h1 {
	margin: 0;
	font-size: clamp(42px, 5vw, 66px);
	line-height: 1;
	font-weight: 950;
	color: #070713;
	text-shadow: 4px 5px 0 rgba(239, 79, 52, .20);
}

.ayman-news-layout {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
	direction: ltr;
}

.ayman-news-main,
.ayman-news-sidebar {
	direction: rtl;
}

.ayman-news-main {
	display: grid;
	gap: 30px;
}

.ayman-news-featured,
.ayman-news-card {
	background: #fff;
	border: 1px solid #e0e1e6;
}

.ayman-news-featured-image {
	display: block;
	aspect-ratio: 16 / 9;
	background: #16172f;
	overflow: hidden;
}

.ayman-news-featured-image img,
.ayman-news-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ayman-news-featured-body {
	padding: 26px 34px 30px;
}

.ayman-news-category {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #e62d24;
	font-weight: 950;
	text-decoration: none;
	font-size: 18px;
}

.ayman-news-category::before {
	content: "";
	width: 10px;
	height: 28px;
	background: #e62d24;
	transform: skewX(-20deg);
}

.ayman-news-featured h2,
.ayman-news-card h3 {
	margin: 14px 0 12px;
	font-weight: 950;
	line-height: 1.18;
	color: #050514;
}

.ayman-news-featured h2 {
	font-size: clamp(34px, 4vw, 56px);
	max-width: 980px;
}

.ayman-news-featured a,
.ayman-news-card a {
	color: inherit;
	text-decoration: none;
}

.ayman-news-featured p {
	max-width: 1020px;
	margin: 0 0 34px;
	font-size: 21px;
	line-height: 1.75;
	color: #111126;
}

.ayman-news-featured time,
.ayman-news-card time {
	display: block;
	color: #111126;
	font-size: 20px;
}

.ayman-news-card {
	display: grid;
	grid-template-columns: 38% minmax(0, 1fr);
	min-height: 210px;
	overflow: hidden;
}

.ayman-news-card-image {
	display: block;
	min-height: 210px;
	background: #16172f;
}

.ayman-news-card-body {
	padding: 28px 32px;
}

.ayman-news-card h3 {
	font-size: clamp(24px, 2.6vw, 34px);
}

.ayman-news-card p {
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 1.7;
	color: #333448;
}

.ayman-news-sidebar {
	display: grid;
	gap: 34px;
}

.ayman-newsletter-box {
	background: #e62d24;
	color: #fff;
	padding: 38px 22px 30px;
	min-height: 270px;
}

.ayman-newsletter-box h2 {
	margin: 0 0 18px;
	font-size: 44px;
	line-height: 1;
	font-weight: 950;
}

.ayman-newsletter-box p {
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 1.45;
	font-weight: 800;
}

.ayman-newsletter-box form {
	display: grid;
	gap: 18px;
}

.ayman-newsletter-box input {
	width: 100%;
	min-height: 62px;
	border: 0;
	border-radius: 0;
	padding: 0 18px;
	font-size: 18px;
	box-sizing: border-box;
	direction: rtl;
}

.ayman-newsletter-box button {
	justify-self: start;
	min-height: 52px;
	padding: 0 34px;
	border: 0;
	background: #070713;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	cursor: pointer;
}

.ayman-ad-box {
	min-height: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: linear-gradient(155deg, #d23b00, #ff7a1a);
	color: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	text-align: center;
}

.ayman-ad-box span {
	font-size: 15px;
	font-weight: 800;
	opacity: .85;
}

.ayman-ad-box strong {
	font-size: 34px;
	line-height: 1;
}

@media (max-width: 980px) {
	.ayman-news-layout {
		grid-template-columns: 1fr;
		direction: rtl;
	}

	.ayman-news-sidebar {
		grid-row: 2;
	}

	.ayman-news-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ayman-news-page {
		width: min(1360px, calc(100% - 22px));
		margin-top: 28px;
	}

	.ayman-news-featured-body,
	.ayman-news-card-body {
		padding: 22px 18px;
	}

	.ayman-news-featured h2 {
		font-size: 31px;
	}

	.ayman-news-featured p {
		font-size: 17px;
	}

	.ayman-newsletter-box h2 {
		font-size: 36px;
	}
}

/* News page correction: full-width layout, main right, sidebar left. */
body.page-id-6 h1.wp-block-post-title,
body.page-id-6 .wp-block-post-title,
body.page-id-6 main.wp-block-group > .wp-block-group:first-child {
	display: none !important;
}

body.page-id-6 .wp-site-blocks,
body.page-id-6 main,
body.page-id-6 .entry-content,
body.page-id-6 .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
}

body.page-id-6 .wp-block-post-content > .ayman-news-page,
body.page-id-6 .entry-content > .ayman-news-page,
.ayman-news-page {
	max-width: none !important;
	width: min(1500px, calc(100% - 44px)) !important;
	margin: 34px auto 80px !important;
}

.ayman-news-title {
	justify-content: flex-start;
	margin-bottom: 28px;
	border-top: 4px solid #e62d24;
	padding-top: 20px;
}

.ayman-news-title h1 {
	font-size: clamp(42px, 4vw, 58px);
	text-align: right;
}

.ayman-news-layout {
	display: grid !important;
	grid-template-columns: 330px minmax(0, 1fr) !important;
	grid-template-areas: "sidebar main" !important;
	gap: 34px !important;
	align-items: start;
	direction: ltr;
}

.ayman-news-main {
	grid-area: main;
	direction: rtl;
	min-width: 0;
}

.ayman-news-sidebar {
	grid-area: sidebar;
	direction: rtl;
	min-width: 0;
}

.ayman-news-featured {
	display: block;
}

.ayman-news-featured-image {
	aspect-ratio: 16 / 8.4;
}

.ayman-news-featured-body {
	padding: 28px 38px 34px;
}

.ayman-news-featured h2 {
	font-size: clamp(36px, 3.5vw, 54px);
	max-width: 980px;
}

.ayman-news-featured p {
	font-size: 20px;
	line-height: 1.7;
	max-width: 1040px;
}

.ayman-news-card {
	grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
}

.ayman-news-card-image {
	order: 1;
}

.ayman-news-card-body {
	order: 2;
}

.ayman-newsletter-box {
	min-height: 300px;
	padding: 38px 22px 30px;
}

.ayman-ad-box {
	min-height: 360px;
}

@media (max-width: 980px) {
	.ayman-news-layout {
		grid-template-columns: 1fr !important;
		grid-template-areas: "main" "sidebar" !important;
	}
}

@media (max-width: 680px) {
	body.page-id-6 .wp-block-post-content > .ayman-news-page,
	body.page-id-6 .entry-content > .ayman-news-page,
	.ayman-news-page {
		width: min(1500px, calc(100% - 22px)) !important;
	}

	.ayman-news-card {
		grid-template-columns: 1fr;
	}
}

/* Repair overly broad news-page hiding rule. */
body.page-id-6 main.wp-block-group > .wp-block-group:first-child {
	display: block !important;
}

body.page-id-6 h1.wp-block-post-title,
body.page-id-6 .wp-block-post-title {
	display: none !important;
}

body.page-id-6 .ayman-news-page,
body.page-id-6 .ayman-news-layout,
body.page-id-6 .ayman-news-main,
body.page-id-6 .ayman-news-sidebar {
	display: revert-layer;
}

body.page-id-6 .ayman-news-layout {
	display: grid !important;
}

body.page-id-6 .ayman-news-main {
	display: grid !important;
}

body.page-id-6 .ayman-news-sidebar {
	display: grid !important;
}

/* News card hover interaction. */
.ayman-news-featured,
.ayman-news-card {
	transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.ayman-news-featured-image,
.ayman-news-card-image {
	overflow: hidden;
}

.ayman-news-featured-image img,
.ayman-news-card-image img {
	transition: transform .35s ease;
	transform-origin: center;
}

.ayman-news-featured h2 a,
.ayman-news-card h3 a,
.ayman-news-category {
	transition: color .22s ease;
}

.ayman-news-featured:hover,
.ayman-news-card:hover {
	border-color: rgba(230, 45, 36, .35);
	box-shadow: 0 14px 32px rgba(17, 17, 38, .10);
}

.ayman-news-featured:hover .ayman-news-featured-image img,
.ayman-news-card:hover .ayman-news-card-image img {
	transform: scale(1.055);
}

.ayman-news-featured:hover h2 a,
.ayman-news-card:hover h3 a,
.ayman-news-featured:hover .ayman-news-category,
.ayman-news-card:hover .ayman-news-category {
	color: #e62d24;
}

/* News detail page and related news. */
.ayman-news-detail {
	width: min(1180px, calc(100% - 36px));
	margin: 42px auto 80px;
	color: #070713;
}

.ayman-news-detail-head {
	max-width: 980px;
	margin: 0 auto 28px;
	text-align: right;
}

.ayman-news-detail-head h1 {
	margin: 16px 0 18px;
	font-size: clamp(38px, 5vw, 68px);
	line-height: 1.12;
	font-weight: 950;
}

.ayman-news-detail-head p {
	margin: 0 0 22px;
	font-size: 22px;
	line-height: 1.75;
	color: #222337;
}

.ayman-news-detail-head time {
	display: block;
	font-size: 18px;
	color: #525467;
}

.ayman-news-detail-image {
	margin: 0 auto 34px;
	max-width: 1100px;
	aspect-ratio: 16 / 8.4;
	overflow: hidden;
	background: #16172f;
}

.ayman-news-detail-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ayman-news-detail-body {
	max-width: 880px;
	margin: 0 auto 70px;
	font-size: 22px;
	line-height: 2;
	color: #111126;
}

.ayman-news-detail-body p {
	margin: 0 0 24px;
}

.ayman-related-news {
	margin-top: 54px;
	padding-top: 22px;
	border-top: 1px solid #e2e3e8;
}

.ayman-related-news header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 22px;
}

.ayman-related-news header span {
	width: 28px;
	height: 44px;
	background: linear-gradient(145deg, #e8e8ea 0%, #d1d2d7 100%);
	transform: skewX(-22deg);
	order: 2;
}

.ayman-related-news h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 950;
	line-height: 1;
	text-align: right;
}

.ayman-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.ayman-related-card {
	display: block;
	background: #fff;
	border: 1px solid #e5e6eb;
	text-decoration: none;
	color: #070713;
	overflow: hidden;
	transition: box-shadow .22s ease, border-color .22s ease;
}

.ayman-related-image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #16172f;
}

.ayman-related-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ayman-related-category {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 16px 16px 0;
	color: #e62d24;
	font-size: 14px;
	font-weight: 950;
}

.ayman-related-category::before {
	content: "";
	width: 7px;
	height: 20px;
	background: #e62d24;
	transform: skewX(-20deg);
}

.ayman-related-card strong {
	display: block;
	padding: 10px 16px 0;
	font-size: 20px;
	line-height: 1.45;
	font-weight: 950;
	transition: color .22s ease;
}

.ayman-related-card time {
	display: block;
	padding: 18px 16px 20px;
	font-size: 14px;
	color: #606274;
}

.ayman-related-card:hover {
	border-color: rgba(230, 45, 36, .35);
	box-shadow: 0 14px 32px rgba(17, 17, 38, .10);
}

.ayman-related-card:hover img {
	transform: scale(1.055);
}

.ayman-related-card:hover strong {
	color: #e62d24;
}

@media (max-width: 900px) {
	.ayman-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ayman-news-detail {
		width: min(1180px, calc(100% - 22px));
	}

	.ayman-news-detail-body,
	.ayman-news-detail-head p {
		font-size: 18px;
	}

	.ayman-related-grid {
		grid-template-columns: 1fr;
	}
}

/* Let article detail break out of the default WordPress content width. */
body.page-id-6 .wp-block-post-content > .ayman-news-detail,
body.page-id-6 .entry-content > .ayman-news-detail,
body.page-id-6 .ayman-news-detail {
	max-width: none !important;
	width: min(1180px, calc(100% - 36px)) !important;
	margin: 42px auto 80px !important;
}

/* Custom site footer. */
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks footer.wp-block-template-part {
	display: none !important;
}

.ayman-site-footer {
	margin-top: 70px;
	background: #111126;
	color: #fff;
	border-top: 5px solid #ef4f34;
}

.ayman-footer-inner {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
	padding: 44px 0 34px;
	display: grid;
	grid-template-columns: minmax(280px, 1.2fr) minmax(220px, .8fr) auto;
	gap: 34px;
	align-items: center;
}

.ayman-footer-brand {
	display: grid;
	gap: 14px;
}

.ayman-footer-logo {
	display: inline-flex;
	width: 220px;
	height: 62px;
	align-items: center;
	justify-content: flex-start;
}

.ayman-footer-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ayman-footer-brand p {
	max-width: 430px;
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .78);
}

.ayman-footer-links {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 12px 28px;
}

.ayman-footer-links a {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	transition: color .2s ease;
}

.ayman-footer-links a:hover,
.ayman-footer-links a:focus {
	color: #ef4f34;
}

.ayman-footer-social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.ayman-footer-social a {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	color: #111126;
	font-size: 22px;
	font-weight: 950;
	text-decoration: none;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ayman-footer-social a:hover,
.ayman-footer-social a:focus {
	transform: translateY(-3px);
	background: #ef4f34;
	color: #fff;
}

.ayman-footer-bottom {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
	padding: 18px 0 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .68);
	font-size: 14px;
}

@media (max-width: 820px) {
	.ayman-footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.ayman-footer-brand {
		justify-items: center;
	}

	.ayman-footer-links {
		justify-content: center;
	}

	.ayman-footer-social {
		justify-content: center;
	}

	.ayman-footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* Social footer icons as real image assets. */
.ayman-footer-social a {
	font-size: 0;
	overflow: hidden;
}

.ayman-footer-social img {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.ayman-footer-social a:hover img,
.ayman-footer-social a:focus img {
	filter: none;
}

/* Video page: portrait cards with a focused red play treatment. */
body.page-id-7 h1.wp-block-post-title,
body.page-id-7 .wp-block-post-title {
	display: none !important;
}

body.page-id-7 .wp-site-blocks,
body.page-id-7 main,
body.page-id-7 .entry-content,
body.page-id-7 .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
}

body.page-id-7 .wp-block-post-content > .ayman-videos-page,
body.page-id-7 .entry-content > .ayman-videos-page,
.ayman-videos-page {
	width: min(1500px, calc(100% - 44px));
	margin: 34px auto 80px;
}

.ayman-videos-title {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	margin-bottom: 34px;
	border-top: 4px solid #e62d24;
	padding-top: 16px;
}

.ayman-videos-title span {
	width: 42px;
	height: 70px;
	background: linear-gradient(145deg, #e8e8ea 0%, #d1d2d7 100%);
	transform: skewX(-22deg);
}

.ayman-videos-title h1 {
	margin: 0;
	font-size: clamp(42px, 4vw, 62px);
	line-height: 1;
	font-weight: 950;
	color: #070713;
	text-shadow: 4px 5px 0 rgba(239, 79, 52, .18);
}

.ayman-videos-layout {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	grid-template-areas: "sidebar main";
	direction: ltr;
	gap: 34px;
	align-items: start;
}

.ayman-videos-main {
	grid-area: main;
	direction: rtl;
	min-width: 0;
}

.ayman-videos-layout .ayman-news-sidebar {
	grid-area: sidebar;
	direction: rtl;
}

.ayman-video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.ayman-video-card {
	min-width: 0;
}

.ayman-video-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #070713;
	font: inherit;
	text-align: right;
	cursor: pointer;
}

.ayman-video-thumb {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4.65;
	border-radius: 14px;
	overflow: hidden;
	background: #16172f;
}

.ayman-video-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease, filter .35s ease;
}

.ayman-video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.ayman-video-play::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 17px;
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 18px solid #e62d24;
}

.ayman-video-thumb time {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 3px 7px;
	border-radius: 4px;
	background: #e62d24;
	color: #fff;
	direction: ltr;
	font-size: 15px;
	font-weight: 900;
}

.ayman-video-card-body {
	display: block;
	padding-top: 14px;
}

.ayman-video-category {
	display: block;
	margin-bottom: 7px;
	color: #e62d24;
	font-size: 15px;
	font-weight: 950;
}

.ayman-video-card-body strong {
	display: block;
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.35;
	font-weight: 950;
	transition: color .22s ease;
}

.ayman-video-trigger:hover .ayman-video-thumb img,
.ayman-video-trigger:focus-visible .ayman-video-thumb img {
	transform: scale(1.06);
	filter: brightness(.92);
}

.ayman-video-trigger:hover .ayman-video-card-body strong,
.ayman-video-trigger:focus-visible .ayman-video-card-body strong {
	color: #e62d24;
}

.ayman-video-modal[hidden] {
	display: none;
}

.ayman-video-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 24px;
}

.ayman-video-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 7, 19, .82);
}

.ayman-video-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(820px, 100%);
	background: #070713;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.ayman-video-close {
	position: absolute;
	right: 12px;
	top: 8px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #070713;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ayman-video-player {
	position: relative;
	min-height: 460px;
	background: #000;
}

.ayman-video-player iframe,
.ayman-video-player img,
.ayman-video-player video {
	display: block;
	width: 100%;
	height: 460px;
	border: 0;
	object-fit: cover;
}

.ayman-video-player-note {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 10px 16px;
	background: rgba(7, 7, 19, .78);
	color: #fff;
	font-size: 16px;
	white-space: nowrap;
}

.ayman-video-modal-copy {
	padding: 18px 24px 24px;
	color: #fff;
	text-align: right;
}

.ayman-video-modal-copy .ayman-video-category {
	margin: 0 0 8px;
}

.ayman-video-modal-copy h2 {
	margin: 0;
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.35;
}

body.ayman-video-open {
	overflow: hidden;
}

/* Release the video page from the default Twenty Twenty-Five content width. */
body.page-id-7 .ayman-videos-page,
body.page-id-7 .wp-block-post-content .ayman-videos-page,
body.page-id-7 .entry-content .ayman-videos-page {
	max-width: none !important;
	width: min(1500px, calc(100% - 44px)) !important;
}

@media (max-width: 980px) {
	.ayman-videos-layout {
		grid-template-columns: 1fr;
		grid-template-areas: "main" "sidebar";
	}

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

@media (max-width: 640px) {
	.ayman-videos-page {
		width: min(1500px, calc(100% - 22px));
	}

	.ayman-video-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.ayman-video-thumb {
		aspect-ratio: 16 / 10;
	}

	.ayman-video-player,
	.ayman-video-player iframe,
	.ayman-video-player img,
	.ayman-video-player video {
		min-height: 250px;
		height: 250px;
	}
}
