/*
 * Single event page — new design (templates/event-page.php).
 * Theme and Elementor CSS load after this file and restyle buttons and links,
 * so rules use two classes and, for buttons, !important.
 */
.vgce {
	--vgce-navy: #1c2c4c;
	--vgce-navy-2: #23345a;
	--vgce-ink: #4a5468;
	--vgce-muted: #6b7486;
	--vgce-teal: #4fd1c5;
	--vgce-teal-ink: #138376;
	--vgce-teal-soft: #e9f8f5;
	--vgce-teal-chip: #e1f5f1;
	--vgce-aqua: #a8ede6;
	--vgce-line: #dbe8eb;
	--vgce-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--vgce-sans: "Mulish", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	color: var(--vgce-ink);
	font-family: var(--vgce-sans);
	font-size: 16px;
	line-height: 1.7;
	padding-bottom: 96px;
	overflow-x: clip;
}
.vgce *, .vgce *::before, .vgce *::after { box-sizing: border-box; }
.vgce [hidden] { display: none !important; }
.vgce a { text-decoration: none; }
.vgce .vgce-ico { display: block; flex: 0 0 auto; }
.vgce .vgce-wrap { max-width: 1004px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.vgce .vgce-hero { background: var(--vgce-navy); color: #fff; padding: 64px 0 120px; }
.vgce .vgce-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 228px;
	gap: 72px;
	align-items: start;
}
.vgce .vgce-hero__inner--solo { grid-template-columns: minmax(0, 1fr); }
.vgce .vgce-hero__text { padding-top: 42px; min-width: 0; }

.vgce .vgce-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.vgce .vgce-pill {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 3px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.3;
	text-transform: uppercase;
}
.vgce .vgce-pill--solid { background: var(--vgce-teal); color: var(--vgce-navy); }
.vgce .vgce-pill--line { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; padding: 4px 11px; }
.vgce .vgce-pill--muted { background: rgba(255, 255, 255, .14); color: #fff; }

.vgce .vgce-titlerow { display: flex; align-items: center; gap: 22px; }
.vgce .vgce-datebadge {
	flex: 0 0 82px;
	height: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: var(--vgce-teal);
	color: var(--vgce-navy);
	line-height: 1;
}
.vgce .vgce-datebadge span { font-size: 12px; font-weight: 800; letter-spacing: .16em; margin-bottom: 6px; }
.vgce .vgce-datebadge strong { font-family: var(--vgce-serif); font-size: 36px; font-weight: 700; }
.vgce .vgce-title {
	margin: 0;
	font-family: var(--vgce-serif);
	font-size: clamp(32px, 4.6vw, 52px);
	font-weight: 700;
	line-height: 1.08;
	color: #fff;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.vgce .vgce-host {
	margin: 26px 0 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .16);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	font-size: 15px;
}
.vgce .vgce-host > span { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--vgce-teal); }
.vgce .vgce-host strong, .vgce .vgce-host a { color: #fff; font-weight: 700; }
.vgce .vgce-host a:hover { color: var(--vgce-teal); }

.vgce .vgce-flyer { position: relative; }
.vgce .vgce-flyer .vgce-flyer__open {
	position: relative;
	display: block !important;
	width: 100% !important;
	padding: 6px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: #fff !important;
	box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55);
	cursor: zoom-in;
	line-height: 0;
}
.vgce .vgce-flyer img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; border-radius: 2px; }
.vgce .vgce-flyer__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--vgce-navy);
	color: #fff;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
	transition: transform .15s ease;
}
.vgce .vgce-flyer__open:hover .vgce-flyer__zoom { transform: scale(1.08); }

