/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* Keep each review in its column while the text expands. */
.testimonial-12__grid.brxe-block[data-stable-columns] {
  display: grid;
  grid-template-columns: repeat(var(--review-columns), minmax(0, 1fr));
  align-items: start;
  gap: var(--space-s);
  column-count: auto;
  list-style: none;
  padding: 0;
}

.testimonial-12__column > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Place the dividers in the space between the shortcuts and their labels. */
nav[aria-label="Populaire dakdiensten"].brxe-block {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  column-gap: 0;
}

nav[aria-label="Populaire dakdiensten"] > .hero-bottom__div {
  position: relative;
  flex: 1 1 auto;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding-inline: clamp(0.65rem, 1vw, 1.4rem);
  text-align: center;
}

nav[aria-label="Populaire dakdiensten"] > .hero-bottom__div + .hero-bottom__div::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 1px;
  height: 1.5rem;
  transform: translateY(-50%);
  background-color: rgb(255 255 255 / 45%);
}

@media (min-width: 992px) and (max-width: 1320px) {
  nav[aria-label="Populaire dakdiensten"].brxe-block {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: var(--space-xs);
  }

  nav[aria-label="Populaire dakdiensten"] > .hero-bottom__div:nth-last-child(4)::before {
    display: none;
  }
}

@media (max-width: 767px) {
  #spoed .feature-53__btn-container {
    row-gap: var(--space-xs);
  }

  #spoed .emergency__description p + p {
    margin-block-start: 0.75em;
  }
}

@media (max-width: 767px) {
  #brxe-13ba6d .hero__cta-buttons {
    row-gap: 1.2rem;
  }

  #brxe-13ba6d .hero__right-column2 {
    align-self: center;
    width: min(100%, 34rem);
    margin-inline: auto;
    height: auto;
    min-height: 0;
  }

  #brxe-13ba6d .hero__right-column2--image {
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    inset: auto;
    transform: none;
  }
}

@media (max-width: 479px) {
  #brxe-13ba6d .hero__heading {
    letter-spacing: -0.02em;
  }

  #brxe-13ba6d .hero__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #brxe-13ba6d .hero__cta-buttons > a {
    justify-content: center;
    text-align: center;
  }
}

main .offerte-form-wrapper form.offerte-form .submit-button,
#soliciteren form button[type="submit"] {
  background: #F5B947;
  border-color: #F5B947;
  color: #232832;
}

main .offerte-form-wrapper form.offerte-form .submit-button:hover:not(:disabled),
#soliciteren form button[type="submit"]:hover:not(:disabled) {
  background: #E8A72C;
  border-color: #E8A72C;
  color: #232832;
}

.feature-53__badges {
  --badge-height: clamp(4.6rem, 5vw, 6.4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .8rem clamp(.8rem, 1.4vw, 2rem);
}

.feature-53__badges > .feature-53__img.brxe-image {
  position: relative;
  flex: 0 0 auto;
  width: calc(var(--badge-height) * var(--badge-width-ratio));
  height: var(--badge-height);
  border-radius: 0;
}

/* Crop the different amounts of transparent space around each original badge. */
.feature-53__badges > .feature-53__badge--certificate {
  --badge-width-ratio: calc(300 / 145);
}

.feature-53__badges > .feature-53__badge--reviews {
  --badge-width-ratio: calc(300 / 124);
}

.feature-53__badges > .feature-53__badge--erkende-dakdekkers.brxe-image {
  --badge-width-ratio: 2.45;
  display: flex;
  align-items: center;
}

.feature-53__badges img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
}

.feature-53__badge--certificate img {
  transform: translateY(-4%);
}

.feature-53__badge--reviews img {
  transform: translateY(-8.67%);
}

.feature-53__badges > .feature-53__badge--erkende-dakdekkers img {
  position: static;
  display: block;
  height: auto;
}

#brx-content .offerte-form .drop-zone-prompt p,
#brx-content .offerte-form .browse-text {
  font-size: 1.6rem;
}

#brx-content .offerte-form .upload-limits {
  color: var(--secondary);
  font-size: 1.4rem;
}

#brx-content {
  --prose-font-size: clamp(1.7rem, calc(1.49rem + 0.305vw), 1.9rem);
  --text-line-height: 1.65;
  font-size: var(--prose-font-size);
  line-height: var(--text-line-height);
}

:where(#brx-content) .brxe-text > p + p {
  margin-block-start: 0.8em;
}

.single-dienst .card-feature-31__description {
  font-size: clamp(1.8rem, calc(1.35rem + 0.5vw), 2rem);
}

.single-dienst .card-feature-31__container-info > .card-feature-31__heading {
  margin-block-end: 0.5em;
}

#brx-footer :is(a.brxe-text-link, .brxe-list .content a):is(:hover, :focus-visible) {
  color: #FFD17A;
  text-decoration: none;
}

#brx-footer :is(a.brxe-text-link, .brxe-list .content a):focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#brx-footer .brxe-list .content a:is(:hover, :focus-visible) .title {
  color: inherit;
}

#brx-header .megamenu-2__heading {
  color: var(--primary);
}

#brxe-mycwuy,
#brxe-mycwuy > img {
  width: 100%;
}
