/* Distinct homepage controls: segmented navigation and angular action cards. */
.hero-sidebar .hero-events {
  margin-top: 0;
}

.hero-dashboard > .hero-sidebar {
  grid-column: 2;
}

.masthead-map {
  inset: 3% auto 3% 3.5%;
  width: 52%;
  height: 94%;
  object-fit: contain;
  object-position: left center;
  opacity: .38;
  filter: grayscale(1) invert(1) contrast(1.8);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
  animation: map-left-in .9s ease-out both;
}

@keyframes map-left-in {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: .38; transform: translateX(0); }
}

.hero-shortcuts {
  gap: 0;
  width: max-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(1,38,27,.58);
  box-shadow: 0 12px 30px rgba(0,30,20,.18);
  backdrop-filter: blur(10px);
}

.hero-shortcuts a {
  position: relative;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.15);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-shortcuts a:first-child { border-radius: 6px 0 0 6px; }
.hero-shortcuts a:last-child { border-right: 0; border-radius: 0 6px 6px 0; }

.hero-shortcuts a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  height: 2px;
  background: #f47b20;
  transition: left 180ms ease, right 180ms ease;
}

.hero-shortcuts a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
  transform: none;
}

.hero-shortcuts a:hover::after { right: 13px; left: 13px; }

.hero-dashboard { margin-top: 47px; }

.hero-primary {
  display: flex;
  flex-direction: column;
}

.hero-primary .masthead-copy { margin-top: 0; }

.hero-primary .masthead-copy > p:last-child {
  margin-bottom: 0;
}

.hero-primary .masthead-copy h1 {
  position: relative;
  padding-bottom: 19px;
}

.hero-primary .masthead-copy h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 76px;
  height: 5px;
  background: linear-gradient(90deg,#f47b20 0 68%,#fff 68% 76%,#14945b 76%);
}

.hero-promos {
  order: 2;
  max-width: 650px;
  margin-top: 29px;
  gap: 13px;
}

.hero-promo {
  position: relative;
  min-height: 72px;
  padding: 11px 18px 11px 11px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  box-shadow: 0 11px 25px rgba(0,35,22,.2);
}

.hero-promo.orange {
  border-left: 4px solid #f47b20;
  background: rgba(255,255,255,.94);
  color: #164333;
}

.hero-promo.green {
  border-left: 4px solid #fff;
  background: rgba(5,103,61,.88);
}

.hero-promo.orange > span:first-child {
  color: #fff;
  background: #f47b20;
}

.hero-promo.green > span:first-child {
  color: #087a4b;
  background: #fff;
}

.hero-promo.orange > span:nth-child(2) small { color: #687970; }
.hero-promo.orange > svg { color: #f47b20; }

.hero-promo > svg {
  width: 29px;
  height: 29px;
  padding: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-promo:hover {
  transform: translateY(-3px);
}

.hero-promo:hover > svg { transform: translateX(3px); }

.hero-tracker {
  padding: 17px;
  border-left: 3px solid #f47b20;
  background: rgba(1,42,29,.48);
  backdrop-filter: blur(8px);
}

.hero-tracker form { border-radius: 3px; }

.hero-tracker button {
  min-width: 104px;
  justify-content: center;
  border-left: 4px solid #fff;
  background: #f47b20;
}

.hero-event-list > a {
  border: 0;
  border-left: 3px solid rgba(255,255,255,.42);
  border-radius: 3px;
  background: rgba(255,255,255,.13);
}

.hero-event-list > a:hover { border-left-color: #f47b20; }

.hero-event-list b {
  padding: 0;
  border: 0;
  color: #f7ba8e;
  font-weight: 700;
}

.hero-event-list b::after { content: " →"; }

@media(max-width:980px) {
  .hero-dashboard > .hero-sidebar {
    grid-column: 1;
  }
}

@media(max-width:700px) {
  .hero-dashboard > .hero-sidebar {
    grid-column: 1;
  }
  .masthead-map {
    inset: 8% auto auto -4%;
    width: 92%;
    height: 72%;
    opacity: .2;
    animation-name: map-left-in-mobile;
  }
  @keyframes map-left-in-mobile {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: .2; transform: translateX(0); }
  }
  .hero-shortcuts {
    width: 100%;
    padding: 4px;
  }
  .hero-shortcuts a { padding-inline: 13px; }
  .hero-dashboard { margin-top: 34px; }
  .hero-promos { grid-template-columns: 1fr; }
}

@media(prefers-reduced-motion:reduce) {
  .masthead-map { animation:none; }
}
