/*
 * H-Line Solutions: inner pages design
 * Service pages, Privacy Policy, blog posts, blog archives and the 404 page.
 * Loaded by wp-content/novamira-sandbox/hline-inner-pages.php.
 * Colours and type follow the home page: navy #1a1844, blue #2b3ea0,
 * sky #2ea3f2, coral #ff8154, Montserrat headings, Open Sans body.
 * Blog pages use the light grey-blue rgb(169,181,199) with a white sidebar.
 */

:root {
	--hl-navy: #1a1844;
	--hl-navy-deep: #14123a;
	--hl-blue: #2b3ea0;
	--hl-sky: #2ea3f2;
	--hl-coral: #ff8154;
	--hl-text: #d8d8d8;
	--hl-muted: #aab1d8;
	--hl-line: rgba(255, 255, 255, 0.1);
	--hl-blog: rgb(169, 181, 199);
	--hl-ink: #1a1844;
	--hl-ink-text: #20244a;
	--hl-link-dark: #1c3796;
	--hl-head: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	--hl-body: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
}

/* Page canvas ------------------------------------------------------------ */
body.hl-inner,
body.hl-inner #page-container,
body.hl-inner #et-main-area,
body.hl-inner #main-content {
	background-color: var(--hl-navy);
}
body.hl-blog #main-content {
	background-color: var(--hl-blog);
}
body.hl-inner #main-content .container:before {
	display: none; /* Divi's sidebar divider line */
}

/* Divi's own titles are replaced by the hero */
body.hl-inner .main_title,
body.hl-ctx-page article > .entry-title,
body.hl-ctx-service article > .entry-title,
body.hl-ctx-post .et_post_meta_wrapper > .entry-title,
body.hl-ctx-post .et_post_meta_wrapper > .post-meta {
	display: none;
}

/* Hero --------------------------------------------------------------------- */
.hl-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: radial-gradient(120% 140% at 100% 0%, var(--hl-blue) 0%, var(--hl-navy) 52%, var(--hl-navy-deep) 100%);
	color: #fff;
	padding: clamp(110px, 11vw, 160px) 0 clamp(52px, 6vw, 84px);
}
.hl-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(80% 90% at 85% 10%, #000 0%, transparent 75%);
	mask-image: radial-gradient(80% 90% at 85% 10%, #000 0%, transparent 75%);
}
.hl-hero::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(46, 163, 242, 0.55), rgba(255, 129, 84, 0.55), transparent);
}
.hl-hero__glow {
	position: absolute;
	z-index: -1;
	width: 520px;
	height: 520px;
	inset-inline-end: -150px;
	top: -190px;
	border-radius: 50%;
	border: 1px solid rgba(46, 163, 242, 0.22);
	box-shadow: 0 0 0 64px rgba(46, 163, 242, 0.035), 0 0 0 150px rgba(46, 163, 242, 0.025);
	pointer-events: none;
}
.hl-hero__inner {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
}
body.hl-ctx-service .hl-hero__inner,
body.hl-ctx-page .hl-hero__inner {
	max-width: 820px;
}
body.hl-blog .hl-hero__inner {
	max-width: 1180px;
}
.hl-hero__crumbs {
	margin: 0 0 26px;
	font: 500 13px/1.6 var(--hl-body);
	color: var(--hl-muted);
}
.hl-hero__crumbs p {
	padding: 0;
}
.hl-hero__crumbs a {
	color: var(--hl-text);
	text-decoration: none;
}
.hl-hero__crumbs a:hover {
	color: #fff;
}
.hl-hero__crumbs .separator {
	margin: 0 8px;
	opacity: 0.5;
}
.hl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0;
	font: 600 13px/1.2 var(--hl-head);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--hl-sky);
}
.hl-eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background: currentColor;
}
.hl-hero__title {
	margin: 0 0 18px;
	padding: 0;
	max-width: 900px;
	font: 600 clamp(30px, 4.2vw, 50px)/1.14 var(--hl-head);
	letter-spacing: -0.01em;
	color: #fff;
}
.hl-hero__lead {
	margin: 0;
	padding: 0;
	max-width: 680px;
	font: 400 clamp(16px, 1.4vw, 19px)/1.65 var(--hl-body);
	color: var(--hl-text);
}
.hl-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	font: 500 14px/1.6 var(--hl-body);
	color: var(--hl-muted);
}
.hl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

