/* ==========================================================
   Spotlight Energy Solutions — Custom Theme Styles
   Ported from static HTTrack snapshot (gospotlight.co)
   Images/videos served from /media/ at WP root
   ========================================================== */

/* --- Brand Color Variables --- */
:root {
	--buttons:      #F5C125;
	--secondary:    #142160;
	--accent:       #233678;
	--accent-alt:   #FFFFFF;
	--link-alt:     #F5C125;
	--main-bg-alt:  #142160;
	--link:         #243678;
	--inner-bg-alt: #142160;
	--primary:      #F5C125;
	--main-bg:      #FAFAFA;
	--inner-bg:     #FFFFFF;
	--text:         #1F2021;
	--primary-alt:  #FFFFFF;
	--black:        #000000;
	--secondary-alt:#FFFFFF;
	--text-alt:     #FFFFFF;
}

/* --- Base Reset / Body --- */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	padding: 0;
	background-color: var(--main-bg);
	color: var(--text);
	font-family: 'Inter', Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

a {
	color: var(--link);
	text-decoration: none;
}

img { max-width: 100%; height: auto; display: block; }

/* --- Layout Helpers --- */
.site-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.site-main { flex: 1; }

/* --- Site Header --- */
.ss-header {
	background-color: var(--inner-bg);
	border-bottom: 1px solid rgba(0,0,0,0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}

.ss-header__topbar {
	background-color: var(--secondary);
	color: var(--text-alt);
	font-size: 0.85rem;
	padding: 6px 0;
}

.ss-header__topbar .inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 24px;
}

.ss-header__topbar a {
	color: var(--text-alt);
}

.ss-header__main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ss-header__logo img {
	height: 60px;
	width: auto;
}

.ss-nav__primary {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ss-nav__primary > li {
	position: relative;
}

.ss-nav__primary > li > a {
	display: block;
	padding: 10px 14px;
	color: var(--text);
	font-weight: 600;
	font-size: 0.9rem;
	transition: color 0.2s;
}

.ss-nav__primary > li > a:hover,
.ss-nav__primary > li.current > a {
	color: var(--accent);
	text-decoration: none;
}

/* Dropdown */
.ss-nav__primary .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--inner-bg);
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 200;
}

.ss-nav__primary li:hover > .sub-menu { display: block; }

.ss-nav__primary .sub-menu li a {
	display: block;
	padding: 8px 20px;
	color: var(--text);
	font-size: 0.875rem;
	transition: background 0.15s, color 0.15s;
}

.ss-nav__primary .sub-menu li a:hover {
	background: var(--main-bg);
	color: var(--accent);
	text-decoration: none;
}

/* Nested sub-menu */
.ss-nav__primary .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

/* CTA button in nav */
.ss-header__cta {
	white-space: nowrap;
}

.ss-header__cta a.btn-primary {
	background: var(--buttons);
	color: var(--black);
	font-weight: 700;
	padding: 10px 22px;
	border-radius: 30px;
	font-size: 0.9rem;
	display: inline-block;
	transition: background 0.2s, transform 0.2s;
}

.ss-header__cta a.btn-primary:hover {
	background: var(--secondary);
	color: var(--text-alt);
	text-decoration: none;
	transform: translateY(-1px);
}

/* Mobile toggle */
.ss-nav__toggle {
	display: none;
	background: none;
	border: 2px solid var(--accent);
	border-radius: 4px;
	padding: 6px 10px;
	cursor: pointer;
	color: var(--accent);
	font-size: 1.2rem;
}

/* --- Site Footer --- */
.ss-footer {
	background-color: var(--secondary);
	color: var(--text-alt);
}

.ss-footer__main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 60px 20px 40px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 40px;
}

.ss-footer__logo img {
	height: 55px;
	width: auto;
	margin-bottom: 20px;
}

.ss-footer__heading {
	color: var(--primary);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	margin: 0 0 14px;
}

.ss-footer__phone {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-alt);
}

.ss-footer__phone a { color: inherit; }

.ss-footer address {
	font-style: normal;
	line-height: 1.7;
	font-size: 0.9rem;
}

