/* ==========================================================================
   Salem Republic Theme - Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
	--sr-red: #C4122F;
	--sr-red-dark: #9E0E26;
	--sr-red-light: #E8304A;
	--sr-gray: #808285;
	--sr-dark: #1A1A1A;
	--sr-darker: #111111;
	--sr-darkest: #0A0A0A;
	--sr-black: #000000;
	--sr-light: #F5F5F5;
	--sr-white: #FFFFFF;
	--sr-muted: #A0A0A0;
	--sr-border: #2A2A2A;
	--sr-border-light: #333333;

	--sr-font-primary: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--sr-font-heading: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--sr-container: 1200px;
	--sr-container-wide: 1400px;
	--sr-gap: 1.5rem;

	--sr-radius: 4px;
	--sr-radius-lg: 8px;

	--sr-transition: 0.25s ease;
	--sr-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
	--sr-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--sr-font-primary);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--sr-light);
	background-color: var(--sr-darker);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Keep the footer at the bottom of the window on short pages */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1 0 auto;
}

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

a {
	color: var(--sr-red);
	text-decoration: none;
	transition: color var(--sr-transition);
}

a:hover,
a:focus {
	color: var(--sr-white);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sr-font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--sr-white);
	margin-top: 0;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
	margin-top: 0;
	margin-bottom: 1em;
}

ul, ol {
	padding-left: 1.5em;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

th, td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--sr-border);
}

th {
	background: var(--sr-dark);
	color: var(--sr-white);
	font-family: var(--sr-font-heading);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}

tr:hover td {
	background: rgba(255, 255, 255, 0.03);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--sr-container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container--wide {
	max-width: var(--sr-container-wide);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--sr-dark);
	clip: auto !important;
	clip-path: none;
	color: var(--sr-white);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.75rem 1.75rem;
	font-family: var(--sr-font-heading);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--sr-radius);
	cursor: pointer;
	transition: all var(--sr-transition);
	line-height: 1.4;
}

.btn--primary {
	background: var(--sr-red);
	color: var(--sr-white);
	border-color: var(--sr-red);
}

.btn--primary:hover,
.btn--primary:focus {
	background: var(--sr-red-dark);
	border-color: var(--sr-red-dark);
	color: var(--sr-white);
}

.btn--outline {
	background: transparent;
	color: var(--sr-white);
	border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover,
.btn--outline:focus {
	border-color: var(--sr-white);
	color: var(--sr-white);
}

.btn--lg {
	padding: 1rem 2.25rem;
	font-size: 1rem;
}

.btn:active {
	transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
	background: var(--sr-darkest);
	border-bottom: 1px solid var(--sr-border);
	font-size: 0.85rem;
}

.top-bar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 40px;
}

.top-bar__contact {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.top-bar__contact a {
	color: var(--sr-muted);
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.top-bar__contact a:hover {
	color: var(--sr-white);
}

.top-bar__contact svg {
	flex-shrink: 0;
}

.top-bar__cta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.top-bar__lit-link {
	color: var(--sr-muted);
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
}

.top-bar__lit-link svg {
	flex-shrink: 0;
}

.top-bar__lit-link:hover,
.top-bar__lit-link:focus {
	color: var(--sr-white);
}

.top-bar__spec-btn,
.top-bar__spec-btn:focus {
	color: var(--sr-red);
	font-family: var(--sr-font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
}

.top-bar__spec-btn:hover {
	color: var(--sr-red-light);
}

@media (max-width: 600px) {
	.top-bar__inner {
		flex-wrap: wrap;
		gap: 0.35rem 1rem;
		padding: 0.4rem 0;
	}
	.top-bar__contact,
	.top-bar__cta {
		gap: 1rem;
	}
	.top-bar__lit-link span,
	.top-bar__lit-link {
		white-space: nowrap;
	}
}

/* --------------------------------------------------------------------------
   Header Main
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	/* Only the main bar sticks; the top bar scrolls away. Header height never
	   changes on scroll, so there is no layout shift to fight the scroll. */
	top: calc(0px - var(--sr-topbar-h, 0px));
	z-index: 1000;
	background: var(--sr-darker);
}

.header-main {
	border-bottom: 1px solid var(--sr-border);
}

.header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 70px;
	gap: 2rem;
}

.site-branding {
	flex-shrink: 0;
}

.site-branding a {
	display: flex;
	align-items: center;
}

.site-branding img {
	max-height: 50px;
	width: auto;
}

.site-name {
	font-family: var(--sr-font-heading);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--sr-white);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.site-name:hover {
	color: var(--sr-red);
}

/* Custom logo styling */
.custom-logo-link {
	display: flex;
	align-items: center;
}

.custom-logo {
	max-height: 50px;
	width: auto;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.main-navigation {
	display: none;
}

.main-navigation.toggled {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--sr-dark);
	border-bottom: 2px solid var(--sr-red);
	box-shadow: var(--sr-shadow);
	z-index: 999;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu > li {
	border-bottom: 1px solid var(--sr-border);
}

.main-navigation .menu > li > a {
	display: block;
	padding: 0.75rem 1.5rem;
	color: var(--sr-light);
	font-family: var(--sr-font-heading);
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
	color: var(--sr-red);
}

/* Sub-menus (mobile) */
.main-navigation .sub-menu {
	background: var(--sr-darker);
}

.main-navigation .sub-menu li a {
	display: block;
	padding: 0.5rem 1.5rem 0.5rem 2.5rem;
	color: var(--sr-muted);
	font-size: 0.8rem;
	font-family: var(--sr-font-primary);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.main-navigation .sub-menu li a:hover {
	color: var(--sr-red);
}

/* Sub-sub-menus */
.main-navigation .sub-menu .sub-menu li a {
	padding-left: 3.5rem;
	font-size: 0.78rem;
}

/* Hamburger Toggle */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 10;
}

.hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--sr-white);
	transition: all var(--sr-transition);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Desktop Navigation (768px+)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation {
		display: block;
	}

	.main-navigation .menu {
		display: flex;
		align-items: center;
		gap: 0;
	}

	.main-navigation .menu > li {
		position: relative;
		border-bottom: none;
	}

	.main-navigation .menu > li > a {
		padding: 1.5rem 0.65rem;
		font-size: 0.78rem;
		white-space: nowrap;
	}

	.main-navigation .menu > li > a::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0.65rem;
		right: 0.65rem;
		height: 2px;
		background: var(--sr-red);
		transform: scaleX(0);
		transition: transform var(--sr-transition);
	}

	.main-navigation .menu > li:hover > a::after,
	.main-navigation .menu > li.current-menu-item > a::after,
	.main-navigation .menu > li.current-menu-ancestor > a::after {
		transform: scaleX(1);
	}

	/* Desktop dropdowns */
	.main-navigation .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 240px;
		background: var(--sr-dark);
		border: 1px solid var(--sr-border);
		box-shadow: var(--sr-shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: all var(--sr-transition);
		z-index: 100;
	}

	/* Last item's dropdown opens leftward so it stays inside the viewport */
	.main-navigation .menu > li:last-child > .sub-menu {
		left: auto;
		right: 0;
	}

	.main-navigation .menu > li:hover > .sub-menu,
	.main-navigation .menu > li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.main-navigation .sub-menu li {
		border-bottom: 1px solid var(--sr-border);
	}

	.main-navigation .sub-menu li:last-child {
		border-bottom: none;
	}

	.main-navigation .sub-menu li a {
		padding: 0.6rem 1.25rem;
		font-size: 0.82rem;
	}

	.main-navigation .sub-menu li a:hover {
		background: rgba(196, 18, 47, 0.1);
	}

	/* Nested sub-menus */
	.main-navigation .sub-menu .sub-menu {
		position: absolute;
		top: 0;
		left: 100%;
	}

	.main-navigation .sub-menu li:hover > .sub-menu,
	.main-navigation .sub-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.main-navigation .sub-menu .sub-menu li a {
		padding-left: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.main-navigation .menu > li > a {
		padding: 1.5rem 0.85rem;
		font-size: 0.82rem;
	}
}

