:root {
	/* 🎨 Brand Colors */
	--color-primary: #000;      /* Main brand black */
	--color-secondary: #B20708;    /* Accent red */
	--color-accent: #D54E21;       /* Orange/red accent */

	/* ⚫ Neutrals */
	--color-black: #000;
	--color-dark-gray: #141414;
	--color-gray: #707070;
	--color-light-gray: #ccc;
	--color-lighter-gray: #f4f4f4;
	--color-white: #fff;

	/* ✨ Status / Utility */
	--color-success: #21759B;      /* Example teal/blue */
	--color-warning: #903;         /* Example dark red */
	--color-error: #810506;        /* Strong error red */

	/* 🎛 Buttons */
	--button-bg: var(--color-primary);
	--button-bg-hover: var(--color-secondary);
	--button-text: var(--color-white);

	/* 📝 Text Colors */
	--text-color: var(--color-dark-gray);
	--text-color-light: var(--color-gray);
	--link-color: var(--color-primary);
	--link-hover: var(--color-secondary);

	/* 🔠 Typography */
	--font-primary: Helvetica, Arial, sans-serif;
	--font-secondary: Georgia, serif;
	--font-icons: "Font Awesome 5 Free";

	/* 📏 Font Sizes (scalable headers) */
	--font-size-xs: 0.75rem;  /* small text, captions */
	--font-size-sm: 0.9rem;   /* body small */
	--font-size-base: 1rem;   /* default body */
	--font-size-lg: 1.2rem;   /* larger body, subhead */
	--font-size-xl: 1.6rem;   /* h5 */
	--font-size-2xl: 2rem;    /* h4 */
	--font-size-3xl: 2.4rem;  /* h3 */
	--font-size-4xl: 3rem;    /* h2 */
	--font-size-5xl: 4rem;    /* h1 / hero */
}

.hh-events .loading-spinner {
	color: var(--color-secondary);
	margin-bottom: 50px;
}

/* Sidebar / Datepicker */
.datepicker.datepicker-dropdown {
	z-index: 21 !important;
}

.hh-events #mini-calendar .input-daterange input {
	/* width: 100%; */
	height: 40px;
	padding: 0 15px;
	background-color: #fff;
	border-radius: 2px;
	border: 2px solid #e8eaed;
}

/* Accessibility fix */
.hh-events :focus {
	outline-offset: 2px;
	outline-color: var(--color-secondary);
}

.hh-events .sidebar .checkboxes label:focus-within {
	outline: 5px auto var(--color-secondary);
	outline-offset: 5px;
}

/* Bootstrap Tooltips */
.hh-events .tooltip {
	font-family: muli, sans-serif;
	font-size: 14px;
	z-index: 1070 !important;
}

.hh-events .tooltip .tooltip-inner {
	background-color: rgba(255, 255, 255, 0.95);
	color: #11151c;
	border-radius: 2px;
	padding: 8px 12px;
	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
	font-size: 13px;
	font-weight: 500;
}

.hh-events .tooltip .tooltip-arrow {
	border-bottom-color: rgba(255, 255, 255, 0.95);
}

.hh-events .tooltip.show {
	opacity: 1 !important;
}