/* Buttons -----------------------------------------------------------------
 * Orange buttons (.hl-btn--primary) share the home page button style; that
 * rule lives in css/hline-services-menu.css (printed on every page). */
.hl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 30px;
	border: 1.6px solid transparent;
	border-radius: 7px;
	font: 800 16px/1.15 'Raleway', Helvetica, Arial, Lucida, sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: letter-spacing 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.hl-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}
.hl-btn--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.04);
	color: #fff !important;
}
.hl-btn--ghost:hover,
.hl-btn--ghost:focus-visible {
	letter-spacing: 2px;
	border-color: #25d366;
	background: rgba(37, 211, 102, 0.12);
}
.hl-btn--block {
	display: flex;
	width: 100%;
}
/* Content: service pages and plain pages (dark) ---------------------------- */
body.hl-ctx-service #main-content .container,
body.hl-ctx-page #main-content .container {
	width: 88%;
	max-width: 820px;
	padding-top: clamp(44px, 6vw, 76px);
	padding-bottom: clamp(56px, 7vw, 96px);
}
body.hl-ctx-service #left-area,
body.hl-ctx-page #left-area {
	width: 100%;
	float: none;
	padding: 0 !important;
}
body.hl-inner .entry-content {
	font: 400 17px/1.8 var(--hl-body);
}
body.hl-ctx-service .entry-content,
body.hl-ctx-page .entry-content {
	color: var(--hl-text);
}
body.hl-inner .entry-content p {
	padding-bottom: 1.15em;
}
body.hl-inner .entry-content h2 {
	margin: 2.1em 0 0.7em;
	padding: 0;
	font: 600 clamp(24px, 2.4vw, 31px)/1.25 var(--hl-head);
	color: #fff;
}
body.hl-inner .entry-content h2::before {
	content: '';
	display: block;
	width: 36px;
	height: 3px;
	margin-bottom: 16px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--hl-sky), var(--hl-coral));
}
body.hl-inner .entry-content > h2:first-child {
	margin-top: 0;
}
body.hl-inner .entry-content h3 {
	margin: 1.6em 0 0.45em;
	padding: 0;
	font: 600 19px/1.4 var(--hl-head);
	color: #fff;
}
body.hl-inner .entry-content a {
	color: var(--hl-sky);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.hl-inner .entry-content a:hover {
	color: #fff;
}
body.hl-inner .entry-content strong {
	font-weight: 600;
	color: #fff;
}

/* Lists (Divi's #left-area list rules are stronger, hence !important) */
body.hl-inner .entry-content ul,
body.hl-inner .entry-content ol,
body.hl-inner .entry-content ul li,
body.hl-inner .entry-content ol li {
	list-style: none !important;
}
body.hl-inner .entry-content ul,
body.hl-inner .entry-content ol {
	padding: 0 !important;
}
body.hl-inner .entry-content ul {
	margin: 0 0 1.4em;
}
body.hl-inner .entry-content ul li {
	position: relative;
	margin-bottom: 0.55em;
	padding-inline-start: 28px;
}
body.hl-inner .entry-content ul li::before {
	content: '';
	position: absolute;
	inset-inline-start: 4px;
	top: 0.72em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--hl-sky);
	transform: rotate(45deg);
}
body.hl-inner .entry-content ol {
	list-style: none;
	counter-reset: hl-step;
	display: grid;
	gap: 12px;
	margin: 0 0 1.6em;
	padding: 0;
}
body.hl-inner .entry-content ol li {
	counter-increment: hl-step;
	position: relative;
	min-height: 60px;
	padding: 16px 20px;
	padding-inline-start: 72px;
	border: 1px solid var(--hl-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.035);
}
body.hl-inner .entry-content ol li::before {
	content: counter(hl-step, decimal-leading-zero);
	position: absolute;
	inset-inline-start: 18px;
	top: 15px;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--hl-blue), var(--hl-sky));
	font: 700 14px/1 var(--hl-head);
	color: #fff;
}

