/* =========================================================================
   BBCA Events - single event page.
   ====================================================================== */

.evs-page {
	--evs-ink: #0B1220;
	--evs-ink-soft: #46506A;
	--evs-line: rgba(11, 18, 32, .10);
	--evs-gold: var(--yellow-color, #fec624);
	--evs-gold-deep: #8a6400;
	--evs-surface-alt: #F4F6FB;
	--evs-radius: 18px;
	--evs-shadow-lg: 0 8px 20px rgba(11, 18, 32, .08), 0 30px 60px rgba(11, 18, 32, .12);
	--evs-ease: cubic-bezier(.22, .61, .36, 1);
	color: var(--evs-ink-soft);
	overflow-x: clip;
}

.evs-page h1,
.evs-page h2,
.evs-page h3 {
	font-family: var(--title-font, "Exo", sans-serif);
	letter-spacing: -.02em;
}

/* ---------------------------------------------------------------- Hero */

.evs-hero {
	position: relative;
	isolation: isolate;
	padding: 92px 0 82px;
	background: radial-gradient(120% 130% at 12% 0%, #16223D 0%, #0B1220 55%, #060A14 100%);
	color: #fff;
	overflow: hidden;
}

.evs-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-position: center;
	background-size: cover;
	opacity: .17;
	filter: grayscale(.5) contrast(1.05);
}

.evs-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		radial-gradient(34rem 34rem at 88% 6%, rgba(254, 198, 36, .15), transparent 62%),
		radial-gradient(28rem 28rem at 4% 92%, rgba(92, 137, 255, .14), transparent 64%);
}

.evs-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-bottom: 26px;
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .5);
}

.evs-crumb a {
	color: rgba(255, 255, 255, .78);
	transition: color .25s var(--evs-ease);
}

.evs-crumb a:hover,
.evs-crumb a:focus-visible {
	color: var(--evs-gold);
}

.evs-crumb__current {
	color: #fff;
	max-width: 46ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.evs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding: 8px 18px 8px 11px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 100px;
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	color: #fff;
}

.evs-eyebrow__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--evs-gold);
	box-shadow: 0 0 0 4px rgba(254, 198, 36, .22);
}

.evs-hero__title {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(1.9rem, 4.2vw, 3.2rem);
	font-weight: 700;
	line-height: 1.12;
	color: #fff;
}

.evs-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.evs-hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 9px 18px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 100px;
	background: rgba(255, 255, 255, .05);
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .86);
}

.evs-hero__meta i {
	color: var(--evs-gold);
}

/* ---------------------------------------------------------------- Body */

.evs-body {
	padding: 74px 0 96px;
	background: #fff;
}

.evs-figure {
	margin: 0 0 36px;
	border-radius: var(--evs-radius);
	overflow: hidden;
	background: var(--evs-surface-alt);
	box-shadow: var(--evs-shadow-lg);
}

.evs-figure img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	transition: transform 1s var(--evs-ease);
}

.evs-figure:hover img {
	transform: scale(1.03);
}

.evs-content {
	font-size: 1.06rem;
	line-height: 1.85;
}

.evs-content > * + * {
	margin-top: 1.4em;
}

.evs-content > p:first-of-type {
	font-size: 1.18rem;
	line-height: 1.7;
	color: var(--evs-ink);
}

.evs-content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.evs-content a {
	color: var(--evs-gold-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.evs-content h2,
.evs-content h3,
.evs-content h4 {
	color: var(--evs-ink);
	margin-top: 1.8em;
}

/* Video embeds fill the column and keep a 16:9 box. */
.evs-content iframe,
.evs-content video,
.evs-content .wp-block-embed__wrapper iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--evs-radius);
	overflow: hidden;
	background: #000;
	box-shadow: var(--evs-shadow-lg);
}

.evs-content .wp-block-embed,
.evs-content p:has(> iframe) {
	margin-top: 1.8em;
}

/* ------------------------------------------------------------- Gallery */

.evs-gallery-wrap {
	margin-top: 52px;
}

.evs-subtitle {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--evs-ink-soft);
}

.evs-subtitle::after {
	content: "";
	order: 3;
	flex: 1;
	height: 1px;
	background: var(--evs-line);
}

.evs-subtitle__count {
	order: 2;
	padding: 3px 11px;
	border-radius: 100px;
	background: rgba(254, 198, 36, .2);
	font-size: 11px;
	font-weight: 700;
	color: var(--evs-gold-deep);
}

.evs-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.evs-gallery__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: var(--evs-surface-alt);
}

.evs-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--evs-ease);
}

.evs-gallery__item:hover img {
	transform: scale(1.08);
}

.evs-gallery__zoom {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(11, 18, 32, .5);
	color: var(--evs-gold);
	font-size: 22px;
	opacity: 0;
	transition: opacity .3s var(--evs-ease);
}

