.ipg-flow-sla__reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ipg-flow-sla__clip {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ipg-flow-sla__reveal:not(:has(.ipg-flow-sla__toggle:checked)) .ipg-flow-sla__clip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 96px;
  background: linear-gradient(180deg, rgba(33, 33, 33, 0) 0%, #212121 78%);
  pointer-events: none;
}

.ipg-flow-sla__reveal:has(.ipg-flow-sla__toggle:checked) .ipg-flow-sla__clip {
  overflow: visible;
}

.ipg-flow-sla__more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0;
  padding: 12px 22px;
  border: 1px solid #0cccd9;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
}

.ipg-flow-sla__more-btn:hover {
  background: #0cccd9;
  color: #000000;
}

.ipg-flow-sla__toggle:focus-visible + .ipg-flow-sla__more-label--closed,
.ipg-flow-sla__more-btn:has(.ipg-flow-sla__toggle:focus-visible) {
  outline: 2px solid #0cccd9;
  outline-offset: 3px;
}

.ipg-flow-sla__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ipg-flow-sla__more-label--open {
  display: none;
}

.ipg-flow-sla__reveal:has(.ipg-flow-sla__toggle:checked) .ipg-flow-sla__more-label--closed {
  display: none;
}

.ipg-flow-sla__reveal:has(.ipg-flow-sla__toggle:checked) .ipg-flow-sla__more-label--open {
  display: inline;
}