/* Contact block at the end of each service page */
body.hl-ctx-service .entry-content > ul:last-child {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 1.4em;
	padding: 22px !important;
	border: 1px solid var(--hl-line);
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(43, 62, 160, 0.35), rgba(26, 24, 68, 0.2));
}
body.hl-ctx-service .entry-content > ul:last-child li {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 15px;
	line-height: 1.6;
}
body.hl-ctx-service .entry-content > ul:last-child li::before {
	display: none;
}
body.hl-ctx-service .entry-content > ul:last-child li:last-child {
	grid-column: 1 / -1;
}

/* Tables */
body.hl-inner .entry-content table {
	width: 100%;
	margin: 0 0 1.6em;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.55;
	background: #fff;
	box-shadow: 0 14px 40px -28px rgba(20, 18, 58, 0.55);
}
body.hl-inner .entry-content th,
body.hl-inner .entry-content td {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid rgba(26, 24, 68, 0.08);
	text-align: start;
	vertical-align: top;
	color: var(--hl-ink-text);
}
body.hl-inner .entry-content thead th {
	background: var(--hl-navy);
	color: #fff;
	font: 600 14px/1.4 var(--hl-head);
}
body.hl-inner .entry-content tbody td:first-child {
	font-weight: 600;
	color: var(--hl-ink);
}
body.hl-inner .entry-content tbody tr:last-child td {
	border-bottom: 0;
}

/* Blog: posts and archives (light grey-blue, white sidebar) ---------------- */
body.hl-blog #main-content .container {
	width: 88%;
	max-width: 1180px;
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(56px, 7vw, 96px);
}
body.hl-blog #content-area {
	display: flex;
	align-items: flex-start;
}
body.hl-blog #content-area::before,
body.hl-blog #content-area::after {
	display: none;
}
body.hl-blog #left-area {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	float: none;
	padding: 0 !important;
	margin-inline-end: 4.5%;
}
body.hl-blog #sidebar {
	flex: 0 0 300px;
	width: 300px;
	float: none;
	padding: 28px 26px !important;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 50px -32px rgba(20, 18, 58, 0.5);
	position: sticky;
	top: 24px;
}
body.hl-blog .entry-content,
body.hl-blog #left-area {
	color: var(--hl-ink-text);
}
body.hl-blog .entry-content h2,
body.hl-blog .entry-content h3,
body.hl-blog .entry-content strong {
	color: var(--hl-ink);
}
body.hl-blog .entry-content a {
	color: var(--hl-link-dark);
}
body.hl-blog .entry-content a:hover {
	color: var(--hl-navy);
}
body.hl-blog .entry-content ul li::before {
	background: var(--hl-blue);
}
body.hl-blog .entry-content ol li {
	border-color: rgba(26, 24, 68, 0.1);
	background: rgba(255, 255, 255, 0.45);
}
body.hl-ctx-post .et_post_meta_wrapper {
	padding: 0;
}

