body {
	font-family: 'Arial', sans-serif;
	background-color: black;
	color: white;
	margin: 0;
	padding: 0;
}

/* Bootstrap 4 utility compatibility for Bootstrap 5 */
.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}

.mr-1 {
	margin-right: 0.25rem;
}

.mr-3 {
	margin-right: 1rem;
}

.ml-2 {
	margin-left: 0.5rem;
}

.fs-7 {
	font-size: 0.8rem;
}

.badge-primary {
	background-color: #0d6efd;
	color: #fff;
}

.badge-secondary {
	background-color: #6c757d;
	color: #fff;
}

.badge-success {
	background-color: #198754;
	color: #fff;
}

.badge-info {
	background-color: #0dcaf0;
	color: #000;
}

.badge-warning {
	background-color: #ffc107;
	color: #000;
}

.badge-danger {
	background-color: #dc3545;
	color: #fff;
}

.badge-light {
	background-color: #f8f9fa;
	color: #000;
}

.badge-dark {
	background-color: #212529;
	color: #fff;
}

.show-zoomable {
	cursor: zoom-in;
}

.show-image-modal {
	align-items: center;
	background: rgba(0, 0, 0, 0.85);
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 1055;
}

.show-image-modal.is-open {
	display: flex;
}

.show-image-modal__inner {
	max-height: 90vh;
	max-width: 95vw;
	overflow: auto;
	padding: 24px;
}

.show-image-modal__img {
	max-height: 85vh;
	max-width: 90vw;
	transform-origin: center;
	transition: transform 0.2s ease;
	width: auto;
}

.show-image-modal__img.is-zoomed {
	cursor: zoom-out;
	transform: scale(2);
}

.show-image-modal__close {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 32px;
	line-height: 1;
	position: absolute;
	right: 24px;
	top: 16px;
}

/* Bootstrap 4 responsive embeds compatibility */
.embed-responsive {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

.embed-responsive::before {
	display: block;
	content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.embed-responsive-16by9::before {
	padding-top: 56.25%;
}

.embed-responsive-4by3::before {
	padding-top: 75%;
}

h1 {
	color: #c7c7c7;
	font-size: 2.25rem;
	font-weight: 500;
}

h2 {
	color: #9c9c9c;
	font-size: 1.4rem;
	font-weight: 400;
}

.lead {
	color: #999;
}

.navbar {
	margin-bottom: 20px;
}

.navbar-custom {
	background-image: url('../img/Mod_menu_bar.webp');
	background-size: cover;
	background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
	.navbar {
		position: relative;
	}

	#navbarNav.navbar-collapse.collapsing,
	#navbarNav.navbar-collapse.show {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1050;
		width: auto;
		margin: 0;
		padding-top: 0;
		padding-bottom: 0;
		padding-left: 25px;
		padding-right: 25px;
		border: 0;
		box-shadow: none;
		background-color: rgba(231, 119, 100, 0.9);
	}

	#navbarNav.navbar-collapse.collapsing {
		height: auto !important;
		transition: none;
	}

	#navbarNav .navbar-nav .nav-link {
		white-space: nowrap;
	}
}

/* Dropdown menu styles to match the main menu */
.navbar .dropdown-menu {
	background-image: url('../img/Mod_menu_bar.webp');
	background-size: cover;
	background-repeat: no-repeat;
	border: none;
	box-shadow: none;
	color: white;
	/* Ensure text is white, matching the main menu */
}

.navbar .dropdown-item {
	color: white;
	/* Match the main menu text color */
	font-family: 'Arial', sans-serif;
	/* Match the main menu font */
	font-size: 16px;
	/* Match the main menu font size */
	padding: 10px 20px;
	/* Adjust padding for consistent spacing */
}

.navbar .dropdown-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
	/* Subtle hover effect */
	color: white;
	/* Keep text color consistent on hover */
}

/* Optional: Add a border-radius if the main menu has rounded edges */
.navbar .dropdown-menu {
	border-radius: 0px;
	/* Match this with the main menu style */
}

