@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* ============================================================
   HERO — THEME 5 (Mint Meadow) — SLIDER
   File: ebhro12-5.css | HTML prefix: ebhro12
   Identity: botanical / organic leaf shapes / fresh serif
     background: mint photo overlay + dotted stems + drifting leaves
     slide UI:   bottom-left organic card, leaf corners
     dots:       top-center leaf-shaped dots
     transition: organic scale-rotate reveal + leaf stagger
     fonts:      Fraunces (latin) + Amiri (arabic serif)
      ============================================================ */

html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

.ebhro12-section {
  /* =========================================================
     GLOBAL / CORE
     ========================================================= */
  --ebhro12-font-family: 'El Messiri', sans-serif;
  --ebhro12-font-family-accent: 'El Messiri', sans-serif;

  --ebhro12-bg-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');

  --ebhro12-animation-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ebhro12-animation-infinite: infinite;
  --ebhro12-animation-alternate: alternate;
  --ebhro12-animation-alternate-reverse: alternate-reverse;
  --ebhro12-animation-linear: linear;

  --ebhro12-blur-glass: 14px;
  --ebhro12-blur-soft: 24px;
  --ebhro12-radius-pill: 999px;
  --ebhro12-radius-circle: 50%;
  --ebhro12-radius-card: 14px;
  --ebhro12-radius-chip: 0.9rem;
  --ebhro12-radius-leaf: 45% 55% 50% 50%;

  --ebhro12-transition-duration: 0.3s;

  /* =========================================================
     COLORS — SECTION
     ========================================================= */
  --ebhro12-section-background: linear-gradient(180deg, #e2f4ec 0%, #c8e9db 100%);
  --ebhro12-section-min-height: 480px;
  --ebhro12-section-padding-y: 5rem;
  --ebhro12-section-padding-top: 7.5rem;
  --ebhro12-section-padding-x: 1.5rem;
  --ebhro12-section-overflow: hidden;

  /* =========================================================
     COLORS — KICKER
     ========================================================= */
  --ebhro12-kicker-background: rgba(255, 255, 255, 0.75);
  --ebhro12-kicker-color: #2f7a5e;
  --ebhro12-kicker-border: 1px solid rgba(63, 174, 131, 0.4);
  --ebhro12-kicker-ico-color: #2f8a68;

  /* =========================================================
     COLORS — TITLE
     ========================================================= */
  --ebhro12-title-color: #24563f;
  --ebhro12-title-highlight-color: #2e8a68;
  --ebhro12-title-highlight-background: rgba(126, 208, 182, 0.5);

  /* =========================================================
     COLORS — LEAD
     ========================================================= */
  --ebhro12-lead-color: rgba(47, 122, 94, 0.88);

  /* =========================================================
     COLORS — BUTTONS
     ========================================================= */
  --ebhro12-btn-pri-background: linear-gradient(135deg, #3fae83, #2e8a68);
  --ebhro12-btn-pri-color: #ffffff;
  --ebhro12-btn-pri-shadow: 0 14px 28px -12px rgba(46, 138, 104, 0.6);
  --ebhro12-btn-pri-hover-background: linear-gradient(135deg, #5cb894, #2f8a68);
  --ebhro12-btn-sec-background: rgba(255, 255, 255, 0.8);
  --ebhro12-btn-sec-color: #2f7a5e;
  --ebhro12-btn-sec-border: 1px solid rgba(47, 138, 104, 0.45);
  --ebhro12-btn-sec-hover-background: #ffffff;

  /* =========================================================
     COLORS — TRUST
     ========================================================= */

  /* =========================================================
     COLORS — CARD
     ========================================================= */
  --ebhro12-slide-in-background: rgba(255, 255, 255, 0.88);
  --ebhro12-slide-in-border: 1px solid rgba(47, 138, 104, 0.32);
  --ebhro12-slide-in-shadow: 0 24px 50px -22px rgba(46, 138, 104, 0.45);

  /* =========================================================
     COLORS — DOTS
     ========================================================= */
  --ebhro12-dot-background: rgba(47, 122, 94, 0.4);
  --ebhro12-dot-background-active: #3fae83;

  /* =========================================================
     TYPOGRAPHY
     ========================================================= */
  --ebhro12-kicker-font-size: 0.8rem;
  --ebhro12-kicker-font-weight: 700;
  --ebhro12-kicker-letter-spacing: 0.12em;
  --ebhro12-title-font-size: 3.2rem;
  --ebhro12-title-font-weight: 600;
  --ebhro12-title-line-height: 1.28;
  --ebhro12-title-letter-spacing: -0.01em;
  --ebhro12-title-font-size-tablet: 2.6rem;
  --ebhro12-title-font-size-mobile: 2rem;
  --ebhro12-title-font-size-mini: 1.65rem;
  --ebhro12-lead-font-size: 1.05rem;
  --ebhro12-lead-font-weight: 500;
  --ebhro12-lead-line-height: 1.85;
  --ebhro12-lead-font-size-tablet: 0.98rem;
  --ebhro12-lead-font-size-mobile: 0.95rem;
  --ebhro12-btn-font-size: 0.92rem;
  --ebhro12-btn-font-weight: 700;
  --ebhro12-btn-font-size-mobile: 0.88rem;

  /* =========================================================
     SPACING
     ========================================================= */
  --ebhro12-slider-max-width: 1280px;
  --ebhro12-slider-height: 480px;
  --ebhro12-slider-height-mobile: 460px;
  --ebhro12-slide-in-max-width: 620px;
  --ebhro12-slide-in-padding: 2.8rem 3rem;
  --ebhro12-copy-gap: 1.4rem;
  --ebhro12-kicker-padding-y: 0.55rem;
  --ebhro12-kicker-padding-x: 1.2rem;
  --ebhro12-kicker-gap: 0.5rem;
  --ebhro12-actions-gap: 1rem;
  --ebhro12-actions-margin-top: 0.6rem;
  --ebhro12-btn-padding-y: 0.95rem;
  --ebhro12-btn-padding-x: 1.75rem;
  --ebhro12-btn-gap: 0.6rem;
  --ebhro12-btn-padding-y-mobile: 0.85rem;
  --ebhro12-btn-padding-x-mobile: 1.35rem;

  /* =========================================================
     SLIDE TRANSITIONS (organic scale + rise)
     ========================================================= */
  --ebhro12-t-enter: 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  --ebhro12-t-exit: 0.5s cubic-bezier(0.55, 0, 0.55, 0.2);
  --ebhro12-t-in-fwd: scale(0.86) translateY(2.6rem) rotate(-1.6deg);
  --ebhro12-t-out-fwd: scale(1.05) translateY(-2rem) rotate(1.4deg);
  --ebhro12-t-in-back: scale(0.86) translateY(2.6rem) rotate(1.6deg);
  --ebhro12-t-out-back: scale(1.05) translateY(-2rem) rotate(-1.4deg);

  /* =========================================================
     LAYOUT
     ========================================================= */
  --ebhro12-slide-align: flex-end;
  --ebhro12-slide-in-align: start;

  /* =========================================================
     BORDER / SHADOW
     ========================================================= */
  --ebhro12-kicker-border-radius: var(--ebhro12-radius-pill);
  --ebhro12-btn-pri-border-radius: var(--ebhro12-radius-chip);
  --ebhro12-btn-sec-border-radius: var(--ebhro12-radius-chip);
  --ebhro12-slide-in-border-radius: 22px;

  /* =========================================================
     RESPONSIVE — replacements
     ========================================================= */
  --ebhro12-section-padding-y-tablet: 4.2rem;
  --ebhro12-section-padding-y-mobile: 3.4rem;
  --ebhro12-section-padding-y-mini: 2.8rem;
  --ebhro12-actions-flex-wrap-mobile: wrap;

  /* =========================================================
     BASE RULES
     ========================================================= */
  position: relative;
  min-height: var(--ebhro12-section-min-height);
  padding: var(--ebhro12-section-padding-top) var(--ebhro12-section-padding-x) var(--ebhro12-section-padding-y);
  background: var(--ebhro12-section-background);
  font-family: "El Messiri", sans-serif;
  direction: rtl;
  overflow: var(--ebhro12-section-overflow);
  display: flex;
  align-items: center;
}

/* ============================ BACKGROUND ============================ */
.ebhro12-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ebhro12-bg-img {
  position: absolute;
  inset: 0;
  background-image: var(--ebhro12-bg-image);
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
}
.ebhro12-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(232, 248, 240, 0.92) 0%, rgba(207, 238, 223, 0.78) 55%, rgba(120, 205, 170, 0.45) 100%);
}
.ebhro12-bg-orb {
  position: absolute;
  border-radius: var(--ebhro12-radius-leaf);
  filter: blur(var(--ebhro12-blur-soft));
  z-index: 1;
}
.ebhro12-bg-orb-a {
  width: 460px;
  height: 460px;
  top: -140px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(120, 205, 170, 0.45), transparent 70%);
  animation-name: ebhro12-orb-drift-a;
  animation-duration: 9s;
  animation-timing-function: var(--ebhro12-animation-ease);
  animation-iteration-count: var(--ebhro12-animation-infinite);
  animation-direction: var(--ebhro12-animation-alternate);
}
.ebhro12-bg-orb-b {
  width: 400px;
  height: 400px;
  bottom: -130px;
  inset-inline-start: -110px;
  background: radial-gradient(circle, rgba(80, 170, 140, 0.35), transparent 70%);
  animation-name: ebhro12-orb-drift-b;
  animation-duration: 12s;
  animation-timing-function: var(--ebhro12-animation-ease);
  animation-iteration-count: var(--ebhro12-animation-infinite);
  animation-direction: var(--ebhro12-animation-alternate-reverse);
}
.ebhro12-bg-grid { display: none; }
/* dotted leaf-stem hairlines */
.ebhro12-bg-line {
  position: absolute;
  height: 2px;
  inset-inline: 0;
  background-position: center;
  z-index: 1;
}
.ebhro12-bg-line-a {
  top: 0;
  background-image: radial-gradient(circle, rgba(47, 138, 104, 0.55) 1.5px, transparent 1.5px);
  background-size: 18px 2px;
}
.ebhro12-bg-line-b {
  bottom: 0;
  background-image: radial-gradient(circle, rgba(63, 174, 131, 0.5) 1.5px, transparent 1.5px);
  background-size: 14px 2px;
}
/* drifting leaves */
.ebhro12-bg-particle {
  position: absolute;
  z-index: 1;
  border-radius: var(--ebhro12-radius-leaf);
  background: linear-gradient(135deg, #7ed0b2, #3fae83);
  opacity: 0.5;
  animation-name: ebhro12-leaf-drift;
  animation-timing-function: var(--ebhro12-animation-ease);
  animation-iteration-count: var(--ebhro12-animation-infinite);
  animation-direction: var(--ebhro12-animation-alternate);
}
.ebhro12-bg-particle-a { top: 18%; inset-inline-start: 8%; width: 16px; height: 13px; animation-duration: 7s; animation-delay: 0s; }
.ebhro12-bg-particle-b { top: 64%; inset-inline-start: 18%; width: 11px; height: 9px; animation-duration: 8s; animation-delay: 0.8s; }
.ebhro12-bg-particle-c { top: 12%; inset-inline-start: 82%; width: 17px; height: 14px; animation-duration: 7.5s; animation-delay: 1.6s; }
.ebhro12-bg-particle-d { top: 76%; inset-inline-start: 88%; width: 10px; height: 8px; animation-duration: 8.5s; animation-delay: 0.4s; }
.ebhro12-bg-particle-e { top: 34%; inset-inline-start: 60%; width: 13px; height: 11px; animation-duration: 7.2s; animation-delay: 1.2s; }
.ebhro12-bg-particle-f { top: 50%; inset-inline-start: 38%; width: 12px; height: 10px; animation-duration: 8.2s; animation-delay: 2s; }

/* ============================ SLIDER ============================ */
.ebhro12-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--ebhro12-slider-max-width);
  min-height: var(--ebhro12-slider-height);
  margin-inline: auto;
}
.ebhro12-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: var(--ebhro12-slide-align);
  justify-content: flex-end;
  opacity: 0;
  transform: var(--ebhro12-t-in-back);
  pointer-events: none;
  transition: opacity var(--ebhro12-t-enter), transform var(--ebhro12-t-enter);
}
.ebhro12-slide.ebhro12-leave {
  opacity: 0;
  transform: var(--ebhro12-t-out-back);
  pointer-events: none;
  transition: opacity var(--ebhro12-t-exit), transform var(--ebhro12-t-exit);
}
.ebhro12-dir-fwd .ebhro12-slide { transform: var(--ebhro12-t-in-fwd); }
.ebhro12-dir-fwd .ebhro12-slide.ebhro12-leave { transform: var(--ebhro12-t-out-fwd); }
.ebhro12-slide.ebhro12-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}

