/**
 * SDN theme styles.
 * Layout and type rhythm follow the previous Kadence design so existing content looks the same.
 * Breakpoints: tablet <= 1024px, mobile <= 767px.
 */

/* ---------------------------------------------------------------- tokens */
:root {
	--sdn-edge: 1.5rem;
	--sdn-navy: #002244;
	--sdn-blue: #1381c4;
	--sdn-sky: #3a90e5;
	--sdn-olive: #8dad5b;
	/* Aliases kept for older content / custom CSS. */
	--global-palette1: var(--wp--preset--color--palette-1);
	--global-palette2: var(--wp--preset--color--palette-2);
	--global-palette3: var(--wp--preset--color--palette-3);
	--global-palette4: var(--wp--preset--color--palette-4);
	--global-palette5: var(--wp--preset--color--palette-5);
	--global-palette6: var(--wp--preset--color--palette-6);
	--global-palette7: var(--wp--preset--color--palette-7);
	--global-palette8: var(--wp--preset--color--palette-8);
	--global-palette9: var(--wp--preset--color--palette-9);
	--global-md-spacing: 2rem;
}

/* ---------------------------------------------------------------- base */
html {
	box-sizing: border-box;
}
*,
*::before,
*::after {
	box-sizing: inherit;
}
body {
	margin: 0;
	-webkit-font-smoothing: auto;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}
img {
	height: auto;
	max-width: 100%;
}
a {
	text-underline-offset: 0.1em;
	transition: all 0.1s linear;
}
a:hover,
a:focus {
	text-underline-offset: 0.25em;
}
/* Zero specificity, so list styles and block settings always win over this default indent. */
:where(ul, ol) {
	margin: 0 0 1.5em 1.5em;
	padding: 0;
}
/* Sidebar lists sit flush in their boxes. */
.sdn-sidebar :is(ul, ol) {
	margin: 0;
}
figure {
	margin: 0.5em 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
blockquote {
	padding-left: 1em;
	border-left: 4px solid var(--wp--preset--color--palette-4);
}
hr {
	height: 0;
	border: 0;
	border-bottom: 2px solid #cbd5e0;
}
:where(.wp-block-group) {
	display: flow-root;
	box-sizing: border-box;
}
/* Kadence rows and columns were positioned; overlapping sections (negative margins) rely on it. */
:where(.entry-content .wp-block-group, .entry-content .wp-block-column, .entry-content .wp-block-cover, .sdn-site-footer .wp-block-group) {
	position: relative;
}
:where(.wp-block-columns) {
	margin: 0;
}
.wp-block-columns {
	margin-bottom: 0;
}
.wp-block-column {
	min-width: 0;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* ---------------------------------------------------------------- page structure */
.wp-site-blocks {
	overflow-x: clip;
}
.wp-site-blocks > * {
	margin-top: 0;
	margin-bottom: 0;
}
.sdn-main.sdn-content-area {
	margin-top: 5rem;
	margin-bottom: 5rem;
	padding-left: var(--sdn-edge);
	padding-right: var(--sdn-edge);
}
.sdn-main.is-fullwidth {
	margin: 0;
}
.sdn-main.sdn-course {
	padding: 0 var(--sdn-edge);
}
.sdn-main.sdn-course > .entry-content {
	max-width: 1152px;
	margin-left: auto;
	margin-right: auto;
}
body:has(.sdn-main.is-boxed),
body:has(.sdn-main.sdn-course) {
	background: var(--wp--preset--color--palette-8);
}
body:has(.sdn-main.is-archive) {
	background: #ebf4fe;
}
@media (max-width: 1024px) {
	.sdn-main.sdn-content-area {
		margin-top: 3rem;
		margin-bottom: 3rem;
	}
}
@media (max-width: 767px) {
	.sdn-main.sdn-content-area {
		margin-top: 2rem;
		margin-bottom: 2rem;
	}
}

/* Content + sidebar */
.sdn-layout.wp-block-columns {
	gap: 3.5em;
	flex-wrap: nowrap;
}
@media (min-width: 1025px) {
	.sdn-layout.has-left-sidebar > .sdn-layout__sidebar {
		order: -1;
	}
}
@media (max-width: 1024px) {
	.sdn-layout.wp-block-columns {
		flex-direction: column;
		gap: 0;
	}
	.sdn-layout.wp-block-columns > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}
	.sdn-layout__sidebar {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
}
.sdn-sidebar > * + * {
	margin-top: 60px;
}

/* Titles */
.sdn-page-title,
.sdn-post-title {
	color: #1282bf;
	margin: 0;
}
.sdn-post-title {
	line-height: 1.3;
}
.sdn-page-title + .entry-content {
	margin-top: var(--global-md-spacing);
}

/* Boxed article (blog posts, 404) */
.sdn-entry {
	background: var(--wp--preset--color--palette-9);
	padding: 2rem;
	box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
	.sdn-entry {
		padding: 1.5rem;
	}
}
.sdn-entry-meta {
	gap: 0;
	margin: 0.5em 0 0;
	font-size: 80%;
	line-height: 27.2px;
	color: var(--wp--preset--color--palette-5);
}
.sdn-entry-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 0.6em 0.2em;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.8;
	vertical-align: middle;
}
.sdn-meta-author::before {
	content: "By ";
}
.sdn-entry-meta .sdn-meta-author::before {
	content: "By\00a0";
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	border-radius: 0;
	opacity: 1;
}
.sdn-entry .sdn-entry-meta + .entry-content {
	margin-top: 2rem;
}
.sdn-404-title {
	margin-bottom: 42.5px; /* 2.5em of the 17px body size, as before */
}

/* 404 page (templates/404.html, editable under Appearance → Editor → Templates): the notice card. */
body:has(.sdn-main.sdn-404) {
	background: #ebf4fe;
}
.sdn-main.sdn-404 {
	padding: 60px var(--sdn-edge) 80px;
}
.sdn-404-card {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 40px;
	border: 1px solid #d1d5db;
	border-radius: 20px;
	background: var(--wp--preset--color--palette-9);
	box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.12);
	text-align: center;
}
.sdn-404-card .sdn-404-code {
	margin: 0;
	color: var(--wp--preset--color--sky);
	font-size: 110px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}
