/*
Theme Name: St. Mark's United Methodist Church
Description: Built from scratch for St. Mark's United Methodist Church, Boyds, Maryland.
Author: Floulex Web
Version: 1.0.0
Requires at least: 6.4
Text Domain: st-marks-umc
*/

/*
 * PALETTE, CHOSEN BY ELIMINATION
 *
 * The church has no logo yet, so there was nothing of theirs to sample. Each
 * color below is here for a reason, and the rejected ones are listed so a
 * later change does not drift back into them.
 *
 *   Not navy:        what nearly every church website company already uses.
 *   Not purple:      the lazy shorthand for "spiritual".
 *   Not gold:        reads as a megachurch, and this is a country church of 1857.
 *   Not terracotta on cream with a serif: banned in DESIGN.md as a default.
 *   Not deep green:  that is our own studio's accent, and the site must look
 *                    like the church, not like the company that built it.
 *
 *   --flame  #9a2b20  The one color this church already wears is its
 *                     denomination's: the United Methodist cross and flame is
 *                     red. Taken darker than a warning red, because the page it
 *                     leads is about a closed building, and an alarm color
 *                     would read as an emergency rather than an invitation.
 *                     Spent in ONE place: the building fund, the thing the
 *                     church asked us to tell everyone about.
 *   --deep   #23292d  The black of the cross, softened to charcoal. The quiet
 *                     dark ground for the footer and the main buttons.
 *   --ground #f3f2ed  Whitewash, like the painted wood of a country church.
 *                     Cooler than cream on purpose.
 *
 * Measured pairs: ink on ground 13.97, muted on ground 5.95, muted on wash
 * 5.34, flame on ground 6.84, ground on flame 6.84, ground on deep 13.13.
 *
 * TYPE: Young Serif for display (sturdy, warm, old style, open licence) and
 * Atkinson Hyperlegible for everything read, because this congregation has a
 * senior ministry and joins on phones and tablets. Legibility is the brief.
 */

