/* ARRIVE ALIVE UGANDA — v2 "human" system */
:root {
  --paper: #f6f1e6;
  --ink: #1d231d;
  --char: #171b16;
  --taupe: #d8cdba;
  --green: #0b6836;
  --mango: #f2a50c;
  --clay: #c14b2a;
  --silver: #9aa39b;
  --line: rgba(29, 35, 29, 0.16);
  --fd: "Barlow Condensed", sans-serif;
  --fb: "Barlow", sans-serif;
  --fm: "IBM Plex Mono", monospace;
  --fh: "Caveat", cursive;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.05'/></svg>");
}
html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}
body {
  font-family: var(--fb);
  color: var(--ink);
  background: var(--noise), var(--paper);
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
::selection {
  background: var(--mango);
  color: var(--ink);
}
h1,
h2,
h3 {
  font-family: var(--fd);
  text-transform: uppercase;
  line-height: 0.92;
  font-weight: 800;
}
.mono {
  font-family: var(--fm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.hand {
  font-family: var(--fh);
  font-size: 1.4rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.hl {
  box-shadow: inset 0 -0.42em 0 rgba(242, 165, 12, 0.5);
}
.sec {
  padding: 5.5rem 0;
}
.sec-label {
  color: var(--clay);
  font-weight: 600;
}
.sec-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.lead-x {
  font-size: 1.08rem;
  color: #4a5248;
}
img {
  max-width: 100%;
}
a {
  color: var(--green);
}

/* ===== v6 patch: height fix + resources side nav ===== */
.h-auto {
  height: auto !important;
}
.sidenav {
  position: sticky;
  top: 110px;
}
.sidenav a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-left: 3px solid var(--taupe);
  color: #5c6459;
  text-decoration: none;
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.sidenav a:hover {
  border-color: var(--mango);
  color: var(--ink);
}
@media print {
  .navbar-aa,
  .topbar-aa,
  .footer-aa,
  #toTop,
  .hazard-tape,
  .btn-hazard,
  .btn-green {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
/* tape, stickers, polaroids — the human layer */
.hazard-tape {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--mango) 0 16px,
    var(--ink) 16px 32px
  );
}
.roadline {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--paper) 0 42px,
    transparent 42px 84px
  );
  opacity: 0.8;
  animation: dash 1s linear infinite;
}
@keyframes dash {
  to {
    background-position: 84px 0;
  }
}
.polaroid {
  background: #fff;
  padding: 0.55rem 0.55rem 2.5rem;
  box-shadow: 0 14px 34px rgba(20, 20, 10, 0.28);
  transform: rotate(var(--r, 0deg));
  position: relative;
  display: inline-block;
}
.polaroid .cap {
  font-family: var(--fh);
  color: #5a5a52;
  position: absolute;
  bottom: 0.35rem;
  left: 0.8rem;
  font-size: 1.05rem;
}
.tape::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 92px;
  height: 26px;
  background: rgba(242, 165, 12, 0.75);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.sticker {
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1.35rem;
  background: var(--mango);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.35rem 0.95rem;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-5deg);
}

/* topbar (clay) + navbar (charcoal) */
.topbar-aa {
  background: var(--clay);
  color: #fff;
}
.topbar-aa a {
  color: var(--mango);
  text-decoration: none;
}
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mango);
  display: inline-block;
  animation: blink 1.4s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.navbar-aa {
  background: var(--char);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(246, 241, 230, 0.08);
  transition: 0.3s;
}
.navbar-aa.scrolled {
  padding: 0.4rem 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.brand-oval {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-oval .oval {
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--fd);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 1.1rem;
  font-size: 1.05rem;
}
.brand-oval small {
  color: var(--silver);
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
}
.navbar-aa .nav-link {
  color: var(--paper);
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
  font-weight: 600;
}
.navbar-aa .nav-link:hover,
.navbar-aa .nav-link.active {
  color: var(--mango);
}
.navbar-aa .dropdown-menu {
  background: var(--char);
  border: 1px solid rgba(246, 241, 230, 0.12);
  border-radius: 10px;
}
.navbar-aa .dropdown-item {
  color: var(--paper);
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.navbar-aa .dropdown-item:hover {
  background: var(--mango);
  color: var(--ink);
}

/* buttons */
.btn-hazard,
.btn-green,
.btn-ghost {
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--ink);
  transition: 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hazard {
  background: var(--mango);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-hazard:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  color: var(--ink);
}
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-green:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ticker — mango now */
.ticker {
  background: var(--mango);
  color: var(--ink);
  overflow: hidden;
  border-block: 2px solid var(--ink);
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  padding: 0.55rem 0;
  width: max-content;
  /* animation: tick 38s linear infinite; */
  animation: aa-tick 38s linear infinite;
  font-family: var(--fh);
  font-size: 1.3rem;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}
@keyframes aa-tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track { animation-name: aa-tick !important; animation-duration: 38s !important; animation-iteration-count: infinite !important; }
.ticker-track i {
  color: var(--clay);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--mango), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--mango), transparent);
}

/* Add to style.css */
.typewriter-text {
  overflow: hidden;
  border-right: 3px solid var(--mango);
  white-space: nowrap;
  animation:
    typing 3.5s steps(40, end),
    blink-caret 0.75s step-end infinite;
  display: inline-block;
  max-width: 100%;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--mango);
  }
}

.rule-list li {
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rule-list li.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Draw-in border animation */
.rule-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--line);
  transition: width 0.8s ease;
}
.rule-list li.visible::before {
  width: 100%;
}