/* Sidebar widgets */
body.hl-blog #sidebar .et_pb_widget,
body.hl-blog #sidebar .widget {
	float: none;
	width: 100%;
	margin: 0 0 28px;
}
body.hl-blog #sidebar .et_pb_widget:last-child {
	margin-bottom: 0;
}
body.hl-blog #sidebar h2,
body.hl-blog #sidebar .widgettitle {
	margin: 0 0 14px;
	padding: 0;
	font: 600 13px/1.3 var(--hl-head);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-ink);
}
body.hl-blog #sidebar .wp-block-search__label {
	display: block;
	margin-bottom: 10px;
	font: 600 13px/1.3 var(--hl-head);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-ink);
}
body.hl-blog #sidebar .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}
body.hl-blog #sidebar .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(26, 24, 68, 0.15);
	border-radius: 10px;
	background: #f4f6fa;
	color: var(--hl-ink);
	font: 400 15px/1 var(--hl-body);
}
body.hl-blog #sidebar .wp-block-search__button {
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--hl-navy);
	color: #fff;
	font: 600 14px/1 var(--hl-head);
	cursor: pointer;
}
body.hl-blog #sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.hl-blog #sidebar .wp-block-latest-posts li {
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid rgba(26, 24, 68, 0.08);
	font: 500 15px/1.45 var(--hl-body);
}
body.hl-blog #sidebar .wp-block-latest-posts li:last-child {
	border-bottom: 0;
}
body.hl-blog #sidebar a {
	color: var(--hl-ink-text);
	text-decoration: none;
}
body.hl-blog #sidebar a:hover {
	color: var(--hl-link-dark);
}
.hl-side-services li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(26, 24, 68, 0.08);
	font: 600 15px/1.35 var(--hl-head);
}
.hl-side-services li a svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--hl-coral);
	transition: transform 0.2s ease;
}
[dir='rtl'] .hl-side-services li a svg,
.rtl .hl-side-services li a svg {
	transform: scaleX(-1);
}
.hl-side-services li a:hover svg {
	transform: translateX(3px);
}
.rtl .hl-side-services li a:hover svg {
	transform: scaleX(-1) translateX(3px);
}

/* Blog archive cards */
body.hl-ctx-blog #left-area > article.et_pb_post,
body.hl-ctx-blog #left-area > .et_pb_post {
	margin: 0 0 22px;
	padding: 28px 30px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 18px 40px -32px rgba(20, 18, 58, 0.45);
}
body.hl-ctx-blog .et_pb_post .entry-title {
	padding: 0 0 8px;
	font: 600 22px/1.3 var(--hl-head);
}
body.hl-ctx-blog .et_pb_post .entry-title a {
	color: var(--hl-ink);
}
body.hl-ctx-blog .et_pb_post .post-meta {
	color: #4d5578;
}
body.hl-ctx-blog .et_pb_post .post-meta a {
	color: #4d5578;
}

/* Comments on the grey-blue background */
body.hl-ctx-post #comment-wrap {
	padding-top: 24px;
	color: var(--hl-ink-text);
}
body.hl-ctx-post #comment-wrap h1,
body.hl-ctx-post #comment-wrap h3,
body.hl-ctx-post #reply-title {
	font: 600 22px/1.3 var(--hl-head);
	color: var(--hl-ink);
}
body.hl-ctx-post #commentform input[type='text'],
body.hl-ctx-post #commentform input[type='email'],
body.hl-ctx-post #commentform input[type='url'],
body.hl-ctx-post #commentform textarea {
	border: 1px solid rgba(26, 24, 68, 0.12);
	border-radius: 10px;
	background: #fff;
	color: var(--hl-ink);
}
body.hl-ctx-post #commentform {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
body.hl-ctx-post #commentform > * {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
}
body.hl-ctx-post #commentform > .comment-form-author,
body.hl-ctx-post #commentform > .comment-form-email,
body.hl-ctx-post #commentform > .comment-form-url {
	grid-column: auto;
	float: none;
	width: auto;
}
body.hl-ctx-post #commentform input[type='text'],
body.hl-ctx-post #commentform input[type='email'],
body.hl-ctx-post #commentform input[type='url'],
body.hl-ctx-post #commentform textarea {
	width: 100% !important;
	padding: 12px 14px;
}
body.hl-ctx-post #commentform .form-submit {
	text-align: end;
}
@media (max-width: 767px) {
	body.hl-ctx-post #commentform > .comment-form-author,
	body.hl-ctx-post #commentform > .comment-form-email,
	body.hl-ctx-post #commentform > .comment-form-url {
		grid-column: 1 / -1;
	}
}
body.hl-ctx-post #commentform .submit {
	border: 0;
	border-radius: 999px;
	background: var(--hl-navy);
	color: #fff;
}