/* bottom-start organic card */
.ebhro12-slide-in {
  display: flex;
  flex-direction: column;
  gap: var(--ebhro12-copy-gap);
  width: 100%;
  max-width: var(--ebhro12-slide-in-max-width);
  padding: var(--ebhro12-slide-in-padding);
  background: var(--ebhro12-slide-in-background);
  border: var(--ebhro12-slide-in-border);
  border-radius: var(--ebhro12-slide-in-border-radius);
  box-shadow: var(--ebhro12-slide-in-shadow);
  backdrop-filter: blur(var(--ebhro12-blur-glass));
  -webkit-backdrop-filter: blur(var(--ebhro12-blur-glass));
}

/* ============================ COPY ============================ */
.ebhro12-copy { display: contents; }
.ebhro12-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--ebhro12-kicker-gap);
  width: fit-content;
  padding: var(--ebhro12-kicker-padding-y) var(--ebhro12-kicker-padding-x);
  background: var(--ebhro12-kicker-background);
  border: var(--ebhro12-kicker-border);
  border-radius: var(--ebhro12-kicker-border-radius);
  font-size: var(--ebhro12-kicker-font-size);
  font-weight: var(--ebhro12-kicker-font-weight);
  letter-spacing: var(--ebhro12-kicker-letter-spacing);
  color: var(--ebhro12-kicker-color);
}
.ebhro12-kicker-ico { color: var(--ebhro12-kicker-ico-color); }

