/*
 * Single event pages: alignleft featured poster was ~full content width,
 * which crushed .entry-content to 0px and stacked every word vertically.
 * Note: body lacks category-* classes on this theme — scoped via enqueue only.
 * Featured img also ships inline width:40% — override so poster actually scales.
 */
body.single-post main > .wp-block-group.is-layout-constrained {
	max-width: 1280px;
}

body.single-post .wp-block-post-featured-image.alignleft {
	float: left;
	width: min(640px, 52%);
	max-width: min(640px, 52%);
	margin: 0 2rem 1.5rem 0;
}

body.single-post .wp-block-post-featured-image.alignleft img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	display: block;
}

body.single-post .entry-content.wp-block-post-content {
	display: flow-root;
	min-width: 0;
	font-size: 1.2rem;
	line-height: 1.55;
}

body.single-post .wp-block-post-title {
	font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

@media (max-width: 782px) {
	body.single-post .wp-block-post-featured-image.alignleft {
		float: none;
		width: 100%;
		max-width: 28rem;
		margin: 0 auto 1.25rem;
	}
}

.mtp-live-archive {
	width: 100%;
}

.mtp-live-section {
	margin: 0 0 3rem;
}

.mtp-live-section__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.mtp-live-empty {
	margin: 0 0 1.5rem;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #fff;
	opacity: 0.9;
}

.mtp-live-empty a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.mtp-live-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mtp-live-row {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr) auto;
	gap: 0.75rem 1.25rem;
	align-items: center;
	padding: 0.95rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
}

.mtp-live-row__date {
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0.92;
}

.mtp-live-row__where {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	color: inherit !important;
	text-decoration: none !important;
}

a.mtp-live-row__where:hover .mtp-live-row__city,
a.mtp-live-row__where:focus-visible .mtp-live-row__city {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

a.mtp-live-row__where:hover .mtp-live-row__venue,
a.mtp-live-row__where:focus-visible .mtp-live-row__venue {
	opacity: 1;
}

.mtp-live-row__city {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.25;
}

.mtp-live-row__venue {
	font-size: 0.95rem;
	opacity: 0.78;
	line-height: 1.3;
}

.mtp-live-row__action {
	justify-self: end;
	min-height: 2.1rem;
	display: flex;
	align-items: center;
}

.mtp-live-tickets {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.85rem;
	border: 1px solid #fff;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	background-color: rgba(0, 0, 255, 0.35);
	background-image: url(https://mysticteaparty.com/wp-content/uploads/2024/01/ALG0-ezgif.com-optimize.gif);
	background-size: cover;
	background-position: center;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
	transition: background-color 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
}

.mtp-live-tickets:hover,
.mtp-live-tickets:focus-visible {
	background-color: rgba(255, 255, 255, 0.55);
	color: #000 !important;
	text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

.mtp-live-free {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

@media (max-width: 700px) {
	.mtp-live-row {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"date action"
			"where where";
		gap: 0.35rem 0.85rem;
		padding: 1rem 0;
	}

	.mtp-live-row__date {
		grid-area: date;
	}

	.mtp-live-row__where {
		grid-area: where;
	}

	.mtp-live-row__action {
		grid-area: action;
	}
}
