/*
Theme Name: scnm
Author: Gregor
Description: A custom WordPress theme for the SCNM website.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
*/

/* Per-unit color overrides */

.unit-sss   { --wp--preset--color--primary: #e63946; --wp--preset--color--primary-light: #fde8ea; }
.unit-serstg{ --wp--preset--color--primary: #2563eb; --wp--preset--color--primary-light: #dbeafe; }
.unit-szks  { --wp--preset--color--primary: #059669; --wp--preset--color--primary-light: #d1fae5; }
.unit-sglvs { --wp--preset--color--primary: #d97706; --wp--preset--color--primary-light: #fef3c7; }
.unit-eio   { --wp--preset--color--primary: #7c3aed; --wp--preset--color--primary-light: #ede9fe; }
.unit-vss   { --wp--preset--color--primary: #0891b2; --wp--preset--color--primary-light: #cffafe; }
.unit-mic   { --wp--preset--color--primary: #be185d; --wp--preset--color--primary-light: #fce7f3; }

/* ═══════════════════════════════
   Header navigation
═══════════════════════════════ */
.scnm-header-nav a,
.scnm-header-nav a:visited {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	color: var(--wp--preset--color--dark);
	padding: 0 0.5rem;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.scnm-header-nav a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration-color: currentColor;
}
.scnm-header-cta a,
.scnm-header-cta a:visited {
	background: var(--wp--preset--color--primary-light);
	color: #fff;
	padding: 0.4em 1em;
	border-radius: 6px;
	margin-left: 2.5rem;
	text-decoration-color: transparent;
}
.scnm-header-cta a:hover {
	text-decoration-color: transparent;
	opacity: 0.85;
}
