.header_hero_image {
	background-image: url(../../images/hero-background.svg);
	background-size: cover;
	padding-top: 144px !important;
	padding-bottom: 100px;
	background-position: bottom right;
}

.new-style .header_hero_image {
	padding-top: 220px !important;
	padding-bottom: 120px;
}

.new-style .hero_side.right {
	max-width: 632px;
}

.new-style .hero_image img {
	max-width: 100%;
	height: auto;
	position: relative;
	right: -20px;
}

.new-style .header_hero_image {
	background: none;
	background-color: #F2F4F8;
}

.has_header_hero_image .page-breadcrumbs {
	position: absolute;
	width: 100%;
	left: 0;
}

.hero_sides {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
}

.header_hero_image h1 {
	font-size: 56px;
	line-height: 72px;
	font-weight: 700;
	color: var(--neutral-800);
	margin-bottom: 32px;
}

.hero_subtitle {
	font-size: 26px;
	line-height: 36px;
	color: #757575;
	margin-bottom: 32px;
}

.hero_button {
	padding: 14px 48px;
	display: inline-block;
	border-radius: 8px;
	color: white !important;
	background-color: var(--primary-500);
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	transition: background-color 0.3s ease, color 0.3s ease;
	border: 1px solid var(--primary-500);
}

.hero_button:hover {
	background-color: white;
	color: var(--primary-500) !important;
	border-color: var(--primary-500);
}

.trusted_by_label_text {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: var(--text-tertiary-50);
}

.trusted_by_label_image img {
	height: 32px;
	width: auto;
}

.trusted_by_label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
}

.hero_side.left {
	flex: 0 0 524px;
}

.hero_image img {
	max-width: none;
	max-height: 660px;
	width: auto;
}

.has_header_hero_image.page-template-default {
	transition: border-color 0.3s ease;
}

.has_header_hero_image.page-template-default:not(.scrolling) .site-header {
	border-color: transparent;
}

.new-style header.site-header {
	background-color: white !important;
}

.quality_label {
	border-radius: 999px;
	border: 1px solid #AEE0A4;
	background: #E5FFE0;
	gap: 6px;
	padding: 5px 14px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 600;
	color: #2B7C46;
	display: inline-flex;
	margin-bottom: 24px;
}

.quality_label_inside {
	position: relative;
	top: 1px;
}

.quality_label:before {
	content: '';
	display: block;
	background-image: url(../../images/trust-badge.svg);
	width: 20px;
	height: 20px;
}

.new-style .hero_side.left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 0 0 515px;
}

.new-style .trusted_by_label {
	order: 6;
}

.new-style .header_hero_image h1 {
	font-size: 52px;
	line-height: 64px;
	font-weight: 600;
	color: #1E3851;
	margin-bottom: 24px;
}

.new-style .hero_subtitle {
	font-size: 20px;
	line-height: 32px;
	color: #525252;
	margin-bottom: 24px;
}

.new-style .trusted_by_label {
	margin-top: 24px;
	margin-bottom: 0;
}

.new-style .trusted_by_label_text {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #525252;
}

.new-style a.hero_button {
	background-color: #23479A;
	flex: 1;
	padding: 16px;
	display: flex;
	gap: 2px;
	align-items: center;
	border: none;
	justify-content: center;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	cursor: pointer;
}

.new-style a.hero_button:hover {
	color: white !important;
	background-color: #1c3c86 !important;
}

.new-style a.hero_button:after {
	content: '';
	width: 20px;
	height: 21px;
	display: block;
	background-image: url(../../images/button-arrow-right.svg);
}

.new-style .hero_button_wrapper {
	display: flex;
	width: 100%;
	gap: 16px;
}

a.hero_button.secondary {
	background-color: white;
	color: #23479A !important;
	border: 1px solid #E3ECFF;
}

a.hero_button.secondary:after {
	display: none;
}

