/* ==========================================================================
   St. Mary School German Village – theme styles
   Reproduces the original Elementor design: navy #0C004D, plum #231942,
   gold #FCD500, Libre Baskerville headings, Libre Franklin / Hind body text.
   ========================================================================== */
:root {
	--sm-navy: #0c004d;
	--sm-plum: #231942;
	--sm-night: #07002a;
	--sm-gold: #fcd500;
	--sm-ink: #252930;
	--sm-body: #727982;
	--sm-gray: #f9f9f9;
	--sm-cream: #f8f3ef;
	--sm-line: rgba(99, 115, 129, 0.34);
	--sm-serif: "Libre Baskerville", Georgia, serif;
	--sm-sans: "Libre Franklin", system-ui, sans-serif;
	--sm-hind: "Hind", system-ui, sans-serif;
	--sm-karla: "Karla", system-ui, sans-serif;
	--sm-wide: 1320px;
	--sm-header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sm-sans); font-size: 17px; line-height: 1.5; color: var(--sm-body); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--sm-navy); }
.screen-reader-text, .sm-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sm-skip:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; background: #fff; padding: 12px 18px; }

h1, h2, h3 { color: var(--sm-navy); font-family: var(--sm-sans); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; }
h4, h5, h6 { color: var(--sm-plum); font-family: var(--sm-sans); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: 55px; } h2 { font-size: 45px; } h3 { font-size: 35px; } h4 { font-size: 25px; } h5 { font-size: 20px; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.sm-header { position: sticky; top: 0; z-index: 50; background: var(--sm-gray); min-height: var(--sm-header-h); }
.sm-header__inner { max-width: var(--sm-wide); margin: 0 auto; padding: 0 30px; min-height: var(--sm-header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sm-header__logo img { display: block; width: 91px; height: 53px; object-fit: contain; }
.sm-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.sm-menu, .sm-menu ul { list-style: none; margin: 0; padding: 0; }
.sm-menu { display: flex; align-items: center; gap: 40px; }
.sm-menu > li { position: relative; }
.sm-menu a { display: block; font-family: "Roboto", sans-serif; font-size: 16px; font-weight: 300; letter-spacing: -0.45px; line-height: 24px; text-transform: capitalize; color: #000; text-decoration: none; padding: 4px 10px; }
.sm-menu > li.current-menu-item > a, .sm-menu > li.current-menu-ancestor > a, .sm-menu > li.current-menu-parent > a { background: var(--sm-cream); }
.sm-menu > li > a:hover { background: var(--sm-cream); }
.sm-has-sub > a::after { content: ""; display: inline-block; margin-left: 14px; border: 5px solid transparent; border-top: 6px solid currentColor; border-bottom: 0; vertical-align: middle; }
.sm-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); margin-top: 22px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.sm-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.sm-menu > li:hover > .sub-menu, .sm-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sm-menu .sub-menu a { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; padding: 12px 18px; white-space: normal; }
.sm-menu .sub-menu a:hover { background: #000; color: #fff; }
.sm-btn.sm-header__cta-m { display: none; }
.sm-nav-toggle { display: none; background: none; border: 1px solid #000; padding: 10px; cursor: pointer; }
.sm-nav-toggle__bar { display: block; width: 22px; height: 2px; background: #000; margin: 4px 0; }

/* ---------- Buttons ---------- */
.sm-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.sm-btn--navy { background: var(--sm-navy); color: #fff; font: 300 14px/1.3 "Roboto", sans-serif; text-transform: uppercase; letter-spacing: 1.53px; padding: 15px 20px; border-radius: 0; }
.sm-btn--navy:hover { background: transparent; color: #000; border-color: #000; }
.sm-btn--white { background: #fff; color: var(--sm-ink); font: 700 12px/1.3 var(--sm-karla); text-transform: uppercase; letter-spacing: 1.5px; padding: 22px 49px; }
.sm-btn--white:hover { background: var(--sm-navy); color: #fff; }
.sm-btn--dark, .is-style-sm-dark .wp-block-button__link { background: #252930; color: #fff; font: 700 12px/1.3 var(--sm-karla); text-transform: uppercase; letter-spacing: 1.5px; padding: 22px 49px; border-radius: 0; }
.sm-btn--dark:hover, .is-style-sm-dark .wp-block-button__link:hover { background: var(--sm-navy); color: #fff; }
.sm-btn--navy-round { background: var(--sm-navy); color: #fff; font: 600 16px/1.3 var(--sm-sans); padding: 15px 35px; border-radius: 10px; border: 1px solid #fff; }
.sm-btn--navy-round:hover { background: #fff; color: var(--sm-navy); border-color: var(--sm-navy); }
.sm-btn--navy-pill { background: var(--sm-navy); color: #fff; font: 400 16px/1 "Poppins", sans-serif; padding: 15px 55px; border-radius: 50px; border: 1px solid var(--sm-gold); }
.sm-btn--navy-pill:hover { background: #fff; color: var(--sm-navy); }
.is-style-sm-navy .wp-block-button__link, .wp-block-button.sm-btn-navy .wp-block-button__link { background: #142b5c; color: #fff; font: 600 16px/1.3 var(--sm-sans); text-transform: uppercase; padding: 15px 35px; border-radius: 3px; }
.is-style-sm-navy .wp-block-button__link:hover { background: var(--sm-navy); }
.is-style-sm-outline-white .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #fff; font: 700 14px/1.3 var(--sm-karla); padding: 18px 40px; border-radius: 3px; }
.is-style-sm-outline-white .wp-block-button__link:hover { background: var(--sm-plum); border-color: var(--sm-plum); }
.is-style-sm-primary .wp-block-button__link { background: var(--sm-navy); color: #fff; font: 700 14px/1.3 var(--sm-karla); padding: 18px 40px; border-radius: 3px; border: 1px solid var(--sm-navy); }

/* ---------- Hero ---------- */
.sm-hero { position: relative; background: var(--sm-plum) center / cover no-repeat; color: #fff; overflow: hidden; }
.sm-hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.sm-hero__inner { position: relative; max-width: var(--sm-wide); margin: 0 auto; }
.sm-hero--inner { padding: 100px 30px; }
.sm-hero--inner .sm-hero__overlay { background-image: linear-gradient(90deg, var(--sm-plum) 50%, rgba(255,255,255,0) 100%); opacity: .8; }
.sm-hero--inner .sm-hero__inner { display: flex; align-items: flex-start; gap: 30px; }
.sm-hero--inner .sm-hero__text { flex: 0 0 50%; max-width: 50%; padding-right: 30px; }
.sm-hero--inner .sm-hero__side { flex: 1; display: flex; justify-content: flex-end; }
.sm-hero--inner .sm-hero__side img { display: block; width: 100%; max-width: 630px; border-radius: 10px; }
.sm-hero--inner .sm-hero__title { font-family: var(--sm-serif); font-size: 49px; font-weight: 700; text-transform: capitalize; line-height: 1.3; color: #fff; margin: 0 0 20px; }
.sm-hero--inner .sm-hero__sub { font-family: var(--sm-sans); font-size: 18px; font-weight: 500; font-style: italic; line-height: 1.3; color: rgba(255,255,255,.83); margin: 0; }
.sm-crumb { margin-bottom: 20px; }
.sm-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 12px; font: 500 14px/1.5 var(--sm-sans); text-transform: uppercase; letter-spacing: 2.4px; color: #fff; }
.sm-crumb a { color: #fff; text-decoration: none; }
.sm-crumb li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-top: 2px solid var(--sm-gold); border-right: 2px solid var(--sm-gold); transform: rotate(45deg); margin: 0 14px 1px 0; }

.sm-hero--centered { padding: 140px 30px; text-align: center; }
.sm-hero--centered .sm-hero__overlay { background: rgba(7, 0, 42, .55); }
.sm-hero--centered .sm-hero__inner { max-width: 800px; }
.sm-hero__eyebrow { font: 700 16px/1.5 var(--sm-karla); letter-spacing: 3px; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.sm-hero--centered .sm-hero__title { font-family: var(--sm-serif); font-size: 60px; font-weight: 700; text-transform: uppercase; color: #fff; margin: 0 0 30px; }
.sm-hero--centered .sm-hero__sub { font: 400 18px/1.45 var(--sm-hind); color: #fff; margin: 0 0 40px; }

.sm-hero--light { padding: 200px 30px; text-align: center; }
.sm-hero--light .sm-hero__overlay { background: rgba(255,255,255,.62); }
.sm-hero--light .sm-hero__inner { max-width: 860px; }
.sm-hero--light .sm-hero__eyebrow { font: 300 16px/1.5 "Poppins", sans-serif; letter-spacing: 8px; color: var(--sm-plum); }
.sm-hero--light .sm-hero__title { font-family: var(--sm-serif); font-size: 60px; font-weight: 700; text-transform: uppercase; color: var(--sm-plum); }
.sm-hero--light .sm-hero__sub { font: 400 22px/1.5 "Poppins", sans-serif; color: var(--sm-night); margin: 0 0 30px; }

/* ---------- Content sections (block editor) ---------- */
.sm-entry { overflow-x: clip; }
.sm-entry > .wp-block-group, .sm-entry > .wp-block-cover { margin: 0; }
.sm-section { padding: 100px 30px; background: #fff; }
.sm-section--gray { background: var(--sm-gray); }
.sm-section--plum { background: var(--sm-plum); color: #fff; }
.sm-section > .wp-block-group__inner-container { max-width: none; margin: 0; padding: 0; }
.sm-section > *:not(.wp-block-group__inner-container), .sm-section > .wp-block-group__inner-container > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.sm-section .sm-wide, .sm-section .alignwide { max-width: 1140px; }
.sm-section .sm-wider { max-width: 1320px; }
.sm-section.sm-compact { padding-top: 40px; }

.sm-eyebrow, .wp-block-paragraph.sm-eyebrow { font: 700 16px/26px var(--sm-karla); text-transform: uppercase; letter-spacing: 1.6px; color: rgba(99,115,129,.5); text-align: center; margin: 0 auto 8px; }
.sm-title, h2.sm-title { font-family: var(--sm-serif); font-size: 60px; font-weight: 700; line-height: 1.3; color: var(--sm-ink); text-align: center; margin: 0 auto 0; text-transform: capitalize; }
.sm-title--caps, h2.sm-title--caps { text-transform: uppercase; }
.sm-title--regular { font-weight: 400; line-height: 72px; font-size: 62px; text-transform: capitalize; }
.sm-title--prata { font-family: "Prata", serif; font-weight: 400; }
.sm-title--upper { text-transform: uppercase; font-size: 40px; }
.sm-title--blue { color: var(--sm-navy); }
.wp-block-separator.sm-divider, hr.sm-divider { width: 70px; max-width: 70px; border: 0; border-top: 1.8px solid var(--sm-line); margin: 14px auto 40px; opacity: 1; background: none; }
.sm-divider--gold { border-top-color: var(--sm-gold) !important; }
.sm-text, .sm-section p, .sm-section li { font-family: var(--sm-hind); font-size: 15px; line-height: 26px; color: var(--sm-body); }
.sm-section a:not(.wp-block-button__link):not(.sm-btn) { color: var(--sm-gold); text-decoration: none; }
.sm-section a:not(.wp-block-button__link):not(.sm-btn):hover { text-decoration: underline; }
.sm-section--plum p, .sm-section--plum li { color: rgba(255,255,255,.85); }
.sm-section strong, .sm-section b { font-weight: 600; }
.sm-center { text-align: center; }
.sm-section .wp-block-buttons { justify-content: center; margin-top: 30px; }
.sm-section .wp-block-image img { border-radius: 10px; display: block; }
.sm-section .wp-block-image.sm-logo img { border-radius: 0; }
.sm-section .wp-block-columns { gap: 40px; align-items: center !important; margin-bottom: 0; }
.sm-section .wp-block-columns.sm-cards { margin-bottom: 40px; align-items: stretch !important; }
.sm-section .wp-block-columns.sm-cards--giving { margin-bottom: 0; }
.sm-pb-0 { padding-bottom: 0 !important; } .sm-pt-0 { padding-top: 0 !important; }
.sm-section .wp-block-column > :last-child { margin-bottom: 0; }

/* Large-copy variant (giving / catholic focus long pages) */
.sm-long > *:not(.wp-block-group__inner-container), .sm-long > .wp-block-group__inner-container > * { max-width: 1140px; }
.sm-long h2 { font-family: var(--sm-sans); font-size: 45px; font-weight: 700; color: var(--sm-navy); text-align: left; margin: 30px 0 14px; }
.sm-long h3 { font-family: var(--sm-sans); font-size: 35px; font-weight: 700; color: var(--sm-navy); margin: 30px 0 14px; }
.sm-long p, .sm-long li { font-family: var(--sm-sans); font-size: 17px; line-height: 1.5; color: #7f7f7f; }
.sm-long ul { padding-left: 40px; }

/* Cards with the school's icons (core values, admissions, giving) */
.sm-cards { gap: 40px !important; align-items: stretch !important; }
.sm-cards .wp-block-column { background: #fff; border: 1px solid #ececec; padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.sm-cards .wp-block-image { margin: 0 0 6px; }
.sm-cards .wp-block-image img { border-radius: 0; margin: 0 auto; width: 190px; height: 190px; object-fit: contain; }
.sm-cards h3 { font-family: "Prata", serif; font-weight: 400; font-size: 24px; overflow-wrap: normal; hyphens: none; color: var(--sm-ink); text-align: center; margin: 0; }
.sm-cards--giving .wp-block-image img { width: 100px; height: 100px; }
.sm-cards--giving h3 { font-family: var(--sm-sans); font-weight: 700; color: #142b5c; font-size: 26px; margin: 12px 0 28px; }
.sm-cards--giving .wp-block-buttons { margin-top: auto; }

/* Photo with overlapping card (home) */
.sm-feature { padding: 100px 30px; }
.sm-feature .sm-feature-cols, .sm-feature > .wp-block-columns, .sm-feature > .wp-block-group__inner-container > .wp-block-columns { max-width: var(--sm-wide); margin: 0 auto; }
.sm-photo-wrap { position: relative; }
.sm-feature__card { background: var(--sm-plum); border-radius: 10px; padding: 50px; color: #fff; position: absolute; left: 0; bottom: 0; width: 65%; margin: 0; }
.sm-feature__card h4 { color: #fff; font-size: 25px; text-transform: capitalize; }
.sm-section .sm-mission, .sm-mission { font: 400 17px/1.5 var(--sm-sans); color: #54595f; }
.sm-mission::before { content: "\201C"; display: block; font: 700 100px/0.8 var(--sm-serif); color: var(--sm-navy); height: 56px; margin: 0 0 10px; }
.sm-section .sm-mission-by { font: 700 17px/1.5 var(--sm-sans); color: #3a3f46; }
.sm-feature__card p { color: rgba(255,255,255,.83); font-family: var(--sm-sans); font-size: 17px; margin: 0; }
.sm-feature .sm-photo img { width: 80%; margin-left: auto; display: block; }
.sm-feature h2 { font-family: var(--sm-serif); font-size: 39px; text-transform: uppercase; color: var(--sm-navy); }
.sm-feature .sm-quote { border-left: 5px solid var(--sm-gold); padding: 0 0 0 35px; margin: 0 0 30px; font: italic 500 15px/1.5 var(--sm-sans); color: #7f7f7f; }
.sm-values { list-style: none; padding: 0; margin: 0; }
.sm-values li { display: flex; align-items: center; gap: 20px; font: 700 21px/1.3 var(--sm-sans); color: var(--sm-navy); padding: 10px 0; }
.sm-values img { width: 40px; height: 40px; }

/* Home hero & band (cover blocks) */
.sm-home-hero.wp-block-cover { min-height: 0; padding: 150px 30px; align-items: center; justify-content: flex-start; }
.sm-home-hero .wp-block-cover__inner-container { max-width: var(--sm-wide); width: 100%; margin: 0 auto; }
.sm-home-hero h1 { font-family: var(--sm-serif); font-size: 50px; font-weight: 500; text-transform: capitalize; color: #fff; margin: 0; }
.sm-home-hero .sm-gold-label { font: 700 12px/1.5 var(--sm-karla); letter-spacing: 3px; text-transform: uppercase; color: var(--sm-gold); margin: 12px 0 30px; }
.sm-home-hero p.sm-tagline { color: rgba(255,255,255,.83); font-size: 17px; margin-bottom: 30px; }
.sm-home-hero .wp-block-buttons { justify-content: flex-start; gap: 20px; }
.sm-band.wp-block-cover { min-height: 400px; padding: 100px 30px; text-align: center; }
.sm-band h2 { font-family: var(--sm-serif); font-size: 32px; font-weight: 400; color: #fff; line-height: 1.3; text-transform: capitalize; }
.sm-band .wp-block-cover__inner-container { max-width: 800px; margin: 0 auto; }
.sm-band .wp-block-buttons { justify-content: center; }
.sm-band .wp-block-button__link { background: var(--sm-navy); color: #fff; font: 700 14px/1.3 var(--sm-karla); padding: 18px 40px; border-radius: 3px; }

/* Quote band (rooted) */
.sm-quoteband { background-color: var(--sm-plum); color: #fff; text-align: center; padding: 100px 30px; }
.sm-quoteband h3 { font-family: var(--sm-serif); font-size: 26px; line-height: 1.3; font-weight: 700; color: #fff; max-width: 680px; margin: 0 auto 14px; }
.sm-quoteband p { font: 400 16px/1.5 "Poppins", sans-serif; color: #fff; text-transform: uppercase; }
.sm-entry > .sm-rooted-gallery, .sm-rooted-gallery { max-width: 1140px; margin: 15px auto; padding: 0 30px; }
.sm-rooted-gallery .wp-block-gallery { display: flex !important; flex-wrap: nowrap !important; gap: 0 !important; overflow-x: auto; scroll-snap-type: x mandatory; }
.sm-rooted-gallery .wp-block-gallery .wp-block-image { flex: 0 0 100% !important; width: 100% !important; scroll-snap-align: start; margin: 0; }
.sm-rooted-gallery .wp-block-gallery img { width: 100%; height: auto; display: block; border-radius: 0; }

/* Admissions timeline & lists */
.sm-timeline p { margin-bottom: 14px; }

/* ---------- Faculty ---------- */
.sm-principal { max-width: 1140px; margin: 0 auto; padding: 100px 30px; display: flex; align-items: center; gap: 60px; }
.sm-principal__photo { flex: 0 0 400px; max-width: 400px; box-shadow: 0 0 60px rgba(12,0,77,.12); }
.sm-principal__photo img { display: block; width: 100%; height: auto; }
.sm-principal h2 { font-family: var(--sm-serif); font-size: 60px; color: #142b5c; margin: 0 0 20px; }
.sm-principal__role { font: 400 20px/1.5 "Open Sans", var(--sm-sans); color: #7f7f7f; margin: 0 0 30px; }
.sm-faculty { max-width: 1140px; margin: 0 auto; padding: 40px 30px 100px; }
.sm-faculty__title { font-family: var(--sm-serif); font-size: 55px; text-align: center; color: var(--sm-navy); margin: 0 0 70px; }
.sm-faculty__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 120px 60px; }
.sm-faculty__card { text-align: center; }
.sm-faculty__photo { display: block; width: 233px; margin: 0 auto 30px; }
.sm-faculty__photo img { display: block; width: 233px; height: 350px; object-fit: cover; object-position: top; border-radius: 10px; }
.sm-faculty__photo img.sm-faculty__placeholder { object-fit: contain; background: var(--sm-gray); padding: 20px; }
.sm-faculty__name { font: 700 22px/1.3 var(--sm-sans); color: var(--sm-navy); margin: 0 0 12px; }
.sm-faculty__role { color: #7f7f7f; font-size: 17px; margin: 0 0 14px; }
.sm-person { max-width: 1140px; margin: 0 auto; padding: 90px 30px; display: flex; gap: 90px; align-items: flex-start; }
.sm-person__photo { flex: 0 0 414px; max-width: 414px; box-shadow: 0 20px 60px rgba(0,0,0,.18); border-radius: 10px; overflow: hidden; }
.sm-person__photo img { display: block; width: 100%; height: auto; }
.sm-person__name { font-family: var(--sm-serif); font-size: 49px; color: #000; margin: 40px 0 10px; }
.sm-person__role { font: 400 20px/1.5 var(--sm-serif); letter-spacing: 6px; text-transform: uppercase; color: #8e8e93; margin: 0 0 50px; }
.sm-person__bio p { font: 400 16px/2 var(--sm-sans); letter-spacing: 3px; color: #54595f; margin: 0 0 14px; }
.sm-person__body .sm-btn { margin-top: 50px; border-radius: 50px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 15px 40px; }

/* ---------- Contact form ---------- */
.sm-form { display: grid; gap: 15px; }
.sm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 640px) { .sm-form__row { grid-template-columns: 1fr; } }
.sm-form label { display: block; }
.sm-form input, .sm-form textarea { width: 100%; background: #f5f6f8; border: 1px solid #eaecef; border-radius: 0; padding: 22px 14px; font: 400 15px/1.2 var(--sm-hind); color: #4b5156; }
.sm-form input::placeholder, .sm-form textarea::placeholder { color: #9aa0a6; }
.sm-form input:focus, .sm-form textarea:focus { outline: 2px solid var(--sm-navy); outline-offset: 0; background: #fff; }
.sm-form__hp { position: absolute !important; left: -9999px; height: 0; width: 0; opacity: 0; }
.sm-form__submit { background: #252930; color: #fff; border: 0; padding: 22px; font: 700 12px/1.3 var(--sm-karla); letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: background .3s; }
.sm-form__submit:hover { background: var(--sm-navy); }
.sm-form__status { margin: 0; min-height: 1.5em; font: 500 15px/1.5 var(--sm-sans); }
.sm-form__status.is-ok { color: #1b6e3b; } .sm-form__status.is-error { color: #a12622; }
.sm-contact h3 { font-family: "Prata", serif; font-weight: 400; font-size: 31px; color: var(--sm-ink); text-align: left; margin: 0 0 24px; }
.sm-contact p { text-align: left; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.sm-footer { background: var(--sm-gray); padding-top: 100px; color: #7f7f7f; }
.sm-footer__inner { max-width: var(--sm-wide); margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.sm-footer__brand img { display: block; width: 240px; height: auto; margin-bottom: 20px; }
.sm-footer__tagline { font-size: 16px; max-width: 360px; }
.sm-footer__address { font-style: normal; display: grid; gap: 6px; font-size: 16px; margin-top: 24px; }
.sm-footer__heading { font: 700 25px/1.3 var(--sm-sans); color: var(--sm-plum); margin-bottom: 28px; }
.sm-footer__links { list-style: none; margin: 0; padding: 0; }
.sm-footer__links li { margin-bottom: 14px; }
.sm-footer__links a { position: relative; display: inline-block; padding-left: 30px; font-size: 17px; color: #7f7f7f; text-decoration: none; }
.sm-footer__links a::before { content: ""; position: absolute; left: 4px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 8px solid var(--sm-gold); border-right: 0; }
.sm-footer__col:last-child .sm-footer__links a::before { border-left-color: var(--sm-navy); }
.sm-footer__links a:hover { color: var(--sm-navy); }
.sm-footer__notice { max-width: var(--sm-wide); margin: 50px auto 0; padding: 0 30px; text-align: center; font-size: 16px; color: #7f7f7f; }
.sm-footer__bar { max-width: var(--sm-wide); margin: 50px auto 0; padding: 30px 30px 40px; border-top: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.sm-footer__bar p { margin: 0; font-size: 14px; }
.sm-footer__bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sm-footer__bar a:hover { color: var(--sm-navy); }
.sm-footer__sep { margin: 0 8px; opacity: .5; }
.sm-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.sm-social a { display: grid; place-items: center; width: 36px; height: 36px; background: var(--sm-gold); color: var(--sm-navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	h1 { font-size: 42px; } h2 { font-size: 36px; }
	.sm-header__inner { padding: 0 20px; }
	.sm-btn.sm-header__cta-m { display: inline-flex; margin-left: auto; padding: 10px 14px; font-size: 12px; letter-spacing: 1.2px; }
	.sm-nav-toggle { display: block; margin-left: 12px; }
	.sm-nav .sm-btn.sm-header__cta { display: none; }
	.sm-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.12); display: none; max-height: calc(100vh - var(--sm-header-h)); overflow: auto; }
	.sm-nav.is-open { display: flex; }
	.sm-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sm-menu a { padding: 12px 10px; }
	.sm-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 0; padding-left: 14px; min-width: 0; display: none; }
	.sm-menu .sub-menu::before { display: none; }
	.sm-menu li.is-open > .sub-menu { display: block; }
	.sm-nav .sm-header__cta { margin-top: 16px; align-self: flex-start; }
	.sm-hero--inner .sm-hero__inner { flex-direction: column; align-items: flex-start; }
	.sm-hero--inner .sm-hero__text { flex: none; max-width: 100%; padding-right: 0; }
	.sm-hero--inner .sm-hero__side { width: 100%; justify-content: flex-start; }
	.sm-hero--inner .sm-hero__overlay { background-image: linear-gradient(90deg, var(--sm-plum) 80%, rgba(255,255,255,0) 100%); }
	.sm-hero--centered .sm-hero__title, .sm-hero--light .sm-hero__title, .sm-title { font-size: 40px; line-height: 1.25; }
	.sm-title--regular { font-size: 40px; line-height: 1.25; }
	.sm-principal { flex-direction: column; text-align: center; padding: 60px 20px; }
	.sm-principal__photo { flex: none; max-width: 400px; }
	.sm-faculty__grid { grid-template-columns: repeat(2, 1fr); gap: 60px 30px; }
	.sm-person { flex-direction: column; gap: 30px; padding: 60px 20px; }
	.sm-person__photo { flex: none; }
	.sm-feature__card { position: relative; width: 88%; margin-top: -60px; padding: 30px; }
	.sm-footer__inner { grid-template-columns: 1fr 1fr; }
	.sm-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.sm-section { padding: 60px 20px; }
	.sm-hero--inner { padding: 60px 20px; }
	.sm-hero--inner .sm-hero__title { font-size: 34px; }
	.sm-hero--centered { padding: 80px 20px; }
	.sm-hero--light { padding: 100px 20px; }
	.sm-hero--centered .sm-hero__title, .sm-hero--light .sm-hero__title, .sm-title { font-size: 32px; }
	.sm-cards { gap: 20px !important; }
	.sm-faculty__grid { grid-template-columns: 1fr; }
	.sm-footer__inner { grid-template-columns: 1fr; }
	.sm-footer__bar { flex-direction: column; text-align: center; }
	.sm-home-hero.wp-block-cover { padding: 100px 20px; min-height: 520px; }
	.sm-home-hero h1 { font-size: 38px; }
	.sm-person__bio p { letter-spacing: 1px; }
}