/* Header styles */
.Header {
	background-size: cover;
	background-repeat: no-repeat;
	color: rgb(255, 255, 255);
	font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue', 'Arial', sans-serif;
	font-size: 69px;
	font-weight: 100;
	letter-spacing: 0.04em;
	line-height: 81px;
	text-align: left;
	text-transform: uppercase;
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 1;
}

.SubHeader {
	background-color: #b22222; /* Changed to a more toned down red */
	background-image: url('../img/Mod_menu_bar.webp'); /* Added background image */
	background-size: cover;
	background-repeat: no-repeat;
	color: rgba(0, 0, 0, .55);
	font-family: 'Helvetica Neue', 'Arial', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	text-align: right;
	padding: 2px 8px 4px 0px;
	margin-bottom: 0;
	width: 100%;
}

/* Ensure dropdown matches active link style */
.nav-item.active .nav-link,
.navbar .dropdown-item.active {
	color: white !important;
	background-color: transparent !important;
	/* text-decoration: underline; */ /* Removed underline */
}

.carousel {
	margin-bottom: 30px;
}

.carousel-item img {
	max-height: 500px;
	object-fit: cover;
}

.video-section {
	margin-top: 30px;
}

.teaching-hero-image {
	float: right;
	display: block;
	width: 33vw;
	max-width: 300px;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
	height: auto;
}

.film-music-hero-image {
	width: 20vw;
	max-width: 180px;
}

.museums-hero-image {
	width: 22vw;
	max-width: 200px;
}

.museum-logo {
	background-color: rgb(170, 180, 190);
	padding: 0.2rem;
	max-height: 140px !important;
	width: auto;
}

.museum-logo-wrap--mUSeum {
	width: 200px;
}

.museum-logo-wrap--AAMP {
	width: 280px;
}

.museum-logo-wrap--NLM {
	width: 160px;
	margin-bottom: 0.15rem;
}

.film-music-hero::after {
	content: "";
	display: block;
	clear: both;
}

.page-header h1,
.events-header h1 {
	letter-spacing: 0.02em;
}

.page-header .lead,
.events-header .lead {
	color: #b5b5b5;
}

#nomsaAccordion .accordion-item {
	background-color: #0f0f0f;
	border: 1px solid #1f1f1f;
	margin: 0 0 1rem;
}

#nomsaAccordion .accordion-item:last-child {
	margin-bottom: 0;
}

#nomsaAccordion .accordion-button {
	background-color: #151515;
	color: #666;
	font-size: 2rem;
	font-weight: 450;
}

#nomsaAccordion .accordion-button:not(.collapsed) {
	background-color: #1a1a1a;
	color: #666;
}

#nomsaAccordion .accordion-button:hover {
	background-color: #202020;
}

#nomsaAccordion .accordion-button:focus {
	box-shadow: 0 0 0 0.2rem rgba(231, 119, 100, 0.25);
}

#nomsaAccordion .accordion-button::after {
	filter: invert(1) brightness(1.2);
}

#nomsaAccordion .accordion-collapse {
	border-top: 1px solid #1f1f1f;
}

#nomsaAccordion .accordion-body {
	background-color: #101010;
	border-top: 1px solid #1f1f1f;
	color: #cfcfcf;
}

.performing-hero-image {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	object-position: center top;
}

.teaching-list::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 576px) {
	.teaching-hero-image {
		width: 120px;
		max-width: 120px;
	}

	.film-music-hero-image {
		width: 80px;
		max-width: 80px;
	}

	.museums-hero-image {
		width: 96px;
		max-width: 96px;
	}
}

.learn-more-link {
	color: rgb(163, 22, 22);
}

.nav-item.active .nav-link {
	color: white !important;
	/* Change the active link color */
}

.video-section {
	margin-top: 30px;
}

/* Adjust the video size on larger screens */
@media (min-width: 768px) {
	.video-section iframe {
		width: 800px;
		/* Adjust width as needed */
		height: 450px;
		/* Adjust height as needed */
	}
}

/* Responsive adjustments for slick */
.slick-slide {
	outline: none;
	/* Remove outline on slide click */
}

/* Thumbnail carousel */
.slider-nav .slick-slide {
	margin: 0 5px;
}

