/* Compact masthead, navigation and footer; article styles stay independent. */
:root { --sg-shell: 1440px; }
.portal-header { position: relative; z-index: 30; background: #fff; }
.portal-masthead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(170px, 240px) 156px 44px;
	align-items: center;
	gap: 16px;
	min-height: 90px;
	padding-block: 14px;
}
.portal-branding { min-width: 0; }
.portal-brand { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: #101612; text-decoration: none; }
.portal-brand:hover { color: #101612; text-decoration: none; }
.portal-brand img { width: 52px; height: 52px; flex: 0 0 auto; }
.portal-wordmark {
	font-size: clamp(1.55rem, 2.9vw, 2.45rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.055em;
	text-transform: uppercase;
	white-space: nowrap;
}
.portal-wordmark-accent { color: #006936; }
.portal-branding .custom-logo { width: auto; max-width: 100%; height: auto; max-height: 60px; }
.portal-search { min-width: 0; }
.portal-search .search-form { width: 100%; grid-template-columns: minmax(0, 1fr) 42px; border-radius: 3px; background: #fff; border: 1px solid #d5dcd7; }
.portal-search .search-field { height: 40px; padding: 0 12px; font-size: 0.84rem; }
.portal-search .search-submit { height: 40px; padding: 0; background: #fff; color: #141b17; }
.portal-search .search-submit:hover { background: #edf5f0; color: #006936; }
.portal-district-picker { position: relative; min-width: 0; }
.portal-district-picker summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 10px;
	border: 1px solid #d5dcd7;
	border-radius: 3px;
	color: #17231c;
	font-size: 0.82rem;
	font-weight: 650;
	cursor: pointer;
	list-style: none;
}
.portal-district-picker summary::-webkit-details-marker { display: none; }
.portal-district-picker summary > svg:first-child { color: #006936; flex: 0 0 auto; }
.portal-district-picker summary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-chevron { margin-left: auto; flex: 0 0 auto; }
.portal-district-picker[open] .portal-chevron { transform: rotate(180deg); }
.portal-district-list {
	position: absolute;
	z-index: 50;
	top: calc(100% + 8px);
	right: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(320px, calc(100vw - 32px));
	max-height: min(420px, 65vh);
	overflow-y: auto;
	padding: 8px;
	border: 1px solid #d5dcd7;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 12px 32px #07190d26;
}
.portal-district-list a { display: flex; align-items: center; min-height: 42px; padding: 8px 10px; border-radius: 3px; color: #17231c; font-size: 0.84rem; text-decoration: none; }
.portal-district-list a:hover, .portal-district-list a:focus-visible, .portal-district-list a[aria-current="page"] { color: #005b2e; background: #edf5f0; }
.portal-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #111b15; cursor: pointer; }
.portal-menu-toggle[hidden] { display: none; }
.portal-menu-toggle:hover { background: #edf5f0; }
.portal-menu-close, .portal-menu-toggle[aria-expanded="true"] .portal-menu-lines { display: none; }
.portal-menu-toggle[aria-expanded="true"] .portal-menu-close { display: block; }
.portal-navigation-bar { background: #006936; }
.portal-nav { min-width: 0; scrollbar-width: none; }
.portal-nav::-webkit-scrollbar { display: none; }
.portal-nav :is(.portal-menu, .site-menu), .portal-nav .sub-menu { margin: 0; padding: 0; list-style: none; }
.portal-nav :is(.portal-menu, .site-menu) { display: flex; flex-wrap: wrap; align-items: stretch; min-height: 42px; }
.portal-nav :is(.portal-menu, .site-menu) > li { display: block; position: static; flex: 1 0 auto; width: auto; }
.portal-nav :is(.portal-menu, .site-menu) a { display: flex; align-items: center; justify-content: center; width: auto; min-height: 42px; padding: 10px 16px; color: #fff; font-size: 0.8rem; line-height: 1.3; font-weight: 750; text-decoration: none; }
.portal-nav :is(.portal-menu, .site-menu) > li > a { text-transform: uppercase; white-space: nowrap; }
.portal-nav :is(.portal-menu, .site-menu) a:hover, .portal-nav :is(.portal-menu, .site-menu) a:focus-visible { background: #00512a; color: #fff; }
.portal-nav .current-menu-item > a, .portal-nav .current-menu-parent > a, .portal-nav .current-cat > a { background: #00512a; }
.portal-nav :is(.portal-menu, .site-menu) .sub-menu { display: block; position: static; width: auto; border: 0; background: #00582d; box-shadow: none; }
.portal-nav :is(.portal-menu, .site-menu) .sub-menu a { justify-content: flex-start; padding: 10px 16px; color: #fff; font-size: 0.78rem; font-weight: 550; }
.portal-navigation-enhanced .portal-nav:not(.is-open) { overflow-x: auto; }
.portal-navigation-enhanced .portal-nav:not(.is-open) :is(.portal-menu, .site-menu) { flex-wrap: nowrap; }
.portal-navigation-enhanced .portal-nav:not(.is-open) :is(.portal-menu, .site-menu) .sub-menu { display: none; }
.portal-nav.is-open :is(.portal-menu, .site-menu) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 8px; }
.portal-nav.is-open :is(.portal-menu, .site-menu) > li { min-width: 0; }
.portal-nav.is-open :is(.portal-menu, .site-menu) > li > a { justify-content: flex-start; white-space: normal; }
.portal-news-ticker { border-bottom: 1px solid #e0e5e1; background: #f8faf9; }
.portal-ticker-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 37px; }
.portal-ticker-label { padding: 4px 8px; border-radius: 2px; background: #ce1828; color: #fff; font-size: 0.68rem; line-height: 1.4; text-transform: uppercase; white-space: nowrap; }
.portal-ticker-scroll { overflow-x: auto; scrollbar-width: none; }
.portal-ticker-scroll::-webkit-scrollbar { display: none; }
.portal-ticker-controls { display: flex; }
.portal-ticker-controls[hidden] { display: none; }
.portal-ticker-controls button { display: grid; place-items: center; width: 32px; height: 36px; padding: 0; border: 0; background: transparent; color: #17231c; font-size: 25px; cursor: pointer; }
.portal-ticker-controls button:hover { background: #edf5f0; }
.portal-ticker-scroll ul { display: flex; align-items: center; gap: 24px; width: max-content; min-height: 37px; margin: 0; padding: 0; list-style: none; }
.portal-ticker-scroll li { display: flex; align-items: baseline; gap: 8px; }
.portal-ticker-scroll time { color: #546258; font-size: 0.69rem; white-space: nowrap; }
.portal-ticker-scroll a { color: #142019; font-size: 0.77rem; font-weight: 650; text-decoration: none; }
.portal-ticker-scroll a:hover { color: #006936; text-decoration: underline; }
.portal-footer { margin-top: 28px; border-top: 1px solid #dde4df; background: #f8faf9; color: #56635b; }
.portal-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 0; padding-block: 18px; border: 0; font-size: 0.76rem; }
.portal-footer .footer-bottom p { margin: 0; }
.portal-footer .footer-bottom a { flex-shrink: 0; color: #006936; font-weight: 650; text-decoration: none; }
.portal-header :focus-visible, .portal-news-ticker :focus-visible, .portal-footer :focus-visible { outline: 3px solid #c28416; outline-offset: 2px; }
@media (max-width: 1080px) {
	.portal-masthead { grid-template-columns: minmax(0, 1fr) 185px 140px 42px; gap: 12px; min-height: 80px; }
	.portal-wordmark { font-size: clamp(1.45rem, 2.8vw, 2rem); }
	.portal-brand img { width: 44px; height: 44px; }
}
@media (max-width: 800px) {
	.portal-masthead { grid-template-columns: minmax(0, 1fr) 144px 42px; gap: 8px 12px; padding-block: 10px; }
	.portal-branding { grid-column: 1 / 3; }
	.portal-menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
	.portal-search { grid-column: 1; grid-row: 2; }
	.portal-district-picker { grid-column: 2 / 4; grid-row: 2; }
	.portal-wordmark { font-size: 1.95rem; }
	.portal-nav :is(.portal-menu, .site-menu) a { min-height: 44px; padding-inline: 15px; font-size: 0.77rem; }
	.portal-nav.is-open :is(.portal-menu, .site-menu) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.portal-masthead { grid-template-columns: minmax(0, 1fr) 100px 36px; gap: 7px 8px; padding-block: 8px; }
	.portal-brand { gap: 7px; }
	.portal-brand img { width: 36px; height: 36px; }
	.portal-wordmark { font-size: clamp(1.19rem, 5.5vw, 1.52rem); letter-spacing: -0.055em; }
	.portal-branding .custom-logo { max-height: 42px; }
	.portal-menu-toggle { width: 36px; height: 40px; }
	.portal-district-picker summary { padding-inline: 8px; gap: 5px; font-size: 0.76rem; }
	.portal-search .search-field { font-size: 16px; padding-inline: 9px; }
	.portal-nav.is-open :is(.portal-menu, .site-menu) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.portal-ticker-inner { gap: 8px; }
	.portal-ticker-label { font-size: 0.6rem; padding-inline: 6px; }
	.portal-ticker-scroll a { font-size: 0.72rem; }
	.portal-footer .footer-bottom { align-items: flex-start; font-size: 0.69rem; }
}
@media print {
	.portal-navigation-bar, .portal-search, .portal-district-picker, .portal-menu-toggle, .portal-news-ticker, .portal-footer { display: none; }
	.portal-masthead { display: block; min-height: 0; }
}