.sdn-404-card .sdn-404-heading {
	margin: 14px 0 10px;
	font-size: 30px;
	line-height: 1.25;
}
.sdn-404-card .sdn-404-text {
	max-width: 520px;
	margin: 0 auto;
	color: var(--wp--preset--color--palette-5);
}
.sdn-404-card .sdn-search {
	max-width: 480px;
	margin: 28px auto 0;
}
/* Pill field with a round blue search button inside it. */
.sdn-404-card .sdn-search .wp-block-search__input {
	height: 52px;
	padding: 0 64px 0 24px;
	border: 1px solid #cbd5e0;
	border-radius: 999px;
	background: var(--wp--preset--color--palette-8);
	color: var(--wp--preset--color--palette-3);
	font-size: 16px;
	transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.sdn-404-card .sdn-search .wp-block-search__input::placeholder {
	color: var(--wp--preset--color--palette-6);
	opacity: 1;
}
.sdn-404-card .sdn-search .wp-block-search__input:focus {
	border-color: var(--wp--preset--color--sky);
	background: #fff;
	outline: 0;
	box-shadow: 0 0 0 4px rgba(58, 144, 229, 0.18);
}
.sdn-404-card .sdn-search .wp-block-search__button {
	top: 6px;
	right: 6px;
	bottom: 6px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp--preset--color--sky);
	color: #fff;
	cursor: pointer;
	transition: background-color 150ms ease;
}
.sdn-404-card .sdn-search .wp-block-search__button svg {
	width: 20px;
	height: 20px;
}
@media (hover: hover) {
	.sdn-404-card .sdn-search .wp-block-search__button:hover {
		background: var(--wp--preset--color--palette-1);
	}
}
.sdn-404-card .sdn-search .wp-block-search__button:focus-visible {
	outline: 2px solid var(--wp--preset--color--sky);
	outline-offset: 2px;
}
.sdn-404-actions.wp-block-buttons {
	gap: 10px;
	margin-top: 24px;
}
.sdn-404-actions .wp-block-button__link {
	padding: 10px 24px;
	border: 1px solid transparent;
	border-radius: 45px;
	font-size: 15px;
	font-weight: 600;
	line-height: 24px;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.sdn-404-actions .is-primary .wp-block-button__link {
	border-color: var(--wp--preset--color--sky);
	background: var(--wp--preset--color--sky);
	color: #fff;
}
.sdn-404-actions .is-secondary .wp-block-button__link {
	border-color: var(--wp--preset--color--olive);
	background: var(--wp--preset--color--olive);
	color: #fff;
}
.sdn-404-actions .is-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--navy);
	background: transparent;
	color: var(--wp--preset--color--navy);
}
@media (hover: hover) {
	.sdn-404-actions .is-primary .wp-block-button__link:hover {
		background: #fff;
		color: var(--wp--preset--color--sky);
	}
	.sdn-404-actions .is-secondary .wp-block-button__link:hover {
		background: #fff;
		color: var(--wp--preset--color--olive);
	}
	.sdn-404-actions .is-outline .wp-block-button__link:hover {
		background: var(--wp--preset--color--navy);
		color: #fff;
	}
}
@media (max-width: 767px) {
	.sdn-main.sdn-404 {
		padding-top: 40px;
		padding-bottom: 60px;
	}
	.sdn-404-card {
		padding: 36px 20px;
	}
	.sdn-404-card .sdn-404-code {
		font-size: 80px;
	}
	.sdn-404-card .sdn-404-heading {
		font-size: 24px;
	}
}

