/*
	Theme Name: Custom
	Author: MP

*/

/* ---------- Root Variables ---------- */
:root {
  --menu_font_size: clamp(13px, 0.95vw, 17px);
  /* Neutrals of the design; brand colors and fonts come from the Customizer */
  --muted: #5b6b7d;
  --ivory: #f3f7fb;
  --grey-band: #e9eef3;
  --line: #dde5ee;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-hover: 0 18px 44px rgba(11, 37, 69, 0.16);
}

/* ---------- Reset Styles ---------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
}
fieldset,
img,
iframe,
table,
td,
th {
  border: 0;
}
video {
  width: 100%;
}
html {
  scroll-behavior: smooth;
  background-color: var(--grey-band);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="submit"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="button"],
input[type="reset"],
select,
textarea {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 8px !important;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="submit"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="button"],
input[type="reset"],
select,
textarea {
  padding: 14px 16px;
  font-size: 17px;
  font-family: var(--main-font);
  font-weight: 400;
  border: 1px solid var(--line);
  width: 100%;
}

input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
}
address {
  line-height: 2;
}

.wpcf7 p {
  margin: 0px 0px;
  line-height: 1;
}

body:not(.home) .footer_area {
  /*background: #c9c9c9; 
background: -moz-linear-gradient(top,  #c9c9c9 0%, #f2f2f2 100%); 
background: -webkit-linear-gradient(top,  #c9c9c9 0%,#f2f2f2 100%); 
background: linear-gradient(to bottom,  #c9c9c9 0%,#f2f2f2 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c9c9', endColorstr='#f2f2f2',GradientType=0 ); 

-webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.57);
box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.57);*/
}

div {
  position: relative;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
}
strong,
b {
  font-weight: bold;
  font-weight: 700;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}
tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}
td,
th {
  display: table-cell;
  vertical-align: inherit;
  padding: 0;
}
body {
  text-align: left;
  font-family: var(--main-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  background: #fff;
  color: var(--text-color);
  padding: 0px;
  margin: 0px auto;
  max-width: 1980px;
  -webkit-box-shadow: 0px 0px 22px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 22px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 22px 0px rgba(0, 0, 0, 0.25);
  -webkit-font-smoothing: antialiased;
}

.resp_text {
  font-size: calc(16px + (24 - 16) * ((100vw - 320px) / (1920 - 320)));
}

.wrap_full {
  margin: 0px auto !important;
  max-width: 1980px;
}
.wrap {
  margin: 0px auto !important;
  position: relative;
  max-width: 1600px;
  padding-left: 24px;
  padding-right: 24px;
}
.wrap_narrow {
  margin: 0px auto !important;
  position: relative;
  max-width: 1100px;
  padding-left: 24px;
  padding-right: 24px;
}
* {
  outline: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

td {
  vertical-align: top;
}
.cl {
  clear: both;
}
.cf:before,
.cf:after {
  content: "";
  display: table;
}
.transition {
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
p {
  margin: 12px 0px;
  line-height: 1.7;
}
.nop p {
  margin: 5px 0px;
  line-height: 2;
}
.content ul,
.content ol {
  padding-left: 20px;
  line-height: 2;
  /*	 list-style:none;*/
  margin: 15px 0px;
}
.content ul li:before,
.content ol li:before {
  /*  content: ' ✓ ';
  font-weight: 900;
  font-size: 140%;*/
}

.line2,
.line2 p,
.line,
.line p {
  line-height: 2;
}
.line15,
.line15 p {
  line-height: 1.5;
}
.white_bg {
  background-color: #fff;
}

/************************************************
*	Hyperlinks									*
************************************************/

a,
a:visited {
  color: var(--main-color-hover);
  text-decoration: none;
}
.content p a,
.footer_area p a,
.backlink_area p a {
  text-decoration: underline;
}
a:hover {
  color: var(--main-color);
  text-decoration: underline;
}

a img {
  border: none;
}

a:focus,
a:hover,
a:active {
  outline: none;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 15px;
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  text-decoration: none;
}
.pagination .page-numbers.current {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}
.pagination .page-numbers.dots {
  border-color: transparent;
}

/************************************************
*	Navbar      								*
************************************************/

/*   .navi {
        text-align:center
    }
    .navi li {
        display:inline-block;
        float:none;
        margin-left: -5px;
    }
    .navi li li {
        display:block;
        text-align:left;
    }
	*/
.navi_holder {
  background-color: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.navi {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 999999;
}

.navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top level: all items on one line, spread across the width */
.navi_holder .navi .menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navi li {
  position: relative;
  float: none;
}

/* Main menu items */
.navi li a {
  color: var(--menu-color);
  display: block;
  font-size: var(--menu_font_size);
  font-family: var(--menu-font);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 16px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.navi li a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Light-blue underline on hover and on the current page */
.navi .menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.navi .menu > li:hover > a::after,
.navi .menu > li.current-menu-item > a::after,
.navi .menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Flyouts: fade in and slide down. The flyout stays in place while hidden
   (opacity, visibility, pointer-events), so it can also fade out */
.navi li ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: var(--main-color-hover);
  box-shadow: var(--shadow-hover);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}
.navi li:hover > ul,
.navi li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navi li li {
  width: 100%;
}
.navi li li a {
  color: var(--menu-color-mobile);
  padding: 13px 20px;
  font-size: calc(var(--menu_font_size) * 0.92);
  font-weight: 500;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: normal;
}
.navi li li a:hover {
  color: var(--menu-color-mobile);
  background: var(--main-color);
}
/* The current page inside a flyout is marked by weight and a bar, so hover (background) stays visible */
.navi li li.current-menu-item > a {
  font-weight: 700;
  box-shadow: inset 4px 0 0 var(--accent-color);
}

/* Flyouts of the last two menu items open to the left, so they stay on screen.
   (The old rule for ul#menu-main-menu misses the desktop menu: it gets #menu-main-menu-1) */
.navi_holder .navi .menu > li:nth-last-child(-n + 2) > ul {
  left: auto;
  right: 0;
}

/* Third level opens to the side; an item with a third level gets an arrow */
.navi li ul ul {
  top: 0;
  left: 100%;
}
.navi_holder .navi .menu > li:nth-last-child(-n + 2) ul ul {
  left: auto;
  right: 100%;
}
.navi li li.menu-item-has-children > a {
  padding-right: 38px;
}
.navi li li.menu-item-has-children > a::after {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  font-weight: normal;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/************************************************
*	Images  					     		    * 
************************************************/

/*
 * Default WP Alignment Classes
 *****************************************************************************/

.aligncenter,
.alignleft,
.alignright {
  display: block;
  padding: 0;
}

.aligncenter {
  float: none;
  margin: 0.5em auto 1em;
}

.alignright {
  float: right;
  margin: 0.5em 0 1em 1em;
}

.alignleft {
  float: left;
  margin: 0.5em 1em 1em 0;
}

.wp-caption {
  padding: 5px 0;
  border: 1px solid #555;
  background: #444;
  text-align: center;
}

.wp-caption img {
  display: inline;
}

.wp-caption p.wp-caption-text {
  margin: 5px 0 0;
  padding: 0;
  text-align: center;
  font-size: 75%;
  font-weight: 100;
  font-style: italic;
  color: #ddd;
}
/*
 * Default WP Alignment Classes
 *****************************************************************************/

/************************************************
*	Custom								*
************************************************/

.thumb {
  float: left;
  margin: 8px 10px 0px 0px;
}
ul.navi li span.donate a {
  font-weight: bold;
  color: #900;
}

#side h2 {
  display: none;
}
#side li,
#side ul {
  list-style-type: none;
}

/* Responsive images */
.resp img {
  border: 0;
  width: 100%;
  height: auto;
  vertical-align: top;
}
img {
  max-width: 100%;
  height: auto;
}
.p0 {
  padding: 0px;
}
.p5 {
  padding: 5px;
}
.p10 {
  padding: 10px;
}
.p20 {
  padding: 20px;
}
.p30 {
  padding: 30px;
}
.p40 {
  padding: 40px;
}
.p0-10 {
  padding: 0px 10px;
}
.p0-20 {
  padding: 0px 20px;
}
.p0-30 {
  padding: 0px 30px;
}
.p10-0 {
  padding: 10px 0px;
}
.p20-0 {
  padding: 20px 0px;
}
.p30-0 {
  padding: 30px 0px;
}
.p10-20 {
  padding: 10px 20px;
}
.p20-10 {
  padding: 20px 10px;
}
.p20-40 {
  padding: 20px 40px;
}
.p40-20 {
  padding: 40px 20px;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
}

.shadow {
  box-shadow: var(--shadow-soft);
}

article ol,
article ul {
  margin-left: 20px;
  line-height: 2;
}

.line1 {
  line-height: 1;
}
.line12 {
  line-height: 1.2;
}
.line15 {
  line-height: 1.5;
}
.line {
  line-height: 2;
}
.line2 {
  line-height: 2;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* Long words in headings ("RESEARCH/PRESENTATIONS") wrap instead of widening the page on phones */
  overflow-wrap: break-word;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: none;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--main-color);
}
h1 {
  font-size: 52px;
  font-weight: 700;
}
h2 {
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 26px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 19px;
}
h6 {
  font-size: 18px;
}
.upper {
  text-transform: uppercase;
}

article ul li {
  margin-bottom: 6px;
}
ul.tribe-events-sub-nav li {
  padding: 0px;
  padding-left: 0px;
  padding-bottom: 0px;
  list-style: none;
  background-image: none !important;
  background-repeat: no-repeat;
  background-position: left top;

  margin-bottom: 6px;
}
article p {
  margin-bottom: 20px;
  margin-top: 10px;
}
article ul {
  margin-bottom: 20px;
  margin-top: 10px;
}
.mshow {
  display: none;
}

.gallery-item img {
  width: 95%;
  height: auto;
}
.blocks-gallery-grid .blocks-gallery-image figure,
.blocks-gallery-grid .blocks-gallery-item figure,
.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure {
  height: auto;
}
.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img,
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
  height: auto !important;
}
.blocks-gallery-grid .blocks-gallery-image figure,
.blocks-gallery-grid .blocks-gallery-item figure,
.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure {
  align-items: end !important;
}

.content ul li.blocks-gallery-item:before {
  content: "";
  font-weight: 100;
  font-size: 100%;
  display: none;
}
.content ul.blocks-gallery-grid {
  padding-left: 0px;
  line-height: 1;
  list-style: none;
  margin: 0px 0px;
}

.mright {
  text-align: right;
}
.tr_bg {
  background-color: rgba(0, 0, 0, 0.3);
}
.rela {
  position: relative;
}

/* Buttons: Button blocks, links with class "button" */
a.wp-block-button__link.wp-element-button,
.wp-block-button .wp-block-button__link,
a.button,
.button,
.btn {
  color: #fff !important;
  font-family: var(--heading-font);
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  background: var(--accent-color);
  position: relative;
  border: 2px solid var(--accent-color) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0px;
  padding: 16px 30px !important;
  text-align: center;
  line-height: 1.1 !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color) 25%, transparent);
}
a.wp-block-button__link.wp-element-button:hover,
.wp-block-button .wp-block-button__link:hover,
a.button:hover,
.button:hover,
.btn:hover {
  background: var(--accent-color-hover);
  border-color: var(--accent-color-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent-color) 35%, transparent);
}
/* Variants: class on the Button block (Advanced > Additional CSS class) or on the link */
.wp-block-button.blue .wp-block-button__link,
a.button.blue {
  background: var(--main-color);
  border-color: var(--main-color) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--main-color) 25%, transparent);
}
.wp-block-button.blue .wp-block-button__link:hover,
a.button.blue:hover {
  background: var(--main-color-hover);
  border-color: var(--main-color-hover) !important;
}
.wp-block-button.ghost .wp-block-button__link,
a.button.ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--main-color) !important;
  border-color: var(--main-color) !important;
  box-shadow: none;
}
.wp-block-button.ghost .wp-block-button__link:hover,
a.button.ghost:hover {
  background: var(--main-color);
  color: #fff !important;
  border-color: var(--main-color) !important;
}
.wp-block-button.outline .wp-block-button__link,
a.button.outline {
  background: transparent;
  color: var(--main-color-hover) !important;
  border-color: var(--main-color-hover) !important;
  box-shadow: none;
}
.wp-block-button.outline .wp-block-button__link:hover,
a.button.outline:hover {
  background: var(--main-color-hover);
  border-color: var(--main-color-hover) !important;
  color: #fff !important;
}
.wp-block-button.small .wp-block-button__link,
a.button.small {
  padding: 12px 22px !important;
  font-size: 15px !important;
}
.button .material-symbols-outlined {
  font-size: 20px;
}
/* Arrow after the text: class "arrow" on the Button block */
.wp-block-button.arrow .wp-block-button__link::after {
  content: "arrow_forward";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
}
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.wp-block-buttons.center_buttons {
  justify-content: center;
  margin-top: 40px;
}