.new-style.has_header_hero_image .page-breadcrumbs {
	top: 110px;
	margin-bottom: 0;
}

.new-style .breadcrumbs {
	font-size: 16px;
	line-height: 24px;
}

.new-style span.breadcrumb_last {
	font-weight: 600;
}

.new-style p#breadcrumbs > span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.new-style #breadcrumbs svg use {
	display: none;
}

.new-style #breadcrumbs svg {
	background-image: url(../../images/breadcrumbs-right.svg);
}

@media (max-width: 991px) {
	.new-style.has_header_hero_image .page-breadcrumbs {
		top: 95px;
	}

	.new-style #breadcrumbs svg {
		width: 16px;
		height: 16px;
		background-size: contain;
	}

	.new-style .breadcrumbs {
		font-size: 14px;
		line-height: 18px;
	}

	.new-style .header_hero_image {
		padding-bottom: 32px;
		padding-top: 140px !important;
	}

	.new-style .trusted_by_label {
		margin-top: 16px;
	}

	.new-style .hero_sides {
		flex-direction: column;
	}

	.new-style .hero_side.left {
		align-items: center;
		flex: 1;
	}

	.quality_label {
		font-size: 12px;
		line-height: 16px;
	}

	.new-style .header_hero_image h1 {
		font-size: 36px;
		line-height: 48px;
		margin-bottom: 17px;
		text-align: center;
	}

	.new-style .hero_subtitle {
		font-size: 18px;
		line-height: 26px;
	}

	.new-style .hero_button_wrapper {
		flex-direction: column;
	}

	.quality_label_inside {
		top: 2px;
	}

	.hero_side.right {
		display: none;
	}

	.hero_side.left {
		flex: 1;
	}

	.header_hero_image {
		padding-top: 120px !important;
		padding-bottom: 56px;
	}

	.trusted_by_label_text {
		font-size: 14px;
		line-height: 20px;
	}

	.trusted_by_label {
		margin-bottom: 16px;
	}

	.header_hero_image h1 {
		font-size: 36px;
		line-height: 40px;
		margin-bottom: 16px;
	}

	.hero_subtitle {
		font-size: 20px;
		line-height: 32px;
		margin-bottom: 16px;
	}

	.header_hero_image.new-style .btn-solid, .new-style .header_hero_image .btn-solid {
		max-width: 100% !important;
	}

	.header_hero_image.new-style .hero_button_wrapper, .new-style .header_hero_image .hero_button_wrapper {
		width: 100% !important;
	}

	.header_hero_image.new-style, .new-style .header_hero_image {
		padding-bottom: 64px !important;
	}
}



/* ===== Header Hero Image — Version 2 (new style) ===== */
/* apply .new-style on the section OR an ancestor */

.header_hero_image.new-style,
.new-style .header_hero_image {
  background: none;
  background-color: #F2F4F8;
  padding-top: 220px !important;
  padding-bottom: 120px;
}
.page-template-default .content > section.header_hero_image.new-style:first-child {
	margin-top: 73px !important;
}

.header_hero_image.new-style,
.new-style .hero_sides {
	gap: 24px;
}

/* layout & image */
.header_hero_image.new-style .hero_side.right,
.new-style .header_hero_image .hero_side.right {
  max-width: 100%;
}
.header_hero_image.new-style .hero_image img,
.new-style .header_hero_image .hero_image img {
  max-width: 100%;
  height: auto;
  position: relative;
  right: -20px;
}

/* left column + order (trusted-by below CTA) */
.header_hero_image.new-style .hero_side.left,
.new-style .header_hero_image .hero_side.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 515px;
}
.header_hero_image.new-style .trusted_by_label,
.new-style .header_hero_image .trusted_by_label {
  order: 6;
  margin-top: 24px;
  margin-bottom: 0;
}