/* ---------------------------------------------------------------- content rhythm (Kadence .single-content) */
:where(.single-content) address,
:where(.single-content) figure,
:where(.single-content) hr,
:where(.single-content) p,
:where(.single-content) table,
:where(.single-content) pre,
:where(.single-content) form,
:where(.single-content) .wp-block-buttons,
:where(.single-content) .wp-block-media-text,
:where(.single-content) .wp-block-embed,
:where(.single-content) .sdn-toc,
:where(.single-content) [class*="__inner-content"] {
	margin-top: 0;
	margin-bottom: var(--global-md-spacing);
}
:where(.single-content) ul[class*="is-style-sdn-"] {
	margin-bottom: calc(var(--global-md-spacing) + 10px);
}
:where(.single-content) ul[class*="is-style-sdn-"]:last-child {
	margin-bottom: 10px;
}
:where(.single-content) h1,
:where(.single-content) h2,
:where(.single-content) h3,
:where(.single-content) h4,
:where(.single-content) h5,
:where(.single-content) h6 {
	margin: 1.5em 0 0.5em;
}
:where(.single-content) h1:first-child,
:where(.single-content) h2:first-child,
:where(.single-content) h3:first-child,
:where(.single-content) h4:first-child,
:where(.single-content) h5:first-child,
:where(.single-content) h6:first-child,
:where(.single-content) h1 + *,
:where(.single-content) h2 + *,
:where(.single-content) h3 + *,
:where(.single-content) h4 + *,
:where(.single-content) h5 + *,
:where(.single-content) h6 + * {
	margin-top: 0;
}
:where(.single-content) ul,
:where(.single-content) ol {
	margin: 0 0 var(--global-md-spacing);
	padding-left: 2em;
}
:where(.single-content) li > ul,
:where(.single-content) li > ol {
	margin: 0;
}
:where(.single-content) figure.wp-block-image {
	margin: 0 0 var(--global-md-spacing);
}
:where(.single-content) p > img,
:where(.single-content) li > img {
	display: inline-block;
}
:where(.single-content) blockquote {
	margin: 0 0 var(--global-md-spacing);
}
:where(.single-content) address:last-child,
:where(.single-content) figure:last-child,
:where(.single-content) hr:last-child,
:where(.single-content) p:last-child,
:where(.single-content) table:last-child,
:where(.single-content) pre:last-child,
:where(.single-content) form:last-child,
:where(.single-content) .wp-block-buttons:last-child,
:where(.single-content) .wp-block-button:last-child,
:where(.single-content) .wp-block-cover:last-child,
:where(.single-content) .wp-block-group:last-child,
:where(.single-content) h1:last-child,
:where(.single-content) h2:last-child,
:where(.single-content) h3:last-child,
:where(.single-content) h4:last-child,
:where(.single-content) h5:last-child,
:where(.single-content) h6:last-child,
:where(.single-content) ul:last-child,
:where(.single-content) ol:last-child {
	margin-bottom: 0;
}
.entry-content::after {
	display: table;
	clear: both;
	content: "";
}
.entry-content > .alignfull {
	margin-left: 0;
	margin-right: 0;
	width: auto;
	max-width: none;
}
.wp-block-cover.alignfull,
.wp-block-group.alignfull {
	margin-top: 0;
	margin-bottom: 0;
}
.wp-block-image {
	margin-top: 0;
	margin-bottom: 0;
}
/* Images inside sections/columns keep the spacing of the former builder image block. */
:is(.wp-block-group, .wp-block-column, .wp-block-cover__inner-container) > figure.wp-block-image {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
/* A whole-column link (.sdn-cover-link) after the image does not count as following content. */
:is(.wp-block-group, .wp-block-column, .wp-block-cover__inner-container) > figure.wp-block-image:not(:last-child):not(:has(+ .sdn-cover-link:last-child)) {
	margin-bottom: 1em;
}
.single-content :is(.wp-block-group, .wp-block-column, .wp-block-cover__inner-container) > figure.wp-block-image {
	margin-top: 0;
	margin-bottom: 1em;
}
.single-content :is(.wp-block-group, .wp-block-column, .wp-block-cover__inner-container) > figure.wp-block-image:last-child,
.single-content :is(.wp-block-group, .wp-block-column, .wp-block-cover__inner-container) > figure.wp-block-image:has(+ .sdn-cover-link:last-child) {
	margin-bottom: 0;
}
.wp-block-image img {
	vertical-align: bottom;
}
.wp-block-image figcaption {
	margin-top: 0.5em;
	font-size: 90%;
}
.wp-block-cover {
	padding: 0;
}
.wp-block-cover .wp-block-cover__inner-container {
	color: inherit;
}
.wp-block-cover.is-light:not(.has-text-color) .wp-block-cover__inner-container {
	color: inherit;
}
.wp-block-separator {
	border-top: 0;
}

/* Buttons (core button carrying converted Kadence styles) */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	box-shadow: none;
}
.wp-block-button__link:hover {
	text-decoration: none;
}
.wp-block-buttons {
	gap: 0.5rem;
}
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 .wp-block-button__link {
	width: 100%;
}
.single-content .wp-block-buttons .wp-block-button {
	margin-bottom: 0;
}
.green-apl .wp-block-button__link {
	border: 1px solid #53af60 !important;
}
.green-apl .wp-block-button__link:hover {
	background: #fff !important;
	color: #53af60 !important;
}
.blue-apl .wp-block-button__link {
	border: 1px solid #1382bf !important;
}
.blue-apl .wp-block-button__link:hover {
	background: #fff !important;
	color: #1382bf !important;
}

/* Flex children of converted Kadence columns behave like Kadence (no shrinking images). */
.wp-block-column > .wp-block-image,
.wp-block-group > .wp-block-image {
	max-width: 100%;
}
.sdn-cover-link {
	position: absolute;
	inset: 0;
	z-index: 10;
}
.sdn-divider > * {
	max-width: 100%;
}
/* Text between two divider lines ("—— SINCE 2006 ——") keeps its width: the lines shrink instead. */
.wp-block-group:has(> .sdn-divider) > :not(.sdn-divider) {
	flex-shrink: 0;
}
.wp-block-group:has(> .sdn-divider) > .sdn-divider {
	min-width: 0;
}
.sdn-inline-icon {
	display: inline-block;
	vertical-align: -0.125em;
}

/* Core icon block. The icon registry strips stroke attributes, so outline icons get them here. */
.wp-block-icon svg {
	display: block;
	height: auto;
}
.wp-block-icon svg [fill="none"] {
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------------------------------------------------------------- list icon styles */
:where(ul[class*="is-style-sdn-"]) {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: grid;
	gap: 5px 0;
}
.single-content ul[class*="is-style-sdn-"] {
	padding-left: 0;
}
ul[class*="is-style-sdn-"] > li {
	display: flex;
	align-items: var(--sdn-icon-align, center);
	margin: 0;
}
ul[class*="is-style-sdn-"] > li::before {
	content: "";
	flex: 0 0 auto;
	width: var(--sdn-icon-size, 1em);
	height: var(--sdn-icon-size, 1em);
	margin: 4px var(--sdn-icon-gap, 10px) 4px 0;
	background: var(--sdn-icon-color, currentColor);
	-webkit-mask: var(--sdn-icon) center / contain no-repeat;
	mask: var(--sdn-icon) center / contain no-repeat;
}
.is-style-sdn-chevron-right {
	--sdn-icon: url(../images/chevron-right.svg);
}
.is-style-sdn-chevrons-right {
	--sdn-icon: url(../images/chevrons-right.svg);
}
.is-style-sdn-angle-right {
	--sdn-icon: url(../images/angle-right.svg);
}
ul.is-style-sdn-tooth > li::before {
	background: url(../images/tooth.webp) center / contain no-repeat;
	-webkit-mask: none;
	mask: none;
}
.sdn-icon-rows > .wp-block-group > p {
	margin: 0;
}

/* Post title lists (former GenerateBlocks query loops); spacing comes from each block's settings. */
/* --sdn-post-list-icon is printed by functions.php with an absolute URL: a relative url() inside a
   custom property resolves against the page when blocks use it in their own CSS. */
.sdn-post-list .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sdn-post-list .wp-block-post-title {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}
.sdn-post-list .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

/* Table of contents */
.sdn-toc {
	margin: 0 0 var(--global-md-spacing);
	padding: 1em 1.5em;
	border: 1px solid #e5e5e6;
	border-radius: 6px;
}
.sdn-toc__title {
	margin: 0 0 0.5em;
}
.sdn-toc ul {
	margin: 0;
}

/* ---------------------------------------------------------------- accordion (Kadence look) */
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-item {
	margin: 0 0 10px;
	border: 0;
}
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-heading {
	margin: 0;
	font-size: inherit;
}
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-heading__toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 10px 14px;
	border: 0 solid transparent;
	background: var(--wp--preset--color--palette-8);
	color: var(--wp--preset--color--palette-5);
	font-family: inherit;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
}
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-heading__toggle-icon {
	display: none;
}
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
	text-decoration: none;
}
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-heading__toggle::after {
	content: "";
	flex: 0 0 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--sdn-acc-icon) center / 18px no-repeat;
	mask: var(--sdn-acc-icon) center / 18px no-repeat;
	transition: transform 0.2s;
}
.wp-block-accordion.is-style-sdn-plus {
	--sdn-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3h4v18h-4z'/%3E%3Cpath d='M3 10h18v4H3z'/%3E%3C/svg%3E");
}
:where(.wp-block-accordion.is-style-sdn-plus .is-open) .wp-block-accordion-heading__toggle::after,
:where(.wp-block-accordion.is-style-sdn-plus) .wp-block-accordion-heading__toggle[aria-expanded="true"]::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10h18v4H3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10h18v4H3z'/%3E%3C/svg%3E");
}
.wp-block-accordion.is-style-sdn-arrow {
	--sdn-acc-icon: url(../images/chevron-right.svg);
}
:where(.wp-block-accordion.is-style-sdn-arrow) .wp-block-accordion-heading__toggle::after {
	transform: rotate(90deg);
}
:where(.wp-block-accordion.is-style-sdn-arrow) .wp-block-accordion-heading__toggle[aria-expanded="true"]::after {
	transform: rotate(-90deg);
}
:where(.wp-block-accordion[class*="is-style-sdn-"]) .wp-block-accordion-panel {
	padding: 20px 16px;
}