/* Header: logo | address + phone, button */
.mobile_menu {
  display: none;
}
.header_area {
  position: relative;
  /* above the page content (.gutenberg_area 1000), so menu flyouts are not covered */
  z-index: 1100;
  background-color: #fff;
  box-shadow: 0 2px 18px color-mix(in srgb, var(--main-color) 8%, transparent);
}
.header_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.logo_holder {
  display: inline-block;
  line-height: 0;
  text-decoration: none !important;
}
.logo_holder img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
.site_name {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--main-color);
}
.header_right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header_contact {
  text-align: right;
  color: var(--main-color);
}
.header_contact p {
  margin: 0;
  line-height: 1.35;
}
.header_contact .address {
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.header_contact .phone a {
  font-family: var(--contact-line-font);
  font-size: var(--contact-line-font-size);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--main-color);
  text-decoration: none;
}
.header_contact .phone a:hover {
  color: var(--accent-color);
}
.header_contact .material-symbols-outlined {
  font-size: 18px;
  vertical-align: -3px;
  margin-right: 4px;
  color: var(--accent-color);
}
.header_button {
  white-space: nowrap;
}
/* ServiceTitan scheduler buttons have no href, so the browser would show an arrow cursor */
.se-booking-show,
.se-booking-show a {
  cursor: pointer;
}