:root {
	--stm-ground: #f3f2ed;
	--stm-paper: #fbfaf7;
	--stm-wash: #e8e6df;
	--stm-line: #cfccc2;
	--stm-ink: #1f2428;
	--stm-muted: #575d62;
	--stm-deep: #23292d;
	--stm-deep-muted: #b7bcbf;
	--stm-flame: #9a2b20;
	--stm-flame-soft: #efd6d1;
	--stm-gut: clamp(1rem, 4vw, 2.5rem);
	--stm-max: 74rem;
	--stm-display: "Young Serif", Georgia, serif;
	--stm-body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

html { scroll-padding-top: 6rem; }
body { margin: 0; overflow-x: clip; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

.stm-main { display: block; }
:where(.stm-main) :where(p, ul, ol, dl, figure, blockquote, address) { margin: 0; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--stm-flame); outline-offset: 3px; }

.stm-wrap {
	max-width: var(--stm-max);
	margin: 0 auto;
	padding-inline: var(--stm-gut);
}
.stm-measure { max-width: 44rem; }

/* ------------------------------------------------------------ type */

.stm-h1, .stm-h2, .stm-h3 { font-family: var(--stm-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.stm-h1 { font-size: var(--wp--preset--font-size--display-1); line-height: 1.04; }
.stm-h2 { font-size: var(--wp--preset--font-size--display-2); line-height: 1.1; }
.stm-h3 { font-size: var(--wp--preset--font-size--display-3); line-height: 1.2; }
.stm-lede { font-size: var(--wp--preset--font-size--lede); line-height: 1.55; max-width: 38rem; }
.stm-kicker {
	font-size: var(--wp--preset--font-size--micro);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stm-muted);
}
.stm-prose > * + * { margin-top: 1rem; }
.stm-prose h2, .stm-prose h3 { margin-top: 2.25rem; }
.stm-gap-s { margin-top: 1rem; }
.stm-gap-m { margin-top: 1.75rem; }
.stm-gap-l { margin-top: 3rem; }

/* ---------------------------------------------------------- buttons */

.stm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stm-btn {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: 0.7rem 1.35rem;
	background: var(--stm-deep);
	color: var(--stm-ground);
	font-weight: 700;
	text-decoration: none;
	border: 2px solid var(--stm-deep);
	transition: background 0.2s, color 0.2s;
}
.stm-btn:hover { background: var(--stm-ground); color: var(--stm-deep); }
.stm-btn-quiet { background: transparent; color: var(--stm-ink); }
.stm-btn-quiet:hover { background: var(--stm-deep); color: var(--stm-ground); }
.stm-btn-give { background: var(--stm-flame); border-color: var(--stm-flame); color: #fff; }
.stm-btn-give:hover { background: var(--stm-ground); color: var(--stm-flame); }

/* ----------------------------------------------------------- header */

.stm-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.stm-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--stm-ground);
	border-bottom: 1px solid var(--stm-line);
	transition: box-shadow 0.25s;
}
.stm-head.is-scrolled { box-shadow: 0 6px 18px -14px rgba(31, 36, 40, 0.55); }
.admin-bar .stm-head { top: 32px; }
.stm-head-in {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 5rem;
	position: relative;
}
.stm-name { display: flex; flex-direction: column; flex-shrink: 0; text-decoration: none; margin-right: auto; padding-block: 0.6rem; }
.stm-name-main { font-family: var(--stm-display); font-size: 1.75rem; line-height: 1; }
.stm-name-sub { font-size: 0.8125rem; color: var(--stm-muted); margin-top: 0.35rem; letter-spacing: 0.01em; white-space: nowrap; }

.stm-panel { display: flex; align-items: center; gap: 1.5rem; }
.stm-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.5rem; }
.stm-nav li { margin: 0; }
.stm-nav a, .stm-nav summary {
	display: inline-block;
	padding-block: 0.4rem;
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.stm-nav a:hover, .stm-nav summary:hover { border-bottom-color: var(--stm-line); }
.stm-nav a[aria-current="page"], .stm-nav summary.is-current { border-bottom-color: var(--stm-ink); }
.stm-nav summary { list-style: none; }
.stm-nav summary::-webkit-details-marker { display: none; }
.stm-nav summary::after {
	content: "";
	display: inline-block;
	width: 0.42em;
	height: 0.42em;
	margin-left: 0.45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-0.2em) rotate(45deg);
}
.stm-drop { position: relative; }
.stm-drop-panel {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	position: absolute;
	top: calc(100% + 0.5rem);
	left: -1rem;
	min-width: 13rem;
	background: var(--stm-paper);
	border: 1px solid var(--stm-line);
	box-shadow: 0 14px 30px -18px rgba(31, 36, 40, 0.45);
}
/* An invisible bridge across the gap, so moving down to a link never leaves the group. */
.stm-drop-panel::before { content: ""; position: absolute; top: -0.75rem; left: -0.75rem; right: -0.75rem; height: 0.75rem; }
.stm-drop-panel a { display: block; padding: 0.55rem 1rem; border-bottom: 0; font-weight: 400; }
.stm-drop-panel a:hover { background: var(--stm-wash); }
.stm-drop-panel a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; }

.stm-cta {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	background: var(--stm-deep);
	color: var(--stm-ground);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	border: 2px solid var(--stm-deep);
}
.stm-cta:hover { background: var(--stm-ground); color: var(--stm-deep); }

.stm-menu { display: none; }
.stm-menu summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.95rem;
	border: 2px solid var(--stm-deep);
	font-weight: 700;
	cursor: pointer;
}
.stm-menu summary::-webkit-details-marker { display: none; }
.stm-burger, .stm-burger::before, .stm-burger::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
.stm-burger::before, .stm-burger::after { content: ""; position: absolute; left: 0; }
.stm-burger::before { top: -6px; }
.stm-burger::after { top: 6px; }
.stm-menu[open] .stm-burger { background: transparent; }
.stm-menu[open] .stm-burger::before { top: 0; transform: rotate(45deg); }
.stm-menu[open] .stm-burger::after { top: 0; transform: rotate(-45deg); }