/* Lines: blue questions on white with a divider between them, plus / minus icon (home page FAQ). */
.wp-block-accordion.is-style-sdn-lines {
	--sdn-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 4h2v16h-2z'/%3E%3Cpath d='M4 11h16v2H4z'/%3E%3C/svg%3E");
	border-top: 1px solid #d5dbe3;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-item {
	margin: 0;
	border-bottom: 1px solid #d5dbe3;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-heading__toggle {
	padding: 24px 0;
	background: transparent;
	color: #0780c3;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-heading__toggle::after {
	-webkit-mask-size: 20px;
	mask-size: 20px;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-heading__toggle[aria-expanded="true"]::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h16v2H4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11h16v2H4z'/%3E%3C/svg%3E");
}
@media (hover: hover) {
	.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-heading__toggle:hover {
		color: var(--wp--preset--color--palette-2);
	}
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-heading__toggle:focus-visible {
	outline: 2px solid #0780c3;
	outline-offset: 2px;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-panel {
	padding: 0 0 24px;
}
/* Answers read as short steps: a bold line, then its text right under it. */
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-panel > * {
	margin-block: 0 0.5em;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-panel > p:has(> strong:only-child) {
	margin-top: 1.1em;
	margin-bottom: 0.15em;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-panel > :first-child,
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-panel > p:first-child:has(> strong:only-child) {
	margin-top: 0;
}
.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-panel > :last-child {
	margin-bottom: 0;
}
@media (max-width: 767px) {
	.wp-block-accordion.is-style-sdn-lines .wp-block-accordion-heading__toggle {
		padding: 18px 0;
		font-size: 18px;
	}
}

/* ---------------------------------------------------------------- tabs (former Essential Blocks look) */
.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
}
.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list > [role="tab"] {
	position: relative;
	display: flex;
	flex: 1 1 0 !important;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px;
	border: 0;
	border-radius: 0;
	background: rgba(46, 64, 76, 1);
	color: var(--wp--preset--color--palette-7);
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.5s;
}
.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list > [role="tab"]::before {
	display: none;
}
.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list > [role="tab"][aria-selected="true"] {
	background: rgba(83, 175, 96, 1);
	color: #fff;
}
.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list > [role="tab"][aria-selected="true"]::after {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 50%;
	z-index: 1;
	border: 12px solid transparent;
	border-top-color: rgba(83, 175, 96, 1);
	border-bottom: 0;
	transform: translateX(-50%);
}
.wp-block-tabs.is-style-sdn-dark .wp-block-tab-panel {
	padding: 20px 15px 10px;
	border: 1px solid #eeedf0;
}
/* Phones: tabs share one height, text a little smaller, and words never split mid-word. */
@media (max-width: 767px) {
	.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list {
		align-items: stretch;
	}
	.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list > [role="tab"] {
		min-width: 0;
		padding: 10px 6px;
		font-size: 14px;
		line-height: 1.3;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: manual;
	}
}
@media (max-width: 400px) {
	.wp-block-tabs.is-style-sdn-dark > .wp-block-tab-list > [role="tab"] {
		padding: 10px 4px;
		font-size: 13px;
	}
}

/* ---------------------------------------------------------------- query cards */
.sdn-card {
	overflow: hidden;
	height: 100%;
}
.sdn-card .wp-block-post-featured-image {
	margin: 0;
}
.sdn-card .wp-block-post-featured-image img {
	width: 100%;
}
.wp-block-post-template {
	margin-left: 0;
	margin-right: 0;
}
.wp-block-post-template.is-layout-grid > li {
	margin: 0;
}

/* Archive (blog) list */
.sdn-hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 180px;
	padding: 0 var(--sdn-edge);
	background: var(--sdn-navy);
	text-align: center;
}
.sdn-hero-title {
	margin: 0;
	color: #fff;
	font-size: 60px;
	line-height: 66px;
}
.sdn-hero-desc {
	color: #fff;
	margin: 0.5em auto 0;
}
@media (max-width: 1024px) {
	.sdn-hero {
		min-height: 140px;
	}
	.sdn-hero-title {
		font-size: 40px;
		line-height: 44px;
	}
}
@media (max-width: 767px) {
	.sdn-hero {
		min-height: 120px;
	}
	.sdn-hero-title {
		font-size: 30px;
		line-height: 33px;
	}
}
.sdn-archive-list,
.sdn-search-grid {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sdn-archive-list > li + li {
	margin-top: 2.5rem;
}
.sdn-loop-entry {
	height: 100%;
	background: var(--wp--preset--color--palette-9);
	box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.05);
}
.sdn-loop-entry .wp-block-post-featured-image {
	margin: 0;
}
.sdn-loop-entry .wp-block-post-featured-image:not(:has(img)) {
	display: none;
}
.sdn-loop-entry__body {
	padding: 2rem;
}
@media (max-width: 767px) {
	.sdn-loop-entry__body {
		padding: 1.5rem;
	}
}
.sdn-loop-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.5;
}
.sdn-loop-title a {
	color: var(--wp--preset--color--palette-3);
}
.sdn-loop-meta {
	margin-top: 0.5em;
	font-size: 80%;
	color: var(--wp--preset--color--palette-5);
}
.sdn-loop-excerpt {
	margin-top: 1em;
}
.sdn-loop-excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
}
.sdn-loop-excerpt .wp-block-post-excerpt__more-text {
	margin: 1em 0 0;
}
.sdn-loop-excerpt .wp-block-post-excerpt__more-link {
	color: var(--wp--preset--color--palette-4);
	font-size: 80%;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}