.ebhro12-title {
  font-size: var(--ebhro12-title-font-size);
  font-weight: var(--ebhro12-title-font-weight);
  line-height: var(--ebhro12-title-line-height);
  letter-spacing: var(--ebhro12-title-letter-spacing);
  color: var(--ebhro12-title-color);
}
.ebhro12-hl {
  position: relative;
  font-family: "El Messiri", sans-serif;
  font-style: italic;
  font-weight: 700;
  color: var(--ebhro12-title-highlight-color);
  padding-inline: 0.15em;
}
/* translucent organic highlight marker */
.ebhro12-hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0.14em;
  bottom: 0.04em;
  inset-inline: 0;
  background: var(--ebhro12-title-highlight-background);
  border-radius: var(--ebhro12-radius-leaf);
  transform: rotate(-1.4deg);
}

.ebhro12-lead {
  max-width: 560px;
  font-size: var(--ebhro12-lead-font-size);
  font-weight: var(--ebhro12-lead-font-weight);
  line-height: var(--ebhro12-lead-line-height);
  color: var(--ebhro12-lead-color);
}

/* ============================ ACTIONS ============================ */
.ebhro12-actions {
  display: flex;
  align-items: center;
  gap: var(--ebhro12-actions-gap);
  margin-top: var(--ebhro12-actions-margin-top);
  flex-wrap: var(--ebhro12-actions-flex-wrap-mobile);
}
.ebhro12-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ebhro12-btn-gap);
  padding: var(--ebhro12-btn-padding-y) var(--ebhro12-btn-padding-x);
  font-family: "El Messiri", sans-serif;
  font-size: var(--ebhro12-btn-font-size);
  font-weight: var(--ebhro12-btn-font-weight);
  cursor: pointer;
  transition: transform var(--ebhro12-transition-duration) var(--ebhro12-animation-ease),
    background var(--ebhro12-transition-duration) var(--ebhro12-animation-ease),
    box-shadow var(--ebhro12-transition-duration) var(--ebhro12-animation-ease);
}
.ebhro12-btn-pri {
  background: var(--ebhro12-btn-pri-background);
  color: var(--ebhro12-btn-pri-color);
  border: none;
  border-radius: var(--ebhro12-btn-pri-border-radius);
  box-shadow: var(--ebhro12-btn-pri-shadow);
}
.ebhro12-btn-pri:hover {
  background: var(--ebhro12-btn-pri-hover-background);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -14px rgba(46, 138, 104, 0.7);
}
.ebhro12-btn-sec {
  background: var(--ebhro12-btn-sec-background);
  color: var(--ebhro12-btn-sec-color);
  border: var(--ebhro12-btn-sec-border);
  border-radius: var(--ebhro12-btn-sec-border-radius);
}
.ebhro12-btn-sec:hover {
  background: var(--ebhro12-btn-sec-hover-background);
  transform: translateY(-3px);
}