hr,
hr.wp-block-separator {
  border: 0 !important;
  height: 4px;
  width: 72px !important;
  max-width: 72px;
  background: var(--accent-color);
  border-radius: 2px;
  margin: 22px 0;
  opacity: 1;
  clear: both;
}
.center hr,
.section_head.center hr,
hr.wp-block-separator.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.video {
  position: relative;
  padding-bottom: 56%;

  height: 0;
  overflow: hidden;
}
.video iframe,
.video object,
.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.box_title {
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: transparent !important;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0px !important;
  padding: 0px !important;
  border: none !important;
}
.wpcf7-spinner {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100px !important;
  height: 100px !important;
}
.wpcf7-spinner::before {
  top: 40px !important;
  left: 40px !important;
  width: 10px !important;
  height: 10px !important;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  margin-bottom: 10px;
}
.tag {
  position: relative;
  z-index: 200;
  padding: 40px;
}
.main_row {
  position: relative;
  background-color: #e1e1e1;
  z-index: 300;
  /* background-image: url(images/1_03.png); */
  background-repeat: repeat-x;
  z-index: 100000;
}
.box_title {
  font-size: 24px;
  text-transform: uppercase;
  padding: 0px 10px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  margin-top: 20px;
}
.box_title a {
  color: #fff;
  text-decoration: none;
}
.thebox {
  position: relative;
  padding: 10px;
}
.box_image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.button_holder {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
}
.boxtext {
  padding: 10px;
}
.footer_area {
  background-color: var(--footer-background-color);
  color: var(--footer-color);
  position: relative;
  z-index: 1000;
  padding: 80px 0 0;
  font-size: 16px;
  border-top: 1px solid var(--line);
}
.footer_area a {
  color: var(--footer-color);
  text-decoration: none;
}
.footer_area a:hover {
  color: var(--accent-color);
  text-decoration: none;
}
/* First screen: headline, buttons and highlights over the fixed slider */
.tag_lines_area {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: calc(100vh - 175px);
  padding: 60px 0 90px;
  display: flex;
  align-items: center;
}
.tag_lines_area .wrap {
  width: 100%;
}
.hero_inner {
  max-width: 900px;
}
/* Tag Lines Area field: small line above the H1, the H1, a paragraph under it */
.hero_text > p:has(+ h1),
.hero_text .eyebrow {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--main-color);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid color-mix(in srgb, var(--accent-color) 45%, transparent);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.tag_lines_area h1 {
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--main-color);
  margin: 0;
}
/* Part of the headline in bold or italic is shown in the light blue */
.tag_lines_area h1 span,
.tag_lines_area h1 strong,
.tag_lines_area h1 em {
  color: var(--accent-color);
  font-style: normal;
  font-weight: inherit;
}
.hero_text h1 ~ p {
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.5;
  color: var(--text-color);
  margin: 24px 0 34px;
  max-width: 760px;
}
.hero_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.hero_chips li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero_chips .material-symbols-outlined {
  color: var(--accent-color);
  font-size: 20px;
}
.testimonials_area {
  position: relative;
  z-index: 1000;
  background-color: #f0f0f0;
}
.featured_projects_area {
  position: relative;
  z-index: 900;
  background-color: #ffffff;
  padding: 30px 0px 0px 0px;
}
.gutenberg_area {
  position: relative;
  z-index: 1000;
  background-color: #ffffff;
}
.home .gutenberg_area {
  box-shadow: 0 -12px 40px color-mix(in srgb, var(--main-color) 18%, transparent);
}
.accordion {
  width: 100%;
  height: 350px;
  overflow: hidden;
}
.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}
.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 12.5%;
  height: 350px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all 500ms ease;
}
.accordion ul li div {
  display: block;
  overflow: hidden;
  width: 100%;
  background-color: rgba(0, 0, 0, 1);
  position: absolute;
  top: 0;
}
.accordion ul li div a {
  display: block;
  height: 350px;
  width: 100%;
  position: relative;
  z-index: 3;
  padding: 15px 20px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font-family:
    Open Sans,
    sans-serif;
  transition: all 200ms ease;
  background-color: rgba(0, 0, 0, 0.5);
}
.accordion ul li div a:hover {
  background-color: transparent !important;
}
.accordion ul li div a * {
  margin: 0;
  width: 100%;
  text-overflow: ellipsis;
  position: relative;
  z-index: 5;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}
.accordion ul li div a h2 {
  font-family: Montserrat, sans-serif;
  text-overflow: clip;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 2px;
  top: 160px;
}
.accordion ul li div a p {
  top: 160px;
  font-size: 13.5px;
}

.accordion ul li .the_cell_1 {
  opacity: 1;
}
.accordion ul li .the_cell_1:hover {
  opacity: 1;
}
.accordion ul li .the_cell_1:hover .tit {
  background-color: var(--accent-color);
}

.accordion ul:hover li {
  width: 8%;
}
.accordion ul:hover li:hover {
  width: 17%;
}