.sdn-loop-excerpt .wp-block-post-excerpt__more-link::after {
	content: " \2192";
}
.sdn-search-title {
	margin-bottom: 1rem;
}
.sdn-search-grid {
	gap: 2.5rem 2rem;
}
@media (max-width: 1024px) {
	.sdn-search-grid.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 767px) {
	.sdn-search-grid.is-layout-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}
/* Previous | numbers | Next. A grid keeps each in its column when Previous/Next is missing (first/last page). */
.sdn-pagination.wp-block-query-pagination {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--palette-7);
}
.sdn-pagination .wp-block-query-pagination-previous,
.sdn-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	padding: 0.65em 1.25em;
	border: 1px solid #cbd5e0;
	border-radius: 999px;
	background: var(--wp--preset--color--palette-9);
	color: var(--wp--preset--color--palette-3);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.sdn-pagination .wp-block-query-pagination-previous {
	grid-column: 1;
	justify-self: start;
}
.sdn-pagination .wp-block-query-pagination-numbers {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.375rem;
}
.sdn-pagination .wp-block-query-pagination-next {
	grid-column: 3;
	justify-self: end;
}
.sdn-pagination .wp-block-query-pagination-previous-arrow,
.sdn-pagination .wp-block-query-pagination-next-arrow {
	margin: 0;
	transition: transform 150ms ease;
}
.sdn-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5em;
	border-radius: 999px;
	color: var(--wp--preset--color--palette-4);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease;
}
.sdn-pagination .page-numbers.current {
	background: var(--wp--preset--color--palette-1);
	color: #fff;
}
.sdn-pagination .page-numbers.dots {
	min-width: 1.5rem;
	color: var(--wp--preset--color--palette-6);
}
@media (hover: hover) {
	.sdn-pagination .wp-block-query-pagination-previous:hover,
	.sdn-pagination .wp-block-query-pagination-next:hover {
		border-color: var(--wp--preset--color--palette-1);
		background: var(--wp--preset--color--palette-1);
		color: #fff;
	}
	.sdn-pagination .wp-block-query-pagination-previous:hover .wp-block-query-pagination-previous-arrow {
		transform: translateX(-3px);
	}
	.sdn-pagination .wp-block-query-pagination-next:hover .wp-block-query-pagination-next-arrow {
		transform: translateX(3px);
	}
	.sdn-pagination a.page-numbers:hover {
		background: var(--wp--preset--color--palette-7);
		color: var(--wp--preset--color--palette-2);
	}
}
.sdn-pagination a:focus-visible {
	outline: 2px solid var(--wp--preset--color--palette-1);
	outline-offset: 2px;
}
@media (max-width: 599px) {
	/* Numbers on their own row, Previous/Next side by side beneath. */
	.sdn-pagination.wp-block-query-pagination {
		grid-template-columns: 1fr 1fr;
		row-gap: 1.25rem;
	}
	.sdn-pagination .wp-block-query-pagination-numbers {
		grid-column: 1 / -1;
		grid-row: 1;
	}
	.sdn-pagination .wp-block-query-pagination-previous {
		grid-row: 2;
	}
	.sdn-pagination .wp-block-query-pagination-next {
		grid-column: 2;
		grid-row: 2;
	}
}
@media (prefers-reduced-motion: reduce) {
	.sdn-pagination .wp-block-query-pagination-previous-arrow,
	.sdn-pagination .wp-block-query-pagination-next-arrow {
		transition: none;
	}
}