.slider-nav .slick-slide img {
	width: 120px;
	height: 80px;
	/* Adjust the size of the thumbnails */
	cursor: pointer;
}

/* .slider-for .slick-slide img,
.slick-carousel .slick-slide img {
    width: 100%;
} */

/* Center Mode Styles */
.slick-center .slick-slide {
	transform: scale(1.1);
	/* Slightly enlarge the centered slide */
}

/* Ensure centered slide is fully visible */
.slick-slide {
	opacity: 0.6;
}

.slick-center {
	opacity: 1;
}

/* Centers the images in the carousel on the homepage */
.slick-slide img {
	margin: 0 auto;
}

/* Responsive adjustments */

/* iPhone 12 Pro and smaller */
@media screen and (min-width: 300px) {

	.slider-for img,
	.slick-carousel img {
		width: 300px;
		height: 200px;
	}

	.slider-nav img {
		width: 50px;
		height: 33px;
	}

	.slider-nav .slick-slide img {
		width: 50px;
		height: 33px;
		cursor: pointer;
	}
}

/* iPhone 14 Pro Max portrait */
@media screen and (min-width: 430px) {

	.slider-for img,
	.slick-carousel img {
		width: 400px;
		height: 267px;
	}

	.slider-nav img {
		width: 80px;
		height: 53px;
	}

	.slider-nav .slick-slide img {
		width: 80px;
		height: 53px;
		cursor: pointer;
	}
}

/* iPad Air portrait */
@media screen and (min-width: 820px) {

	.slider-for img,
	.slick-carousel img {
		width: 800px;
		height: 533px;
	}

	.slider-nav img {
		width: 120px;
		height: 80px;
	}

	.slider-nav .slick-slide img {
		width: 120px;
		height: 80px;
		cursor: pointer;
	}
}

/* Responsive font size adjustments for SubHeader */
@media screen and (max-width: 820px) {
	.Header {
		font-size: 50px;
		line-height: 60px;
	}

	.SubHeader {
		font-size: 16px;
		line-height: 20px;
	}
}

@media screen and (max-width: 600px) {
	.Header {
		font-size: 40px;
		line-height: 40px;
	}

	.SubHeader {
		font-size: 12px;
		line-height: 20px;
	}
}

@media screen and (max-width: 400px) {
	.Header {
		font-size: 30px;
		line-height: 40px;
	}

	.SubHeader {
		font-size: 12px;
		line-height: 18px;
	}
}

/* Add custom styles for the cards */
.card {
	background-color: transparent;
	border: none;
}

.card .card-body {
	color: white;
}

.event-item {
	margin-bottom: 30px;
}

.event-details {
	margin-bottom: 20px;
}

.event-details h1 {
	font-size: 2em;
	margin-bottom: 10px;
}

.event-details p {
	margin-bottom: 10px;
}

.event-details img {
	margin-bottom: 20px;
}

/* Artist profile styles */
.artist-profile {
	margin-bottom: 2rem;
	color: #999;
}

