/* Ordinary pages share AFFM's readable desktop width. The forecast map
   deliberately stays outside these selectors and keeps its existing layout. */
.sites11a-route-page:not(.sites11a-forecast-page) {
  max-width: 1208px;
}

/* Tables, camp maps and temperature charts need a little more room. */
#sites11a-page-alerts,
#sites11a-page-dashboard {
  max-width: 1440px;
}

/* Keep the home quick links readable as their containing page narrows. */
.home-page .card-grid.five-up {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

@media (min-width: 1025px) {
  .sites11a-route-page:not(.sites11a-forecast-page) {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* Approved six-card quick links: decorative icons alongside text headings. */
.home-page .hsf-home-quick-links { grid-auto-rows: 1fr; }
.home-page .hsf-home-quick-links .link-card {
  min-width: 0;
  padding: 20px;
}
.home-page .hsf-home-quick-links .hsf-quick-link-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.home-page .hsf-quick-link-heading > span { min-width: 0; }
.home-page .hsf-quick-link-icon {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--burgundy, #9d2235);
}
.home-page .hsf-home-quick-links .link-card p {
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.home-page .hsf-home-quick-links .link-card:focus-visible {
  outline: 2px solid var(--burgundy, #9d2235);
  outline-offset: 3px;
}