/* ============================ DOTS (top-center leaves) ============================ */
.ebhro12-dots {
  position: absolute;
  z-index: 3;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(63, 174, 131, 0.35);
  border-radius: var(--ebhro12-radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ebhro12-dot {
  width: 14px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: var(--ebhro12-radius-leaf);
  background: var(--ebhro12-dot-background);
  cursor: pointer;
  transform: rotate(0deg);
  transition: background 0.35s var(--ebhro12-animation-ease),
    transform 0.35s var(--ebhro12-animation-ease),
    box-shadow 0.35s var(--ebhro12-animation-ease);
}
.ebhro12-dot:hover { transform: rotate(25deg) scale(1.15); }
.ebhro12-dot.ebhro12-active {
  background: var(--ebhro12-dot-background-active);
  transform: rotate(25deg) scale(1.15);
  box-shadow: 0 4px 10px rgba(63, 174, 131, 0.5);
}

/* ============================ STAGGERED ENTER ============================ */
.ebhro12-slide.ebhro12-active .ebhro12-kicker,
.ebhro12-slide.ebhro12-active .ebhro12-title,
.ebhro12-slide.ebhro12-active .ebhro12-lead,
.ebhro12-slide.ebhro12-active .ebhro12-actions {
  opacity: 0;
  animation: ebhro12-leaf-in 0.7s var(--ebhro12-animation-ease) forwards;
}
.ebhro12-slide.ebhro12-active .ebhro12-kicker { animation-delay: 0.1s; }
.ebhro12-slide.ebhro12-active .ebhro12-title { animation-delay: 0.2s; }
.ebhro12-slide.ebhro12-active .ebhro12-lead { animation-delay: 0.32s; }
.ebhro12-slide.ebhro12-active .ebhro12-actions { animation-delay: 0.44s; }

/* ============================ KEYFRAMES ============================ */
@keyframes ebhro12-orb-drift-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -28px) scale(1.14); }
}
@keyframes ebhro12-orb-drift-b {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-36px, 26px) scale(1.1); }
}
@keyframes ebhro12-leaf-drift {
  0% { transform: translateY(0) rotate(-8deg); }
  100% { transform: translateY(-30px) rotate(20deg); }
}
@keyframes ebhro12-leaf-in {
  from { opacity: 0; transform: translateY(1.6rem) scale(0.9) rotate(-1.5deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Mini Screen */
@media (max-width: 320px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-mini);
    --ebhro12-slider-height: 460px;
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-mini);
    --ebhro12-lead-font-size: 0.88rem;
    --ebhro12-btn-padding-y: var(--ebhro12-btn-padding-y-mobile);
    --ebhro12-btn-padding-x: 1.1rem;
    --ebhro12-slide-in-padding: 1.8rem 1.5rem;
    --ebhro12-copy-gap: 1.1rem;
  }
}
/* Small Phone */
@media (min-width: 321px) and (max-width: 375px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-mobile);
    --ebhro12-slider-height: 460px;
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-mobile);
    --ebhro12-lead-font-size: var(--ebhro12-lead-font-size-mobile);
    --ebhro12-btn-font-size: var(--ebhro12-btn-font-size-mobile);
    --ebhro12-slide-in-padding: 2rem 1.7rem;
    --ebhro12-copy-gap: 1.1rem;
  }
}
/* Medium Phone */
@media (min-width: 376px) and (max-width: 425px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-mobile);
    --ebhro12-slider-height: 460px;
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-mobile);
    --ebhro12-lead-font-size: var(--ebhro12-lead-font-size-mobile);
    --ebhro12-btn-font-size: var(--ebhro12-btn-font-size-mobile);
    --ebhro12-slide-in-padding: 2.2rem 1.9rem;
    --ebhro12-copy-gap: 1.1rem;
  }
}
/* Large Phone */
@media (min-width: 426px) and (max-width: 480px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-mobile);
    --ebhro12-slider-height: 460px;
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-mobile);
    --ebhro12-lead-font-size: var(--ebhro12-lead-font-size-mobile);
    --ebhro12-btn-font-size: var(--ebhro12-btn-font-size-mobile);
    --ebhro12-copy-gap: 1.1rem;
  }
}
/* Small Tablet */
@media (min-width: 481px) and (max-width: 600px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-tablet);
    --ebhro12-slider-height: 460px;
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-mobile);
    --ebhro12-lead-font-size: var(--ebhro12-lead-font-size-mobile);
    --ebhro12-btn-font-size: var(--ebhro12-btn-font-size-mobile);
  }
}
/* Medium Tablet */
@media (min-width: 601px) and (max-width: 768px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-tablet);
    --ebhro12-slider-height: 470px;
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-tablet);
  }
}
/* Large Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .ebhro12-section {
    --ebhro12-section-padding-y: var(--ebhro12-section-padding-y-tablet);
    --ebhro12-title-font-size: var(--ebhro12-title-font-size-tablet);
    --ebhro12-lead-font-size: var(--ebhro12-lead-font-size-tablet);
  }
}
/* Small Desktop */
@media (min-width: 1025px) and (max-width: 1280px) {
  .ebhro12-section {
    --ebhro12-slider-max-width: 1140px;
  }
}
/* Medium Desktop */
@media (min-width: 1281px) and (max-width: 1440px) {
  /* base */
}
/* Large Desktop */
@media (min-width: 1441px) and (max-width: 1920px) {
  /* base */
}
/* Extra Large Screens */
@media (min-width: 1921px) {
  .ebhro12-section {
    --ebhro12-slider-max-width: 1560px;
    --ebhro12-title-font-size: 3.7rem;
  }
}

