/* mtc Block Theme — neutral base + block styles. Replace freely per project. */
:root {
	--mtc-max: 1200px;
	--mtc-gap: clamp(1rem, 3vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--wp--preset--color--primary, #2f6feb); }

.mtc-container { max-width: var(--mtc-max); margin-inline: auto; padding-inline: var(--mtc-gap); }

/* Header */
.mtc-header { position: sticky; top: 0; z-index: 50; background: var(--wp--preset--color--base, #fff); border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb); transition: box-shadow .2s ease; }
.mtc-header.is-scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.mtc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: var(--mtc-max); margin-inline: auto; padding: 1rem var(--mtc-gap); }
.mtc-header__brand a, .mtc-header__title { font-weight: 700; font-size: 1.125rem; text-decoration: none; color: var(--wp--preset--color--contrast, #16181d); }
.mtc-header__nav { display: flex; gap: 1.25rem; }
.mtc-header__link { text-decoration: none; color: var(--wp--preset--color--contrast, #16181d); }
.mtc-header__link:hover { color: var(--wp--preset--color--primary, #2f6feb); }
.mtc-header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.mtc-header__burger span { width: 24px; height: 2px; background: var(--wp--preset--color--contrast, #16181d); }
@media (max-width: 782px) {
	.mtc-header__nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; background: var(--wp--preset--color--base, #fff); padding: 1rem var(--mtc-gap); border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb); display: none; }
	.mtc-header.is-open .mtc-header__nav { display: flex; }
	.mtc-header__burger { display: flex; }
}

/* Footer */
.mtc-footer { background: var(--wp--preset--color--contrast, #16181d); color: #fff; margin-top: 4rem; }
.mtc-footer__inner { max-width: var(--mtc-max); margin-inline: auto; padding: 3rem var(--mtc-gap); display: grid; gap: 2rem; }
.mtc-footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.mtc-footer__nav a { color: #fff; text-decoration: none; opacity: .85; }
.mtc-footer__nav a:hover { opacity: 1; }
.mtc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; font-size: .875rem; opacity: .8; }
.mtc-footer__credit a { color: #fff; }

/* Section heading (static block) */
.mtc-section-heading { max-width: var(--mtc-max); margin-inline: auto; padding: 2.5rem var(--mtc-gap) 0; }
.mtc-section-heading__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; font-weight: 600; color: var(--wp--preset--color--primary, #2f6feb); margin: 0 0 .5rem; }
.mtc-section-heading__title { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.mtc-section-heading__subtitle { margin: .75rem 0 0; color: var(--wp--preset--color--muted, #6b7280); max-width: 60ch; }

/* CTA band (dynamic block) */
.mtc-cta { background: var(--wp--preset--color--primary, #2f6feb); color: #fff; margin-top: 3rem; }
.mtc-cta__inner { max-width: var(--mtc-max); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--mtc-gap); text-align: center; }
.mtc-cta__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; font-weight: 600; opacity: .9; margin: 0 0 .75rem; }
.mtc-cta__title { margin: 0; font-size: clamp(1.75rem, 5vw, 3rem); }
.mtc-cta__body { margin: 1rem auto 2rem; max-width: 52ch; opacity: .95; }
.mtc-button { display: inline-block; background: #fff; color: var(--wp--preset--color--primary, #2f6feb); font-weight: 600; text-decoration: none; padding: .85rem 1.75rem; border-radius: 999px; }
.mtc-button:hover { background: var(--wp--preset--color--surface, #f7f7f8); }