/* ---------------------------------------------------------------- forms */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], textarea {
	-webkit-appearance: none;
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.4em 0.5em;
	border: 1px solid #cbd5e0;
	border-radius: 3px;
	background: var(--wp--preset--color--palette-9);
	color: var(--wp--preset--color--palette-5);
	font: inherit;
}
input:focus, textarea:focus {
	border-color: var(--wp--preset--color--palette-6);
	color: var(--wp--preset--color--palette-3);
	outline: 0;
	box-shadow: 0 5px 15px -7px rgba(0, 0, 0, 0.1);
}
textarea {
	width: 100%;
}
select {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.2em 35px 0.2em 0.5em;
	border: 1px solid #cbd5e0;
	background: var(--wp--preset--color--palette-9) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==") no-repeat 98% 50%;
	color: var(--wp--preset--color--palette-5);
	font: inherit;
}
button,
input[type="submit"] {
	cursor: pointer;
	font-family: inherit;
}
input[type="submit"] {
	padding: 0.4em 1em;
	border: 0;
	border-radius: 3px;
	background: var(--wp--preset--color--palette-1);
	color: #fff;
	font-size: 1.125rem;
	line-height: 1.6;
	transition: all 0.2s ease;
}
input[type="submit"]:hover {
	background: var(--wp--preset--color--palette-2);
}
/* Forms (SDN Blocks) in the widget sidebar keep the widget paragraph spacing they had. */
.sdn-sidebar .sdn-form .sdn-field {
	margin-top: 1em;
}
input[type="submit"]:disabled,
button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Search block (Kadence search look) */
.sdn-search .wp-block-search__inside-wrapper {
	position: relative;
	padding: 0;
	border: 0;
}
.sdn-search .wp-block-search__input {
	width: 100%;
	padding: 0.4em 60px 0.4em 0.5em;
	border: 1px solid #cbd5e0;
	border-radius: 3px;
	font-size: 14px;
	line-height: 1.6;
}
.sdn-search .wp-block-search__button {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 45px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--palette-6);
}
.sdn-search .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* ---------------------------------------------------------------- header */
.sdn-site-header {
	position: relative;
	z-index: 100;
}
/* The open drawer lives inside the header; lift the header over sticky icons and chat widgets. */
.sdn-site-header:has(.is-menu-open) {
	z-index: 100001;
}
.sdn-topbar {
	padding: 10px 30px;
	background: var(--sdn-navy);
}
.sdn-topbar__inner {
	gap: 20px;
	min-height: 0;
}
.sdn-topbar__contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 20px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}
.sdn-topbar__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	color: #fff;
	text-decoration: none;
}
.sdn-topbar__contacts img {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 24px;
}
.sdn-topbar__contacts a:nth-child(2) img {
	max-width: 16px;
}
.sdn-mainbar {
	padding: 10px 24px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
}
.sdn-mainbar__inner {
	min-height: 80px;
}
.sdn-mainbar__right {
	gap: 0;
}
.sdn-logo img {
	display: block;
}
.wp-block-site-logo.sdn-logo {
	line-height: 0;
}

/* Desktop menu */
.sdn-mainbar nav.sdn-primary-nav {
	margin-right: 10px;
}
.sdn-primary-nav {
	gap: 0;
	font-size: 15px;
	font-weight: 500;
}
.sdn-primary-nav .wp-block-navigation__container {
	gap: 0;
}
.sdn-primary-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 24px 12px;
	color: #000;
	text-decoration: none;
}
.sdn-primary-nav .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
	padding-right: 0;
}
.sdn-primary-nav .wp-block-navigation__submenu-icon {
	width: 0.7em;
	height: 0.7em;
	margin: 0 12px 0 4px;
}
/* Dropdowns open to the right of their parent like the old theme (core opens them leftwards in a right-justified menu). */
.sdn-primary-nav .wp-block-navigation__submenu-container {
	left: 0 !important;
	right: auto !important;
	width: 300px !important;
	min-width: 300px !important;
	padding: 0;
	border: 0 !important;
	background: var(--wp--preset--color--palette-3) !important;
	box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.1);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	width: 300px;
	padding: 1em 14px !important;
	color: var(--wp--preset--color--palette-8);
	text-decoration: none;
	box-sizing: border-box;
}
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	background: var(--wp--preset--color--palette-9);
	color: var(--wp--preset--color--palette-4);
}
/* Current page inside a dropdown. */
.sdn-primary-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--palette-4);
	color: var(--wp--preset--color--palette-9);
}
/* Five top-level items + buttons must fit on one line down to 1025px: tighten spacing as the screen narrows. */
.sdn-primary-nav .wp-block-navigation__container {
	flex-wrap: nowrap;
	white-space: nowrap;
}
.sdn-primary-nav .wp-block-navigation__submenu-container {
	white-space: normal;
}
.sdn-mainbar .wp-block-button__link {
	white-space: nowrap;
}
@media (max-width: 1440px) {
	.sdn-primary-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding-left: 9px;
		padding-right: 9px;
	}
}
@media (max-width: 1280px) {
	.sdn-primary-nav {
		font-size: 14px;
	}
	.sdn-primary-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding-left: 6px;
		padding-right: 6px;
	}
	.sdn-mainbar .wp-block-button__link {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}
@media (max-width: 1180px) {
	.sdn-primary-nav .sdn-nav-home {
		display: none;
	}
	.sdn-mainbar {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* Arrows keep their direction while a submenu is open (core flips them). */
.sdn-primary-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] > svg,
.sdn-primary-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] + .wp-block-navigation__submenu-icon > svg {
	transform: none;
}
.sdn-primary-nav .wp-block-navigation__submenu-container li.wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon {
	color: var(--wp--preset--color--palette-4);
}
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
	position: absolute;
	right: 14px;
	top: 50%;
	z-index: 2;
	margin: -0.35em 0 0 0 !important;
	background: transparent !important;
	color: var(--wp--preset--color--palette-8);
	pointer-events: none;
}
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg {
	transform: rotate(-90deg) !important;
}
.sdn-primary-nav .wp-block-navigation__submenu-container li.wp-block-navigation-submenu {
	position: relative;
}
.sdn-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	position: absolute;
	top: 0 !important;
	left: 100% !important;
	right: auto !important;
}
.sdn-nav-home > .wp-block-navigation-item__content .wp-block-navigation-item__label {
	display: inline-block;
	width: 1.3em;
	height: 1.3em;
	overflow: hidden;
	text-indent: 200%;
	white-space: nowrap;
	vertical-align: middle;
	background: currentColor;
	-webkit-mask: url(../images/home.svg) center / contain no-repeat;
	mask: url(../images/home.svg) center / contain no-repeat;
}

/* Header buttons */
.sdn-header-buttons {
	gap: 0 !important;
	margin-left: 0;
}
.sdn-header-buttons .wp-block-button + .wp-block-button {
	margin-left: 10px;
}
.sdn-header-buttons .wp-block-button__link,
.sdn-mobile-buttons .wp-block-button__link {
	padding: 10px 24px;
	border: 1px solid currentColor;
	border-radius: 45px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
}
.sdn-btn-apply .wp-block-button__link {
	background: #fff;
	color: var(--sdn-olive);
}
.sdn-btn-apply .wp-block-button__link:hover {
	background: var(--sdn-olive);
	color: #fff;
}
.sdn-btn-call .wp-block-button__link {
	border-color: var(--sdn-sky);
	background: var(--sdn-sky);
	color: #fff;
}
.sdn-btn-call .wp-block-button__link:hover {
	background: #fff;
	color: var(--sdn-sky);
}

