/* Gold hover glow + full-row click area for the right slide-out menu.
   Scoped to #menu.menu only. Does not change font, size, color, spacing,
   or chevrons. Does not change menu HTML or JS. */

/* Stretch the existing clickable target across the row without moving
   text or the floated chevron. position:relative with no offset is
   visually identical at rest. */
#menu.menu .menu-list li,
#menu.menu .menu-item {
  position: relative;
}

/* Expand an inline <a> hit area to the whole row. On .menu-item rows
   leave the right edge for the floated .arrow so it still toggles. */
#menu.menu .menu-list li > a::after,
#menu.menu .menu-item > a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#menu.menu .menu-item > a::after {
  right: 28px;
}

#menu.menu .menu-list li > a,
#menu.menu .menu-list a,
#menu.menu .menu-item,
#menu.menu .menu-list a > li,
#menu.menu .menu-list li:not(:has(a)):not(:has(.menu-item)):not(:has(ul)) {
  transition:
    box-shadow 0.35s ease,
    filter 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    text-shadow 0.35s ease;
}

/* Hover glow on the existing row box (already full menu width).
   No extra padding, width, or border-radius, so the row is not
   wider than its neighbors. */
#menu.menu .menu-item:hover,
#menu.menu .menu-item.is-hover,
#menu.menu .menu-list > a:hover,
#menu.menu .menu-list > a.is-hover,
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)):hover,
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)).is-hover,
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)):has(> a:hover),
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)):has(> a.is-hover) {
  color: #f8e4a0;
  background: linear-gradient(90deg, rgba(42, 26, 8, 0.65) 0%, rgba(138, 106, 40, 0.65) 100%);
  box-shadow:
    0 0 14px rgba(238, 183, 100, 0.55),
    0 0 32px rgba(200, 150, 40, 0.35),
    0 0 54px rgba(180, 120, 20, 0.18);
  text-shadow: 0 0 10px rgba(238, 183, 100, 0.65), 0 0 22px rgba(200, 150, 40, 0.35);
  filter: brightness(1.08);
}

#menu.menu .menu-item:hover > a,
#menu.menu .menu-item.is-hover > a,
#menu.menu .menu-list > a:hover > li,
#menu.menu .menu-list > a.is-hover > li,
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)):hover > a,
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)):has(> a.is-hover) > a,
#menu.menu .menu-list li:not(:has(.menu-item)):not(:has(ul)) > a.is-hover {
  color: #f8e4a0;
  text-shadow: 0 0 10px rgba(238, 183, 100, 0.65), 0 0 22px rgba(200, 150, 40, 0.35);
  background: transparent;
  box-shadow: none;
  filter: none;
}


/* Use the already-loaded gold serif on every device. The theme asks
   for Comfortaa, but that font is never loaded, so phones and computers
   each fell back to a different font. Cormorant Garamond is the serif
   already used on standard desktops. Size, color, spacing unchanged. */
#menu.menu,
#menu.menu .menu-list,
#menu.menu .menu-list li,
#menu.menu .menu-item,
#menu.menu .menu-item a,
#menu.menu .menu-list a,
#menu.menu .menu-list a > li {
  font-family: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
}