.artist-image {
	max-width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.events-header {
	position: relative;
	padding-right: 12rem;
}

.flashback-link {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	font-weight: 600;
	align-self: flex-start;
	white-space: nowrap;
}

.flashback-link .flashback-full {
	display: inline;
}

.flashback-link .flashback-short {
	display: none;
}

.teaching-list .list-group-item {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.teaching-list .list-group-item-action:hover,
.teaching-list .list-group-item-action:focus {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.teaching-list .list-group-item p,
.teaching-list .list-group-item li,
.teaching-list .list-group-item a {
	color: #999;
}

/* .teaching-list .list-group-item h5,
.teaching-list .list-group-item h6,
.teaching-list .list-group-item strong,
.teaching-list .text-muted,
.teaching-list .text-dark {
	color: #999 !important;
} */

.teaching-list .card,
.teaching-list .card-body {
	background-color: transparent;
	border-color: transparent;
	color: #999;
}

.teaching-list .badge,
.teaching-list .text-bg-dark,
.teaching-list .text-bg-secondary,
.teaching-list .text-bg-info,
.teaching-list .text-bg-success,
.teaching-list .text-bg-light {
	background-color: #151515 !important;
	border: 1px solid #333;
	color: #999 !important;
}

.teaching-list .btn-outline-secondary {
	color: #999;
	border-color: #999;
}

.teaching-list .btn-outline-secondary:hover,
.teaching-list .btn-outline-secondary:focus,
.teaching-list .btn-outline-secondary:active {
	background-color: #999;
	border-color: #999;
	color: #151515;
}

.nomsa-intro-card {
	background-color: #121212;
	border: 1px solid #1f1f1f;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.nomsa-intro-story h2 {
	color: #d5d5d5;
}

.nomsa-intro-lead,
.nomsa-intro-copy {
	color: #aaaaaa;
}

.nomsa-intro-story .nomsa-intro-actions .btn {
	color: #b8b8b8;
	border-color: #5a5a5a;
}

.nomsa-intro-story .nomsa-intro-actions .btn:hover,
.nomsa-intro-story .nomsa-intro-actions .btn:focus {
	background-color: #222;
	border-color: #666;
	color: #fff;
}

.performing-list .list-group-item {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.performing-list .list-group-item-action:hover,
.performing-list .list-group-item-action:focus {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.performing-list .list-group-item p,
.performing-list .list-group-item li,
.performing-list .list-group-item a {
	color: #999;
}

/* .performing-list .list-group-item h5,
.performing-list .list-group-item h6,
.performing-list .list-group-item strong,
.performing-list .text-muted,
.performing-list .text-dark {
	color: #999 !important;
} */

.performing-list .card,
.performing-list .card-body {
	background-color: transparent;
	border-color: transparent;
	color: #999;
}

.performing-list .badge,
.performing-list .text-bg-dark,
.performing-list .text-bg-secondary,
.performing-list .text-bg-info,
.performing-list .text-bg-success,
.performing-list .text-bg-light {
	background-color: #151515 !important;
	border: 1px solid #333;
	color: #999 !important;
}

.performing-list .btn-outline-secondary {
	color: #999;
	border-color: #999;
}

.performing-list .btn-outline-secondary:hover,
.performing-list .btn-outline-secondary:focus,
.performing-list .btn-outline-secondary:active {
	background-color: #999;
	border-color: #999;
	color: #151515;
}

/* Make teaching intro text match the muted list-group-item color */
.teaching-intro,
.teaching-intro p {
    color: #999;
}

.film-music-list .list-group-item {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.film-music-list .list-group-item-action:hover,
.film-music-list .list-group-item-action:focus {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.film-music-list .list-group-item p,
.film-music-list .list-group-item li,
.film-music-list .list-group-item a {
	color: #999;
}

.film-music-list .list-group-item p {
	line-height: 1.2;
	margin-bottom: 0.5rem;
}

/* .film-music-list .list-group-item h5,
.film-music-list .list-group-item h6,
.film-music-list .list-group-item strong,
.film-music-list .text-muted,
.film-music-list .text-dark {
	color: #999 !important;
} */

.film-music-list .card,
.film-music-list .card-body {
	background-color: transparent;
	border-color: transparent;
	color: #999;
}

.film-music-list .badge,
.film-music-list .text-bg-dark,
.film-music-list .text-bg-secondary,
.film-music-list .text-bg-info,
.film-music-list .text-bg-success,
.film-music-list .text-bg-light {
	background-color: #151515 !important;
	border: 1px solid #333;
	color: #999 !important;
}

.film-music-list .btn-outline-secondary {
	color: #999;
	border-color: #999;
}

.film-music-list .btn-outline-secondary:hover,
.film-music-list .btn-outline-secondary:focus,
.film-music-list .btn-outline-secondary:active {
	background-color: #999;
	border-color: #999;
	color: #151515;
}

.show-list .list-group-item {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.show-list .list-group-item-action:hover,
.show-list .list-group-item-action:focus {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.show-list .list-group-item p,
.show-list .list-group-item li,
.show-list .list-group-item a {
	color: #999;
}

.show-list .list-group-item p {
	line-height: 1.2;
	margin-bottom: 0.5rem;
}

/* .show-list .list-group-item h5,
.show-list .list-group-item h6,
.show-list .list-group-item strong,
.show-list .text-muted,
.show-list .text-dark {
	color: #999 !important;
} */

.show-list .card,
.show-list .card-body {
	background-color: transparent;
	border-color: transparent;
	color: #999;
}

.show-list .badge,
.show-list .text-bg-dark,
.show-list .text-bg-secondary,
.show-list .text-bg-info,
.show-list .text-bg-success,
.show-list .text-bg-light {
	background-color: #151515 !important;
	border: 1px solid #333;
	color: #999 !important;
}

/* .show-list .btn-outline-secondary {
	color: #999;
	border-color: #999;
}

.show-list .btn-outline-secondary:hover,
.show-list .btn-outline-secondary:focus,
.show-list .btn-outline-secondary:active {
	background-color: #999;
	border-color: #999;
	color: #151515;
} */

.museums-list .list-group-item {
	background-color: #151515;
	border-color: #151515;
	color: #999;
}

.museums-list .list-group-item p,
.museums-list .list-group-item li,
.museums-list .list-group-item a {
	color: #999;
}

@media (max-width: 575.98px) {
	.events-header {
		padding-right: 7rem;
	}

	.flashback-link {
		top: 0;
		right: 0;
	}

	.flashback-link .flashback-full {
		display: none;
	}

	.flashback-link .flashback-short {
		display: inline;
	}

	.flashback-link .btn {
		font-size: 0.8rem;
		padding: 0.25rem 0.5rem;
	}
}

/* Default to 400px images */
@media screen and (min-width: 768px) {
	#Nomsa .artist-image {
		content: url('../img/400/Nomsa.webp');
	}

	#Max .artist-image {
		content: url('../img/400/Max.webp');
	}

	#Robert .artist-image {
		content: url('../img/400/Robert.webp');
	}

	#JP .artist-image {
		content: url('../img/400/JP.webp');
	}

	#Garit .artist-image {
		content: url('../img/400/Garit.webp');
	}
}

/* Switch to 300px images on small screens */
@media (max-width: 767px) {
	#Nomsa .artist-image {
		content: url('../img/300/Nomsa.webp');
	}

	#Max .artist-image {
		content: url('../img/300/Max.webp');
	}

	#Robert .artist-image {
		content: url('../img/300/Robert.webp');
	}

	#JP .artist-image {
		content: url('../img/300/JP.webp');
	}

	#Garit .artist-image {
		content: url('../img/300/Garit.webp');
	}
}