/* 404 ---------------------------------------------------------------------- */
.hl-404__hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: 78vh;
	padding: clamp(110px, 12vw, 170px) 0 clamp(64px, 8vw, 110px);
	background: radial-gradient(110% 130% at 100% 0%, var(--hl-blue) 0%, var(--hl-navy) 50%, var(--hl-navy-deep) 100%);
	text-align: center;
}
.hl-404__hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 80%);
	mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 80%);
}
.hl-404__inner {
	width: 88%;
	max-width: 960px;
	margin: 0 auto;
}
.hl-404__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2vw, 22px);
	margin: 0 0 26px;
	direction: ltr;
}
.hl-404__digit {
	font: 700 clamp(96px, 16vw, 190px)/0.9 var(--hl-head) !important;
	letter-spacing: -0.04em;
	background: linear-gradient(180deg, #ffffff 10%, #8fa0e8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hl-404__emblem {
	display: grid;
	place-items: center;
	width: clamp(78px, 12vw, 132px);
	height: clamp(78px, 12vw, 132px);
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: radial-gradient(circle at 30% 20%, rgba(46, 163, 242, 0.28), rgba(26, 24, 68, 0.6) 70%);
	box-shadow: 0 0 0 12px rgba(46, 163, 242, 0.05), 0 30px 60px -24px rgba(5, 4, 24, 0.9);
	animation: hl404float 6s ease-in-out infinite;
}
.hl-404__emblem img {
	width: 46%;
	height: auto;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
@keyframes hl404float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
.hl-404 .hl-eyebrow {
	justify-content: center;
}
.hl-404__title {
	margin: 0 0 14px;
	padding: 0;
	font: 600 clamp(26px, 3.4vw, 40px)/1.2 var(--hl-head);
	color: #fff;
}
.hl-404__lead {
	max-width: 600px;
	margin: 0 auto;
	padding: 0;
	font: 400 17px/1.7 var(--hl-body);
	color: var(--hl-text);
}
.hl-404__actions {
	justify-content: center;
}
.hl-404__services {
	margin-top: clamp(48px, 6vw, 72px);
}
.hl-404__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: start;
}
.hl-404__grid li {
	margin: 0;
	padding: 0;
}
.hl-404__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 20px 18px 46px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
	text-decoration: none !important;
	transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.hl-404__card:hover,
.hl-404__card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(46, 163, 242, 0.45);
	background: rgba(46, 163, 242, 0.08);
}
.hl-404__num {
	font: 700 12px/1 var(--hl-head);
	color: var(--hl-sky);
}
.hl-404__label {
	font: 600 17px/1.3 var(--hl-head);
	color: #fff;
}
.hl-404__desc {
	font: 400 13px/1.45 var(--hl-body);
	color: var(--hl-muted);
}
.hl-404__arrow {
	position: absolute;
	inset-inline-end: 16px;
	bottom: 14px;
	width: 20px;
	height: 20px;
	color: var(--hl-coral);
}
.hl-404__arrow svg {
	width: 20px;
	height: 20px;
}
.rtl .hl-404__arrow svg,
[dir='rtl'] .hl-404__arrow svg {
	transform: scaleX(-1);
}
@media (max-width: 980px) {
	.hl-404__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 480px) {
	.hl-404__grid {
		grid-template-columns: 1fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hl-404__emblem {
		animation: none;
	}
}

/* Sidebar search: Divi pins the button absolutely over the field; keep it in line. */
body.hl-blog #sidebar .wp-block-search__inside-wrapper {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 8px;
}
body.hl-blog #sidebar .wp-block-search__button,
body.hl-blog #sidebar .et_pb_widget .wp-block-search__button {
	position: static !important;
	inset: auto !important;
	flex: none;
	height: 44px !important;
	margin: 0 !important;
}
body.hl-blog #sidebar .wp-block-search__input {
	height: 44px !important;
	margin: 0 !important;
}
.hl-side-services .hl-btn {
	margin-top: 18px;
	padding: 14px 18px;
	font-size: 14px;
}

