/* =====================================================
   Masluland Child Theme — main.css  v5
   RTL · Hebrew · Off-road trail platform
   ===================================================== */

/* ---- Design Tokens ---- */
:root {
  --sand:   #DDB88B;
  --sand2:  #c9a070;
  --dark:   #1a1a1a;
  --dark2:  #222;
  --dark3:  #2c2c2c;
  --dark4:  #383838;
  --muted:  #666;
  --light:  #aaa;
  --white:  #f4f1eb;
  --ml-gold-dark: #8a5a1f; /* single "dark gold" for text on light surfaces (WCAG AA on white) */
  --max:    1100px;
  --nav-h:  58px;
  --radius: 12px;
}

/* =====================================================
   1. GLOBAL RESET & HELLO ELEMENTOR OVERRIDES
   ===================================================== */

/* Kill ALL white backgrounds Hello Elementor injects */
html, body,
.site, .site-content, .content-area,
.site-main, .page-content,
.entry-content, .entry-header, .entry-footer,
.post-inner, .page, article.page,
.hentry, .wp-block-group {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  box-shadow: none !important;
}

html, body {
  background: var(--dark) !important;
  color: var(--white) !important;
}

/* Hello Elementor header/footer — hidden, we use our own */
.hello-elementor-header,
.hello-elementor-footer,
.hello-elementor-page-header,
.hello-elementor-page-footer,
.site-header, .site-footer {
  display: none !important;
}

body.page { padding-top: 0 !important; }

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  scroll-behavior: smooth;
  /* Kill any horizontal "sideways drag" at the ROOT. overflow-x:clip propagates to
     the viewport, so it also clips position:fixed widgets (cookie/chat/accessibility
     bars) that body{overflow-x:hidden} can't catch — their containing block is the
     viewport, not body. `clip` (not `hidden`) keeps position:sticky working.
     Purely defensive: nothing in the layout legitimately exceeds 100%, so this
     changes no visible layout — it only prevents stray horizontal scroll. */
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  background: var(--dark);
  color: var(--white);
  direction: rtl;
  overflow-x: hidden; /* fallback for browsers without overflow:clip (Safari < 16) */
  max-width: 100%;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* Rubik is forced globally by rubik-override.css (loaded last — single source).
   The duplicate force-block that used to live here was removed (Wave 5 cleanup). */

/* Kill all browser button styles */
button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
button:focus,
button:focus-visible { outline: none !important; box-shadow: none !important; }

/* ── Kill the stray pink/crimson highlight on interactive controls, site-wide ──
   Android/Chrome paint a system crimson -webkit-tap-highlight-color flash on tap,
   and Hello Elementor / UA add a pink :active wash on bare <button>/.button. This
   was previously neutralized only inside ml-popup.css and ml-pwa.css (two isolated
   components), so every other button/link still flashed it. One global rule clears
   it everywhere at once. Transparent tap-highlight ONLY — focus outlines for
   keyboard users stay with the components, and no component's own background is
   touched, so the intentional reds (difficulty "extreme", the liability box) and
   the gold/orange CTAs are all left intact. Applies in BOTH themes. */
html,
a, button, input, select, textarea, label,
.ml-btn, .ml-action-btn, .ml-chip, .ml-report-btn, [role="button"] {
  -webkit-tap-highlight-color: transparent !important;
}
a:focus { outline: none; }

/* =====================================================
   2. NAVBAR
   ===================================================== */
.ml-nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: var(--nav-h);
  background: rgba(26,26,26,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  z-index: 9999;
  border-bottom: 1px solid rgba(221,184,139,.09);
}
/* Push nav below WP admin bar when logged in */
body.admin-bar .ml-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .ml-nav { top: 46px; }
}

/* Logo — far right (RTL) */
.ml-nav__logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 20px; /* gap between logo and links in RTL */
}
.ml-nav__logo b { color: var(--sand); }

/* Nav links — centered */
.ml-nav__links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.ml-nav__links li a {
  padding: 6px 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
  border-radius: 7px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.ml-nav__links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
}

/* Right side actions — always a horizontal row, never wraps */
.ml-nav__actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

/* Search */
.ml-nav__search { position: relative; }

.ml-nav__search-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.ml-nav__search-icon:hover {
  color: var(--sand);
  background: rgba(255,255,255,.06);
}
.ml-nav__search-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.ml-nav__search-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 340px;
  background: var(--dark3);
  border: 1px solid var(--dark4);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
.ml-nav__search-box.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.ml-nav__search-box input {
  width: 100%;
  padding: 11px 15px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  direction: rtl;
}
.ml-nav__search-box input::placeholder { color: var(--muted); }

.ml-search-results {
  border-top: 1px solid var(--dark4);
  max-height: 420px;
  overflow-y: auto;
}
.ml-search-result-item {
  display: block;
  padding: 9px 15px;
  font-size: 13px;
  color: var(--light);
  cursor: pointer;
  transition: background .15s;
}
.ml-search-result-item:hover { background: var(--dark4); color: var(--white); }
.ml-search-result-item strong { color: var(--sand); }
.ml-search-no-results { padding: 11px 15px; color: var(--muted); font-size: 13px; }

/* CTA */
.ml-nav__cta {
  display: inline-flex;
  align-items: center;
  background: var(--sand);
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.ml-nav__cta:hover { background: var(--sand2); color: var(--dark); }

/* Account / login circular avatar — always visible (mobile + desktop), left of search */
.ml-nav__account {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(221,184,139,.35);
  color: var(--white);
  padding: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.ml-nav__account:hover {
  background: rgba(221,184,139,.18);
  border-color: var(--sand);
  color: var(--sand);
}
.ml-nav__account--photo { background: transparent; }
.ml-nav__account-svg { width: 21px; height: 21px; display: block; }
.ml-nav__account-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hamburger */
.ml-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  padding: 4px;
}
.ml-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.ml-nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ml-nav__hamburger.open span:nth-child(2) { opacity: 0; }
.ml-nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   3. HERO
   ===================================================== */
.ml-hero {
  position: relative;
  height: 90vh;
  height: clamp(640px, 90svh, 940px);
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
@media (max-width: 1023px) and (min-width: 768px) {
  .ml-hero {
    height: 82vh;
    height: clamp(540px, 82svh, 760px);
    min-height: 540px;
  }
}

/* YouTube iframe — full cover */
.ml-hero__video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ml-hero__video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: none;
}

/* Overlay */
.ml-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}

/* Content */
.ml-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  padding: 0 24px;
}

