/*
 Theme Name:   SWD
 Theme URI:    https://solanoemployment.org
 Description:  Child theme of Divi for the Solano Workforce Development (SWD) site.
 Author:       PDDG
 Template:     Divi
 Version:      1.0.57
 Text Domain:  swd
*/


/* ===========================================================================
   Global HEADER (Divi Theme Builder) — swd-header-*
   =========================================================================== */

/* ---- Utility bar (Top Menu) — desktop horizontal bar -------------------- */
@media (min-width: 981px) {
	.swd-utility-bar .et_pb_menu__menu .et-menu > li {
		margin: 0;
		padding: 0;
		position: relative;
	}
	.swd-utility-bar .et_pb_menu__menu .et-menu > li > a {
		display: flex;
		align-items: center;
		gap: 8px;
		height: 44px;
		line-height: 44px;
		padding: 0 20px;
	}
	.swd-utility-bar .et_pb_menu__menu .et-menu > li + li::before {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
		height: 16px;
		background: rgba(255, 255, 255, 0.18);
	}
	.swd-utility-bar .et_pb_menu__menu .et-menu > li:first-child > a::before {
		content: "";
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: #F5B01F;
		display: inline-block;
		flex: 0 0 auto;
	}
}

.swd-utility-bar .menu-contact > a {
	background: #F5B01F;
	color: #15294B !important;
	font-weight: 800;
	padding: 0 22px;
}
.swd-utility-bar .menu-contact > a:hover {
	background: #B77F12;
	color: #15294B !important;
}

/* ---- Main header (Main Menu) ------------------------------------------- */
@media (min-width: 981px) {
	.swd-header-main .et_pb_menu__menu .et-menu > li > a {
		padding: 8px 15px;
	}
}

/* ---- Main-menu dropdown panels (desktop) -------------------------------- */
@media (min-width: 981px) {
	.swd-main-menu .et-menu > li { position: relative; }

	.swd-main-menu .et-menu > li > ul.sub-menu {
		display: block !important;
		width: 272px;
		padding: 10px;
		left: -12px;
		background: #FFFFFF;
		border: 1px solid #EADFCB;
		border-top: 1px solid #EADFCB;
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(21, 41, 75, .04),
		            0 14px 32px -8px rgba(21, 41, 75, .18);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity .18s ease, transform .18s ease, visibility .18s;
		pointer-events: none;
	}

	.swd-main-menu .et-menu > li:nth-last-child(-n+2) > ul.sub-menu {
		left: auto;
		right: -12px;
	}

	.swd-main-menu .et-menu > li > ul.sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -14px;
		height: 14px;
	}

	.swd-main-menu .et-menu > li:hover > ul.sub-menu,
	.swd-main-menu .et-menu > li:focus-within > ul.sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.swd-main-menu .et-menu > li > ul.sub-menu > li {
		width: 100%;
		padding: 0;
	}

	.swd-main-menu .et-menu > li > ul.sub-menu > li > a {
		position: relative;
		display: block;
		width: auto;
		padding: 9px 14px 9px 20px;
		border-radius: 9px;
		font-size: 15px;
		line-height: 1.35;
		font-weight: 600;
		color: #15294B;
		opacity: 1;
		transition: background-color .15s ease, color .15s ease;
	}

	.swd-main-menu .et-menu > li > ul.sub-menu > li > a::before {
		content: "";
		position: absolute;
		left: 8px;
		top: 50%;
		width: 3px;
		height: 0;
		border-radius: 2px;
		background: #F5B01F;
		transform: translateY(-50%);
		transition: height .18s ease;
	}

	.swd-main-menu .et-menu > li > ul.sub-menu > li > a:hover,
	.swd-main-menu .et-menu > li > ul.sub-menu > li > a:focus-visible {
		background: #F6F1E7;
		color: #15294B;
		opacity: 1;
	}
	.swd-main-menu .et-menu > li > ul.sub-menu > li > a:hover::before,
	.swd-main-menu .et-menu > li > ul.sub-menu > li > a:focus-visible::before {
		height: 18px;
	}

	@media (prefers-reduced-motion: reduce) {
		.swd-main-menu .et-menu > li > ul.sub-menu,
		.swd-main-menu .et-menu > li > ul.sub-menu > li > a,
		.swd-main-menu .et-menu > li > ul.sub-menu > li > a::before {
			transition: none;
		}
		.swd-main-menu .et-menu > li > ul.sub-menu { transform: none; }
	}
}

.swd-header-main .menu-client-portal > a {
	display: inline-flex;
	align-items: center;
	background: #F5B01F;
	color: #15294B !important;
	font-weight: 700;
	line-height: 1 !important;
	padding: 10px 20px !important;
	border-radius: 999px;
}
.swd-header-main .menu-client-portal > a:hover {
	background: #B77F12;
	color: #15294B !important;
}