/* Measured, not guessed: the bar needs about 1000px with these gaps. */
@media (max-width: 1180px) {
	.stm-head-in { gap: 1rem; }
	.stm-panel { gap: 1.1rem; }
	.stm-nav > ul { gap: 1.1rem; }
}
@media (max-width: 1023px) {
	.stm-menu { display: block; }
	.stm-panel, .stm-nav { display: none; }
	.stm-menu[open] + .stm-panel {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--stm-paper);
		border-bottom: 1px solid var(--stm-line);
		padding: 0.75rem var(--stm-gut) 1.5rem;
		box-shadow: 0 18px 30px -22px rgba(31, 36, 40, 0.5);
		max-height: calc(100vh - 5rem);
		overflow-y: auto;
	}
	.stm-menu[open] + .stm-panel .stm-nav { display: block; }
	.stm-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.stm-nav > ul > li { border-bottom: 1px solid var(--stm-line); }
	.stm-nav a, .stm-nav summary { display: block; padding: 0.85rem 0; font-size: 1.125rem; border-bottom: 0; }
	.stm-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }
	/* On a phone a group is a heading with its pages beneath it, never a second drawer. */
	.stm-nav summary { pointer-events: none; color: var(--stm-muted); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 0.2rem; }
	.stm-nav summary::after { display: none; }
	.stm-drop-panel { position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 0.6rem; min-width: 0; }
	.stm-drop-panel::before { display: none; }
	.stm-drop-panel a { padding: 0.6rem 0 0.6rem 1rem; font-weight: 700; }
	.stm-drop-panel a:hover { background: transparent; }
	.stm-cta { margin-top: 1.25rem; width: 100%; justify-content: center; min-height: 3.25rem; }
}
@media (max-width: 420px) {
	.stm-name { flex-shrink: 1; min-width: 0; }
	.stm-name-main { font-size: 1.45rem; }
	.stm-name-sub { font-size: 0.75rem; white-space: normal; }
	.stm-menu summary { padding: 0.45rem 0.75rem; }
}

/* ---------------------------------------------------------- sections */