.ss-footer address a {
	color: var(--primary);
	font-size: 0.85rem;
}

.ss-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ss-footer__nav li + li { margin-top: 10px; }

.ss-footer__nav a {
	color: var(--text-alt);
	font-size: 0.9rem;
	transition: color 0.2s;
}

.ss-footer__nav a:hover { color: var(--primary); text-decoration: none; }

.ss-footer__social ul {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	gap: 14px;
}

.ss-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,0.1);
	color: var(--text-alt);
	font-size: 1rem;
	transition: background 0.2s;
}

.ss-footer__social a:hover {
	background: var(--primary);
	color: var(--black);
	text-decoration: none;
}

.ss-footer__bottom {
	background: rgba(0,0,0,0.2);
	color: rgba(255,255,255,0.6);
	font-size: 0.8rem;
}

.ss-footer__bottom .inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.ss-footer__bottom a {
	color: rgba(255,255,255,0.6);
	margin-left: 16px;
}

.ss-footer__bottom a:hover { color: var(--primary); text-decoration: none; }

/* --- Buttons --- */
.btn-primary {
	display: inline-block;
	background: var(--buttons);
	color: var(--black);
	font-weight: 700;
	padding: 12px 28px;
	border-radius: 30px;
	font-size: 0.95rem;
	transition: background 0.2s, color 0.2s, transform 0.2s;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--secondary);
	color: var(--text-alt);
	text-decoration: none;
	transform: translateY(-2px);
}

.btn-secondary {
	display: inline-block;
	background: transparent;
	color: var(--accent);
	font-weight: 700;
	padding: 11px 28px;
	border-radius: 30px;
	font-size: 0.95rem;
	border: 2px solid var(--accent);
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
}

.btn-secondary:hover {
	background: var(--accent);
	color: var(--text-alt);
	text-decoration: none;
}

/* --- Section spacing --- */
.ss-section {
	padding: 70px 20px;
}

.ss-section .inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* --- Section Review Separator --- */
/* Used in single-page template-part review layout */
.ss-page-section-sep {
	border: none;
	border-top: 3px dashed rgba(0,0,0,0.12);
	margin: 60px 0;
}

/* --- Footer Social Icon Color Fix ---
   style.css (Underscores base) sets a:visited to purple (#800080) which overrides
   the brand blue. Use high-specificity ID rule to lock social icons to brand color. */
#FooterS1 .so-lk,
#FooterS1 .so-lk:visited {
	color: var(--link);
}

