/* ==================================================================
   SAC-ACE CMS THEME LAYER
   main.css and site.css are the SAC-ACE design files (CMS-Master-2025).
   This file adapts them to the CMS shell: a header that also carries the
   language, search, forums and account links; the slide-out drawer from
   mobile-nav.css instead of the design's jPushMenu; banners that size
   themselves around the fixed header; the home page bands; the footer;
   and the contact page. Load it after main.css, site.css and mobile-nav.css.
   ================================================================== */

:root {
	--header-pad-x: 30px;
	--logo-width: 280px;
	--logo-height: 71px;
	--header-h: 150px;          /* desktop header height, used to clear the banner */
	--ease-out: cubic-bezier(.16,1,.3,1);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* :::::::::::::::::::::::::::: HEADER :::::::::::::::::::::::::::: */

/* The design positions the logo, links and menu absolutely inside a fixed
   135px bar. Here the bar is a grid that grows with its content, so the
   extra utility links can never overlap the logo or the menu. */
#header {
	background: transparent;
	transition: background-color .4s ease, box-shadow .4s ease;
}
/* A navy fade behind the header so the menu stays readable over bright
   banner photos. It runs a little past the header so there is no hard edge,
   and gives way to the solid sticky bar once the page scrolls. */
#header::before {
	content: "";
	position: absolute;
	inset: 0 0 -70px 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(11,15,35,.88) 0%, rgba(11,15,35,.72) 55%, rgba(11,15,35,0) 100%);
	pointer-events: none;
	transition: opacity .4s ease;
}
#header.sticky::before {
	opacity: 0;
}
#header #navbar > ul.nav > li > a,
#header .header-utility a,
#header .header-utility span {
	text-shadow: 0 1px 4px rgba(0,0,0,.65);
}
#header.sticky {
	background: var(--primary-alpha-4);
	box-shadow: 0 10px 30px rgba(0,0,0,.25);
	backdrop-filter: blur(6px);
}

#header .inner.top,
#header .inner.top.sticky {
	height: auto;
	max-width: 1440px;
	padding: 0 var(--header-pad-x);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"logo utility"
		"nav nav";
	align-items: center;
	column-gap: 30px;
	transition: padding .3s ease;
}

#header .header-logo {
	grid-area: logo;
	display: block;
	line-height: 0;
	padding: 12px 0;
	transition: padding .3s ease;
}
#header .inner.top.sticky .header-logo {
	padding: 6px 0;
}
#logo,
#logo.sticky {
	position: static;
	width: var(--logo-width);
	height: var(--logo-height);
	background-size: contain;
	background-position: left center;
	transition: width .3s ease, height .3s ease;
}
#logo.sticky {
	width: calc(var(--logo-width) * .75);
	height: calc(var(--logo-height) * .75);
}

/* ~ utility row: contact, sign-in, language, search, social ~ */
#header .header-utility {
	grid-area: utility;
	justify-self: end;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	line-height: 1;
	text-transform: uppercase;
}
#header .header-utility > li {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
#header .header-utility a,
#header .header-utility a:visited,
#header .header-utility span {
	color: #fff;
	font-size: 15px;
}
#header .header-utility a:hover,
#header .header-utility a:focus-visible {
	color: var(--tertiary);
}

/* The forum bell renders nothing when forums are off; don't leave a gap. */
#header .header-utility > li:not(:has(*)) {
	display: none;
}
#header .header-lang {
	gap: 8px;
}
#header .header-lang .is-active {
	color: var(--tertiary);
	font-weight: 600;
}
#header .header-lang > * + *::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 11px;
	margin-right: 8px;
	background: rgba(255,255,255,.4);
	vertical-align: -1px;
}

#header .header-social img.social-icon {
	display: block;
	width: 21px;
	height: 21px;
	margin: 0;
	transition: transform .4s ease;
}
#header .header-social a:hover img.social-icon {
	transform: rotate(5deg);
}

#header .header-search form {
	margin: 0;
}
#header .header-search input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	width: 34px;
	height: 30px;
	margin: 0;
	padding: 0 12px 0 30px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 999px;
	background: rgba(255,255,255,.08) url(../images/icon-search.png) 9px 50% no-repeat;
	background-size: 14px auto;
	color: #fff;
	font: 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	text-transform: none;
	cursor: pointer;
	transition: width .35s var(--ease-out), background-color .2s ease, border-color .2s ease;
}
#header .header-search input[type="search"]::placeholder {
	color: transparent;
}
#header .header-search input[type="search"]:hover {
	border-color: rgba(255,255,255,.6);
}
#header .header-search input[type="search"]:focus,
#header .header-search input[type="search"]:not(:placeholder-shown) {
	width: 200px;
	cursor: text;
	outline: 0;
	border-color: var(--tertiary);
	background-color: rgba(0,0,0,.35);
}
#header .header-search input[type="search"]:focus::placeholder {
	color: rgba(255,255,255,.55);
}
#header .header-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* Desktop forum bell sits in the utility row. */
#header .forum-bell--desktop .forum-bell__link,
#header .forum-bell--desktop .forum-bell__button {
	color: #fff;
}

/* ~ menu row: full width under a hairline, as in the design ~ */
#header #navbar {
	grid-area: nav;
	position: static;
	min-width: 0;
	width: auto;
}
#header ul.nav {
	flex-wrap: nowrap;
}
#header #navbar > ul.nav > li {
	padding: 8px 14px 6px;
	border-bottom: 3px solid transparent;
	transition: border-color .2s ease;
}
#header #navbar > ul.nav > li:hover,
#header #navbar > ul.nav > li:active,
#header #navbar > ul.nav > li:focus-within {
	padding: 8px 14px 6px;
	border-bottom-color: var(--tertiary);
}
/* The design stretches each link across its item, which pushes the
   submenu arrow to the far edge; keep the link (and arrow) on its text. */
#header #navbar > ul.nav > li > a {
	display: inline-block;
	width: auto;
}
#header #navbar > ul.nav > li.has-submenu > a {
	padding-right: 18px;
}
/* ~ dropdowns ~
   White panels with navy text, a gold rule on top, and a right chevron on
   items that open a further level. The third level flies out beside its
   item, lined up with it. The CMS gives the dropdown the same "nav" class
   as the menu itself, so the design's ul.nav rules are undone here. */
#header ul.nav ul.nav {
	display: block;
	justify-content: normal;
}
#header #navbar ul.nav li ul {
	min-width: 250px;
	width: max-content;
	max-width: 340px;
	padding: 6px 0;
	margin-top: 3px;
	background: #fff;
	border-top: 3px solid var(--tertiary);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 18px 40px -10px rgba(11,15,35,.45), 0 2px 6px rgba(11,15,35,.12);
	transform: translateY(6px);
	transition: transform .2s var(--ease-out), opacity .2s ease, visibility 0s .2s;
}
#header #navbar ul.nav li:hover > ul,
#header #navbar ul.nav li:focus-within > ul {
	transform: none;
	transition: transform .2s var(--ease-out), opacity .2s ease, visibility 0s;
}
/* A bridge over the gap above the panel, so moving the pointer down to it
   does not close it. */
#header #navbar ul.nav li ul::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -9px;
	height: 9px;
}
#header #navbar ul.nav li ul li,
#header #navbar ul.nav li ul li:hover {
	position: relative;
	padding: 0;
	font-size: 15px;
	background: transparent;
	border: 0;
	white-space: normal;
}
#header #navbar ul.nav li ul li a {
	display: block;
	padding: 9px 20px;
	color: var(--darkblue);
	font-weight: 500;
	line-height: 1.3;
	text-shadow: none;
	background: none;
	transition: background-color .15s ease, color .15s ease;
}
#header #navbar ul.nav li ul li:hover > a,
#header #navbar ul.nav li ul li:focus-within > a,
#header #navbar ul.nav li ul li a:focus-visible {
	color: var(--primary);
	background-color: #eef0f7;
}
#header #navbar ul.nav li ul li.active > a {
	color: var(--primary);
	font-weight: 700;
}
/* Items that open a further level: a right chevron instead of the design's
   down-arrow image. */
#header #navbar ul.nav li ul li.has-submenu > a {
	padding-right: 38px;
}
#header #navbar ul.nav li ul li.has-submenu > a::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	opacity: .55;
}
/* Third level: beside its item, top edges lined up. */
#header #navbar ul.nav li ul li ul {
	top: -6px;
	left: 100%;
	margin: 0 0 0 4px;
	border-top: 0;
	border-left: 3px solid var(--tertiary);
	border-radius: 0 6px 6px 0;
	transform: translateX(6px);
	transform-origin: left;
}
#header #navbar ul.nav li ul li ul::before {
	top: 0;
	bottom: 0;
	left: -9px;
	right: auto;
	width: 9px;
	height: auto;
}
#header #navbar ul.nav li ul li:hover > ul,
#header #navbar ul.nav li ul li:focus-within > ul {
	transform: none;
	background-color: #fff;
}
/* The last items' dropdowns line up with the right edge of their item so
   they never touch the edge of the window, and their third levels open to
   the left. */