.ml-hero__badge {
  display: inline-block;
  background: rgba(221,184,139,.12);
  border: 1px solid rgba(221,184,139,.35);
  color: var(--sand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.ml-hero__title {
  font-size: 72px;
  font-weight: 800;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 20px;
}
.ml-hero__title i {
  font-style: italic;
  color: var(--sand);
  display: block;
}

.ml-hero__desc {
  font-size: 16px;
  color: rgba(244,241,235,.72);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}

.ml-hero__cta {
  display: inline-block;
  background: var(--sand);
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 36px;
  border-radius: 10px;
  transition: background .2s, transform .15s;
}
.ml-hero__cta:hover { background: var(--sand2); color: var(--dark); transform: translateY(-2px); }

/* YouTube corner link */
.ml-hero__yt-link {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  transition: color .2s;
}
.ml-hero__yt-link:hover { color: var(--white); }
.ml-hero__yt-link svg { flex-shrink: 0; }

/* =====================================================
   4. FILTER BAR
   ===================================================== */
.ml-filter-bar {
  background: var(--dark3);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: sticky;
  top: var(--nav-h);
  z-index: 200;
  padding: 10px 0;
}

.ml-filter-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Right group: selects + search button */
.ml-filter-bar__filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ml-filter-bar select {
  -webkit-appearance: none;
  appearance: none;
  background: var(--dark2);
  border: 1px solid var(--dark4);
  color: var(--white);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  padding: 8px 34px 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 130px;
  direction: rtl;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  transition: border-color .2s;
}
.ml-filter-bar select:focus {
  border-color: var(--sand);
  outline: none;
}

/* Search icon button — 34×34 */
.ml-filter-bar__btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  color: var(--dark);
  border-radius: 8px;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.ml-filter-bar__btn:hover { background: var(--sand2); }
.ml-filter-bar__btn svg {
  width: 15px;
  height: 15px;
  display: block;
  pointer-events: none;
  stroke: var(--dark);
}
/* Apply-filter button (magnifying glass) — nuclear override for all themes/browsers */
.ml-apply-btn,
#ml-apply-filters,
button.ml-apply-btn,
button#ml-apply-filters {
  background: #DDB88B !important;
  color: #1a1a1a !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}
.ml-apply-btn:hover,
#ml-apply-filters:hover {
  background: var(--sand2) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.ml-apply-btn:focus,
.ml-apply-btn:focus-visible,
.ml-apply-btn:focus-within,
.ml-apply-btn:active,
#ml-apply-filters:focus,
#ml-apply-filters:focus-visible,
#ml-apply-filters:focus-within,
#ml-apply-filters:active,
button.ml-apply-btn:focus,
button.ml-apply-btn:focus-visible,
button.ml-apply-btn:active,
button#ml-apply-filters:focus,
button#ml-apply-filters:focus-visible,
button#ml-apply-filters:active {
  background: #DDB88B !important;
  border: none !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
.ml-apply-btn svg,
#ml-apply-filters svg {
  display: block !important;
  pointer-events: none !important;
  stroke: #1a1a1a !important;
  fill: none !important;
}
/* Override any Hello Elementor / WP global focus ring that leaks through */
#arc-apply-btn:focus,
#arc-apply-btn:focus-visible,
#arc-apply-btn:active,
#maalot-apply-btn:focus,
#maalot-apply-btn:focus-visible,
#maalot-apply-btn:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  border-color: transparent !important;
}

/* Nearby button — left side (RTL) */
.ml-filter-bar__nearby {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--sand);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid rgba(221,184,139,.4);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.ml-filter-bar__nearby:hover {
  background: rgba(221,184,139,.07);
  border-color: var(--sand);
}
.ml-filter-bar__nearby svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  fill: var(--sand);
  flex-shrink: 0;
  display: block;
}

/* =====================================================
   5. SHARED SECTION STYLES
   ===================================================== */
.ml-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px;
}

.ml-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 12px;
  flex-wrap: wrap;
}

.ml-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.ml-section-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.ml-section-link {
  color: var(--sand);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s;
  align-self: center;
}
.ml-section-link:hover { color: var(--sand2); }

/* 3-col grid */
.ml-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* =====================================================
   6. TRAIL CARDS
   ===================================================== */
.ml-trail-card {
  background: var(--dark3);
  border: 1px solid var(--dark4);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.ml-trail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}
.ml-trail-card__img {
  height: 190px;
  object-fit: cover;
  width: 100%;
  flex-shrink: 0;
}
.ml-trail-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ml-trail-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.ml-trail-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.ml-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
/* Canonical difficulty badge — opaque, colored by level, white text (site-wide).
   Colors come from the single source of truth (masluland-core inc/difficulty.php),
   injected as --ml-diff-* custom properties on :root. */
