/*
Theme name: SDT - Shared (general disclosure sites)
Description: One theme for many district sites. Band color and logo are per-site Theme Options.
*/

/*
	Source post-css styles are located in resources/css/
	The compiled bundle is saved to `dist/css/bundle-${fingerprint}.css`
	(dist/manifest.json provides the exact path mapping).

	DEVELOPMENT.md file contains instructions how to get the compilation
	process up & running.

	If you need to make a quick fix, feel free to add CSS
	below this comment -- it's loaded after the compiled bundle.
*/

p {  }

/* A CFD with five report columns shows five across on a desktop, its long file names breaking
   inside their narrower column. Everything else (four-column
   CFDs at any width, every CFD on a tablet or phone) is exactly as the bundle draws it. */
@media (min-width: 1025px) {
	.list-info:has(> li:nth-child(5)) > li { width: 20%; padding-left: 15px; padding-right: 15px; }
	.list-info:has(> li:nth-child(5)) ul a { overflow-wrap: anywhere; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
	/* A heading fits on one line from 1200px up but can take two below that, so in this range
	   every heading gets two lines' room and sits on the bottom one; the file lists then start
	   level. */
	.list-info:has(> li:nth-child(5)) > li > span { display: flex; align-items: flex-end; min-height: 3em; }
}

/* The menu sits centered on the page on a desktop, both ends the same distance from the band's
   edges. The bundle pushes it to the right edge, which only shows on a short menu (no Parcel Search
   or FAQ). Tablets and phones keep their menu button on the right. */
@media (min-width: 1025px) {
	.header .shell { position: relative; }
	.header .nav { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; }
}