#header #navbar > ul.nav > li:nth-last-child(-n+2) > ul {
	left: auto;
	right: 0;
}
#header #navbar > ul.nav > li:nth-last-child(-n+3) li ul {
	left: auto;
	right: 100%;
	margin: 0 4px 0 0;
	border-left: 0;
	border-right: 3px solid var(--tertiary);
	border-radius: 6px 0 0 6px;
	transform: translateX(-6px);
	transform-origin: right;
}
#header #navbar > ul.nav > li:nth-last-child(-n+3) li ul::before {
	left: auto;
	right: -9px;
}
#header #navbar > ul.nav > li:nth-last-child(-n+3) li:hover > ul,
#header #navbar > ul.nav > li:nth-last-child(-n+3) li:focus-within > ul {
	transform: none;
}

@media screen and (max-width: 1280px) {
	:root {
		--header-pad-x: 20px;
		--logo-width: 230px;
		--logo-height: 58px;
		--header-h: 134px;
	}
	#header #navbar > ul.nav > li,
	#header #navbar > ul.nav > li:hover { font-size: 16px; padding-left: 10px; padding-right: 10px; }
}

/* ~ tight mode ~ set by main_nav's script when the menu would overflow */
html.nav-tight #header #navbar > ul.nav > li,
html.nav-tight #header #navbar > ul.nav > li:hover {
	font-size: 14px;
	padding-left: 6px;
	padding-right: 6px;
}

/* ~ compact mode ~
   Menu length is set by the CMS, so a breakpoint alone can't promise the
   menu fits. main_nav measures it and adds .nav-compact to <html> when it
   would overflow; the drawer then takes over, exactly as on mobile. */
html.nav-compact #menubar {
	display: flex;
}
html.nav-compact #header.desktop {
	display: none;
}
html.nav-compact .drawer {
	display: flex;
}
html.nav-compact .drawer-backdrop {
	display: block;
}

/* :::::::::::::::::::::::::::: MOBILE BAR / DRAWER :::::::::::::::::::::::::::: */
/* The design hides #menubar from 670px up with !important, but this site
   switches to the bar and drawer below 900px (and in compact mode at any
   width), so between 670px and 900px there was no menu at all. */
@media screen and (max-width: 900px) {
	html body #menubar {
		display: flex !important;
	}
}
html.nav-compact body #menubar {
	display: flex !important;
}
#logo-mobile {
	background-image: var(--logo-w);
	background-repeat: no-repeat;
}
#menubar #logo-mobile {
	right: auto;
	top: auto;
}
.drawer-search {
	flex: 0 0 auto;
	position: relative;
	margin: 0;
	padding: 14px 18px;
	border-bottom: 1px solid var(--drawer-line);
}
.drawer-search input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 52px 0 18px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 999px;
	background: rgba(255,255,255,.06);
	color: #fff;
	font-size: 15px;
	line-height: 1;
	transition: border-color .2s ease, background-color .2s ease;
}
.drawer-search input[type="search"]::placeholder {
	color: rgba(255,255,255,.45);
}
.drawer-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}
.drawer-search input[type="search"]:focus {
	outline: 0;
	border-color: var(--tertiary);
	background-color: rgba(255,255,255,.09);
}
/* round search button sitting inside the right end of the field */
.drawer-search-submit {
	position: absolute;
	top: 50%;
	right: 23px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tertiary);
	color: var(--darkblue);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}
.drawer-search-submit:hover,
.drawer-search-submit:focus-visible {
	background: #b5a55c;
	outline: 0;
}
.drawer-search-submit:focus-visible {
	box-shadow: 0 0 0 3px rgba(203,188,118,.35);
}
.drawer-search-submit:active {
	transform: scale(.94);
}
#drawernav .drawer-extra {
	border-top: 1px solid var(--drawer-line);
	margin-top: 18px;
}
#drawernav .drawer-extra li > a,
#drawernav .drawer-extra .forum-bell {
	min-height: 46px;
	font-size: 14px;
	color: rgba(240,242,247,.75);
}
#drawernav .drawer-extra .forum-bell {
	display: flex;
	align-items: center;
	padding: 0 18px;
}

/* :::::::::::::::::::::::::::: BANNER :::::::::::::::::::::::::::: */
/* The header floats over the banner photo; the photo's top fade keeps the
   white header links readable. */
#banner {
	background-color: var(--darkblue);
}
#banner .banner-back {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}
#banner .rslides li.banner-back {
	position: absolute;
}
#banner .rslides li.banner-back:first-child {
	position: relative;
}
#banner .container {
	position: relative;
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
}
#banner .textwrapper {
	padding: 0 var(--header-pad-x);
}
#banner .textwrapper .button {
	margin: 18px 0 0;
}

/* inside page: the page title and breadcrumbs sit on the photo */
#banner.inside {
	height: calc(var(--header-h) + 40px);
	min-height: 0;
	max-height: none;
}
#banner.inside.has-title {
	height: 40vh;
	min-height: calc(var(--header-h) + 170px);
	max-height: 500px;
}
#banner .banner-title {
	margin: 10px 0;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 2.6em;
	font-weight: 600;
	letter-spacing: -1px;
	line-height: 1.15;
	text-shadow: 0 1px 9px rgba(0,0,0,.4);
}
#banner hr.hr_gradient {
	margin: 14px 0 12px;
}
#banner .breadcrumbs {
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	color: #fff;
	text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
/* The design colours only unvisited .beige links, so a visited crumb fell
   back to the blue link colour and vanished into the photo. */
#banner .breadcrumbs a:link,
#banner .breadcrumbs a:visited {
	color: var(--tertiary);
	text-decoration: none;
}
#banner .breadcrumbs a:hover,
#banner .breadcrumbs a:focus-visible {
	color: #fff;
	text-decoration: underline;
}
#banner .breadcrumbs span {
	margin: 0 4px;
}

/* :::::::::::::::::::::::::::: PAGE HEIGHT :::::::::::::::::::::::::::: */
/* Keep the footer at the bottom of the window on pages with little content:
   the page is a column at least as tall as the window and the footer's top
   margin takes up the slack. The content must not be the part that grows: a
   stretched flex item gets a fixed height, and the design's
   .inner/.container { height: 100% } would then lock every band to it (the
   admin region editor overflowed by thousands of pixels). The header, menu
   bar and drawer are fixed, so they are out of the column anyway. */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body > * {
	flex-shrink: 0;
}
body > .content,
body > #content {
	width: 100%;           /* auto side margins would otherwise shrink it to its text */
}
body > #footer {
	margin-top: auto;
}

/* :::::::::::::::::::::::::::: CONTENT :::::::::::::::::::::::::::: */
/* The design sizes heading links (h3 a:link) as well as headings, which beats
   any component that sizes its own heading (search results, event lists,
   forums...). Links inherit the heading's size instead. */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
	font-size: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}
/* The design's h1 is gold, which is too faint on white for a page heading. */
.content h1,
.content h1 a:link,
.content h1 a:visited {
	color: var(--primary);
}

.content > .cms-content-region:last-of-type > :last-child { margin-bottom: 0; }

/* :::::::::::::::::::::::::::: HOME :::::::::::::::::::::::::::: */
.home-band {
	padding: 70px var(--header-pad-x);
}
.home-band > .container {
	max-width: 1440px;
	margin: 0 auto;
}
.home-band.home-partners {
	padding-top: 34px;
	padding-bottom: 26px;
}
.home-partners .sponsors__logos {
	margin: 0 0 14px;
	padding: 0;
}
.home-chapters .module-text > :first-child { margin-top: 0; }
.home-chapters .regions__grid {
	margin-top: 30px;
}
.region,
a.region:link,
a.region:visited,
a.region:hover,
a.region:focus-visible {
	color: #fff;
	text-decoration: none;
}
.region:not(.is-link):hover {
	transform: none;
	box-shadow: none;
}
.region:not(.is-link):hover .region__img { transform: none; }
.region:not(.is-link)::after { display: none; }