/* hero — charcoal, not green */
/* ===== v3 patch: richer green gradients + FAQ + regional bars ===== */
.hero-aa {
  background:
    var(--noise),
    radial-gradient(
      1000px 480px at 85% -10%,
      rgba(242, 165, 12, 0.16),
      transparent 60%
    ),
    radial-gradient(
      820px 420px at -10% 110%,
      rgba(11, 104, 54, 0.55),
      transparent 62%
    ),
    linear-gradient(158deg, #0f291d 0%, #123527 34%, #0e241a 62%, #171b16 100%);

  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-aa .d-flex > div {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s ease forwards;
}
.hero-aa .d-flex > div:nth-child(1) {
  animation-delay: 0.6s;
}
.hero-aa .d-flex > div:nth-child(2) {
  animation-delay: 0.75s;
}
.hero-aa .d-flex > div:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* .hero-aa {
  background:
    var(--noise),
    radial-gradient(
      900px 420px at 88% -10%,
      rgba(242, 165, 12, 0.14),
      transparent
    ),
    var(--char);
  color: var(--paper);
  position: relative;
  overflow: hidden;
} */
.band-green {
  background:
    var(--noise),
    radial-gradient(
      700px 300px at 92% 0%,
      rgba(242, 165, 12, 0.2),
      transparent 60%
    ),
    radial-gradient(
      600px 320px at 0% 100%,
      rgba(15, 41, 29, 0.9),
      transparent 65%
    ),
    linear-gradient(140deg, #0b6836 0%, #0a5c30 42%, #0f291d 100%);
}
.band-bush {
  background:
    var(--noise),
    radial-gradient(
      900px 420px at 12% -10%,
      rgba(11, 104, 54, 0.5),
      transparent 60%
    ),
    linear-gradient(160deg, #12291d 0%, #171b16 70%);
}
.footer-aa {
  background:
    var(--noise),
    radial-gradient(
      1000px 400px at 50% -20%,
      rgba(11, 104, 54, 0.4),
      transparent 60%
    ),
    linear-gradient(180deg, #12291d, #171b16 60%);
}
.faq-band {
  background:
    var(--noise),
    radial-gradient(
      900px 460px at 100% 0%,
      rgba(242, 165, 12, 0.12),
      transparent 55%
    ),
    radial-gradient(
      760px 420px at 0% 100%,
      rgba(11, 104, 54, 0.5),
      transparent 60%
    ),
    linear-gradient(150deg, #0f291d 0%, #123527 45%, #171b16 100%);
  color: var(--paper);
}
.faq-row {
  border-top: 2px dashed rgba(246, 241, 230, 0.22);
}
.faq-row:last-child {
  border-bottom: 2px dashed rgba(246, 241, 230, 0.22);
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  gap: 1rem;
  align-items: baseline;
  text-align: left;
  padding: 1.25rem 0.2rem;
  color: var(--paper);
  font-family: var(--fd);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.03em;
  transition: 0.2s;
}
.faq-q .no {
  font-family: var(--fm);
  font-size: 0.72rem;
  color: var(--mango);
  letter-spacing: 0.15em;
}
.faq-q .pm {
  margin-left: auto;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--mango);
  transition: transform 0.25s;
}
.faq-q:hover {
  color: var(--mango);
}
.faq-q[aria-expanded="true"] {
  color: var(--mango);
}
.faq-q[aria-expanded="true"] .pm {
  transform: rotate(45deg);
}
.faq-a p {
  color: var(--silver);
}
.rbar-wrap {
  height: 14px;
  border-radius: 99px;
  background: rgba(29, 35, 29, 0.1);
  overflow: hidden;
}
.rbar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mango), var(--clay));
}
.src-card {
  border-left: 6px solid var(--mango);
}
.hero-aa .contour {
  display: none;
}
.hero-title {
  font-size: clamp(3rem, 8.5vw, 7rem);
  font-weight: 900;
}
.hero-title .amber {
  color: var(--mango);
}
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}
.sign-card {
  background: var(--green);
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow:
    0 0 0 3px var(--green),
    0 10px 30px rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 1.4rem 1.6rem;
}
.sign-card .mono {
  color: var(--mango);
}

/* ===== v4 patch: icon-tile quick cards (emergency grid) ===== */
.icon-tile {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #ece8df;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.quick-card {
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  transition: 0.2s;
  position: relative;
}
.quick-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 16px 32px rgba(29, 35, 29, 0.12);
}
.quick-card .ghost {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--fd);
  font-weight: 900;
  font-size: 1.6rem;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--taupe);
}
.quick-card h3 {
  font-size: 1.7rem;
  margin: 1.4rem 0 0.6rem;
}
.quick-card p {
  color: #6b7268;
}
.quick-card a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.quick-card a i {
  display: inline-block;
  transition: 0.2s;
}
.quick-card a:hover i {
  transform: translateX(4px);
}
/* rain switch */
.rain-label {
  font-family: var(--fh);
  font-size: 1.3rem;
  color: #6b7268;
}
.form-check-input:checked {
  background-color: var(--green);
  border-color: var(--green);
}
.stat-chip {
  background: rgba(246, 241, 230, 0.06);
  border: 1px solid rgba(246, 241, 230, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.stat-chip b {
  font-family: var(--fd);
  font-size: 1.9rem;
  color: var(--mango);
  display: block;
  line-height: 1;
}

/* cards, lists, numbers */
.card-x {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.2s;
  height: 100%;
}
.card-x:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 14px 30px rgba(29, 35, 29, 0.14);
}
.card-x .icon-sq {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--mango);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.card-x .icon-sq.amber {
  background: var(--mango);
  color: var(--ink);
}
/* ===== v11 patch: cards are natural height by default ===== */
.card-x {
  height: auto;
}
.num-ghost {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 3.4rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--taupe);
  line-height: 1;
}
.duotone {
  filter: sepia(0.14) saturate(1.08) contrast(1.03);
} /* warm grade, photos stay real */
.img-frame {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(23, 27, 22, 0.45));
}
.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rule-list li {
  border-top: 2px dashed var(--line);
  padding: 1.1rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
}
.rule-list li:last-child {
  border-bottom: 2px dashed var(--line);
}
.band-green {
  background: var(--green);
  color: #fff;
}
.band-bush {
  background: var(--noise), var(--char);
  color: var(--paper);
}
.bignum {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--mango);
  line-height: 1;
}

/* speed widget */
.dial-box {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--taupe);
}
.dial-box input[type="range"] {
  width: 100%;
  accent-color: var(--mango);
}
.speed-read {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  color: var(--clay);
}
.risk-bar {
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--mango), var(--clay));
  position: relative;
}
.risk-bar .pin {
  position: absolute;
  top: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--ink);
  transform: translateX(-50%);
  transition: 0.2s;
}

