/* ==========================================================
   ACTIVE PAGE INDICATOR — EMBR
   Automatically styled by js/site.js on the current page.
   EDIT: Adjust indicator color, size and spacing here.
   ========================================================== */

/* Desktop: quiet underline, matching the editorial navigation. */
.header-nav a.is-current-page:not(.nav-book) {
  position: relative;
  opacity: 1;
}

.header-nav a.is-current-page:not(.nav-book)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  opacity: .72;
}


/* Mobile menu: thin rust marker at the left of the active page. */
.site-nav a.is-current-page:not(.nav-book) {
  position: relative;
  color: var(--embr-accent, #87432f) !important;
  padding-left: 12px !important;
}
.site-nav a.is-current-page:not(.nav-book)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 16px;
  background: var(--embr-accent, #87432f);
  transform: translateY(-50%);
}

/* Avoid styling the booking CTA as an ordinary active page link. */
.header-nav a.nav-book.is-current-page::after,
.site-nav a.nav-book.is-current-page::before {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .header-nav a::after,
  .site-nav a::before {
    transition: opacity .22s ease, transform .22s ease;
  }
}