.btn-nomsa-red {
	background-color: #E77764;
	border-color: #E77764;
}

.btn-nomsa-red:hover {
    background-color: #E77764; 
    border-color: #de6853; 
}

.btn-primary {
    background-color: #de6853;
    border-color: #de6853;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #de6853; /* Darker red color */
    border-color: #dc634e;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, 0.5); /* Adjust shadow color */
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #e78979;
    border-color: #e78979;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: #cc0000;
    border-color: #cc0000;
    box-shadow: 0 0 0 0.2rem rgba(204, 0, 0, 0.5); /* Adjust shadow color */
}

.btn-info {
	background-color: #de6853;
	border-color: #de6853;
	color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
	background-color: #de6853;
	border-color: #dc634e;
	color: #fff;
}

.btn-outline-info {
	color: #de6853;
	border-color: #de6853;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
	background-color: #de6853;
	border-color: #dc634e;
	color: #fff !important;
}

.btn-block {
	width: 100%;
	margin-top: 5px; /* Reduced margin-top from 20px to 5px */
	padding-top: 4px; /* Set padding-top to 4px */
	padding-bottom: 4px; /* Set padding-bottom to 4px */
}

.shorts-section .embed-responsive {
	margin-bottom: 1rem;
}

.embed-responsive-9by16 {
	padding-bottom: 177.78%; /* 9:16 aspect ratio */
}

/* Visible temporary highlight: left accent bar + card shadow */
.show-highlight {
	position: relative;
	overflow: visible;
}

.show-highlight::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: #ffcf33;
	border-radius: 0 4px 4px 0;
	box-shadow: 0 4px 10px rgba(255, 180, 0, 0.18);
}

.show-highlight .card {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.4s ease, transform 0.2s ease;
	transform: translateZ(0);
}

