/* ==========================================================================
   Custom Best of Europe — custom-best-of-europe.css  v1.0.0
   ========================================================================== */

/* ── Grid (shortcode listing) ───────────────────────────────────────────── */
.boe-grid {
	display:     flex;
	gap:         1.5rem;
	align-items: flex-start;
}

.boe-grid-col {
	flex:            1;
	display:         flex;
	flex-direction:  column;
	gap:             1.5rem;
}

.boe-grid-col--offset {
	margin-top: 8%;
}

@media (max-width: 640px) {
	.boe-grid {
		flex-direction: column;
	}
	.boe-grid-col--offset {
		margin-top: 0;
	}
}

.boe-grid-item {
	display:         block;
	text-decoration: none;
	color:           inherit;
}

/* Image wrapper — fixed aspect ratio, all images same size */
.boe-grid-img-wrap {
	position:     relative;
	width:        100%;
	aspect-ratio: 2 / 3;
	overflow:     hidden;
	border-radius: 20px;
}

.boe-grid-img-wrap img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
	transition: filter .35s ease;
}

/* Hover: lighten image */
.boe-grid-item:hover .boe-grid-img-wrap img {
	filter: brightness(1);
}

.boe-grid-item .boe-grid-img-wrap img {
	filter: brightness(0.5);
}

/* Overlay (hidden by default) */
.boe-grid-overlay {
	position:        absolute;
	inset:           0;
	display:         flex;
	flex-direction:  column;
	justify-content: flex-end;
	align-items:     start;
	padding:         1.25rem;
	text-align:      center;
	opacity:         0;
	transition:      opacity .3s ease;
}

.boe-grid-item:hover .boe-grid-overlay {
	opacity: 1;
}

.boe-grid-title {
	font-size:      1.875rem; /* text-3xl */
	font-weight:    700;
	text-transform: uppercase;
	color:          #fff;
	line-height:    1.15;
	text-shadow:    0 1px 6px rgba(0, 0, 0, .55);
}

.boe-grid-country {
	font-size:   1.25rem; /* text-xl */
	color:       #fff;
	margin-top:  .5rem;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

/* ── Single page ─────────────────────────────────────────────────────────── */
.boe-single-page {
	width:     100%;
	max-width: 100%;
}

.boe-single {
	display:               grid;
	grid-template-columns: 2fr 3fr;
	gap:                   6rem;
	align-items:           start;
}

@media (max-width: 768px) {
	.boe-single {
		grid-template-columns: 1fr;
	}
	.boe-slider {
		position: static !important;
	}
}

/* ── Slider ─────────────────────────────────────────────────────────────── */
.boe-slider {
	position: sticky;
	top:      2rem;
}

.boe-slider-track {
	position:     relative;
	width:        100%;
	aspect-ratio: 1 / 3;
	overflow:     hidden;
	border-radius: 12px;
	max-height: 850px;
}

.boe-slider-track img {
	position:   absolute;
	inset:      0;
	width:      100%;
	height:     100%;
	object-fit: cover;
	opacity:    0;
	transition: opacity .4s ease;
}

.boe-slider-track img.is-active {
	opacity: 1;
}

.boe-slider-nav {
	display:         flex;
	justify-content: space-between;
	/* justify-content: flex-end; */
	gap:             .5rem;
	margin-top:      .75rem;

	position: absolute;
	top: 50%;
	left: 2.5%;
	transform: translateY(-50%);
	width: 95%;
}

.boe-slider-btn {
	width:          2.5rem;
	height:         2.5rem;
	/* border:         1px solid currentColor; */
	border-radius:  50%;
	background:     none;
	color:          white;
	text-shadow: #000 0px 0px 5px;
	cursor:         pointer;
	display:        flex;
	align-items:    center;
	justify-content: center;
	padding:        0;
	transition:     opacity .2s ease;
	flex-shrink:    0;
}

.boe-slider-btn:hover {
	opacity: .5;
}

/* ── Content column ─────────────────────────────────────────────────────── */
.boe-content-col {
	display:        flex;
	flex-direction: column;
	gap:            2rem;
}

.boe-single-title {
	/* @apply text-6xl lg:text-8xl uppercase; */
	font-size: clamp(2rem, 6vw, 6.25rem);
	font-weight: 800;
	line-height: 1.1;
	margin:      0;
	text-transform: uppercase;
}

.boe-single-country {
	@apply text-2xl lg:text-4xl;
	/* font-size:      2.5rem; */
	font-weight:    200;
	text-transform: uppercase;
	/* letter-spacing: .1em; */
	/* opacity:        .6; */
	margin:         0;
}

/* ── Accordion ──────────────────────────────────────────────────────────── */
.boe-accordion {
	width:          100%;
	display:        flex;
	flex-direction: column;
}

.boe-accordion-item {
	border-top: 1px solid currentColor;
}

.boe-accordion-item:last-child {
	border-bottom: 1px solid currentColor;
}

.boe-accordion-trigger {
	display:         flex;
	justify-content: space-between;
	align-items:     center;
	width:           100%;
	padding:         1.25rem 0;
	background:      none;
	border:          none;
	cursor:          pointer;
	font-size:       1.875rem;
	font-weight:     500;
	text-transform:  uppercase;
	letter-spacing:  .06em;
	color:           inherit;
	text-align:      left;
	padding-right: 2rem;
}

.boe-accordion-trigger i {
	flex-shrink: 0;
	transition:  transform .2s ease;
}

.boe-accordion-content {
	display: none;
	padding: 0 0 1.5rem;
}

.boe-accordion-content.is-open {
	display: block;
}


.boe-single-page ul {
	list-style: disc;
	margin-left: 1.5rem;
}