/* ── Facts bar ────────────────────────────────────────────────────────── */
.vgce .vgce-facts {
	position: relative;
	margin: -56px 0 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: #fff;
	border-top: 5px solid var(--vgce-teal);
	border-radius: 4px;
	box-shadow: 0 22px 44px -26px rgba(28, 44, 76, .45);
}
.vgce .vgce-facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vgce .vgce-facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vgce .vgce-facts--1 { grid-template-columns: minmax(0, 1fr); }
.vgce .vgce-fact {
	display: flex;
	gap: 14px;
	padding: 26px 24px 28px;
	min-width: 0;
	color: var(--vgce-teal-ink);
}
.vgce .vgce-fact + .vgce-fact { border-left: 1.5px dashed #cdeee8; }
.vgce .vgce-fact > div { min-width: 0; }
.vgce .vgce-fact dt { margin: 1px 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--vgce-teal-ink); }
.vgce .vgce-fact dd { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--vgce-navy); overflow-wrap: anywhere; }
.vgce .vgce-fact .vgce-fact__sub { margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--vgce-muted); }

/* ── Body ─────────────────────────────────────────────────────────────── */
.vgce .vgce-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 286px;
	gap: 56px;
	margin-top: 64px;
	align-items: start;
}
.vgce .vgce-main { min-width: 0; }
.vgce .vgce-section + .vgce-section { margin-top: 64px; }

.vgce .vgce-h2 {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 22px;
	font-family: var(--vgce-serif);
	font-size: clamp(26px, 3vw, 31px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--vgce-navy);
}
.vgce .vgce-h2::after { content: ""; flex: 1 1 auto; height: 1px; background: #cfece6; margin-top: 4px; }
.vgce .vgce-h2--plain::after { display: none; }

.vgce .vgce-prose { font-size: 16px; line-height: 1.8; color: var(--vgce-ink); overflow-wrap: anywhere; }
.vgce .vgce-prose p { margin: 0 0 16px; }
.vgce .vgce-prose p:last-child { margin-bottom: 0; }
.vgce .vgce-prose a { color: var(--vgce-teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.vgce .vgce-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.vgce .vgce-prose strong { color: var(--vgce-navy); }
.vgce .vgce-listen { margin-top: 24px; }

.vgce .vgce-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 28px; }
.vgce .vgce-photos .vgce-photos__item {
	display: block !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: none !important;
	overflow: hidden;
	aspect-ratio: 1;
	cursor: zoom-in;
}
.vgce .vgce-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.vgce .vgce-photos__item:hover img { transform: scale(1.04); }

/* Series dates (markup shared with event-calendar.css) */
.vgce .vgcsc-event-when { margin: 0; padding: 0; background: none; border: 0; }
.vgce .vgcsc-event-when .vgcsc-event-when__list { margin: 0; }

/* Schedule */
.vgce .vgce-timeline { list-style: none; margin: 0; padding: 0; }
.vgce .vgce-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 100px 28px minmax(0, 1fr);
	gap: 0 12px;
	padding-bottom: 30px;
	margin: 0;
}
.vgce .vgce-timeline li:last-child { padding-bottom: 0; }
.vgce .vgce-timeline__time { font-size: 13.5px; font-weight: 800; color: var(--vgce-navy); padding-top: 3px; }
.vgce .vgce-timeline__dot { position: relative; display: block; }
.vgce .vgce-timeline__dot::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 6px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--vgce-teal);
	box-shadow: 0 0 0 4px #fff;
	z-index: 1;
}
.vgce .vgce-timeline li:not(:last-child) .vgce-timeline__dot::after {
	content: "";
	position: absolute;
	left: 13px;
	top: 20px;
	bottom: -36px;
	width: 2px;
	background: #c9efe9;
}
.vgce .vgce-timeline__body strong { display: block; font-size: 16px; font-weight: 600; color: var(--vgce-navy); }
.vgce .vgce-timeline__body span { display: block; font-size: 14px; color: var(--vgce-muted); }