/* pledge wall = noticeboard */
#pledgeWall {
  background: #efe7d6;
  border: 2px dashed #b9ad93;
  border-radius: 6px;
  background-image: radial-gradient(
    circle at 8px 8px,
    rgba(193, 75, 42, 0.08) 0 3px,
    transparent 4px
  );
  background-size: 56px 56px;
}
.pledge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fffdf6;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 3px;
  padding: 0.3rem 0.8rem;
  font-family: var(--fh);
  font-size: 1.25rem;
  margin: 0.3rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  position: relative;
}
.pledge-chip i {
  display: none;
}
.pledge-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clay);
  position: absolute;
  top: -4px;
  left: 50%;
}
.pledge-chip:nth-child(even) {
  transform: rotate(1.6deg);
}
.pledge-chip:nth-child(odd) {
  transform: rotate(-1.4deg);
}
.pledge-chip:nth-child(3n)::before {
  background: var(--mango);
}

/* tables / leaderboard */
.table-aa thead {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.table-aa {
  --bs-table-hover-bg: rgba(242, 165, 12, 0.1);
}
.podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1rem;
  align-items: end;
}
.podium .p {
  border-radius: 14px 14px 0 0;
  padding: 1.4rem 1rem;
  text-align: center;
  color: #fff;
}
.podium .p1 {
  background: var(--green);
  min-height: 220px;
  border-top: 8px solid var(--mango);
}
.podium .p2 {
  background: #2a322b;
  min-height: 180px;
}
.podium .p3 {
  background: #3d443c;
  min-height: 150px;
}
.badge-x {
  font-family: var(--fm);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  background: var(--mango);
  color: var(--ink);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.badge-x-green {
  background: var(--aa-forest);
  color: var(--aa-white);
  font-family: var(--fm);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.badge-x-red {
  background: var(--aa-clay);
  color: var(--aa-white);
  font-family: var(--fm);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

/* forms / wizard */
.form-aa .form-control,
.form-aa .form-select {
  border-radius: 8px;
  border: 1.5px solid var(--line);
  padding: 0.7rem 0.9rem;
  background: #fffdf6;
}
.form-aa .form-control:focus,
.form-aa .form-select:focus {
  border-color: var(--mango);
  box-shadow: 0 0 0 0.2rem rgba(242, 165, 12, 0.2);
}
.wizard-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-weight: 700;
  background: var(--taupe);
  color: var(--ink);
}
.wizard-dot.on {
  background: var(--mango);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.wizard-dot.done {
  background: var(--green);
  color: #fff;
}

/* gallery / filmstrip */
.lb-grid {
  columns: 3;
  gap: 1.1rem;
}
.lb-grid .lb-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.4rem 0;
  transform: rotate(-0.5deg);
}
.lb-grid .lb-item:nth-child(even) {
  transform: rotate(0.6deg);
}
.lb-grid img {
  transition: 0.4s;
  width: 100%;
}
.lb-item:hover img {
  transform: scale(1.04);
}
.filmstrip {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding: 1.4rem 0.5rem 1.6rem;
  scroll-snap-type: x mandatory;
}
.filmstrip > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}
.filmstrip::-webkit-scrollbar {
  height: 8px;
}
.filmstrip::-webkit-scrollbar-thumb {
  background: var(--mango);
  border-radius: 99px;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(23, 27, 22, 0.93);
  display: none;
  place-items: center;
  z-index: 2000;
  padding: 2rem;
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-height: 82vh;
  border-radius: 8px;
  border: 3px solid #fff;
}

/* phone mock */
.phone-mock {
  width: 290px;
  border-radius: 38px;
  background: var(--ink);
  border: 8px solid #2a322b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin: auto;
}
.phone-mock .screen {
  background: var(--paper);
  min-height: 560px;
  padding: 1rem;
}
.phone-notch {
  height: 26px;
  width: 120px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  margin: -1rem auto 0.8rem;
}

/* flow space */
.flow-step {
  min-height: 88vh;
  display: flex;
  align-items: center;
  border-left: 3px dashed var(--taupe);
  position: relative;
  padding-left: 3rem;
}
.flow-step::before {
  content: attr(data-km);
  position: absolute;
  left: -1.55rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--fm);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  background: var(--mango);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.flow-step .km-dot {
  position: absolute;
  left: -9px;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--clay);
  border: 3px solid var(--paper);
  border-radius: 50%;
}

/* footer */
.footer-aa {
  background: var(--noise), var(--char);
  color: var(--silver);
}
.footer-aa h6 {
  color: var(--mango);
  font-family: var(--fd);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-aa a {
  color: var(--silver);
  text-decoration: none;
}
.footer-aa a:hover {
  color: var(--mango);
}
.footer-word {
  font-family: var(--fh);
  font-weight: 700;
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 1;
  color: var(--mango);
  transform: rotate(-1.5deg);
}

/* misc */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s ease;
}
.reveal.on {
  opacity: 1;
  transform: none;
}
.chip-f {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
}
.chip-f.on {
  background: var(--ink);
  color: var(--paper);
}
#toTop {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1500;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--mango);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  display: none;
  place-items: center;
  font-size: 1.2rem;
}
.toast-aa {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--mango);
  border-radius: 12px;
  padding: 0.8rem 1.4rem;
  font-family: var(--fh);
  font-size: 1.3rem;
  z-index: 3000;
  display: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ===== v5 patch: force readable ink inside light cards on dark bands ===== */
.card-x {
  color: var(--ink);
}
.sticker {
  color: var(--ink);
} /* handwriting on stickers: always ink */
.muted-x {
  color: #5c6459;
} /* proper grey for card body copy */
.card-x a:not(.btn-hazard):not(.btn-green):not(.btn-ghost) {
  color: var(--green);
}
@media (max-width: 991px) {
  .lb-grid {
    columns: 2;
  }
  .podium {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .lb-grid {
    columns: 1;
  }
  .hero-title {
    font-size: 3.2rem;
  }
}
/* evidence frame — for aftermath photos */
.evidence {
  background: #fff;
  border: 3px solid var(--ink);
  padding: 0.5rem 0.5rem 2.5rem;
  position: relative;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 16px 36px rgba(20, 20, 10, 0.32);
}
.evidence .tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--clay);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  z-index: 2;
}
.evidence .cap {
  font-family: var(--fh);
  color: #5a5a52;
  position: absolute;
  bottom: 0.4rem;
  left: 0.8rem;
  font-size: 1.05rem;
}
/* sign-education card */
.sign-edu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  height: 100%;
}
.sign-edu img {
  height: 90px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}
