/**
 * Single event detail page (SYT /events/{slug}).
 */

.myh-event-single,
.myh-event-single * {
	font-family: "Gotham Book", sans-serif;
	box-sizing: border-box;
}

.myh-event-single {
	background: #fff;
	padding: 0 0 3.5rem;
}

.myh-event-single__banner {
	width: 100%;
	line-height: 0;
	background: #0b2545;
}

.myh-event-single__banner[hidden],
.myh-event-single__banner.is-hidden {
	display: none !important;
}

.myh-event-single__banner-link {
	display: block;
	cursor: zoom-in;
}

.myh-event-single__banner-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(46vh, 460px);
	object-fit: cover;
	object-position: center;
}

.myh-event-single__inner {
	padding-top: 2rem;
}

.myh-event-single__heading {
	max-width: 46rem;
	margin: 0 auto 0.65rem;
	color: var(--myh-navy, #0b2545);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
}

.myh-event-single__meta {
	margin: 0 auto 1.5rem;
	color: #9ca3af;
	font-size: 0.88rem;
	line-height: 1.5;
	text-align: center;
}

.myh-event-single__tabs {
	margin: 0 0 2rem;
	border-bottom: 1px solid #e5e7eb;
}

.myh-event-single__tabs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
}

.myh-event-single__tabs-list li {
	position: relative;
}

.myh-event-single__tabs-list li + li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 0.85em;
	margin-top: -0.425em;
	background: #d1d5db;
}

.myh-event-single__tab {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	color: var(--myh-navy, #0b2545);
	cursor: pointer;
	font-family: "Gotham Bold", sans-serif;
	font-size: 0.82rem;
	line-height: 1;
	margin: 0;
	padding: 0.85rem 1.25rem;
}

.myh-event-single__tab.is-active {
	border-bottom-color: var(--myh-navy, #0b2545);
}

.myh-event-single__panel {
	max-width: 52rem;
	margin: 0 auto 2rem;
}

.myh-event-single__panel:not(.is-active),
.myh-event-single__panel[hidden] {
	display: none !important;
}

.myh-event-single__panel-title {
	color: var(--myh-navy, #0b2545);
	font-family: "Gotham Bold", sans-serif;
	font-size: 1.05rem;
	line-height: 1.4;
	margin: 0 0 1.25rem;
	text-align: center;
}

.myh-event-single__subhead {
	color: var(--myh-navy, #0b2545);
	font-family: "Gotham Bold", sans-serif;
	font-size: 0.98rem;
	margin: 0 0 0.85rem;
	text-align: center;
}

.myh-event-single__subhead--contact {
	margin-top: 2rem;
}

.myh-event-single__text,
.myh-event-single__content p,
.myh-event-single__richtext p {
	color: #4b5563;
	font-size: 0.9rem;
	line-height: 1.75;
	margin: 0 0 1rem;
	text-align: left;
}

.myh-event-single__about {
	max-width: 42rem;
	margin: 0 auto;
}

.myh-event-single__expect {
	margin: 1rem 0 0.35rem;
	color: #374151;
	font-size: 0.9rem;
}

.myh-event-single__bullets {
	margin: 0 0 1.5rem;
	padding-left: 1.15rem;
	color: #4b5563;
	font-size: 0.9rem;
	line-height: 1.8;
}

.myh-event-single__video {
	position: relative;
	margin: 1.75rem auto 2rem;
	max-width: 48rem;
	overflow: hidden;
	background: #000;
}

.myh-event-single__video iframe,
.myh-event-single__video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.myh-event-single__contact-block {
	margin: 2rem 0 2.5rem;
}

.myh-event-single__contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 3rem;
	max-width: 36rem;
	margin: 0 auto;
	color: #4b5563;
	font-size: 0.86rem;
	line-height: 1.7;
	text-align: center;
}

.myh-event-single__contact-col p {
	margin: 0;
}

.myh-event-single__contact-col a {
	color: #2563eb;
}

.myh-event-single__empty {
	color: #9ca3af;
	font-size: 0.9rem;
	text-align: center;
	margin: 1.5rem 0;
}

.myh-event-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.myh-event-gallery__item {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f3f4f6;
}

.myh-event-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.myh-event-gallery__item:hover .myh-event-gallery__img {
	transform: scale(1.04);
}

.myh-event-sponsors-wrap {
	margin-top: 2.5rem;
}

.myh-event-sponsors {
	margin-bottom: 2rem;
}

.myh-event-sponsors__label {
	margin: 0 0 0.9rem;
	color: #9ca3af;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.myh-event-sponsors__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.75rem 2.5rem;
}

.myh-event-sponsors__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 220px;
}

.myh-event-sponsors__img {
	max-width: 100%;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.myh-event-single__back {
	margin: 1.5rem 0 0;
	text-align: center;
	font-size: 0.85rem;
}

.myh-event-single__back a {
	color: var(--myh-navy, #0b2545);
	text-decoration: none;
}

.myh-event-single__back a:hover {
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.myh-event-single__tab {
		padding: 0.75rem 0.85rem;
		font-size: 0.75rem;
	}

	.myh-event-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.myh-event-single__contact-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (max-width: 575.98px) {
	.myh-event-single__banner-img {
		max-height: 30vh;
	}
}