/* Account logins dropdown */
.sdn-logins {
	font-size: 15px;
	font-weight: 600;
}
.sdn-logins .sdn-logins-toggle > .wp-block-navigation-item__content {
	padding: 6px 20.77px;
	border: 1px solid #fff;
	border-radius: 8px;
	background: var(--sdn-navy);
	color: #fff;
	text-decoration: none;
	line-height: 1.6;
}
.sdn-logins .sdn-logins-toggle > .wp-block-navigation__submenu-icon {
	display: none;
}
.sdn-logins .wp-block-navigation__submenu-container {
	right: 0;
	left: auto !important;
	min-width: 198px !important;
	gap: 9px;
	padding: 20px 20px 28px !important;
	border: 0 !important;
	background: #f9f9f9 !important;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
/* li > a: core's submenu link rule (display:flex, no margin) has the same specificity and loads later. */
.sdn-logins .wp-block-navigation__submenu-container li > .wp-block-navigation-item__content {
	display: flex;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px !important;
	border-radius: 43px;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
}
.sdn-logins .btn-cta-1 > a {
	border: 1px solid #ffeb3b;
	background: #ffeb3b;
	color: #2b4856 !important;
}
.sdn-logins .btn-cta-2 > a {
	border: 1px solid #3394c6;
	background: #3394c6;
	color: #fff !important;
}
.sdn-logins .btn-cta-3 > a {
	border: 1px solid #cabb13;
	background: #cabb13;
	color: #fff !important;
}
.sdn-logins .wp-block-navigation__submenu-container a:hover {
	background: #fff;
	color: #2b4856 !important;
}

/* Mobile header */
.sdn-mobile-top,
.sdn-mobile-main {
	display: none !important;
}
@media (max-width: 1024px) {
	.sdn-topbar,
	.sdn-mainbar {
		display: none !important;
	}
	.sdn-mobile-top,
	.sdn-mobile-main {
		display: flex !important;
	}
	.sdn-mobile-top {
		gap: 10px;
		padding: 10px 15px;
		background: var(--sdn-navy);
	}
	.sdn-mobile-buttons {
		gap: 10px !important;
	}
	.sdn-mobile-buttons .wp-block-button__link {
		padding: 6px 14px;
		border-radius: 10px;
		font-size: 12px;
		line-height: 19px;
	}
	.sdn-mobile-top .sdn-logins .sdn-logins-toggle > .wp-block-navigation-item__content {
		padding: 6px 14px;
		font-size: 12px;
		line-height: 18px;
	}
	.sdn-mobile-main {
		min-height: 60px;
		padding: 10px 15px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		background: #fff;
	}
}
.sdn-mobile-nav .wp-block-navigation__responsive-container-open {
	padding: 0.4em 0.6em;
	color: var(--sdn-sky);
}
.sdn-mobile-nav .wp-block-navigation__responsive-container-open svg {
	width: 30px;
	height: 30px;
}

/* Mobile drawer (navigation overlay) */
.sdn-mobile-nav .wp-block-navigation__responsive-container.is-menu-open {
	left: auto;
	width: 90%;
	max-width: 100%;
	padding: 0;
	background: #090c10 !important;
	color: var(--wp--preset--color--palette-8) !important;
	box-shadow: -100vw 0 0 100vw rgba(0, 0, 0, 0.5);
}
.sdn-drawer {
	min-height: 100%;
	padding: 44px 25.5px 25.5px;
	font-size: 14px;
}
.sdn-drawer__close {
	position: absolute;
	top: 14px;
	right: 29px;
	color: #fff;
}
.sdn-drawer a {
	color: var(--wp--preset--color--palette-8);
}
/* Contact block spacing from the old drawer widgets. */
.sdn-drawer .sdn-search {
	margin-bottom: 14px;
}
.sdn-drawer .wp-block-group:has(> p > a[href^="https://wa.me"]) {
	margin-top: 14px;
}
.sdn-drawer-nav {
	margin: 1.5em 0;
}
.sdn-drawer-nav .wp-block-navigation__container {
	flex-direction: column;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}
.sdn-drawer-nav .wp-block-navigation-item {
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sdn-drawer-nav .wp-block-navigation-item__content,
.sdn-drawer-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	flex: 1;
	padding: 14px 7px !important;
	color: var(--wp--preset--color--palette-8) !important;
	text-decoration: none;
}
.sdn-drawer-nav .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--palette-8);
}
.sdn-drawer-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--palette-1) !important;
}
.sdn-drawer-nav .wp-block-navigation__submenu-container {
	position: static !important;
	display: none !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 0 0 0 1em !important;
	border: 0 !important;
	background: transparent !important;
	opacity: 1 !important;
	visibility: visible !important;
	box-shadow: none !important;
}
.sdn-drawer-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
	display: block !important;
}
.sdn-drawer-nav .wp-block-navigation__submenu-icon {
	width: 14px;
	height: 14px;
	margin-right: 15px;
}
.sdn-drawer-nav .wp-block-navigation-item:last-child {
	border-bottom: 0;
}