.ml-badge--easy    { background: var(--ml-diff-easy, #4CAF50);    border: 1px solid var(--ml-diff-easy, #4CAF50);    color: #fff; }
.ml-badge--medium  { background: var(--ml-diff-medium, #FFB300);  border: 1px solid var(--ml-diff-medium, #FFB300);  color: #fff; }
.ml-badge--hard    { background: var(--ml-diff-hard, #F4511E);    border: 1px solid var(--ml-diff-hard, #F4511E);    color: #fff; }
.ml-badge--extreme { background: var(--ml-diff-extreme, #C62828); border: 1px solid var(--ml-diff-extreme, #C62828); color: #fff; }

.badge-difficulty-easy    { background: var(--ml-diff-easy, #4CAF50);    border: 1px solid var(--ml-diff-easy, #4CAF50);    color: #fff; }
.badge-difficulty-medium  { background: var(--ml-diff-medium, #FFB300);  border: 1px solid var(--ml-diff-medium, #FFB300);  color: #fff; }
.badge-difficulty-hard    { background: var(--ml-diff-hard, #F4511E);    border: 1px solid var(--ml-diff-hard, #F4511E);    color: #fff; }
.badge-difficulty-extreme { background: var(--ml-diff-extreme, #C62828); border: 1px solid var(--ml-diff-extreme, #C62828); color: #fff; }

.ml-trail-card__desc {
  font-size: 13px;
  color: var(--light);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}
.ml-trail-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--dark4);
  padding-top: 10px;
}
.ml-trail-card__meta span { display: flex; align-items: center; gap: 3px; }

/* =====================================================
   7. SUPPLIERS
   ===================================================== */
.ml-suppliers-wrap { background: var(--dark2); }

.ml-supplier-card {
  background: var(--dark3);
  border: 1px solid var(--dark4);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s, box-shadow .25s;
}
.ml-supplier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}
.ml-supplier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ml-supplier-badge {
  font-size: 10px;
  color: var(--sand);
  border: 1px solid rgba(221,184,139,.35);
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
}
.ml-supplier-card__icon { font-size: 30px; line-height: 1; }
.ml-supplier-card__name { font-size: 16px; font-weight: 700; color: var(--white); }
.ml-supplier-card__type { font-size: 13px; color: var(--light); }
.ml-supplier-card__region { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* =====================================================
   8. GUIDE / FAQ
   ===================================================== */
.ml-guide-wrap {
  background: var(--dark2);
  border-top: 1px solid var(--dark4);
  border-bottom: 1px solid var(--dark4);
}
.ml-guide {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* Grid items default to min-width:auto, so non-shrinkable content (e.g. a long FAQ line)
   could expand the column past the viewport. min-width:0 keeps the columns within bounds. */
.ml-guide__text, .ml-guide__image { min-width: 0; }
.ml-guide__text h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
  line-height: 1.3;
}
.ml-guide__text > p {
  font-size: 14px;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* FAQ */
.ml-faq { display: flex; flex-direction: column; gap: 7px; }
.ml-faq__item {
  background: var(--dark3);
  border: 1px solid var(--dark4);
  border-radius: 10px;
  overflow: hidden;
}
.ml-faq__btn {
  width: 100%;
  text-align: right;
  padding: 16px 18px;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0; /* spacing handled by .ml-faq__icon margin — independent of flex-gap (old iOS Safari) */
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
/* REAL fix — the question TITLE was staying on one line and sliding under the "+".
   Two things force a single line: (1) a flex child won't shrink below its content unless
   min-width:0; (2) white-space:nowrap inherited from the <button> (Hello Elementor /
   Elementor / UA button styles) keeps the text on one line regardless of width. The
   answer body wraps because it is not inside the button and never inherits that nowrap.
   We force BOTH, with !important + extra specificity, because the parent theme and the
   LiteSpeed-combined CSS can silently override plain class rules in this project. */
.ml-faq .ml-faq__item .ml-faq__btn,
.ml-faq__item .ml-faq__btn,
.ml-faq__btn { white-space: normal !important; }
.ml-faq .ml-faq__item .ml-faq__btn > span:not(.ml-faq__icon),
.ml-faq__item .ml-faq__btn > span:not(.ml-faq__icon),
.ml-faq__btn > span:not(.ml-faq__icon) {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
/* All interactive states — same dark/transparent background, no pink from parent theme */
.ml-faq__btn:hover,
.ml-faq__btn:focus,
.ml-faq__btn:active,
.ml-faq__btn:focus-visible,
.ml-faq__btn[aria-expanded="true"],
.ml-faq__item.open .ml-faq__btn,
.ml-faq__item:focus-within .ml-faq__btn {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: var(--white) !important;
}
.ml-faq__icon {
  flex-shrink: 0;
  margin-inline-start: 12px; /* guaranteed gap between text and icon (RTL: on the icon's right, toward the text) */
  margin-top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(221,184,139,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #DDB88B;
  transition: transform .3s, background .3s;
}
.ml-faq__item.open .ml-faq__icon { transform: rotate(45deg); background: rgba(221,184,139,.15); }
.ml-faq__answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.ml-faq__item.open .ml-faq__answer { max-height: 800px; }
.ml-faq__answer p {
  padding: 16px 20px;
  font-size: 15px;
  color: #d4cdc1;
  line-height: 1.7;
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.ml-guide__image {
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.ml-guide__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* =====================================================
   9. ARTICLES
   ===================================================== */
.ml-articles-wrap { background: var(--dark); }

.ml-article-card {
  background: var(--dark3);
  border: 1px solid var(--dark4);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.ml-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
}
.ml-article-card__img {
  height: 165px;
  object-fit: cover;
  width: 100%;
}
.ml-article-card__body { padding: 15px; }
.ml-article-card__cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.ml-article-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

/* =====================================================
   10. FOOTER
   ===================================================== */
.ml-footer {
  background: var(--dark2);
  border-top: 1px solid var(--dark4);
}
.ml-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 0;
}
.ml-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.ml-footer__logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  display: inline-block;
  margin-bottom: 8px;
}
.ml-footer__logo b { color: var(--sand); }
.ml-footer__tagline { font-size: 12px; color: var(--muted); line-height: 1.6; }

.ml-footer__col h4 {
  font-size: 10px;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.ml-footer__col ul { display: flex; flex-direction: column; gap: 6px; }
.ml-footer__col ul li a {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s;
}
.ml-footer__col ul li a:hover { color: var(--sand); }

/* Social */
.ml-footer__social {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--dark4);
}
.ml-social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--dark4);
  background: var(--dark3);
  color: var(--light);
  transition: color .2s, border-color .2s, background .2s;
  flex-shrink: 0;
}
.ml-social-icon svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.ml-social-icon:hover {
  color: var(--sand);
  border-color: rgba(221,184,139,.4);
  background: rgba(221,184,139,.08);
}

.ml-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px;
}

/* =====================================================
   11. RESPONSIVE — TABLET  (max 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  /* Nav */
  .ml-nav__links li a { font-size: 13px; padding: 5px 9px; }
  .ml-nav__logo { font-size: 17px; letter-spacing: 4px; }

  /* Hero */
  .ml-hero__title { font-size: 52px; }

  /* Cards */
  .ml-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Guide */
  .ml-guide { grid-template-columns: 1fr; gap: 32px; }
  .ml-guide__image { position: static; }
  .ml-guide__image img { height: 260px; }

  /* Footer */
  .ml-footer__grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Filter bar */
  .ml-filter-bar select { width: 115px; font-size: 12px; }
  .ml-filter-bar__nearby { font-size: 12px; padding: 6px 10px; }
}

/* =====================================================
   12. RESPONSIVE — MOBILE  (max 768px)
   ===================================================== */
@media (max-width: 768px) {

  /* --- NAV --- */
  .ml-nav { padding: 0 14px; gap: 0; }
  .ml-nav__logo { font-size: 16px; letter-spacing: 3px; margin-left: 0; }

  /* Hide desktop links — show as dropdown */
  .ml-nav__links {
    position: fixed;
    top: var(--nav-h);
    right: 0; left: 0;
    background: rgba(26,26,26,.98);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 0 14px;
    border-bottom: 1px solid var(--dark4);
    display: none;
    z-index: 9998;
  }
  .ml-nav__links.open { display: flex; }
  .ml-nav__links li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 0;
  }

  /* Mobile nav: hamburger RIGHT (first in RTL), logo CENTER, search+actions LEFT */
  .ml-nav { justify-content: space-between; }
  .ml-nav__logo { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1; }
  .ml-nav__search { display: flex; } /* Fix C: search icon visible on mobile */
  .ml-nav__cta { display: none; }
  .ml-nav__hamburger { display: flex; }

  /* --- HERO --- */
  /* Mobile hides the YouTube background (saves bandwidth). The previous mobile
     fallback referenced an image that does not ship with the theme, leaving the
     hero flat/empty on phones. Use a warm desert-horizon gradient so the hero
     looks intentional without requiring an asset. Desktop is unaffected.
     Sizing (height/min-height) is owned solely by the FIX-PACK block below
     (clamp(420px,60svh,580px)) — kept here is only the gradient fallback. */
  .ml-hero {
    background: radial-gradient(125% 85% at 50% 0%, #3a3026 0%, #211f1c 55%, #14120f 100%);
    background-size: cover;
    background-position: center;
  }
  .ml-hero__video-wrap { display: none; }
  .ml-hero__title { font-size: 38px; }
  .ml-hero__desc { font-size: 14px; margin-bottom: 24px; }
  .ml-hero__badge { font-size: 10px; margin-bottom: 16px; }
  .ml-hero__cta { font-size: 14px; padding: 11px 28px; }
  .ml-hero__yt-link { display: none; }

  /* --- FILTER BAR --- */
  .ml-filter-bar { padding: 8px 0; position: sticky; }
  .ml-filter-bar__inner {
    /* inline style controls direction — row always */
    gap: 8px;
    padding: 0 14px;
  }
  .ml-filter-bar__filters {
    flex-direction: row;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 6px;
  }
  .ml-filter-bar select {
    flex: 1;
    width: auto;
    min-width: 0;
    font-size: 12px;
    padding: 8px 22px 8px 8px;
  }
  .ml-filter-bar__btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
  }
  .ml-filter-bar__nearby {
    width: auto;
    padding: 0;
    flex-shrink: 0;
  }

  /* --- SECTIONS --- */
  .ml-section { padding: 40px 14px; }
  .ml-section-title { font-size: 20px; }

  /* --- CARDS --- */
  .ml-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .ml-trail-card__img { height: 175px; }

  /* --- GUIDE --- */
  .ml-guide { padding: 40px 14px; gap: 24px; }
  .ml-guide__text h2 { font-size: 20px; }
  .ml-guide__image img { height: 220px; }

  /* --- FOOTER --- */
  .ml-footer__inner { padding: 22px 14px 0; }
  .ml-footer__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ml-footer__bottom { flex-direction: column; text-align: center; gap: 4px; }
}

/* =====================================================
   13. RESPONSIVE — SMALL MOBILE  (max 480px)
   ===================================================== */
@media (max-width: 480px) {
  .ml-hero__title { font-size: 30px; line-height: 1.05; }
  .ml-hero__desc { font-size: 13px; }
  /* .ml-hero sizing intentionally omitted — the FIX-PACK block is the single
     source of mobile hero height (clamp(420px,60svh,580px)). */

  .ml-footer__grid { grid-template-columns: 1fr; gap: 14px; }

  .ml-cards-grid { gap: 10px; }
}

/* =====================================================
   14. TRAILS ARCHIVE PAGE
   ===================================================== */

/* "לפרטי המסלול" button inside trail cards */
.ml-trail-card__btn {
  display: block;
  margin-top: 14px;
  padding: 10px 0;
  background: transparent;
  border: 1px solid var(--dark4);
  border-radius: 8px;
  color: var(--sand);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
  text-decoration: none;
}
.ml-trail-card__btn:hover {
  background: rgba(221,184,139,.08);
  border-color: rgba(221,184,139,.5);
  color: var(--white);
}


/* Card image wrapper (for absolute badge positioning) */
.ml-trail-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
}
.ml-trail-card__img-wrap .ml-trail-card__img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.ml-trail-card:hover .ml-trail-card__img-wrap .ml-trail-card__img {
  transform: scale(1.04);
}
/* Badge positioned inside image wrap */
.ml-trail-card__img-wrap .ml-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

/* Trails page — results bar selects */
#ml-sort {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  transition: border-color .2s;
  padding-left: 28px;
}
#ml-sort:focus { border-color: var(--sand); outline: none; }

/* Filter bar dropdowns on trails page (chevron arrow) */
#filter-region,
#filter-difficulty,
#filter-terrain,
#filter-length {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  padding-left: 28px;
  transition: border-color .2s;
}
#filter-region:focus,
#filter-difficulty:focus,
#filter-terrain:focus,
#filter-length:focus { border-color: var(--sand); outline: none; }

/* ---- Trails page responsive ---- */
@media (max-width: 768px) {
  /* filter bar on trails page stacks */
  #ml-filters-group {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  #filter-region,
  #filter-difficulty,
  #filter-terrain,
  #filter-length {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

@media (max-width: 480px) {
  #filter-region,
  #filter-difficulty,
  #filter-terrain,
  #filter-length {
    flex: 1 1 100%;
  }
}

/* =====================================================
   15. TRAILS ARCHIVE (trails-archive.php)
   ===================================================== */

/* ---- Hero ---- */
.ml-archive-hero {
  background: #000;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.ml-archive-hero__text {
  text-align: center;
  padding: 54px 24px 40px;
}
.ml-archive-hero__title {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -.5px;
}
.ml-archive-hero__subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: #8a8a8a;
  margin: 0;
  font-weight: 400;
}

/* ---- Marquee / Carousel ---- */
.ml-marquee {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  direction: ltr;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
.ml-marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  direction: ltr;
  animation: ml-marquee-scroll 38s linear infinite;
  will-change: transform;
}
.ml-marquee__img {
  width: 480px;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-left: 2px solid #000;
  pointer-events: none;
  user-select: none;
}
@keyframes ml-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--ml-marquee-shift, -50%)); }
}
/* Pause on focus (accessibility) — NOT on hover (per spec) */
.ml-marquee:focus-within .ml-marquee__track { animation-play-state: paused; }

/* ---- Counter ---- */
.ml-counter-section {
  background: var(--dark);
  text-align: center;
  padding: 52px 24px;
  border-bottom: 1px solid var(--dark4);
}
.ml-counter-inner { max-width: var(--max); margin: 0 auto; }
.ml-counter-text {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.ml-counter-num {
  display: inline-block;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  color: var(--sand);
  line-height: 1;
  min-width: 120px;
  margin: 0 10px;
  font-variant-numeric: tabular-nums;
}

/* ---- Filter bar (archive) ---- */
.ml-arc-filter {
  background: var(--dark2);
  border-bottom: 1px solid var(--dark4);
  padding: 32px 24px;
  text-align: center;
}
.ml-arc-filter__inner { max-width: var(--max); margin: 0 auto; }
.ml-arc-filter__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 20px;
}
.ml-arc-filter__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Archive main ---- */
.ml-archive-main {
  background: var(--dark);
  padding-bottom: 60px;
}

/* ---- Region section (accordion) ---- */
.ml-region-section {
  border-bottom: 1px solid var(--dark4);
  transition: opacity .3s;
}
.ml-region-section--empty {
  opacity: .3;
  pointer-events: none;
}

/* Region header */
.ml-region-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  background: var(--dark);
  transition: background .2s;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.ml-region-header:hover { background: rgba(255,255,255,.02); }

.ml-region-header__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.ml-region-header__name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}
.ml-region-header__right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ml-region-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.ml-region-chevron {
  color: var(--muted);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.ml-region-section.collapsed .ml-region-chevron {
  transform: rotate(-90deg);
}

/* Region body — smooth collapse */
.ml-region-body {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  opacity: 1;
}
.ml-region-section.collapsed .ml-region-body {
  max-height: 0;
  opacity: 0;
}

/* ---- Tooltip ---- */
.ml-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ml-tooltip-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dark4);
  border: 1px solid #444;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  flex-shrink: 0;
  font-family: 'Rubik', sans-serif;
  transition: background .2s, color .2s;
}
.ml-tooltip-icon:hover { background: var(--sand); color: var(--dark); }
.ml-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #2a2a2a;
  border: 1px solid var(--dark4);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}
.ml-tooltip-wrap:hover .ml-tooltip,
.ml-tooltip-icon:focus + .ml-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.ml-tooltip strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.ml-tooltip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ml-tooltip ul li {
  font-size: 12px;
  color: var(--light);
  padding-right: 8px;
  position: relative;
}
.ml-tooltip ul li::before {
  content: '·';
  position: absolute;
  right: 0;
  color: var(--sand);
}

/* ---- Archive cards grid ---- */
.ml-arc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 6px 28px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

/* ---- Archive card overrides ---- */
.ml-arc-card { cursor: pointer; }
.ml-arc-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.ml-arc-card__img {
  height: 200px !important;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.ml-arc-card:hover .ml-arc-card__img { transform: scale(1.04); }

.ml-arc-card__body {
  padding: 14px 16px 16px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.ml-arc-card__title {
  font-size: 15px !important;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.ml-arc-card__desc {
  font-size: 12px;
  color: var(--light);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.ml-arc-card__meta {
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--dark4);
  padding-top: 8px;
}
.ml-arc-card__region { display: block; }
.ml-arc-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  gap: 8px;
  flex-wrap: wrap;
}
.ml-arc-card__creator { color: var(--light); font-weight: 500; }
.ml-arc-card__date { direction: ltr; unicode-bidi: isolate; }

/* =====================================================
   RESPONSIVE — ARCHIVE PAGE
   ===================================================== */
@media (max-width: 1024px) {
  .ml-arc-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-region-header__name { font-size: 18px; }
  .ml-marquee__img { width: 380px; height: 240px; }
}

@media (max-width: 768px) {
  /* Hero */
  .ml-archive-hero__text { padding: 40px 20px 28px; }
  .ml-archive-hero__title { font-size: 36px; }
  .ml-marquee__img { width: 300px; height: 190px; }

  /* Counter */
  .ml-counter-section { padding: 36px 20px; }
  .ml-counter-num { font-size: 60px; }

  /* Filter */
  .ml-arc-filter { padding: 24px 16px; }
  .ml-arc-filter__title { font-size: 18px; }
  .ml-arc-filter__row { flex-direction: column; align-items: stretch; }
  .ml-arc-filter__row select,
  .ml-arc-filter__row button { width: 100%; }

  /* Region header */
  .ml-region-header { padding: 18px 16px; }
  .ml-region-header__name { font-size: 16px; }

  /* Cards — horizontal scroll on mobile */
  .ml-arc-cards-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding: 4px 16px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--dark4) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .ml-arc-cards-grid::-webkit-scrollbar { height: 4px; }
  .ml-arc-cards-grid::-webkit-scrollbar-track { background: transparent; }
  .ml-arc-cards-grid::-webkit-scrollbar-thumb { background: var(--dark4); border-radius: 2px; }

  .ml-arc-card {
    min-width: 220px;
    max-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Tooltip — show below on mobile */
  .ml-tooltip {
    right: auto;
    left: 0;
    bottom: auto;
    top: calc(100% + 8px);
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .ml-archive-hero__title { font-size: 28px; }
  .ml-counter-num { font-size: 48px; }
  .ml-arc-card { min-width: 200px; }
  .ml-marquee__img { width: 240px; height: 150px; }
}

/* ================================================================
   FIX-PACK 1: responsiveness + UX safety net (iOS zoom, tap targets,
   form hero typography, hero svh, marquee/cards 360px, badges)
   ================================================================ */

/* ── Hero — iOS Safari svh fix (with vh fallback for pre-15.4) ──
   Round 3: desktop 90svh / tablet 82svh / mobile 60svh — bumped so only the
   "מסלולים לעונה" headline peeks below the fold (cards stay hidden). */
@media (max-width: 767px) {
  .ml-hero {
    height: 60vh;
    height: clamp(420px, 60svh, 580px);
    min-height: 420px;
  }
}

/* ── iOS auto-zoom prevention — all form inputs ≥16px on mobile ── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important; /* iOS zoom prevention — must override inline styles */
  }
}

/* ── Header nav tap targets (WCAG 2.5.5 = 44x44) ── */
@media (max-width: 768px) {
  .ml-nav__hamburger,
  .ml-nav__user-btn {
    min-width: 44px;
    min-height: 44px;
  }
  .ml-nav__logo {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ── Region chips & sort tap targets ── */
@media (max-width: 640px) {
  .ml-chip,
  .ml-sort-select {
    min-height: 44px;
  }
}

/* ── Footer link tap targets ── */
@media (max-width: 768px) {
  footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
  }
}

/* ── Footer trails columns — 2 → 1 on phones ── */
.ml-footer-trails-cols { columns: 2; column-gap: 12px; }
@media (max-width: 480px) {
  .ml-footer-trails-cols { columns: 1; }
}

/* ── Form hero shared class ── */
.maslu-form-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #f4f1eb;
}
@media (max-width: 768px) {
  .maslu-form-hero-title { font-size: 32px; }
  .maslu-contact-hero__title,
  .maslu-report-hero__title,
  .maslu-biz-hero__title { font-size: 30px !important; }
}
@media (max-width: 480px) {
  .maslu-form-hero-title { font-size: 26px; }
  .maslu-contact-hero__title,
  .maslu-report-hero__title,
  .maslu-biz-hero__title { font-size: 26px !important; }
}

/* ── Homepage filter bar — wrap + stack on phones ── */
.ml-home-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ml-home-filter-bar select {
  min-width: 140px;
  flex: 1 1 140px;
}
@media (max-width: 480px) {
  .ml-home-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .ml-home-filter-bar select,
  .ml-home-filter-bar button {
    width: 100%;
    min-height: 44px;
  }
}

/* ── Archive horizontal scroll cards — tighter padding at 480px ── */
@media (max-width: 480px) {
  .ml-arc-cards-grid {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ================================================================
   FIX-PACK 2: header logo, hero tuning, FAQ refresh, picker styling
   ================================================================ */

/* Logo — force LTR rendering for the Latin text "MASLULAND".
   Without this, the parent's dir=rtl causes "MASLU" + <b>LAND</b>
   to swap visually on some Webkit / RTL flexbox combos. */
.ml-nav__logo,
.ml-nav__logo-text,
.ml-nav__logo-text *,
.ml-nav__logo-text b {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left;
}
.ml-nav__logo-text {
  display: inline-block;
}
.ml-nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .ml-nav__logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
  }
  .ml-nav__logo-img {
    height: 28px;
  }
}

/* ── Round 3: first section after hero gets extra top padding so
   "מסלולים לעונה" headline peeks at viewport bottom on first paint
   without revealing the trail cards underneath. */
#content > .ml-section:first-of-type { padding-top: 100px; }
@media (max-width: 768px) {
  #content > .ml-section:first-of-type { padding-top: 60px; }
}

/* ── Round 4: trails-archive filter row 2×2 grid on desktop, stacked on mobile ── */
.ml-arc-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ml-arc-filters > input[type="hidden"] { display: none; }
.ml-arc-filters > *:not(input[type="hidden"]) {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 340px;
}
@media (min-width: 768px) {
  .ml-arc-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 12px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .ml-arc-filters > *:not(input[type="hidden"]) {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: initial;
  }
}

/* (apply-btn focus/active overrides consolidated into the .ml-apply-btn block
   near the top of this file — the #arc-apply-btn / #maalot-apply-btn buttons
   inherit it via their shared .ml-apply-btn class.) */

/* =====================================================
   BUSINESS SPONSOR BANNER (.ml-bizad)
   Full-bleed strip flush between the fixed nav and the homepage hero.
   Whole strip is one clickable link. Dark in BOTH themes (like the hero).
   The margin-top is the ONLY nav-height offset: the homepage hero has no
   top offset of its own (the fixed nav simply overlays it), so nothing
   doubles when the banner is present.
   ===================================================== */
.ml-bizad {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 2px solid rgba(221,184,139,.5);
  cursor: pointer;
  margin-top: var(--nav-h);
}
/* Logged-in admin bar pushes the fixed nav down — clear it too. */
body.admin-bar .ml-bizad { margin-top: calc(var(--nav-h) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .ml-bizad { margin-top: calc(var(--nav-h) + 46px); }
}

.ml-bizad__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.ml-bizad__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, rgba(12,9,6,.93) 0%, rgba(12,9,6,.74) 60%, rgba(12,9,6,.5) 100%);
}
.ml-bizad__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
}
.ml-bizad__biz {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.ml-bizad__logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  display: block;
  border-radius: 8px;
}
.ml-bizad__txt { min-width: 0; }
.ml-bizad__name {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.ml-bizad__tagline {
  display: block;
  font-size: 14px;
  color: rgba(244,241,235,.86);
  font-weight: 300;
  margin-top: 4px;
}
.ml-bizad__tag {
  position: absolute;
  top: 12px;
  left: 18px;
  z-index: 3;
  font-size: 10px;
  font-weight: 600;
  color: #f4f1eb;
  background: rgba(0,0,0,.5);
  padding: 3px 9px;
  border-radius: 6px;
}
/* Hover — tasteful: lighten the shade a touch + nudge name toward gold. */
.ml-bizad:hover .ml-bizad__shade {
  background: linear-gradient(to left, rgba(12,9,6,.88) 0%, rgba(12,9,6,.66) 60%, rgba(12,9,6,.42) 100%);
}
.ml-bizad:hover .ml-bizad__name { color: #DDB88B; }

@media (max-width: 768px) {
  .ml-bizad__inner { padding: 10px 14px; }
  .ml-bizad__biz { gap: 11px; }
  .ml-bizad__logo { height: 40px; }
  .ml-bizad__name { font-size: 16px; }
  .ml-bizad__tagline {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ml-bizad__txt { min-width: 0; }
  .ml-bizad__tag { top: 9px; left: 12px; font-size: 9px; padding: 2px 7px; }
}

/* =====================================================
   BUSINESS BANNER — site-wide extension (task 2)
   ===================================================== */

/* A) COMPACT variant — always low, at every width (singles + מציאון).
   Higher specificity than the base/desktop rules so it never re-inflates. */
.ml-bizad--compact .ml-bizad__inner { padding: 10px 18px; }
.ml-bizad--compact .ml-bizad__logo { width: 40px; height: 40px; object-fit: contain; }
.ml-bizad--compact .ml-bizad__tag { font-size: 8px; }
.ml-bizad--compact .ml-bizad__name { font-size: 17px; }
.ml-bizad--compact .ml-bizad__tagline {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* B) Offset handling — the banner already carries the single nav-height
   offset via .ml-bizad{margin-top:var(--nav-h)} (defined above). When the
   banner is present (body.ml-has-bizad), cancel each target page's OWN
   nav-clearance so there is never a doubled gap. Scoped strictly under
   body.ml-has-bizad — pages without the banner keep normal clearance.
   The homepage hero (.ml-hero), single-article hero, single-maalot .ml-page
   and profile head have NO nav-clearance of their own (nav overlays / small
   padding), so they need no rule — the banner's offset is the only one. */

/* Clearances that were exactly var(--nav-h)/58px → remove fully.
   !important is required to beat inline padding-top on these elements. */
body.ml-has-bizad .ml-navclear,            /* single trail/site, maalot+site archives */
body.ml-has-bizad .ml-archive-hero,        /* trails archive hero */
body.ml-has-bizad .ml-sup-hero,            /* suppliers archive hero */
body.ml-has-bizad #ml-region-main {        /* region taxonomy */
  padding-top: 0 !important;
}

/* Heroes that cleared the nav with var(--nav-h)+extra → keep only the extra. */
body.ml-has-bizad .ml-mag-hero       { padding-top: 24px !important; } /* magazine archive (was 72px) */
body.ml-has-bizad .ml-mz-hero        { padding-top: 40px !important; } /* מציאון archive (was calc(40+nav-h)) */
body.ml-has-bizad .ml-mz-bc-band     { padding-top: 6px  !important; } /* מציאון single bc band */
body.ml-has-bizad .maslu-contact-hero{ padding-top: 48px !important; } /* contact hero */
body.ml-has-bizad #maslu-near-page .mn-hero { padding-top: 24px !important; } /* near-me hero (was 56px) */

/* my-area grid (.ml-area in auth.css used calc(nav-h+60)) — keep the 60.
   The second rule outranks auth.css's own body.admin-bar .ml-area. */
body.ml-has-bizad .ml-area            { padding-top: 60px !important; }
body.admin-bar.ml-has-bizad .ml-area  { padding-top: 60px !important; }

/* ================================================================
   "כלים ומדריכים" NAV DROPDOWN (Tools & Guides) — DARK BASE
   Light-theme overrides live in light-theme.css (loaded @ priority 999).
   Additive only — existing .ml-nav__links rules are untouched.
   Desktop (>=769px) = hover + focus-within. Mobile (<=768px) = tap accordion.
   ================================================================ */
.ml-nav__item--has-dd { position: relative; }

/* Trigger — matches sibling nav links (var tokens flip per theme automatically) */
.ml-nav__ddtrigger {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 11px; font-size: 14px; font-weight: 500;
  color: var(--light); background: none; border: none; cursor: pointer;
  font-family: inherit; border-radius: 7px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.ml-nav__ddtrigger:hover,
.ml-nav__item--has-dd:hover .ml-nav__ddtrigger,
.ml-nav__item--has-dd:focus-within .ml-nav__ddtrigger {
  color: var(--white); background: rgba(255,255,255,.07);
}
.ml-nav__caret {
  width: 0; height: 0;
  border-inline-start: 4px solid transparent; border-inline-end: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .6; transition: transform .18s;
  align-self: center; flex-shrink: 0;   /* center within the flex trigger */
  position: relative; top: 1px;          /* optical nudge onto the text's vertical center */
}
.ml-nav__item--has-dd:hover .ml-nav__caret,
.ml-nav__item--has-dd:focus-within .ml-nav__caret { transform: rotate(180deg); }

/* ── FIX (child-405): fully reset the <button> trigger so no theme/UA border-box
   leaks (the trigger was rendering as a stray bordered box), and align it inline
   like the sibling <a> nav links. Scoped under .ml-nav__links to out-rank generic
   <button> styles. Additive — the base .ml-nav__ddtrigger rule above is untouched. */
.ml-nav__links .ml-nav__ddtrigger {
  -webkit-appearance: none; appearance: none;
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  background: none;
  margin: 0;
  line-height: normal;
  padding: 6px 11px;      /* == .ml-nav__links li a metrics (exact match) */
  font-size: 14px;
  font-weight: 500;
  border-radius: 7px;
}
.ml-nav__links .ml-nav__ddtrigger:focus,
.ml-nav__links .ml-nav__ddtrigger:focus-visible {
  outline: 0;
  box-shadow: none !important;
}
/* keep the hover/focus background painting AFTER the reset above — scoped so it
   out-ranks the equal-specificity base rule (which sets background:none). */
.ml-nav__links .ml-nav__ddtrigger:hover,
.ml-nav__links .ml-nav__item--has-dd:hover .ml-nav__ddtrigger,
.ml-nav__links .ml-nav__item--has-dd:focus-within .ml-nav__ddtrigger {
  color: var(--white); background: rgba(255,255,255,.07);
}
/* align the parent <li> inline + vertically centered with the sibling nav items.
   Desktop only — mobile keeps the stacked full-width accordion (flex on the <li>
   would put the trigger and its open panel side-by-side). */
@media (min-width: 769px) {
  .ml-nav__links li.ml-nav__item--has-dd { display: flex; align-items: center; }
}
/* tablet band (769–1024px): the max-width:1024px block above shrinks sibling
   links to 13px / 5px 9px — mirror it on the trigger so heights stay equal.
   Placed AFTER the base rule so it wins; the mobile block below still wins under it. */
@media (max-width: 1024px) {
  .ml-nav__links .ml-nav__ddtrigger { font-size: 13px; padding: 5px 9px; }
}
/* re-assert the mobile full-width trigger metrics: the scoped desktop rule above
   is 0,2,0 and would otherwise out-specify the 0,1,0 trigger rule in the mobile
   @media block further down, shrinking the tap target. */
@media (max-width: 768px) {
  .ml-nav__links .ml-nav__ddtrigger {
    width: 100%; justify-content: space-between;
    padding: 12px 20px; font-size: 15px; border-radius: 0;
  }
}

/* Level-1 panel */
.ml-nav__dd {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px;
  background: #242424; border: 1px solid #3a3a3a; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5); padding: 7px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s; z-index: 10000;
}
.ml-nav__item--has-dd:hover > .ml-nav__dd,
.ml-nav__item--has-dd:focus-within > .ml-nav__dd { opacity: 1; visibility: visible; transform: none; }
/* invisible bridge across the 8px gap so hover doesn't drop between trigger & panel */
.ml-nav__dd::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }

/* Rows: links + sub/brand triggers.
   Scoped under .ml-nav__item--has-dd so these out-rank the theme's generic
   ".ml-nav__links li a" (0,1,2) rule, which otherwise bleeds into the <a> rows. */
.ml-nav__item--has-dd .ml-nav__dd-link,
.ml-nav__item--has-dd .ml-nav__subtrigger,
.ml-nav__item--has-dd .ml-nav__brandtrigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 9px 12px; font-size: 13.5px; color: #f4f1eb;
  text-decoration: none; border-radius: 8px; cursor: pointer; white-space: nowrap;
  background: none; border: none; font-family: inherit; text-align: right;
}
.ml-nav__item--has-dd .ml-nav__dd-link:hover,
.ml-nav__item--has-dd .ml-nav__subtrigger:hover,
.ml-nav__item--has-dd .ml-nav__brandtrigger:hover { background: #2f2f2f; color: #f4f1eb; }
.ml-nav__dd-divider { height: 1px; background: #3a3a3a; margin: 6px 4px; }
.ml-nav__dd-empty { display: block; padding: 9px 12px; font-size: 13px; color: #9a9484; }
.ml-nav__arrow {
  width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-inline-start: 5px solid currentColor; /* points LEFT in RTL — toward the flyout that opens on the left */
  border-inline-end: 0; opacity: .55; flex-shrink: 0; transition: transform .18s;
}

/* Level-2 flyout (brands) — opens to the LEFT of its parent (RTL) */
.ml-nav__dd-sub { position: relative; }
.ml-nav__flyout {
  position: absolute; top: -7px; right: calc(100% + 6px); min-width: 210px;
  background: #242424; border: 1px solid #3a3a3a; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5); padding: 7px;
  opacity: 0; visibility: hidden; transform: translateX(6px);
  transition: opacity .16s, transform .16s, visibility .16s; z-index: 10001;
}
.ml-nav__dd-sub:hover > .ml-nav__flyout,
.ml-nav__dd-sub:focus-within > .ml-nav__flyout { opacity: 1; visibility: visible; transform: none; }
.ml-nav__flyout::before { content: ''; position: absolute; top: 0; right: -6px; width: 6px; height: 100%; }

/* Level-3 flyout (guides) */
.ml-nav__brand { position: relative; }
.ml-nav__flyout3 {
  position: absolute; top: -7px; right: calc(100% + 6px); min-width: 230px;
  background: #242424; border: 1px solid #3a3a3a; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5); padding: 7px;
  opacity: 0; visibility: hidden; transform: translateX(6px);
  transition: opacity .16s, transform .16s, visibility .16s; z-index: 10002;
}
.ml-nav__brand:hover > .ml-nav__flyout3,
.ml-nav__brand:focus-within > .ml-nav__flyout3 { opacity: 1; visibility: visible; transform: none; }
.ml-nav__flyout3::before { content: ''; position: absolute; top: 0; right: -6px; width: 6px; height: 100%; }

/* ---- MOBILE (<=768px): tap accordion — no hover, no side flyouts ---- */
@media (max-width: 768px) {
  .ml-nav__item--has-dd { position: static; width: 100%; }
  .ml-nav__ddtrigger {
    width: 100%; justify-content: space-between; padding: 12px 20px;
    font-size: 15px; border-radius: 0; color: var(--light);
  }
  /* Panels collapse inline; a trigger's .is-open reveals its own panel only */
  .ml-nav__dd,
  .ml-nav__flyout,
  .ml-nav__flyout3 {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    min-width: 0; width: 100%; padding: 0; display: none; z-index: auto;
  }
  .ml-nav__dd::before,
  .ml-nav__flyout::before,
  .ml-nav__flyout3::before { display: none; }
  .ml-nav__item--has-dd.is-open > .ml-nav__dd { display: block; }
  .ml-nav__dd-sub.is-open > .ml-nav__flyout { display: block; }
  .ml-nav__brand.is-open > .ml-nav__flyout3 { display: block; }
  .ml-nav__item--has-dd .ml-nav__dd-link,
  .ml-nav__item--has-dd .ml-nav__subtrigger,
  .ml-nav__item--has-dd .ml-nav__brandtrigger {
    width: 100%; justify-content: space-between; border-radius: 0;
    padding: 11px 28px; font-size: 14px;
  }
  .ml-nav__item--has-dd .ml-nav__flyout .ml-nav__brandtrigger { padding-inline-start: 40px; }
  .ml-nav__item--has-dd .ml-nav__flyout3 .ml-nav__dd-link { padding-inline-start: 52px; }
  .ml-nav__dd-divider { display: none; }
  .ml-nav__item--has-dd.is-open > .ml-nav__ddtrigger .ml-nav__caret { transform: rotate(180deg); }
  .ml-nav__dd-sub.is-open > .ml-nav__subtrigger .ml-nav__arrow,
  .ml-nav__brand.is-open > .ml-nav__brandtrigger .ml-nav__arrow { transform: rotate(-90deg); } /* LEFT-pointing arrow → rotate CCW so open row points DOWN */
}

/* ================================================================
   FIX (child-406): kill the Elementor-kit pink accent on the dropdown.
   The kit ships a global rule
     [type="button"],[type="submit"],button { color:#CC3366; border-color:#CC3366 }
   (#CC3366 = its rose link colour). The "כלים ומדריכים" trigger is the ONLY
   <button> in the nav, so it — and its currentColor caret — rendered pink while
   the sibling <a> links stayed muted. The kit rule ties the base trigger rule on
   specificity (0,1,0) and wins on source order; child-405 reset the border-box but
   never forced color/outline/tap-highlight. Same artefact the PWA buttons already
   neutralise (see masluland-core/assets/pwa/ml-pwa.css). Force the trigger + every
   dropdown row back onto the sibling nav-link tokens in EVERY state. --light/--white
   flip per theme, so this dark-base block is mirrored 1:1 in light-theme.css.
   ================================================================ */
.ml-nav__links .ml-nav__ddtrigger,
.ml-nav__links .ml-nav__ddtrigger:focus,
.ml-nav__links .ml-nav__ddtrigger:focus-visible,
.ml-nav__links .ml-nav__ddtrigger:active {
  color: var(--light) !important;          /* == sibling .ml-nav__links li a */
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
/* hover/focus-within — identical to the sibling nav-link hover, nothing custom */
.ml-nav__links .ml-nav__ddtrigger:hover,
.ml-nav__links .ml-nav__item--has-dd:hover .ml-nav__ddtrigger,
.ml-nav__links .ml-nav__item--has-dd:focus-within .ml-nav__ddtrigger {
  color: var(--white) !important;
  background: rgba(255,255,255,.07) !important;
}
/* caret tracks the (now-corrected) text colour */
.ml-nav__links .ml-nav__ddtrigger .ml-nav__caret { border-top-color: currentColor !important; }

/* Dropdown rows (links + sub/brand <button>s) — same accent-leak guard, all states.
   Rest/hover colours come from the panel rules above; here we only pin the token
   colour and strip any pink focus/active/tap outline. */
.ml-nav__item--has-dd .ml-nav__dd-link,
.ml-nav__item--has-dd .ml-nav__subtrigger,
.ml-nav__item--has-dd .ml-nav__brandtrigger,
.ml-nav__item--has-dd .ml-nav__dd-link:focus,
.ml-nav__item--has-dd .ml-nav__subtrigger:focus,
.ml-nav__item--has-dd .ml-nav__brandtrigger:focus,
.ml-nav__item--has-dd .ml-nav__dd-link:focus-visible,
.ml-nav__item--has-dd .ml-nav__subtrigger:focus-visible,
.ml-nav__item--has-dd .ml-nav__brandtrigger:focus-visible,
.ml-nav__item--has-dd .ml-nav__dd-link:active,
.ml-nav__item--has-dd .ml-nav__subtrigger:active,
.ml-nav__item--has-dd .ml-nav__brandtrigger:active {
  color: #f4f1eb !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.ml-nav__item--has-dd .ml-nav__dd-link:hover,
.ml-nav__item--has-dd .ml-nav__subtrigger:hover,
.ml-nav__item--has-dd .ml-nav__brandtrigger:hover {
  background: #2f2f2f !important; color: #f4f1eb !important;
}
.ml-nav__item--has-dd .ml-nav__arrow { border-inline-start-color: currentColor !important; } /* colored side moved to inline-start after the RTL flip */
