:root {
	--school-blue: #064b98;
	--school-blue-dark: #032f68;
	--school-blue-light: #eaf3ff;
	--school-red: #d71920;
	--school-red-dark: #a90f15;
	--school-gold: #d6a722;
	--school-text: #26364a;
	--school-muted: #66758a;
	--school-line: #dfe7f1;
	--school-soft: #f5f8fc;
	--school-white: #fff;
	--school-shadow: 0 16px 40px rgba(3, 47, 104, .09);
	--school-radius: 14px;
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--school-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--school-blue); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:hover { color: var(--school-red); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 70px 0; }
.section-tight { padding: 0; }
.section-soft { background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; display: block; height: auto; left: 8px; top: 8px; width: auto; z-index: 100000; background: #fff; color: #111; padding: 12px 16px; border-radius: 4px; }
.skip-link { box-shadow: 0 0 0 3px var(--school-gold); }

/* Top bar */
.site-topbar { background: linear-gradient(90deg, var(--school-blue-dark), var(--school-blue)); color: #fff; font-size: 13px; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-school, .topbar-links { display: flex; align-items: center; gap: 12px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.topbar-divider { opacity: .55; }
.topbar-address { opacity: .95; }
.topbar-links a { color: #fff; opacity: .95; white-space: nowrap; }
.topbar-links a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.site-topbar .topbar-search-toggle { min-height: 28px; gap: 6px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; }
.site-topbar .topbar-search-toggle:hover { color: #fff; background: rgba(255,255,255,.13); }
.site-topbar .topbar-search-toggle svg { width: 15px; height: 15px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.social-link svg { width: 14px; height: 14px; }

/* Header */
.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid #edf1f6; box-shadow: 0 3px 18px rgba(3,47,104,.05); }
.header-inner { width: min(1380px, calc(100% - 40px)); min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.school-brand { display: flex; align-items: center; gap: 12px; min-width: 300px; color: inherit; }
.school-brand:hover { color: inherit; }
.school-logo { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 2px solid #e5c75d; background: #fff; box-shadow: 0 5px 18px rgba(3,47,104,.12); }
.school-brand-copy { display: flex; flex-direction: column; line-height: 1.1; text-transform: uppercase; }
.school-brand-level { color: var(--school-blue); font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.school-brand-name { color: var(--school-red); font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 800; margin-top: 5px; letter-spacing: .02em; }
.school-brand-motto { color: var(--school-blue-dark); font-size: 12px; font-weight: 800; margin-top: 9px; letter-spacing: .07em; }
.main-navigation { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.primary-menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.primary-menu > li { position: relative; }
.primary-menu .nav-link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 7px; color: var(--school-blue-dark); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .005em; white-space: nowrap; border-bottom: 2px solid transparent; }
.primary-menu .current-menu-item > .nav-link,
.primary-menu .current_page_item > .nav-link,
.primary-menu .nav-link:hover { color: var(--school-red); border-bottom-color: var(--school-red); }
.primary-menu .menu-item-has-children > a::after { content: "⌄"; margin-left: 5px; font-size: 12px; }
.primary-menu .sub-menu { position: absolute; left: 0; top: calc(100% - 2px); min-width: 245px; list-style: none; padding: 8px; margin: 0; background: #fff; border: 1px solid var(--school-line); border-radius: 8px; box-shadow: var(--school-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a { display: block; color: var(--school-text); padding: 9px 11px; font-size: 14px; border-radius: 5px; }
.primary-menu .sub-menu a:hover { background: var(--school-blue-light); color: var(--school-blue); }
.search-toggle, .menu-toggle { border: 0; background: transparent; color: var(--school-blue); padding: 8px; display: inline-flex; align-items: center; justify-content: center; }
.search-toggle:hover { color: var(--school-red); }
.search-toggle svg { width: 22px; height: 22px; }
.menu-toggle { display: none; }
.menu-toggle-close { display: none; }
.header-search { border-top: 1px solid var(--school-line); background: #fff; padding: 16px 0; }
.header-search .search-form { max-width: 760px; margin-left: auto; display: flex; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 46px; border: 1px solid var(--school-line); border-radius: 7px; padding: 0 14px; outline: 0; }
.search-field:focus { border-color: var(--school-blue); box-shadow: 0 0 0 3px rgba(6,75,152,.12); }
.search-submit { height: 46px; border: 0; border-radius: 7px; background: var(--school-blue); color: #fff; padding: 0 18px; font-weight: 700; }

/* Hero */
.hero-slider { position: relative; overflow: hidden; background: #eef5fc; }
.hero-slides { position: relative; min-height: 520px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide-bg {
	position: absolute;
	inset: 0;
	background-position: center right;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1.002);
	transform-origin: center right;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255,255,255,1) 0%,
		rgba(255,255,255,1) 25%,
		rgba(255,255,255,.995) 34%,
		rgba(255,255,255,.975) 41%,
		rgba(255,255,255,.92) 47%,
		rgba(255,255,255,.82) 53%,
		rgba(255,255,255,.66) 59%,
		rgba(255,255,255,.47) 65%,
		rgba(255,255,255,.29) 71%,
		rgba(255,255,255,.15) 77%,
		rgba(255,255,255,.06) 84%,
		rgba(255,255,255,.015) 92%,
		rgba(255,255,255,0) 100%
	);
}
.hero-slide::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 58%; background: radial-gradient(circle at 25% 50%, rgba(214,167,34,.10), transparent 45%), repeating-radial-gradient(circle at 0 50%, rgba(6,75,152,.035) 0 1px, transparent 1px 10px); opacity: .78; }
.hero-inner { position: relative; z-index: 2; min-height: 520px; display: flex; align-items: center; }
.hero-content { width: 55%; padding: 60px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-eyebrow { margin: 0 0 12px; color: var(--school-blue); font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive; font-weight: 400; letter-spacing: 0; font-size: clamp(28px, 3vw, 54px); line-height: 1.1; text-transform: none; }
.hero-content h1 { margin: 0; max-width: 700px; font-family: var(--wp--preset--font-family--system-font, Arial, Helvetica, sans-serif); font-size: clamp(46px, 5vw, 74px); line-height: 1.02; text-transform: uppercase; letter-spacing: -.03em; }
.hero-title-mark, .hero-title-line { display: block; }
.hero-title-line--primary { color: var(--school-blue-dark); }
.hero-title-line--secondary { color: var(--school-red); }
.hero-divider { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; }
.hero-divider-line { width: 118px; height: 2px; background: linear-gradient(90deg, rgba(4,71,143,.15) 0%, rgba(4,71,143,.95) 100%); }
.hero-divider-line:last-child { background: linear-gradient(90deg, rgba(4,71,143,.95) 0%, rgba(4,71,143,.15) 100%); }
.hero-divider-star { color: var(--school-red); font-size: 18px; line-height: 1; }
.hero-description { margin: 16px 0 0; max-width: 760px; color: var(--school-blue-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(15px, 1.45vw, 22px); line-height: 1.6; border: 0; padding: 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 7px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; box-shadow: 0 8px 22px rgba(3,47,104,.13); }
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--school-blue); color: #fff; }
.button-primary:hover { background: var(--school-blue-dark); color: #fff; transform: translateY(-1px); }
.button-secondary { background: var(--school-red); color: #fff; }
.button-secondary:hover { background: var(--school-red-dark); color: #fff; transform: translateY(-1px); }
.hero-control { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(3,47,104,.55); color: #fff; font-size: 30px; line-height: 1; opacity: 0; transition: .2s ease; }
.hero-slider:hover .hero-control { opacity: 1; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-dots { position: absolute; z-index: 6; left: 50%; bottom: 14px; display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(6,75,152,.45); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.hero-dot.is-active { background: var(--school-gold); }

/* Feature cards */
.feature-links { position: relative; z-index: 4; margin-top: -1px; background: linear-gradient(180deg, #f1f6fc 0%, #fff 100%); border-bottom: 1px solid #edf2f8; }
.feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; padding: 18px 0 26px; }
.feature-card { min-height: 165px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 14px; background: #fff; border: 1px solid #e6edf6; border-radius: 12px; box-shadow: 0 9px 24px rgba(3,47,104,.06); color: var(--school-text); }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(6,75,152,.25); color: var(--school-text); box-shadow: var(--school-shadow); }
.feature-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; margin-bottom: 12px; }
.feature-icon svg { width: 27px; height: 27px; }
.feature-blue .feature-icon { background: var(--school-blue); }
.feature-red .feature-icon { background: var(--school-red); }
.feature-gold .feature-icon { background: var(--school-gold); }
.feature-card strong { color: var(--school-blue-dark); font-size: 14px; text-transform: uppercase; }
.feature-card > span:not(.feature-icon) { max-width: 180px; margin-top: 6px; color: var(--school-muted); font-size: 12px; line-height: 1.45; }
.feature-card em { margin-top: 8px; color: var(--school-blue); font-style: normal; }

/* Headings */
.section-heading { margin-bottom: 24px; }
.section-heading h2 { position: relative; margin: 2px 0 0; padding-bottom: 10px; color: var(--school-blue-dark); font-size: clamp(24px, 3vw, 31px); line-height: 1.2; text-transform: uppercase; }
.section-heading h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--school-red), var(--school-gold)); }
.section-kicker { color: var(--school-red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.heading-with-link { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.heading-with-link > a { display: inline-flex; align-items: center; gap: 5px; color: var(--school-red); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* News */
.news-notices { background: #fff; }
.news-notices-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid var(--school-line); border-radius: 10px; transition: .2s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--school-shadow); }
.news-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--school-soft); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 14px; }
.news-card time { display: inline-flex; align-items: center; gap: 5px; color: var(--school-gold); font-size: 11px; font-weight: 700; }
.news-card h3 { margin: 9px 0 7px; color: var(--school-blue-dark); font-size: 15px; line-height: 1.35; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--school-red); }
.news-card p { margin: 0; color: var(--school-muted); font-size: 12px; line-height: 1.55; }
.notices-panel { overflow: hidden; border: 1px solid var(--school-line); border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(3,47,104,.05); }
.notices-header { background: linear-gradient(90deg, var(--school-blue-dark), var(--school-blue)); padding: 14px 18px; }
.notices-header h2 { margin: 0; color: #fff; font-size: 16px; text-transform: uppercase; }
.notice-list { padding: 0 18px; }
.notice-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--school-line); color: var(--school-text); font-size: 13px; line-height: 1.4; }
.notice-item:hover { color: var(--school-red); }
.notice-item time { color: #9aa6b5; font-size: 10px; white-space: nowrap; }
.notices-more { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 15px; color: var(--school-red); font-size: 12px; font-weight: 800; }


/* Category news sections */
.category-news-section { border-top: 1px solid var(--school-line); }
.category-news-section--soft { background: linear-gradient(180deg, #f4f8fd 0%, #eef5fb 100%); }
.category-news-section--white { background: #fff; }
.category-news-section .section-heading { margin-bottom: 26px; }
.category-news-grid { align-items: stretch; }
.category-news-card { height: 100%; }
.news-empty { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 150px; padding: 30px; border: 1px dashed #cfd9e6; border-radius: 10px; background: rgba(255,255,255,.7); color: var(--school-muted); text-align: center; }
.news-empty p { margin: 0; }
.news-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: #eaf1f9; color: var(--school-blue); }
.news-empty-icon svg { width: 23px; height: 23px; }

/* Principal + gallery */
.principal-gallery-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: stretch; }
.principal-message { display: grid; grid-template-columns: 170px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--school-line); border-radius: var(--school-radius); box-shadow: var(--school-shadow); }
.principal-photo { min-height: 100%; background: #f3f6f9; }
.principal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.principal-copy { padding: 28px; }
.principal-copy .section-heading { margin-bottom: 15px; }
.principal-copy .section-heading h2 { font-size: 24px; }
.principal-copy p { color: var(--school-muted); font-size: 13px; line-height: 1.7; }
.principal-greeting { color: var(--school-text) !important; font-weight: 700; }
.principal-thanks { color: var(--school-blue-dark) !important; }
.principal-sign { margin-top: 16px; display: flex; flex-direction: column; }
.principal-sign span { font-size: 12px; }
.principal-sign strong { color: var(--school-blue); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-style: italic; }
.gallery-block { min-width: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; border-radius: 8px; background: var(--school-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; inset: auto 0 0; padding: 20px 8px 7px; color: #fff; font-size: 11px; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(6px); transition: .2s ease; }
.gallery-item:hover span { opacity: 1; transform: translateY(0); }

/* Quick links */
.quick-links-section { padding-top: 48px; }
.quick-links-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.quick-link { min-height: 76px; display: flex; align-items: center; gap: 11px; padding: 13px; color: var(--school-blue-dark); border: 1px solid var(--school-line); border-radius: 9px; background: #fff; box-shadow: 0 7px 18px rgba(3,47,104,.04); }
.quick-link:hover { color: var(--school-red); transform: translateY(-3px); box-shadow: var(--school-shadow); }
.quick-link-icon { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--school-blue-light); color: var(--school-blue); overflow: hidden; }
.quick-link-icon img { width: 100%; height: 100%; object-fit: cover; }
.quick-link-icon svg { width: 21px; height: 21px; }
.quick-link strong { font-size: 12px; line-height: 1.35; }

/* Footer */
.site-footer { margin-top: 10px; color: #fff; }
.footer-main { padding: 48px 0 34px; background: linear-gradient(110deg, var(--school-blue-dark), var(--school-blue)); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.15fr .85fr .95fr; gap: 34px; }
.footer-brand-column { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; width: min(100%, 245px); }
.footer-brand img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.7); }
.footer-brand-copy { display: flex; flex-direction: column; align-items: center; text-transform: uppercase; line-height: 1.15; }
.footer-brand strong { font-size: 18px; line-height: 1.35; }
.footer-school-name { max-width: 245px; font-family: Georgia, "Times New Roman", serif; font-weight: 800; }
.footer-brand small { margin-top: 9px; font-weight: 700; letter-spacing: .05em; }
.footer-socials { display: flex; justify-content: center; gap: 9px; width: min(100%, 245px); margin-top: 18px; }
.footer-socials a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; }
.footer-socials a:hover { color: #fff; background: rgba(255,255,255,.16); }
.footer-main h2 { margin: 0 0 15px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer-contact p { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 11px; font-size: 12px; }
.footer-contact svg { margin-top: 3px; }
.footer-contact .footer-email { padding-left: 0; }
.footer-contact a, .footer-menu a { color: #fff; }
.footer-links { min-width: 0; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-menu li:last-child { border-bottom: 0; }
.footer-menu a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12px; line-height: 1.35; }
.footer-menu a::before { content: "›"; flex: 0 0 auto; color: #f4c542; font-size: 17px; line-height: 1; transition: transform .2s ease; }
.footer-menu a:hover { color: #fff; padding-left: 3px; }
.footer-menu a:hover::before { transform: translateX(2px); }
.footer-widgets { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-bottom { background: #022858; }
.footer-bottom-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.8); font-size: 11px; }
.footer-bottom .portal-credit-wrap { display: flex; align-items: center; }
.footer-bottom .portal-credit { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; text-decoration: none; line-height: 1.2; }
.footer-bottom .portal-credit-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.footer-bottom .portal-credit:hover { text-decoration: underline; }
.footer-bottom .portal-credit:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }

/* Responsive featured banner for pages and blog posts. */
.singular-banner-shell { margin-bottom: 28px; }
.singular-banner { position: relative; width: 100%; margin: 0; overflow: hidden; aspect-ratio: 3 / 1; min-height: 250px; max-height: 430px; border-radius: 16px; background: #e9eff7; box-shadow: 0 12px 32px rgba(3,47,104,.10); }
.singular-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,47,104,0) 66%, rgba(3,47,104,.10) 100%); }
.singular-banner-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: translateZ(0); }

/* Inner pages */
.content-area { padding: 56px 0 72px; background: #f8fafc; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 34px; align-items: start; }
.content-layout:has(.widget-area) { grid-template-columns: minmax(0,1fr) 310px; }
.content-main { min-width: 0; }
.page-header { margin-bottom: 24px; }
.page-title, .entry-title { margin: 0; color: var(--school-blue-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4vw, 44px); line-height: 1.18; }
.archive-description { color: var(--school-muted); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.archive-card { overflow: hidden; background: #fff; border: 1px solid var(--school-line); border-radius: 12px; box-shadow: 0 7px 22px rgba(3,47,104,.05); }
.archive-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.archive-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.archive-card:hover .archive-card-image img { transform: scale(1.04); }
.archive-card-body { padding: 16px; }
.archive-card .entry-title { margin: 8px 0 9px; font-family: inherit; font-size: 17px; line-height: 1.38; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #8390a1; font-size: 12px; }
.entry-meta span { display: inline-flex; align-items: center; gap: 5px; }
.entry-summary { display: -webkit-box; overflow: hidden; color: var(--school-muted); font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.read-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-weight: 800; font-size: 13px; }
.single-entry { padding: 32px; background: #fff; border: 1px solid var(--school-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(3,47,104,.05); }
.single-entry .entry-header { margin-bottom: 24px; }
.single-entry .entry-meta { margin-top: 13px; }
.entry-featured { margin: 0 0 25px; overflow: hidden; border-radius: 10px; }
.entry-content { color: #334458; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--school-blue-dark); line-height: 1.3; }
.entry-content a { text-decoration: underline; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--school-line); padding: 10px; }
.post-navigation { margin-top: 24px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 14px; background: #fff; border: 1px solid var(--school-line); border-radius: 8px; }
.related-posts { margin-top: 34px; padding: 24px; background: #fff; border: 1px solid var(--school-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(3,47,104,.05); }
.related-posts .section-heading { margin-bottom: 20px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related-post-card { overflow: hidden; border: 1px solid var(--school-line); border-radius: 10px; background: #fff; }
.related-post-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.related-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.related-post-card:hover .related-post-image img { transform: scale(1.04); }
.related-post-body { padding: 12px; }
.related-post-body time { display: inline-flex; align-items: center; gap: 5px; color: var(--school-muted); font-size: 11px; }
.related-post-body time svg { width: 14px; height: 14px; }
.related-post-body h3 { display: -webkit-box; overflow: hidden; margin: 7px 0 0; color: var(--school-blue-dark); font-size: 14px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.related-post-body h3 a { color: inherit; }
.related-post-body h3 a:hover { color: var(--school-red); }
.widget-area { display: grid; gap: 20px; }
.widget { padding: 20px; background: #fff; border: 1px solid var(--school-line); border-radius: 10px; }
.widget-title { margin: 0 0 14px; color: var(--school-blue-dark); font-size: 18px; }
.widget ul { margin: 0; padding-left: 18px; }
.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--school-line); border-radius: 6px; background: #fff; }
.page-numbers.current { background: var(--school-blue); border-color: var(--school-blue); color: #fff; }
.comments-area { margin-top: 26px; padding: 28px; background: #fff; border: 1px solid var(--school-line); border-radius: 10px; }
.comment-list { padding-left: 25px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; border: 1px solid var(--school-line); border-radius: 6px; padding: 10px 12px; }
.form-submit .submit { border: 0; border-radius: 6px; background: var(--school-blue); color: #fff; padding: 12px 18px; font-weight: 700; }
.error-page { padding: 90px 0; text-align: center; }
.error-inner { max-width: 720px; }
.error-code { margin: 0; color: var(--school-red); font-size: 100px; line-height: 1; font-weight: 900; }
.error-inner h1 { color: var(--school-blue-dark); }
.error-inner .search-form { max-width: 550px; margin: 25px auto; }
.no-results { padding: 30px; background: #fff; border-radius: 10px; }

/* Accessibility focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(214,167,34,.75); outline-offset: 3px; }

@media (max-width: 1180px) {
	.school-brand { min-width: 250px; }
	.school-logo { width: 68px; height: 68px; }
	.school-brand-level { font-size: 17px; }
	.school-brand-name { font-size: 22px; }
	.primary-menu .nav-link { padding-inline: 5px; font-size: 10px; }
	.quick-links-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 980px) {
	.singular-banner { aspect-ratio: 16 / 6; min-height: 220px; border-radius: 14px; }
	.topbar-address, .topbar-divider, .topbar-links > a:not(.social-link) { display: none; }
	.site-topbar .topbar-search-toggle span { display: none; }
	.site-topbar .topbar-search-toggle { width: 28px; height: 28px; padding: 0; border-radius: 50%; }
	.header-inner { min-height: 84px; }
	.menu-toggle { display: inline-flex; margin-left: auto; width: 42px; height: 42px; }
	.menu-toggle.is-open .menu-toggle-open { display: none; }
	.menu-toggle.is-open .menu-toggle-close { display: inline-flex; }
	.main-navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: #fff; border-top: 1px solid var(--school-line); box-shadow: 0 15px 28px rgba(3,47,104,.12); }
	.main-navigation.is-open { display: flex; }
	.primary-menu { flex-direction: column; align-items: stretch; }
	.primary-menu .nav-link { width: 100%; min-height: 42px; padding: 0 8px; font-size: 13px; border-bottom: 1px solid #edf2f6; }
	.primary-menu .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 16px; }
	.primary-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
	.search-toggle { align-self: flex-start; margin-top: 8px; }
	.hero-content { width: 68%; }
	.feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.news-notices-grid, .content-layout { grid-template-columns: 1fr; }
	.news-grid, .archive-grid, .related-posts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.content-layout .content-main { order: 1; grid-column: 1; }
	.content-layout #secondary.widget-area { order: 2; grid-column: 1; width: 100%; margin-top: 0; }
	.notices-panel { max-width: none; }
	.principal-gallery-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
	.singular-banner-shell { margin-bottom: 20px; }
	.singular-banner { aspect-ratio: 16 / 9; min-height: 180px; max-height: 300px; border-radius: 10px; }
	.content-layout { display: flex; flex-direction: column; }
	.content-layout .content-main { order: 1; width: 100%; }
	.content-layout #secondary.widget-area { order: 2; width: 100%; }
	.container { width: min(100% - 28px, var(--container)); }
	.site-topbar { font-size: 11px; }
	.topbar-inner { min-height: 32px; }
	.school-brand { min-width: 0; gap: 10px; }
	.school-logo { width: 58px; height: 58px; }
	.school-brand-level { font-size: 14px; }
	.school-brand-name { font-size: 18px; }
	.school-brand-motto { font-size: 9px; margin-top: 6px; }
	.hero-slides, .hero-inner { min-height: 520px; }
	.hero-slide-bg { inset: 0; background-position: center; transform: none; }
	.hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 52%, rgba(255,255,255,.54) 76%, rgba(255,255,255,.16) 100%); }
	.hero-slide::before { width: 100%; }
	.hero-inner { align-items: flex-start; }
	.hero-content { width: 100%; padding: 48px 0 170px; }
	.hero-eyebrow { font-size: 24px; }
	.hero-content h1 { font-size: 39px; }
	.hero-divider { gap: 10px; margin-top: 14px; }
	.hero-divider-line { width: 70px; }
	.hero-description { font-size: 13px; }
	.hero-actions { gap: 10px; }
	.button { min-height: 44px; padding: 0 14px; font-size: 11px; }
	.hero-control { display: none; }
	.feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.feature-card { min-height: 150px; }
	.section { padding: 50px 0; }
	.news-grid { grid-template-columns: 1fr; }
	.news-card { display: grid; grid-template-columns: 130px 1fr; }
	.news-card-image { height: 100%; aspect-ratio: auto; }
	.news-card-body { padding: 12px; }
	.news-card p { display: none; }
	.principal-message { grid-template-columns: 1fr; }
	.principal-photo { height: 320px; }
	.gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.quick-links-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom-inner { min-height: 64px; flex-direction: column; justify-content: center; text-align: center; gap: 3px; }
	.archive-grid { grid-template-columns: 1fr; }
	.single-entry { padding: 22px; }
	.related-posts { padding: 22px; }
	.related-posts-grid { grid-template-columns: 1fr; }
	.footer-brand-column { align-items: center; }
}

@media (max-width: 480px) {
	.singular-banner { min-height: 160px; }
	.school-brand-level { font-size: 12px; }
	.school-brand-name { font-size: 16px; }
	.school-brand-motto { display: none; }
	.feature-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
	.feature-card { min-height: 138px; padding: 14px 8px; }
	.feature-icon { width: 44px; height: 44px; }
	.feature-card strong { font-size: 12px; }
	.feature-card > span:not(.feature-icon) { font-size: 10px; }
	.heading-with-link { align-items: flex-start; }
	.quick-links-grid { grid-template-columns: 1fr; }
	.news-card { grid-template-columns: 110px 1fr; }
}


/* Performance: reserve image space and defer below-the-fold rendering. */
img { height: auto; }
.hero-slide-bg[data-bg] { background-image: none; }
@supports (content-visibility: auto) {
  .front-page-main > section:not(.hero-slider) {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}
