.yoan-eba-outer {
  width: 100%;
  display: flex;
}

.yoan-eba {
  --yoan-eba-accent: #C9A15D;
  width: 100%;
}

.yoan-eba-card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.12);
  padding: 24px;
  border-radius: 32px;
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.yoan-eba-head {
  text-align: center;
  margin-bottom: 20px;
}

.yoan-eba-head h3 {
  margin: 0 0 8px;
  color: #f6f1e8;
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
}

.yoan-eba-head p {
  margin: 0 auto;
  max-width: 760px;
  color: #a9a9ad;
  line-height: 1.7;
}

.yoan-eba-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(201,161,93,.32);
  background: #090a0d;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.yoan-eba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: center center;
}

.yoan-eba-before {
  z-index: 1;
}

.yoan-eba-after-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.yoan-eba-after {
  z-index: 2;
}

.yoan-eba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 5;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--yoan-eba-accent), transparent);
  transform: translateX(-50%);
}

.yoan-eba-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--yoan-eba-accent);
  box-shadow: 0 15px 40px rgba(201,161,93,.38);
}

.yoan-eba-divider span::before {
  content: "↔";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 24px;
  font-weight: 900;
}

.yoan-eba-label {
  position: absolute;
  top: 22px;
  z-index: 6;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(9,10,13,.74);
  border: 1px solid rgba(255,255,255,.14);
  color: #f6f1e8;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.yoan-eba-label-before {
  left: 22px;
}

.yoan-eba-label-after {
  right: 22px;
  color: var(--yoan-eba-accent);
  border-color: rgba(201,161,93,.35);
}

@media (max-width: 768px) {
  .yoan-eba-slider {
    height: 360px;
  }

  .yoan-eba-divider span {
    width: 46px;
    height: 46px;
  }
}
