.the-challenge-block__editor-note {
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.editor-styles-wrapper .wp-block[data-type="acf/the-challenge-block"] {
  max-width: none !important;
}

.editor-styles-wrapper .wp-block[data-type="acf/the-challenge-block"] .the-challenge-block {
  width: 100%;
}

.editor-styles-wrapper .the-challenge-block {
  padding: 64px 32px;
}

.the-challenge-block {
  background: #080E3F;
  color: #fff;
  padding: 120px 0px;
  overflow: hidden;
  position: relative;
}

.the-challenge-block__inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.the-challenge-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.the-challenge-block__left {
  max-width: 540px;
}

.the-challenge-block__eyebrow {
  font-size: 15px;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
  color: #C8C4F5;
  padding-bottom: 20px;
  font-weight: 400;
}

.the-challenge-block__headline {
  margin: 0;
  color: #fff;
  font-size: 48px !important;
  line-height: 1.2em;
  font-weight: 700;
}

.the-challenge-block__accordion {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.the-challenge-block__item {
  position: relative;
}

.the-challenge-block__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 104px;
  background: linear-gradient(180deg, #ff5a67 0%, #5663ff 100%);
  transition: height 0.5s ease;
  z-index: 3;
  pointer-events: none;
}

.the-challenge-block__item.is-open::before {
  height: 100%;
}

.the-challenge-block__trigger {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.the-challenge-block__trigger-inner {
  position: relative;
  display: grid;
  grid-template-columns: 2px 52px minmax(0, 1fr) 44px;
  gap: 22px;
  align-items: center;
  padding: 0px 34px 0px 0px;
  transition: background 0.5s ease, opacity 0.5s ease;
}

.the-challenge-block__item:hover .the-challenge-block__trigger-inner,
.the-challenge-block__item.is-open .the-challenge-block__trigger-inner {
  background: rgba(122, 127, 199, 0.35);
}

.the-challenge-block__item.is-open .the-challenge-block__trigger-inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.the-challenge-block__line {
  width: 2px;
  min-height: 104px;
  opacity: 0;
  display: block;
}

.the-challenge-block__icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.the-challenge-block__icon {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}

.the-challenge-block__icon-placeholder {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: block;
}

.the-challenge-block__title {
  font-family: 'Graphie', sans-serif !important;
  font-size: 26px;
  line-height: 1.2em;
  font-weight: 600;
  max-width: 560px;
}

.the-challenge-block__toggle {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
  justify-self: end;
}

.the-challenge-block__toggle-h,
.the-challenge-block__toggle-v {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.95);
  transform: translate(-50%, -50%);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.the-challenge-block__toggle-v {
  transform: translate(-50%, -50%) rotate(90deg);
}

.the-challenge-block__item.is-open .the-challenge-block__toggle-v {
  opacity: 0;
}

.the-challenge-block__panel {
  background: rgba(122, 127, 199, 0.35);
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease,
    padding 0.5s ease;
}

.the-challenge-block__item.is-open .the-challenge-block__panel {
  padding: 30px;
  opacity: 1;
}

.the-challenge-block__panel-inner {
  max-width: 760px;
  color: rgba(255,255,255,0.92);
  font-size: 17px;
  line-height: 1.65;
}

.the-challenge-block__panel-inner p {
  font-size: 18px;
  margin: 0 0 22px;
}

.the-challenge-block__panel-inner p:last-child {
  margin-bottom: 0;
}

.the-challenge-block__panel-inner strong,
.the-challenge-block__panel-inner b {
  color: #fff;
  font-weight: 600;
}

.the-challenge-block__panel-inner u {
  text-underline-offset: 3px;
}

.editor-styles-wrapper .the-challenge-block {
  padding: 60px 32px;
}

@media (max-width: 1200px) {
  .the-challenge-block__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .the-challenge-block__left {
    max-width: 100%;
  }

  .the-challenge-block__headline {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .the-challenge-block {
    padding: 70px 0;
  }

  .the-challenge-block__inner {
    width: min(100% - 32px, 1320px);
  }

  .the-challenge-block__headline {
    font-size: 36px !important;
  }

  .the-challenge-block__accordion {
    gap: 20px;
  }

  .the-challenge-block__trigger-inner {
    grid-template-columns: 2px 40px minmax(0, 1fr) 34px;
    gap: 16px;
    padding: 0px 18px 0px 0px;
  }

  .the-challenge-block__panel-inner p {
    font-size: 15px;
    line-height: 1.6em;
    font-weight: 200;
    margin: 0 0 22px;
  }

  .the-challenge-block__icon-wrap {
    width: 40px;
    height: 40px;
  }

  .the-challenge-block__icon {
    max-width: 30px;
    max-height: 30px;
  }

  .the-challenge-block__title {
    font-size: 18px;
  }

  .the-challenge-block__panel {
    padding: 0 20px;
  }

  .the-challenge-block__item.is-open .the-challenge-block__panel {
    padding: 20px;
  }

  .the-challenge-block__panel-inner {
    font-size: 15px;
    line-height: 1.4em;
  }
}