.accordion ul:hover li:hover a * {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.accordion ul li div.tit {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 20px 20px 10%;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  border-left: 1px solid #444444;
  position: relative;
  z-index: 200;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.the_cell_1 {
  background-repeat: no-repeat;

  background-position: left top;
  border-left: 1px solid #ccc;
  position: relative;
  z-index: 100;
}
.text_column {
  background-color: #f7f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 500px;
}
.acol-50.text_column.even {
  background-color: #fff;
}
.acol-50.text_column.odd {
  background-color: #f7f3f3;
}
.image_column {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.image_column.even {
  height: 500px;
}

.blue_area {
  color: var(--menu-color) !important;
  background: var(--accent-color);
  padding: 40px 10px;
  position: relative;
  z-index: 100000;
}
.blue_text h1,
.blue_text h2 {
  font-size: 60px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
.blue_text h3,
.blue_text h4,
.blue_text h5,
.blue_text h6 {
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
}
.home .the_line {
  border-top: 1px solid #444;
  padding-bottom: 4px;
  height: 1px;
}

.mshow {
  display: none;
}

.tribe-common .tribe-common-b2,
.tribe-common .tribe-common-h5,
.tribe-common .tribe-common-h6,
.tribe-common .tribe-common-h3,
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-events .tribe-events-c-view-selector__list-item-text,
.tribe-events-single-event-title,
.tribe-events-schedule .recurringinfo,
.tribe-events-schedule h2,
.tribe-related-event-info .recurringinfo,
.tribe-events-content,
.tribe-events-event-meta,
.tribe-events-back a,
.tribe-events-back a:visited,
.tribe-events-single .tribe-events-sub-nav,
.tribe-events-cal-links,
.tribe-events .tribe-events-c-breadcrumbs__list,
.tribe-common .tribe-common-h7,
.tribe-common .tribe-common-h8,
.tribe-common--breakpoint-medium.tribe-common
  .tribe-common-form-control-text__input,
.tribe-common .tribe-common-form-control-text__input,
.tribe-common .tribe-common-c-btn-border-small,
.tribe-common a.tribe-common-c-btn-border-small,
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
  font-family: "Open Sans", sans-serif !important;
}
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-common .tribe-common-c-btn:hover,
.tribe-common a.tribe-common-c-btn:hover {
  color: #fff;
  background-color: #424242 !important;
}
.tribe-events .tribe-events-c-ical__link,
.tribe-events .tribe-events-c-ical__link:hover {
  border: 1px solid #4444 !important;
  background-color: #4444 !important;
  color: #fff !important;
}
.tribe-common .tribe-common-c-svgicon {
  color: #fff !important;
}
.tribe-events-cal-links .tribe-events-gcal,
.tribe-events-cal-links .tribe-events-ical,
.tribe-events-event-meta a,
.tribe-events-event-meta a:visited {
  color: #4444 !important;
}
.tribe-events-event-categories a {
  line-height: 2;
  text-transform: uppercase;
}
.tribe-events-event-categories-label {
  font-weight: 700;
  text-transform: uppercase;
}
.tribe-events .tribe-events-calendar-day__event-featured-image-link,
.tribe-events .tribe-events-calendar-list__event-featured-image,
.tribe-events-event-image img {
  display: block;
  width: 100% !important;
}

.tribe-events-content ol,
.tribe-events-content p,
.tribe-events-content ul {
  font-size: 100% !important;
  line-height: 1.5;
}
.tribe-events-content {
  color: #141827;
}

.tribe-events
  .tribe-events-calendar-month__day--current
  .tribe-events-calendar-month__day-date,
.tribe-events
  .tribe-events-calendar-month__day--current
  .tribe-events-calendar-month__day-date-link {
  color: #e01a1e !important;
}
.tribe-common .tribe-common-anchor-thin-alt,
.tribe-common .tribe-common-anchor-thin-alt:hover {
  border-bottom: 1px solid #9b898a !important;
  color: #9b898a !important;
  transition: color 0.2s ease;
}
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
  color: var(--tec-color-text-primary);
  font-family: var(--tec-font-family-sans-serif);
  font-size: var(--tec-font-size-2);
  line-height: var(--tec-line-height-3);
  font-weight: var(--tec-font-weight-regular);
  font-weight: var(--tec-font-weight-bold);
  border: 0;
  cursor: pointer;
  display: inline-block;
  height: auto;
  padding: 0;
  text-decoration: none;
  width: auto;
  background-color: #fff !important;
  border: 1px solid #222 !important;
  border-radius: var(--tec-border-radius-default);
  text-align: center;
  transition: var(--tec-transition);
  color: #222 !important;
  padding: 11px 20px;
  width: 100%;
}
.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common a.tribe-common-c-btn-border:hover {
  background-color: #fff !important;
}
.tribe-events-calendar-list-nav.tribe-events-c-nav {
  display: none !important;
}
.tribe-events .datepicker .day.active,
.tribe-events .datepicker .day.active.focused,
.tribe-events .datepicker .day.active:focus,
.tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .month.active.focused,
.tribe-events .datepicker .month.active:focus,
.tribe-events .datepicker .month.active:hover,
.tribe-events .datepicker .year.active,
.tribe-events .datepicker .year.active.focused,
.tribe-events .datepicker .year.active:focus,
.tribe-events .datepicker .year.active:hover {
  background: #222 !important;
  color: #fff !important;
  text-shadow: none;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown__export-icon,
.tribe-block__events-link .tribe-events-c-subscribe-dropdown__export-icon {
  display: none !important;
}
.social_icons img {
  width: 50px;
  margin: 0px 2px;
}

/* ------------------------------------------------- */
/* ------------------------------------------------- */
/* ------------------------------------------------- */
/* ------------------------------------------------- */
/* ------------------------------------------------- */
/************************************************
*	Inner pages (page.php)						*
************************************************/

.page_title_area {
  position: relative;
  z-index: 100;
  background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 24px 44px;
  text-align: center;
}
.page_title_area h1 {
  margin: 0;
  font-size: clamp(36px, 3.4vw, 56px);
  letter-spacing: -0.02em;
}
.page_title_area .page_title_divider {
  width: 72px;
  height: 4px;
  border-radius: 2px;
  margin: 20px auto 0;
  background: var(--accent-color);
}

/* Plain blocks (text, lists, images) keep a readable column,
   sections (groups, media & text, custom HTML like maps) are full width */
.page_content
  > :not(.wp-block-group):not(.wp-block-media-text):not(.map):not(.alignfull) {
  max-width: 1000px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
}
.page_content > ul,
.page_content > ol {
  padding-left: 40px;
  line-height: 2;
}
.page_content > :last-child:not(.wp-block-group):not(.wp-block-media-text):not(.map) {
  margin-bottom: 60px !important;
}
.page_content > :first-child:not(.wp-block-group):not(.wp-block-media-text):not(.wp-block-columns):not(.map) {
  margin-top: 56px;
}
.page_content > h2 {
  font-size: clamp(28px, 2.2vw, 36px);
  margin-top: 44px;
}
.page_content > h3 {
  margin-top: 30px;
}
.page_content > .wp-block-image img {
  border-radius: var(--radius);
}
/* Sections of a page: a group with class "section" */
.page_content > .wp-block-group:last-child {
  margin-bottom: 0;
}

/************************************************
*	Post cards: category archive + Query Loop	*
************************************************/

/* archive.php shows posts as cards; the same card for a Query Loop block
   with class listings_query (e.g. "featured houses" on the homepage) */
.listing_archive {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}
.listing_grid,
.listings_query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.listing_grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  justify-content: center;
}
.wp-block-query.listings_query {
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 0 20px 40px;
}
.listings_query .wp-block-post-template {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.listing_card,
.listings_query .wp-block-post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  padding-bottom: 22px;
  margin: 0;
}
.listing_card:hover,
.listings_query .wp-block-post:hover {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}
.listing_card_photo,
.listings_query .wp-block-post-featured-image {
  display: block;
  margin: 0;
  background-color: #f0f0f0;
}
.listing_card_photo img,
.listings_query .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 280px !important;
  object-fit: cover;
}
/* Badge = first tag of the post */
.listing_badge,
.listings_query .listing_badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  margin: 0 !important;
  padding: 6px 14px;
  background: var(--accent-color);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
.listings_query .listing_badge a {
  color: #fff;
  text-decoration: none;
}
.listings_query .listing_badge .wp-block-post-terms__separator,
.listings_query .listing_badge a:not(:first-child) {
  display: none;
}
.listing_card_title,
.listings_query .wp-block-post-title {
  font-size: 22px;
  line-height: 1.3;
  margin: 20px 25px 8px;
}
.listing_card_title a,
.listings_query .wp-block-post-title a {
  color: var(--main-color);
  text-decoration: none;
}
.listing_card_title a:hover,
.listings_query .wp-block-post-title a:hover {
  color: var(--accent-color);
}
.listing_card_excerpt,
.listings_query .wp-block-post-excerpt {
  flex-grow: 1;
  margin: 0 25px;
}
.listing_card_excerpt p,
.listings_query .wp-block-post-excerpt__excerpt {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px !important;
}
.listing_card_more,
.listings_query .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin: 0 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  text-decoration: none;
}
.listings_query .wp-block-post-excerpt__more-text {
  margin: 0 !important;
}
.listings_query .wp-block-post-excerpt__more-link {
  margin: 0;
}
.listing_card_more:hover,
.listings_query .wp-block-post-excerpt__more-link:hover {
  color: var(--main-color);
}
.listing_empty {
  text-align: center;
  padding: 20px 0 40px;
}
.archive_description {
  max-width: 800px;
  margin: 15px auto 0;
}
/* Single post (index.php): featured image above the text */
.single_post_photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 25px;
}

/************************************************
*	[contact_info] shortcode (inc/contact-info.php)	*
************************************************/

.contact_info_item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact_info_item:last-child {
  margin-bottom: 0;
}
.contact_info .contact_icon {
  flex: 0 0 auto;
  color: var(--accent-color);
}
.contact_info .contact_label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact_info .contact_value {
  line-height: 1.5;
  word-break: break-word;
}

/************************************************
*	SEO / accessibility helpers (inc/seo.php)		*
************************************************/

/* Visible to screen readers and search engines only */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* "Skip to content" appears when reached with the keyboard */
.skip_link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  top: 10px;
  left: 10px;
  z-index: 100000;
  padding: 12px 20px;
  background: #fff;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* 404 page */
.not_found {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 80px;
  text-align: center;
}
.not_found .not_found_links {
  list-style: none;
  margin: 20px 0 30px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}

/************************************************
*	Blocks without core layout CSS				*
************************************************/

/* inc/setup.php turns core layout CSS off (disable-layout-styles), so the flex rows are here
   (the base rule of .wp-block-buttons is in the Buttons part above) */