/* --- Responsive --- */
@media (max-width: 1279px) {
	.ss-footer__main {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.ss-header__main { flex-wrap: wrap; }
	.ss-nav__primary { display: none; flex-direction: column; width: 100%; }
	.ss-nav__primary.is-open { display: flex; }
	.ss-nav__toggle { display: block; }
	.ss-footer__main { grid-template-columns: 1fr; padding: 40px 20px; }
	.ss-footer__bottom .inner { flex-direction: column; text-align: center; }
}

/* ==========================================================
   Gravity Forms — Match Scorpion .input-text field style
   Scoped to #ContactS21 section
   ========================================================== */

/* ── Reset GF Orbital theme ──────────────────────────────── */
.gform_wrapper,
.gform_wrapper * {
	box-sizing: border-box;
}

.gform_wrapper {
	margin: 0;
	text-align: left;
}

.gform_wrapper .gform_body {
	padding: 0;
}

.gform_wrapper .gform_heading {
	display: none;
}

/* ── Field container — the "input-text" bordered box ────── */
.gform_wrapper.gform-theme--foundation .gform_fields {
	row-gap: 0 !important;
}

.gform_wrapper .gfield {
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
	background: #FAFAFA;
	padding: 0.4rem 0.5rem 0.25rem !important;
	margin-bottom: 0.9rem !important;
	position: relative;
	border-radius: 0 !important;
}

.gform_wrapper .gfield.gfield_html {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	font-size: 0.9375rem !important;
	text-align: center !important;
}

.gform_wrapper .gform_validation_errors {
	background: #fff !important;
	align-items: center;
}

.gform_wrapper .gfield.gfield_error {
	border-color: #c0392b !important;
	background: #ffffff;
}

/* ── Label — small, inside the box at top ───────────────── */
.gform_wrapper .gfield_label,
.gform_wrapper .gfield_label.gform-field-label {
	display: flex;
	flex-direction: row-reverse;
    justify-content: start;
    gap: 2px;
	font-size: 0.72rem !important;
	font-weight: normal !important;
	color: #1F2021 !important;
	line-height: 1.2 !important;
	margin: 0 0 0.15rem !important;
	padding: 0 !important;
}

.gform_wrapper .gfield_required {
	color: #1F2021 !important;
	font-size: inherit;
}

/* ── Input container — transparent, no border ───────────── */
.gform_wrapper .ginput_container {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* ── Inputs, textarea, select ───────────────────────────── */
.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
	border: none !important;
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	width: 100% !important;
	padding: 0 !important;
	color: #1F2021 !important;
	font-size: 1rem !important;
	font-family: inherit !important;
	line-height: 1.5 !important;
	border-radius: 0 !important;
	height: auto !important;
	appearance: none;
}

.gform_wrapper .ginput_container textarea {
	height: 5rem !important;
	resize: none;
	all: revert;
}

/* Select arrow */
.gform_wrapper .ginput_container.ginput_container_select::after {
	content: '';
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5C125' d='M13.006 18.316l10.823-10.823a1.217 1.217 0 0 0-1.668-1.668l-10.006 10.006-10.006-10.006A1.234 1.234 0 0 0 .399 5.642a1.201 1.201 0 0 0-.117 1.668.384.384 0 0 0 .117.166L11.289 18.316a1.234 1.234 0 0 0 1.668 0Z'/%3E%3C/svg%3E");
	width: 16px;
	height: 16px;
}

/* ── Focus state — highlight border ─────────────────────── */
.gform_wrapper .gfield:focus-within {
	border-color: #0066EE !important;
}

.gform_wrapper .gfield:focus-within .gfield_label,
.gform_wrapper .gfield:focus-within .gfield_label.gform-field-label {
	color: #0066EE !important;
}

/* ── Validation message ──────────────────────────────────── */
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
	color: #c0392b;
	font-size: 0.75rem;
	margin-top: 0.25rem;
	padding: 0;
	border: none !important;
	background: transparent !important;
}

/* ── Form footer / Submit button ─────────────────────────── */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
	margin-top: 1rem;
	padding: 0 !important;
	text-align: center !important;
	justify-content: center !important;
}

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"].gform_button,
.gform_wrapper button[type="submit"].gform_button {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	background-color: var(--buttons, #F5C125) !important;
	color: var(--black, #ffffff) !important;
	border: 1px solid transparent !important;
	padding: var(--btn-v1-pd-t, 1rem) var(--btn-v1-pd-r, 1.333rem) !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: bold !important;
	text-transform: uppercase !important;
	cursor: pointer;
	border-radius: 5rem !important;
	letter-spacing: 0.1em !important;
	box-shadow: none !important;
	transition: background-color 0.3s ease, color 0.3s ease;
	text-transform: inherit;
	width: auto !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"].gform_button:hover,
.gform_wrapper button[type="submit"].gform_button:hover {
	background-color: var(--accent, #233678) !important;
	color: #ffffff !important;
	border-color: #fff !important;
}

/* -------------------------------------------------- */
/* Our Team — Staff Card Hover                        */
/* -------------------------------------------------- */
#StaffSystemS1 a.ulk-bg:is(:hover, :focus),
#StaffSystemS1 a.ulk-bg:is(:hover, :focus) strong,
#StaffSystemS1 a.ulk-bg:is(:hover, :focus) span {
	color: var(--buttons) !important;
	text-decoration: none !important;
}

/* -------------------------------------------------- */
/* Reviews — Pagination                               */
/* -------------------------------------------------- */
#ReviewSystemS1Pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

#ReviewSystemS1Pager a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.2s;
}

#ReviewSystemS1Pager a.rvw-pg-disabled {
	opacity: 0.3;
	pointer-events: none;
	cursor: default;
}

/* -------------------------------------------------- */
/* Reviews — Popup / Modal                            */
/* -------------------------------------------------- */
.rvw-pop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.rvw-pop.show {
	display: block;
}

body.rvw-pop-open {
	overflow: hidden;
}

.rvw-pop-ovl {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.rvw-pop-bx {
	position: relative;
	max-width: 1500px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	background-color: #ffffff;
	color: #1F2021;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.rvw-pop-cls {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	line-height: 1;
	color: inherit;
	z-index: 1;
}

.rvw-pop-cls {
	transition: .2s all ease-in-out
}

.rvw-pop-cls:hover {
	transform: rotate(90deg);
}

.rvw-pop-cls svg {
	fill: var(--primary);
}

.rvw-pop-cls svg polygon {
    fill: var(--primary);
    stroke: var(--primary);
    stroke-width: 1.5;
}

.rvw-pop-cls:hover {
	opacity: 0.7;
}

/* -------------------------------------------------- */
/* Gallery Lightbox  (ss-lb-*)                        */
/* -------------------------------------------------- */

.pht-glr-sys [data-thumb] { cursor: pointer; }

html.ss-lb-open { overflow: hidden; }

.ss-lb-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9000;
	align-items: center;
	justify-content: center;
}
.ss-lb-overlay.ss-lb-open { display: flex; }

.ss-lb-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	cursor: zoom-out;
}

