@import url("theme_settings/theme_settings.css");

/* PALISD (district) campus stylesheet.
   The Palisades master design system is delivered to this campus via the
   per-campus master-CSS toggle (common_files/main.css) — enable it in CMS
   admin. Keep this file for campus-specific overrides only. */

/* District topbar is color-1 themed; the master default (color-2) is the common
   case for the schools. Scoped (0,2,0) to beat the master rule whatever the
   stylesheet load order. The search link inherits this color from the inner. */
.site-header .header-topbar {
	background-color: var(--color-1);
	color: var(--color-over-1);
}

/* District footer inverts the master's common row sequence (2,1,2 vs 1,2,1).
   Scoped (0,2,0) to beat the master rules; themed text children inherit. */
.site-footer .footer-row--top    { background-color: var(--color-2); color: var(--color-over-2); }
.site-footer .footer-row--mid    { background-color: var(--color-1); color: var(--color-over-1); }
.site-footer .footer-row--bottom { background-color: var(--color-2); color: var(--color-over-2); }

/* Header identity = the shared school_logo.png masked into the banner shape.
   Mask sits on the link (not the img) and stretches to its box (100% 100%).
   Referenced per campus / same-origin — a master stylesheet pointing at the
   campus SVG fails the mask resource CORS check. */
a.header-identity__link {
	background-color: var(--color-2);
	color: var(--color-over-2);
	-webkit-mask-image: url("/pics/header_logo_mask.svg");
	        mask-image: url("/pics/header_logo_mask.svg");
	-webkit-mask-size: 100% 100%;
	        mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
}