.wp-block-buttons.is-content-justification-center {
  justify-content: center;
}
.wp-block-buttons.is-content-justification-right {
  justify-content: flex-end;
}
.wp-block-buttons.is-content-justification-space-between {
  justify-content: space-between;
}
.wp-block-buttons.is-vertical {
  flex-direction: column;
  align-items: flex-start;
}
.wp-block-columns {
  gap: 2em;
}
.wp-block-group.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
.wp-block-group.is-layout-flex.is-vertical {
  flex-direction: column;
  align-items: flex-start;
}
.wp-block-group.is-layout-flex.is-nowrap {
  flex-wrap: nowrap;
}
.wp-block-group.is-content-justification-center {
  justify-content: center;
}
.wp-block-group.is-content-justification-right {
  justify-content: flex-end;
}
.wp-block-group.is-content-justification-space-between {
  justify-content: space-between;
}
.wp-block-group.is-layout-grid {
  display: grid;
  gap: 1em;
}
/* Gallery block: its flex row also came from core layout CSS */
.wp-block-gallery.has-nested-images {
  display: flex;
  flex-wrap: wrap;
  align-items: normal;
  gap: var(--wp--style--unstable-gallery-gap, 16px);
}
.wp-block-gallery.has-nested-images.is-content-justification-center {
  justify-content: center;
}

/************************************************
*	BFW: block helpers (classes for blocks)		*
************************************************/

/* Icons for blocks: class icon_verified_user, icon_water_drop, ... on a paragraph, heading or group
   (Advanced > Additional CSS class). A new icon = one more line below with its Material Symbols name */
[class^="icon_"]::before,
[class*=" icon_"]::before {
  content: var(--icon);
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  color: var(--accent-color);
}
/* On a Button block the icon goes inside the link */
.wp-block-button[class*="icon_"]::before {
  content: none;
}
.wp-block-button[class*="icon_"] .wp-block-button__link::before {
  content: var(--icon);
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
}
.icon_verified_user { --icon: "verified_user"; }
.icon_location_on { --icon: "location_on"; }
.icon_workspace_premium { --icon: "workspace_premium"; }
.icon_credit_card { --icon: "credit_card"; }
.icon_water_drop { --icon: "water_drop"; }
.icon_plumbing { --icon: "plumbing"; }
.icon_water_damage { --icon: "water_damage"; }
.icon_gas_meter { --icon: "gas_meter"; }
.icon_valve { --icon: "valve"; }
.icon_yard { --icon: "yard"; }
.icon_groups { --icon: "groups"; }
.icon_handshake { --icon: "handshake"; }
.icon_home_repair_service { --icon: "home_repair_service"; }
.icon_payments { --icon: "payments"; }
.icon_arrow_down { --icon: "keyboard_double_arrow_down"; }
.icon_support_agent { --icon: "support_agent"; }
.icon_rate_review { --icon: "rate_review"; }
.icon_calendar { --icon: "calendar_month"; }
.icon_call { --icon: "call"; }
.icon_mail { --icon: "mail"; }
.icon_schedule { --icon: "schedule"; }
.icon_star { --icon: "star"; }
.icon_build { --icon: "build"; }
.icon_home { --icon: "home"; }
.icon_description { --icon: "description"; }

/* Small uppercase line above a heading */
.eyebrow {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0 0 16px;
}
.lead,
.lead p {
  font-size: 21px;
  line-height: 1.7;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.section {
  padding: 96px 0;
}
.section.tight {
  padding: 64px 0;
}
.ivory_bg {
  background-color: var(--ivory);
}
.grey_bg {
  background-color: var(--grey-band);
}
.section_head {
  max-width: 900px;
  margin-bottom: 44px;
}
.section_head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section_head h2 {
  margin-bottom: 0;
}
.section_head > p:not(.eyebrow) {
  font-size: 20px;
  color: var(--muted);
  margin: 16px 0 0;
}

/* List with check marks: class "checks" on a List block */
ul.checks {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}
ul.checks li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  line-height: 1.5;
}
ul.checks li::before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 1px;
}

/* Text link with an arrow: class "textlink" on a paragraph with a link */
.textlink a,
a.textlink {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--main-color-hover);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}
.textlink a::after,
a.textlink::after {
  content: "arrow_forward";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  font-weight: normal;
  transition: transform 0.2s ease;
}
.textlink a:hover::after,
a.textlink:hover::after {
  transform: translateX(4px);
}

/* Columns sets of the design are grids (the core flex columns squeeze on laptops) */
.wp-block-columns.brand_merge,
.wp-block-columns.area_grid,
.wp-block-columns.schedule_grid,
.wp-block-columns.chess {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.wp-block-columns.brand_merge > .wp-block-column,
.wp-block-columns.area_grid > .wp-block-column,
.wp-block-columns.schedule_grid > .wp-block-column,
.wp-block-columns.chess > .wp-block-column {
  min-width: 0;
}
.wp-block-columns.brand_merge > .wp-block-column,
.wp-block-columns.area_grid > .wp-block-column {
  align-self: center;
}

/************************************************
*	BFW: homepage sections						*
************************************************/

/* Trust strip under the hero */
.trust_bar {
  background: #fff;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.trust_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
}
.trust_item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust_item::before {
  grid-row: span 2;
  font-size: 34px;
}
.trust_item strong {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--main-color);
}

