:root{
  --e-global-color-primary:#f26037;
  --e-global-color-secondary:#f26037;
  --e-global-color-accent:#f26037;
  --wp--preset--color--luminous-vivid-orange:#f26037;
  /* Uniform vertical space before/between/after major page sections */
  --helpcon-section-y: clamp(2.75rem, 5vw, 4rem);
}

/* Base canvas white (kits/plugins previously used light gray swatches) */
html,
body{
  background-color: #ffffff;
}

/* Main page content (each Elementor “section” = one top-level .e-parent): equal gaps between bands */
.elementor[data-elementor-type="wp-post"]:not(.elementor-40):not(.elementor-39){
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--helpcon-section-y);
}

/* Metform / nested templates: do not flex the inner wp-post shell */
.mf-widget-container .elementor[data-elementor-type="wp-post"],
.metform-form-main-wrapper .elementor[data-elementor-type="wp-post"]{
  display: block;
  gap: unset;
}

/* Custom <section> blocks after the main Elementor post (e.g. Services link lists) */
.elementor[data-elementor-type="wp-post"]:not(.elementor-40):not(.elementor-39) + section.helpcon-service-links{
  margin-top: var(--helpcon-section-y);
}
section.helpcon-service-links{
  margin-bottom: var(--helpcon-section-y);
}

.elementor a,
.elementor a:hover,
.elementor a:focus{
  color: var(--e-global-color-primary);
}

/* Footer: Pages list always visible */
.helpcon-footer-pages{
  position: relative;
  overflow: visible;
}

.helpcon-footer-pages .elementor-widget,
.helpcon-footer-pages .elementor-widget-container,
.helpcon-footer-pages .elementor-element{
  overflow: visible;
}

.helpcon-footer-pages .elementor-icon-list-items{
  display: block;
  position: static;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 0;
  backdrop-filter: none;
}

.helpcon-footer-pages .elementor-heading-title{
  cursor: default;
}

.helpcon-footer-pages .elementor-icon-list-item{
  margin: 8px 0;
}

.helpcon-footer-pages .elementor-icon-list-text{
  text-decoration: none;
}

.helpcon-footer-pages .elementor-icon-list-text:hover{
  text-decoration: underline;
}