.home-feed__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 70px;
}
.home-feed__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--lightgrey);
}
.home-feed__head h2 {
	margin: 0 0 10px;
	color: #111;
	font-size: 1.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0;
}
.home-feed__head a {
	white-space: nowrap;
}
.home-feed__item {
	padding: 0 0 18px;
	margin: 0 0 18px;
	border-bottom: 1px solid var(--lightgrey);
}
.home-feed__item:last-child {
	border-bottom: 0;
}
.home-feed__item h3 {
	margin: 2px 0 6px;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0;
}
.home-feed__item h3 a:link,
.home-feed__item h3 a:visited {
	color: var(--primary);
}
.home-feed__item h3 a:hover {
	color: var(--link);
}
.home-feed__item p {
	margin: 0;
}
.home-feed__date {
	color: var(--darkgrey);
	font-size: .9rem;
	font-style: italic;
}
.home-feed__category {
	color: var(--link);
	font-size: .85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.home-feed__empty {
	color: var(--darkgrey);
}

.blue-section .inner {
	position: relative;
	z-index: 1;
}
.blue-section .module-text > :first-child { margin-top: 0; }
.blue-section p,
.blue-section li {
	color: #fff;
}
.blue-section a:link:not(.button):not(.buttonsmall),
.blue-section a:visited:not(.button):not(.buttonsmall) {
	color: var(--tertiary);
}
.blue-section__button > :first-child { margin-top: 0; }

@media screen and (max-width: 1200px) {
	.regions__grid { grid-template-columns: repeat(4, 1fr); }
	.blue-section__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 900px) {
	.home-band { padding: 50px 20px; }
	.home-feed__grid { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 670px) {
	.regions__grid { grid-template-columns: repeat(2, 1fr); }
	.blue-section__grid { grid-template-columns: minmax(0, 1fr); }
	.home-band { padding: 40px 15px; }
}

/* :::::::::::::::::::::::::::: FOOTER :::::::::::::::::::::::::::: */
#footer .footer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 30px 50px;
}
#footer .footer-row::after { content: none; }
#footer .logo {
	width: 280px;
	max-width: 100%;
	height: 71px;
	background: var(--logo-w) no-repeat left center;
	background-size: contain;
}
#footer ul.footer-links,
#footer ul.footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 30px;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer ul.footer-links li,
#footer ul.footer-social li {
	padding: 0;
}
#footer a:hover {
	color: var(--tertiary);
}
#footer .footer-social img {
	display: block;
	width: 22px;
	height: 22px;
}

/* the back-to-top button fades in after 200px of scrolling (head_scripts) */
a.go-top {
	display: none;
	padding: 0;
}

@media screen and (max-width: 670px) {
	#footer .footer-row {
		flex-direction: column;
		text-align: center;
	}
	#footer .logo {
		width: 220px;
		height: 56px;
		background-position: center;
	}
	#footer ul.footer-links {
		flex-direction: column;
	}
}

/* :::::::::::::::::::::::::::: SMALL SCREENS :::::::::::::::::::::::::::: */
/* Below 900px the fixed menu bar replaces the header (mobile-nav.css), so the
   banner starts below the bar and no longer needs room for the header. */
@media screen and (max-width: 900px) {
	#banner.home,
	#banner.home .rslides.home,
	#banner.home .rslides.home li {
		height: 72vh;
		min-height: 460px;
	}
	#banner.inside {
		height: 70px;
	}
	/* A fixed height: the title is pinned to the bottom of a 100%-tall box,
	   which has nothing to measure against when the banner's height is auto. */
	#banner.inside.has-title {
		height: 230px;
		min-height: 0;
	}
	#banner .fadevert {
		display: none;
	}
	#banner .textwrapper {
		padding: 0 20px;
	}
	#banner .banner-title {
		font-size: 1.9em;
	}
}
html.nav-compact #banner,
html.nav-compact #banner.home {
	margin-top: var(--bar-h);
}
html.nav-compact #banner.inside {
	height: 70px;
}
html.nav-compact #banner.inside.has-title {
	height: 260px;
	min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
	#banner h2, #banner h3 {
		animation: none !important;
		opacity: 1 !important;
	}
	a.button, button.button {
		animation: none;
	}
}

@media print {
	#header,
	#menubar,
	#mobiledrawer,
	.drawer-backdrop,
	#footer,
	#banner,
	a.go-top {
		display: none !important;
	}
}

/* :::::::::::::::::::::::::::: CONTACT US (/contact-us) :::::::::::::::::::::::::::: */
/* The CMS text for the Contact Us page sits above the message form.
   Markup: resources/views/frontend/contact/index.blade.php, behaviour: resources/js/contact-form.js */
.contact-page [hidden] {display: none !important;}

.contact-page .contact-card {
	max-width: 760px;
	margin: 30px 0 0;
	padding: 32px;
	background: #fff;
	border: 1px solid #e1e4ec;
	border-top: 4px solid var(--primary);
	border-radius: 10px;
	box-shadow: 0 26px 50px -34px rgba(22, 29, 60, .4);
	container-type: inline-size;
}
.contact-page .contact-card-title {
	margin: 0 0 6px;
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: -.5px;
	line-height: 1.2;
	color: var(--primary);
}
.contact-page .contact-card.is-sent .contact-card-title {display: none;}

/* Form */
.contact-page .contact-form {margin-top: 20px;}
.contact-page .cf-field {margin: 0 0 18px;}
.contact-page .cf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
@container (max-width: 440px) {
	.contact-page .cf-row {grid-template-columns: 1fr;}
}
.contact-page .cf-field label {
	display: block;
	margin: 0 0 6px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--secondary);
}
.contact-page .cf-optional {
	font-weight: 400;
	color: var(--grey);
}
.contact-page .cf-field input,
.contact-page .cf-field textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: #222;
	background: #fff;
	border: 1px solid #d3d6e0;
	border-radius: 6px;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.contact-page .cf-field textarea {
	min-height: 150px;
	resize: vertical;
}
.contact-page .cf-field input:hover,
.contact-page .cf-field textarea:hover {border-color: #b3b8c6;}
.contact-page .cf-field input:focus,
.contact-page .cf-field textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-alpha-2);
}
.contact-page .cf-field.has-error input,
.contact-page .cf-field.has-error textarea {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(220, 24, 61, .1);
}
.contact-page .cf-error {
	margin: 6px 0 0;
	font-size: .88rem;
	line-height: 1.3;
	color: var(--red);
}
.contact-page .cf-error:empty {display: none;}
.contact-page .contact-alert {
	margin: 0 0 20px;
	padding: 12px 16px;
	font-size: .95rem;
	line-height: 1.4;
	color: #8a0f26;
	background: #fdeef1;
	border-left: 4px solid var(--red);
	border-radius: 6px;
}
.contact-page .cf-actions {margin-top: 6px;}
.contact-page .contact-submit {
	margin: 0;
	min-width: 200px;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
}
.contact-page .contact-submit:focus-visible {
	outline: 3px solid var(--tertiary);
	outline-offset: 2px;
}
.contact-page .contact-submit[disabled] {
	opacity: .65;
	cursor: progress;
}
.contact-page .cf-privacy {
	margin: 16px 0 0;
	font-size: .85rem;
	line-height: 1.4;
	color: var(--darkgrey);
}

/* Honeypot for the spam guard: kept off-screen (not display:none) and out of
   reach of keyboards and screen readers. */
.contact-page .fg-trap {
	position: absolute !important;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Sent */
.contact-page .contact-success {
	padding: 8px 0 4px;
}
.contact-page .contact-success:focus {outline: none;}
.contact-page .contact-success-icon {
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 0 18px;
	border-radius: 50%;
	background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 56% no-repeat;
}
.contact-page .contact-success h3 {
	margin: 0 0 10px;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -.3px;
	line-height: 1.25;
	color: var(--primary);
}
.contact-page .contact-success p {
	margin: 0;
	color: #555;
}
@media screen and (max-width: 670px) {
	.contact-page .contact-card {padding: 22px 18px;}
	.contact-page .contact-submit {width: 100%;}
}

/* :::::::::::::::::::::::::::: ADMIN PAGE EDITOR (/admin/pages/{id}/regions) :::::::::::::::::::::::::::: */
/* The editor's toolbar (#cms_control, sass/cms/_controls.scss) moves the fixed
   header below itself, but its stylesheet loads before main.css, which sets
   the header back to top: 0. Repeat the offset here, after the theme. */
#cms_control ~ #header,
#cms_control ~ #menubar,
#cms_control ~ .drawer {
	top: 36px;
}
/* The editor's light region boxes wash out white text in the navy bands. */
.blue-section div.cms_region {
	background-color: rgba(11, 15, 35, .55);
	border-color: rgba(255, 255, 255, .35);
}