@media (max-width: 980px) {
	.et_pb_menu.swd-main-menu .et_mobile_menu {
		top: 75px!important;
		padding: 5%;
		margin-left: -18px!important;
		width: 100vw!important;
	}

	.et_pb_menu.swd-main-menu .et_mobile_menu li {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* ===========================================================================
   Global FOOTER (Divi Theme Builder) — swd-footer
   =========================================================================== */

.swd-footer-menu.et_pb_menu { text-align: left; }
.swd-footer-menu.et_pb_menu .et_pb_menu__wrap { justify-content: flex-start !important; }
.swd-footer-menu.et_pb_menu .et_pb_menu__menu { display: block !important; text-align: left; }
.swd-footer-menu.et_pb_menu .et_mobile_nav_menu { display: none !important; }
.swd-footer-menu.et_pb_menu .et-menu {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
	margin-left: 0;
}
.swd-footer-menu.et_pb_menu .et-menu > li { float: none !important; margin: 0; padding: 0; }
.swd-footer-menu.et_pb_menu .et-menu > li > a { padding: 0; }

.swd-footer-social li a.icon,
.swd-footer-social .et_pb_social_icon a {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

/* ===========================================================================
   Global photo crop-frames — swd-crop-*
   Add to any Image module's CSS Class: swd-crop-320, swd-crop-220, etc.
   =========================================================================== */

[class*="swd-crop"] img {
	display: block;
	width: 100% !important;
	height: var(--swd-crop, 320px);
	object-fit: cover;
}
.swd-crop-220 { --swd-crop: 220px; }
.swd-crop-240 { --swd-crop: 240px; }
.swd-crop-280 { --swd-crop: 280px; }
.swd-crop-320 { --swd-crop: 320px; }
.swd-crop-340 { --swd-crop: 340px; }
.swd-crop-360 { --swd-crop: 360px; }
.swd-crop-540 { --swd-crop: 540px; }

/* ===========================================================================
   Global BUTTONS — swd-btn (every page)
   =========================================================================== */
.swd-btn.et_pb_button {
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.swd-btn.et_pb_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(14, 29, 56, .22);
}
.swd-btn.et_pb_button.swd-btn-ghost:hover {
	background-color: rgba(21, 41, 75, .06);
	background-color: color-mix(in srgb, currentColor 8%, transparent);
	box-shadow: none;
}

body #page-container .et_pb_section .swd-btn.et_pb_button:after {
	position: static !important;
	top: auto !important;
	transform: none !important;
	margin-left: 12px !important;
	line-height: 1 !important;
	vertical-align: -0.06em;
	transition: transform .18s ease;
}
body #page-container .et_pb_section .swd-btn.et_pb_button:hover:after {
	transform: translateX(4px) !important;
	line-height: 1 !important;
}

/* ===========================================================================
   Global LINK CARDS — hover lift (every page) — see docs/globals/stylesheet.md
   =========================================================================== */

.swd-card-row > .et_pb_column,
.swd-card {
	transition: transform .18s ease, box-shadow .18s ease;
}

.swd-card-row > .et_pb_column:hover,
.swd-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(14, 29, 56, .18);
}

.swd-card-row > .et_pb_column .et_pb_text:last-child .et_pb_text_inner > p,
.swd-card .et_pb_text:last-child .et_pb_text_inner > p {
	transition: transform .18s ease;
}

.swd-card-row > .et_pb_column:hover .et_pb_text:last-child .et_pb_text_inner > p,
.swd-card:hover .et_pb_text:last-child .et_pb_text_inner > p {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.swd-card-row > .et_pb_column,
	.swd-card-row > .et_pb_column:hover,
	.swd-card-row > .et_pb_column .et_pb_text:last-child .et_pb_text_inner > p,
	.swd-card-row > .et_pb_column:hover .et_pb_text:last-child .et_pb_text_inner > p,
	.swd-card,
	.swd-card:hover,
	.swd-card .et_pb_text:last-child .et_pb_text_inner > p,
	.swd-card:hover .et_pb_text:last-child .et_pb_text_inner > p {
		transform: none;
		transition: none;
	}
}

/* ===========================================================================
   Global ACCORDION → comp styling (Adult Programs, Interior Template, Job Seekers)
   =========================================================================== */

.et_pb_accordion .et_pb_accordion_item.et_pb_toggle { border-radius: 14px !important; }
.et_pb_accordion .et_pb_toggle .et_pb_toggle_title {
	padding: 24px 70px 24px 28px !important;
	font-family: 'Newsreader', serif !important;
	font-weight: 600 !important;
	font-size: 22px !important;
	line-height: 1.2 !important;
	cursor: pointer;
}
.et_pb_accordion .et_pb_toggle .et_pb_toggle_content { padding: 0 28px 26px !important; }
.et_pb_accordion .et_pb_accordion_item.et_pb_toggle:not(.et_pb_toggle_empty) .et_pb_toggle_title:before {
	content: "+" !important;
	font-family: 'Public Sans', system-ui, sans-serif !important;
	font-weight: 400 !important;
	font-size: 22px !important;
	position: absolute !important;
	top: 61% !important;
	right: 24px !important;
	left: auto !important;
	bottom: auto !important;
	transform: translateY(calc(-50% + 4px)) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	line-height: 1 !important;
	border-radius: 50% !important;
	background: #F6F1E7 !important;
	color: #B77F12 !important;
}
.et_pb_accordion .et_pb_accordion_item.et_pb_toggle_open:not(.et_pb_toggle_empty) .et_pb_toggle_title:before {
	content: "\2212" !important;
}


/* ===========================================================================
   Global FORMS — swd-form (Fluent Forms) — see docs/globals/stylesheet.md
   =========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
.swd-form {
	--swd-form-navy: var(--gcid-swd-navy, #15294B);
	--swd-form-gold: var(--gcid-swd-gold, #F5B01F);
	--swd-form-gold-deep: var(--gcid-swd-gold-deep, #724E09);
	--swd-form-paper: var(--gcid-swd-paper, #FCFAF5);
	--swd-form-cream: var(--gcid-swd-cream, #F6F1E7);
	--swd-form-line: var(--gcid-swd-line, #EADFCB);
	--swd-form-line-deep: var(--gcid-swd-line-deep, #DFD3BC);
	--swd-form-ink-soft: var(--gcid-swd-ink-soft, #4A5670);
	--swd-form-control-line: #7E889C;
	--swd-form-placeholder: #6B7488;
	--swd-form-error: #A32017;
	--swd-form-focus-ring: rgba(245, 176, 31, .38);
	--swd-form-radius: 10px;
	--swd-form-choice-size: 20px;
	--swd-form-choice-lh: 1.45;
	--swd-form-text-xs: var(--gvid-swd-textxs, clamp(0.75rem, calc(0.7255rem + 0.1087vw), 0.8125rem));
	--swd-form-text-s: var(--gvid-swd-texts, clamp(0.9375rem, calc(0.913rem + 0.1087vw), 1rem));
	--swd-form-text-m: var(--gvid-swd-textm, clamp(1.0625rem, calc(1.0136rem + 0.2174vw), 1.1875rem));
}

/* ---- Panel -------------------------------------------------------------- */
.swd-form {
	background-color: #FFFFFF;
	border: 1px solid var(--swd-form-line);
	border-radius: 14px;
	padding: clamp(20px, 3.2vw, 40px);
	font-family: 'Public Sans', Helvetica, Arial, Lucida, sans-serif;
	color: var(--swd-form-navy);
}
.swd-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

