figure.wp-block-gallery.suryeohan-about-slider {
  position: relative;
  display: block !important;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  background: #eef7fc;
  aspect-ratio: 3 / 2;
}

figure.wp-block-gallery.suryeohan-about-slider > .wp-block-image,
figure.wp-block-gallery.suryeohan-about-slider > figure {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

figure.wp-block-gallery.suryeohan-about-slider > .is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

figure.wp-block-gallery.suryeohan-about-slider > figure > img,
figure.wp-block-gallery.suryeohan-about-slider > figure > a > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.suryeohan-slider-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #fff;
  background: rgba(6,42,63,.58);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.suryeohan-slider-button:hover,
.suryeohan-slider-button:focus-visible { background: #2198d6; }
.suryeohan-slider-prev { left: 12px; }
.suryeohan-slider-next { right: 12px; }

.suryeohan-slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.suryeohan-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.suryeohan-slider-dot.is-active { background: #2198d6; }

@media (max-width: 600px) {
  .suryeohan-slider-button { width: 36px; height: 36px; font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  figure.wp-block-gallery.suryeohan-about-slider > .wp-block-image,
  figure.wp-block-gallery.suryeohan-about-slider > figure { transition: none; }
}