/* typography */
.header_hero_image.new-style h1,
.new-style .header_hero_image h1 {
  font-size: 52px;
  line-height: 64px;
  font-weight: 600;
  color: #1E3851;
  margin-bottom: 24px;
}
.header_hero_image.new-style .hero_subtitle,
.new-style .header_hero_image .hero_subtitle {
  font-size: 20px;
  line-height: 32px;
  color: #525252;
  margin-bottom: 24px;
}
.header_hero_image.new-style .trusted_by_label_text,
.new-style .header_hero_image .trusted_by_label_text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #525252;
  text-transform: uppercase;
}

/* CTA container (for primary + secondary) */
.header_hero_image.new-style .hero_button_wrapper,
.new-style .header_hero_image .hero_button_wrapper {
  display: flex;
  width: auto;
  gap: 16px;
  min-width: 258px;
}

/* === CTA buttons (btn-solid) — used by your PHP === */
.header_hero_image.new-style .btn-solid,
.new-style .header_hero_image .btn-solid {
  border: 1px solid #23479A;
  background-color: #23479A;
  color: #ffffff;
  text-transform: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  flex: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* arrow after text (primary only) */
.header_hero_image.new-style .btn-solid::after,
.new-style .header_hero_image .btn-solid::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 11px;
  margin-left: .25rem;
  background: url("../../images/arrow-sm-right-white.svg") no-repeat center / 18px 18px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

/* hover / focus */
.header_hero_image.new-style .btn-solid:hover,
.header_hero_image.new-style .btn-solid:focus-visible,
.new-style .header_hero_image .btn-solid:hover,
.new-style .header_hero_image .btn-solid:focus-visible {
  border-color: #16347b;
  background: #16347b;
  color: #ffffff;
  outline: none;
}

/* active / pressed */
.header_hero_image.new-style .btn-solid:active,
.header_hero_image.new-style .btn-solid.is-pressed,
.header_hero_image.new-style .btn-solid[aria-pressed="true"],
.new-style .header_hero_image .btn-solid:active,
.new-style .header_hero_image .btn-solid.is-pressed,
.new-style .header_hero_image .btn-solid[aria-pressed="true"] {
  color: #FFFFFF;
  background-color: #1e3851;
  outline: none;
}

/* secondary variant: white button, no arrow */
.header_hero_image.new-style .btn-solid.secondary,
.new-style .header_hero_image .btn-solid.secondary {
  background-color: #ffffff;
  color: #23479A;
  border: 1px solid #E3ECFF;
}
.header_hero_image.new-style .btn-solid.secondary::after,
.new-style .header_hero_image .btn-solid.secondary::after {
  display: none;
}

/* ===== Mobile (<= 991px) ===== */
@media (max-width: 991px) {
  .header_hero_image.new-style,
  .new-style .header_hero_image {
    padding-bottom: 32px;
    padding-top: 140px !important;
  }

  .header_hero_image.new-style .hero_sides,
  .new-style .header_hero_image .hero_sides {
    flex-direction: column;
  }

  .header_hero_image.new-style .hero_side.left,
  .new-style .header_hero_image .hero_side.left {
    align-items: center;
    flex: 1;
  }

  .header_hero_image .hero_side.right { display: none; }

  .header_hero_image.new-style h1,
  .new-style .header_hero_image h1 {
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 17px;
    text-align: center;
  }
  .header_hero_image.new-style .hero_subtitle,
  .new-style .header_hero_image .hero_subtitle {
    font-size: 18px;
    line-height: 26px;
  }

  .header_hero_image.new-style .hero_button_wrapper,
  .new-style .header_hero_image .hero_button_wrapper {
    flex-direction: column;
  }
}

.header_hero_image .rating-badge--hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1;
  color: #1E3851;
  margin-bottom: 24px; /* space above CTA */
}

@media (max-width: 990px) {
	.header_hero_image .rating-badge--hero {
		display: none;
	}
}

.header_hero_image .rating-badge__score, .header_hero_image .rating-badge__count {
color: #525252;
font-weight: 600;
line-height: 18px;
}