﻿:root {
	--ink: #0b2239;
}
main.content {background-color: #f7fcff}

/* Card shell */
.card.activity-card {
	overflow: hidden;
	border: 1px solid #EAEDF2;
	border-radius: 0.3125rem;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
	transition: all 0.2s ease-in-out;
}

.card.activity-card:hover {
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.09);
}

.card.activity-card:not(:last-child) {
	margin-bottom: 2rem;
}
.activity-status {
	margin-left: .5rem;
	font-size: .86rem;
	color: #009b72;
	border: 1px solid rgba(0, 155, 114, 0.25);
	padding: 2px 10px;
	border-radius: 100px;
	display:inline-block;
	font-weight:600;
}
ul.activity-tags {
	list-style-type:none;
	margin:0;
}
ul.activity-tags li {
	display: inline-block;
	font-size: 0.86rem;
	border: 1px solid #ced9dd;
	padding: 2px 6px;
	border-radius: 4px;
	background: #f7f9fa;
}
ul.activity-tags li + li { margin-left: 10px; }
.activity-title {
	margin-bottom: 1.5rem;
	font-size: clamp(1.15rem, 1.4vw, 1.8rem);
	line-height: 1.1;
}
.activity-sub {
	margin-bottom: 1.5rem;
	line-height: 1.5;
	font-size: clamp(.9rem, 1.2vw, 2rem);
	color: #555A64;
}
/* custom select */
.filter-activities-wrapper {
	position: relative;
	max-width: 300px;
}
#activityFilter {
	cursor: pointer;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	height: calc(1.5em + 0.6875rem + 2px);
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0.5rem;
	font-size: 0.875rem;
	display: inline-block;
	max-width: 300px;
	padding-left: 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: #555A64;
	vertical-align: middle;
	background: none no-repeat right 0.75rem center / 8px 10px;
	background-color: #fff;
	border: 1px solid #EAEDF2;
	border-radius: 0.1875rem;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	word-wrap: normal;
	text-transform: none;
	margin-bottom: 0;
	background: #fff;
}
#activityFilter option {
	min-inline-size: 24px;
	min-block-size: -internal-auto-base(24px, max(24px, 1lh));
	font-weight: -internal-auto-base(normal, inherit);
	padding-block-end: -internal-auto-base(1px, 0);
	display: -internal-auto-base(block, flex);
	align-items: center;
	padding-inline: -internal-auto-base(2px, 0.5em);
	gap: 0.5em;
}
#activityFilter + .icon {
	position: absolute;
	transform: translateY(-50%);
	right: 0.75rem;
	top: 1.25rem;
	pointer-events: none;
}

/* Content wrapper padding */
.act-wrapper {	padding: 1.5rem 1.5rem 0; }
.button.details:hover {

}
.button.details:focus {
	background-color: transparent;
	color: #006699;
	outline: none;
	transform: none;
}
.top-messages .note { margin-bottom: 15px }
.top-messages .note:last-of-type { margin-bottom: 25px }

.button--cancel:hover,
.button--cancel:focus {
	color: #546b75;
	border-color: #ced9dd;
	box-shadow: none;
	transform: none;
	background-color: #f7f9fa;
	outline: none;
	cursor: default !important;
}

.divider {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: clamp(56px, 22%, 110px);
	background: #fff;
	pointer-events: none;
	z-index: 2;
	-webkit-mask: radial-gradient( 120% 100% at 0% 50%, /* ellipse centered on the LEFT edge */
	transparent 0 78%, /* <— how deep the curve cuts */
	black 79% 100% );
	mask: radial-gradient( 120% 100% at 0% 50%, transparent 0 78%, black 79% 100% );
}
/* Badges */
.activity-badges {
	margin-bottom: 1.5rem
}
.badge {
	font-size: .86rem;
	font-weight: 700;
	line-height: 1;
	padding: 0.5rem 0.75rem;
	border-radius: 10rem;
	background: #258bbe;
	color: #fff;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
	margin-bottom: 10px;
	margin-right: 10px;
}

/* Action/info bar + meta list */
.activity-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.activity-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--ink);
	display: inline-flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}

.activity-meta .meta {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: 1rem;
	white-space: nowrap;
	font-weight: 800;
}

.meta .fa-light {
	font-size: 1rem;
}