.stm-sec { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.stm-sec-paper { background: var(--stm-paper); border-block: 1px solid var(--stm-line); }
.stm-page-top { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.stm-page-top:not(.stm-fund) + .stm-sec:not(.stm-sec-paper):not(.stm-fund) { padding-top: 0; }

/* Home opening: the facts that must not be missed sit in a rail beside the welcome. */
.stm-open-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.stm-open-grid .stm-lede { margin-top: 1.5rem; }
.stm-open-grid .stm-actions { margin-top: 2rem; }
.stm-week {
	background: var(--stm-paper);
	border: 1px solid var(--stm-line);
	border-top: 4px solid var(--stm-deep);
	padding: 1.5rem 1.5rem 1.6rem;
}
.stm-week-title { font-family: var(--stm-display); font-size: 1.375rem; }
.stm-week dl { margin-top: 0.75rem; }
.stm-week dl > div { padding-block: 0.85rem; border-top: 1px solid var(--stm-line); }
.stm-week dl > div:first-child { border-top: 0; }
.stm-week dt { font-size: var(--wp--preset--font-size--micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stm-muted); }
.stm-week dd { margin: 0.2rem 0 0; font-size: 1.25rem; font-weight: 700; }
.stm-week-note { font-size: 0.9375rem; color: var(--stm-muted); margin-top: 0.4rem; }
.stm-open-figure { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Figures, including the placeholder plates. */
.stm-main .wp-block-image img { display: block; width: 100%; height: auto; border: 1px solid var(--stm-line); }
.stm-main .wp-block-image figcaption,
.stm-main .wp-element-caption { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--stm-muted); line-height: 1.45; }

/* The building fund. The one place the flame color is spent. */
.stm-fund { background: var(--stm-flame); color: var(--stm-ground); }
.stm-fund a:not(.stm-btn) { color: var(--stm-ground); }
.stm-fund .stm-kicker { color: var(--stm-flame-soft); }
.stm-fund-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.stm-fund-grid .stm-lede { margin-top: 1.25rem; }
.stm-fund-quote {
	font-family: var(--stm-display);
	font-size: var(--wp--preset--font-size--display-3);
	line-height: 1.3;
	border-left: 3px solid var(--stm-flame-soft);
	padding-left: 1.25rem;
}
.stm-fund-quote cite { display: block; margin-top: 0.8rem; font-family: var(--stm-body); font-style: normal; font-size: 0.9375rem; color: var(--stm-flame-soft); }
.stm-fund .stm-btn { background: var(--stm-ground); color: var(--stm-flame); border-color: var(--stm-ground); }
.stm-fund .stm-btn:hover { background: transparent; color: var(--stm-ground); }
.stm-fund .stm-actions { margin-top: 2rem; }

/* Two columns that collapse to one. */
.stm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.stm-split-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.stm-split-media-r { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }

/* The church's own statement of faith, set large. */
.stm-faith {
	font-family: var(--stm-display);
	font-size: var(--wp--preset--font-size--display-2);
	line-height: 1.18;
	padding-top: 1.25rem;
	border-top: 2px solid var(--stm-ink);
}
.stm-faith cite { display: block; margin-top: 1rem; font-family: var(--stm-body); font-size: 0.9375rem; font-style: normal; color: var(--stm-muted); }

/* Ministries as a typographic list, three by two, with hairlines. */
.stm-list {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--stm-line);
	border: 1px solid var(--stm-line);
}
.stm-list li { background: var(--stm-ground); padding: 1.5rem 1.4rem 1.6rem; }
.stm-sec-paper .stm-list li { background: var(--stm-paper); }
.stm-list .stm-h3 { display: block; }
.stm-list p { margin-top: 0.5rem; color: var(--stm-muted); font-size: 1rem; }

/* Ministry names on the home page: a line of type, not a grid of cards. */
.stm-names { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0; font-family: var(--stm-display); font-size: var(--wp--preset--font-size--display-3); }
.stm-names li:not(:last-child)::after { content: "·"; margin: 0 0.7rem; color: var(--stm-muted); }

.stm-history-pics { padding-top: 0.5rem; }

/* Schedules. */
.stm-sched { border-top: 2px solid var(--stm-ink); }
.stm-sched > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 1rem 2rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--stm-line);
	align-items: baseline;
}
.stm-sched dt { font-family: var(--stm-display); font-size: var(--wp--preset--font-size--display-3); }
.stm-sched dd { margin: 0; }
.stm-sched dd strong { display: block; font-size: 1.25rem; }
.stm-sched dd span { color: var(--stm-muted); }

/* Numbered steps, used only where the order is real. */
.stm-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: stm-step; }
.stm-steps li { counter-increment: stm-step; position: relative; padding: 0 0 1.25rem 3.25rem; }
.stm-steps li::before {
	content: counter(stm-step);
	position: absolute;
	left: 0;
	top: -0.15rem;
	width: 2.2rem;
	height: 2.2rem;
	display: grid;
	place-items: center;
	border: 2px solid var(--stm-ink);
	font-weight: 700;
}

/* A plain notice, used to say what is closed and what to do instead. */
.stm-note {
	background: var(--stm-wash);
	border-left: 4px solid var(--stm-deep);
	padding: 1.1rem 1.3rem;
}
.stm-note strong { display: block; margin-bottom: 0.2rem; }

/* The signature: a line that draws itself down the church's history. */
.stm-time { position: relative; list-style: none; margin: 2.5rem 0 0; padding: 0 0 0 2.75rem; }
.stm-time::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0.6rem;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 3px;
	background: var(--stm-ink);
	transform-origin: top;
	transform: scaleY(1);
}
.js .stm-time.stm-rev::after { transform: scaleY(0); transition: transform 1.8s cubic-bezier(0.3, 0.6, 0.2, 1) 0.2s; }
.js .stm-time.stm-rev.is-in::after { transform: scaleY(1); }
.stm-time li { position: relative; padding-bottom: 2.25rem; }
.stm-time li:last-child { padding-bottom: 0; }
.stm-time li::before {
	content: "";
	position: absolute;
	left: -2.65rem;
	top: 0.45rem;
	width: 1.05rem;
	height: 1.05rem;
	background: var(--stm-ground);
	border: 3px solid var(--stm-ink);
	border-radius: 50%;
	z-index: 1;
}
.stm-time li.is-next::before { border-style: dashed; }
.stm-time-when { font-size: var(--wp--preset--font-size--micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stm-muted); }
.stm-time .stm-h3 { margin-top: 0.15rem; }
.stm-time p { margin-top: 0.4rem; max-width: 38rem; }

