/* ============================================================
   Single Activity page — act-* components
   ============================================================ */

/* Astra CSS variable overrides — must be on body */
body.post-type-activity {
	--ast-container-width: 100% !important;
	--ast-content-width:   100% !important;
}

/* Strip Astra's default content padding — full-width layout */
body.post-type-activity #page,
body.post-type-activity #content,
body.post-type-activity #primary,
body.post-type-activity #main,
body.post-type-activity .site-main,
body.post-type-activity .content-area,
body.post-type-activity .site-content,
body.post-type-activity .ast-container,
body.post-type-activity .entry-content,
body.post-type-activity .ast-article-post,
body.post-type-activity .ast-article-post-full,
body.post-type-activity .ast-entry-content,
body.post-type-activity article,
body.post-type-activity article.post {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}

body.post-type-activity #secondary,
body.post-type-activity .widget-area {
	display: none !important;
}

body.post-type-activity .entry-header,
body.post-type-activity .post-navigation,
body.post-type-activity .ast-author-bio {
	display: none !important;
}

/* ── Footer: green to match header ─────────────────────────── */

body.post-type-activity .elementor-location-footer > .e-con:first-child:not(.elementor-motion-effects-element-type-background),
body.post-type-activity .elementor-location-footer > .e-con:first-child > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: #1a3a1e !important;
	background-image: none !important;
}

body.post-type-activity .elementor-location-footer,
body.post-type-activity .elementor-location-footer p,
body.post-type-activity .elementor-location-footer a,
body.post-type-activity .elementor-location-footer span,
body.post-type-activity .elementor-location-footer li,
body.post-type-activity .elementor-location-footer .elementor-heading-title {
	color: #ffffff !important;
}

/* ── Overall content width: 65% desktop, 100% mobile ───────── */

body.post-type-activity .act-single {
	width: 65%;
	margin: 0 auto;
}

@media (max-width: 767px) {
	body.post-type-activity .act-single {
		width: 100%;
	}
}

/* ── Shared tokens ──────────────────────────────────────────── */

.act-eyebrow {
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #4a9c52;
	margin-bottom: 14px;
}

.act-eyebrow--center { text-align: center; }

.act-heading {
	font-family: 'Roboto Slab', 'Georgia', serif;
	font-size: clamp(26px, 3.5vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	color: #1a3a1e;
	margin: 0 0 24px;
}

.act-heading--center { text-align: center; }

.act-heading--light {
	color: #1a3a1e !important;
}

/* ── About / Description ────────────────────────────────────── */

.act-about {
	background: #f5f7f5;
	padding: 80px 0;
}

.act-about-inner {
	padding: 0 60px;
}

.act-about-has-image {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: start;
}

.act-about-media img {
	display: block;
	width: 100%;
	height: 460px;
	object-fit: cover;
	object-position: center;
}

.act-description {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	line-height: 1.85;
	color: #2d3d2d;
	margin-bottom: 32px;
}

.act-description p { margin: 0 0 16px; }
.act-description p:last-child { margin-bottom: 0; }

.act-btn-primary {
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 13px 30px;
	background: #4a9c52;
	color: #fff;
	border: 2px solid #4a9c52;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.act-btn-primary:hover,
.act-btn-primary:focus-visible {
	background: #3d8444;
	border-color: #3d8444;
	color: #fff;
	outline: none;
}

/* ── Gallery ────────────────────────────────────────────────── */

.act-gallery-section {
	background: #fff;
	padding: 80px 0;
}

.act-gallery-inner {
	padding: 0 60px;
}

.act-gallery-grid {
	columns: 7;
	column-gap: 8px;
	margin-top: 48px;
}

.act-gallery-item {
	position: relative;
	display: block;
	break-inside: avoid;
	overflow: hidden;
	background: #1a3a1e;
	text-decoration: none;
	margin-bottom: 8px;
}

.act-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}

.act-gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 58, 30, 0.50);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.act-gallery-overlay::after {
	content: '+';
	font-size: 36px;
	font-weight: 300;
	color: #fff;
	line-height: 1;
}

.act-gallery-item:hover img          { transform: scale(1.06); }
.act-gallery-item:hover .act-gallery-overlay { opacity: 1; }

/* Mobile slider: full-width breakout */
@media (max-width: 767px) {
	.act-gallery-grid { display: none; }

	.act-gallery-slider {
		display: block !important;
		width: 100vw;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}
}

/* ── Info / Contacts ────────────────────────────────────────── */

.act-info {
	background: #f5f7f5;
	padding: 80px 0;
}

.act-info-inner {
	padding: 0 60px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.act-contact-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.act-contact-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(26, 58, 30, 0.1);
}

.act-contact-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #4a9c52;
}

.act-contact-value {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: #2d3d2d;
	line-height: 1.6;
}

a.act-contact-link {
	text-decoration: none;
	transition: color 0.2s ease;
}

a.act-contact-link:hover {
	color: #8fd4a0 !important;
}

.act-map-link {
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(26, 58, 30, 0.50);
	text-decoration: none;
	transition: color 0.2s ease;
}

.act-map-link:hover {
	color: #4a9c52 !important;
}

.act-info-map {
	height: 460px;
	overflow: hidden;
}

.act-info-map iframe {
	display: block;
	width: 100%;
	height: 100%;
}

/* ── Reuse venue lightbox (duplicated here since venue.css not loaded) ── */

.vg-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vg-lb-img-wrap {
	max-width: 92vw;
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vg-lb-img {
	max-width: 92vw;
	max-height: 88vh;
	object-fit: contain;
	display: block;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
	user-select: none;
}

.vg-lb-close {
	position: fixed;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	color: #fff;
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
	z-index: 100001;
	padding: 4px 10px;
}

.vg-lb-prev,
.vg-lb-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.10);
	border: none;
	color: #fff;
	font-size: 52px;
	width: 54px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 100001;
	line-height: 1;
}

.vg-lb-prev { left: 0;  border-radius: 0 4px 4px 0; }
.vg-lb-next { right: 0; border-radius: 4px 0 0 4px; }

.vg-lb-prev:hover,
.vg-lb-next:hover { background: rgba(255, 255, 255, 0.22); }

.vg-lb-counter {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.65);
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	letter-spacing: 0.5px;
	z-index: 100001;
	pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
	.act-about-has-image {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.act-about-media img {
		height: 340px;
	}
	.act-info-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.act-gallery-grid {
		columns: 4;
	}
}

@media (max-width: 768px) {
	.act-about,
	.act-gallery-section,
	.act-info {
		padding: 56px 0;
	}
	.act-about-inner,
	.act-gallery-inner,
	.act-info-inner {
		padding: 0 24px;
	}
	.act-info-map {
		height: 300px;
	}
}

@media (max-width: 600px) {
	.act-gallery-grid {
		columns: 2;
	}
}