/* --------------------------------------------------------------------------
   Mega Menu (Desktop)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
	.main-navigation .menu > li.mega-menu {
		position: static;
	}

	.main-navigation .menu > li.mega-menu > .sub-menu {
		left: 0;
		right: 0;
		width: 100%;
		max-width: var(--sr-container);
		margin-left: auto;
		margin-right: auto;
		display: flex;
		flex-wrap: wrap;
		padding: 1rem 1.5rem;
		gap: 0;
	}

	.main-navigation .menu > li.mega-menu > .sub-menu > li {
		flex: 0 0 25%;
		max-width: 25%;
		border-bottom: none;
		padding: 0.15rem 0.5rem;
	}

	.main-navigation .menu > li.mega-menu > .sub-menu > li > a {
		padding: 0.45rem 0.75rem;
		font-size: 0.8rem;
		border-radius: var(--sr-radius);
		white-space: normal;
	}

	.main-navigation .menu > li.mega-menu > .sub-menu > li > a:hover {
		background: rgba(196, 18, 47, 0.1);
	}

	/* Nested sub-menus inside mega menu — display inline */
	.main-navigation .menu > li.mega-menu .sub-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		border-top: none;
		box-shadow: none;
		background: transparent;
		padding: 0;
		margin: 0;
	}

	.main-navigation .menu > li.mega-menu .sub-menu .sub-menu li {
		border-bottom: none;
	}

	.main-navigation .menu > li.mega-menu .sub-menu .sub-menu li a {
		padding: 0.3rem 0.75rem 0.3rem 1.5rem;
		font-size: 0.78rem;
		color: var(--sr-gray);
	}

	.main-navigation .menu > li.mega-menu .sub-menu .sub-menu li a:hover {
		color: var(--sr-red);
		background: rgba(196, 18, 47, 0.06);
	}
}

/* 3 columns for slightly smaller screens */
@media (min-width: 768px) and (max-width: 1199px) {
	.main-navigation .menu > li.mega-menu > .sub-menu > li {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}
}

/* Scrolled state (shadow only; set by navigation.js) */
.site-header.is-scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Mobile menu: scrolls inside the viewport; sub-menus open via .submenu-toggle */
@media (max-width: 767px) {
	.main-navigation.toggled {
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.main-navigation li {
		position: relative;
	}

	.main-navigation .menu-item-has-children > a {
		padding-right: 3.5rem;
	}

	.main-navigation .sub-menu {
		display: none;
	}

	.main-navigation li.is-open > .sub-menu {
		display: block;
	}

	.submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		width: 3rem;
		height: 2.75rem;
		display: flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: none;
		border-left: 1px solid var(--sr-border);
		color: var(--sr-light);
		cursor: pointer;
	}

	.submenu-toggle span {
		width: 0.5rem;
		height: 0.5rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transition: transform var(--sr-transition);
	}

	.submenu-toggle[aria-expanded="true"] span {
		transform: translateY(2px) rotate(-135deg);
	}

	.submenu-toggle:focus-visible {
		outline: 2px solid var(--sr-red);
		outline-offset: -2px;
	}
}

@media (min-width: 768px) {
	.submenu-toggle {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Page Banner
   -------------------------------------------------------------------------- */
.page-banner {
	position: relative;
	background: var(--sr-dark);
	border-bottom: 3px solid var(--sr-red);
	padding: 3rem 0 2.5rem;
	overflow: hidden;
}

.page-banner--has-image {
	padding: 4rem 0 3.5rem;
}

.page-banner__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-banner__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.75);
}

.page-banner--has-image .container {
	position: relative;
	z-index: 2;
}

.page-banner__title {
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.page-banner__subtitle {
	color: var(--sr-muted);
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
}

/* Breadcrumbs */
.breadcrumbs {
	font-size: 0.8rem;
	color: var(--sr-muted);
	margin-top: 0.75rem;
}

.breadcrumbs a {
	color: var(--sr-gray);
}

.breadcrumbs a:hover {
	color: var(--sr-red);
}

.breadcrumbs .sep {
	margin: 0 0.5em;
	opacity: 0.5;
}

.breadcrumbs .current {
	color: var(--sr-light);
}

/* --------------------------------------------------------------------------
   Hero Section (Front Page)
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: center;
	padding: 5rem 0;
	overflow: hidden;
	background: var(--sr-dark);
}

.hero__slides {
	position: absolute;
	inset: 0;
}

.hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.5s ease;
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(17, 17, 17, 0.88) 0%,
		rgba(17, 17, 17, 0.78) 50%,
		rgba(196, 18, 47, 0.12) 100%
	);
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero__content {
	max-width: 750px;
	/* Keeps the text legible over bright slides */
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 0, 0, 0.65);
}

.hero__actions .btn {
	text-shadow: none;
}

.hero__actions .btn--outline {
	background: rgba(17, 17, 17, 0.35);
}

.hero__title {
	font-size: clamp(1.8rem, 3vw, 2.375rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
	line-height: 1.15;
}

.hero__title::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background: var(--sr-red);
	margin-top: 1rem;
}

.hero__subtitle {
	font-family: var(--sr-font-heading);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: #ffffff;
	font-weight: 500;
	margin-bottom: 1rem;
}

.hero__description {
	font-size: 1.05rem;
	color: #ffffff;
	line-height: 1.8;
	margin-bottom: 2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* --------------------------------------------------------------------------
   Service Cards (Front Page)
   -------------------------------------------------------------------------- */
.service-cards {
	padding: 4rem 0;
	background: var(--sr-darker);
}

.service-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.service-card {
	display: flex;
	flex-direction: column;
	padding: 2rem 1.75rem;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	text-decoration: none;
	transition: all var(--sr-transition);
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--sr-red);
	transform: scaleX(0);
	transition: transform var(--sr-transition);
}

.service-card:hover,
.service-card:focus-visible {
	border-color: var(--sr-border-light);
	transform: translateY(-4px);
	box-shadow: var(--sr-shadow);
	color: var(--sr-light);
}

.service-card:hover::before,
.service-card:focus-visible::before {
	transform: scaleX(1);
}