/* Grid alignment: equal heights for image/content columns */
.grid.grid--nogutters .img_grid {
	padding: 0;
}

.activity-card .grid {
	display: flex;
	flex-wrap: wrap;
}

.activity-card .grid__unit {
	display: flex;
	flex-direction: column;
}

/* Image container + image fill/hover */
a.bg-gradient {
	background: linear-gradient(to right, #00547e, #003D5C) !important;
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	overflow: hidden;
}

.activity-card .hover-fade-out {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.45s ease, opacity 0.45s ease;
}

.activity-card .hover-fade-out:hover {
	/*transform: scale(1.05);*/
	opacity: .85;
}

/* Utility fallbacks (if you’re not loading a utility framework) */
.position-relative {
	position: relative !important;
}

.d-block {
	display: block !important;
}

img.flex-fill {
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: middle;
	border-style: none;
	transition: all 0.2s ease-in-out;
}

/* Collapsible body */
.activity-body {
	padding: 1.5rem;
	color: #000;
	line-height: 1.65;
	transition: all 0.2s ease-in-out;
}

/* Notes inside body */
.activity-body .note + .note {
	margin-top: 15px;
}
.note {
	font-weight: 600;
	font-size:1rem;
	line-height:1.5;
}
.note.note-warning {
	border: 1px solid #ffe69c;
	background-color: #fff3cd;
	color: #664d03;
}

.note.note-success {
	border: 1px solid #a3cfbb;
	background-color: #d1e7dd;
	color: #0a3622;
}

/* ADA note above the cards */
.ada-accommodation {
	font-size: 1rem;
}

/* Header separator bar used above the list */
.header_separator {
	display: inline-block;
	vertical-align: top;
	width: 120px;
	height: 3px;
	margin: 15px 0 5px;
	background-color: #356bf8;
}

/* Responsive: stack meta under actions on small screens */
@media (max-width: 680px) {
	.activity-bar {
		flex-direction: column;
		align-items: stretch;
		gap: .5rem;
	}

	.activity-meta {
		justify-content: flex-start;
		gap: .8rem;
	}
}

/* ===== Inline gallery over the cover image ===== */
.act-gallery {
	position: relative;
}

/* Reuse existing sized image container (.bg-gradient) */
.act-gallery .bg-gradient {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.grid__unit--3-8-m .act-gallery {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	height: 220px; /* adjust as needed */
	overflow: hidden; /* ensure cropping happens */
}
.act-gallery > .bg-gradient {
	display: block;
	width: 100%;
	height: 100%; /* <<< replaces the previous clamp/aspect rule */
	overflow: hidden;
}
.act-gallery .act-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center; /* adjust per-image if needed */
	display: block;
}

/* Image inside */
.act-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform .45s ease, opacity .45s ease;
}

/* Arrows */
.act-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.45);
	color: #fff;
	cursor: pointer;
	z-index: 3;
	opacity: 0;
	transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.act-gallery__nav:hover {
	background: rgba(0,0,0,.6);
}

.act-gallery__nav:active {
	transform: translateY(-50%) scale(.98);
}

.act-gallery:hover .act-gallery__nav {
	opacity: 1;
}

.act-gallery__nav--prev {
	left: 10px;
}

.act-gallery__nav--next {
	right: 10px;
}
@media (max-width: 1369.98px) {
	.act-gallery__nav--next {
		right: 35px;
	}
	.divider {display:none}
}

/* Dots */
.act-gallery__dots {
	position: absolute;
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 3;
}

.act-gallery__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	background: rgba(255,255,255,.55);
	cursor: pointer;
	padding: 0;
}

.act-gallery__dot.is-active {
	background: #fff;
}

/* Reduce controls on small screens */
@media (max-width: 640px) {
	.act-gallery__nav {
		width: 36px;
		height: 36px;
	}

	.act-gallery__dots {
		bottom: 6px;
	}
}

@media (min-width: 1370px) {
	.card.activity-card .grid__unit.grid__unit--5-8-m {
		padding: 0 48px 24px 0;
	}
}
@media (min-width: 1020px) {
	.event_hub.title-block {
		padding-top: 76px;
		padding-bottom: 76px;
	}
}
.button.return:focus {text-decoration: none;}
.button.return .fa-chevron-left {font-size:.86rem; padding-right:6px}