/**
 * Λίστες και κουμπιά στις σελίδες του Elementor (αντί για JetEngine / JetElements).
 */

.ap-listing {
	grid-template-columns: repeat(var(--ap-c-d, 3), minmax(0, 1fr));
}

.ap-listing > .ap-grid__item[hidden] {
	display: none;
}

.ap-listing-empty {
	margin: 0;
	text-align: center;
}

@media (max-width: 1024px) {
	.ap-listing {
		grid-template-columns: repeat(var(--ap-c-t, 2), minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ap-listing {
		grid-template-columns: repeat(var(--ap-c-m, 1), minmax(0, 1fr));
	}
}

/* ---------- Carousel (JetEngine swiper) ---------- */

.ap-carousel {
	--ap-per-view: var(--ap-c-d, 3);
	position: relative;
}

.ap-carousel__viewport {
	overflow: hidden;
}

.ap-carousel__track {
	display: flex;
	will-change: transform;
}

.ap-carousel__slide {
	flex: 0 0 calc(100% / var(--ap-per-view));
	min-width: 0;
	padding: 10px;
}

.ap-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	padding: 1px;
	background: #111;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color .3s;
}

.ap-carousel__arrow svg {
	width: 32px;
	height: 32px;
	fill: #fff;
}

.ap-carousel__arrow--prev {
	left: -29px;
}

.ap-carousel__arrow--next {
	right: -25px;
}

.ap-carousel__arrow--next svg {
	transform: scaleX(-1);
}

@media (max-width: 1024px) {
	.ap-carousel {
		--ap-per-view: var(--ap-c-t, 2);
	}
}

@media (max-width: 767px) {
	.ap-carousel {
		--ap-per-view: var(--ap-c-m, 1);
	}
}

/* ---------- Κουμπιά (jet-button) ---------- */

.ap-jbtn-wrap {
	display: flex;
	justify-content: center;
}


.ap-jbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--ap-white, #fff);
	border: 0;
	border-radius: 10px;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 20px;
	color: var(--ap-primary, #1751c4);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}

.ap-jbtn:hover,
.ap-jbtn:focus-visible {
	background: var(--ap-primary, #1751c4);
	color: var(--ap-white, #fff);
}

.ap-jbtn--solid {
	background: var(--ap-primary, #1751c4);
	color: var(--ap-white, #fff);
}

.ap-jbtn--solid:hover,
.ap-jbtn--solid:focus-visible {
	background: var(--ap-white, #fff);
	color: var(--ap-primary, #1751c4);
}

.ap-jbtn--more {
	padding: 10px 30px;
	background: var(--ap-primary, #1751c4);
	border-radius: 4px;
	font-size: 16px;
	color: var(--ap-white, #fff);
}

.ap-jbtn--more:hover,
.ap-jbtn--more:focus-visible {
	background: var(--ap-white, #fff);
	color: var(--ap-primary, #1751c4);
	box-shadow: inset 0 0 0 1px var(--ap-primary, #1751c4);
}

.ap-jbtn--border {
	border: 3px solid var(--ap-white, #fff);
}

.ap-jbtn[hidden] {
	display: none;
}

@media (max-width: 767px) {
	.ap-jbtn--nav,
	.ap-jbtn--solid {
		font-size: 20px;
	}
}

/* ---------- Επόμενος αγώνας (listing 6117) ---------- */

.ap-next {
	display: flex;
	gap: 20px;
	min-height: 250px;
	padding: 10px;
	color: var(--ap-primary, #1751c4);
}

.ap-next__main {
	flex: 0 1 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 10px;
}

.ap-next__side {
	flex: 0 1 80%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px;
}

.ap-next__teams {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 10px;
}

.ap-next__team {
	flex: 0 1 305px;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 20px;
	line-height: 1;
	text-align: center;
}

.ap-next__vs {
	flex: 0 0 auto;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 32px;
	line-height: 1;
}

.ap-next__info {
	display: flex;
	flex-direction: column;
	padding: 10px;
	text-align: center;
}

.ap-next__date {
	font-family: "Chivo", sans-serif;
	font-size: 16px;
	line-height: 24px;
}

.ap-next__line {
	font-family: "Chivo", sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 18px;
}

.ap-next__line + .ap-next__line {
	margin-top: 5px;
}

.ap-next__logos {
	display: flex;
	justify-content: space-around;
	gap: 20px;
	padding: 10px;
}

.ap-next__logos img {
	display: block;
	width: 200px;
	height: 200px;
	object-fit: contain;
}

.ap-next__head {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px;
	text-align: end;
}

.ap-next__title {
	margin: 0;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 40px;
	font-weight: 200;
	line-height: 1;
	color: inherit;
}

.ap-next__sub {
	margin: 0;
	font-family: "Chivo", sans-serif;
	font-size: 20px;
	font-weight: 200;
	line-height: 1;
}

.ap-countdown {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 80px;
	padding: 10px;
}

.ap-countdown__item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: center;
}

.ap-countdown__value {
	font-family: "Dela Gothic One", sans-serif;
	font-size: 30px;
	line-height: 45px;
}

.ap-countdown__label {
	font-family: "Chivo", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.ap-next {
		flex-direction: column-reverse;
		gap: 0;
		padding: 0;
	}
	.ap-next__main {
		padding: 0;
	}
	.ap-next__teams {
		gap: 0;
	}
	.ap-next__team {
		flex: 0 0 120px;
		font-size: 13px;
	}
	.ap-next__vs {
		font-size: 20px;
	}
	.ap-next__logos {
		order: 2;
	}
	.ap-next__info {
		order: 3;
	}
	.ap-next__logos img {
		width: 100px;
		height: 100px;
	}
	.ap-next__side {
		gap: 0;
	}
	.ap-countdown {
		margin-top: 0;
		padding: 10px 0;
	}
	.ap-countdown__value {
		font-size: 23px;
		line-height: 35px;
	}
	.ap-countdown__label {
		font-size: 12px;
		line-height: 18px;
	}
	.ap-carousel__arrow {
		display: none;
	}
}

/* ---------- Κάρτες με φωτογραφία (listings 190, 172, 181) ---------- */

.ap-listing .ap-grid__item {
	padding: calc(var(--ap-gap-v, 20px) / 2) calc(var(--ap-gap-h, 20px) / 2);
}

.ap-listing {
	margin: 0 calc(var(--ap-gap-h, 20px) / -2);
}

.ap-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
	max-width: 400px;
	min-height: 500px;
	margin-inline: auto;
	padding: 8px;
	border-bottom: 3px solid var(--ap-primary, #1751c4);
	border-radius: 20px;
	box-shadow: -5px 0 53px -15px #000;
	color: var(--ap-white, #fff);
	text-decoration: none;
	transition: transform .4s, box-shadow .3s;
}

.ap-tile:hover,
.ap-tile:focus-visible {
	color: var(--ap-white, #fff);
	transform: translateY(-10px) scale(1.05);
}

.ap-tile .ap-tile__img {
	position: absolute;
	max-width: none;
	inset: 0 0 -3px;
	width: 100%;
	height: calc(100% + 3px);
	object-fit: cover;
	border-radius: 20px;
}

.ap-tile__facts,
.ap-tile__role {
	position: relative;
	align-self: center;
}

.ap-tile__facts {
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #0000007d;
	border-radius: 10px;
}

.ap-tile__facts li {
	display: flex;
	align-items: center;
	gap: 21px;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.ap-tile__facts li + li {
	margin-top: 8.5px;
	padding-top: 8.5px;
	border-top: 1px solid var(--ap-primary, #1751c4);
}

.ap-tile__facts .ap-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.ap-tile__role {
	padding: 5px;
	background: var(--ap-primary, #1751c4);
	border-radius: 5px;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

/* ---------- Χορηγοί (1295) ---------- */

.ap-sponsor {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 300px;
	padding: 8px;
	border-bottom: 3px solid var(--ap-primary, #1751c4);
	border-radius: 20px;
	box-shadow: -5px 0 53px -15px #000;
	color: var(--ap-primary, #1751c4);
	text-decoration: none;
	transition: transform .4s;
}

a.ap-sponsor:hover,
a.ap-sponsor:focus-visible {
	transform: translateY(-10px) scale(1.05);
}

.ap-sponsor__img {
	display: block;
	padding: 15px;
	border-bottom: 2px solid var(--ap-primary, #1751c4);
}

.ap-sponsor .ap-sponsor__img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}

.ap-sponsor__name {
	padding: 5px;
	border-bottom: 2px solid var(--ap-primary, #1751c4);
	font-family: "Trebuchet MS", sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

/* ---------- Διοίκηση (1878) ---------- */

.ap-gov {
	padding: 10px;
	background: #fff;
	color: var(--ap-primary, #1751c4);
}

.ap-gov__role {
	margin: 0;
	padding: 5px;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: inherit;
}

.ap-gov__name {
	margin: 0;
	padding: 5px;
	font-family: "Chivo", sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
}

/* ---------- Κάρτες «γυαλί» (6271, 6301) ---------- */

.ap-glass {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 525px;
	padding: 10px;
	background: rgba(255, 255, 255, .4);
	border-radius: 10px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
	-webkit-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px);
	color: var(--ap-primary, #1751c4);
}

.ap-glass__title {
	margin: 0;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: inherit;
	text-align: center;
}

.ap-training__rows {
	display: flex;
	flex-direction: column;
}

.ap-training__row {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 10px;
}

.ap-training__row span {
	flex: 0 0 150px;
	padding: 5px;
	font-family: "Chivo", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	text-align: center;
}

.ap-amatch__group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	text-align: center;
}

.ap-amatch__label {
	font-family: "Chivo", sans-serif;
	font-size: 14px;
	line-height: 1;
	color: #1751c4b3;
}

.ap-amatch__team {
	font-size: 18px;
}

.ap-amatch__value {
	font-family: "Chivo", sans-serif;
	font-size: 18px;
	line-height: 27px;
}

.ap-amatch__value a {
	color: blue;
}

.ap-amatch__squad {
	padding: 0;
	background: none;
	border: 0;
	font-family: "Chivo", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: #1751c4b3;
	cursor: pointer;
}

.ap-amatch__squad:hover,
.ap-amatch__squad:focus-visible {
	color: var(--ap-primary, #1751c4);
	background: none;
}

/* Παράθυρο «ΑΠΟΣΤΟΛΗ» (JetPopup: από αριστερά, όλο το ύψος) */
.ap-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(800px, 100%);
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 40px 30px 30px;
	background: #fff;
	border: 0;
	color: var(--ap-primary, #1751c4);
	overflow-y: auto;
	text-align: center;
}

.ap-drawer[open] {
	animation: ap-drawer-in .4s ease;
}

.ap-drawer::backdrop {
	background: rgba(0, 0, 0, .5);
}

@keyframes ap-drawer-in {
	from { transform: translateX(-100%); }
	to { transform: none; }
}

.ap-drawer__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: none;
	border: 0;
	color: var(--ap-primary, #1751c4);
	cursor: pointer;
}

.ap-drawer__close:hover,
.ap-drawer__close:focus-visible {
	background: none;
	color: #000;
}

.ap-drawer__close .ap-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ap-drawer__kicker {
	margin: 0 0 20px;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 16px;
}

.ap-drawer__title {
	margin: 0;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: inherit;
}

.ap-drawer__list {
	display: inline-block;
	margin: 20px auto 0;
	padding: 0;
	list-style: none;
	text-align: start;
}

.ap-drawer__list li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 32px;
	font-family: "Chivo", sans-serif;
	font-size: 16px;
	font-weight: 300;
}

.ap-drawer__list li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	background: url("../../../../uploads/2026/06/t-shirt.png") center / contain no-repeat;
}

@media (max-width: 767px) {
	.ap-listing .ap-grid__item {
		padding-top: calc(var(--ap-gap-v-m, var(--ap-gap-v, 20px)) / 2);
		padding-bottom: calc(var(--ap-gap-v-m, var(--ap-gap-v, 20px)) / 2);
	}
	.ap-tile,
	.ap-sponsor,
	.ap-glass {
		margin-inline: auto;
	}
}

/* ---------- Χρονολόγιο (jet-timeline, «Η ιστορία μας») ---------- */

.ap-timeline {
	--ap-tl-point: 100px;
	--ap-tl-space: 116px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 57px;
	margin-bottom: 100px;
	overflow-x: clip;
}

.ap-timeline__line {
	position: absolute;
	top: 0;
	bottom: 233px;
	left: calc(var(--ap-tl-point) / 2 - 1px);
	width: 2px;
	overflow: hidden;
	background: #e8e8f6;
}

.ap-timeline__progress {
	width: 100%;
	height: 0;
	background: var(--ap-primary, #1751c4);
}

.ap-timeline__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: var(--ap-tl-space);
}

.ap-timeline__point {
	position: relative;
	z-index: 1;
	flex: 0 0 var(--ap-tl-point);
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--ap-tl-point);
	height: var(--ap-tl-point);
	background: var(--ap-white, #fff);
	border-radius: 50%;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	color: var(--ap-primary, #1751c4);
	transition: background-color .3s, color .3s;
}

.ap-timeline__item.is-active .ap-timeline__point {
	background: var(--ap-primary, #1751c4);
	color: var(--ap-white, #fff);
}

.ap-timeline__card {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding: 40px;
	background: #fff;
	border-radius: 6px;
	opacity: 0;
	transform: translateX(40%);
	transition: opacity .6s ease, transform .6s ease;
}

.ap-timeline__item.is-shown .ap-timeline__card {
	opacity: 1;
	transform: none;
}

.ap-timeline__arrow {
	position: absolute;
	top: 6px;
	left: -14px;
	width: 28px;
	height: 28px;
	background: #fff;
	transform: rotate(45deg);
}

.ap-timeline__meta {
	margin: 0;
	font-family: "Dela Gothic One", sans-serif;
	font-size: 35px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ap-white, #fff);
	text-align: justify;
	transition: color .3s;
}

.ap-timeline__item.is-active .ap-timeline__meta {
	color: var(--ap-primary, #1751c4);
}

.ap-timeline__desc {
	font-family: "Chivo", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--ap-primary, #1751c4);
	text-align: justify;
}

.ap-timeline__desc p {
	margin: 0 0 14px;
}

.ap-timeline__desc p:last-child {
	margin-bottom: 0;
}

.ap-timeline__desc img {
	height: auto;
	max-width: 100%;
}

@media (max-width: 767px) {
	.ap-timeline {
		--ap-tl-point: 48px;
		--ap-tl-space: 0px;
		width: 301px;
		max-width: 100%;
		margin-inline: auto;
	}
	.ap-timeline__point {
		font-size: 10px;
	}
	.ap-timeline__arrow {
		display: none;
	}
	.ap-timeline__meta {
		font-size: 20px;
	}
	.ap-timeline__desc {
		font-size: 10px;
		line-height: 1.5;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ap-timeline__card {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
