/*
Theme Name: Magnolia Combo
Description: Child theme of Twenty Twenty-Five for the Magnolia Combo jazz band. Black and white, editorial, video-led.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: magnolia-combo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ---------- Type helpers ---------- */
.mc-wordmark {
	line-height: 0.92;
	letter-spacing: -0.01em;
	margin-block: 0;
}
.mc-wordmark em {
	font-style: italic;
	font-weight: 400;
}
.mc-eyebrow {
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin: 0;
}
.mc-lead {
	max-width: 30rem;
}
.mc-song {
	font-style: italic;
	font-weight: 500;
	margin: 0;
}
.mc-section > * + * {
	margin-block-start: var(--wp--preset--spacing--60);
}

/* ---------- Section chrome ---------- */
.mc-bordered {
	border-top: 1px solid var(--wp--preset--color--accent-4);
	border-bottom: 1px solid var(--wp--preset--color--accent-4);
}
.mc-hero-columns {
	gap: var(--wp--preset--spacing--60);
}

/* ---------- Black and white media ----------
   Any image or video dropped into these classes is rendered in greyscale,
   even if the original file is in colour. */
.mc-hero-photo,
.mc-video {
	margin: 0;
}
.mc-hero-photo img,
.mc-video video {
	display: block;
	width: 100%;
	background: var(--wp--preset--color--accent-6);
	filter: grayscale(1) contrast(1.05);
}
.mc-video video {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.mc-video-card > * {
	margin-block: 0;
}
.mc-video-card > * + * {
	margin-block-start: 1rem;
}

/* ---------- Header and footer ---------- */
header {
	position: sticky;
	top: 0;
	background: var(--wp--preset--color--base);
	z-index: 999;
}

.mc-header-row {
	padding-bottom: 1.5rem;
}
.mc-brand a {
	text-decoration: none;
}
.mc-nav .wp-block-navigation-item__content {
	padding-block: 0.75rem;
}
.mc-nav .mc-nav-cta .wp-block-navigation-item__content {
	padding: 0.75rem 1.4rem;
	border: 1px solid var(--wp--preset--color--accent-3);
}
.mc-nav .mc-nav-cta .wp-block-navigation-item__content:hover {
	border-color: var(--wp--preset--color--accent-5);
}

/* ---------- Buttons ---------- */
.wp-element-button:hover {
	opacity: 0.85;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--accent-3);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	opacity: 1;
	border-color: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--accent-5);
}

.has-contrast-background-color .wp-block-paragraph a {
	& {
		color: inherit !important;
	};
}

.has-large-font-size {
	font-size: 1.75rem !important;
	line-height: 1.2;
}