{% scope_css %}

/* =========================================
   ENTRY / BOX
   ========================================= */

.toggles .toggles__entry {
  border: 2px solid #fff;
  border-radius: 10px;
  align-items: center;
  display: flex;
  padding: 20px 24px;
  margin-bottom: 10px;
}


/* =========================================
   HEADER
   ========================================= */

.toggles .toggles__header {
  font: "degular-display";
  display: flex;
  font-weight: 500;
  font-size: 40px !important;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: inherit;
  letter-spacing: inherit;
  flex: 1;
}


/* =========================================
   HEADER TITLE
   ========================================= */

.toggles .toggles__header h3 {
  margin: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 40px !important;
}


/* =========================================
   ENTRIES WITH EXTRA TEXT
   ========================================= */

/* Only entries containing extra text
   use the new 3-column layout */

.toggles .toggles__header.has-extra-text {
  display: grid;
  grid-template-columns: 43% minmax(0, 1fr) auto;
  column-gap: 40px;
  align-items: center;
}


/* Extra text */

.toggles .toggles__header h3.toggles__extra-text {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 25px !important;
  line-height: 25px !important;
}


/* =========================================
   HEADER SPAN
   ========================================= */

.toggles .toggles__header span {
  margin-bottom: 0;
}


/* =========================================
   ACCORDION
   (LEFT AS-IS, EVEN IF UNUSED)
   ========================================= */

.toggles .toggles__description {
  height: 0;
  transition: height .4s ease-out;
  overflow: hidden;
}

.toggles .toggles__inner {
}


/* Target all immediate children of the inner wrapper
   that are NOT the new toggles__row */

.toggles .toggles__inner > *:not(.toggles__row) {
  padding-right: 80px;
}


/* Specific targeting for the HubSpot rich text wrapper classes */

.toggles .toggles__inner .hs-richtext,
.toggles .toggles__inner p {
  padding-right: 80px;
}


/* =========================================
   TOGGLE ICON
   (LEFT AS-IS, EVEN IF UNUSED)
   ========================================= */

.toggles .toggles__icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-left: 32px;
  transition: transform .2s ease-out;
}

.toggles .toggles__icon:before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .2s ease-out;
}

.toggles .toggles__icon:after {
  content: '';
  display: block;
  height: 100%;
  width: 2px;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.toggles .toggles__entry--active .toggles__icon {
  transform: rotate(90deg);
}

.toggles .toggles__entry--active .toggles__icon:before {
  opacity: 0;
}


/* =========================================
   COLOR VARIANT
   ========================================= */

.toggles.toggles-color-light .toggles__entry {
  border: 2px solid rgba(255,255,255,0.9);
}

.toggles.toggles-color-light * {
  color: #fff;
}

.toggles.toggles-color-light .toggles__icon:after,
.toggles.toggles-color-light .toggles__icon:before {
  background-color: #fff;
}


/* =========================================
   ROW LAYOUT
   ========================================= */

.toggles .toggles__row {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  margin-top: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.toggles .toggles__column {
  flex-basis: 100%;
  width: 100%;
}

.toggles .toggles__richtext-wrapper > * {
  margin-bottom: 15px;
  padding-right: 25px;
}

.toggles .toggles__richtext-wrapper > *:last-child {
  margin-bottom: 0;
}

.toggles .toggles__richtext-wrapper {
  display: flex;
  width: 100%;
}


/* =========================================
   DESKTOP 70 / 30 SPLIT
   ========================================= */

@media (min-width: 999px) {

  .toggles .toggles__column--70 {
    flex-basis: 70%;
    width: 70%;
  }

  .toggles .toggles__column--30 {
    flex-basis: 30%;
    width: 30%;
    align-self: flex-end;
    text-align: right;
  }

}


/* =========================================
   BUTTON
   ========================================= */

.toggles .toggles__button-link {
  display: inline-block;
  padding: 5px 30px;
  background-color: transparent;
  border: 1px solid #fff;
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.toggles .toggles__button-link p {
  font-size: 22px;
  margin: 0;
  padding: 0;
  color: inherit;
}

.toggles .toggles__button-link:hover {
  background-color: #fff;
  color: black;
}

.toggles .toggles__button-link:hover p {
  color: inherit;
}


/* =========================================
   TABLET / MOBILE
   ========================================= */
@media (max-width: 999px) {

  .toggles .toggles__header,
  .toggles .toggles__header.has-extra-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Title */

  .toggles .toggles__header > h3:not(.toggles__extra-text) {
    width: 100%;
    font-size: 30px !important;
    padding-top: 15px;
    padding-bottom: 5px;
  }

  /* Extra text */

  .toggles .toggles__header h3.toggles__extra-text {
    width: 100%;
    font-size: 20px !important;
    line-height: 20px !important;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Button */

  .toggles .toggles__header .toggles__button-link {
    flex: 0 0 auto !important;
    width: auto !important;
    text-align: center;
    padding: 0px 10px;
  }

}
{% end_scope_css %}