/* ---- Step header + progress --------------------------------------------- */
.swd-form .ff-step-header {
	margin-bottom: 28px;
}
.swd-form .ff-el-progress-status {
	font-size: var(--swd-form-text-xs);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--swd-form-gold-deep);
	margin-bottom: 10px;
}
.swd-form .ff-el-progress {
	height: 6px;
	line-height: 6px;
	background-color: var(--swd-form-line);
	border-radius: 999px;
	overflow: hidden;
}
.swd-form .ff-el-progress-bar {
	height: 6px;
	background-color: var(--swd-form-gold);
	border-radius: 999px;
}
.swd-form .ff-el-progress-bar span {
	display: none;
}

/* ---- Labels + required asterisk ----------------------------------------- */
.swd-form .ff-el-input--label {
	margin-bottom: 8px;
}
.swd-form .ff-el-input--label label {
	display: block;
	margin: 0;
	font-family: inherit;
	font-size: var(--swd-form-text-s);
	font-weight: 600;
	line-height: 1.4;
	color: var(--swd-form-navy);
}
.swd-form .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
.swd-form .ff-el-input--label.ff-el-is-required.asterisk-left label::before {
	color: var(--swd-form-gold-deep);
	font-weight: 700;
}
.swd-form .ff-el-help-message {
	font-size: var(--swd-form-text-xs);
	font-style: normal;
	color: var(--swd-form-ink-soft);
	margin-top: 6px;
}

/* ---- Sub-section headings (name / address wrappers) --------------------- */
.swd-form .ff-name-address-wrapper > .ff-el-input--label label,
.swd-form .ff-name-field-wrapper > .ff-el-input--label label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--swd-form-text-xs);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--swd-form-gold-deep);
}
.swd-form .ff-name-address-wrapper > .ff-el-input--label label::before,
.swd-form .ff-name-field-wrapper > .ff-el-input--label label::before {
	content: "";
	flex: 0 0 auto;
	width: 24px;
	height: 2px;
	background-color: var(--swd-form-gold);
}
.swd-form .ff-name-address-wrapper,
.swd-form .ff-name-field-wrapper {
	margin-bottom: 20px;
}
.swd-form .ff-name-address-wrapper > .ff-el-input--label {
	margin-bottom: 14px;
}

/* ---- Text inputs, selects, textareas ------------------------------------ */
.swd-form .ff-el-form-control {
	width: 100%;
	height: auto;
	font-family: inherit;
	font-size: max(16px, var(--swd-form-text-s));
	line-height: 1.5;
	color: var(--swd-form-navy);
	background-color: #FFFFFF;
	border: 1px solid var(--swd-form-line);
	border-radius: var(--swd-form-radius);
	padding: 13px 16px;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.swd-form .ff-el-form-control:hover {
	border-color: var(--swd-form-line-deep);
}
.swd-form .ff-el-form-control:focus {
	outline: none;
	border-color: var(--swd-form-navy);
	box-shadow: 0 0 0 3px var(--swd-form-focus-ring);
}
.swd-form .ff-el-form-control::placeholder {
	color: var(--swd-form-placeholder);
	opacity: 1;
}
.swd-form textarea.ff-el-form-control {
	min-height: 148px;
	resize: vertical;
}
.swd-form select.ff-el-form-control {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='9'%20viewBox='0%200%2014%209'%3E%3Cpath%20d='M1%201.5%207%207.5%2013%201.5'%20fill='none'%20stroke='%2315294B'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 9px;
}

/* ---- Radios + checkboxes ------------------------------------------------ */
.swd-form .ff-el-form-check {
	margin: 0 0 8px;
}
.swd-form .ff-el-form-check:last-child {
	margin-bottom: 0;
}
.swd-form .ff-el-form-check-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	font-size: var(--swd-form-text-s);
	font-weight: 500;
	line-height: var(--swd-form-choice-lh);
	color: var(--swd-form-navy);
	background-color: var(--swd-form-paper);
	border: 1px solid var(--swd-form-line);
	border-radius: var(--swd-form-radius);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.swd-form .ff-el-form-check-label:hover {
	background-color: var(--swd-form-cream);
	border-color: var(--swd-form-line-deep);
}
.swd-form .ff-el-form-check-label:has(.ff-el-form-check-input:checked) {
	background-color: var(--swd-form-cream);
	border-color: var(--swd-form-navy);
}
.swd-form .ff-el-form-check-label input.ff-el-form-check-input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	top: 0;
	flex: 0 0 auto;
	font-size: inherit;
	width: var(--swd-form-choice-size);
	height: var(--swd-form-choice-size);
	margin: calc((var(--swd-form-choice-lh) * 1em - var(--swd-form-choice-size)) / 2) 0 0;
	background-color: #FFFFFF;
	border: 1.5px solid var(--swd-form-control-line);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.swd-form .ff-el-form-check-label input.ff-el-form-check-radio {
	border-radius: 50%;
}
.swd-form .ff-el-form-check-label input.ff-el-form-check-checkbox {
	border-radius: 5px;
}
.swd-form .ff-el-form-check-label input.ff-el-form-check-input:checked {
	background-color: var(--swd-form-navy);
	border-color: var(--swd-form-navy);
}
.swd-form .ff-el-form-check-radio:checked::after {
	content: "";
	position: absolute;
	inset: 20%;
	border-radius: 50%;
	background-color: var(--swd-form-gold);
}
.swd-form .ff-el-form-check-checkbox:checked::after {
	content: "";
	position: absolute;
	left: 5.5px;
	top: 1.5px;
	width: 5px;
	height: 10px;
	border: solid var(--swd-form-gold);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.swd-form .ff-el-form-check-input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--swd-form-focus-ring);
}

/* ---- Buttons ------------------------------------------------------------ */
form.swd-form .ff-btn.ff-btn-submit:not(.ff_btn_no_style),
form.swd-form .ff-btn.ff-btn-next,
form.swd-form .ff-btn.ff-btn-prev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: var(--swd-form-text-s);
	font-weight: 700;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	color: var(--swd-form-navy);
	background-color: var(--swd-form-gold);
	border: 2px solid transparent;
	border-radius: var(--swd-form-radius);
	padding: 15px 26px;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
