/* The homepage actions share one responsive button system. */
.page-home .atlas-hero-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-items: stretch;
  inline-size: 100%;
  max-inline-size: 36rem;
}

.page-home .atlas-hero-actions > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-inline-size: 0;
  min-block-size: 52px;
  padding: 14px 18px;
  border: 1px solid #53647b;
  border-radius: 4px;
  box-shadow: none;
  font: 600 .875rem/1.5 var(--sans);
  letter-spacing: 0;
  text-align: start;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.page-home .atlas-hero-actions > a[href="/dashboards/"] {
  color: #102635;
  background: #d4a17b;
  border-color: #d4a17b;
}

.page-home .atlas-hero-actions > a[href="/spatial-profile/"] {
  color: #d6e1ef;
  background: transparent;
}

.page-home .atlas-hero-actions .hero-action-arrow {
  display: block;
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 18px;
}

@media (max-width: 600px) {
  .page-home .atlas-hero-actions { grid-template-columns: minmax(0, 1fr); }
}

.page-home .header #navigation a[href="/dashboards/"] {
  color: #f2c397;
  background: linear-gradient(0deg, #c28e6626, #c28e6600 80%);
  box-shadow: inset 0 -2px 0 #e7af7c;
  border-radius: 2px;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.page-home .header #navigation a[href="/dashboards/"]::after { color: inherit; }

@media (hover: hover) {
  .page-home .atlas-hero-actions > a[href="/dashboards/"]:hover {
    color: #102635;
    background: #e2b38e;
    border-color: #e2b38e;
  }
  .page-home .atlas-hero-actions > a[href="/spatial-profile/"]:hover {
    color: #fff;
    background: #18283c;
    border-color: #8ca1bc;
  }
  .page-home .header #navigation a[href="/dashboards/"]:hover {
    color: #fff1e3;
    background-color: #c28e661a;
  }
}

.page-home .atlas-hero-actions > a:focus-visible {
  outline: 2px solid #ffe2c8;
  outline-offset: 4px;
}
.page-home .header #navigation a[href="/dashboards/"]:focus-visible {
  outline: 2px solid #ffe2c8;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .atlas-hero-actions > a,
  .page-home .header #navigation a[href="/dashboards/"] { transition: none; }
}

@media (forced-colors: active) {
  .page-home .atlas-hero-actions > a[href],
  .page-home .header #navigation a[href="/dashboards/"] {
    color: LinkText;
    background: Canvas;
    border-color: LinkText;
    box-shadow: none;
    outline: 1px solid LinkText;
    outline-offset: 4px;
  }
}