.sign-edu .say {
  font-family: var(--fh);
  font-size: 1.25rem;
  color: var(--clay);
}

/* ===== v7: the console (back office) ===== */
.console {
  display: flex;
  min-height: 100vh;
}
.c-side {
  width: 260px;
  flex: 0 0 260px;
  background: var(--noise), linear-gradient(180deg, #0f291d 0%, #171b16 100%);
  color: var(--silver);
  padding: 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.c-side .who {
  border-block: 2px dashed rgba(246, 241, 230, 0.15);
  padding: 0.7rem 0.2rem;
  margin: 0.8rem 0;
}
.c-side a {
  color: var(--silver);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.c-side a:hover {
  background: rgba(242, 165, 12, 0.12);
  color: var(--mango);
}
.c-side a.on {
  background: var(--mango);
  color: var(--ink);
}
.c-main {
  flex: 1;
  min-width: 0;
  padding: 1.6rem clamp(1rem, 3vw, 2.5rem);
  background: var(--noise), var(--paper);
}
.c-h {
  font-family: var(--fd);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 0.95;
}
.stat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  height: 100%;
}
.stat-tile b {
  font-family: var(--fd);
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.status {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.st-ok {
  background: #e2efe5;
  color: var(--green);
}
.st-wait {
  background: #fdf3d7;
  color: #b98900;
}
.st-bad {
  background: #f7e3dd;
  color: var(--clay);
}
.st-new {
  background: var(--mango);
  color: var(--ink);
}
.st-live {
  background: var(--green);
  color: #fff;
}
.c-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.c-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
@media (max-width: 991px) {
  .console {
    flex-direction: column;
  }
  .c-side {
    width: 100%;
    flex: auto;
  }
}
/* ===== v8: CMS bits ===== */
#admTabs .nav-link,
#edTabs .nav-link {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
#admTabs .nav-link.active,
#edTabs .nav-link.active {
  background: var(--mango);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.swatch input {
  position: absolute;
  opacity: 0;
}
.swatch span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c);
  display: inline-block;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--taupe);
  cursor: pointer;
}
.swatch input:checked + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.swatch small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.media-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
}
.media-item img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  display: block;
}
.media-item i {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  background: var(--paper);
  border-radius: 6px;
  padding: 0.15rem 0.35rem;
  color: var(--ink);
}
.sess {
  border-left: 4px solid var(--taupe);
  padding-left: 0.9rem;
}
.sess.now {
  border-left-color: var(--green);
}

/* ===== v9: minimal console — the back office goes quiet ===== */
.console {
  background: #f7f6f2;
}

/* sidebar: light, neutral, one dark pill for active */
.c-side {
  /* background: #fcfbf8; */
  border-right: 1px solid #e7e4dc;
  color: #6b7268;
}
.c-side a {
  color: #6b7268;
}
.c-side a:hover {
  background: #f1efe8;
  color: var(--ink);
}
/* .c-side a.on {
  background: var(--ink);
  color: #fff;
} */
.c-side .who {
  border-color: #e7e4dc;
}
.c-side .who b {
  color: var(--ink);
}
.c-side .oval {
  background: var(--ink);
  border-color: var(--ink);
} /* brand goes mono */
.c-side .hand {
  color: #9a9891;
}

/* canvas + type */
/* .c-main {
  background: #f7f6f2;
} */
.c-h {
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.c-main .sec-label {
  color: #8a8f87;
}
.c-main .hand {
  font-size: 1.15rem;
  color: #8a8f87;
} /* notes stay, whisper */

/* surfaces: flat white, hairline borders, no shadow */
.c-card,
.stat-tile {
  background: #fff;
  border: 1px solid #e7e4dc;
  border-radius: 10px;
  box-shadow: none;
}
.c-main .stat-tile b {
  color: var(--ink) !important;
  font-size: 1.7rem;
}

/* buttons: solid ink primary, quiet secondaries, no offset shadows */
.c-main .btn-hazard,
.c-main .btn-green,
.c-main .btn-ghost {
  box-shadow: none;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}
.c-main .btn-hazard {
  background: var(--ink);
  color: #fff;
}
.c-main .btn-hazard:hover {
  transform: none;
  background: #000;
}
.c-main .btn-green {
  background: var(--green);
  color: #fff;
}
.c-main .btn-green:hover {
  transform: none;
}
.c-main .btn-ghost {
  background: #fff;
  border: 1px solid #dcd8ce;
  color: var(--ink);
}
.c-main .btn-ghost:hover {
  transform: none;
  background: #f1efe8;
}

/* tabs: underline style instead of candy pills */
.c-main #admTabs .nav-link,
.c-main #edTabs .nav-link {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #6b7268;
  box-shadow: none;
  padding: 0.4rem 0.6rem;
}
.c-main #admTabs .nav-link.active,
.c-main #edTabs .nav-link.active {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* tables: light header, hairline rows */
.c-main .table-aa thead {
  background: transparent;
  color: #8a8f87;
}
.c-main .table-aa thead th {
  border-bottom: 1px solid #e7e4dc;
  font-weight: 600;
}
.c-main .table td,
.c-main .table th {
  border-color: #f0eee7;
}

/* chips & meters: desaturated, functional colour only where it means something */
.c-main .badge-x {
  background: #efede6;
  color: #4a4a44;
} /* role tags go neutral */
.c-main .rbar {
  background: var(--ink);
}
.c-main .rbar-wrap {
  background: #efede6;
}
.c-main .icon-tile {
  background: #f1efe8;
}
.c-main .polaroid {
  transform: none !important;
  box-shadow: none;
  border: 1px solid #e7e4dc;
}
.c-main .form-control,
.c-main .form-select {
  background: #fcfbf8;
  border-color: #dcd8ce;
}