form.swd-form .ff-btn.ff-btn-submit:not(.ff_btn_no_style):hover,
form.swd-form .ff-btn.ff-btn-next:hover {
	color: var(--swd-form-navy);
	background-color: var(--swd-form-gold);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(14, 29, 56, .22);
}
form.swd-form .ff-btn.ff-btn-prev {
	color: var(--swd-form-navy);
	background-color: transparent;
	border-color: var(--swd-form-navy);
}
form.swd-form .ff-btn.ff-btn-prev:hover {
	color: var(--swd-form-navy);
	background-color: rgba(21, 41, 75, .06);
	transform: translateY(-2px);
	box-shadow: none;
}
form.swd-form .ff-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--swd-form-focus-ring);
}
.swd-form .step-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}
.swd-form .step-nav .ff-btn-next {
	float: none;
	margin-left: auto;
}
.swd-form .ff_submit_btn_wrapper {
	margin-top: 28px;
	margin-bottom: 0;
}

/* ---- Errors + success --------------------------------------------------- */
.swd-form .ff-el-is-error .ff-el-form-control {
	border-color: var(--swd-form-error);
}
.swd-form .ff-el-is-error .ff-el-form-control:focus {
	box-shadow: 0 0 0 3px rgba(163, 32, 23, .22);
}
.swd-form .ff-el-is-error .text-danger,
.swd-form .error.text-danger {
	font-size: var(--swd-form-text-xs);
	font-weight: 600;
	color: var(--swd-form-error);
	margin-top: 6px;
}
.swd-form .ff-errors-in-stack {
	padding: 14px 18px;
	border: 1px solid var(--swd-form-error);
	border-left-width: 4px;
	border-radius: var(--swd-form-radius);
	background-color: #FDF3F2;
	color: var(--swd-form-error);
	font-size: var(--swd-form-text-s);
	margin-bottom: 20px;
}
.ff-message-success {
	padding: 22px 26px;
	border: 1px solid var(--gcid-swd-line, #EADFCB);
	border-left: 4px solid var(--gcid-swd-gold, #F5B01F);
	border-radius: 14px;
	background-color: var(--gcid-swd-cream, #F6F1E7);
	font-family: 'Public Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: clamp(0.9375rem, calc(0.913rem + 0.1087vw), 1rem);
	line-height: 1.55;
	color: var(--gcid-swd-navy, #15294B);
}

/* ---- Small screens ------------------------------------------------------ */
@media (max-width: 600px) {
	form.swd-form .ff-btn.ff-btn-submit:not(.ff_btn_no_style),
	form.swd-form .ff-btn.ff-btn-next,
	form.swd-form .ff-btn.ff-btn-prev {
		width: 100%;
	}
	.swd-form .step-nav .ff-btn-next {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swd-form .ff-el-form-control,
	.swd-form .ff-el-form-check-label,
	.swd-form .ff-el-form-check-input,
	form.swd-form .ff-btn,
	form.swd-form .ff-btn:hover {
		transition: none;
		transform: none;
	}
}

/* ===========================================================================
   RFI – Business Services — swd-form.rfi-business-services
   =========================================================================== */

@media (min-width: 768px) {
	.swd-form.rfi-business-services .ff-el-input--content:has(.ff-el-form-check) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.swd-form.rfi-business-services .ff-el-input--content:has(.ff-el-form-check) .ff-el-form-check {
		margin-bottom: 0;
	}
}

.swd-form.rfi-business-services .ff-el-group:has(.ff-el-form-check) > .ff-el-input--label label {
	font-size: var(--swd-form-text-m);
	font-weight: 600;
	line-height: 1.35;
}
.swd-form.rfi-business-services .ff-el-group:has(.ff-el-form-check) {
	margin-bottom: 28px;
}

/* ===========================================================================
   Contact Us — swd-form.contact-us-form
   =========================================================================== */

/* The Divi group around the shortcode is already the comp's white panel, so the
   form's own panel is removed here rather than nesting one card inside another.
   `ffs_default` caps the form at 600px, which leaves it floating in the panel. */
.swd-form.contact-us-form {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	width: 100%;
	max-width: none;
}

/* ===========================================================================
   Recent policies — [swd_recent_policies] (Policies page)
   =========================================================================== */

.et_pb_text_inner:has(> .swd-recent-policies) {
	container-type: inline-size;
}

.swd-recent-policies {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

@container (min-width: 440px) {
	.swd-recent-policies {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container (min-width: 880px) {
	.swd-recent-policies {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.swd-recent-policies a.swd-recent-policy {
	display: flex;
	flex-direction: column;
	padding: 26px 24px;
	background-color: var(--gcid-swd-white, #FFFFFF);
	border: 1px solid var(--gcid-swd-line, #EADFCB);
	border-top: 3px solid var(--gcid-swd-navy, #15294B);
	border-radius: 0 0 18px 18px;
	text-decoration: none;
}

.swd-recent-policies a.swd-recent-policy:hover {
	background-color: var(--gcid-swd-paper, #FCFAF5);
}

.swd-recent-policies a.swd-recent-policy:focus-visible {
	outline: 2px solid var(--gcid-swd-navy, #15294B);
	outline-offset: 3px;
}

.swd-recent-policy__num {
	margin-bottom: 26px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: var(--gvid-swd-textxs, 0.8125rem);
	line-height: 1;
	color: var(--gcid-swd-gold-deep, #724E09);
}

.swd-recent-policy__title {
	font-family: 'Newsreader', serif;
	font-size: var(--gvid-swd-textl, 1.5625rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--gcid-swd-navy, #15294B);
	overflow-wrap: break-word;
}

.swd-recent-policy__link {
	margin-top: auto;
	padding-top: 16px;
	font-family: 'Public Sans', sans-serif;
	font-size: var(--gvid-swd-textxs, 0.8125rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gcid-swd-gold-deep, #724E09);
}

.swd-recent-policy__link span {
	display: inline-block;
	transition: transform .18s ease;
}

.swd-recent-policy:hover .swd-recent-policy__link span {
	transform: translateX(4px);
}

@media (max-width: 767px) {
	.swd-recent-policies a.swd-recent-policy {
		padding: 24px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swd-recent-policy__link span {
		transition: none;
		transform: none !important;
	}
}

/* ===========================================================================
   Floating search — swd-floating-search (every page) — see docs/globals/floating-search.md
   =========================================================================== */

.swd-floating-search,
.swd-floating-search * {
	box-sizing: border-box;
}

.swd-floating-search {
	--swd-search-inset: 36px;
	--swd-search-navy: var(--gcid-swd-navy, #15294B);
	--swd-search-gold: var(--gcid-swd-gold, #F5B01F);
	--swd-search-gold-deep: var(--gcid-swd-gold-deep, #724E09);
	--swd-search-ink-soft: var(--gcid-swd-ink-soft, #4A5670);

	position: fixed;
	right: var(--swd-search-inset);
	bottom: 32px;
	z-index: 60;
	display: flex;
	justify-content: flex-end;
	font-family: 'Public Sans', system-ui, sans-serif;
}

.swd-floating-search__toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	border: 0;
	border-radius: 32px;
	background: var(--swd-search-navy);
	box-shadow: 0 14px 30px rgba(14, 29, 56, .34);
	font: inherit;
	cursor: pointer;
	transition: background-color .15s ease, opacity .18s ease, transform .18s ease;
}

.swd-floating-search__toggle:hover {
	background: var(--gcid-swd-navy-deep, #0E1D38);
}

.swd-floating-search__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--gcid-swd-paper, #FCFAF5);
}

.swd-floating-search__icon {
	display: block;
	flex: none;
	width: 17px;
	height: 17px;
	fill: var(--swd-search-gold);
}

.swd-floating-search__icon--field {
	width: 16px;
	height: 16px;
	fill: var(--swd-search-gold-deep);
}

.swd-floating-search__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(430px, calc(100vw - var(--swd-search-inset) * 2));
	padding: 20px 22px 16px;
	border-top: 4px solid var(--swd-search-gold);
	border-radius: 14px;
	background: var(--gcid-swd-white, #FFFFFF);
	box-shadow: 0 22px 46px rgba(14, 29, 56, .30);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(.98);
	transform-origin: 100% 100%;
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.swd-floating-search.is-open .swd-floating-search__panel {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .18s ease, transform .18s ease, visibility 0s;
}

.swd-floating-search.is-open .swd-floating-search__toggle {
	opacity: 0;
	visibility: hidden;
	transform: scale(.96);
}

.swd-floating-search__form {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1.5px solid var(--gcid-swd-line-deep, #DFD3BC);
}

.swd-floating-search__field {
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	appearance: none;
	font: inherit;
	font-size: 16px;
	color: var(--swd-search-navy);
}

.swd-floating-search__field::placeholder {
	color: var(--swd-search-ink-soft);
	opacity: 1;
}

.swd-floating-search__field::-webkit-search-cancel-button,
.swd-floating-search__field::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.swd-floating-search__field:focus,
.swd-floating-search__toggle:focus,
.swd-floating-search__submit:focus,
.swd-floating-search__close:focus {
	outline: 0;
}

.swd-floating-search__toggle:focus-visible,
.swd-floating-search__submit:focus-visible,
.swd-floating-search__close:focus-visible,
.swd-floating-search__links a:focus-visible {
	outline: 2px solid var(--swd-search-navy);
	outline-offset: 3px;
}

.swd-floating-search__submit {
	flex: none;
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--swd-search-gold);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	color: var(--swd-search-navy);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.swd-floating-search__submit:hover {
	background: var(--swd-search-navy);
	color: var(--gcid-swd-paper, #FCFAF5);
}

.swd-floating-search__close {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 28px;
	line-height: 1;
	color: var(--swd-search-ink-soft);
	cursor: pointer;
	transition: color .15s ease;
}

.swd-floating-search__close:hover {
	color: var(--swd-search-navy);
}

.swd-floating-search__links {
	display: flex;
	flex-direction: column;
	padding-top: 10px;
}

.swd-floating-search__hint {
	margin: 0 0 10px;
	padding: 2px 2px 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--swd-search-gold-deep);
}

.swd-floating-search__links a {
	padding: 9px 2px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--swd-search-navy);
	text-decoration: none;
	transition: color .15s ease;
}

.swd-floating-search__links a:hover {
	color: var(--swd-search-gold-deep);
}

.swd-floating-search__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 767px) {
	.swd-floating-search {
		--swd-search-inset: 16px;

		bottom: 16px;
	}

	.swd-floating-search__toggle {
		padding: 14px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swd-floating-search__toggle,
	.swd-floating-search__panel {
		transition: none;
	}
}

@media print {
	.swd-floating-search {
		display: none;
	}
}

/* ===========================================================================
   Search results — swd-search (search.php) — see docs/globals/search-results.md
   =========================================================================== */

.swd-search {
	--swd-search-wrap: 1328px;
	--swd-search-gutter: 24px;
	--swd-search-navy: var(--gcid-swd-navy, #15294B);
	--swd-search-navy-deep: var(--gcid-swd-navy-deep, #0E1D38);
	--swd-search-gold: var(--gcid-swd-gold, #F5B01F);
	--swd-search-gold-deep: var(--gcid-swd-gold-deep, #724E09);
	--swd-search-paper: var(--gcid-swd-paper, #FCFAF5);
	--swd-search-cream: var(--gcid-swd-cream, #F6F1E7);
	--swd-search-line: var(--gcid-swd-line, #EADFCB);
	--swd-search-line-deep: var(--gcid-swd-line-deep, #DFD3BC);
	--swd-search-ink-soft: var(--gcid-swd-ink-soft, #4A5670);
	--swd-search-white: var(--gcid-swd-white, #FFFFFF);
	--swd-search-serif: var(--et_global_heading_font, 'Newsreader'), Georgia, serif;

	background: var(--swd-search-paper);
	font-family: var(--et_global_body_font, 'Public Sans'), system-ui, sans-serif;
}

/* :where() keeps these resets below every component rule; plain selectors outrank them. */
.swd-search :where(h1, h2, p) {
	margin: 0;
	padding: 0;
}

.swd-search :where(a) {
	text-decoration: none;
}

.swd-search :focus-visible {
	outline: 2px solid var(--swd-search-navy);
	outline-offset: 3px;
}

.swd-search-hero :focus-visible {
	outline-color: var(--swd-search-gold);
}

.swd-search-hero {
	position: relative;
	overflow: hidden;
	background: var(--swd-search-navy);
}

.swd-search-hero__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .18;
}

.swd-search-hero__inner,
.swd-search-bar__inner,
.swd-search-shell {
	max-width: var(--swd-search-wrap);
	margin: 0 auto;
	padding-right: var(--swd-search-gutter);
	padding-left: var(--swd-search-gutter);
}

.swd-search-hero__inner {
	position: relative;
	padding-top: 56px;
	padding-bottom: 50px;
}

.swd-search-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--swd-search-gold);
}

.swd-search-eyebrow__rule {
	display: block;
	flex: none;
	width: 28px;
	height: 2px;
	background: var(--swd-search-gold);
}

.swd-search-title {
	margin-bottom: 30px;
	font-family: var(--swd-search-serif);
	font-size: clamp(34px, 4vw, 56px);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -.01em;
	color: var(--swd-search-paper);
	text-wrap: pretty;
}

.swd-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: stretch;
	max-width: 900px;
}

.swd-search-form__field {
	display: flex;
	flex: 1;
	min-width: min(280px, 100%);
	align-items: center;
	gap: 14px;
	height: 60px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--swd-search-white);
}

.swd-search-form__icon {
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
	fill: var(--swd-search-gold-deep);
}

.swd-search-form__input {
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	appearance: none;
	font: inherit;
	font-size: 17px;
	color: var(--swd-search-navy);
}

.swd-search-form__input::placeholder {
	color: var(--swd-search-ink-soft);
	opacity: 1;
}

.swd-search-form__input::-webkit-search-cancel-button,
.swd-search-form__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.swd-search-form__input:focus {
	outline: 0;
}

.swd-search-form__field:focus-within {
	box-shadow: 0 0 0 3px var(--swd-search-gold);
}

.swd-search-form__clear {
	flex: none;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 24px;
	line-height: 1;
	color: var(--swd-search-ink-soft);
	cursor: pointer;
	transition: color .15s ease;
}

.swd-search-form__clear:hover {
	color: var(--swd-search-navy);
}

.swd-search-form__submit {
	flex: none;
	height: 60px;
	padding: 0 34px;
	border: 0;
	border-radius: 999px;
	background: var(--swd-search-gold);
	font: inherit;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--swd-search-navy);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.swd-search-form__submit:hover {
	background: var(--swd-search-paper);
}

.swd-search-bar {
	background: var(--swd-search-white);
	border-bottom: 1px solid var(--swd-search-line);
}

.swd-search-bar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	padding-bottom: 20px;
}

.swd-search-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swd-search-tab {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 18px;
	border: 1px solid var(--swd-search-line-deep);
	border-radius: 999px;
	background: var(--swd-search-white);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--swd-search-navy);
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.swd-search-tab:hover {
	border-color: var(--swd-search-navy);
}

.swd-search-tab.is-on {
	border-color: var(--swd-search-navy);
	background: var(--swd-search-navy);
	color: var(--swd-search-paper);
}

.swd-search-tab__count {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--swd-search-ink-soft);
}

.swd-search-tab.is-on .swd-search-tab__count {
	color: var(--swd-search-gold);
}

.swd-search-sort {
	display: flex;
	align-items: center;
	gap: 12px;
}

.swd-search-sort__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--swd-search-gold-deep);
}

.swd-search-sort__select {
	padding: 10px 14px;
	border: 1px solid var(--swd-search-line-deep);
	border-radius: 10px;
	background: var(--swd-search-paper);
	font: inherit;
	font-size: 15px;
	color: var(--swd-search-navy);
}

.swd-search-sort__go {
	padding: 10px 16px;
	border: 1px solid var(--swd-search-line-deep);
	border-radius: 10px;
	background: var(--swd-search-white);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--swd-search-navy);
	cursor: pointer;
}

.swd-search-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 72px;
	align-items: start;
	padding-top: 56px;
	padding-bottom: 88px;
}

.swd-search-body {
	min-width: 0;
}

.swd-search-count {
	margin-bottom: 8px;
	font-size: 15.5px;
	color: var(--swd-search-ink-soft);
}

.swd-search-list {
	display: flex;
	flex-direction: column;
	margin-top: 22px;
}

.swd-search-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px 32px;
	align-items: start;
	padding: 30px 16px 30px 0;
	border-top: 1px solid var(--swd-search-line-deep);
	color: var(--swd-search-navy);
	transition: background-color .15s ease;
}

.swd-search-result:hover {
	background: var(--swd-search-white);
}

.swd-search-result__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.swd-search-result__badge {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--swd-search-cream);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--swd-search-gold-deep);
}

.swd-search-result__date {
	font-size: 13.5px;
	color: var(--swd-search-ink-soft);
}

.swd-search-result__title {
	margin-bottom: 10px;
	font-family: var(--swd-search-serif);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.24;
	color: var(--swd-search-navy);
	overflow-wrap: anywhere;
	text-wrap: pretty;
}

.swd-search-result__excerpt {
	margin-bottom: 12px;
	max-width: 760px;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--swd-search-ink-soft);
	text-wrap: pretty;
}

.swd-search-result__path {
	font-size: 13.5px;
	letter-spacing: .01em;
	color: var(--swd-search-gold-deep);
	overflow-wrap: anywhere;
}

.swd-search-result__arrow {
	padding-top: 34px;
	font-size: 22px;
	color: var(--swd-search-gold-deep);
	transition: transform .18s ease;
}

.swd-search-result:hover .swd-search-result__arrow {
	transform: translateX(4px);
}

.swd-search-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
	padding-top: 30px;
	border-top: 1px solid var(--swd-search-line-deep);
}

.swd-search-pager__line {
	font-size: 14.5px;
	color: var(--swd-search-ink-soft);
}

.swd-search-pager__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swd-search-page {
	display: flex;
	min-width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--swd-search-line-deep);
	border-radius: 999px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--swd-search-navy);
	transition: border-color .15s ease, background-color .15s ease;
}

.swd-search-page:hover {
	border-color: var(--swd-search-navy);
	background: var(--swd-search-white);
}

.swd-search-page.is-on {
	border-color: var(--swd-search-navy);
	background: var(--swd-search-navy);
	font-weight: 700;
	color: var(--swd-search-paper);
}

.swd-search-page--next {
	padding: 0 18px;
}

.swd-search-empty {
	margin-top: 26px;
	padding-top: 44px;
	border-top: 1px solid var(--swd-search-line-deep);
}

.swd-search-empty__title {
	margin-bottom: 14px;
	font-family: var(--swd-search-serif);
	font-size: 34px;
	font-weight: 600;
	color: var(--swd-search-navy);
}

.swd-search-empty__body {
	margin-bottom: 30px;
	max-width: 640px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--swd-search-ink-soft);
}

.swd-search-empty__body a {
	font-weight: 600;
	color: var(--swd-search-gold-deep);
}

.swd-search-empty__body a:hover {
	color: var(--swd-search-navy);
}

.swd-search-empty__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 34px;
}

.swd-search-pill {
	padding: 9px 18px;
	border: 1px solid var(--swd-search-line-deep);
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--swd-search-navy);
	transition: border-color .15s ease, background-color .15s ease;
}

.swd-search-pill:hover {
	border-color: var(--swd-search-navy);
	background: var(--swd-search-white);
}

.swd-search-empty__reset {
	display: inline-block;
	padding: 15px 28px;
	border-radius: 999px;
	background: var(--swd-search-navy);
	font-size: 16px;
	font-weight: 700;
	color: var(--swd-search-paper);
	transition: background-color .15s ease;
}

.swd-search-empty__reset:hover {
	background: var(--swd-search-navy-deep);
	color: var(--swd-search-paper);
}

.swd-search-aside {
	position: sticky;
	top: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.swd-search-card {
	padding: 28px 26px 30px;
	border: 1px solid var(--swd-search-line);
	border-top: 3px solid var(--swd-search-navy);
	border-radius: 0 0 18px 18px;
	background: var(--swd-search-white);
}

.swd-search-card__title {
	margin-bottom: 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--swd-search-gold-deep);
}

.swd-search-card__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15.5px;
}

.swd-search-year {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	color: var(--swd-search-navy);
	transition: color .15s ease;
}

.swd-search-year:hover {
	color: var(--swd-search-gold-deep);
}

.swd-search-year.is-on {
	font-weight: 700;
}

.swd-search-year__count {
	color: var(--swd-search-ink-soft);
}

.swd-search-panel {
	padding: 28px 26px 30px;
	border-radius: 18px;
	background: var(--swd-search-cream);
}

.swd-search-panel .swd-search-card__rows {
	gap: 13px;
}

.swd-search-panel__link {
	font-weight: 600;
	color: var(--swd-search-navy);
	transition: color .15s ease;
}

.swd-search-panel__link:hover {
	color: var(--swd-search-gold-deep);
}

.swd-search-help {
	padding: 30px 26px 32px;
	border-radius: 18px;
	background: var(--swd-search-navy);
}

.swd-search-help__eyebrow {
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--swd-search-gold);
}

.swd-search-help__body {
	margin-bottom: 22px;
	font-family: var(--swd-search-serif);
	font-size: 21px;
	line-height: 1.35;
	color: var(--swd-search-paper);
}

.swd-search-help__button {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--swd-search-gold);
	font-size: 15px;
	font-weight: 700;
	color: var(--swd-search-navy);
	transition: background-color .15s ease;
}

.swd-search-help__button:hover {
	background: var(--swd-search-paper);
	color: var(--swd-search-navy);
}

.swd-search-help :focus-visible {
	outline-color: var(--swd-search-gold);
}

@media (max-width: 1000px) {
	.swd-search-shell {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.swd-search-aside {
		position: static;
	}
}

@media (max-width: 767px) {
	.swd-search-hero__inner {
		padding-top: 40px;
		padding-bottom: 36px;
	}

	.swd-search-shell {
		padding-top: 40px;
		padding-bottom: 64px;
	}

	.swd-search-form__submit {
		width: 100%;
	}

	.swd-search-result {
		padding-right: 0;
	}

	.swd-search-result__arrow {
		padding-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swd-search-result__arrow {
		transition: none;
	}
}


/* ===========================================================================
   Login screen — swd-login (wp-login.php) — see docs/globals/login.md
   =========================================================================== */

body.swd-login {
	--swd-login-brand: 51.22%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	padding: 56px 40px 56px calc(var(--swd-login-brand) + 40px);
	background: #FCFAF5;
	color: #15294B;
	font-family: 'Public Sans', system-ui, sans-serif;
}

body.swd-login *,
body.swd-login *::before,
body.swd-login *::after {
	box-sizing: border-box;
}

body.swd-login a:focus-visible,
body.swd-login button:focus-visible,
body.swd-login input[type="checkbox"]:focus-visible,
body.swd-login input[type="submit"]:focus-visible {
	outline: 3px solid #F5B01F;
	outline-offset: 2px;
	box-shadow: none;
}

.swd-login-brand {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--swd-login-brand);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: 52px 64px 44px;
	overflow-y: auto;
	background: #15294B;
	color: #FCFAF5;
}

.swd-login-logo {
	display: block;
	align-self: flex-start;
}

.swd-login-logo img {
	display: block;
	width: auto;
	height: 58px;
}

.swd-login-copy {
	max-width: 520px;
	animation: swd-login-fade .5s ease both;
}

.swd-login-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: #F5B01F;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.swd-login-kicker::before {
	content: "";
	width: 26px;
	height: 2px;
	background: #F5B01F;
}

.swd-login-headline {
	margin: 0 0 20px;
	color: #FCFAF5;
	font-family: 'Newsreader', Georgia, serif;
	font-size: 54px;
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.swd-login-lede {
	max-width: 460px;
	margin: 0;
	color: #DCE3EE;
	font-size: 18px;
	line-height: 1.65;
	text-wrap: pretty;
}

.swd-login-audiences {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #DCE3EE;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.swd-login-audiences li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.swd-login-audiences li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #F5B01F;
}

body.swd-login #login {
	width: 100%;
	max-width: 440px;
	margin: 0;
	padding: 40px 40px 36px;
	background: #FFFFFF;
	border: 1px solid #EADFCB;
	border-top: 3px solid #15294B;
	border-radius: 0 0 18px 18px;
	box-shadow: 0 24px 60px rgba(21, 41, 75, .08);
	animation: swd-login-fade .5s .08s ease both;
}

body.swd-login #login h1.wp-login-logo,
body.swd-login #backtoblog,
body.swd-login.login-action-login #nav {
	display: none;
}

.swd-login-eyebrow {
	margin: 0 0 10px;
	color: #8A5F0A;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.swd-login-title {
	margin: 0 0 8px;
	color: #15294B;
	font-family: 'Newsreader', Georgia, serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.1;
}

.swd-login-sub {
	margin: 0;
	color: #4A5670;
	font-size: 16px;
	line-height: 1.55;
}

.swd-login-intro {
	margin-bottom: 28px;
}

body.swd-login #login .notice,
body.swd-login #login .message,
body.swd-login #login .success,
body.swd-login #login #login_error {
	margin: 0 0 24px;
	padding: 14px 18px;
	background: #F6F1E7;
	border: 0;
	border-left: 5px solid #F5B01F;
	border-radius: 0 12px 12px 0;
	box-shadow: none;
	color: #15294B;
	font-size: 15px;
	line-height: 1.55;
}

body.swd-login #login #login_error,
body.swd-login #login .notice-error {
	background: #FBEDEA;
	border-left-color: #B0341F;
	color: #7A2415;
}

body.swd-login #login .notice p,
body.swd-login #login .message p,
body.swd-login #login #login_error p {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}

body.swd-login #login .notice a,
body.swd-login #login #login_error a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.swd-login #login form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px 12px;
	margin: 0;
	padding: 0;
	overflow: visible;
	background: none;
	border: 0;
	box-shadow: none;
}

body.swd-login #login form > * {
	grid-column: 1 / -1;
	margin: 0;
}

body.swd-login #loginform .user-pass-wrap {
	grid-row: 2;
}

body.swd-login #loginform .swd-login-lost {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	color: #8A5F0A;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.swd-login #loginform .swd-login-lost:hover {
	color: #15294B;
}

body.swd-login #login form label {
	display: block;
	margin: 0 0 10px;
	color: #15294B;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .1em;
	text-transform: uppercase;
}

body.swd-login #login form .input,
body.swd-login #login form input[type="text"],
body.swd-login #login form input[type="email"],
body.swd-login #login form input[type="password"] {
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 15px 16px;
	background: #FCFAF5;
	border: 1px solid #D9CBB0;
	border-radius: 10px;
	box-shadow: none;
	color: #15294B;
	font-family: 'Public Sans', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

body.swd-login #login form .input:focus,
body.swd-login #login form input[type="text"]:focus,
body.swd-login #login form input[type="email"]:focus,
body.swd-login #login form input[type="password"]:focus {
	background: #FFFFFF;
	border-color: #B77F12;
	box-shadow: 0 0 0 3px rgba(245, 176, 31, .28);
	outline: none;
}