/* About: two former brands -> BFW Services */
.quote_line {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--main-color);
  border-left: 4px solid var(--accent-color);
  padding-left: 22px;
  margin: 28px 0;
}
.merge_visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-soft);
}
.merge_old {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.merge_old .wp-block-image {
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  background: var(--ivory);
  margin: 0;
  min-width: 0;
}
.merge_old .wp-block-image img {
  display: inline-block;
  max-height: 72px;
  max-width: 100%;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: all 0.35s ease;
}
.merge_old .wp-block-image:hover img {
  filter: grayscale(0%);
  opacity: 0.9;
}
.merge_old figcaption {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.merge_plus {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
/* Arrow from the former brands to the new logo */
.merge_new {
  position: relative;
  margin-top: 66px;
  text-align: center;
  padding: 30px 20px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%);
  border: 1px solid var(--line);
}
.merge_new::before {
  content: "keyboard_double_arrow_down";
  font-family: "Material Symbols Outlined";
  font-size: 40px;
  line-height: 1;
  color: var(--accent-color);
  position: absolute;
  top: -54px;
  left: 50%;
  transform: translateX(-50%);
}
.merge_new .wp-block-image {
  margin: 0;
}
.merge_new .wp-block-image img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.merge_new p {
  color: var(--muted);
  font-size: 16px;
  margin: 18px 0 0;
}

/* Service cards */
.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.svc_card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.svc_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.svc_card > .wp-block-image {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.svc_card > .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.svc_card:hover > .wp-block-image img {
  transform: scale(1.05);
}
.svc_body {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc_body h3 {
  margin-bottom: 10px;
}
/* The icon of the card: class icon_... on the card heading */
.svc_body h3[class*="icon_"]::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--ivory);
  color: var(--main-color-hover);
  font-size: 30px;
  margin: -58px 0 18px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
}
.svc_body p {
  color: var(--muted);
  margin: 0 0 20px;
}
.svc_body > p:not(.textlink) {
  flex: 1;
}
.svc_body .textlink {
  margin: 0;
}

/* Why BFW: grey band, tiles, numbers */
.why_band {
  background: var(--grey-band);
}
.why_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why_item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}
.why_item::before {
  display: block;
  font-size: 44px;
  margin-bottom: 18px;
}
.why_item h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.why_item p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}
.stats_row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 80px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid color-mix(in srgb, var(--main-color) 15%, transparent);
  text-align: center;
}
.stat_num {
  font-family: var(--heading-font);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: var(--main-color);
  margin: 0;
}
.stat_num em,
.stat_num sup {
  color: var(--accent-color);
  font-style: normal;
}
.stat_num sup {
  font-size: 0.45em;
}
.stat_label {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Chess rows: text + photo, full width */
.wp-block-columns.chess {
  gap: 0;
  align-items: stretch;
  background-color: var(--ivory);
}
.wp-block-columns.chess.white_bg {
  background-color: #fff;
}
.chess .chess_text {
  padding: 96px 8%;
  align-self: center;
}
.chess h2 {
  font-size: clamp(30px, 2.4vw, 40px);
}
.chess_sub {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  margin: 8px 0 0;
}
.chess .chess_img {
  position: relative;
  min-height: 560px;
}
.chess .chess_img .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0;
}
.chess .chess_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chess .chess_product {
  background: radial-gradient(
    circle at 50% 40%,
    #ffffff 0%,
    color-mix(in srgb, var(--accent-color) 11%, #fff) 45%,
    color-mix(in srgb, var(--accent-color) 21%, #fff) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
}
.product_shot {
  margin: 0;
  text-align: center;
}
.product_shot img {
  max-width: 78%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(11, 37, 69, 0.28));
}
.product_shot figcaption {
  display: inline-block;
  margin: 26px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--main-color);
  box-shadow: var(--shadow-soft);
}

/* Reviews: Google and Angi rating cards + quotes */
.review_platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.platform_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-soft);
}
.platform_name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--main-color);
  margin: 0;
}
.platform_name::before {
  content: "";
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: center / contain no-repeat;
}
.platform_name.google::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
}
.platform_name.angi {
  color: #ff6153;
  letter-spacing: -0.02em;
}
.platform_name.angi::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%23ff6153'/%3E%3Cpath d='M24 10 L36 38 H30.5 L27.8 31.5 H20.2 L17.5 38 H12 Z M24 20.5 L21.6 27 H26.4 Z' fill='%23fff'/%3E%3C/svg%3E");
}
.platform_score {
  text-align: right;
}
.platform_score p {
  margin: 0;
}
.platform_rating {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--main-color);
}
.stars {
  color: #f5b301;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.3;
}
.platform_score .stars {
  margin: 4px 0;
}
.platform_meta {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.reviews_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.review_card .stars {
  font-size: 20px;
  margin: 0 0 12px;
}
.review_quote {
  flex: 1;
  font-size: 17px;
  margin: 0 0 22px;
}
.review_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.review_meta p {
  margin: 0;
}
.review_author {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.review_author strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 17px;
  color: var(--main-color);
}
.review_src {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--main-color-hover);
}
.review_src.angi {
  color: #ff6153;
}

/* Service area + map */
.counties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 26px 0;
  padding: 0;
}
.counties li {
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: var(--main-color);
}
.area_grid .contact_info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.area_grid .contact_info_item {
  align-items: flex-start;
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.area_grid .contact_icon .material-symbols-outlined {
  font-size: 32px;
}
.contact_info .contact_value a[href^="tel:"] {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
}
.map_card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--line);
  line-height: 0;
}
.map_card iframe {
  display: block;
  width: 100% !important;
  height: 640px;
  border: 0;
}