/* ============================================================
   ARRIVE ALIVE UGANDA — PRODUCT DESIGN ENHANCEMENTS v3
   Human editorial + civic-tech visual language
   ============================================================ */

:root {
  --aa-forest: #0d4a39;
  --aa-forest-deep: #092f26;
  --aa-forest-soft: #dfe9df;
  --aa-cream: #f6f1e6;
  --aa-sand: #e9dfcb;
  --aa-orange: #ef9a35;
  --aa-clay: #c45132;
  --aa-ink: #1d231d;
  --aa-white: #fffdf8;
  --aa-line: rgba(29, 35, 29, 0.13);
  --aa-shadow: 0 20px 60px rgba(26, 31, 25, 0.13);
}

body {
  background-color: var(--paper);
}

/* --- subtle motion: visible, useful, never gimmicky --- */
@keyframes aa-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes aa-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 154, 53, 0.45);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(239, 154, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 154, 53, 0);
  }
}
@keyframes aa-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal {
  transform: translateY(26px);
}
.reveal-left {
  transform: translateX(-28px);
}
.reveal-right {
  transform: translateX(28px);
}
.reveal-scale {
  transform: scale(0.96);
}
.reveal.on,
.reveal-left.on,
.reveal-right.on,
.reveal-scale.on {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 {
  transition-delay: 0.08s;
}
.reveal.delay-2 {
  transition-delay: 0.16s;
}
.reveal.delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- image storytelling --- */
.aa-photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #d9d4c7;
  box-shadow: var(--aa-shadow);
}
.aa-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
}
.aa-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}
.aa-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 24, 18, 0.5));
  pointer-events: none;
}
.aa-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  color: #fff;
  z-index: 2;
}
.aa-photo-caption small {
  font-family: var(--fm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  color: #f5d08f;
}
.aa-photo-caption strong {
  display: block;
  font-family: var(--fd);
  font-size: 1.55rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.aa-editorial-card {
  background: var(--aa-white);
  border: 1px solid var(--aa-line);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.aa-editorial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(26, 31, 25, 0.12);
}
.aa-editorial-card .body {
  padding: 1.25rem;
}
.aa-editorial-card .tag {
  color: var(--aa-clay, var(--clay));
  font: 600 0.68rem var(--fm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.aa-editorial-card h3 {
  font-size: 1.7rem;
  margin: 0.45rem 0;
}
.aa-editorial-card p {
  color: #5b645a;
  margin: 0;
  line-height: 1.55;
}

/* --- impact band --- */
.aa-impact-band {
  background: var(--aa-forest-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.aa-impact-band:before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(239, 154, 53, 0.08);
  right: -160px;
  top: -220px;
}
.aa-impact-stat {
  padding: 1.25rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.aa-impact-stat:first-child {
  border-left: 0;
}
.aa-impact-stat b {
  display: block;
  font: 800 clamp(2rem, 4vw, 3.3rem) var(--fd);
  line-height: 0.9;
  color: #fff7e7;
}
.aa-impact-stat span {
  display: block;
  margin-top: 0.4rem;
  color: #b9c9c1;
  font: 500 0.67rem var(--fm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- partner carousel --- */
.aa-partner-section {
  background: #f0eadf;
  overflow: hidden;
}
.aa-partner-track .carousel-item {
  padding: 10px 0;
}
.aa-partner-logo {
  min-height: 115px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(29, 35, 29, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  transition: 0.25s ease;
}
.aa-partner-logo:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(30, 35, 29, 0.1);
}
.aa-partner-logo strong {
  font: 700 1.35rem var(--fd);
  text-transform: uppercase;
  color: var(--aa-forest);
}
.aa-partner-logo small {
  display: block;
  color: #747c75;
  font: 500 0.6rem var(--fm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* --- campaign / CTA --- */
.aa-campaign {
  background: linear-gradient(
    120deg,
    var(--aa-forest) 0%,
    #125640 55%,
    #1a664c 100%
  );
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.aa-campaign .image {
  min-height: 360px;
}
.aa-campaign .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aa-campaign .copy {
  padding: clamp(2rem, 5vw, 4rem);
}
.aa-campaign .eyebrow {
  color: #f6c45b;
  font: 600 0.67rem var(--fm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.aa-campaign h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin: 0.6rem 0 1rem;
}
.aa-campaign p {
  color: #d9e6df;
  max-width: 560px;
}

/* --- horizontal story rail --- */
.aa-story-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 2px 25px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.aa-story {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
}
.aa-story img {
  height: 220px;
}
.aa-story .body {
  padding: 1rem 0.1rem;
}
.aa-story h3 {
  font-size: 1.55rem;
  margin: 0.25rem 0;
}

/* --- safety page upgrades --- */
.aa-safety-photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}
.aa-safety-photo-grid .large {
  min-height: 430px;
}
.aa-safety-photo-grid .small {
  min-height: 208px;
}
.aa-safety-photo-stack {
  display: grid;
  gap: 14px;
}
.aa-safety-action {
  border: 1px solid var(--aa-line);
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  transition: 0.25s ease;
}
.aa-safety-action:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(20, 30, 20, 0.1);
}
.aa-safety-action i {
  font-size: 1.7rem;
  color: var(--aa-clay);
}
.aa-safety-action h3 {
  font-size: 1.5rem;
  margin: 0.7rem 0 0.3rem;
}
.aa-safety-action p {
  color: #697168;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* --- better map controls --- */
.aa-map-legend {
  position: absolute;
  z-index: 800;
  right: 16px;
  bottom: 66px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid #d8d3c8;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 10px;
  box-shadow: 0 5px 18px rgba(20, 30, 20, 0.1);
}
.aa-map-legend span {
  margin-right: 10px;
}
.aa-map-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
}
.aa-map-live {
  animation: aa-pulse-ring 1.8s infinite;
  border-radius: 50%;
}

/* --- admin product system --- */
.aa-admin-hero {
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(239, 154, 53, 0.18),
      transparent 35%
    ),
    var(--char);
  padding: 1.5rem;
  border-radius: 12px;
}
.aa-admin-kpi {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 1rem;
  height: 100%;
}
.aa-admin-kpi b {
  font: 800 2rem var(--fd);
  color: #fff;
}
.aa-admin-kpi span {
  display: block;
  color: #aebbb3;
  font: 500 0.62rem var(--fm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aa-quick-action {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  gap: 12px;
  align-items: center;
  transition: 0.2s;
}
.aa-quick-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20, 30, 20, 0.1);
  color: var(--ink);
}
.aa-quick-action i {
  font-size: 1.4rem;
  color: var(--green);
}
.aa-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.aa-table-row:hover {
  background: #faf7ee;
}

/* --- responsive --- */
@media (max-width: 767px) {
  .aa-impact-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .aa-safety-photo-grid {
    grid-template-columns: 1fr;
  }
  .aa-safety-photo-grid .large {
    min-height: 300px;
  }
  .aa-safety-photo-grid .small {
    min-height: 190px;
  }
  .aa-campaign .image {
    min-height: 260px;
  }
}

/* ============================================================
   v10 — NAV COMPACT + ADMIN DISPLAY FIX
   ============================================================ */

/* ---- Public navbar: fit everything on one line ---- */
.navbar-aa {
  padding: 0.45rem 0;
}
.navbar-aa .nav-link {
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.45rem !important;
  white-space: nowrap;
}
.navbar-aa .nav-link.dropdown-toggle {
  padding-right: 0.35rem !important;
}
.navbar-aa .dropdown-item {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
}
.brand-oval .oval {
  font-size: 0.88rem !important;
  padding: 0.22rem 0.85rem !important;
}
.brand-oval small {
  font-size: 0.55rem !important;
  letter-spacing: 0.18em;
}

/* Compact CTA in navbar only */
.navbar-aa .btn-hazard {
  font-size: 0.72rem !important;
  padding: 0.35rem 0.75rem !important;
  letter-spacing: 0.04em;
  box-shadow: 2px 2px 0 var(--ink);
  gap: 0.3rem;
}
.navbar-aa .btn-hazard:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.navbar-aa .btn-hazard i {
  font-size: 0.85em;
}

/* Tighter gaps between nav items */
.navbar-aa .navbar-nav {
  gap: 0 !important;
}
.navbar-aa .navbar-nav.gap-lg-1 {
  --bs-gutter-x: 0;
}

/* Topbar slightly tighter */
.topbar-aa {
  font-size: 0.72rem;
}
.topbar-aa .mono {
  font-size: 0.65rem;
}

/* ---- Admin: unify console-side / c-side display ---- */
.console {
  display: flex;
  min-height: 100vh;
  background: #f7f6f2;
}
.console-side,
.c-side {
  width: 250px;
  flex: 0 0 250px;
  background: #0f291d;
  color: #a8b3a8;
  padding: 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
}
.console-side a,
.c-side a {
  color: #a8b3a8;
  text-decoration: none;
  padding: 0.48rem 0.7rem;
  border-radius: 7px;
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.console-side a:hover,
.c-side a:hover {
  background: rgba(242, 165, 12, 0.12);
  color: var(--mango);
}
.console-side a.on,
.c-side a.on {
  background: var(--mango);
  color: var(--ink);
}
.console-side .who,
.c-side .who {
  border-block: 1px dashed rgba(246, 241, 230, 0.15);
  padding: 0.65rem 0.25rem;
  margin: 0.6rem 0;
}
.console-side .who b,
.c-side .who b {
  color: #f6f1e6;
  font-family: var(--fd);
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.console-side .brand-oval .oval,
.c-side .brand-oval .oval {
  font-size: 0.8rem !important;
  padding: 0.2rem 0.7rem !important;
}
.console-side .hand,
.c-side .hand {
  color: #7a857a;
  font-size: 1.05rem;
  margin-top: auto;
  padding-top: 1rem;
}

.console-main,
.c-main {
  flex: 1;
  min-width: 0;
  padding: 1.4rem clamp(1rem, 2.5vw, 2.2rem);
  background: #f7f6f2;
  overflow-x: hidden;
}

/* Admin content cards consistency */
.console-main .c-card,
.c-main .c-card {
  background: #fff;
  border: 1px solid #e7e4dc;
  border-radius: 12px;
}

/* Responsive admin */
@media (max-width: 991.98px) {
  .console {
    flex-direction: column;
  }
  .console-side,
  .c-side {
    width: 100%;
    flex: none;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Extra-large screens: slightly more breathing room in nav */
@media (min-width: 1400px) {
  .navbar-aa .nav-link {
    font-size: 0.82rem !important;
    padding: 0.35rem 0.55rem !important;
  }
}
/* ===== v10: pickers, dropzone, memorial ===== */
.pick {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
  cursor: pointer;
  height: 100%;
  transition: 0.15s;
  display: block;
}
.pick input {
  display: none;
}
.pick:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--taupe);
  background: #fffdf6;
}
.pick i {
  font-size: 1.3rem;
  color: var(--green);
}
.pick:has(input:checked) i {
  color: var(--clay);
}
.pick b {
  font-family: var(--fd);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.4rem;
}
.pick small {
  color: #77806f;
}
.drop {
  border: 2px dashed var(--taupe);
  border-radius: 12px;
  background: #fbfaf6;
  padding: 1.6rem;
  text-align: center;
  cursor: pointer;
}
.drop:hover {
  border-color: var(--mango);
}
.candle {
  color: var(--mango);
  animation: flick 1.6s infinite;
}
@keyframes flick {
  50% {
    opacity: 0.55;
    transform: scale(0.94);
  }
}
.mem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  height: 100%;
}
.mem-card b {
  font-family: var(--fd);
  text-transform: uppercase;
  font-size: 1.25rem;
}
.mem-card .line {
  font-family: var(--fh);
  font-size: 1.2rem;
  color: #5c6459;
}

/* ===== v12: hero video + colour grade ===== */
.hero-video-wrap {
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.grade-multiply {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: multiply;
  background: linear-gradient(
    165deg,
    rgba(15, 41, 29, 0.88) 0%,
    rgba(18, 53, 39, 0.74) 42%,
    rgba(23, 27, 22, 0.92) 100%
  );
}
.grade-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: screen;
  background: radial-gradient(
    900px 420px at 85% -10%,
    rgba(242, 165, 12, 0.26),
    transparent 60%
  );
}
.hero-video-wrap > .container {
  position: relative;
  z-index: 2;
}
.hero-video-wrap .roadline {
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

/* ===== v13: hero video, graded from CSS ===== */
.hero-video-wrap {
  --vid-bright: 0.82; /* overall exposure   */
  --vid-sat: 1.5; /* punch              */
  --vid-hue: -12deg; /* push toward green  */
  --wash: rgba(11, 104, 54, 0.5); /* green wash (top)   */
  --floor: rgba(23, 27, 22, 0.84); /* charcoal (bottom)  */
}
.hero-video {
  filter: brightness(var(--vid-bright)) saturate(var(--vid-sat))
    hue-rotate(var(--vid-hue)) contrast(1.06);
}
.grade-multiply {
  background: linear-gradient(180deg, var(--wash), var(--floor)) !important;
}

/* true CSS-only alternative: export a 6–8s loop as WebP, add class="no-video" to the header */
.hero-video-wrap.no-video .hero-video,
.hero-video-wrap.no-video .grade-multiply {
  display: none;
}
.hero-video-wrap.no-video {
  background-image:
    linear-gradient(180deg, var(--wash), var(--floor)),
    url("assets/video/hero-loop.webp");
  background-size: cover;
  background-position: center;
}
/* ========== Force video as full-bleed background ========== */
.hero-video-wrap {
  position: relative !important;
  min-height: 100vh;
  overflow: hidden;
  background: #0f291d; /* fallback only while video loads */
}

/* This is the critical part */
.hero-video-wrap .hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  pointer-events: none;
}

/* Make sure the overlays sit ABOVE the video but BELOW the content */
.hero-video-wrap .grade-multiply,
.hero-video-wrap .grade-glow {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none;
}

/* Content must be above everything */
.hero-video-wrap .container {
  position: relative !important;
  z-index: 3 !important;
}

/* Recommended overlay strength so video is still visible */
.hero-video-wrap .grade-multiply {
  background: rgba(15, 41, 29, 0.55); /* reduce opacity if needed */
  mix-blend-mode: multiply;
}

.hero-video-wrap .grade-glow {
  background: linear-gradient(
    105deg,
    rgba(15, 41, 29, 0.7) 0%,
    rgba(15, 41, 29, 0.3) 55%,
    transparent 100%
  );
}

/* ============================================================
   FINAL FIX – make the hero video actually visible
   ============================================================ */

/* 1. Kill the solid background when the video wrapper is present */
.hero-aa.hero-video-wrap {
  background: #0f291d !important; /* only fallback colour */
}

/* 2. Force the video to cover everything */
.hero-video-wrap {
  position: relative !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}

.hero-video-wrap .hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  opacity: 1 !important;
  display: block !important;
  pointer-events: none;
}

/* 3. Overlays – lighter so the video can be seen */
.hero-video-wrap .grade-multiply {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: rgba(
    15,
    41,
    29,
    0.55
  ) !important; /* ← reduce if still too dark */
  mix-blend-mode: multiply !important;
  pointer-events: none;
}

.hero-video-wrap .grade-glow {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(
    105deg,
    rgba(15, 41, 29, 0.6) 0%,
    rgba(15, 41, 29, 0.25) 55%,
    transparent 100%
  ) !important;
  mix-blend-mode: normal !important;
  pointer-events: none;
}

/* 4. Content always on top */
.hero-video-wrap > .container,
.hero-video-wrap .roadline {
  position: relative !important;
  z-index: 3 !important;
}

.aa-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

/* ===== v15: admin greeting hero ===== */
.aa-admin-hero {
  background:
    var(--noise),
    radial-gradient(
      700px 300px at 92% 0%,
      rgba(242, 165, 12, 0.14),
      transparent 60%
    ),
    linear-gradient(140deg, #0f291d 0%, #171b16 72%);
  border-radius: 16px;
  padding: 2rem 2rem 1.8rem;
}
.aa-admin-hero h1 {
  font-family: var(--fd);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 0.95;
  color: #fff;
}
.aa-admin-hero .sub {
  color: #aebbb3;
}

/* ===== v16: console cards & button hierarchy ===== */
/* the card fix: anchors are inline by default — this was the whole bug */
a.c-card {
  display: block;
}
.c-main a.c-card {
  color: var(--ink);
}
.c-main a.c-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(29, 35, 29, 0.1);
}
.c-card .icon-tile {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

/* button hierarchy: mango = primary, green = success, white = secondary */
.c-main .btn-hazard {
  background: var(--mango);
  color: var(--ink);
  border: none;
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 8px;
}
.c-main .btn-hazard:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}
.c-main .btn-green {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
}
.c-main .btn-green:hover {
  color: #fff;
}
.c-main .btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #dcd8ce;
  border-radius: 8px;
  box-shadow: none;
}
.c-main .btn-ghost:hover {
  background: #f1efe8;
  color: var(--ink);
}

/* ghost buttons that sit ON the dark hero stay transparent-white */
.aa-admin-hero .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.aa-admin-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ===== v19: bigger brand badge ===== */
.brand-logo {
  height: 60px;
} /* navbar (was 46px) */
.c-side .brand-logo {
  height: 52px;
} /* console sidebar  */
@media (max-width: 991px) {
  .brand-logo {
    height: 48px;
  }
}
.partner-car .aa-partner-logo {
  filter: grayscale(1);
  opacity: 0.72;
  transition: 0.25s;
  min-height: 100px;
}
.partner-car .aa-partner-logo:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
}
.partner-car .carousel-control-prev,
.partner-car .carousel-control-next {
  width: 4%;
  opacity: 0.9;
}
.partner-car .carousel-control-prev-icon,
.partner-car .carousel-control-next-icon {
  filter: invert(0.35);
  width: 18px;
  height: 18px;
}

/* Add to style.css */
.hero-title {
  overflow: hidden;
}
.hero-title .line {
  display: block;
  transform: translateY(100%);
  animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title .line:nth-child(2) {
  animation-delay: 0.15s;
}
.hero-title .line:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  to {
    transform: translateY(0);
  }
}

/* Subtle parallax on polaroids */
.polaroid {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* MAP styles */

#map {
  height: 66vh;
  border-radius: 12px;
  border: 2px solid var(--ink);
  z-index: 1;
  box-shadow: 6px 6px 0 var(--taupe);
}
.aa-pin {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}
.aa-pin.severe {
  background: var(--clay);
  animation: pulse 1.6s infinite;
}
.aa-pin.inj {
  background: var(--mango);
}
.aa-pin.near {
  background: var(--green);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(193, 75, 42, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(193, 75, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(193, 75, 42, 0);
  }
}
.leaflet-popup-content-wrapper {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 rgba(29, 35, 29, 0.25);
  font-family: var(--fb);
}
.leaflet-popup-tip {
  background: var(--ink);
}
.leaflet-popup-content {
  margin: 12px 14px;
}
#map.dark .leaflet-popup-content-wrapper {
  background: var(--char);
  color: var(--paper);
  border-color: var(--mango);
}
#map.dark .leaflet-popup-tip {
  background: var(--mango);
}
.aa-legend {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(29, 35, 29, 0.2);
}
.aa-legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  border: 2px solid var(--ink);
}
.watch-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.6rem;
  transition: 0.15s;
  cursor: pointer;
}
.watch-item:hover {
  transform: translateX(4px);
  border-color: var(--ink);
}
.watch-item .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid var(--ink);
}
.bar {
  height: 26px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  padding-left: 0.6rem;
  transition: 0.3s;
}
.bar.hot {
  background: var(--mango);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.donut {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green) 0 46%,
    var(--mango) 46% 74%,
    var(--clay) 74% 90%,
    var(--taupe) 90% 100%
  );
  display: grid;
  place-items: center;
  margin: auto;
}
.donut > div {
  width: 108px;
  height: 108px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
}

/* PRESS */

.init {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mango);
  display: grid;
  place-items: center;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

/* Login page Pills */
.nav-pills .nav-link {
  color: black !important;
  font-weight: 500;
  background-color: transparent !important;
}

.nav-pills .nav-link:hover {
  color: var(--ink) !important;
  background-color: var(--mango) !important;
}
.nav-pills .nav-link.active {
  color: var(--char) !important;
  background-color: var(--mango) !important;
}

/* Statistics */

.cbar {
  height: 30px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-family: var(--fm);
  font-size: 0.66rem;
  display: flex;
  align-items: center;
  padding-left: 0.6rem;
}
.cbar.warn {
  background: var(--mango);
  color: var(--ink);
}
.cbar.bad {
  background: var(--clay);
}
.donut {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: conic-gradient(
    var(--green) 0 46%,
    var(--mango) 46% 74%,
    var(--clay) 74% 90%,
    var(--taupe) 90% 100%
  );
  display: grid;
  place-items: center;
  margin: auto;
}
.donut > div {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
}

/* MAP */

#rmap {
  height: 56vh;
  border-radius: 12px;
  border: 2px solid var(--ink);
  z-index: 1;
  box-shadow: 6px 6px 0 var(--taupe);
}
.leaflet-popup-content-wrapper {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: var(--fb);
}
.leaflet-popup-tip {
  background: var(--ink);
}

/* Blog */
.blog-content {
  line-height: 1.85;
}

.blog-content p {
  margin-bottom: 1.15rem;
}

.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.25rem;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}