/* Touch-friendly press feedback for clickable images */
a.img-link img {
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
	transform: translateZ(0);
	/* keeps animation smooth */
}

/* Finger-down / mouse-down */
a.img-link:active img {
	transform: scale(0.985);
	opacity: 0.92;
}

/* Keyboard focus (desktop accessibility) */
a.img-link:focus-visible img {
	outline: 3px solid #ffcf33;
	outline-offset: 4px;
}

/* Button text swap for Bootstrap collapse toggles */
.btn-collapse-text .when-expanded {
	display: none;
}

/* Preferred: Bootstrap adds/removes .collapsed on the toggle button */
.btn-collapse-text:not(.collapsed) .when-collapsed {
	display: none;
}

.btn-collapse-text:not(.collapsed) .when-expanded {
	display: inline;
}

/* Fallback: if .collapsed isn't present but aria-expanded updates */
.btn-collapse-text[aria-expanded="true"] .when-collapsed {
	display: none;
}

.btn-collapse-text[aria-expanded="true"] .when-expanded {
	display: inline;
}

/* Dark theme styling for Events/Shows list */

.show-list .list-group-item {
	background-color: #0f0f0f;
	border-color: #1f1f1f;
	color: #e6e6e6;
}

.show-list .list-group-item-action:focus,
.show-list .list-group-item-action:hover {
	background-color: #151515;
	color: #f0f0f0;
}

.show-list .list-group-item h5,
.show-list .list-group-item h2 {
	color: #f2f2f2;
}

.show-list .list-group-item .lead,
.show-list .list-group-item p {
	color: #bdbdbd;
}

.show-list .card.card-body {
	background-color: #121212;
	border: 1px solid #1f1f1f;
}

.show-list .btn-outline-secondary {
	color: #d0d0d0;
	border-color: #4a4a4a;
}

.show-list .btn-outline-secondary:hover,
.show-list .btn-outline-secondary:focus {
	background-color: #202020;
	border-color: #5a5a5a;
	color: #ffffff;
}

@keyframes show-time-live-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(222, 104, 83, 0.5);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(222, 104, 83, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(222, 104, 83, 0);
	}
}

.show-list .show-time-now {
	border-color: #de6853 !important;
	color: #de6853 !important;
	animation: show-time-live-pulse 1.8s infinite;
}

.show-list .show-time-now:hover,
.show-list .show-time-now:focus {
	background-color: #de6853 !important;
	color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
	.show-list .show-time-now {
		animation: none;
	}
}

/* Event poster date badge */
.event-poster {
	position: relative;
	display: inline-block;
}

.event-date-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	padding: 2px 4px;
	text-align: center;
	line-height: 1.1;
	letter-spacing: 0.04em;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	text-transform: uppercase;
}

.event-date-day {
	display: block;
	font-size: 18px;
	font-weight: 700;
}

.event-date-month {
	display: block;
	font-size: 12px;
	font-weight: 600;
}

.event-date-time {
	display: block;
	font-size: 12px;
	font-weight: 600;
}

/* bootstrap 5 carousel styles */

/* 533/800 * 100 = 66.625%  (your typical image ratio: 800x533) */
.gallery-ratio-800x533 {
	--bs-aspect-ratio: 66.625%;
}

/* Fill the ratio box nicely (cropping edges if needed). 
   If you never want cropping, switch to object-fit: contain instead of cover; */
.gallery-cover {
	object-fit: cover;	
}

.gallery-carousel {
	position: relative;
}

.gallery-fullscreen-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.gallery-fullscreen-btn:hover,
.gallery-fullscreen-btn:focus-visible {
	border-color: rgba(255, 255, 255, 0.7);
	outline: none;
}

.fullscreen-icon {
	position: relative;
	width: 18px;
	height: 18px;
	transform: rotate(-90deg);
}

.fullscreen-icon::before,
.fullscreen-icon::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	background: rgba(0, 0, 0, 0);
	box-sizing: border-box;
}

.fullscreen-icon::before {
	top: 1px;
	left: 1px;
}

.fullscreen-icon::after {
	top: 5px;
	left: 5px;
}