.service-card__title {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 0.75rem;
}

.service-card__text {
	color: var(--sr-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	flex-grow: 1;
	margin-bottom: 1rem;
}

.service-card__link {
	font-family: var(--sr-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sr-red);
	transition: color var(--sr-transition);
}

.service-card:hover .service-card__link,
.service-card:focus-visible .service-card__link {
	color: var(--sr-red-light);
}

.service-card__arrow {
	display: inline-block;
	transition: transform var(--sr-transition);
}

.service-card:hover .service-card__arrow,
.service-card:focus-visible .service-card__arrow {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Highlights Section (Front Page)
   -------------------------------------------------------------------------- */
.highlights {
	padding: 3.5rem 0;
	background: var(--sr-dark);
	border-top: 1px solid var(--sr-border);
	border-bottom: 1px solid var(--sr-border);
}

.highlights__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2rem;
	text-align: center;
}

.highlight__number {
	font-family: var(--sr-font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--sr-red);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.highlight__label {
	font-size: 0.85rem;
	color: var(--sr-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   CTA Section (Front Page)
   -------------------------------------------------------------------------- */
.cta-section {
	padding: 4.5rem 0;
	background: linear-gradient(135deg, var(--sr-darker) 0%, var(--sr-dark) 100%);
}

.cta-section__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.cta-section__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.cta-section__text {
	color: var(--sr-muted);
	font-size: 1rem;
	max-width: 500px;
	margin-bottom: 0;
}

.cta-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Home Content (Gutenberg blocks from WP editor)
   -------------------------------------------------------------------------- */
.home-content {
	padding: 3rem 0;
	background: var(--sr-darker);
}

/* --------------------------------------------------------------------------
   Page Wrapper / Content Area
   -------------------------------------------------------------------------- */
.page-wrapper {
	padding: 3rem 0 4rem;
	background: var(--sr-darker);
}

.content-area {
	max-width: 900px;
}

.content-area--with-sidebar {
	display: grid;
	/* minmax(0, …): wide tables scroll inside their box instead of
	   stretching the column past the screen */
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	max-width: none;
}

@media (min-width: 900px) {
	.content-area--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.page-wrapper--full-width .content-area {
	max-width: none;
}

/* --------------------------------------------------------------------------
   Entry Content (Page/Post body)
   -------------------------------------------------------------------------- */
.entry-content {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--sr-light);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.entry-content p {
	margin-bottom: 1.25rem;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.25rem;
}

.entry-content li {
	margin-bottom: 0.35rem;
}

/* List styles: Columns (short items, up to 3 across) and Two Columns
   (phrases). Column count follows the available width. */
.entry-content .is-style-columns {
	columns: 9rem 3;
	column-gap: 2.5rem;
}

.entry-content .is-style-columns-2 {
	columns: 18rem 2;
	column-gap: 2.5rem;
}

.entry-content .is-style-columns li,
.entry-content .is-style-columns-2 li {
	break-inside: avoid;
}

.entry-content img {
	border-radius: var(--sr-radius);
	margin: 1.5rem 0;
}

/* Classic WP alignment classes (legacy post content uses these) */
.entry-content .alignright,
.entry-content img.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.75rem;
	max-width: 45%;
}

.entry-content .alignleft,
.entry-content img.alignleft {
	float: left;
	margin: 0.5rem 1.75rem 1rem 0;
	max-width: 45%;
}

.entry-content .aligncenter,
.entry-content img.aligncenter {
	display: block;
	float: none;
	margin: 1.5rem auto;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 600px) {
	.entry-content .alignright,
	.entry-content img.alignright,
	.entry-content .alignleft,
	.entry-content img.alignleft {
		float: none;
		display: block;
		margin: 1.25rem auto;
		max-width: 100%;
	}
}

/* Demoted in-content page titles (h1 -> h2) keep their original h1 sizing */
.entry-content .heading-xl {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-top: 0;
	margin-bottom: 0.67em;
}

.entry-content a:where(:not(.btn, .wp-block-button__link)) {
	color: var(--sr-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content a:where(:not(.btn, .wp-block-button__link)):hover {
	color: var(--sr-red-light);
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--sr-red);
	background: var(--sr-dark);
	border-radius: 0 var(--sr-radius) var(--sr-radius) 0;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	margin: 1.5rem 0;
}

.entry-content .wp-block-image {
	margin: 2rem 0;
}

/* Floated image blocks keep their gutter (the rule above would zero it) */
.entry-content .wp-block-image.alignright {
	margin: 0.35rem 0 1.25rem 2rem;
}

.entry-content .wp-block-image.alignleft {
	margin: 0.35rem 2rem 1.25rem 0;
}

.entry-content .wp-block-image.alignright img,
.entry-content .wp-block-image.alignleft img {
	margin: 0;
}

@media (max-width: 600px) {
	.entry-content .wp-block-image.alignright,
	.entry-content .wp-block-image.alignleft {
		margin: 1.25rem auto;
	}
}

.entry-content .wp-block-image figcaption {
	color: var(--sr-muted);
	font-size: 0.85rem;
	text-align: center;
	margin-top: 0.5rem;
}

/* Feature Photo image style: framed 16:9 card, caption over a bottom gradient.
   The crop sits low (object-position) so wide skies give way to the subject. */
.entry-content .wp-block-image.is-style-feature {
	position: relative;
	margin: 2.5rem 0;
	border: 1px solid var(--sr-border-light);
	border-radius: var(--sr-radius-lg);
	overflow: hidden;
	background: var(--sr-darkest);
	box-shadow: var(--sr-shadow);
}

.entry-content .wp-block-image.is-style-feature img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 50% 70%;
	margin: 0;
	border-radius: 0;
}

.entry-content .wp-block-image.is-style-feature figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 3.5rem 1.5rem 1.25rem;
	background: linear-gradient(to top, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.6) 55%, transparent);
	color: var(--sr-white);
	font-family: var(--sr-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-align: left;
	text-transform: uppercase;
}

.entry-content .wp-block-image.is-style-feature figcaption::before {
	content: '';
	flex-shrink: 0;
	width: 2.5rem;
	height: 2px;
	background: var(--sr-red);
}

/* Phones: the caption would cover too much of the photo; set it below instead */
@media (max-width: 600px) {
	.entry-content .wp-block-image.is-style-feature figcaption {
		position: static;
		padding: 0.75rem 1rem;
		background: var(--sr-darkest);
		font-size: 0.72rem;
	}

	.entry-content .wp-block-image.is-style-feature figcaption::before {
		width: 1.5rem;
	}
}

/* Gutenberg alignments */
.entry-content .alignwide {
	max-width: var(--sr-container-wide);
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
}

/* --------------------------------------------------------------------------
   Post top image (single posts)
   -------------------------------------------------------------------------- */
.post-top-image {
	margin: 0 0 2rem;
	border: 1px solid var(--sr-border-light);
	border-radius: var(--sr-radius-lg);
	overflow: hidden;
	line-height: 0;
	background: var(--sr-darkest);
}

.post-top-image__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 5;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Post Card (Archive/Index)
   -------------------------------------------------------------------------- */
.posts-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.post-card {
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	overflow: hidden;
	transition: border-color var(--sr-transition);
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	border-color: var(--sr-border-light);
}

.post-card__thumbnail {
	display: block;
	flex-shrink: 0;
}

.post-card__thumbnail img {
	width: 100%;
	height: 220px;
	aspect-ratio: auto;
	object-fit: cover;
	display: block;
	margin: 0 !important;
}

.post-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: flex-start;
}

.post-card__title {
	font-size: 1.2rem;
	margin-bottom: 0.75rem;
}

.post-card__title a {
	color: var(--sr-white);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--sr-red);
}

.post-card__excerpt {
	color: var(--sr-muted);
	font-size: 0.9rem;
	margin-bottom: 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__readmore {
	margin-top: auto;
	font-family: var(--sr-font-heading);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--sr-red);
}

.post-card__readmore:hover {
	color: var(--sr-red-light);
}

.post-card__badge {
	display: inline-block;
	font-family: var(--sr-font-heading);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sr-red);
	border: 1px solid var(--sr-red);
	border-radius: 999px;
	padding: 0.2rem 0.65rem;
	margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Single Post CTA
   -------------------------------------------------------------------------- */
.post-cta {
	margin-top: 3rem;
	padding: 2rem;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
}

.post-cta__title {
	margin-bottom: 0.5rem;
}

.post-cta__text {
	color: var(--sr-muted);
	margin-bottom: 1.25rem;
}

.post-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* --------------------------------------------------------------------------
   Entry Footer (Tags)
   -------------------------------------------------------------------------- */
.entry-footer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--sr-border);
	font-size: 0.85rem;
	color: var(--sr-muted);
}