/* Schedule an Appointment: ServiceTitan scheduler in an iframe */
.schedule {
  background: linear-gradient(180deg, var(--ivory) 0%, color-mix(in srgb, var(--main-color-hover) 12%, #fff) 100%);
  border-top: 1px solid var(--line);
  padding: 96px 0;
}
.wp-block-columns.schedule_grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.schedule_frame {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--main-color) 18%, transparent);
}
.schedule_frame iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}
.frame_note {
  background: var(--ivory);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid var(--line);
}
/* Card instead of the old iframe: its button opens the ServiceTitan popup scheduler (se-booking-show) */
.schedule_book {
  text-align: center;
  padding: 56px 32px 0;
}
.schedule_book::before {
  content: "calendar_month";
  font-family: "Material Symbols Outlined";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--main-color-hover);
  font-size: 44px;
  line-height: 1;
}
.schedule_book .book_title {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--main-color);
  margin: 0 0 10px;
}
.schedule_book .book_text {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
}
.schedule_book .wp-block-buttons.center_buttons {
  margin-top: 28px;
}
.schedule_book .frame_note {
  margin: 48px -32px 0;
}
.call_box {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.call_box::before {
  grid-row: span 2;
  font-size: 40px;
}
.call_box p {
  margin: 0;
}
.call_label {
  margin-bottom: 4px !important;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.call_number a {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--main-color);
  text-decoration: none;
}

/************************************************
*	BFW: forms (Forminator, style "none")		*
************************************************/

.form_card {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 40px 44px 36px;
}
#contact-form {
  scroll-margin-top: 20px;
}
.forminator-ui.forminator-custom-form .forminator-row {
  margin-bottom: 20px;
}
.forminator-ui.forminator-custom-form .forminator-label {
  display: block;
  font-family: var(--heading-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--main-color) !important;
  margin-bottom: 8px !important;
}
.forminator-ui.forminator-custom-form .forminator-input,
.forminator-ui.forminator-custom-form .forminator-textarea {
  width: 100%;
  font-family: var(--main-font) !important;
  font-size: 17px !important;
  color: var(--text-color) !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.forminator-ui.forminator-custom-form .forminator-textarea {
  min-height: 160px;
}
.forminator-ui.forminator-custom-form .forminator-input:focus,
.forminator-ui.forminator-custom-form .forminator-textarea:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 20%, transparent) !important;
}
.forminator-ui.forminator-custom-form .forminator-has_error .forminator-input,
.forminator-ui.forminator-custom-form .forminator-has_error .forminator-textarea {
  border-color: #d63638 !important;
}
.forminator-ui.forminator-custom-form .forminator-error-message {
  display: block;
  margin-top: 6px;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #d63638 !important;
}
.forminator-ui.forminator-custom-form .forminator-description {
  font-size: 13px;
  color: var(--muted);
}
.forminator-ui.forminator-custom-form .forminator-button-submit {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading-font) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  color: #fff !important;
  background: var(--accent-color) !important;
  border: 2px solid var(--accent-color) !important;
  border-radius: 999px !important;
  padding: 16px 34px !important;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color) 25%, transparent);
  transition: all 0.2s ease;
}
.forminator-ui.forminator-custom-form .forminator-button-submit:hover {
  background: var(--accent-color-hover) !important;
  border-color: var(--accent-color-hover) !important;
  transform: translateY(-2px);
}
.forminator-ui .forminator-response-message {
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
/* Empty message box, and the error summary meant for screen readers only (inline errors show under the fields) */
.forminator-ui .forminator-response-message[aria-hidden="true"] {
  display: none;
}
.forminator-ui .forminator-response-message.forminator-accessible {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.forminator-ui .forminator-response-message.forminator-success {
  background: #edf8f0;
  border: 1px solid #7cc58f;
  color: #1d5e2f;
}

/************************************************
*	BFW: footer									*
************************************************/

.footer_grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer_logo {
  display: inline-block;
  line-height: 0;
}
.footer_logo img {
  width: 260px;
  max-width: 100%;
  height: auto;
}
.footer_about > p {
  max-width: 420px;
}
.footer_about > p:first-of-type {
  margin-top: 22px;
}
.footer_title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--main-color);
  margin: 0 0 18px;
}
.footer_area ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer_area li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer_area .phone_big {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--main-color);
}
.footer_legacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--main-color) 12%, transparent);
}
.footer_legacy p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer_legacy .wp-block-image {
  margin: 0;
}
.footer_legacy img {
  height: 44px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: all 0.3s ease;
}
.footer_legacy img:hover {
  filter: grayscale(0%);
  opacity: 0.9;
}
.footer_badge {
  margin-top: 22px;
}
.footer_badge img {
  height: 70px;
  width: auto;
  opacity: 0.85;
  border-radius: 6px;
}
.footer_bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid color-mix(in srgb, var(--main-color) 12%, transparent);
  font-size: 14px;
  color: var(--muted);
}
.footer_bottom p {
  margin: 0;
  line-height: 1.5;
}
.backlink {
  padding: 0 0 26px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.backlink p {
  margin: 0;
}
.footer_area .backlink a {
  text-decoration: underline;
}

/************************************************
*	BFW: inner pages							*
************************************************/

/* Text + photo (Media & Text block, class content_media) */
.page_content > .wp-block-media-text.content_media {
  max-width: 1320px;
  margin: 56px auto;
  padding: 0 24px;
  grid-template-columns: 1fr 42% !important;
  gap: 56px;
  align-items: center;
}
.page_content > .wp-block-media-text.content_media:not(.has-media-on-the-right) {
  grid-template-columns: 42% 1fr !important;
}
.content_media .wp-block-media-text__content {
  padding: 0 !important;
}
.content_media > * {
  min-width: 0;
}
.content_media .wp-block-media-text__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.content_media h2 {
  font-size: clamp(28px, 2.2vw, 38px);
}
/* Product shots: whole product on a light panel instead of a cropped photo */
.product_media .wp-block-media-text__media {
  background: radial-gradient(circle at 50% 40%, #fff 0%, color-mix(in srgb, var(--accent-color) 12%, #fff) 100%);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.product_media .wp-block-media-text__media img {
  box-shadow: none;
  border-radius: 0;
  max-height: 520px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 24px 30px rgba(11, 37, 69, 0.22));
}

/* Photo floated beside the text of a section */
/* (!important: the 1000px column rule of page.php has a stronger selector) */
.page_content .wp-block-image.float_img {
  float: right;
  max-width: 340px !important;
  margin: 6px 0 20px 36px !important;
  padding: 0 !important;
}
.page_content .wp-block-image.float_img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.page_content > h2,
.page_content > .wp-block-group,
.page_content > .wp-block-media-text {
  clear: both;
}
/* Plain text followed by a full-width section: room before the section */
.page_content > :not(.wp-block-group):not(.wp-block-media-text) + .wp-block-group {
  margin-top: 60px;
}
.page_content .narrow_img {
  max-width: 560px;
}
.page_content .faq_img img {
  width: 110px;
}

/* Card links to related pages */
/* Card rows: an incomplete last row is centered, no "widow" cards on the left (owner rule 19.09.2026) */
.link_grid,
.benefit_grid,
.product_grid,
.steps_grid {
  --cols: 3;
  --gap: 24px;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.link_grid > *,
.benefit_grid > *,
.product_grid > *,
.steps_grid > * {
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  min-width: 0;
}
.product_grid {
  --cols: 4;
}
.benefit_grid,
.steps_grid {
  --gap: 28px;
}
.link_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.link_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.link_card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  margin-bottom: 8px;
}
.link_card h3::before {
  font-size: 30px;
}
.link_card h3 a {
  color: var(--main-color);
  text-decoration: none;
}
.link_card h3 a:hover {
  color: var(--accent-color);
}
.link_card p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* Benefits, products and "how it works" cards */
.benefit_grid,
.product_grid,
.steps_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product_grid {
  grid-template-columns: repeat(4, 1fr);
}
.benefit_card,
.product_card,
.step_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  padding-bottom: 24px;
}
.benefit_card .wp-block-image,
.step_card .wp-block-image {
  margin: 0 0 20px;
}
.benefit_card .wp-block-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.benefit_card h3,
.benefit_card p,
.product_card h3,
.product_card p,
.step_card p {
  margin-left: 26px;
  margin-right: 26px;
}
.benefit_card h3,
.product_card h3 {
  font-size: 21px;
}
.benefit_card p,
.step_card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}
.product_card {
  display: flex;
  flex-direction: column;
}
.product_card .wp-block-image {
  margin: 0 0 22px;
  padding: 28px;
  background: radial-gradient(circle at 50% 40%, #fff 0%, color-mix(in srgb, var(--accent-color) 12%, #fff) 100%);
  text-align: center;
}
.product_card .wp-block-image img {
  height: 240px;
  width: auto;
  object-fit: contain;
}
.product_card h3 a {
  color: var(--main-color);
  text-decoration: none;
}
.product_card > p:not(.textlink) {
  flex: 1;
  color: var(--muted);
  font-size: 16px;
}
.product_card .textlink {
  margin-bottom: 0;
}
.steps_grid {
  max-width: 1320px;
  margin: 30px auto 70px;
  padding: 0 24px;
}
.step_card .wp-block-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Testimonials: quotes in columns */
.testimonials_grid {
  columns: 3 340px;
  column-gap: 28px;
}
.testimonials_grid .review_card {
  break-inside: avoid;
  margin-bottom: 28px;
}
.testimonials_grid .review_author strong {
  font-size: 16px;
}

/* FAQ: Details blocks as an accordion */
.page_content .wp-block-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 0;
  margin-bottom: 16px;
}
.wp-block-details summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 20px 60px 20px 24px;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--main-color);
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-size: 28px;
  font-weight: normal;
  color: var(--accent-color);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}
.wp-block-details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.wp-block-details > :not(summary) {
  margin-left: 24px;
  margin-right: 24px;
}
.wp-block-details > :last-child {
  margin-bottom: 22px;
}

/* Lists of documents and plain lists */
ul.doc_list {
  list-style: none;
  padding-left: 0;
}
/* in the page text column the list starts at the same left edge as the headings */
.page_content > ul.doc_list {
  padding-left: 20px !important;
}
ul.doc_list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
}
ul.doc_list li::before {
  content: "picture_as_pdf";
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 3px;
}
.plain_list li {
  margin-bottom: 6px;
}

/* Important note (gas safety) */
.page_content > p.notice {
  max-width: 1000px;
  padding: 20px 24px 20px 24px;
  border-left: 4px solid var(--accent-color);
  background: var(--ivory);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form_frame iframe {
  display: block;
  width: 100% !important;
  border: 0;
}

@media all and (min-width: 1600px) {
  .acol-50.text_column.even {
    padding-left: 15vw;
  }
  .acol-50.text_column.odd {
    padding-right: 15vw;
  }
}

@media only screen and (max-width: 1400px) {
  .header_contact .phone a {
    font-size: calc(var(--contact-line-font-size) * 0.87);
  }
  .logo_holder img {
    width: 250px;
  }
}

@media only screen and (max-width: 1200px) {
  .services_grid,
  .why_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navi li a {
    padding: 16px 8px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .navi .menu > li > a::after {
    left: 8px;
    right: 8px;
  }
  .header_contact .address {
    display: none;
  }
}

/* Below 1100px the 9-item menu no longer fits on one line: button "Menu" opens it under the header */
@media only screen and (max-width: 1100px) {
  .navi_holder {
    display: none;
  }
  .navi_holder.opened {
    display: block;
  }
  .navi_holder .navi .menu {
    display: block;
  }
  .navi li {
    width: 100%;
  }
  .navi li a,
  .navi li li a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--menu-color);
    white-space: normal;
  }
  .navi .menu > li > a::after,
  .navi li li.menu-item-has-children > a::after {
    display: none;
  }
  /* Sub-items are listed under their parent, indented */
  .navi li ul,
  .navi_holder .navi .menu > li:nth-last-child(-n + 2) > ul,
  .navi_holder .navi .menu > li:nth-last-child(-n + 2) ul ul {
    position: static;
    width: 100%;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .navi li li a {
    padding-left: 20px;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
  }
  .navi li li li a {
    padding-left: 40px;
  }
  .navi li li a:hover {
    background: var(--ivory);
    color: var(--accent-color);
  }
  .navi li li.current-menu-item > a {
    box-shadow: none;
    color: var(--accent-color);
  }
  .mobile_menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--heading-font);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }
}

