.yibo_customizable_content {
  overflow: hidden;
  padding: var(--component-gap) 0;
  background: var(--color-primary);
}

.yibo_customizable_content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--component-gap-sm);
}


.yibo_customizable_content-title {
  margin: 0;
  color: #fffaf4;
  font-family: var(--title-font-family);
  font-size: var(--title-size);
  font-weight: 500;
  line-height: 1.18;
}

.yibo_customizable_content-desc {
  margin: var(--text-gap) 0 0;
  color: rgba(255, 250, 244, 0.82);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
}

.yibo_customizable_content-cta {
  flex: 0 0 auto;
  text-transform: uppercase;
}

.yibo_customizable_content-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.41fr) minmax(0, 1fr);
  gap: var(--component-gap-md);
  margin-top: var(--component-gap-md);
  padding-top: 0;
}

.yibo_customizable_content-main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 250, 244, 0.2);
}

.yibo_customizable_content-gallery {
  padding-top: var(--component-gap-md);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.82fr);
  gap: var(--text-gap-sm);
  align-content: start;
  position: relative;
}

.yibo_customizable_content-visual {
  overflow: hidden;
  border-radius: clamp(10px, 0.625vw, 12px);
  background: rgba(255, 250, 244, 0.12);
}

/* .yibo_customizable_content-visual--1,
.yibo_customizable_content-visual--2 {
  aspect-ratio: 1.29 / 0.92;
} */

.yibo_customizable_content-visual--3 {
  grid-column: 1 / -1;
  aspect-ratio: 2.17 / 0.91;
}

.yibo_customizable_content-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.35s ease;
}

.yibo_customizable_content-visual:hover img {
  transform: scale(1.03);
}

.yibo_customizable_content-accordion {
  position: relative;
  height: fit-content;
}

.yibo_customizable_content-accordion::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 250, 244, 0.2);
}

.yibo_customizable_content-step {
  position: relative;
  padding: var(--text-gap-lg) 0 var(--text-gap-lg) var(--component-gap-xs);
  border-bottom: 1px solid rgba(255, 250, 244, 0.60);
}


.yibo_customizable_content-step:first-child {
  padding-top: var(--component-gap-md);
}

.yibo_customizable_content-step:last-child {
  border-bottom: none;
}


.yibo_customizable_content-step-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(8px, 0.625vw, 12px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fffaf4;
  transform: translate(-50%, -50%);
}

.yibo_customizable_content-step-inner {
  position: relative;
}

.yibo_customizable_content-step-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--text-gap-sm);
  text-align: left;
  cursor: pointer;
}


.yibo_customizable_content-step-index,
.yibo_customizable_content-step-title {
  color: #fffaf4;
  font-family: var(--title-font-family);
  font-size: clamp(20px, 1.46vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  display: inline;
}


.yibo_customizable_content-step-toggle {
  position: relative;
  flex: 0 0 auto;
  width: clamp(24px, 1.56vw, 30px);
  height: clamp(24px, 1.56vw, 30px);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.18);
  border: 1px solid rgba(255, 250, 244, 0.14);
  transition: all 0.25s ease;
}

.yibo_customizable_content-step-toggle::before,
.yibo_customizable_content-step-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fffaf4;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

.yibo_customizable_content-step-toggle::before {
  width: 10px;
  height: 1.5px;
}

.yibo_customizable_content-step-toggle::after {
  width: 1.5px;
  height: 10px;
  opacity: 0;
}

.yibo_customizable_content-step.is-active .yibo_customizable_content-step-toggle {
  background: rgba(22, 20, 19, 0.92);
  border-color: rgba(22, 20, 19, 0.92);
}

.yibo_customizable_content-step.is-active .yibo_customizable_content-step-toggle::after {
  opacity: 1;
}

.yibo_customizable_content-step-panel {
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease;
}

.yibo_customizable_content-step-panel[hidden] {
  display: none;
}

.yibo_customizable_content-step-desc {
  margin: var(--component-gap-md) 0 0;
  color: rgba(255, 250, 244, 0.82);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
}

@media (max-width: 1199px) {
  .yibo_customizable_content-main {
    grid-template-columns: 1fr;
  }

  .yibo_customizable_content-step:first-child{
    padding-top: var(--text-gap-lg);
  }

  .yibo_customizable_content-head {
    display: flex;
    flex-direction: column;
  }

  .yibo_customizable_content-copy {
    max-width: 100%;
  }

  .yibo_customizable_content-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yibo_customizable_content-visual--3 {
    grid-column: 1 / -1;
  }

}

@media (max-width: 767px) {
  .yibo_customizable_content {
    padding: var(--component-gap-md) 0;
  }

  .yibo_customizable_content-head {
    gap: var(--text-gap);
  }

  .yibo_customizable_content-main {
    gap: var(--component-gap-sm);
    margin-top: var(--component-gap-xs);
    padding-top: var(--component-gap-xs);
  }

  .yibo_customizable_content-gallery {
    grid-template-columns: 1fr;
  }

  .yibo_customizable_content-visual--1,
  .yibo_customizable_content-visual--2,
  .yibo_customizable_content-visual--3 {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }

  .yibo_customizable_content-step {
    padding-bottom: var(--text-gap-md);
  }

  .yibo_customizable_content-step + .yibo_customizable_content-step {
    padding-top: var(--text-gap-md);
  }

  .yibo_customizable_content-step-index,
  .yibo_customizable_content-step-title {
    font-size: clamp(18px, 5.4vw, 22px);
  }

  .yibo_customizable_content-step-desc {
    max-width: 100%;
  }

  .yibo_customizable_content-cta {
    width: 100%;
    justify-content: center;
  }
}
