/**
 * The public tour page, and the "part of a tour" line on a stop's page.
 *
 * House rules: dark, fills and space instead of lines, square corners,
 * Poppins everywhere except the page title, nothing tracked out, sentence
 * case, a state is a word with a mark and never colour alone, every control
 * at least 44px tall, one column on a phone and nothing wider than 320px.
 */

.mpr-tour {
	max-width: var( --mpr-page-width, 1200px );
	margin: 0 auto;
	padding: 32px 20px 64px;
	color: var( --mpr-text, #f2f2f2 );
	font-family: var( --mpr-font-body, "Poppins", Helvetica, Arial, sans-serif );
	font-size: 16px;
	line-height: 1.45;
}

.mpr-tour-page {
	background: var( --mpr-surface, #000 );
}

.mpr-tour-note {
	margin: 0 0 24px;
	padding: 14px 16px;
	background: #272b33;
	color: #f2f2f2;
}

.mpr-tour-head {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 28px;
	align-items: center;
	margin: 0 0 40px;
}

.mpr-tour-head.has-art {
	grid-template-columns: minmax( 0, 480px ) minmax( 0, 1fr );
}

.mpr-tour-art img {
	display: block;
	width: 100%;
	height: auto;
}

.mpr-tour-presenter {
	margin: 0 0 10px;
	color: var( --mpr-text-muted, #c4c4c4 );
	font-weight: 600;
}

.mpr-tour-title {
	margin: 0 0 14px;
	font-family: var( --mpr-font-body, "Poppins", Helvetica, Arial, sans-serif );
	font-size: clamp( 1.7rem, 5vw, 2.6rem );
	font-weight: 700;
	line-height: 1.05;
	overflow-wrap: anywhere;
}

/* Pagkaki is for the page title only: when the tour name is the page's H1. */
h1.mpr-tour-title {
	font-family: var( --mpr-font-display, "PAGKAKI", Helvetica, Arial, sans-serif );
	font-size: clamp( 2.2rem, 8vw, 4.4rem );
	font-weight: 400;
	line-height: 0.9;
}

.mpr-tour-meta {
	margin: 0 0 14px;
	font-weight: 600;
}

.mpr-tour-called-off {
	display: inline-block;
	margin: 0 0 14px;
	padding: 8px 12px;
	background: #ed2124;
	color: #fff;
	font-weight: 700;
}

.mpr-tour-short {
	margin: 0;
	max-width: 62ch;
	color: var( --mpr-text, #f2f2f2 );
	font-size: 1.05rem;
}

.mpr-tour-section {
	margin: 0 0 44px;
}

.mpr-tour-h {
	margin: 0 0 18px;
	font-family: var( --mpr-font-body, "Poppins", Helvetica, Arial, sans-serif );
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.mpr-tour-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mpr-tour-stop {
	display: grid;
	grid-template-columns: minmax( 0, 1.1fr ) minmax( 0, 1.4fr ) minmax( 0, 0.9fr ) auto;
	gap: 8px 20px;
	align-items: center;
	margin: 0;
	padding: 16px 18px;
	background: var( --mpr-fill, #101010 );
}

.mpr-tour-stop.is-cancelled,
.mpr-tour-stop.is-past {
	background: #0a0a0a;
}

.mpr-tour-stop.is-cancelled .mpr-tour-when,
.mpr-tour-stop.is-cancelled .mpr-tour-where {
	text-decoration: line-through;
}

.mpr-tour-when,
.mpr-tour-where {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.mpr-tour-dim {
	color: var( --mpr-text-muted, #c4c4c4 );
	font-size: 0.88rem;
	font-weight: 400;
}

.mpr-tour-state {
	margin: 0;
	font-weight: 700;
}

.mpr-tour-stop.is-sold_out .mpr-tour-mark,
.mpr-tour-stop.is-cancelled .mpr-tour-mark,
.mpr-tour-stop.is-low .mpr-tour-mark {
	color: #ff6b6d;
}

.mpr-tour-act {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	justify-content: flex-end;
}

.mpr-tour-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	background: #c81a1d;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.mpr-tour-btn:hover,
.mpr-tour-btn:focus-visible {
	background: #a81417;
	color: #fff;
}

.mpr-tour-btn:focus-visible,
.mpr-tour-more:focus-visible,
.mpr-tour-past summary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.mpr-tour-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mpr-tour-empty {
	margin: 0;
	padding: 20px 18px;
	background: var( --mpr-fill, #101010 );
}

.mpr-tour-past {
	margin: 18px 0 0;
}

.mpr-tour-past summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	background: var( --mpr-fill, #101010 );
	font-weight: 600;
	cursor: pointer;
}

.mpr-tour-past .mpr-tour-list {
	margin-top: 10px;
}

.mpr-tour-copy {
	max-width: 70ch;
	font-weight: var( --mpr-prose-weight, 400 );
}

.mpr-tour-copy p {
	margin: 0 0 1em;
}

.mpr-tour-facts {
	display: grid;
	gap: 8px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.mpr-tour-facts li {
	margin: 0;
	padding: 12px 16px;
	background: var( --mpr-fill, #101010 );
}

/* On a stop's own show page, under the title. */
.mpr-tour-line {
	margin: 0 0 14px;
	font-family: var( --mpr-font-body, "Poppins", Helvetica, Arial, sans-serif );
	font-size: 0.95rem;
	font-weight: 600;
}

.mpr-tour-line a {
	display: inline-block;
	padding: 12px 0;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media ( max-width: 860px ) {
	.mpr-tour-head.has-art {
		grid-template-columns: minmax( 0, 1fr );
	}

	.mpr-tour-art {
		max-width: 420px;
	}

	.mpr-tour-stop {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
	}

	.mpr-tour-act {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media ( max-width: 520px ) {
	.mpr-tour {
		padding: 24px 14px 48px;
	}

	.mpr-tour-stop {
		grid-template-columns: minmax( 0, 1fr );
		padding: 14px;
	}

	.mpr-tour-btn {
		flex: 1 1 100%;
	}
}


/* Dates before details: a stop that is only a date. */
.mpr-tour-stop.is-bare {
	grid-template-columns: minmax( 0, 1fr ) auto;
	padding: 20px 22px;
}

.mpr-tour-stop.is-bare .mpr-tour-when {
	font-size: 1.1rem;
}

.mpr-tour-stop.is-bare .mpr-tour-state {
	color: var( --mpr-text-muted, #c4c4c4 );
	font-weight: 600;
}

/* No artwork yet: the title sits on a solid fill so the page never opens on bare text. */
.mpr-tour-head:not( .has-art ) {
	padding: 48px 28px;
	background: var( --mpr-fill, #151515 );
}

.mpr-tour-head:not( .has-art ) .mpr-tour-meta {
	font-size: 1.15rem;
}

@media ( max-width: 640px ) {
	.mpr-tour-stop.is-bare {
		grid-template-columns: minmax( 0, 1fr );
	}

	.mpr-tour-head:not( .has-art ) {
		padding: 32px 20px;
	}
}


/* Routing rows, the hero action and the tour alerts sign-up. */
.mpr-tour-stop.is-bare {
	grid-template-columns: minmax( 0, 1fr ) auto auto;
	gap: 16px;
	align-items: center;
}

.mpr-tour-area {
	display: block;
	color: var( --mpr-text-muted, #c4c4c4 );
	font-weight: 600;
}

.mpr-tour-notify {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	background: var( --mpr-red, #ed2124 );
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.mpr-tour-cta {
	margin: 18px 0 0;
}

.mpr-tour-alerts {
	padding: 28px;
	background: var( --mpr-fill, #151515 );
}

.mpr-tour-alert-fields {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 16px 20px;
	max-width: 960px;
}

.mpr-tour-alert-f label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

.mpr-tour-alerts input[type="text"],
.mpr-tour-alerts input[type="email"],
.mpr-tour-alerts select {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	background: #000;
	color: #f2f2f2;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.3;
	box-sizing: border-box;
}

.mpr-tour-alerts input:focus-visible,
.mpr-tour-alerts select:focus-visible,
.mpr-tour-alerts input[type="checkbox"]:focus-visible {
	background: #1b1b1b;
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.mpr-tour-consent {
	margin: 18px 0 0;
	max-width: 960px;
}

.mpr-tour-consent label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.mpr-tour-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin: 0;
}

.mpr-tour-privacy {
	display: inline-block;
	margin: 8px 0 0 36px;
	color: inherit;
	text-decoration: underline;
}

.mpr-tour-submit {
	margin: 22px 0 0;
}

.mpr-tour-submit .mpr-tour-btn {
	min-width: 280px;
	min-height: 52px;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

.mpr-tour-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* The story: the opening, then three panels, then the rest. */
.mpr-tour-lead {
	max-width: 760px;
}

.mpr-tour-story {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 16px;
	margin: 24px 0;
}

.mpr-tour-chapter {
	padding: 22px;
	background: var( --mpr-fill, #151515 );
}

.mpr-tour-chapter-n {
	display: block;
	margin: 0 0 8px;
	color: var( --mpr-red, #ed2124 );
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.mpr-tour-chapter h3,
.mpr-tour-chapter h4 {
	margin: 0 0 8px;
	font-size: 1.15rem;
}

.mpr-tour-chapter p {
	margin: 0;
}

.mpr-tour-error {
	color: var( --mpr-red, #ed2124 );
	font-weight: 600;
}

@media ( max-width: 640px ) {
	.mpr-tour-stop.is-bare {
		grid-template-columns: minmax( 0, 1fr ) auto;
	}

	.mpr-tour-alert-fields {
		grid-template-columns: minmax( 0, 1fr );
	}

	.mpr-tour-submit .mpr-tour-btn {
		width: 100%;
		min-width: 0;
	}
}

@media ( max-width: 900px ) {
	.mpr-tour-alert-fields {
		grid-template-columns: minmax( 0, 1fr );
	}

	.mpr-tour-story {
		grid-template-columns: minmax( 0, 1fr );
	}
}

/* Ticket landing page (2026-11-02): lead with the way to buy. */
.mpr-tour-sell { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 6px; }
.mpr-tour-go { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; background: #c81a1d; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; border: 0; }
.mpr-tour-go:hover, .mpr-tour-go:focus-visible { background: #a81417; color: #fff; }
.mpr-tour-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mpr-tour-from { font-size: 18px; font-weight: 600; }
.mpr-tour-count { font-size: 15px; opacity: .8; }
.mpr-tour-price { font-size: 16px; font-weight: 600; margin-right: 4px; }
.mpr-tour-bar { display: none; }
@media (max-width: 720px) {
	.mpr-tour-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #000; }
	.mpr-tour-bar .mpr-tour-go { width: 100%; }
	.mpr-tour { padding-bottom: 84px; }
	.mpr-tour-sell .mpr-tour-go { width: 100%; }
	.mpr-tour-act { justify-content: flex-start; }
	.mpr-tour-act .mpr-tour-btn { width: 100%; }
}

/*
 * 2026-11-02: the tour page in the O Christmas Tea manner (Michael: "look like ochristmastea.com", "get people to buy
 * tickets"). The dates are a light panel with one city a row, the city in big red capitals and the ticket button at
 * the right; the cast is photo cards; the questions open one at a time. Square corners, no lines, as everywhere here.
 */
.mpr-tour-tagline {
	margin: 0 0 16px;
	color: #ff4a4d;
	font-size: clamp( 1.25rem, 3vw, 1.7rem );
	font-weight: 800;
	line-height: 1.15;
}

.mpr-tour-x .mpr-tour-head.has-art {
	grid-template-columns: minmax( 0, 1.15fr ) minmax( 0, 1fr );
	gap: 40px;
}

.mpr-tour-x .mpr-tour-go {
	min-height: 60px;
	padding: 16px 40px;
	font-size: 20px;
	font-weight: 800;
}

.mpr-tour-x .mpr-tour-h {
	font-size: clamp( 1.8rem, 4.5vw, 2.8rem );
	font-weight: 800;
	line-height: 1.05;
	text-align: center;
}

.mpr-tour-x .mpr-tour-section {
	margin: 0 0 64px;
}

.mpr-tour-x .mpr-tour-about .mpr-tour-lead {
	max-width: 62ch;
	margin: 0 auto 24px;
	font-size: 1.1rem;
	text-align: center;
}

/* The dates: a light panel, one city a row. */
.mpr-tour-stops .mpr-tour-list {
	max-width: 880px;
	margin: 0 auto;
	padding: 12px;
	gap: 6px;
	background: #f4efe9;
}

.mpr-tour-stops .mpr-tour-stop:not( .is-bare ) {
	grid-template-columns: minmax( 0, 1fr ) auto auto;
	grid-template-areas: "when time act" "where state act";
	gap: 2px 24px;
	padding: 18px 22px;
	background: #fff;
	color: #1d1d1f;
}

.mpr-tour-stops .mpr-tour-stop.is-bare {
	background: #fff;
	color: #1d1d1f;
}

.mpr-tour-stops .mpr-tour-stop .mpr-tour-dim,
.mpr-tour-stops .mpr-tour-stop.is-bare .mpr-tour-state {
	color: #5b5b60;
}

.mpr-tour-stops .mpr-tour-when { grid-area: when; color: #5b5b60; font-size: 0.85rem; font-weight: 600; }
.mpr-tour-stops .mpr-tour-where { grid-area: where; }
.mpr-tour-stops .mpr-tour-time { grid-area: time; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; }
.mpr-tour-stops .mpr-tour-state { grid-area: state; justify-self: end; font-size: 0.85rem; }
.mpr-tour-stops .mpr-tour-stop:not( .is-bare ) .mpr-tour-act { grid-area: act; flex-direction: column; align-items: stretch; gap: 4px; }

.mpr-tour-stops .mpr-tour-where strong {
	color: #c81a1d;
	font-size: clamp( 1.35rem, 3vw, 1.75rem );
	font-weight: 800;
	line-height: 1.05;
}

.mpr-tour-stops .mpr-tour-btn {
	gap: 10px;
	min-width: 190px;
	font-weight: 800;
}

.mpr-tour-stops .mpr-tour-price { align-self: center; color: #1d1d1f; font-size: 0.9rem; }
.mpr-tour-stops .mpr-tour-more { align-self: center; min-height: 32px; color: #1d1d1f; font-size: 0.9rem; }
.mpr-tour-stops .mpr-tour-more:focus-visible,
.mpr-tour-stops .mpr-tour-btn:focus-visible { outline-color: #1d1d1f; }

.mpr-tour-stops .mpr-tour-stop.is-low .mpr-tour-mark,
.mpr-tour-stops .mpr-tour-stop.is-sold_out .mpr-tour-mark,
.mpr-tour-stops .mpr-tour-stop.is-cancelled .mpr-tour-mark { color: #c81a1d; }

.mpr-tour-stops .mpr-tour-stop.is-past { background: #ebe6e0; }

/* Two colours of the cast cards, here so a page can set its own on .mpr-tour (as the draft page does for the dates). */
.mpr-tour {
	--mpr-accent-text: #ff4a4d;
	--mpr-shot-fill: #2a1416;
}

/* The cast: photo cards. */
.mpr-tour-cast-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 250px, 1fr ) );
	gap: 28px 24px;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.mpr-tour-castcard { margin: 0; }

.mpr-tour-cast-link {
	display: flex;
	gap: 16px;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

a.mpr-tour-cast-link:hover .mpr-tour-cast-name,
a.mpr-tour-cast-link:focus-visible .mpr-tour-cast-name { text-decoration: underline; text-underline-offset: 3px; }
a.mpr-tour-cast-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.mpr-tour-cast-shot {
	flex: none;
	width: 112px;
	height: 112px;
	overflow: hidden;
	background: var( --mpr-shot-fill, #2a1416 );
}

.mpr-tour-cast-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mpr-tour-cast-blank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var( --mpr-accent-text, #ff4a4d );
	font-size: 1.6rem;
	font-weight: 800;
}

.mpr-tour-cast-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mpr-tour-cast-name { font-size: 1.1rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.mpr-tour-cast-pron { color: var( --mpr-text-muted, #c4c4c4 ); font-size: 0.85rem; }
.mpr-tour-cast-role,
.mpr-tour-cast-where { color: var( --mpr-accent-text, #ff4a4d ); font-size: 0.85rem; font-weight: 700; }

/* The questions. */
.mpr-tour-faq-list { display: grid; gap: 6px; max-width: 880px; margin: 0 auto; }
.mpr-tour-q { background: var( --mpr-fill, #101010 ); }
.mpr-tour-q summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 12px 20px;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.mpr-tour-q summary::-webkit-details-marker { display: none; }
.mpr-tour-q summary::after { content: "+"; flex: none; color: #ff4a4d; font-size: 1.6rem; font-weight: 400; line-height: 1; }
.mpr-tour-q[open] summary::after { content: "–"; }
.mpr-tour-q summary:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.mpr-tour-a { padding: 0 20px 16px; max-width: 70ch; }
.mpr-tour-a p { margin: 0 0 0.8em; }

/* The closing: the last headed part, with the same big button. */
.mpr-tour-closing { padding: 48px 24px; background: #c81a1d; text-align: center; }
.mpr-tour-closing .mpr-tour-copy { margin: 0 auto 8px; font-size: 1.1rem; }
.mpr-tour-closing .mpr-tour-sell { justify-content: center; }
.mpr-tour-x .mpr-tour-closing .mpr-tour-go { background: #fff; color: #c81a1d; }
.mpr-tour-x .mpr-tour-closing .mpr-tour-go:hover,
.mpr-tour-x .mpr-tour-closing .mpr-tour-go:focus-visible { background: #f4efe9; color: #a81417; }
.mpr-tour-closing .mpr-tour-count { opacity: 1; }

.mpr-tour-x .mpr-tour-know .mpr-tour-facts,
.mpr-tour-x .mpr-tour-know .mpr-tour-dim { max-width: 880px; margin-left: auto; margin-right: auto; }

@media ( max-width: 860px ) {
	.mpr-tour-x .mpr-tour-head.has-art { grid-template-columns: minmax( 0, 1fr ); gap: 24px; }
	.mpr-tour-x .mpr-tour-art { max-width: none; }
}

@media ( max-width: 640px ) {
	.mpr-tour-stops .mpr-tour-list { padding: 6px; }
	.mpr-tour-stops .mpr-tour-stop:not( .is-bare ) {
		grid-template-columns: minmax( 0, 1fr ) auto;
		grid-template-areas: "when when" "where where" "time state" "act act";
		gap: 4px 12px;
		padding: 16px;
	}
	.mpr-tour-stops .mpr-tour-time { flex-direction: row; gap: 10px; align-items: baseline; justify-self: start; }
	.mpr-tour-stops .mpr-tour-stop:not( .is-bare ) .mpr-tour-act { margin-top: 8px; }
	.mpr-tour-stops .mpr-tour-btn { width: 100%; min-width: 0; }
	.mpr-tour-cast-grid { grid-template-columns: minmax( 0, 1fr ); gap: 18px; }
	.mpr-tour-cast-shot { width: 88px; height: 88px; }
	.mpr-tour-x .mpr-tour-go { width: 100%; }
	.mpr-tour-closing { padding: 36px 16px; }
}

.mpr-tour-closing h3,
.mpr-tour-closing h4 { margin: 0 0 14px; font-size: clamp( 1.6rem, 4vw, 2.4rem ); font-weight: 800; line-height: 1.05; }

.mpr-tour-x .mpr-tour-story { grid-template-columns: repeat( auto-fit, minmax( 260px, 380px ) ); justify-content: center; }

.mpr-tour-stops .mpr-tl-stack { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }

/* The cast on its own ([mpr_tour parts="cast"]) on a page that sets its own colours: a light section sets
   --mpr-text, --mpr-text-muted, --mpr-accent-text and --mpr-shot-fill on .mpr-tour, as the dates already do. */
.mpr-tour-parts .mpr-tour-cast .mpr-tour-h { text-align: center; }