/* Controls bar — counter left, close button right */
.ss-lb-controls {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.65);
	padding: 0.6rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}
.ss-lb-controls > * { pointer-events: auto; }

.ss-lb-counter {
	color: #fff;
	font-size: 0.875rem;
	line-height: 1;
}

.ss-lb-close {
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 0.25rem;
	font-size: 1.4rem;
	line-height: 1;
	display: flex;
	align-items: center;
	transition: color 0.2s ease;
}
.ss-lb-close:hover { color: var(--link-alt, #F5C125); }

/* Image stage — centred, avoids overlapping controls/arrows */
.ss-lb-stage {
	position: relative;
	z-index: 1;
	width: calc(100vw - 8rem);
	max-height: calc(100vh - 4rem);
	margin-top: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ss-lb-img {
	max-width: 100%;
	max-height: calc(100vh - 4rem);
	object-fit: contain;
	display: block;
	transition: opacity 0.2s ease;
	user-select: none;
	-webkit-user-drag: none;
}
.ss-lb-img.ss-lb-loading { opacity: 0; }

/* Prev / Next arrow buttons */
.ss-lb-prev,
.ss-lb-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: rgba(0, 0, 0, 0.45);
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 2.75rem;
	line-height: 1;
	padding: 1rem 0.6rem;
	display: flex;
	align-items: center;
	transition: background 0.2s ease, color 0.2s ease;
}
.ss-lb-prev { left: 0; }
.ss-lb-next { right: 0; }
.ss-lb-prev:hover,
.ss-lb-next:hover { background: rgba(0, 0, 0, 0.75); color: var(--link-alt, #F5C125); }

.ss-lb-prev[hidden],
.ss-lb-next[hidden] { display: none; }

@media (max-width: 700px) {
	.ss-lb-stage { width: calc(100vw - 5rem); }
	.ss-lb-prev, .ss-lb-next { font-size: 1.75rem; padding: 0.75rem 0.4rem; }
}

/* ── Blog Menu (blg-mnu) ─────────────────────────────────────────────────── */
.blg-mnu {
	--blg-mnu-s: 4rem;
}

@media(min-width:700px) {
	.blg-mnu {
		position: relative;
	}
}

/* Icon button */
.blg-mnu > .svg-con {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	width: var(--blg-mnu-s);
	height: var(--blg-mnu-s);
	color: var(--link, #243678);
}
.blg-mnu > .svg-con svg {
	width: var(--blg-mnu-s);
	height: var(--blg-mnu-s);
	padding: 0.8rem;
}

/* Panel container */
.blg-mnu .pn {
	width: 100%;
	position: absolute;
	top: var(--blg-mnu-s);
	right: 0;
	z-index: 100;
	height: auto !important;
	filter: drop-shadow(0px 2px 7px rgba(0,0,0,0.4));
	pointer-events: none;
}

@media(min-width: 700px) {
	.blg-mnu .pn {
		width: min(clamp(20rem, 40vw, 36rem), calc(100vw - 2rem));
	}
}

/* Inner wrapper: clip-path animation */
.blg-mnu .pn > div {
	background-color: var(--inner-bg, #fff);
	color: var(--text, #1F2021);
	transition: clip-path 0.5s cubic-bezier(0,0,0.2,1) 0s,
	            visibility 0s ease 0.5s;
	clip-path: polygon(100% calc(0% + var(--blg-mnu-s)), 100% 0%, calc(100% - var(--blg-mnu-s)) 0%, calc(100% - var(--blg-mnu-s)) calc(0% + var(--blg-mnu-s)));
	visibility: hidden;
	pointer-events: none;
}

/* Panel inner content padding */
@media(max-width: 1279px) {
	.blg-mnu .pn > div > div {
		margin: 0 !important;
	}
}

/* Panel open */
.blg-mnu.blg-opn .pn {
	pointer-events: auto;
}
.blg-mnu.blg-opn .pn > div {
	transition: clip-path 0.5s cubic-bezier(0,0,0.2,1) 0s,
	            visibility 0s ease 0s;
	clip-path: polygon(100% 100%, 100% 0%, 0% 0%, 0% 100%);
	visibility: visible;
	pointer-events: auto;
}

/* ── Sections inside the panel ──────────────────────────────────────────── */
.blg-mnu .typ + .typ {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(0,0,0,0.1);
}

/* El-tab accordion headers */
.blg-mnu .el-tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	outline: none;
	user-select: none;
	padding: 0;
}
.blg-mnu .el-tab h5 {
	color: var(--primary, #F5C125);
}
.blg-mnu .el-tab svg.tb-arw {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	color: var(--link, #243678);
	transition: transform 0.3s ease;
	transform-origin: 50% 50%;
}
.blg-mnu .el-tab.active svg.tb-arw {
	transform: rotate(180deg);
}

/* Slide panel (categories list + month list) */
.blg-mnu .el-panel.sld {
	overflow: hidden;
	height: 0;
	transition: height 0.35s ease;
	list-style: none;
	padding: 0 !important;
	margin: 0 0 0 1.5rem !important;
}
.blg-mnu .el-panel.sld.active {
	height: auto;
	padding-top: 0.75rem !important;
}

/* Archive year row */
.blg-mnu .el-panel.el-tab-box > li > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.blg-mnu .el-panel.el-tab-box > li > div svg.el-tab {
	width: 1rem;
	height: 1rem;
	cursor: pointer;
	flex-shrink: 0;
	color: var(--link, #243678);
	transition: transform 0.3s ease;
	transform-origin: 50% 50%;
}
.blg-mnu .el-panel.el-tab-box > li > div svg.el-tab.active {
	transform: rotate(180deg);
}

/* Nested month panel inside each year */
.blg-mnu .el-panel.sld .el-panel.sld {
	padding-left: 0.75rem !important;
}

/* Links */
.blg-mnu .pn a {
	color: var(--text, #1F2021);
	text-decoration: none;
	font-size: 0.9rem;
	display: block;
	padding: 0.15rem 0;
	transition: color 0.2s ease;
}
.blg-mnu .pn a:hover,
.blg-mnu .pn a.active {
	color: var(--link, #243678);
	font-weight: 600;
}

/* List item spacing */
.blg-mnu .pn ul li + li {
	margin-top: 0.5rem;
}

@media screen and (min-width: 1280px) {
	.blg-mnu .pn { top: 0; }
	.blg-mnu > .svg-con { position: relative; z-index: 999; }
}

/* ── Video Center: Thumbnail Cards & Play Button ─────────────────────────────── */

/* Aspect-ratio container (pd-h-56 = 16:9) */
[class*="pd-h-"] { width: 100%; }
[class*="pd-h-"]::after { content: ''; display: block; width: 100%; }
[class*="pd-h-"][class*="-56"]::after { padding-bottom: 56.25%; }
[class*="pd-h-"][class*="-100"]::after { padding-bottom: 100%; }

/* Image fills the aspect-ratio wrapper absolutely */
picture.img {
	position: relative;
	display: block;
	overflow: hidden;
}
.img img {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	object-fit: cover !important;
}

/* Play button — circular, centred over thumbnail via .abs */
.ply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.5em;
	font-size: 1.3em;
	border-radius: 50%;
	position: relative;
	z-index: 1;
}

/* Pulsing ring around the button */
.ply-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	opacity: 0.5;
	box-shadow: 0 0 0 0.75rem var(--buttons);
	transition: opacity var(--g-trn-sp, 0.3s) ease 0s,
	            transform var(--g-trn-sp, 0.3s) ease 0s;
}

/* Ring dissolves outward on parent hover */
a:hover .ply-btn::before,
a:focus .ply-btn::before {
	opacity: 0;
	transform: scale(1.15);
}

@media screen and (max-width: 1024px) {
	.ply-btn { padding: 1em; }
}

/* ── Site Search result cards ──────────────────────────────── */

/* White card on light-bg section */
.lt-bg .bg-bx.lk-bg::before {
	background-color: var(--inner-bg);
}

/* Blog listing — 2-column grid matching live site */
#BlogSystemS1List ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--grd-sp, 20px);
}
#BlogSystemS1List ul > li {
	flex: 0 0 100%;
	max-width: 100%;
}
@media screen and (min-width: 700px) {
	#BlogSystemS1List ul > li {
		flex: 0 0 calc(50% - var(--grd-sp, 20px) / 2);
		max-width: calc(50% - var(--grd-sp, 20px) / 2);
	}
}

/* Make full-card anchor a flex column so the button pushes to bottom */
a.blk.bg-bx.lk-bg {
	display: flex;
	flex-direction: column;
}
a.blk.bg-bx.lk-bg > div.ato {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
a.blk.bg-bx.lk-bg > div.ato > div.mrg_tp-30 {
	margin-top: auto;
	padding-top: 1.875rem;
}

/* ── Header nav: mobile open state ──────────────────────────────────── */
html.mnu-opn .hdr .nv {
	transform: translateX(0) !important;
	opacity: 1 !important;
	visibility: visible !important;
	transition: transform var(--g-trn-sp) var(--g-trn-tf) 0s,
	            opacity  var(--g-trn-sp) var(--g-trn-tf) 0s !important;
}

/* Dim backdrop behind the mobile panel */
.hdr-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
	cursor: pointer;
}
.hdr-backdrop.active { display: block; }

/* ── lvl-2 slide-in panel (mobile) ──────────────────────────────────── */
.hdr .lvl-2.el-panel.lvl-opn {
	width: 100% !important;
	height: 100vh !important;
	transform: translateX(0) !important;
	visibility: visible !important;
	transition: transform var(--g-trn-sp) var(--g-trn-tf) 0s !important;
}

/* ── Desktop flyout: show on hover / focus ───────────────────────────── */
@media screen and (min-width: 1280px) {
	.hdr .nv > ul > li:hover > .fly-nv,
	.hdr .nv > ul > li:focus-within > .fly-nv {
		opacity: 1 !important;
		visibility: visible !important;
		transition-delay: 0s !important;
	}

	/* Rotate accordion arrow when active */
	.hdr .el-tab.tb-arw.active {
		transform: rotate(180deg);
	}
}

/* ── Back-to-top button visible state ────────────────────────────────── */
.hdr .btn-tp.visible {
	transform: translateX(0) !important;
	visibility: visible !important;
	transition: transform var(--btn-trn-sp) var(--btn-trn-tf) 0s,
	            background-color var(--btn-trn-sp) var(--btn-trn-tf) 0s,
	            color var(--btn-trn-sp) var(--btn-trn-tf) 0s !important;
}