/* Footer: edge-to-edge backgrounds (escape ancestor max-width / centered layouts) */
.ekit-template-content-markup.ekit-template-content-footer{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.ekit-template-content-footer .elementor.elementor-39,
.elementor.elementor-39{
  width: 100%;
  max-width: none !important;
  --container-max-width: 1250px;
}
/* Full-bleed footer bands; content inset lives on .e-con-inner only */
.elementor-39 > .elementor-element.elementor-element-6cd32e1.e-con,
.elementor-39 > .elementor-element.elementor-element-243026a1.e-con{
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.elementor-39 > .elementor-element.e-con-boxed > .e-con-inner{
  width: 100%;
  max-width: min(100%, var(--container-max-width, 1250px));
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  box-sizing: border-box;
}
.elementor-39 .elementor-element.elementor-element-d58f84d.e-con{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}
.elementor-39 .elementor-element.elementor-element-d58f84d > .e-con.e-child{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.elementor-39 .elementor-element.elementor-element-a15ffff .elementor-icon-list-item{
  align-items: flex-start;
}
.elementor-39 .elementor-element.elementor-element-a15ffff .elementor-icon-list-text,
.elementor-39 .elementor-element.elementor-element-a15ffff .elementor-icon-list-text a{
  overflow-wrap: anywhere;
  word-break: break-word;
}
.elementor-39 .elementor-element.elementor-element-4da2f1ba.e-con{
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.elementor .elementor-button,
.elementor button,
.elementor input[type="submit"]{
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
}

.elementor .elementor-button:hover,
.elementor .elementor-button:focus,
.elementor .elementor-button:focus-visible,
.elementor button:hover,
.elementor button:focus,
.elementor button:focus-visible,
.elementor input[type="submit"]:hover,
.elementor input[type="submit"]:focus,
.elementor input[type="submit"]:focus-visible{
  background-color: #746db1 !important;
  border-color: #746db1 !important;
}

/* Icons: white glyphs, orange background by default/active */
.elementor .elementor-widget-icon .elementor-icon,
.elementor .elementor-widget-icon-box.elementor-view-stacked .elementor-icon,
.elementor .elementor-widget-icon-box.elementor-view-framed .elementor-icon,
.elementor .ekit_social_media > li > a{
  background-color:#f26037 !important;
  border-color:#f26037 !important;
  color:#ffffff !important;
}
.elementor .elementor-widget-icon .elementor-icon svg,
.elementor .elementor-widget-icon-box.elementor-view-stacked .elementor-icon svg,
.elementor .elementor-widget-icon-box.elementor-view-framed .elementor-icon svg,
.elementor .ekit_social_media > li > a svg{
  fill:#ffffff !important;
  color:#ffffff !important;
}

/* Icon hover backgrounds (Elementor + Elementskit) */
.elementor .elementor-widget-icon .elementor-icon:hover,
.elementor .elementor-widget-icon .elementor-icon:focus,
.elementor .elementor-widget-icon .elementor-icon:focus-visible{
  background-color:#746db1 !important;
  border-color:#746db1 !important;
}

/* Stacked icon-box / framed icon-box hovers */
.elementor .elementor-widget-icon-box.elementor-view-stacked:hover .elementor-icon,
.elementor .elementor-widget-icon-box.elementor-view-framed:hover .elementor-icon,
.elementor .elementor-widget-icon-box.elementor-view-stacked:focus-within .elementor-icon,
.elementor .elementor-widget-icon-box.elementor-view-framed:focus-within .elementor-icon{
  background-color:#746db1 !important;
  border-color:#746db1 !important;
}

/* Social icon list hover backgrounds */
.elementor .ekit_social_media > li > a:hover,
.elementor .ekit_social_media > li > a:focus,
.elementor .ekit_social_media > li > a:focus-visible{
  background-color:#746db1 !important;
  border-color:#746db1 !important;
}

/* Elementskit icon-list (if present): make the icon bubble go purple on hover */
.elementor .elementor-widget-icon-list a:hover .elementor-icon-list-icon,
.elementor .elementor-widget-icon-list a:focus .elementor-icon-list-icon,
.elementor .elementor-widget-icon-list a:focus-visible .elementor-icon-list-icon{
  background-color:#746db1 !important;
  border-color:#746db1 !important;
}

/* Home hero background (restore original look offline) */
.elementor-745 .elementor-element.elementor-element-3e30c7dc{
  background-image:url("./bulden/wp-content/uploads/2026/02/New-Project-2026-02-17T143713.673.jpg") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}

/* Contact page: icon-list block above map */
.helpcon-contact-above-map{
  margin-block: calc(var(--helpcon-section-y) * 0.45);
}
.helpcon-contact-above-map .elementor-icon-list-items{
  padding-left: 0;
}
.helpcon-contact-above-map .elementor-icon-list-item{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.helpcon-contact-above-map .elementor-icon-list-icon{
  display: inline-flex;
}
.helpcon-contact-above-map .elementor-icon-list-icon svg{
  width: 18px;
  height: 18px;
}
.helpcon-contact-above-map .elementor-icon-list-text a{
  color: inherit;
  text-decoration: none;
}
.helpcon-contact-above-map .elementor-icon-list-text a:hover{
  text-decoration: underline;
}

.helpcon-legal-wrap{
  max-width: 980px;
  margin: 0 auto;
}
.helpcon-legal-inner{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 28px 28px;
}
.helpcon-legal-inner h1{
  margin-top: 0;
}
.helpcon-legal-inner h2{
  margin-top: 1.375rem;
}
.helpcon-legal-inner p,
.helpcon-legal-inner li{
  font-size: 16px;
  line-height: 1.7;
}
.helpcon-legal-inner a{
  color: var(--e-global-color-primary);
}

/* Elementskit menu: prevent bullet-style list rendering (especially 3-level menus) */
.elementor .elementskit-navbar-nav,
.elementor .elementskit-navbar-nav ul,
.elementor .elementskit-dropdown,
.elementor .elementskit-submenu-panel{
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

/* Improve nested submenu spacing on mobile/offcanvas */
.elementor .elementskit-submenu-panel .elementskit-submenu-panel{
  padding-left: 12px !important;
}

/* Spam honeypot (leave hidden) */
.helpcon-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Plain newsletter form in footer */
.helpcon-newsletter-form{
  display:flex;
  flex-direction:column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}
.helpcon-newsletter-row{
  display:flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}
.helpcon-newsletter-input{
  flex: 1 1 220px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 0;
  height: auto;
  max-height: 52px;
  line-height: 1.35;
}
.helpcon-newsletter-button{
  white-space: nowrap;
  flex: 0 0 auto;
}
.helpcon-newsletter-optin{
  display:flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  opacity: 0.95;
}
.helpcon-newsletter-optin input[type="checkbox"]{
  width: 16px;
  height: 16px;
}

/* Footer newsletter: stack nicely in narrow column */
.elementor .helpcon-newsletter-plain .helpcon-newsletter-row{
  flex-direction: column;
  align-items: stretch;
}
.elementor .helpcon-newsletter-plain .helpcon-newsletter-button{
  width: 100%;
  justify-content: center;
}

/* FAQ page (Elementor post 731): was 50% + 50% for two side-by-side accordions; second column removed — keep accordion row full width */
@media (min-width: 768px) {
  .elementor-731 .elementor-element.elementor-element-cbe99f0 {
    --width: 100%;
  }
}

/* FAQ accordions: two columns on tablet+ (single column on small phones) */
.helpcon-faq-2col{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1.25rem;
  align-items: start;
}
@media (min-width: 768px){
  .helpcon-faq-2col{
    grid-template-columns: 1fr 1fr;
  }
}
.helpcon-faq-2col .elementskit-card{
  min-width: 0;
}

/* Grayscale photos on hover (all pages) */
body img {
  transition: filter 0.35s ease;
}
body img:hover,
body a:hover img,
body .elementor-widget-image:hover img,
body .elementor-widget-wp-widget-media_image:hover img,
body picture:hover img {
  filter: grayscale(1);
}

@media (prefers-reduced-motion: reduce) {
  body img {
    transition: none;
  }
}

/* Blog index: masonry preview (3 cols — tall centre, image + notch + arrow) */
.helpcon-blog-listing--masonry{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 20px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  padding: 0;
}
.helpcon-blog-card--masonry{
  margin: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.helpcon-blog-card__image-link{
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  outline-offset: 4px;
}
.helpcon-blog-card__image-link:focus-visible{
  outline: 2px solid var(--e-global-color-primary);
}
.helpcon-blog-card__image-wrap{
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #1f1f1f;
  overflow: hidden;
  isolation: isolate;
}
/* Centre + scale so cover always fills the tile (avoids grey strips / uneven crop) */
.helpcon-blog-card__img{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none !important;
  transition: transform 0.35s ease;
}
.helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(3) .helpcon-blog-card__img,
.helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(8) .helpcon-blog-card__img{
  object-position: center 40%;
}
.helpcon-blog-card__image-link:hover .helpcon-blog-card__img,
.helpcon-blog-card__image-link:focus-visible .helpcon-blog-card__img{
  transform: translate(-50%, -50%) scale(1.06);
  filter: none !important;
}
/* Title strip: 50% transparent black over image */
.helpcon-blog-card__title-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 0.65rem 0.85rem;
  padding-right: clamp(3.5rem, 14vw, 5.5rem);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: clamp(0.8125rem, 1.05vw, 0.98rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  pointer-events: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
/* White top-right “notch” above title bar */
.helpcon-blog-card__notch{
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(4.5rem, 12vw, 5.75rem);
  height: clamp(4.5rem, 12vw, 5.75rem);
  background: #ffffff;
  border-bottom-left-radius: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.helpcon-blog-card__arrow-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: var(--e-global-color-primary);
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(242, 96, 55, 0.45);
  pointer-events: none;
}
.helpcon-blog-card__image-link:hover .helpcon-blog-card__arrow-btn,
.helpcon-blog-card__image-link:focus-visible .helpcon-blog-card__arrow-btn{
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(242, 96, 55, 0.55);
}
@media (max-width: 899px){
  .helpcon-blog-listing--masonry .helpcon-blog-card--masonry{
    width: 100%;
  }
  .helpcon-blog-card__image-link{
    aspect-ratio: 16 / 10;
    min-height: 0;
    flex: none;
    height: auto;
  }
  .helpcon-blog-card__image-wrap{
    position: absolute;
    inset: 0;
    flex: none;
    height: 100%;
    min-height: 100%;
  }
}
@media (min-width: 900px){
  .helpcon-blog-listing--masonry{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    /* Lock overall proportions: centre column (span 2) matches two stacked side tiles */
    aspect-ratio: 12 / 6.75;
    width: 100%;
    align-items: stretch;
    align-content: stretch;
  }
  /* Band 1: cols left | tall centre | right */
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(1){
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(2){
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(3){
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(4){
    grid-column: 3;
    grid-row: 1;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(5){
    grid-column: 3;
    grid-row: 2;
    min-height: 0;
  }
  /* Band 2 */
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(6){
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(7){
    grid-column: 1;
    grid-row: 4;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(8){
    grid-column: 2;
    grid-row: 3 / span 2;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(9){
    grid-column: 3;
    grid-row: 3;
    min-height: 0;
  }
  .helpcon-blog-listing--masonry .helpcon-blog-card:nth-child(10){
    grid-column: 3;
    grid-row: 4;
    min-height: 0;
  }
  .helpcon-blog-card--masonry{
    height: 100%;
  }
  .helpcon-blog-card--masonry .helpcon-blog-card__image-link{
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }
  .helpcon-blog-card--masonry .helpcon-blog-card__image-wrap{
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }
}
@media (prefers-reduced-motion: reduce){
  .helpcon-blog-card__img,
  .helpcon-blog-card__arrow-btn{
    transition: none;
  }
  .helpcon-blog-card__image-link:hover .helpcon-blog-card__img,
  .helpcon-blog-card__image-link:focus-visible .helpcon-blog-card__img{
    transform: translate(-50%, -50%);
  }
  .helpcon-blog-card__image-link:hover .helpcon-blog-card__arrow-btn,
  .helpcon-blog-card__image-link:focus-visible .helpcon-blog-card__arrow-btn{
    transform: none;
  }
}

/* Long-form blog articles (helpcon-legal-inner) */
.helpcon-blog-article .helpcon-blog-figure{
  margin: 0 0 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}
.helpcon-blog-article .helpcon-blog-figure img{
  width: 100%;
  height: auto;
  display: block;
  filter: none !important;
}
.helpcon-blog-meta{
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 1.5rem;
}
.helpcon-blog-back{
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
