/* ============================================================
   Work dropdown + nav links — flat cream panel (warm theme)
   Loaded after theme.css on the home page and case study pages.
   Selectors mirror styles.css so they win the cascade.
   ============================================================ */
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu {
  --bs-dropdown-border-radius: 14px;
  background-color: #F7F2E9 !important;
  border: 1px solid #D8D1BC !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(46, 44, 37, 0.08), 0 1px 4px rgba(46, 44, 37, 0.05) !important;
  padding: 0.5rem !important;
  min-width: 360px !important;
  margin-top: 0.5rem !important;
}
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  color: #6B6558 !important;
  border-radius: 9px !important;
  padding: 0.7rem 0.9rem !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item:hover,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item:focus,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item:focus-visible,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item:active,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item.active,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item.active:hover,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-menu .dropdown-item.active:focus-visible {
  background-color: #EBE6D8 !important;
  color: #2E2C25 !important;
  text-decoration: none !important;
}
/* nav links on the cream bar */
html body #mainNav .navbar-nav li.nav-item a.nav-link {
  color: #2E2C25 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
html body #mainNav .navbar-nav li.nav-item a.nav-link:hover,
html body #mainNav .navbar-nav li.nav-item a.nav-link:focus,
html body #mainNav .navbar-nav li.nav-item a.nav-link:active { color: #B5694A !important; }
html body #mainNav .navbar-nav > li.nav-item > a.nav-link,
html body #mainNav .navbar-nav > li.nav-item.dropdown > a.nav-link.dropdown-toggle,
html body #mainNav .navbar-nav > li.nav-item.dropdown.show > a.nav-link.dropdown-toggle,
html body #mainNav .navbar-nav > li.nav-item.dropdown > a.nav-link.dropdown-toggle[aria-expanded="true"] {
  color: #2E2C25 !important;
}
html body #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
html body #mainNav .navbar-nav > li.nav-item.dropdown > a.nav-link.dropdown-toggle:hover {
  color: #B5694A !important;
}

/* nav brand: first name in terracotta */
html body #mainNav .navbar-brand .brand-first { color: #B5694A !important; }

/* Work toggle: arrow like the "Read case study ↗" links */
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-toggle::after,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-toggle[aria-expanded=true]::after,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-toggle.show::after {
  content: "↗";
  order: 1;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
  color: #B5694A;
  display: inline-block;
  transition: transform 0.2s ease;
}
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-toggle { gap: 0.6rem; }
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-toggle[aria-expanded=true]::after,
html body #mainNav .navbar-nav li.nav-item.dropdown .dropdown-toggle.show::after {
  transform: rotate(90deg);
}

/* active nav link (scroll-spy) keeps the same warm colors */
html body #mainNav .navbar-nav li.nav-item a.nav-link.active,
html body #mainNav .navbar-nav > li.nav-item > a.nav-link.active { color: #2E2C25 !important; }
html body #mainNav .navbar-nav li.nav-item a.nav-link.active:hover,
html body #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover { color: #B5694A !important; }

/* mobile Menu toggle on the home page: olive in every state (home page doesn't load warm.css) */
html body #mainNav .navbar-toggler,
html body #mainNav .navbar-toggler:not(.collapsed),
html body #mainNav .navbar-toggler[aria-expanded="true"],
html body #mainNav .navbar-toggler:hover,
html body #mainNav .navbar-toggler:focus,
html body #mainNav .navbar-toggler:focus-visible,
html body #mainNav .navbar-toggler:active,
html body #mainNav .navbar-toggler:hover:focus {
  background-color: #5C6048 !important;
  border-color: #5C6048 !important;
  color: #F7F2E9 !important;
  box-shadow: none !important;
}
html body #mainNav .navbar-toggler:hover,
html body #mainNav .navbar-toggler[aria-expanded="true"] { background-color: #2E2C25 !important; border-color: #2E2C25 !important; }

/* ── No glow or lift effects on hover/focus (home + case study pages) ── */
html body #case-studies .mb-5:hover > .row,
html body #case-studies .mb-5 > .row:hover,
html body .cs-card-wrap:hover {
  box-shadow: none !important;
  border-color: transparent !important;
  transform: none !important;
}
html body .looking-for-connect-btn::after,
html body .looking-for-connect-btn:hover::after { background: transparent !important; }
html body a:focus, html body button:focus, html body .btn:focus,
html body .nav-link:focus, html body .dropdown-toggle:focus,
html body .navbar-toggler:focus, html body .carousel-control-prev:focus,
html body .carousel-control-next:focus { box-shadow: none !important; }
html body a:focus-visible, html body button:focus-visible,
html body .nav-link:focus-visible {
  outline: 2px solid #B5694A;
  outline-offset: 3px;
  box-shadow: none !important;
}