.entry-footer a {
	color: var(--sr-red);
}

/* --------------------------------------------------------------------------
   Post Navigation
   -------------------------------------------------------------------------- */
.post-navigation {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--sr-border);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--sr-muted);
	letter-spacing: 0.06em;
	margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
	color: var(--sr-red);
	font-weight: 500;
}

.post-navigation a:hover .nav-title {
	color: var(--sr-red-light);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius);
	color: var(--sr-light);
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--sr-transition);
}

.pagination .page-numbers:hover {
	border-color: var(--sr-red);
	color: var(--sr-red);
}

.pagination .page-numbers.current {
	background: var(--sr-red);
	border-color: var(--sr-red);
	color: var(--sr-white);
}

/* --------------------------------------------------------------------------
   Sidebar / Widget Area
   -------------------------------------------------------------------------- */
.sidebar .widget-area {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.widget {
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	padding: 1.5rem;
}

.widget-title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--sr-red);
}

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

.widget li {
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--sr-border);
	font-size: 0.9rem;
}

.widget li:last-child {
	border-bottom: none;
}

.widget a {
	color: var(--sr-muted);
}

.widget a:hover {
	color: var(--sr-red);
}

/* --------------------------------------------------------------------------
   Search Form
   -------------------------------------------------------------------------- */
.search-form {
	display: flex;
	gap: 0;
	max-width: 400px;
}

.search-form .search-field {
	flex: 1;
	padding: 0.6rem 1rem;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-right: none;
	border-radius: var(--sr-radius) 0 0 var(--sr-radius);
	color: var(--sr-light);
	font-size: 0.9rem;
	font-family: var(--sr-font-primary);
	outline: none;
}

.search-form .search-field:focus {
	border-color: var(--sr-red);
}

.search-form .search-submit {
	padding: 0.6rem 1.25rem;
	background: var(--sr-red);
	border: 1px solid var(--sr-red);
	border-radius: 0 var(--sr-radius) var(--sr-radius) 0;
	color: var(--sr-white);
	font-family: var(--sr-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--sr-transition);
}

.search-form .search-submit:hover {
	background: var(--sr-red-dark);
}

/* --------------------------------------------------------------------------
   404 Page
   -------------------------------------------------------------------------- */
.error-404 {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.error-404__number {
	font-family: var(--sr-font-heading);
	font-size: clamp(5rem, 15vw, 10rem);
	font-weight: 700;
	color: var(--sr-red);
	line-height: 1;
	margin-bottom: 1rem;
	opacity: 0.4;
}

.error-404__actions {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.error-404__actions .search-form {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--sr-darkest);
	border-top: 3px solid var(--sr-red);
}

.footer-main {
	padding: 3.5rem 0 2.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 640px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
		gap: 2rem;
	}
}

.footer-col--brand {
	max-width: 300px;
}

.footer-logo {
	margin-bottom: 1rem;
}

.footer-logo a {
	color: var(--sr-white);
}

.footer-logo img {
	max-height: 40px;
	width: auto;
}

.footer-tagline {
	font-size: 0.85rem;
	color: var(--sr-muted);
	margin-bottom: 1.25rem;
	line-height: 1.5;
}

.footer-contact-info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.85rem;
}

.footer-contact-info a,
.footer-contact-info span {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	color: var(--sr-muted);
}

.footer-contact-info a:hover {
	color: var(--sr-red);
}

.footer-contact-info svg {
	flex-shrink: 0;
	color: var(--sr-red);
}

.footer-col__title {
	font-family: var(--sr-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sr-white);
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--sr-red);
}

.footer-col__title--spaced {
	margin-top: 1.5rem;
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 0.35rem;
}

.footer-menu a {
	color: var(--sr-muted);
	font-size: 0.82rem;
	line-height: 1.5;
	transition: color var(--sr-transition);
}

.footer-menu a:hover {
	color: var(--sr-red);
}

/* Footer Bottom */
.footer-bottom {
	padding: 1.25rem 0;
	border-top: 1px solid var(--sr-border);
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.footer-copyright {
	font-size: 0.78rem;
	color: var(--sr-muted);
	margin: 0;
}

.footer-iso {
	margin: 0;
}

.footer-iso a {
	font-size: 0.78rem;
	color: var(--sr-gray);
	font-weight: 500;
}

.footer-iso a:hover {
	color: var(--sr-red);
}

/* --------------------------------------------------------------------------
   WP Block Editor Overrides
   -------------------------------------------------------------------------- */
.wp-block-button .wp-block-button__link {
	font-family: var(--sr-font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wp-block-separator {
	border-color: var(--sr-border) !important;
	clear: both;
}

.wp-block-quote {
	border-left-color: var(--sr-red) !important;
}

.wp-block-table table {
	border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
	border-color: var(--sr-border);
}

/* Spec tables: core Table blocks and the theme's .tablepress markup (RFQ
   shortcodes, legacy HTML tables) share one look */
/* Responsive wrapper */
.entry-content .tablepress-scroll-wrapper,
.tablepress-scroll-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #444 transparent;
	margin-bottom: 1.5rem;
}

.tablepress,
.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
	font-size: 0.88rem;
	line-height: 1.5;
	border: 1px solid var(--sr-border);
}

.tablepress thead th,
.entry-content .wp-block-table thead th {
	background: var(--sr-red) !important;
	color: var(--sr-white) !important;
	font-family: var(--sr-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
	white-space: nowrap;
	text-align: left;
}

.tablepress tfoot th,
.entry-content .wp-block-table tfoot th {
	background: var(--sr-dark);
	color: var(--sr-muted);
	font-size: 0.78rem;
	font-weight: 500;
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--sr-border);
}

.tablepress td,
.entry-content .wp-block-table td {
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--sr-border) !important;
	color: var(--sr-light) !important;
	background-color: #1A1A1A !important;
	vertical-align: top;
}