/* Map */
.vgce .vgce-map { position: relative; height: 306px; border-radius: 10px; overflow: hidden; background: #e8efef; }
.vgce .vgce-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vgce .vgce-map__bar {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 9px 9px 18px;
	border-radius: 4px;
	background: var(--vgce-navy);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.vgce .vgce-map__bar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vgce .vgce-map__bar a {
	flex: 0 0 auto;
	padding: 10px 16px;
	border-radius: 3px;
	background: var(--vgce-teal);
	color: var(--vgce-navy);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	white-space: nowrap;
}
.vgce .vgce-map__bar a:hover { background: #7fe3d6; color: var(--vgce-navy); }

/* ── Sidebar ──────────────────────────────────────────────────────────── */
.vgce .vgce-side { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.vgce .vgce-card { border-radius: 8px; padding: 26px 24px; }
.vgce .vgce-label { margin: 0 0 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--vgce-teal-ink); }

.vgce .vgce-attend { background: var(--vgce-teal-soft); }
.vgce .vgce-attend .vgce-btn,
.vgce .vgce-attend .vgcsc-atc__btn.vgce-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	min-height: 48px;
	margin: 0 0 12px !important;
	padding: 12px 16px !important;
	border-radius: 3px !important;
	font-family: var(--vgce-sans) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: .03em;
	line-height: 1.2 !important;
	text-transform: none !important;
	box-shadow: none !important;
	transition: background .15s ease, color .15s ease;
	cursor: pointer;
}
.vgce .vgce-attend .vgce-btn--solid { background: var(--vgce-navy) !important; color: #fff !important; border: 1.5px solid var(--vgce-navy) !important; }
.vgce .vgce-attend .vgce-btn--solid:hover { background: #0f1a2e !important; }
.vgce .vgce-attend .vgce-btn--line { background: transparent !important; color: var(--vgce-navy) !important; border: 1.5px solid var(--vgce-navy) !important; }
.vgce .vgce-attend .vgce-btn--line:hover { background: #fff !important; }
.vgce .vgce-attend .vgcsc-atc.vgce-atc { position: relative; display: block !important; width: 100% !important; max-width: 100%; margin: 0 !important; text-align: left; }
.vgce .vgce-attend .vgcsc-atc.vgce-atc .vgcsc-atc__btn { white-space: normal !important; text-align: center; }
.vgce .vgce-attend .vgce-atc .vgcsc-atc__menu { left: 0; right: 0; top: calc(100% - 6px); min-width: 0; z-index: 30; }

.vgce .vgce-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	padding-top: 14px;
	border-top: 1px dashed #b9e4dc;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--vgce-navy);
}
.vgce .vgce-share__btns { display: flex; gap: 8px; }
.vgce .vgce-share .vgce-share__btn {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: #fff !important;
	color: var(--vgce-navy) !important;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.vgce .vgce-share .vgce-share__btn:hover { background: var(--vgce-navy) !important; color: #fff !important; }
.vgce .vgce-share__ok { display: none; }
.vgce .vgce-share__btn.is-copied .vgce-share__ico { display: none; }
.vgce .vgce-share__btn.is-copied .vgce-share__ok { display: block; color: var(--vgce-teal-ink); }
.vgce .vgce-copied { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--vgce-teal-ink); text-align: right; }

.vgce .vgce-org { background: #fff; border: 1px solid var(--vgce-line); }
.vgce .vgce-org__who { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--vgce-line); }
.vgce .vgce-org__avatar {
	flex: 0 0 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: var(--vgce-navy);
	color: var(--vgce-teal);
	font-family: var(--vgce-serif);
	font-size: 19px;
	font-weight: 700;
}
.vgce .vgce-org__name { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--vgce-navy); }
.vgce a.vgce-org__name:hover { color: var(--vgce-teal-ink); }
.vgce .vgce-org__tag { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--vgce-muted); }
.vgce .vgce-org__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.vgce .vgce-org__list li { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.vgce .vgce-org__list a { color: var(--vgce-navy); }
.vgce .vgce-org__list a:hover { color: var(--vgce-teal-ink); }
.vgce .vgce-org__list .vgce-org__web { color: var(--vgce-teal-ink); font-weight: 700; }
.vgce .vgce-org__social { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.vgce .vgce-org__social a { color: var(--vgce-teal-ink); font-weight: 700; }

.vgce .vgce-tags ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vgce .vgce-tags li { margin: 0; padding: 5px 12px; border-radius: 3px; background: var(--vgce-teal-chip); color: var(--vgce-navy); font-size: 13px; font-weight: 600; }

/* ── More events ──────────────────────────────────────────────────────── */
.vgce .vgce-more { margin-top: 72px; }
.vgce .vgce-more::before { content: ""; display: block; height: 1px; background: #d6ece8; margin-bottom: 44px; }
.vgce .vgce-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.vgce .vgce-more__head .vgce-h2 { margin: 0; }
.vgce .vgce-more__all { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--vgce-teal-ink); white-space: nowrap; }
.vgce .vgce-more__all:hover { color: var(--vgce-navy); }
.vgce .vgce-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vgce .vgce-ecard {
	display: flex;
	flex-direction: column;
	border: 1px solid #d3ede8;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	color: var(--vgce-navy);
	transition: transform .18s ease, box-shadow .18s ease;
}
.vgce .vgce-ecard:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -22px rgba(28, 44, 76, .5); color: var(--vgce-navy); }
.vgce .vgce-ecard__img { position: relative; display: block; height: 168px; background: var(--vgce-aqua); }
.vgce .vgce-ecard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vgce .vgce-ecard__date {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 52px;
	padding: 8px 8px 7px;
	border-radius: 3px;
	background: var(--vgce-navy);
	color: #fff;
	line-height: 1;
}
.vgce .vgce-ecard__date span { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; margin-bottom: 5px; }
.vgce .vgce-ecard__date strong { font-family: var(--vgce-serif); font-size: 22px; font-weight: 700; }
.vgce .vgce-ecard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.vgce .vgce-ecard__title { font-family: var(--vgce-serif); font-size: 20px; font-weight: 600; line-height: 1.25; }
.vgce .vgce-ecard__meta { font-size: 13.5px; color: var(--vgce-muted); }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.vgce-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 24px;
	background: rgba(10, 18, 34, .92);
}
.vgce-lightbox[hidden] { display: none !important; }
.vgce-lightbox .vgce-lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.vgce-lightbox .vgce-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .14) !important;
	color: #fff !important;
	cursor: pointer;
}
html.vgce-lock, html.vgce-lock body { overflow: hidden; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
	.vgce .vgce-facts, .vgce .vgce-facts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vgce .vgce-fact:nth-child(3) { border-left: 0; }
	.vgce .vgce-fact:nth-child(n+3) { border-top: 1.5px dashed #cdeee8; }
	.vgce .vgce-body { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
}
@media (max-width: 860px) {
	.vgce .vgce-hero { padding: 36px 0 96px; }
	.vgce .vgce-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.vgce .vgce-hero__text { padding-top: 0; }
	.vgce .vgce-flyer { max-width: 280px; }
	.vgce .vgce-body { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px; }
	.vgce .vgce-more__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.vgce .vgce-ecard { flex-direction: row; }
	.vgce .vgce-ecard__img { flex: 0 0 40%; height: auto; min-height: 120px; }
}
@media (max-width: 560px) {
	.vgce .vgce-wrap { padding: 0 16px; }
	.vgce .vgce-titlerow { align-items: flex-start; gap: 14px; }
	.vgce .vgce-datebadge { flex-basis: 62px; height: 62px; }
	.vgce .vgce-datebadge strong { font-size: 28px; }
	.vgce .vgce-facts, .vgce .vgce-facts--3, .vgce .vgce-facts--2 { grid-template-columns: minmax(0, 1fr); }
	.vgce .vgce-fact + .vgce-fact { border-left: 0; border-top: 1.5px dashed #cdeee8; }
	.vgce .vgce-fact { padding: 18px 20px; }
	.vgce .vgce-timeline li { grid-template-columns: 74px 24px minmax(0, 1fr); gap: 0 8px; }
	.vgce .vgce-map { height: 280px; }
	.vgce .vgce-map__bar { flex-direction: column; align-items: stretch; padding: 12px; }
	.vgce .vgce-map__bar > span { white-space: normal; }
	.vgce .vgce-map__bar a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.vgce .vgce-ecard, .vgce .vgce-photos img { transition: none; }
}