/* :::::::::::::::::::::::::::: PHOTO GALLERIES (migrated pages) :::::::::::::::::::::::::::: */

/* :::::::::::::::::::::::::::: CONTENT COMPONENTS ::::::::::::::::::::::::::::
   Markup used by page content migrated from sac-ace.ca (and available to
   editors in the source view). Behaviour is in public/cms/js/sac-content.js.
   ======================================================================== */

.content .sac-sr {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ~ grid ~  <div class="sac-row"><div class="sac-col sac-col-6">…</div>…</div>
   A 12-column row; columns stack on phones, and narrow ones pair up on tablets. */
.content .sac-row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 28px 32px;
	margin: 28px 0;
}
.content .sac-row--center { justify-content: center; }
.content .sac-row--center > .sac-col { grid-column: 3 / span 8; }
.content .sac-col { grid-column: span 12; min-width: 0; }
.content .sac-col-1 { grid-column: span 1; }  .content .sac-col-2 { grid-column: span 2; }
.content .sac-col-3 { grid-column: span 3; }  .content .sac-col-4 { grid-column: span 4; }
.content .sac-col-5 { grid-column: span 5; }  .content .sac-col-6 { grid-column: span 6; }
.content .sac-col-7 { grid-column: span 7; }  .content .sac-col-8 { grid-column: span 8; }
.content .sac-col-9 { grid-column: span 9; }  .content .sac-col-10 { grid-column: span 10; }
.content .sac-col > :first-child { margin-top: 0; }
.content .sac-col > :last-child { margin-bottom: 0; }
.content .sac-col img { display: block; }

/* A shaded panel (filled columns on the old site). */
.content .sac-col--card {
	padding: 24px 26px;
	background: #f4f5f9;
	border-radius: 10px;
}
/* Rows of an image beside its text (e.g. Resources): image and text share one panel. */
.content .sac-row:has(> .sac-col--card) { gap: 0; background: #f4f5f9; border-radius: 10px; overflow: hidden; margin: 18px 0; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card { background: none; border-radius: 0; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card:first-child:has(> img:only-child),
.content .sac-row:has(> .sac-col--card) > .sac-col--card:first-child:has(> p:only-child > img) { padding: 0; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card > img:only-child,
.content .sac-row:has(> .sac-col--card) > .sac-col--card > p:only-child > img {
	width: 100%; height: 100% !important; min-height: 150px; object-fit: cover; margin: 0;
}
.content .sac-row:has(> .sac-col--card) > .sac-col--card > p:only-child { margin: 0; height: 100%; }

/* An image with a caption under it (award winners, photo tiles). */
.content .sac-col--media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	height: auto !important;
	border-radius: 8px;
	margin-bottom: 14px;
}
.content .sac-col--media h3,
.content .sac-col--media h4,
.content .sac-col--media h5 { margin: 4px 0; }

/* WordPress-style image alignment from migrated content. */
.content img.sac-align-left { float: left; margin: 4px 18px 10px 0; }
.content img.sac-align-right { float: right; margin: 4px 0 10px 18px; }
.content img.sac-align-center { display: block; margin: 10px auto; }
.content p:has(> img.sac-align-left:only-child) { margin: 0; }
.content p:has(> img.sac-align-left:only-child) + h3,
.content p:has(> img.sac-align-left:only-child) + h4 { margin-top: 4px; padding-top: 10px; }
.content p:has(> img.sac-align-left:only-child) + h3 + *,
.content p:has(> img.sac-align-left:only-child) + h4 + * { clear: left; }

/* A post in a list of posts (Government & Regulatory Affairs). */
.content .sac-post {
	padding: 22px 0;
	border-bottom: 1px solid #e1e4ee;
}
.content .sac-post h3 { margin: 0 0 8px; font-size: 1.35rem; line-height: 1.3; }
.content .sac-post p { margin: 6px 0; }

/* A logo above its text (partner discounts). */
.content .sac-col--logo img {
	width: auto;
	max-width: 200px;
	max-height: 64px;
	margin-bottom: 14px;
	object-fit: contain;
}

/* A person: centred photo, name and role. */
.content .sac-col--person { text-align: center; }
.content .sac-col--person img {
	width: auto;
	max-width: min(100%, 200px);
	max-height: 240px;
	margin: 0 auto 14px;
	border-radius: 8px;
	filter: grayscale(1);
	transition: filter .3s ease;
}
.content .sac-col--person:hover img { filter: none; }
.content .sac-col--person h3 { margin: 0 0 4px; font-size: 1.25rem; }
.content .sac-col--person h4,
.content .sac-col--person h5 { margin: 0 0 6px; font-size: .95rem; color: var(--darkgrey); font-weight: 600; }
.content .sac-col--person p { margin: 6px 0; text-align: left; }
.content .sac-col--person p:has(> a:only-child) { text-align: center; }

/* Buttons that stood on their own line on the old site. */
.content .sac-actions { margin: 22px 0; }
.content .sac-row--center .sac-actions,
.content .sac-col--person .sac-actions { text-align: center; }

/* A call-to-action box (membership classes). */
.content .sac-box {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 26px 26px 22px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-top: 4px solid var(--primary);
	border-radius: 10px;
	box-shadow: 0 10px 24px -18px rgba(22,29,60,.5);
}
.content .sac-box h2 { margin-top: 0; font-size: 1.4rem !important; }
.content .sac-box .sac-actions { margin-top: auto; padding-top: 10px; }

/* Self-hosted video, full width with its own player. */
.content .sac-video video { display: block; width: 100%; height: auto; border-radius: 10px; background: #000; }

/* ~ regional board ~ a region's logo beside its text and its board as cards */
.content img.sac-logo {
	float: right;
	width: 220px;
	max-width: 40%;
	margin: 0 0 20px 30px;
	padding: 14px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content .sac-board {
	clear: both;
	margin: 50px 0 10px;
	padding-top: 34px;
	border-top: 1px solid #e1e4ee;
}
.content .sac-board > h2 { margin: 0 0 22px; }
.content .sac-contacts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}
.content .sac-contact {
	padding: 18px 20px 16px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
	line-height: 1.4;
}
.content .sac-contact p { margin: 0; }
.content .sac-contact__role {
	margin-bottom: 8px !important;
	font: 600 .74rem/1.3 var(--font-ui);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--darkgrey);
}
.content .sac-contact__name { font-weight: 700; color: var(--darkblue); font-size: 1.02rem; }
.content .sac-contact__org { color: var(--darkgrey); font-size: .92rem; }
.content .sac-contact__phone { margin-top: 8px !important; font-size: .92rem; }
.content .sac-contact__phone a { color: inherit; text-decoration: none; }
.content .sac-contact__links { margin-top: 6px !important; font-size: .9rem; display: flex; gap: 14px; }

/* ~ staff ~ */
.content .sac-people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 18px;
	margin: 10px 0 30px;
}
.content .sac-person {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content .sac-person p { margin: 4px 0; }
.content .sac-person__name { font: 700 1.15rem/1.3 var(--font-ui); color: var(--darkblue); }
.content .sac-person__role { color: var(--primary); font-weight: 600; margin-bottom: 12px !important; }

/* ~ link cards ~ <div class="sac-links"><a class="sac-link-card" href="…">
   <span class="sac-link-card__title">…</span><span class="sac-link-card__text">…</span></a></div> */
.content .sac-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
	margin: 28px 0;
}
.content .sac-links--years { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.content a.sac-link-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-height: 84px;
	padding: 22px 48px 22px 24px;
	color: var(--darkblue);
	text-decoration: none;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.content a.sac-link-card::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -5px;
	border-right: 2px solid var(--primary);
	border-bottom: 2px solid var(--primary);
	transform: rotate(-45deg);
	transition: right .2s ease;
}
.content a.sac-link-card:hover,
.content a.sac-link-card:focus-visible {
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -16px rgba(22,29,60,.5);
}
.content a.sac-link-card:hover::after { right: 18px; }
.content .sac-link-card__title { font: 700 1.2rem/1.25 var(--font-ui); color: var(--primary); }
.content .sac-link-card__text { font-size: .95rem; color: var(--darkgrey); }
.content a.sac-link-card::before { display: none; }

/* ~ coming soon ~ a placeholder until content is supplied */
.content .sac-coming {
	position: relative;
	max-width: 620px;
	margin: 10px 0 30px;
	padding: 26px 30px 26px 96px;
	background: #f4f5f9;
	border-radius: 12px;
}
.content .sac-coming::before {
	content: "\f091";   /* Font Awesome trophy */
	position: absolute;
	left: 28px;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	font: 900 21px/48px "Font Awesome 5 Free";
	text-align: center;
	color: var(--darkblue);
	background: var(--tertiary);
	border-radius: 50%;
}
.content .sac-coming p { margin: 0; }
.content .sac-coming__title {
	margin-bottom: 4px !important;
	font: 600 .78rem/1.3 var(--font-ui);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--primary);
}