/* Mobile (≤768px): content centered + dots bottom-center (clears fixed header) */
@media (max-width: 768px) {
  .ebhro12-section {
    --ebhro12-section-padding-top: 7.5rem;
    --ebhro12-slide-align: center;
    --ebhro12-copy-gap: 1rem;
  }
  .ebhro12-dots {
    top: auto;
    bottom: -2.5rem;
    inset-inline-start: auto;
    inset-inline-end: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ebhro12-bg-orb,
  .ebhro12-bg-line,
  .ebhro12-bg-particle {
    animation: none !important;
  }
  .ebhro12-slide,
  .ebhro12-slide.ebhro12-leave {
    transition-duration: 0.01s;
  }
  .ebhro12-slide.ebhro12-active .ebhro12-kicker,
  .ebhro12-slide.ebhro12-active .ebhro12-title,
  .ebhro12-slide.ebhro12-active .ebhro12-lead,
  .ebhro12-slide.ebhro12-active .ebhro12-actions {
    animation: none;
    opacity: 1;
  }
}

/* ============================ SLIDES STAGE (in-flow, no absolute nav) ============================ */
.ebhro12-slider {
  display: flex;
  flex-direction: column;
}
.ebhro12-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: var(--ebhro12-slider-height);
}

/* ============================ NAV BAR (arrows + counter + dots) ============================ */
.ebhro12-nav {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  max-width: 100%;
  flex-wrap: wrap;
}
.ebhro12-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(63, 174, 131, 0.35);
  border-radius: var(--ebhro12-radius-circle);
  background: rgba(255, 255, 255, 0.7);
  color: #24563f;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s var(--ebhro12-animation-ease),
    color 0.3s var(--ebhro12-animation-ease),
    transform 0.3s var(--ebhro12-animation-ease),
    box-shadow 0.3s var(--ebhro12-animation-ease);
}
.ebhro12-arrow:hover {
  background: var(--ebhro12-dot-background-active);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(63, 174, 131, 0.6);
  transform: translateY(-2px);
}
.ebhro12-arrow-prev { order: 1; }
.ebhro12-arrow-next { order: 3; }
.ebhro12-count {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  font-family: "El Messiri", sans-serif;
  line-height: 1;
  white-space: nowrap;
  direction: ltr;
  pointer-events: none;
  order: 4;
  flex-basis: 100%;
  margin-top: 0.2rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.ebhro12-count-cur { font-size: 1.5rem; font-weight: 700; color: #2e8a68; }
.ebhro12-count-sep { font-size: 1rem; color: rgba(36, 86, 63, 0.45); }
.ebhro12-count-total { font-size: 1.05rem; color: rgba(36, 86, 63, 0.85); }

/* dots live inside the nav bar */
.ebhro12-dots {
  order: 2;
  position: static;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ============================ NAV (responsive) ============================ */
@media (max-width: 768px) {
  .ebhro12-nav {
    margin-top: 0.75rem;
    gap: 0.7rem;
  }
  .ebhro12-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .ebhro12-count-cur { font-size: 1.25rem; }
  .ebhro12-count-total { font-size: 0.95rem; }
}
@media (max-width: 400px) {
  .ebhro12-nav { gap: 0.5rem; }
  .ebhro12-dots { gap: 0.4rem; }
}