/* Ways to give. Three, so three columns, then one. */
.stm-ways {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--stm-line);
	border: 1px solid var(--stm-line);
}
.stm-ways li { background: var(--stm-paper); padding: 1.6rem 1.5rem; }
.stm-ways .stm-h3 { color: var(--stm-flame); }
.stm-ways p { margin-top: 0.6rem; }
.stm-ways .stm-ask { font-weight: 700; }

/* Contact. */
.stm-phone-big { font-family: var(--stm-display); font-size: var(--wp--preset--font-size--display-2); line-height: 1.1; }
.stm-phone-big a { text-decoration: none; border-bottom: 2px solid var(--stm-line); }
.stm-phone-big a:hover { border-bottom-color: var(--stm-ink); }
.stm-map { margin-top: 0; border: 1px solid var(--stm-line); background: var(--stm-wash); }
.stm-map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; }
.stm-addr { font-style: normal; font-size: 1.25rem; line-height: 1.45; }

.stm-form { max-width: 36rem; }
.stm-form p + p { margin-top: 1rem; }
.stm-form label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.stm-form input, .stm-form textarea {
	width: 100%;
	font: inherit;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--stm-muted);
	background: var(--stm-paper);
	color: var(--stm-ink);
}
.stm-form.is-off input, .stm-form.is-off textarea { background: var(--stm-wash); border-style: dashed; cursor: not-allowed; }
.stm-form-note { background: var(--stm-paper); border: 1px dashed var(--stm-muted); padding: 0.9rem 1rem; }

/* Embeds the church may add later should land looking right. */
.stm-main .wp-block-embed, .stm-main .wp-block-video { margin-block: 1.5rem; }
.stm-main .wp-block-embed iframe, .stm-main .wp-block-video video { display: block; width: 100%; border: 1px solid var(--stm-line); }

/* ------------------------------------------------------------ footer */

.stm-foot { background: var(--stm-deep); color: var(--stm-ground); padding-block: 3.5rem 3rem; }
.stm-foot p { margin: 0; }
.stm-foot p + p { margin-top: 0.5rem; }
.stm-foot-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.stm-foot-name { font-family: var(--stm-display); font-size: 1.5rem; line-height: 1.2; }
.stm-foot-id p:not(.stm-foot-name) { color: var(--stm-deep-muted); }
.stm-foot-label { font-size: var(--wp--preset--font-size--micro); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stm-deep-muted); }
.stm-foot-index { list-style: none; margin: 0.5rem 0 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.stm-foot-index li { margin: 0 0 0.45rem; break-inside: avoid; }
.stm-foot a { color: var(--stm-ground); }
.stm-foot a[aria-current="page"] { font-weight: 700; }

/* ------------------------------------------------------------- motion */

.js .stm-rev { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .stm-rev.is-in { opacity: 1; transform: none; }
.js .stm-time.stm-rev { transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js .stm-rev, .js .stm-rev.is-in { opacity: 1; transform: none; transition: none; }
	.js .stm-time.stm-rev::after { transform: scaleY(1); transition: none; }
	.stm-head, .stm-btn, .stm-cta { transition: none; }
}

/* -------------------------------------------------------- breakpoints */

@media (max-width: 1000px) {
	.stm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.stm-open-grid, .stm-fund-grid, .stm-split, .stm-split-media, .stm-split-media-r { grid-template-columns: minmax(0, 1fr); }
	.stm-fund-grid { align-items: start; }
	.stm-ways { grid-template-columns: minmax(0, 1fr); }
	.stm-foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.stm-foot-id { grid-column: 1 / -1; }
	.stm-split-media .stm-portrait { max-width: 26rem; }
}
@media (max-width: 620px) {
	.stm-list { grid-template-columns: minmax(0, 1fr); }
	.stm-sched > div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
	.stm-foot-in { grid-template-columns: minmax(0, 1fr); }
	.stm-map iframe { aspect-ratio: 4 / 3; }
}
