/* Approved architectural application layout; confined to this category. */
#gerhman-displacement-category {
  --grh-dd-red: #bf1c36;
  --grh-dd-radius: 28px;
  width: 100%;
  min-width: 0;
  margin: 0 0 56px;
  font-family: inherit;
  color: inherit;
}

#gerhman-displacement-category *,
#gerhman-dd-products * {
  box-sizing: border-box;
}

#gerhman-displacement-category h1,
#gerhman-displacement-category h2,
#gerhman-displacement-category p,
#gerhman-displacement-category figure {
  margin: 0;
}

#gerhman-displacement-category .grh-dd-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(530px, 46vw, 640px);
  overflow: hidden;
  border-radius: var(--grh-dd-radius);
  background: #202020;
  color: #fff;
}

#gerhman-displacement-category .grh-dd-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right 56%;
}

#gerhman-displacement-category .grh-dd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 15, 15, .94) 0%, rgba(15, 15, 15, .78) 35%, rgba(15, 15, 15, .46) 53%, rgba(15, 15, 15, .03) 78%);
}

#gerhman-displacement-category .grh-dd-hero-copy {
  width: 56%;
  max-width: 660px;
  padding: clamp(32px, 4.4vw, 56px);
}

#gerhman-displacement-category .grh-dd-kicker {
  display: block;
  margin: 0 0 16px;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#gerhman-displacement-category .grh-dd-hero .grh-dd-kicker {
  color: #ffadba;
}

#gerhman-displacement-category .grh-dd-hero h1 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.045em;
  overflow-wrap: normal;
}

#gerhman-displacement-category p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: normal;
  color: inherit;
}

#gerhman-displacement-category .grh-dd-hero p {
  max-width: 34ch;
  color: #ededed;
}

#gerhman-displacement-category .grh-dd-hero .grh-dd-lead {
  margin: 24px 0 14px;
  color: #fff;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.4;
}

#gerhman-displacement-category .grh-dd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

#gerhman-displacement-category .grh-dd-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  max-width: 100%;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--grh-dd-red);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
}

#gerhman-displacement-category .grh-dd-button:hover {
  background: #a81830;
  color: #fff;
  text-decoration: none;
}

#gerhman-displacement-category .grh-dd-button:focus-visible {
  outline: 3px solid #e6536b;
  outline-offset: 4px;
}

#gerhman-displacement-category .grh-dd-application-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  max-width: calc(100% - 40px);
  padding: 7px 11px;
  border-radius: 6px;
  background: rgba(20, 20, 20, .84);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

#gerhman-displacement-category .grh-dd-principle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  scroll-margin-top: 160px;
}

#gerhman-displacement-category .grh-dd-diagram {
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(128, 128, 128, .25);
  border-radius: 22px;
  background: #fff;
}

#gerhman-displacement-category .grh-dd-diagram img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#gerhman-displacement-category .grh-dd-figure figcaption {
  margin-top: 10px;
  color: var(--muted, inherit);
  font-size: 12px;
  line-height: 1.6;
}

#gerhman-displacement-category .grh-dd-principle .grh-dd-kicker {
  color: var(--accent, inherit);
}

#gerhman-displacement-category .grh-dd-principle h2 {
  padding: 0;
  color: inherit;
  font-size: clamp(28px, 3.1vw, 33.6px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

#gerhman-displacement-category .grh-dd-principle p {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--muted, inherit);
}

/* Keep the native product filter form, with a quieter category heading. */
#gerhman-dd-products {
  position: relative;
  isolation: auto;
  width: 100%;
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  overflow: visible;
  box-shadow: none;
  color: inherit;
  scroll-margin-top: 160px;
}

#gerhman-dd-products::before,
#gerhman-dd-products::after {
  display: none;
  content: none;
}

#gerhman-dd-products .grh-dd-range-heading {
  margin: 0 0 24px;
  padding: 0;
  color: inherit;
  font-size: clamp(28px, 3.1vw, 33.6px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

#gerhman-dd-products .grh-catalog-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.15fr) minmax(0, 1.15fr) auto auto;
  align-items: end;
  gap: 16px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(128, 128, 128, .3);
  border-radius: 20px;
  background: rgba(128, 128, 128, .035);
  box-shadow: none;
}

#gerhman-dd-products .grh-catalog-filters label {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: 16px;
  line-height: 1.5;
}

#gerhman-dd-products .grh-catalog-filters label > span {
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

#gerhman-dd-products .grh-catalog-filters input[type="search"],
#gerhman-dd-products .grh-catalog-filters select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

#gerhman-dd-products .grh-catalog-filters .grh-button {
  min-height: 48px;
  margin: 0;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

#gerhman-dd-products .grh-filter-clear {
  align-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  #gerhman-dd-products .grh-catalog-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #gerhman-dd-products .grh-catalog-filters .grh-button,
  #gerhman-dd-products .grh-filter-clear {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  #gerhman-displacement-category {
    --grh-dd-radius: 24px;
    margin-bottom: 42px;
  }

  #gerhman-displacement-category .grh-dd-hero {
    min-height: 690px;
    align-items: end;
  }

  #gerhman-displacement-category .grh-dd-hero-image {
    object-position: right center;
  }

  #gerhman-displacement-category .grh-dd-hero::after {
    background: linear-gradient(0deg, #181818 0%, rgba(24, 24, 24, .94) 30%, rgba(24, 24, 24, .7) 49%, rgba(24, 24, 24, .05) 80%);
  }

  #gerhman-displacement-category .grh-dd-hero-copy {
    width: 100%;
    max-width: 570px;
    padding: 28px 28px 74px;
  }

  #gerhman-displacement-category .grh-dd-hero h1 {
    font-size: clamp(40px, 7.5vw, 52px);
  }

  #gerhman-displacement-category .grh-dd-hero .grh-dd-lead {
    margin-top: 20px;
    font-size: 23px;
  }

  #gerhman-displacement-category .grh-dd-application-caption {
    right: auto;
    left: 28px;
    bottom: 20px;
    max-width: calc(100% - 56px);
  }

  #gerhman-displacement-category .grh-dd-principle {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 34px;
  }

  #gerhman-displacement-category .grh-dd-principle,
  #gerhman-dd-products {
    scroll-margin-top: 130px;
  }

  #gerhman-dd-products .grh-catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px;
  }

  #gerhman-dd-products .grh-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  #gerhman-displacement-category .grh-dd-hero-copy {
    padding-right: 22px;
    padding-left: 22px;
  }

  #gerhman-displacement-category .grh-dd-kicker {
    font-size: 11px;
    letter-spacing: .1em;
  }

  #gerhman-displacement-category .grh-dd-hero h1 {
    font-size: 40px;
  }

  #gerhman-displacement-category .grh-dd-application-caption {
    left: 22px;
    max-width: calc(100% - 44px);
  }

  #gerhman-displacement-category .grh-dd-button {
    gap: 12px;
    padding-right: 18px;
    padding-left: 18px;
  }

  #gerhman-dd-products .grh-catalog-filters {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  #gerhman-dd-products .grh-catalog-filters .grh-button {
    justify-self: stretch;
    white-space: normal;
  }

  #gerhman-dd-products .grh-filter-clear {
    justify-self: center;
  }
}

@media (max-width: 359px) {
  #gerhman-displacement-category .grh-dd-hero h1 {
    font-size: 34px;
  }
}