/* Color-coded dot icons */
.hh-events .dot.f1-artsandculture-color { color: #B20708; }
.hh-events .dot.f1-clubs-color { color: #000000; }
.hh-events .dot.f1-community-color { color: #797979; }
.hh-events .dot.f1-freefood-color { color: #37C9AD; }
.hh-events .dot.f1-healthandwellness-color { color: #773DBD; }
.hh-events .dot.f1-seminarsandworkshops-color { color: #E67726; }
.hh-events .dot.f1-servicesandresources-color { color: #540423; }
.hh-events .dot.f1-sports-color { color: #E637A5; }
.hh-events .dot.f1-studentlife-color { color: #4A4AAF; }

.hh-events .dot {
	margin-right: 3px;
	font-size: 10px;
	height: 14px;
	vertical-align: middle;
	cursor: pointer;
	transition: all 0.2s ease;
}

.hh-events .dot:hover {
	filter: brightness(0.85);
	transform: scale(1.15);
}

.hh-events .dot span.sr-only {
	color: #11151c;
}

/* Opposite button */
.hh-events .primary-button-white {
	color: var(--color-secondary);
	background-color: white;
}

.hh-events .primary-button-white:hover,
.hh-events .primary-button-white:focus {
	color: white;
	background-color: var(--color-secondary);
}

.hh-events .primary-button.primary-button-white.dropdown-toggle {
	width: 100%;
	height: 50px;
	color: #11151c;
	font-weight: bold;
	background-color: white;
	border: 2px solid #e8eaed;
	border-radius: 2px;
	padding-left: 10px;
	cursor: pointer;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	text-align: left;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-transform: capitalize;
}

.hh-events .primary-button.primary-button-white.dropdown-toggle:focus,
.hh-events .primary-button.primary-button-white.dropdown-toggle:active {
	border-color: #e8eaed;
	outline: none;
}

.hh-events .primary-button.primary-button-white.dropdown-toggle:hover {
	border-color: var(--color-secondary);
	outline: none;
}

.hh-events .sidebar .dropdown-menu {
	margin-top: 0px;
	width: 100%;
	border: 2px solid #e8eaed;
	border-radius: 0;
	box-shadow: none;
	padding: 10px;
	border-top: none;
	background-clip: border-box;
	max-height: 30vh;
	overflow-y: auto;
	padding-bottom: 0;
}

.hh-events .sidebar .dropdown.open:hover .primary-button.primary-button-white.dropdown-toggle {
	border-color: var(--color-secondary);
}

/* Events on Listing */
.hh-events#main {
	margin-top: 30px;
}

.hh-events .page-title h1 {
	display: inline-block;
}

.hh-events .events-results {
	color: #11151c;
	font-size: 14px;
	margin-bottom: 20px;
}

.hh-events .events-results .event-count span,
.hh-events .events-results .filter-count span {
	font-weight: bold;
}

/* ---------- Results bar alignment (carousel arrows | count | filters) ---------- */
.hh-events .hh-events-results-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
}

.hh-events .hh-events-results-bar .hh-results-left {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.hh-events .hh-events-results-bar .hh-events-results-text {
	flex: 1 1 auto;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.hh-events .hh-events-results-bar #openFilters {
	margin-left: auto;
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	.hh-events .hh-events-results-bar {
		/* NEW: grid prevents drifting/misalignment on tight widths */
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"title filters"
			"counts counts";
		column-gap: 10px;
		row-gap: 8px;

		align-items: center;
	}

	/* Title left */
	.hh-events .hh-events-results-bar .hh-results-left {
		grid-area: title;
		min-width: 0; /* allows truncation/wrapping behavior */
	}

	/* Filters right */
	.hh-events .hh-events-results-bar #openFilters {
		grid-area: filters;
		justify-self: end;
	}

	/* Counts on second row */
	.hh-events .hh-events-results-bar .hh-events-results-text {
		grid-area: counts;
		text-align: left;
		justify-content: flex-start;
	}

	/* NEW: allow the reactive title to wrap on mobile instead of pushing layout */
	.hh-events .hh-events-view-title {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}
}

@media (max-width: 767px) {
	.hh-events .hh-events-view-title {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

.hh-events .events .event {
	margin-bottom: 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
	.hh-events .events .event:not(:nth-last-child(-n+2)) {
		padding-bottom: 20px;
		box-shadow: 0px 16px 1px -15px #e8eaed;
	}
}

@media only screen and (max-width: 767px) {
	.hh-events .events .event:not(:last-child) {
		padding-bottom: 20px;
		box-shadow: 0px 16px 1px -15px #e8eaed;
	}
}

/* ============================================================
   NEW: Reactive view title in results bar
   ============================================================ */
.hh-events .hh-events-view-title {
	margin: 0;
	color: var(--color-primary);
	font-weight: 900;
	letter-spacing: 0.2px;

	/* Keep it strong but not huge; responsive */
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	line-height: 1.15;
}

/* Make the left area able to hold the title neatly */
.hh-events .hh-events-results-bar .hh-results-left {
	display: flex;
	align-items: center;
	min-width: 0; /* allows text to truncate nicely */
}

/* Optional: prevent ultra-long view titles from breaking layout */
.hh-events .hh-events-view-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Base event image defaults (global) */
.hh-events .event .event-image {
	border-radius: 2px;
	height: 140px;
	display: block;
	background-position: center;
	background-size: cover;
}

/* ✅ FIX: Mobile collapse - keep 380x220 shape (scaled down), no stretching */
@media (max-width: 577.98px) {
	.hh-events .events .event .event-image {
		width: min(380px, 100%);
		aspect-ratio: 380 / 220;
		height: auto;

		border-radius: 10px;
		display: block;

		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;

		margin: 0 auto;
	}
}

/* Legacy featured list styling (keep scoped to sidebar legacy only) */
.hh-events .sidebar .featured-events-list .event-image {
	height: 70px;
}

.hh-events .sidebar .featured-events-list .event-details {
	height: 70px;
	display: flex;
	align-items: center;
}

.hh-events .sidebar .featured-events-list .details {
	margin-bottom: 0;
}

.hh-events .event .image {
	height: 100%;
	margin-bottom: 10px;
}

/* ✅ NEW: When stacked, center the image wrapper (prevents full-width "stretch" feel) */
.hh-events .events-list .row.event > a > .image {
	display: flex;
	justify-content: center;
}

/* Date tile image */
.hh-events .date-img {
	text-align: center;
	font-size: 30px;
	text-transform: uppercase;
	border: 2px solid var(--color-secondary);
	border-radius: 2px;
	height: 100%;
	box-shadow: 1px 1px #e8eaed;
}

.hh-events .date-img .month {
	background: var(--color-secondary);
	color: #fff;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
	margin: -1px;
}

.hh-events .date-img .day {
	padding: 10px;
	height: calc(100% - 42px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.hh-events .sidebar .date-img .day {
	height: auto;
}

.hh-events .date-img .weekday {
	font-size: 20px;
}

.hh-events .sidebar .date-img .weekday {
	font-size: 14px;
}

.hh-events .sidebar .date-img .weekday span {
	display: none;
}

.hh-events a:hover .date-img {
	border-color: var(--color-accent);
}

.hh-events a:hover .date-img .month {
	background: var(--color-accent);
}

/* Filtering display */
.hh-events .events-list .row.event {
	display: none;
}

.hh-events .events-list .row.event.filter-match {
	display: block;
}

.hh-events .events .event .title {
	margin-bottom: 10px;
}

.hh-events .event a:hover .title,
.hh-events .event a:focus .title {
	color: var(--color-secondary);
}

.hh-events .details {
	color: #505050;
	font-size: 12px;
	line-height: 1.5;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.hh-events .details div:not(.tooltip):not(.tooltip-arrow):not(.tooltip-inner) {
	display: inline;
	margin-right: 8px;
	margin-top: 10px;
	font-weight: 500;
	text-transform: initial;
}

.hh-events .details .date:before,
.hh-events .details .location:before {
	content: '\2022';
	display: inline-block;
	margin-right: 10px;
}

.hh-events .details .featured:after {
	content: '\2022';
	display: inline-block;
	margin-left: 4px;
}

.hh-events .details .categories:before,
.hh-events .details .time:before {
	content: '';
}

.hh-events .events .event p {
	color: #11151c;
	margin: 0;
}

.hh-events .events .load-more button:focus {
	outline: none;
}

.hh-events .events .load-more {
	display: none;
	margin-bottom: 30px;
	text-align: center;
}

.hh-events .events .events-message {
	display: none;
	text-align: center;
}

/* ============================================================
   ✅ Events List: Card Layout (match Featured look & spacing)
   ============================================================ */

/* Each event row becomes a spaced card */
.hh-events .events-list .row.event {
	display: block;
	margin: 0 0 16px 0;
	padding: 0;
	box-shadow: none;
}

/* Clickable card wrapper */
.hh-events .events-list .row.event > a {
	display: block;
	text-decoration: none;
	color: inherit;

	border: 1px solid #e8eaed;
	border-radius: 12px;
	background: #fff;
	padding: 14px;

	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hh-events .events-list .row.event > a:hover,
.hh-events .events-list .row.event > a:focus {
	border-color: rgba(178, 7, 8, 0.55);
	box-shadow: 0 10px 28px rgba(0,0,0,0.10);
	outline: none;
}

.hh-events .events-list .row.event > a:focus-visible {
	outline: 3px solid rgba(178, 7, 8, 0.25);
	outline-offset: 3px;
}

/* Mobile-first: stacked layout */
.hh-events .events-list .row.event > a > .image {
	margin: 0 0 12px 0;
}

/* List image: preserve 380x220 ratio, never exceed 380px wide */
.hh-events .events-list .row.event .event-image {
	width: min(380px, 100%);
	aspect-ratio: 380 / 220;
	height: auto;

	border-radius: 10px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Date tile in list: keep rounded corners */
.hh-events .events-list .row.event .event-image.date-img {
	border-radius: 10px;
	overflow: hidden;
}

/* Ensure details are not clipped */
.hh-events .events-list .row.event .event-details {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	overflow: visible;
	box-sizing: border-box;
}

/* Typography similar to featured */
.hh-events .events-list .row.event h3.title {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 6px 0;
	line-height: 1.2;
	color: var(--color-primary);
}

.hh-events .events-list .row.event .details {
	margin: 0 0 10px 0;
	font-size: 13px;
}

.hh-events .events-list .row.event p.summary {
	margin: 0;
	padding-top: 4px;
	color: #11151c;
}

/* Desktop: image left, text right */
@media (min-width: 992px) {
	.hh-events .events-list .row.event > a {
		display: flex;
		align-items: flex-start;
		gap: 18px;
		padding: 16px;
	}

	.hh-events .events-list .row.event > a > .image {
		flex: 0 0 380px;
		margin: 0;
	}

	.hh-events .events-list .row.event .event-image {
		width: 380px;
		aspect-ratio: 380 / 220;
		height: auto;
	}

	.hh-events .events-list .row.event .event-details {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* Small phones: slightly smaller type */
@media (max-width: 577.98px) {
	.hh-events .events-list .row.event > a {
		padding: 12px;
	}

	.hh-events .events-list .row.event h3.title {
		font-size: 16px;
	}
}

/* Sidebar on Events Listing */
@media only screen and (max-width: 991px) {
	.hh-events .sidebar {
		border: 2px solid #e8eaed;
		border-radius: 2px;
		padding: 25px 15px 0 15px;
		margin-top: 10px;
	}

	.hh-events .sidebar .section-title:nth-child(2) {
		margin-top: 20px;
	}

	.hh-events .sidebar.collapsed .gradient-overlay {
		color: black;
		-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
		max-height: 200px;
		overflow: auto;
	}
}

.hh-events .sidebar .row {
	margin-bottom: 20px;
}

.hh-events .mobile-title {
	position: absolute;
	background-color: white;
	text-transform: uppercase;
	padding: 0 10px;
	z-index: 30;
	top: -3px;
	left: 20px;
}

.hh-events .mobile-title i {
	color: var(--color-secondary);
}

.hh-events .search-expand {
	color: var(--color-secondary);
	font-size: 25.629px;
	top: -20px;
	position: relative;
	text-align: center;
	z-index: 2;
}

.hh-events .search-expand i {
	background-color: white;
	padding: 0 10px;
}

.hh-events .plus-toggle {
	cursor: pointer;
}

.hh-events .sidebar input:focus {
	outline: 2px solid var(--color-secondary);
}

.hh-events .sidebar .date-views {
	margin-top: 20px;
	font-weight: bold;
	font-size: 14px;
}

.hh-events .sidebar .date-views button {
	color: #11151c;
	text-align: center;
	display: block;
	padding: 15px 10px;
	border: 2px solid #e8eaed;
	border-radius: 2px;
	background-color: white;
}

.hh-events .sidebar .date-views button:hover,
.hh-events .sidebar .date-views button:focus,
.hh-events .sidebar .date-views button.active {
	color: var(--color-secondary);
	border-color: var(--color-secondary);
	background-color: white;
	z-index: 1;
	outline: none;
}

.hh-events .sidebar .row.event {
	margin-bottom: 5px;
}

.hh-events .sidebar .row.event a {
	text-decoration: none;
	color: inherit;
}

.hh-events .sidebar .event h3.title {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 0;
}

.hh-events .sidebar .event .image .date-img {
	font-size: 16px;
}

.hh-events .sidebar .event .image .date-img .day {
	padding: 2px;
}

.hh-events .sidebar .event .details .featured,
.hh-events .sidebar .event .details .location,
.hh-events .sidebar .event .details .categories,
.hh-events .sidebar .event p {
	display: none !important;
}

.hh-module .sidebar .primary-button.btn-block,
.hh-module .sidebar .secondary-button.btn-block {
	padding: 10px 10px;
}

/* Remove duplicate borders for certain screen sizes */
@media only screen and (max-width: 991px) and (min-width: 768px), (min-width: 1200px) {
	.hh-events .sidebar .date-views button:nth-child(3n+2),
	.hh-events .sidebar .date-views button:nth-child(3n+3) {
		margin-left: -2px;
	}

	.hh-events .sidebar .date-views button:nth-child(n+4) {
		margin-top: -2px;
	}
}

@media only screen and (max-width: 767px), (min-width: 992px) and (max-width: 1199px) {
	.hh-events .sidebar .date-views button:nth-child(even) {
		margin-left: -2px;
	}

	.hh-events .sidebar .date-views button:nth-child(n+3) {
		margin-top: -2px;
	}
}

.hh-events .sidebar .checkboxes {
	color: #11151c;
}

.hh-events .sidebar .checkboxes label {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.hh-events .sidebar .checkboxes input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.hh-events .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	border-radius: 12px;
	background-color: #767676;
}

.hh-events .sidebar .checkboxes label:hover,
.hh-events .sidebar .checkboxes label input:focus ~ span {
	color: var(--color-secondary);
}

.hh-events .sidebar .checkboxes label:hover .checkmark,
.hh-events .sidebar .checkboxes label input:focus ~ .checkmark {
	-webkit-box-shadow: inset 0 -200px 0 0 rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 -200px 0 0 rgba(0, 0, 0, 0.2);
}

.hh-events .sidebar .checkboxes .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.hh-events .sidebar .checkboxes label input:checked ~ .checkmark:after {
	display: block;
}

.hh-events .sidebar .checkboxes label .checkmark:after {
	left: 9px;
	top: 4px;
	width: 8px;
	height: 14px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.hh-events .sidebar .dropdown select,
.hh-events .sidebar-detail .dropdown select {
	width: 100%;
	height: 50px;
	color: #11151c;
	font-weight: bold;
	background-color: white;
	border: 2px solid #e8eaed;
	border-radius: 2px;
	padding-left: 10px;
	cursor: pointer;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.hh-events .sidebar .dropdown select option,
.hh-events .sidebar-detail .dropdown select option {
	font-weight: normal;
}

.hh-events .sidebar .dropdown select:hover,
.hh-events .sidebar .dropdown select:focus,
.hh-events .sidebar-detail .dropdown select:hover,
.hh-events .sidebar-detail .dropdown select:focus,
.hh-events .sidebar .dropdown .primary-button.primary-button-white.dropdown-toggle:focus {
	border-color: var(--color-secondary);
	outline: none;
}

.hh-events .sidebar .dropdown:after,
.hh-events .sidebar-detail .dropdown:after {
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	position: absolute;
	top: 10px;
	right: 15px;
	z-index: 5;
	font-weight: 900;
	font-size: 24px;
	pointer-events: none;
}

.hh-events .feeds a {
	color: #11151c;
	margin-right: 15px;
	white-space: nowrap;
}

.hh-events .feeds a:hover {
	color: var(--color-secondary);
}

.hh-events .back-to-top {
	background-color: var(--color-secondary);
	cursor: pointer;
	position: fixed;
	bottom: 15px;
	right: 15px;
	border-radius: 2px;
	display: none;
	z-index: 10;
}

.hh-events .back-to-top:after {
	content: '';
	padding: 0;
	margin: 0;
}

.hh-events .back-to-top:hover {
	background-color: var(--color-accent);
}

/* Event Page Details */
.hh-events.breadcrumbs {
	background-color: #f5f5f5;
}

.hh-events.breadcrumbs ol {
	padding-top: 15px;
	padding-bottom: 15px;
}

.hh-events.breadcrumbs ol li {
	display: inline-block;
}

.hh-events.breadcrumbs ol li + li:before {
	display: inline-block;
	padding-right: .5rem;
	padding-left: .5rem;
	color: #767676;
	content: "/";
}

.hh-events.breadcrumbs ol li a {
	color: #11151c;
}

.hh-events.breadcrumbs ol li:hover a {
	color: var(--color-secondary);
}

.hh-events .content-detail {
	margin-bottom: 40px;
}

.hh-events .sidebar-detail .row {
	margin-bottom: 20px;
}

.hh-events .sidebar-detail .save-date {
	margin-bottom: 20px;
}

.hh-events .info > div {
	margin-bottom: 10px;
	display: table;
}

.hh-events .info > div > div {
	display: table-cell;
	vertical-align: middle;
}

.hh-events .icon {
	width: 40px;
	height: 40px;
	color: var(--color-secondary);
	border: 1px solid var(--color-secondary);
	line-height: 40px;
	border-radius: 50%;
	text-align: center;
	margin-right: 10px;
}

.hh-events .filters .filter {
	font-size: 12px;
}

.hh-events .filters .filter .filter-label {
	font-weight: bold;
	margin-bottom: 5px;
	margin-top: 20px;
	text-transform: uppercase;
	color: #11151c;
	font-size: var(--font-size-base);
}

.hh-events .filters .filter .dot + .dot {
	margin-left: 10px;
}

.hh-events .filters .filter div {
	display: inline-block;
	margin-right: 8px;
	font-size: var(--font-size-sm);
}

.hh-events .filters .filter:not(.dots) div + div:before {
	content: '\2022';
	display: inline-block;
	margin-right: 10px;
}

.hh-events .icon-list {
	margin-bottom: 20px;
}

.hh-events .icon-list a {
	text-decoration: none;
}

.hh-events .icon-list span {
	color: #11151c;
	font-size: var(--font-size-lg);
	margin-right: 10px;
}

.hh-events .icon-list a:hover span {
	color: var(--color-secondary);
}

.hh-events .feeds {
	margin-bottom: 20px;
}

.hh-events .related-events .event,
.hh-events.hh-events-block .event {
	margin-bottom: 30px;
}

.hh-events .related-events .event .title,
.hh-events.hh-events-block .event .title {
	font-size: 16px;
	padding-top: 10px;
}

.hh-events .related-events.mt-5 {
	margin-top: 3rem !important;
}

.hh-events .show-hhe { display: block !important; }
.hh-events .hide-hhe { display: none !important; }

.hh-events .related-events.mobile { display: block; }
.hh-events .related-events.desktop { display: none; }

@media (min-width: 768px) {
	.hh-events .related-events.mobile { display: none; }
	.hh-events .related-events.desktop { display: block; }
}

/* Buttons (module) */
.hh-module .primary-button,
.hh-module .secondary-button {
	display: inline-block;
	padding: 10px 40px;
	border-radius: 2px;
	border: none;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	-webkit-transition: .2s all;
	transition: .2s all;
}

.hh-module .primary-button {
	background-color: var(--color-secondary);
	color: #fff;
	-webkit-box-shadow: 0 0 0 2px var(--color-secondary) inset;
	box-shadow: 0 0 0 2px var(--color-secondary) inset;
}

.hh-module .secondary-button {
	background-color: #325675;
	color: #fff;
	-webkit-box-shadow: 0 0 0 2px #325675 inset;
	box-shadow: 0 0 0 2px #325675 inset;
}

.hh-module .primary-button:hover,
.hh-module .primary-button:focus {
	background-color: transparent;
	text-decoration: none;
	color: var(--color-secondary);
}

.hh-module .secondary-button a:hover,
.hh-module .secondary-button a:focus,
.hh-module .secondary-button:hover,
.hh-module .secondary-button:focus {
	background-color: transparent;
	text-decoration: none;
	color: #325675;
}

.hh-module .input {
	width: 100%;
	height: 40px;
	padding: 0 15px;
	background-color: #fff;
	border-radius: 2px;
	border: 2px solid #e8eaed;
}

.hh-module figure > img { width: 100%; }

/* (Duplicate button definitions kept, but consistent) */
.hh-module .primary-button {
	background-color: var(--color-secondary);
	color: #fff;
	-webkit-box-shadow: 0 0 0 2px var(--color-secondary) inset;
	box-shadow: 0 0 0 2px var(--color-secondary) inset;
}

.hh-module .secondary-button {
	background-color: var(--color-black);
	color: #fff;
	-webkit-box-shadow: 0 0 0 2px var(--color-black) inset;
	box-shadow: 0 0 0 2px var(--color-black) inset;
}

.hh-module .primary-button:hover,
.hh-module .primary-button:focus {
	background-color: transparent;
	text-decoration: none;
	color: var(--color-secondary);
}

.hh-module .secondary-button a:hover,
.hh-module .secondary-button a:focus,
.hh-module .secondary-button:hover,
.hh-module .secondary-button:focus {
	background-color: transparent;
	text-decoration: none;
	color: var(--color-black);
}

/* ============================================================
   Events Page Refresh: Filters Overlay + Featured Carousel
   ============================================================ */

/* ---------- Topbar (Filters button row) ---------- */
.hh-events .events-topbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin: 10px 0 15px 0;
}

.hh-events .hh-filters-open {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	border-radius: 999px;
	padding: 10px 14px;
}

.hh-events .hh-filters-open:focus {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
}

.hh-events .hh-filters-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

/* Hidden by default (we toggle aria-hidden in JS) */
.hh-events .hh-filters-overlay[aria-hidden="true"] { display: none; }

/* Visible */
.hh-events .hh-filters-overlay[aria-hidden="false"] { display: block; }

.hh-events .hh-filters-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.hh-events .hh-filters-overlay__panel {
	position: absolute;
	top: 24px;
	right: 24px;
	height: calc(100% - 48px);
	width: min(520px, 92vw);

	background: #fff;
	border-radius: 14px;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 18px 60px rgba(0,0,0,0.22);

	display: flex;
	flex-direction: column;

	transform: translateX(16px);
	opacity: 0;
	transition: transform 220ms ease, opacity 220ms ease;
	outline: none;
}

.hh-events .hh-filters-overlay[aria-hidden="false"] .hh-filters-overlay__panel {
	transform: translateX(0);
	opacity: 1;
}

.hh-events .hh-filters-overlay__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;

	padding: 18px 18px 12px 18px;
	border-bottom: 1px solid #eef0f3;
}

.hh-events .hh-filters-overlay__title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.2px;
	color: var(--color-primary);
}

.hh-events .hh-filters-close {
	width: 40px;
	height: 40px;
	border-radius: 6px;

	background: #fff;
	border: 2px solid #1a1a1a;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.hh-events .hh-filters-close:hover { border-color: var(--color-secondary); }

.hh-events .hh-filters-close:focus {
	outline: 3px solid rgba(178, 7, 8, 0.25);
	outline-offset: 2px;
}

.hh-events .hh-filters-overlay__body {
	padding: 14px 18px 18px 18px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.hh-events .hh-filters-panel .row { margin-bottom: 18px; }

.hh-events .hh-filters-panel .section-title .title {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #11151c;
	margin: 10px 0 8px 0;
}

.hh-events .hh-filters-panel .input,
.hh-events .hh-filters-panel select.form-control,
.hh-events .hh-filters-panel .form-control,
.hh-events .hh-filters-panel .primary-button.primary-button-white.dropdown-toggle,
.hh-events .hh-filters-panel #mini-calendar .input-daterange input {
	height: 48px;
	border-radius: 6px;
	border: 1px solid #dfe3ea;
	box-shadow: none;
	background: #fff;
	padding: 0 14px;
}

.hh-events .hh-filters-panel #mini-calendar .input-group-text {
	border: 1px solid #dfe3ea;
	border-left: none;
	border-right: none;
	background: #fff;
	font-weight: 700;
	color: #5b667a;
}

.hh-events .hh-filters-panel .input:focus,
.hh-events .hh-filters-panel select:focus,
.hh-events .hh-filters-panel .primary-button.primary-button-white.dropdown-toggle:focus,
.hh-events .hh-filters-panel #mini-calendar .input-daterange input:focus {
	outline: 3px solid rgba(178, 7, 8, 0.25);
	outline-offset: 1px;
	border-color: rgba(178, 7, 8, 0.55);
}

.hh-events .hh-filters-panel__actions .clearAll {
	height: 46px;
	border-radius: 8px;
	font-weight: 800;
	letter-spacing: 0.2px;

	background: #fff;
	color: var(--color-primary);
	border: 2px solid #dfe3ea;
}

.hh-events .hh-filters-panel__actions .clearAll:hover,
.hh-events .hh-filters-panel__actions .clearAll:focus {
	border-color: var(--color-secondary);
	color: var(--color-secondary);
	outline: none;
}

.hh-events .hh-filters-panel .date-views { margin-top: 6px; }

.hh-events .hh-filters-panel .date-views button {
	height: 42px;
	border-radius: 999px;
	border: 1px solid #dfe3ea;
	background: #fff;
	font-weight: 700;
	color: #11151c;
	padding: 8px 10px;
}

.hh-events .hh-filters-panel .date-views button:hover,
.hh-events .hh-filters-panel .date-views button:focus,
.hh-events .hh-filters-panel .date-views button.active {
	border-color: var(--color-secondary);
	color: var(--color-secondary);
	outline: none;
}

.hh-events .hh-filters-panel .checkboxes label {
	position: relative;
	display: block;
	padding-left: 38px;
	margin-bottom: 12px;
	line-height: 1.25;
}

.hh-events .hh-filters-panel .checkboxes label .checkmark {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	height: 22px;
	width: 22px;
	border-radius: 999px;
}

.hh-events .hh-filters-panel .checkboxes label span:last-child {
	display: inline-block;
}

/* Subscribe buttons row */
.hh-events .hh-filters-panel .feeds {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	margin-top: 10px;
}

.hh-events .hh-filters-panel .feeds a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	height: 40px;
	padding: 0 16px;

	border-radius: 999px;

	border: 1px solid #dfe3ea;
	background: #fff;

	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.2px;

	color: #11151c;
	text-decoration: none;
	white-space: nowrap;
}

.hh-events .hh-filters-panel .feeds a span,
.hh-events .hh-filters-panel .feeds a i {
	line-height: 1;
	display: inline-block;
}

.hh-events .hh-filters-panel .feeds a:hover,
.hh-events .hh-filters-panel .feeds a:focus {
	border-color: var(--color-secondary);
	color: var(--color-secondary);
	outline: none;
}

.hh-events .hh-filters-panel .feeds a .fa,
.hh-events .hh-filters-panel .feeds a .fas,
.hh-events .hh-filters-panel .feeds a .far,
.hh-events .hh-filters-panel .feeds a .fab {
	font-size: 16px;
}

/* MOBILE: center-card */
@media (max-width: 767px) {
	.hh-events .hh-filters-overlay__panel {
		top: 50%;
		left: 50%;
		right: auto;

		transform: translate(-50%, -50%);
		opacity: 1;

		width: min(92vw, 520px);
		height: min(92vh, 760px);
		border-radius: 16px;
	}

	.hh-events .hh-filters-overlay[aria-hidden="false"] .hh-filters-overlay__panel {
		transform: translate(-50%, -50%);
	}
}

/* ============================================================
   NEW: Static page hero (non-reactive)
   ============================================================ */
.hh-events .hh-page-hero {
	margin: 0 0 16px 0;
	padding: 6px 0 12px 0;

	/* NEW: center align hero content on larger screens */
	text-align: center;
}

.hh-events .hh-page-hero__title {
	margin: 0 0 6px 0;
	color: var(--color-primary);
	font-weight: 900;
	letter-spacing: 0.2px;

	/* Responsive sizing for desktop/mobile */
	font-size: clamp(1.9rem, 3.2vw, 3rem);
	line-height: 1.1;
}

.hh-events .hh-page-hero__subtitle {
	margin: 0 auto; /* NEW: centers the paragraph block */
	color: var(--text-color-light);
	font-weight: 500;

	/* Responsive sizing for desktop/mobile */
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.35;

	max-width: 100%;
}

/* ============================================================
   NEW: Extended hero content
   ============================================================ */

.hh-events .hh-page-hero__extended {
	margin-top: 18px;

	/* KEY CHANGE: match the width of the carousel/list (container width) */
	max-width: 100%;
	width: 100%;

	/* keep it visually centered within the container */
	margin-left: auto;
	margin-right: auto;

	/* optional: give breathing room but consistent */
	padding-left: 0;
	padding-right: 0;
}

/* Bold section titles */
.hh-events .hh-hero-section-title {
	font-weight: 800;
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	margin: 18px 0 8px 0;
	color: var(--color-primary);
}

/* Body paragraph styling */
.hh-events .hh-hero-body {
	margin: 0 0 14px 0;
	font-size: clamp(0.95rem, 1.2vw, 1.05rem);
	line-height: 1.6;
	color: var(--text-color);
	text-align: justify;
}

/* Gallery link styling */
.hh-events .hh-hero-gallery-link {
	margin-top: 6px;
}

.hh-events .hh-hero-gallery-link a {
	display: inline-block;
	font-weight: 700;
	text-decoration: none;
	color: var(--color-secondary);
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease;
}

.hh-events .hh-hero-gallery-link a:hover,
.hh-events .hh-hero-gallery-link a:focus {
	border-bottom: 2px solid var(--color-secondary);
}

/* ---------- Featured Carousel (top) ---------- */
.hh-events .hh-featured-carousel {
	border: 2px solid #e8eaed;
	border-radius: 10px;
	padding: 14px;
	margin: 0 0 18px 0;
	background: #fff;
}

.hh-events .hh-featured-carousel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.hh-events .hh-featured-carousel__title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--color-secondary);
}

.hh-events .hh-featured-carousel__viewport {
	overflow: hidden;
	border-radius: 8px;
	padding-bottom: 8px;
}

.hh-events .hh-featured-carousel__track {
	display: flex;
	gap: 0;
	transform: translateX(0);
	transition: transform 450ms ease;
}

/* ============================================================
   NEW: Carousel overlay controls
   ============================================================ */
.hh-events .hh-featured-carousel {
	position: relative; /* enables absolute overlay controls */
}

/* Controls container overlays the carousel */
.hh-events .hh-featured-carousel__controls {
	position: absolute;
	top: 50%;
	left: 10px;
	right: 10px;
	transform: translateY(-50%);
	z-index: 5;

	display: flex;
	justify-content: space-between;
	align-items: center;

	pointer-events: none; /* let clicks pass through except on buttons */
}

/* Buttons should be clickable */
.hh-events .hh-featured-carousel__controls .hh-featured-prev,
.hh-events .hh-featured-carousel__controls .hh-featured-next {
	pointer-events: auto;

	width: 44px;
	height: 44px;
	padding: 0;

	border-radius: 999px;
	border: 1px solid rgba(0,0,0,0.12);
	background: rgba(255,255,255,0.92);

	display: inline-flex;
	align-items: center;
	justify-content: center;

	box-shadow: 0 10px 26px rgba(0,0,0,0.18);
	backdrop-filter: blur(4px);
}

/* Arrow size */
.hh-events .hh-featured-carousel__controls .hh-arrow {
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
	transform: translateY(-1px);
}

/* Hover/focus states */
.hh-events .hh-featured-carousel__controls .hh-featured-prev:hover,
.hh-events .hh-featured-carousel__controls .hh-featured-next:hover,
.hh-events .hh-featured-carousel__controls .hh-featured-prev:focus,
.hh-events .hh-featured-carousel__controls .hh-featured-next:focus {
	border-color: var(--color-secondary);
	color: var(--color-secondary);
	outline: none;
}

/* Slightly smaller buttons on small phones */
@media (max-width: 577.98px) {
	.hh-events .hh-featured-carousel__controls .hh-featured-prev,
	.hh-events .hh-featured-carousel__controls .hh-featured-next {
		width: 40px;
		height: 40px;
	}
}

/* Controls (Prev / Next) */
.hh-events .hh-events-results-bar .hh-featured-prev,
.hh-events .hh-events-results-bar .hh-featured-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #11151c;

	height: 38px;
	padding: 0 14px;

	border-radius: 999px;
	border: 1px solid #dfe3ea;
	background: #fff;

	font-size: 14px;
	line-height: 1;
}

.hh-events .hh-events-results-bar .hh-featured-prev:hover,
.hh-events .hh-events-results-bar .hh-featured-next:hover {
	background: #fff;
	border-color: var(--color-secondary);
	color: var(--color-secondary);
}

.hh-events .hh-events-results-bar .hh-featured-prev:hover,
.hh-events .hh-events-results-bar .hh-featured-next:hover,
.hh-events .hh-events-results-bar .hh-featured-prev:focus,
.hh-events .hh-events-results-bar .hh-featured-next:focus {
	background: #fff !important;
	border-color: var(--color-secondary) !important;
	color: var(--color-secondary) !important;
}

.hh-events .hh-events-results-bar .hh-featured-prev:hover .hh-arrow,
.hh-events .hh-events-results-bar .hh-featured-next:hover .hh-arrow,
.hh-events .hh-events-results-bar .hh-featured-prev:focus .hh-arrow,
.hh-events .hh-events-results-bar .hh-featured-next:focus .hh-arrow {
	color: var(--color-secondary) !important;
}

.hh-events .hh-events-results-bar .hh-featured-prev .hh-arrow,
.hh-events .hh-events-results-bar .hh-featured-next .hh-arrow {
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
	display: inline-block;
	transform: translateY(-1px);
}

/* Each featured "event" becomes a full-width slide */
.hh-events .hh-featured-carousel .event {
	flex: 0 0 100%;
	max-width: 100%;
	margin: 0;
	display: block;
}

.hh-events .hh-featured-carousel .event.row {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

.hh-events .hh-featured-carousel .event > a { display: block; }

.hh-events .hh-featured-carousel .event .image {
	display: flex;
	justify-content: center;
	margin: 0 0 10px 0;
}

.hh-events .hh-featured-carousel .event .event-details {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	overflow: visible;
	padding-top: 6px;
	padding-bottom: 10px;
	box-sizing: border-box;
}

/* Keep details full-width, but do NOT force the image wrapper to full width */
.hh-events .hh-featured-carousel .event > a > div {
	width: auto;
}
.hh-events .hh-featured-carousel .event .event-details {
	width: 100%;
}

/* Featured Carousel image: match list behavior (380x220 ratio, no clipping on collapse) */
.hh-events .hh-featured-carousel .featured-events-list .event-image,
.hh-events .hh-featured-carousel .event .event-image {
	width: min(380px, 100%);
	aspect-ratio: 380 / 220;
	height: auto;

	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 10px;
}

.hh-events .hh-featured-carousel .event h3.title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px 0;
	line-height: 1.2;
}

.hh-events .hh-featured-carousel .event .details { margin: 0; }

@media (min-width: 992px) {
	.hh-events .hh-featured-carousel .event > a {
		display: flex;
		align-items: flex-start;
		gap: 18px;
		padding-top: 4px;
	}

	.hh-events .hh-featured-carousel .event .image {
		flex: 0 0 380px;
		margin: 0;
	}

	.hh-events .hh-featured-carousel .event .event-details {
		flex: 1 1 auto;
		min-width: 0;
	}
}

@media (max-width: 577.98px) {
	.hh-events .hh-featured-carousel { padding: 12px; }

	.hh-events .hh-featured-carousel .event h3.title { font-size: 16px; }

	.hh-events .hh-featured-carousel__controls .btn {
		padding: 5px 9px;
		min-width: 34px;
		min-height: 30px;
	}
}

/* Filters button styling in results bar */
.hh-events .hh-events-results-bar #openFilters {
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;

	background: #fff;
	border: 1px solid #dfe3ea;

	color: #11151c;
	font-weight: 800;
	letter-spacing: 0.2px;
}

/* ============================================================
   Remove global .btn ::after arrow ONLY on Events page
   ============================================================ */

.hh-events .btn::after,
.hh-events button.btn::after,
.hh-events a.btn::after {
	content: none !important;
	display: none !important;
}
