/* ===== bala24 child theme ===== */
:root {
	--bala-accent: var(--g-color, #24f27e);   /* πράσινο από τις ρυθμίσεις Foxiz */
	--bala-ink: #04121f;                       /* σκούρο κείμενο πάνω στο πράσινο */
	--bala-bg: #041223;                        /* φόντο site */
	--bala-card: #0a1f36;                      /* φόντο καρτών */
	--bala-panel: rgba(9, 34, 60, .94);
}

/* ---------- Pill κατηγορίας ---------- */
.bala-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 4px;
	background: #fff;
	color: var(--bala-ink) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	white-space: nowrap;
}
.bala-pill__logo { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; margin: 0 !important; }
.bala-pill--sm { font-size: 11px; padding: 2px 6px; border-radius: 3px; }

/* ---------- Μεγάλη είδηση (hero) ---------- */
.bala-hero {
	position: relative;
	display: grid;
	grid-template-columns: 58% 1fr;
	align-items: center;
	/* σε όλο το πλάτος της οθόνης, με μέγιστο πλάτος περιεχομένου 1790px */
	width: 100vw;
	max-width: 100vw;
	margin: 24px calc(50% - 50vw) 0;
	padding: 0 max(24px, calc((100vw - 1790px) / 2));
	box-sizing: border-box;
	font-family: var(--h1-family, inherit);
}
.bala-hero__media {
	display: block;
	grid-column: 1;
	grid-row: 1;
	aspect-ratio: 2 / 1.05;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
}
.bala-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bala-hero__media:hover img { transform: scale(1.03); }
.bala-hero__panel {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-left: 50%;
	padding: 56px 36px;
	background: var(--bala-panel);
	border: 1px solid color-mix(in srgb, var(--bala-accent) 25%, transparent);
	border-radius: 12px;
	backdrop-filter: blur(4px);
	position: relative;
	z-index: 1;
}
.bala-hero__title { margin: 14px 0 16px; font-size: clamp(26px, 2.4vw, 44px); line-height: 1.25; font-weight: 700; }
.bala-hero__title a { color: #fff !important; text-decoration: none !important; }
.bala-hero__title a:hover { color: var(--bala-accent) !important; }
.bala-hero__meta { display: flex; align-items: center; gap: 10px; color: #c9d4e0; font-size: 15px; }
.bala-hero__avatar {
	flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
	border: 2px solid var(--bala-accent); line-height: 0;
}
.bala-hero__avatar img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; border-radius: 50%; }

/* ---------- Κορυφαίες Ειδήσεις ---------- */
.bala-top { font-family: var(--h1-family, inherit); }
.bala-top__title {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	padding-bottom: 10px;
	margin-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.bala-top__grid { display: grid; grid-template-columns: repeat(var(--bala-top-cols, 2), 1fr); gap: 16px; }
.bala-top--lead {
	width: 100vw;
	max-width: 100vw;
	margin: 28px calc(50% - 50vw) 0;
	padding: 0 max(24px, calc((100vw - 1790px) / 2));
	box-sizing: border-box;
}
.bala-top__item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 150px;
	background: var(--bala-card);
	border: 1px solid color-mix(in srgb, var(--bala-accent) 20%, transparent);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none !important;
	transition: border-color .2s ease;
}
.bala-top__item:hover { border-color: var(--bala-accent); }
.bala-top__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }
.bala-top__body { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; min-width: 0; }
.bala-top__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.bala-top__date { color: #c9d4e0; font-size: 11px; white-space: nowrap; }
.bala-top__date b { color: #fff; }
.bala-top__name {
	color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
	transition: color .2s ease;
}
.bala-top__item:hover .bala-top__name { color: var(--bala-accent); }

@media (max-width: 1024px) {
	.bala-hero { grid-template-columns: 1fr; padding: 0 16px; }
	.bala-hero__media { aspect-ratio: 16 / 9; }
	.bala-hero__panel { margin: -40px 12px 0; padding: 22px 20px; grid-row: 2; }
	.bala-top__grid { grid-template-columns: 1fr; }
	.bala-top--lead { padding: 0 16px; }
}
@media (max-width: 560px) {
	.bala-hero__meta { font-size: 13px; }
	.bala-top__item { grid-template-columns: 120px 1fr; min-height: 110px; }
	.bala-top__name { font-size: 14px; -webkit-line-clamp: 3; }
}

/* ---------- Μπάρα αγώνων ---------- */
.bala-sc {
	display: flex;
	align-items: stretch;
	gap: 8px;
	padding: 10px 16px;
	background: #020b16;
	border-bottom: 2px solid var(--bala-accent);
	font-family: var(--h1-family, inherit);
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	z-index: 50;
}
.bala-sc[hidden] { display: none !important; }
.bala-sc__tabs { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.bala-sc__tab {
	display: flex; align-items: center; gap: 6px;
	padding: 3px 10px 3px 4px;
	border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #c9d4e0;
	font: inherit; font-size: 11px; font-weight: 700;
	cursor: pointer; white-space: nowrap;
}
.bala-sc__tab.is-active { background: var(--bala-accent); color: var(--bala-ink); }
.bala-sc__tab-logo { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; margin: 0 !important; }
.bala-sc__track { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; }
.bala-sc__track::-webkit-scrollbar { display: none; }
.bala-sc__nav {
	flex: 0 0 30px; align-self: center; width: 30px; height: 30px;
	border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
	background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 0 3px;
}
.bala-sc__nav:disabled { opacity: .3; cursor: default; }
.bala-sc__card {
	flex: 0 0 190px;
	padding: 8px 10px;
	background: var(--bala-card);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 6px;
	color: #fff;
	font-size: 12px;
}
.bala-sc__card[hidden] { display: none; }
.bala-sc__card.is-live { border-color: #ff3b3b; }
.bala-sc__head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 11px; color: #8fa3b8; }
.bala-sc__final { font-weight: 700; color: #c9d4e0; }
.bala-sc__time { font-weight: 800; color: var(--bala-accent); }
.bala-sc__live { font-weight: 800; color: #ff3b3b; }
.bala-sc__live::before {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%;
	background: #ff3b3b; vertical-align: middle; animation: bala-sc-pulse 1.4s ease-in-out infinite;
}
@keyframes bala-sc-pulse { 50% { opacity: .3; } }
.bala-sc__team { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.bala-sc__crest { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; margin: 0 !important; }
.bala-sc__name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bala-sc__score { margin-left: auto; font-weight: 700; font-size: 13px; }
.bala-sc__team.is-win .bala-sc__name, .bala-sc__team.is-win .bala-sc__score { font-weight: 800; color: var(--bala-accent); }
.is-live .bala-sc__score { color: #ff3b3b; }
@media (max-width: 640px) {
	.bala-sc { flex-wrap: wrap; padding: 8px; }
	.bala-sc__tabs { flex: 1 0 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.bala-sc__nav { display: none; }
	.bala-sc__card { flex-basis: 165px; }
}

/* ---------- Κάρτες «editorial» (Blogs) ---------- */
.bala-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	font-family: var(--h1-family, inherit);
}
.bala-card {
	display: flex;
	flex-direction: column;
	background: var(--bala-card);
	border: 1px solid color-mix(in srgb, var(--bala-accent) 35%, transparent);
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	transition: border-color .2s ease, transform .2s ease;
}
.bala-card:hover { border-color: var(--bala-accent); transform: translateY(-3px); }

.bala-card__media { position: relative; display: block; aspect-ratio: 16 / 10; }
.bala-card__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bala-card__play {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--bala-accent);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.bala-card__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-left: 11px solid var(--bala-ink);
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
}

.bala-card__avatar {
	position: absolute;
	left: 50%;
	bottom: -32px;
	transform: translateX(-50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--bala-accent);
	background: var(--bala-card);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.bala-card__avatar img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0 !important; border-radius: 50%; }

.bala-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 44px 18px 22px;
	text-align: center;
	flex: 1;
}
.bala-card__author {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bala-accent);
	padding-bottom: 6px;
	border-bottom: 1px solid color-mix(in srgb, var(--bala-accent) 60%, transparent);
}
.bala-card__title {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	transition: color .2s ease;
}
.bala-card:hover .bala-card__title { color: var(--bala-accent); }

@media (max-width: 1024px) { .bala-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bala-cards { grid-template-columns: 1fr; } }

/* ---------- Ροή ειδήσεων ---------- */
.bala-feed {
	display: flex;
	flex-direction: column;
	background: var(--bala-card);
	border: 1px solid color-mix(in srgb, var(--bala-accent) 30%, transparent);
	border-radius: 8px;
	overflow: hidden;
	font-family: var(--h1-family, inherit);
}
.bala-feed__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: var(--bala-accent);
	color: var(--bala-ink) !important;
	font-size: 20px;
	font-weight: 800;
	text-decoration: none !important;
	clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
}
.bala-feed__arrow { font-size: 22px; margin-right: 12px; transition: transform .2s ease; }
.bala-feed__head:hover .bala-feed__arrow { transform: translateX(4px); }

.bala-feed__list {
	max-height: 640px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--bala-accent) transparent;
}
.bala-feed__item {
	display: flex;
	gap: 14px;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	text-decoration: none !important;
	transition: background-color .15s ease;
}
.bala-feed__item:hover { background: rgba(255, 255, 255, .04); }
.bala-feed__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bala-feed__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.bala-feed__cat {
	color: var(--bala-accent);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bala-feed__meta time { color: #999; flex: 0 0 auto; }
.bala-feed__title {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .15s ease;
}
.bala-feed__item:hover .bala-feed__title { color: var(--bala-accent); }
.bala-feed__thumb { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 6px; overflow: hidden; }
.bala-feed__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; }

.bala-feed__more {
	display: block;
	padding: 14px;
	background: var(--bala-accent);
	color: var(--bala-ink) !important;
	text-align: center;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none !important;
	transition: filter .15s ease;
}
.bala-feed__more:hover { filter: brightness(1.08); }


/* ---------- Αρχική ---------- */
/* Παλιές κύριες ειδήσεις: η πρώτη θέση γίνεται «Κορυφαίες Ειδήσεις», οι υπόλοιπες κρύβονται. */
.bala-home .elementor-element-7643f77,
.bala-home .elementor-element-b43d549,
.bala-home .elementor-element-0fab0eb { display: none !important; }
.bala-home .elementor-element-56b38b4 { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; }
.bala-home .elementor-element-e165b28 { margin-top: 28px; }
@media (min-width: 1025px) {
	.bala-home .elementor-element-613cd15 { position: sticky; top: 80px; align-self: flex-start; }
}


/* ---------- Μπάρα ομάδων (στη θέση των trends του header) ---------- */
/* Οι κύκλοι μικραίνουν αυτόματα ώστε να χωράνε πάντα όλοι στο διαθέσιμο πλάτος (container query). */
.elementor-element-e9bda06,
.elementor-element-e9bda06 > .elementor-widget-container { container-type: inline-size; min-width: 0; flex: 1 1 auto; }
.bala-teams {
	--n: 20;      /* πλήθος σημάτων */
	--gap: 8px;
	--size: clamp(26px, calc((100cqw - (var(--n) - 1) * var(--gap) - 14px) / var(--n)), 40px);
	display: flex;
	align-items: center;
	gap: var(--gap);
	padding: 6px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.bala-teams::-webkit-scrollbar { display: none; }
.bala-teams__item {
	flex: 0 0 var(--size);
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
	transition: transform .15s ease, box-shadow .15s ease;
}
.bala-teams__item img { width: 72% !important; height: 72% !important; object-fit: contain; margin: 0 !important; }
.bala-teams__item:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.bala-teams__sep { flex: 0 0 2px; align-self: stretch; margin: 6px 2px; background: rgba(4, 18, 35, .35); border-radius: 2px; }
@media (max-width: 1024px) {
	/* σε tablet/κινητό σταθερό μέγεθος και οριζόντια κύλιση */
	.bala-teams { --size: 36px; }
}

/* ---------- Logo header (desktop): μεγαλύτερο, πιο αριστερά, στην ευθεία του μενού ---------- */
@media (min-width: 1025px) {
	.elementor-element-4b9e61c {
		width: auto !important;
		max-width: none !important;
		flex: 0 0 auto !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		margin-left: -40px;
		margin-right: 16px;
	}
	.elementor-element-b5721bf { width: auto !important; max-width: none !important; }
	/* η στήλη logo + μενού παίρνει τον χώρο που χρειάζεται, η δεξιά (αναζήτηση/χρήστης) μόνο όσο της χρειάζεται */
	.elementor-element-790096e { flex: 1 1 auto !important; width: auto !important; max-width: none !important; }
	.elementor-element-fdb13db { flex: 0 0 auto !important; width: auto !important; }
	.elementor-element-1c5dcdd .main-menu { flex-wrap: nowrap !important; }
	.elementor-element-b5721bf .the-logo,
	.elementor-element-b5721bf .the-logo a { display: flex; align-items: center; }
	.elementor-element-b5721bf img {
		height: 31px !important;
		max-height: 31px !important;
		width: auto !important;
		max-width: none !important;
		object-fit: contain !important;
	}
}

/* ---------- Social icons header (Elementor cd4ed01): μεγαλύτεροι κύκλοι, χρώμα δικτύου στο hover ---------- */
.elementor-element-cd4ed01 .elementor-widget-container > div,
.elementor-element-cd4ed01 .social-holder,
.elementor-element-cd4ed01 .e-social-holder { display: flex; align-items: center; gap: 10px; }
.elementor-element-cd4ed01 a[class*="social-link-"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50%;
	background: var(--bala-bg);
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.elementor-element-cd4ed01 a[class*="social-link-"] i { font-size: 18px !important; line-height: 1; color: inherit !important; }
.elementor-element-cd4ed01 a[class*="social-link-"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.elementor-element-cd4ed01 .social-link-facebook:hover { background: #1877f2; }
.elementor-element-cd4ed01 .social-link-twitter:hover { background: #000; }
.elementor-element-cd4ed01 .social-link-youtube:hover { background: #ff0000; }
.elementor-element-cd4ed01 .social-link-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.elementor-element-cd4ed01 .social-link-tiktok:hover { background: #010101; }
@media (max-width: 640px) {
	.elementor-element-cd4ed01 a[class*="social-link-"] { width: 34px !important; height: 34px !important; }
	.elementor-element-cd4ed01 a[class*="social-link-"] i { font-size: 15px !important; }
}
