/* Native site styles, maintained independently of theme.css. */
/* Consistent typography and quiet spacing across the preview. */
main p, main li, main address, main figcaption { font-family: var(--font-sans), sans-serif; }
main p :is(span,em,strong,a), main li :is(span,em,strong,a) { font-family: inherit !important; }
main .section-heading > p:last-child:not(.eyebrow) { margin-top: 16px; line-height: 1.7; }
main .news-card { display: flex; flex-direction: column; border-radius: 12px; }
main .news-card .news-body { flex: 1; }
main .news-card .card-link { margin-top: auto; }
main .recheis-page { font-family: var(--font-sans), sans-serif; }
.recheis-page .recheis-portrait figcaption { margin-top: 10px; color: #42596a; font-size: 12px; line-height: 1.5; text-align: right; }
.recheis-page .recheis-intro .eyebrow { color: #194c75; }
.recheis-page .recheis-values h2 { color: #fff; margin-bottom: 20px; }
.recheis-page .recheis-copy p + p { margin-top: 1em; }
.recheis-page .recheis-school h2 { font-family: var(--font-sans); font-size: clamp(26px,3vw,36px); line-height: 1.3; }
.recheis-page .recheis-school p:not(.eyebrow) { font-family: var(--font-sans); font-size: 17px; line-height: 1.75; font-weight: 400; color: #42596a; max-width: 800px; }
.mobile-nav .mobile-nav-label { padding-top: 16px; font-size: 12px; letter-spacing: .08em; font-weight: 700; color: #42596a; }
@media(max-width:650px) { main .news-image { aspect-ratio: 4/3; } }

/* Canva presentation frames: remove this block to restore the previous frame styling. */
.canva-presentation { margin-block: 36px; border: 1px solid #cbdde8; border-radius: 14px; background: #f0f6fa; overflow: hidden; }
.canva-presentation-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; }
main .canva-presentation-bar h2 { margin: 0; font: 650 26px/1.25 var(--font-serif); color: #153f62; }
.canva-presentation-bar a { display: inline-block; padding: 10px 16px; border: 1px solid #194c75; border-radius: 24px; color: #194c75; font-size: 14px; text-decoration: none; }
.canva-presentation-bar a:hover { background: #194c75; color: #fff; }
.canva-presentation-content { background: #fff; }
.canva-presentation-content > div:first-child { margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.canva-presentation-content > div > br { display: none; }
main .canva-presentation-hint { margin: 0; padding: 16px 26px; font-size: 14px; line-height: 1.6; color: #42596a; }
@media(max-width:650px) {
 .canva-presentation-bar { padding: 18px; gap: 14px; }
 main .canva-presentation-bar h2 { font-size: 23px; }
 main .canva-presentation-hint { padding: 14px 18px; }
}
/* End Canva presentation frames. */
main p { text-wrap: pretty; white-space: normal; }
main h1, main h2, main h3 { text-wrap: balance; }
.content-prose p:empty { display: none; }
html { box-sizing: border-box; line-height: 1.5; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; }
.site-header, main, .site-footer { font-family: var(--font-sans, sans-serif); }
.site-header a, main a, .site-footer a { color: inherit; }
main h1, main h2, main h3, main p, main figure, main blockquote { margin: 0; }
main h1, main h2, main h3 { font-size: inherit; font-weight: inherit; }
main img, .site-header img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:root {
	--color-primary: #194c75;
	--color-primary-50: #f0f6fa;
	--color-primary-100: #dceaf3;
	--color-primary-500: #2b6f9f;
	--color-primary-600: #194c75;
	--color-primary-700: #153f62;
	--color-primary-900: #0d2d47;
	--color-secondary: #2b9acb;
	--color-secondary-50: #f1f9fc;
	--color-secondary-100: #dff2f9;
	--color-secondary-200: #bee5f3;
	--color-secondary-300: #91d1e9;
	--color-secondary-500: #45add4;
	--color-secondary-600: #2b9acb;
	--color-secondary-700: #247da5;
	--color-secondary-900: #17516c;
	--color-neutral: #17232c;
	--color-background: #fbfdff;
	--color-accent: #2b9acb;
	--color-moss: #6d91aa;
	--font-sans: "Manrope", sans-serif;
	--font-serif: "Newsreader", serif;
	--text-sm: .875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.875rem;
	--text-4xl: 2.25rem;
	--text-5xl: 3rem;
}

@media all {
 .student-voice { background: #0d2d47; color: #fff; padding: 72px 0; scroll-margin-top: 24px; }
 .voice-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
 .voice-intro h2 { font-family: var(--font-serif); font-size: clamp(54px,6vw,80px); line-height: .98; letter-spacing: -.035em; margin: 0 0 26px; }
 .voice-intro h2 em { color: #91d1e9; font-weight: 500; }
 .voice-intro > p:last-of-type { font-size: 17px; line-height: 1.75; color: #d4e6f2; max-width: 350px; }
 .voice-intro .eyebrow { color: #91d1e9; }
 .voice-label { display: inline-block; border: 1px solid #668ca8; border-radius: 999px; padding: 8px 16px; font-size: 12px; letter-spacing: .08em; margin-top: 25px; }
 .voice-card { position: relative; margin: 0; padding: 36px 40px; background: #f6fbfe; color: #153f62; border-radius: 16px 16px 16px 0; box-shadow: 10px 10px 0 #24688c; }
 .voice-card::after { content: ""; position: absolute; bottom: -22px; left: 0; border-top: 24px solid #f6fbfe; border-right: 26px solid transparent; }
 .voice-question { padding-bottom: 22px; border-bottom: 1px solid #c5ddea; }
 .voice-question > span { display: block; color: #49667b; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
 .voice-question h3 { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 700; }
 .voice-card blockquote { margin: 25px 0 22px; font-family: var(--font-serif); font-size: clamp(24px,2.5vw,33px); font-weight: 400; font-style: italic; line-height: 1.5; letter-spacing: -.015em; overflow-wrap: anywhere; }
 .voice-card blockquote p::before { content: open-quote; color: #247da5; }
 .voice-card blockquote p::after { content: close-quote; color: #247da5; }
 .voice-card figcaption { font-size: 14px; color: #49667b; }
 .voice-tools { margin-top: 38px; text-align: right; }
 .voice-tools a { color: #c9edff; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; }
 .staff-login { padding-top: 25px; }
 .staff-login a { font-size: 13px; color: #c9edff; text-decoration: underline; text-underline-offset: 4px; }
 .voice-editor-main { padding: 70px 0; }
 .voice-editor-main h1 { font-family: var(--font-serif); color: #153f62; font-size: clamp(36px,5vw,56px); line-height: 1.1; margin-bottom: 20px; }
 .voice-editor-main p { line-height: 1.7; margin-bottom: 20px; }
 .voice-notice { padding: 18px 22px; background: #e7f2f9; border-left: 4px solid #194c75; }
 .voice-notice a { text-decoration: underline; }
 .voice-error { padding: 18px; background: #fff0ed; color: #85240d; border-left: 4px solid #85240d; }
 .voice-form { display: grid; gap: 12px; margin-top: 32px; }
 .voice-form label { margin-top: 18px; font-weight: 700; color: #153f62; }
 .voice-form label span { display: block; margin-top: 5px; font-weight: 400; font-size: 13px; color: #49667b; }
 .voice-form input, .voice-form textarea { width: 100%; max-width: 100%; border: 1px solid #8cabbf; border-radius: 6px; background: #fff; color: #17232c; padding: 14px 16px; font: inherit; line-height: 1.65; }
 .voice-form textarea { resize: vertical; }
 .voice-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 20px; }
 .voice-form-actions button { cursor: pointer; background: #194c75; color: #fff; }
 .voice-form-actions a { text-decoration: underline; }
 .focus-number { margin-bottom: 26px; }
}
@media (max-width: 960px) {
 .voice-layout { grid-template-columns: 1fr; gap: 36px; }
 .voice-intro > p:last-of-type { max-width: 600px; }
 .voice-intro h2 br { display: none; }
}
@media (max-width: 650px) {
 .student-voice { padding: 52px 0 62px; }
 .voice-card { padding: 26px; margin-right: 10px; }
 .voice-intro h2 { font-size: 52px; }
 .voice-card blockquote { font-size: 25px; }
 .voice-editor-main { padding-block: 45px; }
}
@media all {
	html { scroll-behavior: smooth; }
	body { background: var(--color-background); color: var(--color-neutral); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
	a { color: inherit; }
	[x-cloak] { display: none !important; }
}

@media all {
	.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
	.school-strip { background: var(--color-primary-900); color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .02em; }
	.school-strip-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
	.school-strip-links { display: flex; gap: 24px; }
	.school-strip a:hover { color: #fff; }
	.site-header { background: rgba(251,252,250,.96); position: relative; z-index: 50; border-bottom: 1px solid #e4e9e5; }
	.nav-shell { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
	.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
	.brand img { width: 54px; height: 54px; object-fit: contain; }
	.brand-copy { display: grid; line-height: 1.15; }
	.brand-copy strong { font-family: var(--font-serif); font-size: 23px; font-weight: 700; color: var(--color-primary-900); }
	.brand-copy small { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #66756d; margin-top: 5px; }
	.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
	.desktop-nav a { text-decoration: none; position: relative; }
	.desktop-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--color-accent); transition: .25s ease; }
	.desktop-nav a:hover::after { right: 0; }
	.nav-contact { padding: 11px 17px; border: 1px solid var(--color-primary); border-radius: 999px; color: var(--color-primary); }
	.nav-contact:hover { background: var(--color-primary); color: #fff; }
	.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 8px; }
	.menu-toggle span { display: block; height: 2px; background: var(--color-primary-900); margin: 5px 0; }
	.mobile-nav { display: none; border-top: 1px solid #e4e9e5; background: #fff; }
	.mobile-nav .shell { display: grid; padding-block: 14px; }
	.mobile-nav a { padding: 12px 0; text-decoration: none; border-bottom: 1px solid #eef1ee; }

	.hero { min-height: 680px; position: relative; overflow: hidden; color: #fff; display: flex; align-items: stretch; }
	.hero-media { position: absolute; inset: 0; background-image: url('https://www.ms-hoersching.at/wp-content/uploads/2023/07/cropped-tinywow_IMG_0039_30442414-e1690644613949.png'); background-size: cover; background-position: center; transform: scale(1.01); }
	.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,43,.92) 0%, rgba(10,45,56,.76) 44%, rgba(10,45,56,.20) 75%, rgba(10,45,56,.10) 100%), linear-gradient(0deg, rgba(5,25,31,.30), transparent 45%); }
	.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding-block: 95px 60px; }
	.hero-copy { max-width: 720px; }
	.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 750; color: #d7e5df; margin: 0 0 19px; }
	.eyebrow.dark { color: var(--color-primary-600); }
	.hero h1, .section h2 { font-family: var(--font-serif); }
	.hero h1 { font-size: clamp(52px, 7vw, 88px); line-height: .94; font-weight: 650; letter-spacing: -.035em; margin: 0; }
	.hero h1 em { color: #72c7e7; font-weight: 500; }
	.hero-lead { max-width: 650px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.86); margin: 27px 0 0; }
	.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
	.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; text-decoration: none; border-radius: 999px; font-size: 14px; font-weight: 750; transition: .2s ease; }
	.button-primary { background: var(--color-secondary); color: #0d2d47; }
	.button-primary:hover { background: #fff; color: var(--color-primary); transform: translateY(-2px); }
	.button-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
	.button-ghost:hover { background: rgba(255,255,255,.12); }
	.hero-values { margin-top: auto; display: flex; align-items: center; gap: 17px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.78); }
	.hero-values i { width: 26px; height: 1px; background: rgba(255,255,255,.38); }

	.section { padding: 104px 0; }
	.section-focus { background: #f5f7f3; }
	.section-heading { margin-bottom: 42px; }
	.section-heading h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; letter-spacing: -.025em; margin: 0; font-weight: 650; color: #143743; }
	.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
	.split-heading > p { font-size: 17px; line-height: 1.7; color: #5e6c64; margin: 0 0 6px; }
	.focus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
	.focus-card { background: #fff; padding: 28px 25px 26px; min-height: 380px; display: flex; flex-direction: column; text-decoration: none; border: 1px solid #e3e9e4; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
	.focus-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30,57,46,.09); border-color: #cfdbd2; }
	.focus-number { font-size: 11px; letter-spacing: .12em; color: #8a978f; }
	.focus-icon { margin: 38px 0 25px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #eef3ee; }
	.focus-icon svg, .quick-grid svg { width: 24px; height: 24px; fill: none; stroke: var(--color-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
	.focus-card h3 { font-family: var(--font-serif); font-size: 30px; margin: 0 0 12px; color: #163c49; }
	.focus-card p { color: #647169; font-size: 14px; line-height: 1.68; margin: 0; }
	.card-link { margin-top: auto; padding-top: 25px; font-size: 13px; font-weight: 750; color: var(--color-primary); text-decoration: none; }
	.card-link b, .text-link b { color: var(--color-accent); margin-left: 4px; }

	.school-story { background: #fff; }
	.story-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
	.video-frame { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #dfe7e2; }
	.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
	.story-caption { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; margin-top: 14px; color: #758078; }
	.story-copy h2 { font-size: clamp(42px,5vw,64px); line-height: 1.02; color: #133743; margin: 0; }
	.story-lead { color: #5a6860; font-size: 17px; line-height: 1.75; margin: 26px 0 32px; }
	.story-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 20px 0 29px; border-top: 1px solid #e4e9e5; }
	.story-values div { display: grid; gap: 4px; }
	.story-values strong { font-family: var(--font-serif); color: #173d49; font-size: 18px; }
	.story-values span { font-size: 11px; color: #77837b; }
	.text-link { display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; font-weight: 750; color: var(--color-primary); }

	.news-section { background: #f5f7f3; }
	.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
	.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
	.news-card { background: #fff; border: 1px solid #e1e7e2; overflow: hidden; }
	.news-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: #dce5df; }
	.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
	.news-card:hover .news-image img { transform: scale(1.035); }
	.news-body { padding: 24px; display: flex; flex-direction: column; min-height: 260px; }
	.news-date { font-size: 10px !important; text-transform: uppercase; letter-spacing: .12em; color: #849087 !important; margin: 0 0 12px !important; }
	.news-card h3 { font-family: var(--font-serif); font-size: 26px; line-height: 1.12; margin: 0 0 13px; color: #173b48; }
	.news-card h3 a { text-decoration: none; }
	.news-body > p { font-size: 13px; line-height: 1.65; color: #6c776f; margin: 0; }

	.values-banner { background: var(--color-primary-900); color: #fff; padding: 78px 0; overflow: hidden; }
	.values-inner > p { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: #a9c3bb; }
	.values-words { display: flex; flex-wrap: wrap; gap: 18px 38px; font-family: var(--font-serif); font-size: clamp(44px,7vw,86px); line-height: 1; letter-spacing: -.035em; }
	.values-words span:nth-child(2) { color: #72c7e7; }
	.values-inner blockquote { margin: 38px 0 0; font-family: var(--font-serif); font-size: 22px; font-style: italic; color: #c9dce9; }

	.quick-section { background: #fff; }
	.quick-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid #dfe6e1; border-left: 1px solid #dfe6e1; }
	.quick-grid > a { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; min-height: 116px; padding: 22px 26px; text-decoration: none; border-right: 1px solid #dfe6e1; border-bottom: 1px solid #dfe6e1; transition: background .2s ease; }
	.quick-grid > a:hover { background: #f5f8f5; }
	.quick-grid div { display: grid; gap: 3px; }
	.quick-grid strong { font-family: var(--font-serif); color: #163b48; font-size: 21px; }
	.quick-grid span { font-size: 12px; color: #7b867e; }
	.quick-grid b { color: var(--color-accent); font-size: 21px; }

	.site-footer { background: #102e39; color: #dbe5e1; padding: 70px 0 22px; }
	.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .7fr; gap: 70px; }
	.footer-brand { font-family: var(--font-serif); font-size: 30px; max-width: 380px; color: #fff; }
	.footer-grid p { font-size: 13px; line-height: 1.75; color: #aebfba; }
	.footer-grid h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #72c7e7; margin: 0 0 18px; }
	.footer-grid a { color: #dbe5e1; text-decoration: none; }
	.footer-grid a:hover { color: #fff; }
	.footer-bottom { margin-top: 50px; border-top: 1px solid rgba(255,255,255,.11); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #88a8bd; }

	.nav-group { position: relative; }
	.nav-group > a { display: inline-block; }
	.nav-dropdown { position: absolute; left: -18px; top: 100%; min-width: 220px; padding: 9px; background: #fff; border: 1px solid #dce8ef; box-shadow: 0 18px 45px rgba(13,45,71,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
	.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
	.nav-dropdown a { display: block; padding: 10px 12px; color: #24465f; white-space: nowrap; }
	.nav-dropdown a:hover { background: var(--color-secondary-50); color: var(--color-primary); }
	.nav-dropdown a::after { display: none !important; }

	.page-hero { background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary)); color: #fff; padding: 88px 0 82px; }
	.page-hero-compact { padding-bottom: 66px; }
	.page-hero .eyebrow { color: #9fdcf0; }
	.page-hero h1 { max-width: 920px; margin: 0; font-family: var(--font-serif); font-size: clamp(46px,6vw,74px); line-height: .98; letter-spacing: -.03em; }
	.page-hero > .shell > p:last-child { max-width: 720px; margin: 23px 0 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }
	.narrow-shell { width: min(860px, calc(100% - 40px)); }
	.page-content, .post-detail { padding-top: 70px; padding-bottom: 100px; }
	.focus-page-content { width: min(1120px, calc(100% - 40px)); }
	.page-featured, .post-featured { margin: 0 0 38px; }
	.page-featured img, .post-featured img { width: 100%; height: auto; display: block; }
	.content-prose { font-size: 17px; line-height: 1.8; color: #344957; }
	.content-prose h2, .content-prose h3 { font-family: var(--font-serif); color: var(--color-primary-900); }
	.content-prose a { color: var(--color-primary); text-decoration-color: var(--color-secondary); }
	.content-prose iframe { width: 100% !important; max-width: 100%; }
	.legacy-focus-content > div:first-child { box-shadow: none !important; border: 1px solid #d8e6ef; border-radius: 14px !important; background: #fff; }
	.post-back { margin-top: 50px; padding-top: 25px; border-top: 1px solid #dce8ef; }

	.blog-list-section { background: #f4f8fb; }
	.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
	.blog-card h2 { font-family: var(--font-serif); font-size: 26px; line-height: 1.12; margin: 0 0 13px; color: var(--color-primary-900); }
	.blog-card h2 a { text-decoration: none; }
	.news-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--color-primary-100), var(--color-secondary-100)); }
	.pagination-wrap { margin-top: 48px; }
	.pagination-wrap .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
	.pagination-wrap a, .pagination-wrap span { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #d3e3ed; background: #fff; text-decoration: none; }
	.pagination-wrap .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
}

@media (max-width: 960px) {
	.desktop-nav { display: none; }
	.menu-toggle { display: block; }
	.mobile-nav { display: block; }
	.focus-grid { grid-template-columns: repeat(2,1fr); }
	.story-grid { grid-template-columns: 1fr; gap: 45px; }
	.news-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
	.news-grid article:last-child { display: block; }
	.split-heading { grid-template-columns: 1fr; gap: 22px; }
	.footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
}

@media (max-width: 650px) {
	.shell { width: min(100% - 28px, 1180px); }
	.school-strip-links { display: none; }
	.school-strip-inner { justify-content: center; }
	.nav-shell { min-height: 74px; }
	.brand img { width: 46px; height: 46px; }
	.brand-copy strong { font-size: 20px; }
	.brand-copy small { display: none; }
	.hero { min-height: 650px; }
	.hero-media { background-position: 58% center; }
	.hero-overlay { background: linear-gradient(90deg, rgba(7,31,39,.94), rgba(8,39,49,.70)); }
	.hero-inner { padding-block: 76px 38px; }
	.hero h1 { font-size: 50px; }
	.hero-lead { font-size: 16px; }
	.hero-values { gap: 9px; font-size: 9px; }
	.hero-values i { width: 12px; }
	.section { padding: 72px 0; }
	.section-heading h2, .story-copy h2 { font-size: 40px; }
	.focus-grid, .news-grid, .blog-grid, .quick-grid { grid-template-columns: 1fr; }
	.focus-card { min-height: 320px; }
	.news-grid article:last-child { display: block; }
	.story-values { grid-template-columns: 1fr; gap: 14px; }
	.news-heading { align-items: flex-start; flex-direction: column; }
	.values-words { display: grid; gap: 10px; font-size: 48px; }
	.quick-grid { border-left: 1px solid #dfe6e1; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.footer-bottom { flex-direction: column; }
}

/* Refinements: consistent school palette, clear hierarchy and readable content. */
@media all {
 .site-header { background: #fff; }
 .desktop-nav { gap: 22px; }
 .nav-group { padding-block: 18px; }
 .hero { min-height: 530px; }
 .hero-inner { padding-block: 64px 36px; }
 .hero h1 { font-size: clamp(44px,6vw,76px); line-height: 1.04; }
 .hero-values { margin-top: 36px; flex-wrap: wrap; }
 .section { padding-block: 76px; }
 .section-focus, .news-section { background: #f0f6fa; }
 .focus-card { min-height: 310px; border-color: #dce8ef; border-top: 4px solid #194c75; }
 .focus-card:nth-child(even) { border-top-color: #2b9acb; }
 .focus-icon { margin-block: 20px; background: #e7f3f9; }
 .focus-card h3 { font-size: 28px; }
 .focus-card p, .split-heading > p, .story-lead, .news-body > p { color: #42596a; }
 .news-date { color: #526978 !important; font-size: 12px !important; }
 .news-body > p { font-size: 15px; }
 .news-placeholder { display: grid; place-items: center; font-size: 44px; font-weight: 800; color: #194c75; letter-spacing: .12em; }
 .news-body { min-height: 250px; }
 .recurring-section { background: #fff; }
 .activity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .activity-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid #d6e5ee; border-radius: 8px; background: #f7fafc; }
 .activity-card h3, .contact-details h3 { font-size: 24px; font-family: var(--font-serif); color: #153f62; margin: 0 0 12px; }
 .activity-card p { font-size: 16px; line-height: 1.7; color: #42596a; margin-bottom: 22px; }
 .activity-card a { margin-top: auto; }
 .contact-section { background: #e7f2f9; }
 .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
 .contact-grid h2 { font-size: clamp(36px,4vw,52px); line-height: 1.08; color: #153f62; margin-bottom: 22px; }
 .contact-grid p { line-height: 1.75; max-width: 480px; }
 .contact-details { display: grid; gap: 14px; }
 .contact-details address { font-style: normal; line-height: 1.65; }
 .contact-details a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
 .profile-intro { max-width: 780px; }
 .profile-intro h2 { font-family: var(--font-serif); color: #153f62; font-size: clamp(30px,4vw,44px); line-height: 1.15; margin: 0 0 20px; }
 .profile-intro p { font-size: 19px; line-height: 1.8; color: #42596a; }
 .profile-topics { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 40px; }
 .profile-topics span { background: #e7f2f9; color: #153f62; padding: 12px 18px; border-radius: 6px; font-weight: 650; }
 .school-presentation { border-block: 1px solid #cbdde8; padding-block: 18px; }
 .school-presentation summary { cursor: pointer; font-weight: 700; color: #194c75; padding-block: 8px; }
 .school-presentation[open] summary { margin-bottom: 24px; }
 .related-focus { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 36px; }
 .related-focus a { color: #194c75; text-decoration: underline; text-underline-offset: 4px; }
 .video-frame { aspect-ratio: 16/9; background: #153f62; }
 .video-start { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; background: transparent; border: 0; cursor: pointer; padding: 25px; }
 .video-start strong { font-size: 24px; font-family: var(--font-serif); }
 .play-symbol { font-size: 30px; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid #72c7e7; border-radius: 50%; }
 .site-footer { background: #0d2d47; }
 .footer-grid p { color: #c4d8e5; }
 .content-prose img { max-width: 100%; height: auto; }
 .content-prose h2 { margin-block: 1.4em .5em; font-size: 30px; }
 .content-prose h3 { margin-block: 1.2em .5em; font-size: 24px; }
 .content-prose p { margin-bottom: 1em; }
 .content-prose ul { list-style: disc; padding-left: 1.4em; }
 .content-prose ol { list-style: decimal; padding-left: 1.4em; }
 .content-prose table { display: block; overflow-x: auto; }
 .skip-link { position: absolute; left: 12px; top: -100px; z-index: 999999; background: #fff; color: #153f62; padding: 12px 20px; }
 .skip-link:focus { top: 12px; }
 a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #2b9acb; outline-offset: 5px; }
 .editor-entry { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 18px; border: 1px solid #668ca8; margin-top: 25px; }
 .editor-entry a { color: #fff; text-decoration: underline; }
}
@media (max-width: 960px) {
 .news-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .news-body { padding: 18px; }
 .news-card h3 { font-size: 23px; }
 .contact-grid { gap: 32px; }
}
@media (max-width: 650px) {
 .hero { min-height: 540px; }
 .hero-inner { padding-block: 52px 32px; }
 .hero h1 { font-size: clamp(38px,10vw,50px); }
 .section { padding-block: 52px; }
 .section-heading h2, .story-copy h2 { font-size: 36px; }
 .focus-grid, .news-grid, .activity-grid, .contact-grid { grid-template-columns: minmax(0,1fr); }
 .focus-card { min-height: 280px; }
 .activity-card { padding: 24px; }
 .footer-brand { font-size: 26px; }
 .narrow-shell, .focus-page-content { width: calc(100% - 28px); }
 .page-hero { padding-block: 52px; }
 .page-hero h1 { font-size: clamp(34px,9vw,48px); overflow-wrap: anywhere; }
 .news-image { aspect-ratio: 16/10; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* School values, film overlay and service footer. */
@media all {
 .school-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 44px; border-top: 1px solid #79a2bc; padding-top: 25px; max-width: 980px; }
 .school-values > div { padding: 0 24px; border-left: 1px solid #79a2bc; }
 .school-values > div:first-child { padding-left: 0; border-left: 0; }
 .school-values strong { display: block; color: #b6e4f6; font-family: var(--font-serif); font-size: clamp(26px,3vw,36px); line-height: 1.2; margin-bottom: 9px; }
 .school-values span { display: block; font-size: 14px; line-height: 1.5; color: #fff; }
 .school-video-poster { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #153f62; border-radius: 10px; }
 .school-video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
 .school-video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%,rgba(0,15,30,.75)); }
 .school-video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; z-index: 1; font-weight: 700; font-size: 18px; }
 .school-video-play svg { width: 72px; height: 72px; border: 2px solid #fff; padding: 18px; border-radius: 50%; background: #194c75d9; }
 .school-video-poster:hover .school-video-play svg { background: #194c75; }
 .school-film-dialog { padding: 0; border: 0; border-radius: 12px; width: min(1060px,94vw); max-width: 94vw; max-height: 92dvh; overflow: auto; margin: auto; background: #0d2d47; color: #fff; }
 .school-film-dialog:not([open]) { display: none; }
 .school-film-dialog::backdrop { background: rgba(0,9,20,.86); }
 .film-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; }
 .film-dialog-bar h2 { font: 600 19px var(--font-sans); margin: 0; color: #fff; }
 .film-dialog-bar button { background: transparent; border: 1px solid #a1c9e1; color: #fff; border-radius: 6px; padding: 10px 14px; white-space: nowrap; }
 .film-player { aspect-ratio: 16/9; background: #000; }
 .film-player iframe { display: block; width: 100%; height: 100%; border: 0; }
 .film-fallback { padding: 14px 24px; font-size: 13px; }
 .film-fallback a { color: #d2edff; text-decoration: underline; }
 .footer-grid { grid-template-columns: 1.1fr 1.2fr .7fr; gap: 40px; }
 .footer-resources { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; border-top: 1px solid #41617a; margin-top: 38px; padding-top: 32px; }
 .footer-resource-group { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
 .footer-resource-group h2 { color: #91d1e9; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin: 0 0 4px; }
 .footer-resource-group > a { color: #edf6fc; text-decoration: none; font-size: 14px; line-height: 1.5; }
 .footer-resource-group a:hover { text-decoration: underline; }
 .app-downloads { display: flex; flex-wrap: wrap; gap: 10px; }
 .app-downloads a { display: grid; gap: 3px; padding: 12px 16px; border: 1px solid #789aae; border-radius: 8px; color: #fff; text-decoration: none; background: #153f62; }
 .app-downloads small { font-size: 10px; color: #d2e6f3; }
 .app-downloads strong { font-size: 17px; }
}
@media(max-width:960px) {
 .footer-resources { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media(max-width:650px) {
 .school-values { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
 .school-values > div, .school-values > div:first-child { border-left: 3px solid #72c7e7; padding-left: 16px; }
 .school-values strong { font-size: 27px; margin-bottom: 4px; }
 .school-values span { font-size: 13px; }
 .footer-grid, .footer-resources { grid-template-columns: 1fr; gap: 30px; }
 .film-dialog-bar { padding: 14px; gap: 10px; }
 .film-dialog-bar h2 { font-size: 15px; }
 .film-dialog-bar button { padding: 9px; font-size: 13px; }
}

@media all {
 .footer-partners { margin-top: 38px; padding-top: 32px; border-top: 1px solid #41617a; }
 .partner-logo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
 .partner-logo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #dbe8ef; border-radius: 10px; overflow: hidden; text-decoration: none; }
 .partner-logo-image { display: flex; justify-content: center; align-items: center; height: 145px; padding: 22px; }
 .partner-logo-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
 .partner-logo-label { padding: 14px 16px; border-top: 1px solid #e0eaf1; color: #194c75; font-size: 12px; line-height: 1.5; margin-top: auto; }
 .partner-logo-card:hover { box-shadow: 0 0 0 2px #91d1e9; }
 .edupage-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 25px; align-items: center; margin-top: 24px; padding: 24px; background: #f4f8fb; border-radius: 10px; }
 .edupage-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; }
 .edupage-brand img { display: block; width: 190px; max-width: 100%; max-height: 65px; object-fit: contain; object-position: left; }
 .edupage-brand span { color: #194c75; font-size: 13px; }
 .edupage-downloads > span { display: block; color: #42596a; font-size: 13px; margin-bottom: 10px; }
 .store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
 .store-badges a { display: block; }
 .store-badges img { display: block; height: 44px; width: auto; max-width: 180px; object-fit: contain; }
}
@media(max-width:960px) { .partner-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:500px) {
 .partner-logo-grid { gap: 12px; }
 .partner-logo-image { height: 125px; padding: 15px; }
 .partner-logo-label { font-size: 11px; padding: 12px; }
 .edupage-footer { padding: 20px; }
 .store-badges img { height: 39px; max-width: 150px; }
}

/* Native Team, Forms & Contact */
.team-section{padding-top:4rem}.team-heading{max-width:760px;margin-bottom:2.5rem}.team-heading p:last-child,.service-intro>p:last-child{max-width:680px;color:#52636f}.team-native-content .tmm{margin:0!important}.team-native-content .tmm_member{background:#fff!important;border:1px solid #dceaf3!important;border-top:4px solid #194c75!important;border-radius:18px!important;box-shadow:0 12px 30px rgba(13,45,71,.08)!important;overflow:hidden;padding-bottom:1rem!important}.team-native-content .tmm_photo{border-radius:0!important;width:100%!important;max-width:none!important;height:230px!important;margin:0!important;background-position:center!important}.team-native-content .tmm_textblock{padding:1.1rem 1rem .5rem!important}.team-native-content .tmm_names{font-family:Newsreader,serif!important;font-size:1.3rem!important;color:#0d2d47!important}.team-native-content .tmm_job{color:#247da5!important;font-weight:700!important;margin-top:.35rem!important}.forms-shell{max-width:980px}.service-intro{max-width:720px;margin-bottom:2rem}.forms-native-content{display:grid;gap:1rem}.forms-native-content>p{margin:1.6rem 0 .2rem!important;font-family:Newsreader,serif;font-size:1.45rem;color:#0d2d47}.forms-native-content>hr{display:none}.forms-native-content .w3eden .card{border:1px solid #dceaf3!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important}.forms-native-content .w3eden .card-body{padding:1.15rem!important}.forms-native-content .package-title{font-size:1rem!important;margin:0!important}.forms-native-content .btn-primary{background:#194c75!important;border-color:#194c75!important;border-radius:999px!important}.service-help{margin-top:3rem;padding:1.4rem 1.5rem;border-radius:18px;background:#f0f6fa;display:flex;align-items:center;justify-content:space-between;gap:1rem}.service-help div{display:flex;flex-direction:column}.service-help strong{font-family:Newsreader,serif;font-size:1.35rem;color:#0d2d47}.service-help span{color:#52636f}.contact-quick-section{padding-top:0}.contact-page .contact-details{border-radius:20px}.contact-page .quick-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:760px){.team-section{padding-top:2.5rem}.team-heading{margin-bottom:1.5rem}.team-native-content .tmm_container{display:block!important}.team-native-content .tmm_member{width:100%!important;min-height:0!important;margin:0 0 .85rem!important;padding:.75rem!important;display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;align-items:center!important;gap:1rem!important;border-top:1px solid #dceaf3!important}.team-native-content .tmm_photo{grid-column:1!important;width:96px!important;height:96px!important;min-width:96px!important;margin:0!important;border-radius:16px!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:#f0f6fa!important}.team-native-content .tmm_textblock{grid-column:2!important;padding:0!important;text-align:left!important;min-width:0!important}.team-native-content .tmm_names{font-size:1.15rem!important;line-height:1.2!important}.team-native-content .tmm_job{font-size:.9rem!important;line-height:1.35!important}.service-help{align-items:flex-start;flex-direction:column}.contact-page .quick-grid{grid-template-columns:1fr}}
@media(min-width:761px){.team-native-content .tmm_photo{height:210px!important;background-size:contain!important;background-repeat:no-repeat!important;background-color:#f0f6fa!important}}

/* Simplified newsroom editor */
.newsroom-editor-shell { padding-top: 52px; padding-bottom: 72px; }
.newsroom-editor-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.8fr); gap: 34px; align-items: start; }
.newsroom-form { background: #fff; border: 1px solid #dbe8ef; border-radius: 18px; padding: 28px; box-shadow: 0 12px 34px rgba(13,45,71,.07); }
.newsroom-field + .newsroom-field { margin-top: 24px; }
.newsroom-field label { display: block; font-weight: 800; color: #17364f; margin-bottom: 8px; }
.newsroom-field input[type="text"], .newsroom-field textarea { width: 100%; border: 1px solid #bfd4e1; border-radius: 10px; padding: 13px 14px; font: inherit; color: #17232c; background: #fbfdff; }
.newsroom-field textarea { resize: vertical; min-height: 260px; line-height: 1.7; }
.newsroom-field input:focus, .newsroom-field textarea:focus { outline: 3px solid rgba(43,154,203,.18); border-color: #2b9acb; }
.newsroom-field small, .photo-help { display: block; margin-top: 8px; color: #5c7180; font-size: 13px; line-height: 1.55; }
.newsroom-photo-field { padding: 20px; border: 1px dashed #91b9cf; border-radius: 12px; background: #f7fbfd; }
.newsroom-photo-field input[type="file"] { width: 100%; }
.newsroom-form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.newsroom-guide { background: #194c75; color: #fff; border-radius: 18px; padding: 28px; position: sticky; top: 24px; }
.newsroom-guide-kicker { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .72; margin-bottom: 7px; }
.newsroom-guide h2 { margin: 0 0 24px; font-size: 26px; line-height: 1.15; }
.newsroom-guide-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.newsroom-guide-item > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #72c7e7; color: #0d2d47; font-weight: 800; }
.newsroom-guide-item p { margin: 4px 0 0; opacity: .82; font-size: 14px; line-height: 1.55; }
.newsroom-preview { margin-top: 48px; padding: 34px; background: #fff; border: 1px solid #dbe8ef; border-radius: 18px; }
.newsroom-preview h2 { font-size: clamp(32px,5vw,52px); line-height: 1.06; color: #194c75; margin: 0 0 24px; }
.newsroom-preview-image { display: grid; place-items: center; min-height: 320px; border-radius: 14px; background: linear-gradient(135deg,#edf6fb,#dbeef7); color: #527184; text-align: center; padding: 24px; margin-bottom: 28px; }
.newsroom-preview-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 30px; }
.newsroom-preview-gallery span { min-height: 120px; border-radius: 10px; background: #edf5f9; display: grid; place-items: center; padding: 12px; color: #617986; text-align: center; font-size: 12px; }
.post-photo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 34px 0 10px; }
.post-photo-gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: #eef4f7; }
.post-photo-gallery img { display: block; width: 100%; height: 320px; object-fit: cover; }
@media(max-width:860px) { .newsroom-editor-grid { grid-template-columns: 1fr; } .newsroom-guide { position: static; } }
@media(max-width:650px) { .newsroom-form, .newsroom-guide, .newsroom-preview { padding: 20px; } .post-photo-gallery, .newsroom-preview-gallery { grid-template-columns: 1fr; } .post-photo-gallery img { height: auto; } }