.tablepress .odd td,
.tablepress .even td,
.tablepress tbody tr td,
.entry-content .wp-block-table tbody tr td {
	background-color: #1A1A1A !important;
}

.tablepress .row-hover tr:hover td,
.tablepress tbody tr:hover td,
.entry-content .wp-block-table tbody tr:hover td {
	background-color: rgba(196, 18, 47, 0.12) !important;
}

/* Links inside tables */
.tablepress a,
.entry-content .wp-block-table a {
	color: var(--sr-red);
	text-decoration: none;
	font-weight: 500;
}

.tablepress a:hover,
.entry-content .wp-block-table a:hover {
	color: var(--sr-red-light);
	text-decoration: underline;
}

/* Core Table block: figure carries the spacing; tables start below floated
   images (as bare tables did) and scroll sideways only on phones */
.entry-content .wp-block-table {
	clear: both;
	margin: 1.5rem 0;
	overflow-x: visible;
}

@media (max-width: 767px) {
	.entry-content .wp-block-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: #444 transparent;
	}
}

/* The general .entry-content table margin would sit inside the scroll box */
.entry-content .wp-block-table table {
	margin: 0;
}

.entry-content .wp-block-table thead,
.entry-content .wp-block-table tfoot {
	border: 0;
}

/* Compact cells for spec tables */
.tablepress .column-1,
.entry-content .wp-block-table tbody td:first-child {
	font-weight: 500;
}

