/* Falastin ASD — sports club theme (Kester-inspired layout, colori brand Falastin) */

:root {
	--falastin-red: #E3000F;
	--falastin-green: #008542;
	--falastin-black: #0A0A0A;
	--falastin-dark: #141414;
	--falastin-gray: #1f1f1f;
	--falastin-white: #FFFFFF;
}

body {
	background: var(--falastin-black);
	color: var(--falastin-white);
}

/* Reveal */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.bg-checkered {
	background-size: 20px 20px;
	background-image: radial-gradient(#1f1f1f 1px, transparent 1px);
	background-color: #0A0A0A;
}

/* Buttons — Kester-like rectangular CTAs */
.falastin-btn-primary,
.falastin-btn-primary-solid,
.falastin-btn-dark,
.falastin-btn-light {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	font-family: Oswald, "Noto Naskh Arabic", sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.falastin-btn-primary {
	background: var(--falastin-red);
	color: #fff;
	border: 2px solid var(--falastin-red);
}
.falastin-btn-primary:hover {
	background: transparent;
	color: var(--falastin-red);
}

.falastin-btn-primary-solid {
	background: var(--falastin-red);
	color: #fff;
	border: 2px solid var(--falastin-red);
}
.falastin-btn-primary-solid:hover {
	background: var(--falastin-black);
	border-color: var(--falastin-black);
	color: #fff;
}

.falastin-btn-dark {
	background: var(--falastin-black);
	color: #fff;
	border: 2px solid var(--falastin-black);
}
.falastin-btn-dark:hover {
	background: #fff;
	color: var(--falastin-black);
}

.falastin-btn-light {
	background: #fff;
	color: var(--falastin-black);
	border: 2px solid #fff;
}
.falastin-btn-light:hover {
	background: transparent;
	color: #fff;
}

/* Header sticky offset with admin bar */
.admin-bar .falastin-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .falastin-header {
		top: 46px;
	}
}

#mobile-menu {
	transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
}
#mobile-menu.open {
	max-height: 560px;
	opacity: 1;
}

/* Match cards */
.falastin-match-card {
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	padding: 1.25rem 1.5rem;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.falastin-match-card:hover {
	border-color: var(--falastin-red);
	box-shadow: 0 8px 24px rgba(227, 0, 15, 0.08);
}

/* Panel accent */
.falastin-panel-accent {
	position: relative;
}
.falastin-panel-accent::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(to bottom, var(--falastin-red), var(--falastin-green));
}

/* Player cards */
.falastin-player-card {
	background: var(--falastin-black);
	border: 1px solid #27272a;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease;
}
.falastin-player-card:hover {
	border-color: var(--falastin-red);
	transform: translateY(-4px);
}
.falastin-player-card.is-gk:hover {
	border-color: var(--falastin-green);
}
.falastin-player-photo {
	position: relative;
	aspect-ratio: 3 / 4;
	background: #1a1a1a;
	overflow: hidden;
}
.falastin-player-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #52525b;
	background: linear-gradient(160deg, #1f1f1f 0%, #0a0a0a 100%);
}
.falastin-player-number {
	position: absolute;
	bottom: 0.5rem;
	right: 0.65rem;
	font-family: Oswald, sans-serif;
	font-weight: 800;
	font-size: 2.5rem;
	line-height: 1;
	color: rgba(227, 0, 15, 0.85);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}
.falastin-player-card.is-gk .falastin-player-number {
	color: rgba(0, 133, 66, 0.9);
}

/* News */
.falastin-news-card {
	overflow: hidden;
}
.falastin-news-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Forms feedback */
.falastin-form-msg {
	display: none;
	padding: 0.75rem 1rem;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
}
.falastin-form-msg.is-success {
	display: block;
	background: rgba(0, 133, 66, 0.15);
	color: #008542;
	border: 1px solid #008542;
}
.falastin-form-msg.is-error {
	display: block;
	background: rgba(227, 0, 15, 0.15);
	color: #E3000F;
	border: 1px solid #E3000F;
}

/* Single / archive content */
.falastin-content a {
	color: #E3000F;
	text-decoration: underline;
}
.falastin-content h2,
.falastin-content h3 {
	font-family: Oswald, "Noto Naskh Arabic", sans-serif;
	text-transform: uppercase;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}
.falastin-content p {
	margin-bottom: 1em;
	line-height: 1.7;
	color: #d4d4d8;
}
.falastin-content ul {
	list-style: disc;
	padding-inline-start: 1.5rem;
	margin-bottom: 1em;
	color: #d4d4d8;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Language switcher polish */
.falastin-lang-switch a {
	font-weight: 700;
	letter-spacing: 0.08em;
}

/* Stemma ufficiale */
.falastin-logo {
	display: block;
	height: 56px;
	width: auto;
	max-width: 56px;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
	transition: transform 0.25s ease;
}
.falastin-brand:hover .falastin-logo {
	transform: scale(1.04);
}
.falastin-logo--footer {
	height: 48px;
	max-width: 48px;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}
@media (min-width: 768px) {
	.falastin-logo {
		height: 64px;
		max-width: 64px;
	}
}
@media (min-width: 1024px) {
	.falastin-logo {
		height: 72px;
		max-width: 72px;
	}
}