/* ~ photo galleries ~
   <div class="sac-gallery"><a href="full.jpg" data-fancybox="g" data-thumb="thumb.jpg"><img src="thumb.jpg"></a>…
   Links marked .is-deferred have no thumbnail yet: sac-content.js adds them
   in batches behind a "Show more photos" button. */
.sac-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin: 28px 0 0;
}
.sac-gallery a {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 6px;
	background: #e9ebf2;
}
.sac-gallery a.is-deferred { display: none; }
.content .sac-gallery img {
	display: block;
	width: 100%;
	height: 100% !important;    /* the theme forces height:auto on content images */
	object-fit: cover;
	transition: transform .4s var(--ease-out), opacity .3s ease;
}
.sac-gallery a:hover img,
.sac-gallery a:focus-visible img {
	transform: scale(1.04);
}
.content .sac-gallery__actions { margin: 26px 0 0; text-align: center; }

/* Albums: one cover per album; the lightbox opens the album. */
.content .sac-albums {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px 24px;
	margin: 28px 0;
}
.content .sac-album > a.is-deferred { display: none; }
.content .sac-album__cover {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	background: #e9ebf2;
}
.content .sac-album__cover img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .5s var(--ease-out);
}
.content .sac-album__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(22,29,60,0) 55%, rgba(22,29,60,.7) 100%);
}
.content .sac-album__cover:hover img,
.content .sac-album__cover:focus-visible img { transform: scale(1.05); }
.content .sac-album__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 1;
	padding: 4px 10px;
	font: 600 .78rem/1.2 var(--font-ui);
	color: #fff;
	background: rgba(22,29,60,.75);
	border-radius: 20px;
}
.content .sac-album__count::before {
	content: "\f03e";   /* Font Awesome image */
	margin-right: 6px;
	font: 900 .72rem/1 "Font Awesome 5 Free";
}
.content h3.sac-album__title { margin: 12px 0 0; font-size: 1.08rem; line-height: 1.35; }