/* boxHeading class used for lining category labels */
.boxHeading {
	background: var(--sr-dark);
	border-left: 4px solid var(--sr-red);
	padding: 0.6rem 1rem;
	margin: 1.5rem 0 0.75rem;
	font-family: var(--sr-font-heading);
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Responsive table for small screens */
@media (max-width: 767px) {
	.tablepress,
	.entry-content .wp-block-table table {
		font-size: 0.8rem;
	}

	.tablepress thead th,
	.entry-content .wp-block-table thead th {
		font-size: 0.72rem;
		padding: 0.5rem 0.5rem;
	}

	.tablepress td,
	.entry-content .wp-block-table td {
		padding: 0.45rem 0.5rem;
	}
}

/* --------------------------------------------------------------------------
   Image lightbox (Simple Easy Lightbox): brand accent on hover and focus
   -------------------------------------------------------------------------- */
.simple-easy-lightbox-overlay {
	--sel-accent: var(--sr-red);
}

/* --------------------------------------------------------------------------
   Gravity Forms — dark theme
   Colors come from the global Orbital style settings (Forms > Settings);
   these rules add the card, spacing, and the pieces the settings don't reach.
   -------------------------------------------------------------------------- */
.gform_wrapper.gform-theme {
	--gf-form-gap-y: 1rem;
	--gf-color-danger: #ff6b6b;
	--gf-color-danger-rgb: 255, 107, 107;
	font-family: var(--sr-font-primary);
	color: var(--sr-light);
}

/* Form card — stands out from the page (#1E1E1E vs page #111) */
.entry-content .gform_wrapper.gform-theme {
	max-width: 640px;
	padding: 2rem;
	background: #1E1E1E;
	border: 1px solid #333;
	border-radius: var(--sr-radius-lg);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

/* Breathing room when content follows a page form */
.entry-content .gform_wrapper.gform-theme + * {
	margin-top: 2.5rem;
}

.gform_wrapper.gform-theme .gform_required_legend {
	color: var(--sr-muted);
	font-size: 0.8rem;
	margin: 0 0 1rem;
}

.gform_wrapper.gform-theme .gfield_label {
	font-weight: 600;
}

.gform_wrapper.gform-theme textarea {
	min-height: 120px;
}

/* The global .entry-content img/table margins leak into the form */
.entry-content .gform_wrapper img {
	margin: 0;
}

/* HTML fields: heading + spec tables */
.entry-content .gform_wrapper .gfield--type-html h3 {
	margin-top: 0;
	margin-bottom: 1rem;
}

.entry-content .gform_wrapper .gfield--type-html table {
	margin: 0 0 1.5rem;
}

.entry-content .gform_wrapper .gfield--type-html .tablepress-scroll-wrapper {
	margin-bottom: 0;
}

.entry-content .gform_wrapper .gfield--type-html > :last-child,
.entry-content .gform_wrapper .gfield--type-html > :last-child table {
	margin-bottom: 0;
}

/* Image captcha: image, refresh, and a short input on one row */
.gform_wrapper .gf-ic {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.gform_wrapper .gf-ic-img {
	display: block;
	border-radius: var(--sr-radius);
}

.gform_wrapper.gform-theme .gf-ic .gf-ic-refresh {
	/* !important: the captcha plugin forces light colors with !important */
	background: #151515 !important;
	color: var(--sr-light) !important;
	border: 1px solid #333 !important;
	border-radius: var(--sr-radius);
	transition: border-color var(--sr-transition);
}

.gform_wrapper.gform-theme .gf-ic .gf-ic-refresh:hover {
	background: #151515 !important;
	color: var(--sr-white) !important;
	border-color: var(--sr-red) !important;
}

.gform_wrapper.gform-theme .gf-ic-input {
	max-width: 7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

/* Sidebar: full-width answer box on its own line above the image */
.sidebar .gform_wrapper.gform-theme .gf-ic-input {
	flex: 0 0 100%;
	max-width: none;
}

/* File upload drop area */
.gform_wrapper.gform-theme .gform_drop_area {
	background: #151515;
	border: 1px dashed #444;
	color: var(--sr-muted);
}

.gform_wrapper.gform-theme .gform_button_select_files {
	font-family: var(--sr-font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* GF's auto "Accepted file types..." list duplicates the field description;
   keep it for screen readers only */
.gform_wrapper .gform_fileupload_rules {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Submit */
.gform_wrapper.gform-theme .gform_footer .gform_button {
	font-family: var(--sr-font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding-inline: 2.5rem;
	transition: all var(--sr-transition);
}

.gform_wrapper.gform-theme .gform_footer .gform_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(196, 18, 47, 0.3);
}

.gform_wrapper.gform-theme .gform_validation_errors {
	background: rgba(255, 107, 107, 0.08);
	border-color: rgba(255, 107, 107, 0.4);
}

/* --------------------------------------------------------------------------
   Page-content forms: tighter rows; floating labels for these and the sidebar
   form (assets/js/forms.js)
   -------------------------------------------------------------------------- */
.entry-content .gform_wrapper.gform-theme--framework {
	--gf-form-gap-y: 0.75rem;
	--gf-form-gap-x: 0.875rem;
	--gf-label-space-primary: 0.375rem;
	--gf-form-footer-margin-y-start: 1.25rem;
}

.entry-content .gform_wrapper.gform-theme {
	padding: 1.5rem 1.75rem 1.75rem;
}

.entry-content .gform_wrapper.gform-theme .gform_required_legend {
	margin-bottom: 0.75rem;
}

/* forms.js adds .sr-float (page-content and sidebar forms) and marks the text-like fields */
.gform_wrapper.sr-float .gfield.sr-fl {
	position: relative;
}

.gform_wrapper.sr-float .gfield.sr-fl > .gfield_label {
	position: absolute;
	top: 0.45rem;
	left: 0.85rem;
	z-index: 2;
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--sr-muted);
	pointer-events: none;
	transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.gform_wrapper.gform-theme--framework.sr-float .gfield.sr-fl input,
.gform_wrapper.gform-theme--framework.sr-float .gfield.sr-fl select {
	min-block-size: 3.25rem;
	block-size: 3.25rem;
	line-height: 1.3;
	padding-block-start: 1.35rem;
	padding-block-end: 0.35rem;
}

.gform_wrapper.gform-theme--framework.sr-float .gfield.sr-fl textarea {
	min-height: 0;
	min-block-size: 7.5rem;
	block-size: 7.5rem;
	line-height: 1.5;
	padding-block-start: 1.6rem;
	padding-block-end: 0.5rem;
}

/* Empty and unfocused: the label sits inside the field like a placeholder */
.gform_wrapper.sr-float .gfield.sr-fl:has(input:placeholder-shown:not(:focus)) > .gfield_label {
	top: 1.05rem;
	font-size: 0.95rem;
	font-weight: 500;
}

.gform_wrapper.sr-float .gfield.sr-fl:has(textarea:placeholder-shown:not(:focus)) > .gfield_label {
	top: 1rem;
	font-size: 0.95rem;
	font-weight: 500;
}

.gform_wrapper.sr-float .gfield.sr-fl:focus-within > .gfield_label {
	color: var(--sr-red-light);
}

/* --------------------------------------------------------------------------
   Sidebar form (theme-placed, section-routed)
   -------------------------------------------------------------------------- */
.sidebar-form__lead {
	color: var(--sr-muted);
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0 0 1rem;
}

.sidebar .gform_wrapper.gform-theme textarea {
	min-height: 0;
	height: 6.5rem;
}

/* Compact floating labels for the narrow sidebar */
.sidebar .gform_wrapper.gform-theme {
	--gf-form-gap-y: 0.5rem;
}

.sidebar .gform_wrapper.gform-theme--framework.sr-float .gfield.sr-fl input {
	min-block-size: 2.85rem;
	block-size: 2.85rem;
	padding-block-start: 1.15rem;
	padding-block-end: 0.25rem;
}

.sidebar .gform_wrapper.gform-theme--framework.sr-float .gfield.sr-fl textarea {
	min-block-size: 6rem;
	block-size: 6rem;
	padding-block-start: 1.4rem;
}

.sidebar .gform_wrapper.sr-float .gfield.sr-fl > .gfield_label {
	top: 0.35rem;
	font-size: 0.68rem;
}

.sidebar .gform_wrapper.sr-float .gfield.sr-fl:has(input:placeholder-shown:not(:focus)) > .gfield_label {
	top: 0.85rem;
	font-size: 0.9rem;
}

.sidebar .gform_wrapper.sr-float .gfield.sr-fl:has(textarea:placeholder-shown:not(:focus)) > .gfield_label {
	top: 0.8rem;
	font-size: 0.9rem;
}

/* Compact form: the asterisks in the labels need no legend */
.sidebar .gform_wrapper.gform-theme .gform_required_legend {
	display: none;
}

.sidebar .gform_wrapper.gform-theme .gform_footer {
	margin-top: 0.75rem;
	padding-bottom: 0;
}

.sidebar .gform_wrapper.gform-theme .gform_footer .gform_button {
	width: 100%;
	padding-inline: 1rem;
	font-size: 0.82rem;
}

/* Two-column RFQ spec tables fit the column instead of scrolling sideways
   (on phones the values column was off-screen with no cue to swipe) */
.tablepress.rfq-specs {
	table-layout: fixed;
}

.tablepress.rfq-specs th,
.tablepress.rfq-specs td {
	white-space: normal;
	overflow-wrap: anywhere;
	vertical-align: middle;
}

.tablepress.rfq-specs td:first-child {
	width: 62%;
}

.rfq-specs-note {
	color: var(--sr-muted);
	font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Contact page info cards + map
   -------------------------------------------------------------------------- */

/* Subtitle under the banner: quiet lead line, not a competing heading */
.entry-content .contact-lead {
	margin: 0 0 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--sr-muted);
}

.contact-layout {
	gap: 4.5rem;
}

/* Align the form column's heading with the top of the Call card */
.entry-content .contact-layout .wp-block-column > .wp-block-heading {
	margin-top: 0;
	margin-bottom: 1rem;
}

.contact-card {
	background: var(--sr-dark);
	border: 1px solid var(--sr-border-light);
	border-radius: var(--sr-radius-lg);
	padding: 1.5rem 1.75rem;
	margin-bottom: 1.5rem;
}

.entry-content .contact-card__label,
.contact-card__label {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sr-red-light);
}

.contact-card__line {
	margin: 0 0 0.35rem;
	line-height: 1.6;
}

.contact-card__line:last-child {
	margin-bottom: 0;
}

.contact-card__line--big {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}

.contact-card__line--big a {
	color: var(--sr-white);
	text-decoration: none;
}

.contact-card__line--big a:hover {
	color: var(--sr-red-light);
}

.contact-card__line--muted {
	color: var(--sr-muted);
	font-size: 0.9rem;
}

.contact-map {
	border: 1px solid var(--sr-border-light);
	border-radius: var(--sr-radius-lg);
	overflow: hidden;
	line-height: 0;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 320px;
	border: 0;
}

/* Even out the columns: cards keep their size, the map stretches to match
   the form column's depth */
@media (min-width: 782px) {
	.contact-layout .wp-block-column:first-child {
		display: flex;
		flex-direction: column;
	}

	.contact-layout .contact-map {
		flex: 1 1 auto;
	}

	.contact-layout .contact-map iframe {
		height: 100%;
		min-height: 320px;
	}
}

/* --------------------------------------------------------------------------
   Trade Show Schedule cards
   -------------------------------------------------------------------------- */
.tradeshow-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.tradeshow-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border-light);
	border-radius: var(--sr-radius-lg);
	padding: 1.25rem;
}

.tradeshow-card__date {
	flex: 0 0 auto;
	min-width: 66px;
	text-align: center;
	background: var(--sr-red);
	color: var(--sr-white);
	border-radius: var(--sr-radius);
	padding: 0.5rem 0.5rem 0.55rem;
	font-family: var(--sr-font-heading);
}

.tradeshow-card__month {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.tradeshow-card__days {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.25;
}

.entry-content .tradeshow-card__name,
.tradeshow-card__name {
	margin: 0 0 0.3rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.tradeshow-card__meta {
	margin: 0;
	color: var(--sr-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.tradeshow-card__booth {
	display: inline-block;
	margin-top: 0.55rem;
	padding: 0.2rem 0.6rem;
	border: 1px solid var(--sr-border-light);
	border-radius: 999px;
	color: var(--sr-light);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

/* Past shows stay on record but recede */
.tradeshow-card--past {
	opacity: 0.55;
}

.tradeshow-card--past .tradeshow-card__date {
	background: var(--sr-border-light);
	color: var(--sr-light);
}

/* The next upcoming show */
.tradeshow-card--next {
	border-color: var(--sr-red);
}

.tradeshow-card__flag {
	display: inline-block;
	margin-bottom: 0.35rem;
	color: var(--sr-red-light);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Form-destination pages (SALEM_NARROW_PAGES) render without a sidebar; a
   single column sized to the form card keeps intro and form together */
.layout-narrow .entry-content {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* The h1-size content heading wraps awkwardly in the narrow column; the
   banner already carries the big title, so step this one down to fit */
.layout-narrow .entry-content .heading-xl {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* --------------------------------------------------------------------------
   Sidebar CTA + Badges
   -------------------------------------------------------------------------- */
/* White chips so light-background logos read on the dark theme */
.sidebar-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.sidebar-badge {
	flex: 1 1 calc(50% - 0.375rem);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sr-white);
	border-radius: var(--sr-radius-lg);
	padding: 0.9rem 0.75rem;
}

.sidebar-badge img {
	display: block;
	margin: 0;
	max-height: 96px;
	width: auto;
	max-width: 100%;
}

@media (min-width: 900px) {
	.sidebar {
		position: sticky;
		top: 90px;
		align-self: start;
	}
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.top-bar__cta {
		display: none;
	}

	.hero {
		min-height: 400px;
		padding: 3rem 0;
	}

	.cta-section__inner {
		flex-direction: column;
		text-align: center;
	}

	.cta-section__text {
		max-width: none;
	}

	.cta-section__actions {
		justify-content: center;
	}

	.footer-bottom__inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.hero__actions {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		text-align: center;
	}
}

/* --------------------------------------------------------------------------
   Literature Library
   -------------------------------------------------------------------------- */
.literature-intro {
	font-size: 1.05rem;
	color: var(--sr-muted);
	max-width: 760px;
	margin-bottom: 1.5rem;
}

.literature-group__title {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--sr-white);
	padding-bottom: 0.6rem;
	margin: 2.75rem 0 1.75rem;
	border-bottom: 2px solid var(--sr-red);
}

/* Wrapping flex row of fixed-width cards; descendant selectors survive
   WP-injected wrappers, flex-start keeps cards at natural height. */
.literature-grid {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.5rem !important;
}

.literature-grid .lit-card {
	/* Fixed basis, no grow: uniform compact cards */
	flex: 0 1 320px;
	max-width: 320px;
	min-width: 0;
	margin: 0 !important;
	display: block;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	overflow: hidden;
	transition: transform var(--sr-transition), border-color var(--sr-transition), box-shadow var(--sr-transition);
}

.literature-grid .lit-card:hover {
	transform: translateY(-4px);
	border-color: var(--sr-red);
	box-shadow: var(--sr-shadow);
}

/* Flush children; !important beats WP's block-gap margins */
.literature-grid .lit-card > *,
.literature-grid .lit-card__body > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.lit-card__cover {
	display: block;
	margin: 0 !important;
	line-height: 0;
	overflow: hidden;
}

.lit-card__cover img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important; /* cancel the global `.entry-content img { margin: 1.5rem 0 }` */
	border-radius: 0 !important;
	border-bottom: 1px solid var(--sr-border);
	transition: transform 0.5s ease;
}

.literature-grid .lit-card:hover .lit-card__cover img {
	transform: scale(1.04);
}

.lit-card__body {
	padding: 0.85rem 1.1rem 1.15rem;
}

.lit-card__meta {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sr-gray);
	margin-bottom: 0.4rem !important;
}

.lit-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--sr-white);
	line-height: 1.25;
	margin-bottom: 0.4rem !important;
}

.lit-card__desc {
	font-size: 0.875rem;
	color: var(--sr-muted);
	margin-bottom: 1rem !important;
}

.lit-card__action a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sr-red);
}

.lit-card__action a:hover {
	color: var(--sr-red-light);
}

/* --------------------------------------------------------------------------
   Leadership profiles
   -------------------------------------------------------------------------- */
.leader-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}

/* Every card as tall as the longest bio, so the photos match */
@media (min-width: 561px) {
	.leader-grid {
		grid-auto-rows: 1fr;
	}
}

/* Horizontal card: photo left, text right; stacks on phones */
.leader-grid .leader-card {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	margin: 0 !important;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border);
	border-radius: var(--sr-radius-lg);
	overflow: hidden;
	transition: border-color var(--sr-transition), box-shadow var(--sr-transition);
}

.leader-grid .leader-card:hover {
	border-color: var(--sr-red);
	box-shadow: var(--sr-shadow);
}

@media (max-width: 560px) {
	.leader-grid .leader-card {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Flush children; !important beats WP's block-gap margins */
.leader-grid .leader-card > *,
.leader-card__body > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.leader-card__photo {
	position: relative;
	margin: 0 !important;
	line-height: 0;
	overflow: hidden;
}

/* Red rule: right edge beside the text, bottom edge when stacked */
.leader-card__photo::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 3px;
	height: 100%;
	background: var(--sr-red);
	transform-origin: top;
	transition: transform 0.7s ease 0.3s;
}

.leader-card__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center top;
	margin: 0 !important;
	border-radius: 0 !important;
	transition: transform 0.5s ease;
}

.leader-grid .leader-card:hover .leader-card__photo img {
	transform: scale(1.04);
}

/* Beside the text the photo fills the card height (top-anchored crop).
   Out of flow so it never sets the row height: lazy images with
   sizes="auto" get a 3000x1500 intrinsic size from core. */
@media (min-width: 561px) {
	.leader-card__photo {
		min-height: 200px;
	}

	.leader-card__photo img {
		position: absolute;
		inset: 0;
		height: 100%;
		aspect-ratio: auto;
	}
}

.leader-card__body {
	padding: 1.25rem 1.5rem 1.4rem;
}

@media (max-width: 560px) {
	.leader-card__photo::after {
		top: auto;
		bottom: 0;
		width: 100%;
		height: 3px;
		transform-origin: left;
	}

	.leader-card__body {
		padding: 1.1rem 1.25rem 1.4rem;
	}
}

/* Photo rule draws in after its card reveals (see "Motion") */
.sr-reveal .leader-card:not(.is-revealed) .leader-card__photo::after {
	transform: scaleY(0);
}

@media (max-width: 560px) {
	.sr-reveal .leader-card:not(.is-revealed) .leader-card__photo::after {
		transform: scaleX(0);
	}
}

.entry-content .leader-card__name {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.2rem !important;
}

.leader-card__title {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sr-red);
	margin-bottom: 0.75rem !important;
}

.leader-card__bio {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--sr-muted);
}