/* Closing slogan on service pages (emblem + large heading + intro) */
body.hl-inner .entry-content .hl-closing {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: clamp(18px, 3vw, 34px);
	align-items: center;
	margin: clamp(40px, 6vw, 64px) 0 0;
	padding: clamp(26px, 4vw, 44px);
	border: 1px solid var(--hl-line);
	border-radius: 22px;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(46, 163, 242, 0.16), transparent 60%),
		linear-gradient(135deg, rgba(43, 62, 160, 0.45), rgba(26, 24, 68, 0.35));
	overflow: hidden;
}
body.hl-inner .entry-content .hl-closing::before {
	content: '';
	grid-row: 1 / span 2;
	width: clamp(56px, 7vw, 84px);
	height: clamp(91px, 11.4vw, 137px);
	background: url('../images/hline-emblem.webp') center / contain no-repeat;
	filter: drop-shadow(0 10px 24px rgba(5, 4, 24, 0.6));
}
body.hl-inner .entry-content .hl-closing h2 {
	grid-column: 2;
	margin: 0 0 10px;
	font: 700 clamp(28px, 3.4vw, 44px)/1.15 var(--hl-head);
	color: #fff;
}
body.hl-inner .entry-content .hl-closing h2::before {
	display: none;
}
body.hl-inner .entry-content .hl-closing p {
	grid-column: 2;
	margin: 0;
	padding: 0;
	max-width: 560px;
	font-size: 17px;
	color: var(--hl-text);
}
@media (max-width: 600px) {
	body.hl-inner .entry-content .hl-closing {
		grid-template-columns: 1fr;
		text-align: center;
	}
	body.hl-inner .entry-content .hl-closing::before {
		grid-row: auto;
		justify-self: center;
		margin-bottom: 14px;
	}
	body.hl-inner .entry-content .hl-closing h2,
	body.hl-inner .entry-content .hl-closing p {
		grid-column: 1;
		margin-inline: auto;
	}
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
	.hl-hero__inner {
		width: 88%;
	}
	body.hl-blog #content-area {
		flex-direction: column;
	}
	body.hl-blog #left-area {
		margin-inline-end: 0;
		width: 100%;
	}
	body.hl-blog #sidebar {
		position: static;
		width: 100%;
		flex-basis: auto;
		margin-top: 40px;
	}
}
@media (max-width: 767px) {
	.hl-hero {
		padding-top: 96px;
	}
	.hl-hero__glow {
		width: 320px;
		height: 320px;
		top: -140px;
		inset-inline-end: -140px;
	}
	.hl-hero__actions .hl-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
	body.hl-inner .entry-content {
		font-size: 16px;
	}
	body.hl-ctx-service .entry-content > ul:last-child {
		grid-template-columns: 1fr;
		padding: 14px !important;
	}
	body.hl-inner .entry-content ol li {
		padding-inline-start: 64px;
	}
	body.hl-inner .entry-content table {
		display: block;
		overflow-x: auto;
	}
	body.hl-ctx-blog #left-area > article.et_pb_post {
		padding: 22px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hl-btn,
	.hl-side-services li a svg {
		transition: none;
	}
}


/* Sidebar search (2026-11-24): the button sits inside the bar. */
body.hl-blog #sidebar .wp-block-search__inside-wrapper {
	display: flex !important;
	align-items: center;
	gap: 4px;
	padding: 4px !important;
	border: 1px solid rgba(26, 24, 68, 0.15) !important;
	border-radius: 12px;
	background: #f4f6fa;
	transition: border-color .2s ease, box-shadow .2s ease;
}
body.hl-blog #sidebar .wp-block-search__inside-wrapper:focus-within {
	border-color: #2ea3f2 !important;
	box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.15);
}
body.hl-blog #sidebar .wp-block-search__input {
	height: 38px !important;
	padding: 0 10px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}
body.hl-blog #sidebar .wp-block-search__button,
body.hl-blog #sidebar .et_pb_widget .wp-block-search__button {
	height: 38px !important;
	padding: 0 16px !important;
	border-radius: 9px !important;
}
