/* Imported Essential Blocks image galleries: clean photographs with small
 * overlay indicators. Content sliders and ordinary grid galleries are untouched. */
body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider:has(.eb-slider-type-image) {
  margin-block: 32px;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider:has(.eb-slider-type-image) :is(.eb-parent-wrapper, .eb-slider-wrapper) {
  padding: 0 !important;
  box-shadow: none !important;
}

/* One grid row keeps arrows centered on the photograph. The controls overlay
 * the image without changing Slick's track widths, transforms or image order. */
body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image {
  display: grid;
  position: relative;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: auto;
  gap: 0;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  box-shadow: none !important;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image > .slick-list {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  margin: 0 !important;
  box-shadow: none !important;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-slide > div {
  padding: 0 !important;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .eb-slider-item {
  display: block !important;
  margin: 0 !important;
  box-shadow: none !important;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .eb-slider-image {
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image > .slick-arrow {
  position: relative;
  inset: auto !important;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  transform: none !important;
  z-index: 1;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image > .slick-prev {
  grid-column: 1;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image > .slick-next {
  grid-column: 3;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image > .slick-dots {
  position: absolute !important;
  inset: auto 0 0 !important;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 20px 8px 8px !important;
  box-sizing: border-box;
  list-style: none;
  line-height: 1 !important;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
  box-shadow: none !important;
  z-index: 2;
  pointer-events: none;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots > li {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  pointer-events: auto;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots button {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots button::before {
  content: "" !important;
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent !important;
  opacity: 1 !important;
  box-shadow: none !important;
  transition: border-color 160ms ease;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots :is(.slick-active > button, button:hover)::before {
  border-color: #a9c131;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image.uhb-gallery-progress-ready .slick-dots .slick-active > button::before {
  border-color: rgba(169, 193, 49, 0.4);
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image[data-uhb-gallery-progress-state="manual"] .slick-dots .slick-active > button::before {
  border-color: #a9c131;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots .slick-active > button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #a9c131;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .uhb-gallery-progress-ring {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-active .uhb-gallery-progress-ring {
  display: block;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .uhb-gallery-progress-ring__value {
  fill: none;
  stroke: #a9c131;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  transition: none;
}

body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots button:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: -4px !important;
}

@media (prefers-reduced-motion: reduce) {
  body.uhb2026 .uhb-single .uhb-article-content .wp-block-essential-blocks-slider .eb-slider-type-image .slick-dots button::before {
    transition: none;
  }
}