.evs-gallery__item:hover .evs-gallery__zoom,
.evs-gallery__item:focus-visible .evs-gallery__zoom {
	opacity: 1;
}

/* --------------------------------------------------------------- Share */

.evs-share {
	margin-top: 46px;
	padding: 24px 26px;
	border: 1px solid var(--evs-line);
	border-radius: var(--evs-radius);
	background: var(--evs-surface-alt);
}

/* ------------------------------------------------------------ Prev/next */

.evs-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 30px;
}

.evs-nav__link {
	display: block;
	padding: 20px 22px;
	border: 1px solid var(--evs-line);
	border-radius: var(--evs-radius);
	background: #fff;
	color: var(--evs-ink);
	transition: transform .3s var(--evs-ease), box-shadow .3s var(--evs-ease), border-color .3s var(--evs-ease);
}

.evs-nav__link:hover,
.evs-nav__link:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(254, 198, 36, .55);
	box-shadow: var(--evs-shadow-lg);
	color: var(--evs-ink);
}

.evs-nav__link--next {
	text-align: right;
}

.evs-nav__label {
	display: block;
	margin-bottom: 7px;
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--evs-ink-soft);
}

.evs-nav__title {
	display: block;
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

/* ------------------------------------------------------------- Sidebar */

.evs-side {
	position: sticky;
	top: calc(var(--evs-header-h, 0px) + 24px);
}

.evs-widget {
	padding: 26px;
	margin-bottom: 24px;
	border: 1px solid var(--evs-line);
	border-radius: var(--evs-radius);
	background: #fff;
}

.evs-widget:last-child {
	margin-bottom: 0;
}

.evs-widget__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--evs-ink-soft);
}

.evs-widget__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--evs-line);
}

.evs-details {
	margin: 0;
}

.evs-details dt {
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--evs-ink-soft);
}

.evs-details dd {
	margin: 4px 0 16px;
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 1rem;
	font-weight: 600;
	color: var(--evs-ink);
}

.evs-details dd:last-of-type {
	margin-bottom: 0;
}

.evs-details:empty {
	display: none;
}

/* No date, venue or photos to list: just the back link, no empty card. */
.evs-widget--bare {
	padding: 18px 22px;
}

.evs-widget--bare .evs-back {
	margin-top: 0;
}

.evs-back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 20px;
	padding: 11px 22px;
	border: 1px solid var(--evs-line);
	border-radius: 100px;
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 13px;
	font-weight: 600;
	color: var(--evs-ink);
	transition: all .25s var(--evs-ease);
}

.evs-back:hover,
.evs-back:focus-visible {
	border-color: transparent;
	background: var(--evs-ink);
	color: #fff;
}

/* More events list */

.evs-more {
	margin: 0;
	padding: 0;
	list-style: none;
}

.evs-more li {
	margin: 0;
}

.evs-more li + li {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--evs-line);
}

.evs-more a {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--evs-ink);
}

.evs-more__thumb {
	flex: none;
	width: 62px;
	height: 62px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--evs-surface-alt);
}

.evs-more__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.evs-more__info {
	min-width: 0;
}

.evs-more strong {
	display: block;
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.35;
}

.evs-more small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--evs-ink-soft);
}

.evs-more a:hover strong {
	color: var(--evs-gold-deep);
}

/* Sidebar CTA */

.evs-widget--cta {
	border-color: transparent;
	background: radial-gradient(120% 150% at 85% 5%, #1B2947 0%, #0B1220 60%, #060A14 100%);
	color: rgba(255, 255, 255, .74);
	text-align: center;
}

.evs-cta__title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.evs-cta__text {
	margin: 0 0 20px;
	font-size: .93rem;
	line-height: 1.7;
}

.evs-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border-radius: 100px;
	background: var(--evs-gold);
	font-family: var(--title-font, "Exo", sans-serif);
	font-size: 14px;
	font-weight: 600;
	color: var(--evs-ink);
	transition: transform .3s var(--evs-ease), box-shadow .3s var(--evs-ease);
}

.evs-cta__btn:hover,
.evs-cta__btn:focus-visible {
	color: var(--evs-ink);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(254, 198, 36, .36);
}

/* ---------------------------------------------------------- Responsive */

@media (max-width: 991.98px) {
	.evs-side {
		position: static;
		margin-top: 48px;
	}

	.evs-body {
		padding: 54px 0 72px;
	}
}

@media (max-width: 575.98px) {
	.evs-hero {
		padding: 64px 0 56px;
	}

	.evs-gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.evs-nav {
		grid-template-columns: 1fr;
	}

	.evs-nav__link--next {
		text-align: left;
	}

	.evs-share {
		padding: 20px;
	}

	.evs-widget {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.evs-page *,
	.evs-page *::before,
	.evs-page *::after {
		transition-duration: .001ms !important;
	}
}