.gallery-modal-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

#galleryCarouselModal {
	flex: 1 1 auto;
	min-height: 0;
}

#galleryCarouselModal .carousel-inner,
#galleryCarouselModal .carousel-item,
#galleryCarouselModal .gallery-modal-frame {
	height: 100%;
}

.gallery-modal-frame {
	display: flex;
	align-items: center;
	justify-content: center;
}

#galleryCarouselModal .gallery-cover {
	object-fit: contain;
}

#galleryCarouselModal .carousel-control-prev,
#galleryCarouselModal .carousel-control-next,
#galleryCarouselModal .carousel-control-prev-icon,
#galleryCarouselModal .carousel-control-next-icon {
	background-color: rgba(0, 0, 0, 0);
}

.gallery-modal-frame.is-zoomed {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	justify-content: flex-start;
}

.gallery-modal-img {
	cursor: zoom-in;
	touch-action: pinch-zoom;
}

.gallery-modal-img.is-zoomed {
	cursor: zoom-out;
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	margin: 0 auto;
}

body.gallery-modal-open,
body.gallery-modal-open.modal-open {
	overflow-y: auto !important;
	position: static;
	padding-right: 0 !important;
}

@media (max-width: 820px) {
	#galleryModal {
		position: fixed;
		inset: 0;
	}

	#galleryModal .modal-dialog,
	#galleryModal .modal-content {
		height: 100dvh;
		min-height: 100dvh;
		margin: 0;
	}
}

/* Thumb strip feels native on phones */
.gallery-thumbs {
	scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	padding-bottom: 0.25rem;
}

.gallery-thumb {
	scroll-snap-align: center;
	border-radius: 0.5rem;
}

/* Faster + cleaner than img-thumbnail defaults; keeps a consistent look on dark bg */
.gallery-thumb-img {
	height: clamp(52px, 12vw, 84px);
	width: auto;
	border-radius: 0.5rem;
	display: block;
	background: rgba(168, 168, 168, 0.06);
}

/* Active thumb highlight */
.gallery-thumb.active .gallery-thumb-img,
.gallery-thumb[aria-current="true"] .gallery-thumb-img {
	outline: 3px solid rgba(168, 168, 168, 0.92);
	outline-offset: 2px;
}

/* Optional: slightly dim non-active thumbs for focus */
.gallery-thumb:not(.active) .gallery-thumb-img {
	opacity: 0.8;
}

.gallery-thumbs-hidden {
	display: none !important;
}

.gallery-page-shell {
	position: relative;
}

.gallery-filter-dock {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	position: absolute;
	/* right: 0; */
	top: -3.5rem;
	margin: 0;
	z-index: 20;
	right: 0 !important;
	left: auto !important;
}

.gallery-filter-toggle.navbar-toggler {
	padding: 0.3rem 0.45rem;
	border-color: rgba(255, 255, 255, 0.6);
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: 0.25rem;
}

.gallery-filter-toggle.navbar-toggler:focus {
	box-shadow: 0 0 0 0.2rem rgba(231, 119, 100, 0.3);
}

.gallery-filter-caret {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 0.35rem solid transparent;
	border-right: 0.35rem solid transparent;
	border-top: 0.45rem solid rgba(255, 255, 255, 0.95);
	vertical-align: middle;
}

.gallery-filter-menu.dropdown-menu {
	/* min-width: 13rem; */
	/* margin-top: 0.35rem; */
	background-color: rgba(231, 119, 100, 0.9);
	background-image: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0.35rem 0;
}

.gallery-filter-menu .dropdown-item {
	color: var(--bs-nav-link-color);
	font-family: 'Arial', sans-serif;
	font-size: var(--bs-nav-link-font-size);
	font-weight: var(--bs-nav-link-font-weight);
	padding: 0.5rem 1rem;
	background: transparent;
	border: 0;
	text-align: left;
	width: 100%;
}

.gallery-filter-menu .dropdown-item:hover,
.gallery-filter-menu .dropdown-item:focus {
	color: white;
	background-color: transparent;
}

.gallery-filter-menu .dropdown-item.active {
	color: white;
	background-color: transparent;
}