.blog-content blockquote {
  border-left: 4px solid var(--mango);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.blog-content a {
  text-decoration: underline;
}

.blog-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.blog-content th,
.blog-content td {
  border: 1px solid #ddd;
  padding: 0.65rem;
}


/* Deployment responsiveness and safer small-screen layout */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-width: 320px; overflow-wrap: anywhere; }
img, video, iframe, canvas, svg { max-width: 100%; }
img, video { height: auto; }
.table-responsive { max-width: 100%; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
.aa-language-switcher { max-width: 100%; }
.aa-language-switcher select { min-width: 112px; max-width: 155px; background-color: #17231d; color: #fff; border-color: #64736a; }
.aa-language-switcher option { color: #17231d; background: #fff; }
.navbar-aa .navbar-collapse { min-width: 0; }
.navbar-aa .navbar-nav { align-items: stretch; }
.navbar-aa .nav-link, .navbar-aa .btn-hazard { white-space: normal; }
@media (max-width: 991.98px) {
  .navbar-aa .navbar-collapse { max-height: calc(100dvh - 76px); overflow-y: auto; padding: .5rem 0 1rem; }
  .navbar-aa .navbar-nav { gap: .2rem !important; }
  .navbar-aa .dropdown-menu { max-width: 100% !important; position: static !important; float: none; }
  .aa-language-switcher { padding: .45rem 0; }
  .aa-language-switcher select { flex: 1 1 auto; max-width: none; }
}
@media (max-width: 767.98px) {
  .container, .container-fluid { --bs-gutter-x: 1.25rem; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.45rem, 5.5vw, 2.1rem); }
  .table-responsive table { min-width: 620px; }
  .aa-language-inner { padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .aa-language-prompt { padding: 10px 12px; }
  .aa-language-prompt .d-flex { width: 100%; }
  .aa-language-prompt .d-flex .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Keep the regional-language control legible on hover, focus and keyboard navigation. */
.aa-language-switcher{position:relative;z-index:1080;padding:.15rem;border-radius:.4rem}
.aa-language-switcher .btn-outline-light{color:#17231d!important;background:#fffdf8!important;border-color:#fffdf8!important;font-weight:700}
.aa-language-switcher .btn-outline-light:hover,.aa-language-switcher .btn-outline-light:focus-visible{color:#fff!important;background:#17231d!important;border-color:#e5a72d!important;box-shadow:0 0 0 .2rem rgba(229,167,45,.25)}
.aa-language-switcher select{min-width:120px;max-width:170px;color:#17231d!important;background-color:#fffdf8!important}
@media(max-width:991.98px){.aa-language-switcher{margin:.5rem 0}.aa-language-switcher select{flex:1;max-width:none}}