/* Placeholder state: drop the modifier once real content is in */
.leader-card--placeholder {
	border-style: dashed;
}

.leader-card--placeholder .leader-card__name,
.leader-card--placeholder .leader-card__bio {
	font-style: italic;
	color: var(--sr-muted);
}

.placeholder-note {
	border: 1px dashed var(--sr-gray);
	border-left: 4px solid var(--sr-red);
	border-radius: var(--sr-radius);
	background: rgba(255, 255, 255, 0.03);
	padding: 1rem 1.25rem;
	margin: 1.5rem 0;
}

.placeholder-note > :last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Stock Inventory (live Drive feed)
   -------------------------------------------------------------------------- */
.stock-inventory__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.stock-inventory__search {
	flex: 1 1 280px;
	max-width: 420px;
	padding: 0.6rem 0.9rem;
	background: var(--sr-dark);
	border: 1px solid var(--sr-border-light);
	border-radius: var(--sr-radius);
	color: var(--sr-white);
	font-family: var(--sr-font-primary);
	font-size: 0.9rem;
}

.stock-inventory__search:focus {
	outline: none;
	border-color: var(--sr-red);
}

.stock-inventory__updated {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sr-gray);
	white-space: nowrap;
}

.stock-inventory__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.stock-inventory__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.stock-inventory__table td {
	vertical-align: top;
}