body.swd-login #login .wp-pwd {
	position: relative;
}

body.swd-login #login form .wp-pwd .input {
	padding-right: 84px;
}

body.swd-login #login .button.wp-hide-pw {
	position: absolute;
	top: 50%;
	right: 8px;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 8px 12px;
	transform: translateY(-50%);
	background: #F6F1E7;
	border: 1px solid #EADFCB;
	border-radius: 8px;
	box-shadow: none;
	color: #15294B;
	font-family: 'Public Sans', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .1em;
	text-transform: uppercase;
}

body.swd-login #login .button.wp-hide-pw:hover {
	background: #EADFCB;
}

body.swd-login #login .wp-hide-pw .dashicons {
	position: static;
	width: auto;
	height: auto;
	font: inherit;
	vertical-align: baseline;
}

body.swd-login #login .wp-hide-pw .dashicons-visibility::before {
	content: "Show";
}

body.swd-login #login .wp-hide-pw .dashicons-hidden::before {
	content: "Hide";
}

body.swd-login #login .forgetmenot {
	display: flex;
	align-items: center;
	gap: 10px;
	float: none;
}

body.swd-login #login .forgetmenot label {
	margin: 0;
	color: #3C4A63;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

body.swd-login #login input[type="checkbox"] {
	appearance: auto;
	width: 18px;
	height: 18px;
	min-width: 0;
	margin: 0;
	border: 0;
	box-shadow: none;
	accent-color: #15294B;
}

