/* Goshen Rotary | Classic V4 Clouds | Desktop width override */
@media screen and (min-width: 1200px) {
  .main-body-wrapper > .main-header-wrapper,
  .main-body-wrapper > .main-content-wrapper,
  .main-body-wrapper > .footer-band {
    width: 100%;
    max-width: 1440px;
  }

  .main-header-wrapper > .login-band > .container,
  .main-header-wrapper > .navbar > .container,
  .main-content-wrapper .HomeContentWrapper > .band-wrapper > .container,
  .footer-band .WebsiteFooter > .container,
  .footer-band .system-footer > .container {
    width: 100%;
  }
}

/* Desktop navigation menu font size */
@media screen and (min-width: 992px) {
  .navbar-nav > li > a {
    font-size: 18px !important;
  }
}

/* Homepage opening section: 40% text, 60% race photo */
.storyBrief div:has(> figure > img[src*="Cropped-Run.png"]) {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: 22px;
}

.storyBrief figure:has(> img[src*="Cropped-Run.png"]) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}

.storyBrief figure > img[src*="Cropped-Run.png"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Phones: text first, full-width photo underneath */
@media screen and (max-width: 767px) {
  .storyBrief div:has(> figure > img[src*="Cropped-Run.png"]) {
    grid-template-columns: minmax(0, 1fr);
  }
}