.stock-inventory__part {
	font-weight: 600;
	white-space: nowrap;
}

.stock-inventory__hint {
	margin: 0 0 0.75rem;
	color: var(--sr-muted);
	font-size: 0.875rem;
}

.stock-inventory__qty {
	white-space: nowrap;
}

.stock-inventory__noresults,
.stock-inventory__empty {
	color: var(--sr-muted);
	font-size: 0.9rem;
	margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Hose types (Industrial Hose page): card grid, spec list, call to action
   -------------------------------------------------------------------------- */
.entry-content .hose-intro {
	margin-top: 0;
	font-size: 1.15rem;
	line-height: 1.7;
	color: var(--sr-white);
}

.entry-content .hose-section-title {
	margin: 2.75rem 0 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #333;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hose-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.entry-content a.hose-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #1E1E1E;
	border: 1px solid #333;
	border-radius: var(--sr-radius-lg);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.entry-content a.hose-card:hover,
.entry-content a.hose-card:focus-visible {
	border-color: var(--sr-red);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
	transform: translateY(-4px);
}

.hose-card__img {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #151515;
}

.entry-content .hose-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.4s ease;
}

.hose-card:hover .hose-card__img img,
.hose-card:focus-visible .hose-card__img img {
	transform: scale(1.04);
}

.hose-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem 1.1rem;
}

.hose-card__title {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sr-white);
}

.hose-card__desc {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--sr-muted);
}

.hose-card__more {
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sr-red);
}

.hose-card__arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}

.hose-card:hover .hose-card__arrow,
.hose-card:focus-visible .hose-card__arrow {
	transform: translateX(4px);
}

.hose-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 2rem;
	margin: 0;
}

.hose-specs dt {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sr-white);
}

.hose-specs dd {
	margin: 0.3rem 0 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--sr-light);
}

.hose-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin: 3rem 0 0;
	padding: 1.75rem;
	background: #1E1E1E;
	border: 1px solid #333;
	border-radius: var(--sr-radius-lg);
}

.hose-cta p {
	margin: 0;
}

.hose-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
}

.entry-content a.hose-cta__phone {
	white-space: nowrap;
	color: var(--sr-light);
	text-decoration: none;
}

.entry-content .hose-also {
	columns: 18rem 2;
	column-gap: 2.5rem;
}

.hose-also li {
	break-inside: avoid;
}

@media (max-width: 1100px) {
	.hose-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.hose-specs {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.hose-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
	.site-header,
	.site-footer,
	.menu-toggle,
	.pagination,
	.post-navigation {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}

	a {
		color: #000;
	}

	.page-banner {
		background: none;
		border: none;
		padding: 1rem 0;
	}

	.page-banner__title {
		color: #000;
	}
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Motion
   A head script adds .sr-reveal to <html> before first paint (skipped for
   reduced motion); reveal.js adds .is-revealed as targets scroll into view.
   Keep the target list in sync with REVEAL_TARGETS in reveal.js.
   -------------------------------------------------------------------------- */
@keyframes sr-fade-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sr-rule-grow {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

/* Scroll reveal: fade up */
.sr-reveal :is(.leader-grid .leader-card, .service-card, .highlight, .cta-section__inner, .literature-grid .lit-card, .hose-grid .hose-card, .entry-content > .wp-block-image):not(.is-revealed) {
	opacity: 0;
	transform: translateY(24px);
}

/* Scroll reveal: separators draw in from the left */
.entry-content > .wp-block-separator {
	transform-origin: left;
}

.sr-reveal .entry-content > .wp-block-separator:not(.is-revealed) {
	transform: scaleX(0);
}

.sr-reveal .is-revealing {
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sr-reveal .wp-block-separator.is-revealing {
	transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Hose cards: the photo settles from a slight zoom as its card fades up */
.sr-reveal .hose-card:not(.is-revealed) .hose-card__img img {
	transform: scale(1.12);
}

.sr-reveal .hose-card.is-revealing .hose-card__img img {
	transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: inherit;
}

/* Hero: slow zoom on the showing slide (hero-slideshow.js) */
.hero__slide.is-zooming {
	transform: scale(1.08);
	transition: opacity 1.5s ease, transform 9s ease-out;
}

/* Hero: content enters in sequence on load */
.sr-reveal .hero__content > * {
	animation: sr-fade-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sr-reveal .hero__title {
	animation-delay: 0.15s;
}

.sr-reveal .hero__subtitle {
	animation-delay: 0.35s;
}

.sr-reveal .hero__description {
	animation-delay: 0.5s;
}

.sr-reveal .hero__actions {
	animation-delay: 0.65s;
}

.sr-reveal .hero__title::after {
	transform-origin: left;
	animation: sr-rule-grow 0.7s ease 0.7s both;
}

/* Page banner entrance (delete this block to turn it off) */
@keyframes sr-banner-settle {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1);
	}
}

.sr-reveal .page-banner__bg {
	animation: sr-banner-settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sr-reveal .page-banner .container > * {
	animation: sr-fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sr-reveal .page-banner .container > :nth-child(2) {
	animation-delay: 0.12s;
}

.sr-reveal .page-banner .container > :nth-child(3) {
	animation-delay: 0.24s;
}
/* End page banner entrance */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* --------------------------------------------------------------------------
   WordPress Admin Bar Offset
   -------------------------------------------------------------------------- */
body.admin-bar .site-header {
	top: calc(32px - var(--sr-topbar-h, 0px));
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: calc(46px - var(--sr-topbar-h, 0px));
	}
}

@media (max-width: 600px) {
	body.admin-bar .site-header {
		top: calc(0px - var(--sr-topbar-h, 0px));
	}
}