/* ---------------------------------------------------------------- footer */
.sdn-site-footer .sdn-footer {
	position: static; /* the CTA box above overlaps into the footer and must stay on top */
	padding: 160px var(--sdn-edge) 0;
	background: var(--sdn-navy);
	color: #fff;
	font-size: 15px;
	line-height: 24px;
}
.sdn-footer a {
	color: #fff;
	text-decoration: none;
}
.sdn-footer__widgets.wp-block-columns {
	gap: 40px;
	padding-bottom: 10px;
}
.sdn-footer__widgets > .sdn-footer__col.is-brand.wp-block-column {
	flex: 1.5 1 0;
}
.sdn-footer__widgets > .sdn-footer__col.is-courses.wp-block-column {
	flex: 1.4 1 0;
}
.sdn-footer__widgets > .sdn-footer__col.is-links.wp-block-column,
.sdn-footer__widgets > .sdn-footer__col.is-info.wp-block-column {
	flex: 0.9 1 0;
}
.sdn-footer__widgets > .sdn-footer__col.is-help.wp-block-column {
	flex: 1.25 1 0;
}
.sdn-footer__col > * {
	margin-top: 0;
	margin-bottom: 30px;
}
.sdn-footer__middle {
	padding: 30px 0 20px;
	font-size: 16px;
	line-height: 1.6;
}
.sdn-footer__bottom {
	align-items: center;
	min-height: 0;
	padding: 0 0 30px;
}
.sdn-footer__bottom > .sdn-copyright {
	margin: 16px 0;
	font-size: 16px;
	line-height: 21px;
}
/* Bottom bar: copyright (company details) and social icons centred, one above the other. */
.sdn-footer__bottom.wp-block-group {
	flex-direction: column;
	justify-content: center !important;
	align-items: center;
	gap: 14px;
	text-align: center;
}
.sdn-footer__bottom > .sdn-copyright {
	max-width: 760px;
	margin: 16px auto 0;
	font-size: 14px;
	line-height: 1.6;
}
.sdn-footer__bottom > .sdn-footer-social {
	justify-content: center;
}
.sdn-footer-social {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
}
.sdn-footer-social a {
	display: inline-flex;
}
.sdn-footer-social img {
	display: block;
	height: auto;
}
@media (max-width: 1024px) {
	.sdn-footer__bottom {
		flex-direction: column;
		justify-content: center !important;
		gap: 0;
	}
}
@media (max-width: 767px) {
	.sdn-footer__widgets.wp-block-columns {
		flex-direction: column;
	}
	.sdn-footer__widgets > .sdn-footer__col.wp-block-column {
		flex-basis: auto !important;
	}
}

/* Sticky social bar */
.sdn-sticky-social.wp-block-social-links {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 999;
	gap: 0 !important;
	margin: 0;
	padding: 0;
}
.sdn-sticky-social .wp-social-link {
	margin: 0 !important;
	border-radius: 0 !important;
}
.sdn-sticky-social .wp-social-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	padding: 0 !important;
	color: #fff !important;
	transition: width 0.2s;
}
.sdn-sticky-social .wp-social-link a:hover {
	width: 45px;
	margin-left: -10px;
}
.sdn-sticky-social .wp-social-link svg {
	width: 16px;
	height: 16px;
}
.sdn-sticky-social .wp-social-link-facebook { background: #1e73be !important; }
.sdn-sticky-social .wp-social-link-facebook:hover { background: #194da8 !important; }
.sdn-sticky-social .wp-social-link-instagram { background: #e878e8 !important; }
.sdn-sticky-social .wp-social-link-instagram:hover { background: #ae78e8 !important; }
.sdn-sticky-social .wp-social-link-youtube { background: #e51b1b !important; }
.sdn-sticky-social .wp-social-link-youtube:hover { background: #c41717 !important; }
.sdn-sticky-social .wp-social-link-linkedin { background: #2f82d6 !important; }
.sdn-sticky-social .wp-social-link-linkedin:hover { background: #4665a3 !important; }
@media (max-width: 415px) {
	.sdn-sticky-social .wp-social-link a {
		width: 29.75px;
		height: 29.75px;
	}
	.sdn-sticky-social .wp-social-link svg {
		width: 13.6px;
		height: 13.6px;
	}
}

/* Editor: show hidden-on-device blocks faintly instead of not at all. */
.editor-styles-wrapper .sdn-mobile-top,
.editor-styles-wrapper .sdn-mobile-main {
	display: flex !important;
	opacity: 0.6;
}

/* Sidebar recent posts: the same » marker as the archive list (replaces the converted mask icon). */
.sdn-sidebar .wp-block-post-template > li.wp-block-post {
	align-items: flex-start;
	column-gap: 0;
}
.sdn-sidebar .wp-block-post-template > li.wp-block-post::before {
	content: "»";
	flex: none;
	height: auto;
	margin: 0;
	padding-right: 8px;
	background: none;
	-webkit-mask: none;
	mask: none;
	font-size: 1.4em;
	line-height: 1.143; /* one title line (1.6 × 14px) at the larger marker size */
}

/* Post lists styled like the chevron icon lists (set per block, e.g. on the Sitemap). */
.sdn-post-list.is-sdn-list-match .wp-block-post-template {
	display: grid;
	gap: 5px 0;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.sdn-post-list.is-sdn-list-match .wp-block-post {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
.sdn-post-list.is-sdn-list-match .wp-block-post::before {
	content: "";
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	margin: 4px 10px 4px 0;
	background: currentColor;
	-webkit-mask: url(../images/chevron-right.svg) center / contain no-repeat;
	mask: url(../images/chevron-right.svg) center / contain no-repeat;
}
.sdn-post-list.is-sdn-list-match .wp-block-post > * {
	margin: 0;
	padding: 0;
}
/* Titles are links like the ones in the chevron lists: link colour, underlined. */
.sdn-post-list.is-sdn-list-match .wp-block-post-title a {
	color: var(--wp--preset--color--palette-1);
	text-decoration: underline;
}
.sdn-post-list.is-sdn-list-match .wp-block-post-title a:hover {
	color: var(--wp--preset--color--palette-2);
}

@media (max-width: 767px) {
  /* Pagination: numbers on one row, Prev/Next centred below */
  .sdn-pagination.wp-block-query-pagination {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    gap: 1rem .75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .sdn-pagination .wp-block-query-pagination-numbers {
    flex: 0 0 100%;
    justify-content: center;
  }
  .sdn-pagination .wp-block-query-pagination-previous,
  .sdn-pagination .wp-block-query-pagination-next {
    grid-area: auto;
    margin: 0 !important;
  }

  /* Less space under the sidebar "Recent" box */
  .sdn-sidebar .wp-block-group.has-background { margin-bottom: 0 !important; }
  .sdn-layout__sidebar { padding-bottom: 0 !important; }

  /* Archive box: top/bottom space closer to the other sections */
  .sdn-site-footer .sdn-archive-moved.sdn-archive-moved { margin: 3.5rem auto !important; }
}
