select#jig1-filterOptions option[data-filter-slug="bildergalerie"] {
  display: none !important;
}

.content-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 0 0 0;
  overflow-x: clip;
}

#noheader .content-wrapper {
  padding-top: calc(var(--header-height) + 5vw);
}

#primary {
  margin-top: var(--header-height) !important;
  margin-bottom: 0 !important;
}

#primary:has(.wp-block-uagb-container.bg-red:first-child) {
  margin-top: 0 !important;
}

body:has(#special-hero).single.single-balcony-sliding-door #primary,
body:has(#special-hero).single.single-protection #primary,
body:has(#main .imp-door-overview-nav-wrapper) #primary {
  margin-top: 0 !important;
}

body:has(#special-hero) #primary {
  margin-top: calc(var(--gap-xl) * 0.945) !important;
}

/** 11.08.2026 - mehr abstand nach header für content seite mit dem ACF-Feld Kein Header auf true*/
header#header.noheader + div#primary {
  margin-top: calc(var(--header-height) + var(--gap-xl)) !important;
}

@media (max-width: 768px) {
  .wp-block-uagb-container.kein-gap {
    row-gap: 0 !important;
  }
}

.bg-red {
  background-color: var(--ast-global-color-0);
}

.ast-single-post.ast-page-builder-template .site-main > article {
  padding: 0 !important;
}

.ast-article-single figure,
.ast-article-single img:not(figure img) {
  box-shadow: none !important;
}

/**-------------------------- BUTTON ---------------------------*/
a.button {
  display: flex;
  width: fit-content;
  padding: 0.857em 1.571em;
  line-height: 1.28;
  gap: var(--gap-s);
  font-size: var(--btn-font-size);
  font-family: var(--mainfont);
  text-decoration: none !important;
  font-weight: 700;
  border: 1px solid var(--ast-global-color-0);
  color: #fff;
  align-items: center;
}

/**Button Red */
a.button.button-red {
  background-color: #fff;
  color: var(--ast-global-color-0);
  border: 1px solid white;
}

/**Button Red Hover*/
a.button.button-red:hover {
  background-color: var(--ast-global-color-0);
  color: #fff;
  border: 1px solid white !important;
}

/**Button Icon*/
a.button.button-icon::after {
  content: "";
  display: inline-block;
  /* pseudo-elements need a box */
  width: 1.429em;
  height: 1.429em;
  background-color: #fff;
  -webkit-mask: url("/wp-content/themes/astra-impuls-child/img/pfeil-links-button.svg")
    no-repeat center / contain;
  mask: url("/wp-content/themes/astra-impuls-child/img/pfeil-links-button.svg")
    no-repeat center / contain;
}

/**Button Icon Hover*/
a.button.button-icon:hover::after {
  background-color: var(--ast-global-color-0);
  background-image: url(/wp-content/themes/astra-impuls-child/img/pfeil-links-button-red.svg);
}

/**Button Red Icon */

a.button-red.button-icon::after {
  background-color: var(--ast-global-color-0);
}

/**Button Red Icon  Hover*/
/**Button Icon Download*/
a.button.buttin-katalog::after {
  -webkit-mask: url("/wp-content/themes/astra-impuls-child/img/icon-download.svg")
    no-repeat center / contain;
  mask: url("/wp-content/themes/astra-impuls-child/img/icon-download.svg")
    no-repeat center / contain;
}

a.button.button-icon:hover.imp-product-btn::after {
  background-image: url(../img/arrow-right-red.svg) !important;
  background-color: transparent !important;
  mask: unset !important;
  background-size: contain !important;
  transition: none !important;
}

@media (max-width: 768px) {
  a.button,
  .uagb-buttons-repeater {
    padding: 3px 15px !important;
  }
}

a.button.button-icon:hover.imp-product-btn:hover::after {
  background-image: url(../img/arrow-right-white.svg) !important;
}

.job-cta a:hover {
  -webkit-mask: unset;
  transition: unset !important;
}

.job-cta a:hover::after {
  background-image: url(../img/arrow-right-white.svg) !important;
  background-color: transparent;
  mask: unset;
  -webkit-mask: unset;
  background-size: contain;
}

.single.ast-page-builder-template .entry-header + .entry-content {
  margin-bottom: 0 !important;
}

.rank-math-html-sitemap__title {
  font-size: var(--h3-font-size) !important;
  margin-bottom: var(--gap-s) !important;
}

.rank-math-html-sitemap__section--page {
  margin-top: var(--gap-m);
}

#primary p + ul {
  margin-top: calc(var(--gap-s) * -1.5) !important;
}

.wp-block-list.mehrspaltig {
  column-count: 2;
}

/**-------------------------- MAPRESS ---------------------------*/

.mapp-layout {
  border: none !important;
}

/**------------------------------ FORMULAR --------------------------------*/

.forminator-title {
  font-size: 1.5rem !important;
  font-family: var(--headlinefont) !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
  margin-top: 0.7em !important;
}

#forminator-module-4024 * {
  font-family: var(--mainfont);
}

.forminator-field label {
  font-size: 0.9rem !important;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .forminator-ui .schauraum-bedarf > div {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .jig-filterOptions.jig-filterSingle {
    padding: 3px 45px 3px 15px;
    align-items: center;
  }

  .jig-filterOptions.jig-filterSingle::after {
    display: none;
  }

  .jig-filterControl::after {
    top: 45% !important;
  }
}

/* Fgrounding page */

dl {
  display: grid;
  grid-template-columns: minmax(140px, 25%) 1fr;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  overflow: hidden;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.dl-table dt:nth-of-type(odd),
.dl-table dt:nth-of-type(odd) + dd {
  background-color: rgba(0, 0, 0, 0.05);
}

dl dt,
dl dd {
  margin: 0;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  text-align: left;
}

/* erste Zeile ohne obere Linie */
dl dt:first-of-type,
dl dt:first-of-type + dd {
  border-top: 0;
}

dl dt {
  border-right: 1px solid #dee2e6;
  background-color: transparent;
}

/* Zebra-Streifen: jede zweite Zeile (dt+dd zusammen) */
dl dt:nth-of-type(odd),
dl dt:nth-of-type(odd) + dd {
  background-color: rgba(0, 0, 0, 0.05);
}

.page-id-2196 h2,
.page-id-2208 h2 {
  color: #7a1e22;
  font-weight: bold;
  margin-bottom: var(--gap-l) !important;
}

.page-id-2196 h3,
.page-id-2208 h3 {
  color: #36332e;
  font-size: calc(var(--h2-font-size) * 0.8);
  font-weight: 600;
}

.page-id-5518 h3 {
  font-size: calc(var(--h3-font-size) * 0.8);
  margin-bottom: calc(var(--gap-m) * -1) !important;
}

.page-id-5518 h2 {
  font-size: calc(var(--h2-font-size) * 0.8);
}

.page-id-5518 h1 {
  font-size: calc(var(--h2-font-size) * 1);
  font-family: var(--headlinefont);
  color: var(--ast-global-color-0) !important;
  font-weight: 400;
  font-style: normal;
  line-height: 1.11;
  text-transform: none;
}

@media (max-width: 768px) {
  dl dt {
    font-size: 0.8rem !important;
  }
}