/* ~ regions band ~ the region cards under a region's page (regions template) */
.regions-band {
	padding: 50px 30px 64px;
	background: #f1f2f7;
}
.regions-band--all { padding-top: 0; background: #fff; }
.content:has(+ .regions-band--all) { padding-bottom: 36px; }
.regions-band__inner { max-width: 1380px; margin: 0 auto; }
.regions-band__title { margin: 0 0 22px; }
.regions__grid--page { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.regions__grid--page .region { aspect-ratio: 4 / 3; }
.regions__grid--page .region__logo, .content .regions__grid--page .region__logo { height: 34px; }
.regions__grid--page .region__name { font-size: 1rem; }
.regions__grid--page .region__type { font-size: .72rem; }
.regions__grid--page .region__more { font-size: .8rem; }
.regions__grid--page .region__info { padding: 18px 18px 20px; }
.regions__grid--others { grid-template-columns: repeat(6, 1fr); }
.regions__grid--others .region { aspect-ratio: 3 / 4; }

/* ~ region page ~ text beside a card with the region's logo and links */
.content .sac-region-card {
	position: sticky;
	top: 110px;
	padding: 26px;
	background: #f4f5f9;
	border-radius: 12px;
	text-align: center;
}
.content .sac-region-card img.sac-logo {
	float: none;
	display: block;
	width: 100%;
	max-width: 260px;
	margin: 0 auto 18px;
}
.content .sac-region-card p { margin: 10px 0 0; }
.content .sac-region-card .button { display: inline-block; }

@media screen and (max-width: 1280px) {
	.regions-band { padding-left: 20px; padding-right: 20px; }
}
@media screen and (max-width: 1100px) {
	.content .sac-row--center > .sac-col { grid-column: 1 / -1; }
	.regions__grid--page { grid-template-columns: repeat(3, 1fr); }
	.regions__grid--others { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 900px) {
	.content .sac-col-3, .content .sac-col-4 { grid-column: span 6; }
	.content .sac-col-5, .content .sac-col-7, .content .sac-col-8, .content .sac-col-9, .content .sac-col-10 { grid-column: span 12; }
	.content .sac-row:has(> .sac-col--card) > .sac-col-3 { grid-column: span 4; }
	.content .sac-row:has(> .sac-col--card) > .sac-col-9 { grid-column: span 8; }
}
@media screen and (max-width: 670px) {
	.content .sac-row { gap: 22px; }
	.content .sac-col { grid-column: 1 / -1 !important; }
	.content .sac-row > .sac-col--person:not(:only-child) { grid-column: span 6 !important; }
	.content .sac-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.content h3.sac-album__title { font-size: .92rem; }
	.content .sac-row:has(> .sac-col--card) > .sac-col--card:first-child:has(> img:only-child) img,
	.content .sac-row:has(> .sac-col--card) > .sac-col--card:first-child:has(> p:only-child > img) img { max-height: 220px; }
	.content img.sac-logo { float: none; display: block; margin: 0 0 20px; max-width: 220px; }
	.regions-band { padding: 34px 15px 44px; }
	.regions__grid--page,
	.regions__grid--others { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.regions__grid--page .region { aspect-ratio: 3 / 4; }
	.content .sac-region-card { position: static; }
	.sac-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
	.content .sac-coming { padding: 22px 22px 22px 84px; }
	.content .sac-coming::before { left: 20px; }
}

/* ~ migrated pages ~ <div class="sac-page"> wraps content brought over from
   the old site: its headings sit a size down from the design's display sizes. */
.content .sac-page h2 { font-size: 2rem; line-height: 1.25; margin: 34px 0 14px; }
.content .sac-page h3 { font-size: 1.45rem; line-height: 1.3; margin: 28px 0 10px; }
.content .sac-page h4 { font-size: 1.2rem; line-height: 1.35; margin: 22px 0 8px; }
.content .sac-page h5 { font-size: 1.05rem; line-height: 1.4; margin: 18px 0 6px; }
.content .sac-page > :first-child,
.content .sac-page .sac-col > :first-child { margin-top: 0; }

/* Side-by-side sections that end in a button: boxed, buttons lined up. */
/* (.sac-row--boxes: set by the migration on rows whose every column ends with a button.) */
.content .sac-row--boxes > .sac-col {
	display: flex;
	flex-direction: column;
	padding: 26px 28px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content .sac-row--boxes > .sac-col > .sac-actions:last-child { margin: auto 0 0; padding-top: 10px; }
.content .sac-page > .sac-row + .sac-actions { text-align: center; }

/* A region's own header: photo, logo and its mission, under our banner. */
.content .sac-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 240px;
	margin: 0 0 40px;
	overflow: hidden;
	background: var(--darkblue);
	border-radius: 12px;
}
.content img.sac-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	opacity: .32;
}
.content .sac-hero__text { position: relative; max-width: 920px; padding: 34px 40px; }
.content .sac-hero__text p { margin: 0 0 12px; color: #fff; font-size: 1.1rem; line-height: 1.55; }
.content .sac-hero__text p:last-child { margin-bottom: 0; }
.content .sac-hero__text .sac-hero__title { font: 600 1.9rem/1.2 var(--font-ui); color: var(--tertiary); }
.content img.sac-hero__logo { display: block; max-height: 80px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }

/* Testimonials: one quote at a time (sac-content.js cycles them). */
.content .sac-testimonials {
	position: relative;
	margin: 20px 0 36px;
	padding: 36px 40px 30px 100px;
	background: #f4f5f9;
	border-radius: 12px;
}
.content .sac-testimonials::before {
	content: "\f10d";   /* Font Awesome quote-left */
	position: absolute;
	left: 34px;
	top: 32px;
	font: 900 2.4rem/1 "Font Awesome 5 Free";
	color: var(--tertiary);
}
.content .sac-quote { margin: 0; padding: 0; border: 0; }
.content .sac-quote p { margin: 0 0 12px; font-size: 1.08rem; line-height: 1.6; font-style: italic; color: #333; }
.content .sac-quote .sac-quote__by { margin: 14px 0 0; font-style: normal; font-weight: 700; font-size: .95rem; color: var(--primary); }
.content .sac-testimonials:not(.is-ready) .sac-quote + .sac-quote,
.content .sac-testimonials.is-ready .sac-quote:not(.is-active) { display: none; }
.content .sac-testimonials .sac-quote.is-active { animation: sac-fade .5s ease; }
@keyframes sac-fade { from { opacity: 0; } to { opacity: 1; } }
.content .sac-testimonials__dots { display: flex; gap: 8px; margin-top: 20px; }
.content .sac-testimonials__dots button {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
	background: #c9cde0; cursor: pointer;
}
.content .sac-testimonials__dots button[aria-current="true"] { background: var(--primary); }

/* Posts in a list: title, summary, "Read more". */
.content .sac-post {
	margin: 0 0 16px;
	padding: 22px 26px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-bottom: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content a.sac-post__more { font-weight: 600; text-decoration: none; }
.content a.sac-post__more::after { content: " \2192"; }

/* A list made only of links: a grid of link cards. */
.content ul.sac-link-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
}
.content ul.sac-link-list li { padding: 0; }
.content ul.sac-link-list a {
	display: block;
	height: 100%;
	padding: 16px 40px 16px 18px;
	position: relative;
	font-weight: 600;
	text-decoration: none;
	color: var(--primary);
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
	transition: border-color .2s ease;
}
.content ul.sac-link-list a::after { content: "\203A"; position: absolute; right: 18px; top: 50%; transform: translateY(-52%); font-size: 1.4rem; }
.content ul.sac-link-list a:hover { border-color: var(--primary); }

/* "Coming soon" note for links to pages the new site does not have yet. */
.sac-soon {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(11,15,35,.55);
}
.sac-soon__box {
	max-width: 420px;
	padding: 30px 32px 26px;
	text-align: center;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 30px 60px -20px rgba(11,15,35,.5);
}
.sac-soon__box h2 { margin: 0 0 10px; font-size: 1.5rem; }
.sac-soon__box p { margin: 0 0 20px; }

@media screen and (max-width: 670px) {
	.content .sac-hero__text { padding: 26px 22px; }
	.content .sac-hero__text .sac-hero__title { font-size: 1.5rem; }
	.content .sac-testimonials { padding: 70px 22px 24px; }
	.content .sac-testimonials::before { left: 22px; top: 24px; font-size: 2rem; }
	.content .sac-page h2 { font-size: 1.6rem; }
	.content .sac-page h3 { font-size: 1.3rem; }
}
.content ul.sac-link-list a { text-align: left; }
.content .sac-post h3 a::after,
.content .sac-post h3 a::before { display: none !important; }
.content .sac-post h3 a { color: var(--darkblue); text-decoration: none; }
.content .sac-post h3 a:hover { color: var(--primary); }

/* ~ region feed ~ a region's own news and events (regions template) */
.region-feed { padding: 56px 30px 64px; background: #f6f7fa; border-top: 1px solid #e1e4ee; }
.region-feed .region-feed__inner { max-width: 1380px; margin: 0 auto; padding: 0; }
.region-feed__title { margin: 0 0 30px; }
.region-feed__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 20px;
	margin: 0 0 18px;
}
.region-feed__head h3 { margin: 0; font-size: 1.3rem; font-weight: 600; text-transform: uppercase; color: #111; }
.region-feed__head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.region-feed .posts-grid + .region-feed__head { margin-top: 44px; }
.region-feed .posts-grid { margin-bottom: 0; }
/* Every card here is from this region: no need to say so on each. */
.region-feed a.posts-region:link, .region-feed a.posts-region:visited { display: none; }
.region-feed .posts-card__media img { height: 100% !important; object-fit: cover; }
@media screen and (max-width: 1280px) { .region-feed { padding-left: 20px; padding-right: 20px; } }
@media screen and (max-width: 670px) { .region-feed { padding: 40px 15px 44px; } }

/* A post's region or chapter, linking to that region's posts. */
a.posts-region:link,
a.posts-region:visited {
	display: inline-block;
	padding: 2px 10px;
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--primary);
	background: #eef0f7;
	border-radius: 20px;
	text-decoration: none;
}
a.posts-region:hover { background: #e1e5f2; }

/* Partner offers (Membership Discounts): one card each, logos the same height. */
.content .sac-col--logo {
	display: flex;
	flex-direction: column;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content .sac-col--logo > p:first-child,
.content .sac-col--logo > img:first-child {
	display: flex;
	align-items: center;
	height: 64px;
	margin: 0 0 16px;
}
.content .sac-col--logo img { max-height: 56px; max-width: 180px; margin: 0; }
.content .sac-col--logo p { margin: 8px 0; }

/* Feature cards (Why Join?): icon, heading and text. */
.content .sac-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 24px 0 32px;
}
.content .sac-feature {
	padding: 24px 26px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content .sac-feature > p:first-child { margin: 0 0 10px; }
.content .sac-feature img.sac-feature__icon { display: block; width: 46px; height: auto !important; float: none; margin: 0; }
.content .sac-page .sac-feature h3 { margin: 0 0 8px; font-size: 1.25rem; }
.content .sac-feature p { margin: 8px 0; }
.content .sac-feature ul { margin: 8px 0 8px 4px; }
@media screen and (max-width: 900px) {
	.content .sac-features { grid-template-columns: minmax(0, 1fr); }
}

/* Post cards: the picture fills its 16:9 box (the theme sets content images
   to height:auto, which left wide pictures short of it). */
.content .posts-card__media img { height: 100% !important; object-fit: cover; }

/* ~ round 3 ~ */

/* More room between a page's sections. */
.content .sac-page h2 { margin-top: 56px; }
.content .sac-page > h2:first-child,
.content .sac-page .sac-col > h2:first-child,
.content .sac-page .sac-cta h2 { margin-top: 0; }
.content .sac-page .sac-row { margin: 32px 0; }

/* A region's board: round photos of one size, in colour. */
.content .sac-page--region .sac-col--person img {
	width: 150px;
	max-width: 150px;
	height: 150px !important;
	max-height: none;
	margin: 0 auto 16px;
	object-fit: cover;
	object-position: center 25%;
	border-radius: 50%;
	filter: none;
	background: #eef0f5;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #e1e4ee;
}
.content .sac-page--region .sac-col--person h3 { font-size: 1.2rem; margin: 0 0 4px; }
.content .sac-page--region .sac-col--person h4,
.content .sac-page--region .sac-col--person h5 { font-size: .9rem; line-height: 1.45; }
.content .sac-page--region .sac-col--person p { font-size: .95rem; line-height: 1.6; color: #444; }

/* "Questions? Drop us a line!": a contact panel. */
.content .sac-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 30px;
	margin: 56px 0 16px;
	padding: 30px 36px;
	background: #f4f5f9;
	border-radius: 12px;
}
.content .sac-cta h2 { margin: 0; font-size: 1.7rem; }
.content .sac-cta .sac-actions { margin: 0; }

/* Publications (Resources for planners): cover, title, "Request a copy". */
.content .sac-publications {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 18px;
	margin: 28px 0 36px;
}
.content .sac-publication {
	display: flex;
	flex-direction: column;
	padding: 18px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 10px;
}
.content img.sac-publication__cover {
	display: block;
	width: 100%;
	height: 200px !important;
	margin: 0 0 14px;
	padding: 10px;
	object-fit: contain;
	background: #f4f5f9;
	border-radius: 6px;
}
.content .sac-publication__title { margin: 0 0 10px; font-weight: 600; line-height: 1.4; color: var(--darkblue); }
.content .sac-publication p:last-child { margin: auto 0 0; }
.content a.sac-publication__request { font-weight: 600; text-decoration: none; }
.content a.sac-publication__request::before { content: "\f0e0"; margin-right: 7px; font: 900 .85rem/1 "Font Awesome 5 Free"; }

@media screen and (max-width: 670px) {
	.content .sac-page h2 { margin-top: 40px; }
	.content .sac-cta { padding: 24px 22px; margin-top: 40px; }
	.content .sac-cta h2 { font-size: 1.4rem; }
	.content .sac-page--region .sac-col--person img { width: 120px; max-width: 120px; height: 120px !important; }
}

/* People cards on region pages: even cards, photo at its real size (the
   originals are only about 128px), initials when there is no photo. */
.content .sac-page--region .sac-col--person {
	padding: 26px 22px 22px;
	background: #fff;
	border: 1px solid #e1e4ee;
	border-radius: 12px;
}
.content .sac-page--region .sac-col--person img,
.content .sac-avatar {
	width: 120px;
	max-width: 120px;
	height: 120px !important;
}
.content .sac-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	font: 600 2.3rem/1 var(--font-ui);
	letter-spacing: .02em;
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--darkblue));
	border-radius: 50%;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #e1e4ee;
}
.content .sac-bio { margin: 14px 0 0; text-align: left; }
.content .sac-bio summary {
	display: inline-block;
	width: 100%;
	text-align: center;
	font-weight: 600;
	font-size: .92rem;
	color: var(--primary);
	cursor: pointer;
	list-style: none;
}
.content .sac-bio summary::-webkit-details-marker { display: none; }
.content .sac-bio summary::after { content: " \25BE"; }
.content .sac-bio[open] summary::after { content: " \25B4"; }
.content .sac-bio[open] summary { margin-bottom: 8px; }

/* Board of Directors (national): portraits in one size. */
.content .sac-page:not(.sac-page--region) .sac-col--person img {
	width: 170px;
	max-width: 170px;
	height: 210px !important;
	max-height: none;
	object-fit: cover;
	object-position: center top;
	background: #eceef3;
	border-radius: 10px;
}

/* About Us */
.content .sac-lead { font-size: 1.2rem; line-height: 1.6; color: var(--darkblue); }
.content .sac-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 34px 0 10px; }
.content .sac-pillar { padding: 26px 28px; background: #f4f5f9; border-radius: 12px; }
.content .sac-page .sac-pillar h3 { margin: 0 0 8px; font-size: 1.3rem; }
.content .sac-pillar p { margin: 0; font-size: 1.08rem; }

/* A list of items with ticks (committees). */
.content ul.sac-checklist { list-style: none; margin: 14px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 18px; }
.content ul.sac-checklist li { position: relative; padding: 12px 16px 12px 44px; background: #f4f5f9; border-radius: 8px; font-weight: 600; color: var(--darkblue); }
.content ul.sac-checklist li::before { content: "\f00c"; position: absolute; left: 16px; top: 13px; font: 900 .9rem/1.3 "Font Awesome 5 Free"; color: var(--primary); }

/* Staff cards: initials, name, role, phone, email. */
.content .sac-person { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 22px; }
.content .sac-avatar--small { width: 76px; max-width: 76px; height: 76px !important; margin: 0 auto 14px; font-size: 1.5rem; }
.content .sac-person__role { margin-bottom: 10px !important; }
.content .sac-person__phone a, .content .sac-person__email a { text-decoration: none; }

@media screen and (max-width: 670px) {
	.content .sac-pillars { grid-template-columns: minmax(0, 1fr); }
	.content .sac-page:not(.sac-page--region) .sac-col--person img { width: 140px; max-width: 140px; height: 175px !important; }
}
.content .sac-page .sac-board { margin-top: 44px; padding-top: 40px; }
.content .sac-page .sac-board > h2 { margin-top: 0; }
.content .sac-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.content .sac-row--center .sac-actions, .content .sac-col--person .sac-actions, .content .sac-page > .sac-row + .sac-actions { justify-content: center; }
.content .sac-actions .button { margin: 0; }

.content .sac-page .sac-box { border-top: 1px solid #e1e4ee; }
.content .sac-page .sac-box h2 { margin: 0 0 14px; }
.content .sac-page h3.sac-album__title { margin: 12px 0 0; font-size: 1.05rem; line-height: 1.4; }
.content .sac-page .sac-albums { margin-top: 20px; }
.content .sac-col--logo figure { margin: 0 0 16px; height: 64px; display: flex; align-items: center; }
.content .sac-col--logo figure img { max-height: 56px; width: auto; }
.content .sac-page h6 { margin: 14px 0 0; font-size: .9rem; font-weight: 400; font-style: italic; line-height: 1.5; color: #555; text-transform: none; letter-spacing: 0; }
.content .sac-col--slogan {
	display: flex;
	align-items: center;
	padding: 34px 30px;
	background: var(--darkblue);
	border-radius: 12px;
}
.content .sac-page h3.sac-slogan { margin: 0; font-size: 2.1rem; line-height: 1.25; color: #fff; }
.content .sac-quote__by a { color: inherit; }

/* Resources tiles: the picture fills its side of the tile. */
.content .sac-row:has(> .sac-col--card) > .sac-col--card:first-child:has(> figure:only-child) { padding: 0; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card > figure:only-child { margin: 0; height: 100%; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card > figure:only-child img {
	display: block; width: 100%; height: 100% !important; min-height: 160px; object-fit: cover; margin: 0;
}
.content .sac-row:has(> .sac-col--card) > .sac-col--card h4 { margin-top: 0; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card:last-child { padding: 26px 30px; }
.content .sac-row:has(> .sac-col--card) > .sac-col--card a[href]:not(.button) { font-weight: 600; text-decoration: none; }

/* Why Join? closing: join on the left, contact on the right. */
.content .sac-closing {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 0;
	margin: 40px 0 10px;
	overflow: hidden;
	border-radius: 12px;
}
.content .sac-closing__join { padding: 34px 36px; background: var(--darkblue); color: #fff; }
.content .sac-closing__join p { color: #fff; font-size: 1.08rem; line-height: 1.6; margin: 0 0 20px; }
.content .sac-closing__join .button { background: var(--tertiary); color: var(--darkblue); }
.content .sac-closing__talk { padding: 34px 36px; background: #f4f5f9; }
.content .sac-page .sac-closing__talk h3 { margin: 0 0 6px; }
.content .sac-closing__sub { margin: 0 0 14px !important; font-size: 1.05rem; color: var(--darkblue); }
@media screen and (max-width: 900px) { .content .sac-closing { grid-template-columns: minmax(0, 1fr); } }
.content .sac-resource-box { margin: 14px 0 24px; padding: 18px 22px; background: #f4f5f9; border-radius: 10px; }
.content .sac-resource-box__label { margin: 0 0 8px !important; font: 600 .78rem/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--darkgrey); }
.content .sac-resource-box ul { margin: 0; padding: 0; list-style: none; }
.content .sac-resource-box li { padding: 5px 0 5px 22px; position: relative; }
.content .sac-resource-box li::before { content: "\f35d"; position: absolute; left: 0; top: 8px; font: 900 .75rem/1 "Font Awesome 5 Free"; color: var(--primary); }
.content .sac-resource-box a { font-weight: 600; text-decoration: none; }
.content .sac-coming--event::before { content: "\f073"; }   /* calendar */
@media screen and (min-width: 1100px) { .sac-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.content .sac-gallery--four { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media screen and (max-width: 670px) { .content .sac-gallery--four { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.content .sac-col--join {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	padding: 28px; background: var(--darkblue); border-radius: 12px;
}
.content .sac-join__text { color: #fff; font-size: 1.1rem; line-height: 1.5; margin: 0 0 18px; }
.content .sac-col--join .sac-actions { justify-content: center; margin: 0; }
.content .sac-col--join .button { background: var(--tertiary); color: var(--darkblue); }
/* A photo alone in a column fills it; an image marked .sac-align-center (e.g. a logo) keeps its own size. */
.content .sac-row > .sac-col:not([class*="sac-col--"]) > figure:only-child { margin: 0; height: 100%; }
.content .sac-row > .sac-col:not([class*="sac-col--"]) > figure:only-child img:not(.sac-align-center) { width: 100%; height: 100% !important; object-fit: cover; border-radius: 12px; }
.content .sac-publications { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.content .sac-links .sac-link-card__title { font-size: 1.05rem; }
/* Two link cards: half the width each, a little taller. */
.content .sac-links:has(> a:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content .sac-links:has(> a:nth-child(2):last-child) a.sac-link-card { min-height: 120px; padding: 28px 56px 28px 30px; }
.content .sac-links:has(> a:nth-child(2):last-child) .sac-link-card__title { font-size: 1.45rem; }
@media screen and (max-width: 670px) { .content .sac-links:has(> a:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* Phones: a region's logo card comes before its text. */
@media screen and (max-width: 900px) {
	.content .sac-row > .sac-col:has(> .sac-region-card) { order: -1; }
	.content .sac-region-card { position: static; display: flex; align-items: center; gap: 18px; text-align: left; padding: 18px; }
	.content .sac-region-card img.sac-logo { width: 120px; margin: 0; padding: 8px; }
	.content .sac-region-card p { margin: 0; }
}
@media screen and (max-width: 670px) {
	.content .sac-row > .sac-col:not([class*="sac-col--"]) > figure:only-child img:not(.sac-align-center) { max-height: 300px; object-fit: contain; }
}

/* Migrated images sit in <figure>, which browsers indent 40px on each side;
   in a narrow card that pushed photos off centre. */
.content .sac-page figure { margin-left: 0; margin-right: 0; }
.content .sac-col--person figure { margin: 0 0 16px; }
.content .sac-col--person figure img,
.content .sac-col--person figure .sac-avatar { margin-bottom: 0; }
/* One or two posts: fill the row instead of leaving empty columns. */
.region-feed .posts-grid:has(> .posts-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.region-feed .posts-grid:has(> .posts-card:only-child) { grid-template-columns: minmax(0, 1fr); }
.region-feed .posts-card:only-child { flex-direction: row; }
.region-feed .posts-card:only-child .posts-card__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 240px; }
.region-feed .posts-card:only-child .posts-card__body { padding: 30px 34px; justify-content: center; }
.region-feed .posts-card:only-child .posts-card__title { font-size: 1.5rem; }
@media screen and (max-width: 900px) {
	.region-feed .posts-grid:has(> .posts-card:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
	.region-feed .posts-card:only-child { flex-direction: column; }
	.region-feed .posts-card:only-child .posts-card__media { flex: 0 0 auto; aspect-ratio: 16 / 9; min-height: 0; }
	.region-feed .posts-card:only-child .posts-card__body { padding: 20px; }
}

/* Member directory with nobody listed (or no search match): a quiet note. */
.member-directory__empty {
	padding: 28px 30px 28px 92px !important;
	position: relative;
	box-shadow: none !important;
	background: #f4f5f9 !important;
	border: 0 !important;
	border-radius: 12px !important;
}
.member-directory__empty::before {
	content: "\f0c0";   /* Font Awesome users */
	position: absolute;
	left: 28px;
	top: 50%;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	font: 900 18px/44px "Font Awesome 5 Free";
	text-align: center;
	color: #fff;
	background: var(--primary);
	border-radius: 50%;
}
.member-signup .member-directory__empty h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 600; }

/* Planner publications: the whole card opens the publication's page. */
.content a.sac-publication { color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.content a.sac-publication::after, .content a.sac-publication::before { display: none; }
.content a.sac-publication:hover,
.content a.sac-publication:focus-visible { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(22,29,60,.5); }
.content .sac-publication .sac-publication__title { display: block; margin: 0 0 12px; }
.content .sac-publication__more { margin-top: auto; font-weight: 600; color: var(--primary); }
.content .sac-publication__more::after { content: " \2192"; }

/* A publication's own page: cover beside the description and downloads. */
.content .sac-publication-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.content img.sac-publication-page__cover {
	width: 100%; height: auto !important; padding: 16px; background: #f4f5f9; border-radius: 10px;
	box-shadow: 0 14px 30px -18px rgba(22,29,60,.45);
}
.content .sac-publication-page__body > p:first-child { margin-top: 0; font-size: 1.1rem; }
.content .sac-publication-page .sac-actions { margin: 26px 0 10px; }
.content .sac-publication-page__other a { font-weight: 600; text-decoration: none; }
.content .sac-publication-page__other a::before { content: "\f1c1"; margin-right: 8px; font: 900 .95rem/1 "Font Awesome 5 Free"; }
.content .sac-publication-page__back { margin-top: 44px; padding-top: 22px; border-top: 1px solid #e1e4ee; }
.content .sac-publication-page__back a { font-weight: 600; text-decoration: none; }
@media screen and (max-width: 670px) {
	.content .sac-publication-page { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.content img.sac-publication-page__cover { max-width: 220px; }
}

/* :::::::::::::::::::::::::::: CAREERS (SAC design) ::::::::::::::::::::::::::::
   The careers pages share the member-page shell (gold pill buttons, rounded
   shadowed panels). Here they take the SAC look used on the rest of the site:
   navy buttons, plain white cards with a light border. */
.member-signup.careers { max-width: 1380px; }
.member-signup.careers {
	--member-radius: 12px;
	--member-shadow: none;
	--member-accent-soft: #eef0f7;
}
.member-signup.careers .button,
.member-signup.careers button.button {
	min-width: 0;
	padding: 14px 24px;
	border: 0;
	border-radius: 0;
	color: #fff;
	font-weight: 600;
	box-shadow: none;
	background: linear-gradient(302deg, #5767b1, #181f40, #2a366e);
	background-size: 600% 600%;
	animation: AnimatedButton 7s ease infinite;
}
.member-signup.careers .button:hover { transform: none; background: var(--primary); }
.member-signup.careers .button--ghost,
.member-signup.careers .button.button--ghost {
	background: #fff;
	color: var(--primary);
	border: 1px solid var(--primary);
	animation: none;
}
.member-signup.careers .button--ghost:hover,
.member-signup.careers .button--ghost:focus-visible { background: #eef0f7; color: var(--primary); border-color: var(--primary); }
.member-signup.careers .careers-tile { border-color: #e1e4ee; }
.member-signup.careers .careers-tile::before { display: none; }
.member-signup.careers .careers-tile__icon { background: #eef0f7; color: var(--primary); border-radius: 50%; }
.member-signup.careers .careers-rich ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.member-signup.careers .careers-rich li { position: relative; padding: 12px 16px 12px 44px; background: #f4f5f9; border-radius: 8px; line-height: 1.5; }
.member-signup.careers .careers-rich li::before { content: "\f00c"; position: absolute; left: 16px; top: 13px; font: 900 .9rem/1.4 "Font Awesome 5 Free"; color: var(--primary); }
.member-signup.careers .careers-rich { max-width: none; }
.member-signup.careers .member-signup__hero h1 { color: var(--darkblue); }
@media screen and (max-width: 670px) {
	.member-signup.careers .careers-rich ul { grid-template-columns: minmax(0, 1fr); }
}
.member-signup.careers .careers-filterbar,
.member-signup.careers .careers-search { background: #f4f5f9 !important; border-color: #e1e4ee; }
.member-signup.careers input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.member-signup.careers select,
.member-signup.careers textarea { border-radius: 6px; }
.member-signup.careers .member-form-card,
.member-signup.careers .member-form-section { background: #fff; border-color: #e1e4ee; }
.member-signup.careers .member-form-step { background: #eef0f7; color: var(--primary); }
.member-signup.careers .member-form-card__header { background: #f4f5f9; }
.member-signup.careers .member-form__section { background: #fff; }
.member-signup.careers .member-field input:focus,
.member-signup.careers .member-field select:focus,
.member-signup.careers .member-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(42,54,110,.15); }
.member-signup.careers .member-field select { min-height: 46px; }

/* ~ award winners (2026 BOCSIes, from SAC's layout) ~ */
.content .sac-award-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px 64px; margin: 6px 0 34px; }
.content .sac-award-logos img { height: 52px !important; width: auto; max-width: 240px; object-fit: contain; }
.content .sac-page h2.sac-award-title { margin: 0; text-align: center; font-size: 1.9rem; line-height: 1.25; color: #111; text-transform: uppercase; letter-spacing: .02em; }
.content .sac-award-title span { display: block; margin-top: 4px; font-size: 2.8rem; font-weight: 700; color: var(--red); }
.content .sac-award-intro { text-align: center; color: var(--darkgrey); margin: 12px 0 40px; }
.content .sac-winners { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 34px; max-width: 1100px; margin: 0 auto; }
.content .sac-winner { position: relative; text-align: center; }
.content .sac-winner__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #eceef3; }
.content .sac-winner__photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s var(--ease-out); }
.content .sac-winner__photo:hover img { transform: scale(1.03); }
.content .sac-winner__photo::after, .content .sac-winner__photo::before { display: none; }
.content img.sac-winner__badge {
	position: relative;
	z-index: 1;
	display: block;
	width: 150px;
	height: 150px !important;
	margin: -92px auto 4px;
	filter: drop-shadow(0 8px 14px rgba(11,15,35,.3));
}
.content .sac-winner p { margin: 0; }
.content .sac-winner__category { font: 600 .85rem/1.3 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: #11616f; margin-bottom: 6px !important; }
.content .sac-winner__project { font: 600 1.35rem/1.3 var(--font-ui); color: var(--darkblue); }
.content .sac-winner__company { font-size: 1.05rem; color: var(--darkgrey); margin-top: 2px !important; }
.content .sac-actions--center { justify-content: center; margin-top: 44px; }
@media screen and (max-width: 670px) {
	.content .sac-award-logos { gap: 18px 28px; }
	.content .sac-award-logos img { height: 36px !important; }
	.content .sac-page h2.sac-award-title { font-size: 1.3rem; }
	.content .sac-award-title span { font-size: 2rem; }
	.content .sac-winners { grid-template-columns: minmax(0, 1fr); }
	.content img.sac-winner__badge { width: 120px; height: 120px !important; margin-top: -74px; }
}
.content .sac-page h2.sac-award-title { font-weight: 700; }
.content img.sac-winner__badge { width: 180px; height: 180px !important; margin-top: -112px; }
@media screen and (max-width: 670px) { .content img.sac-winner__badge { width: 140px; height: 140px !important; margin-top: -86px; } }