@media only screen and (max-width: 1000px) {
  .wp-block-columns.brand_merge,
  .wp-block-columns.area_grid,
  .wp-block-columns.schedule_grid,
  .review_platforms {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reviews_grid {
    grid-template-columns: 1fr;
  }
  .link_grid,
  .benefit_grid,
  .product_grid,
  .steps_grid {
    --cols: 2;
  }
  .footer_grid {
    grid-template-columns: 1fr 1fr;
  }
  .chess .chess_img {
    min-height: 380px;
  }
  .chess .chess_text {
    padding: 72px 6%;
  }
  .page_content > .wp-block-media-text.content_media,
  .page_content > .wp-block-media-text.content_media:not(.has-media-on-the-right) {
    gap: 36px;
    grid-template-columns: 1fr 40% !important;
  }
  .page_content > .wp-block-media-text.content_media:not(.has-media-on-the-right) {
    grid-template-columns: 40% 1fr !important;
  }
}

@media only screen and (max-width: 767px) {
  #wpadminbar {
    display: none !important;
    z-index: -1 !important;
  }

  html {
    min-height: 100%;
    position: relative;
  }

  body {
    font-size: 17px;
  }

  .mhide,
  .ws_controls {
    display: none;
  }
  .mshow {
    display: block;
  }
  img.resp {
    width: 100% !important;
    height: auto !important;
  }
  img.alignleft,
  img.alignright {
    display: block;
    clear: both;
    text-align: center;
    float: none;
    margin: 10px auto;
  }
  .gallery-item {
    width: 100% !important;
  }

  .mright {
    text-align: center;
  }
  .mcenter {
    text-align: center;
  }
  .wp-embedded-content {
    width: 100% !important;
  }
  .backlink_area a {
    display: block;
  }
  .accordion {
    height: auto;
  }
  .accordion ul li,
  .accordion ul li:hover,
  .accordion ul:hover li,
  .accordion ul:hover li:hover {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    -webkit-transition: none;
    transition: none;
  }
  .tit {
    text-align: center;
    font-size: 22px;
  }
  .main_row {
    position: relative;
    z-index: 300;
    background-image: none;
    background-repeat: repeat-x;
  }
  .accordion ul li div.tit {
    font-size: 19px;
    height: auto;
    padding: 30px 10px;
  }
  .blue_text h1,
  .blue_text h2 {
    font-size: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
  }
  .blue_text h3,
  .blue_text h4,
  .blue_text h5,
  .blue_text h6 {
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
  }
  .wp-block-columns {
    padding: 30px;
  }
  .wp-block-media-text .wp-block-media-text__media {
    margin-bottom: 30px !important;
  }
  .wp-block-media-text > .wp-block-media-text__content {
    padding: 10px 30px !important;
  }
  .listing_grid,
  .listings_query .wp-block-post-template {
    grid-template-columns: 1fr;
  }
  .listing_archive {
    padding: 25px 20px 50px;
  }
  .listing_card_photo img,
  .listings_query .wp-block-post-featured-image img {
    height: 230px !important;
  }
  .page_title_area {
    padding: 35px 20px 25px;
  }
  .contact_info_item {
    gap: 12px;
  }
  .contact_info .contact_value {
    font-size: 14px;
  }

  .section {
    padding: 64px 0;
  }
  .header_top {
    padding: 12px 0;
    gap: 14px;
  }
  .header_right a.header_button,
  .header_contact .address {
    display: none;
  }
  .header_contact .phone a {
    font-size: 18px;
    white-space: nowrap;
  }
  .header_contact .phone .material-symbols-outlined {
    display: none;
  }
  .header_right {
    gap: 14px;
  }
  .logo_holder img {
    width: 150px;
  }
  .mobile_menu {
    padding: 8px 12px;
  }
  .tag_lines_area {
    min-height: 0;
    padding: 70px 0 80px;
  }
  .tag_lines_area h1 {
    font-size: 36px;
  }
  .hero_text > p:has(+ h1) {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
  .hero_chips {
    gap: 8px 16px;
    font-size: 14px;
  }
  .trust_items {
    justify-content: flex-start;
  }
  .trust_item {
    width: 100%;
  }
  .services_grid,
  .why_grid,
  .footer_grid {
    grid-template-columns: 1fr;
  }
  .link_grid,
  .benefit_grid,
  .product_grid,
  .steps_grid {
    --cols: 1;
  }
  .footer_grid {
    gap: 36px;
  }
  .footer_logo img {
    width: 220px;
  }
  .merge_visual {
    padding: 24px;
  }
  .merge_old {
    grid-template-columns: minmax(0, 1fr);
  }
  .merge_old .wp-block-image img {
    max-height: 56px;
  }
  .wp-block-columns.chess {
    grid-template-columns: 1fr;
  }
  .chess .chess_text {
    padding: 56px 24px;
  }
  .chess .chess_img {
    min-height: 260px;
  }
  .chess .chess_product {
    padding: 48px 24px;
  }
  .platform_card {
    flex-direction: column;
    align-items: flex-start;
  }
  .platform_score {
    text-align: left;
  }
  .schedule {
    padding: 64px 0;
  }
  .schedule_frame iframe {
    height: 700px;
  }
  .map_card iframe {
    height: 360px;
  }
  .stats_row {
    gap: 28px 40px;
  }
  .stat_num {
    font-size: 40px;
  }
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 23px;
  }
  .quote_line {
    font-size: 21px;
  }
  .lead,
  .lead p {
    font-size: 19px;
  }
  .call_number a {
    font-size: 26px;
  }
  .page_title_area {
    padding: 44px 20px 32px;
  }
  .form_card {
    padding: 26px 20px 22px;
  }
  .page_content > .wp-block-media-text.content_media,
  .page_content > .wp-block-media-text.content_media:not(.has-media-on-the-right) {
    grid-template-columns: 1fr !important;
    gap: 28px;
    margin: 36px auto;
  }
  .content_media.has-media-on-the-right .wp-block-media-text__media {
    grid-row: 1;
  }
  .content_media .wp-block-media-text__content {
    grid-row: 2;
  }
  .wp-block-media-text.content_media > .wp-block-media-text__content {
    padding: 0 !important;
  }
  .product_media .wp-block-media-text__media {
    padding: 24px;
  }
  .product_media .wp-block-media-text__media img {
    max-height: 340px;
  }
  .page_content .wp-block-image.float_img {
    float: none;
    max-width: 100%;
    margin: 10px 0 20px;
  }
  .wp-block-details summary {
    font-size: 18px;
    padding: 16px 52px 16px 18px;
  }
  .wp-block-details > :not(summary) {
    margin-left: 18px;
    margin-right: 18px;
  }
  .page_content > :first-child:not(.wp-block-group):not(.wp-block-media-text):not(.wp-block-columns):not(.map) {
    margin-top: 36px;
  }
}