body.swd-login #login input[type="checkbox"]::before {
	content: none;
}

body.swd-login #login .submit {
	float: none;
	margin-top: 4px;
	padding: 0;
}

body.swd-login #login form .submit .button-primary {
	float: none;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 17px 24px;
	background: #F5B01F;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(245, 176, 31, .30);
	color: #15294B;
	font-family: 'Public Sans', system-ui, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: none;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}

body.swd-login #login form .submit .button-primary:hover {
	background: #E2A014;
	transform: translateY(-1px);
}

body.swd-login #login form .submit .button-primary:active {
	transform: translateY(0);
}

body.swd-login #login #nav,
body.swd-login #login .privacy-policy-page-link {
	margin: 24px 0 0;
	padding: 0;
	font-size: 15px;
	text-align: left;
}

body.swd-login #login #nav a,
body.swd-login #login .privacy-policy-page-link a {
	color: #8A5F0A;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.swd-login-after {
	width: 100%;
	max-width: 440px;
	margin-top: 22px;
	animation: swd-login-fade .5s .08s ease both;
}

.swd-login-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 0 4px;
}

body.swd-login .swd-login-back {
	padding-bottom: 2px;
	border-bottom: 2px solid #F5B01F;
	color: #15294B;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

body.swd-login .swd-login-help {
	color: #4A5670;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

body.swd-login .swd-login-back:hover,
body.swd-login .swd-login-help:hover {
	color: #8A5F0A;
}

.swd-login-legal {
	margin: 28px 4px 0;
	color: #6B5C40;
	font-size: 13px;
	line-height: 1.6;
}

@keyframes swd-login-fade {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 920px) {
	body.swd-login {
		justify-content: flex-start;
		padding: 0 20px 48px;
	}

	.swd-login-brand {
		position: static;
		align-self: stretch;
		width: auto;
		margin: 0 -20px 40px;
		padding: 32px 28px;
	}

	.swd-login-copy,
	.swd-login-audiences {
		display: none;
	}
}

@media (max-width: 480px) {
	body.swd-login #login {
		padding: 32px 24px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swd-login-copy,
	.swd-login-after,
	body.swd-login #login {
		animation: none;
	}

	body.swd-login #login form .submit .button-primary {
		transition: none;
	}
}
