/* --------------------------------------------------------------------------
   DESKTOP LOCATIONS MEGA-MENU
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .header-nav-item--folder.cfh-locations-menu-open .header-nav-folder-content#locations {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .header-nav-folder-content#locations {
    position: fixed !important;
    top: 150px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - 150px) !important;
    padding: 34px 28px 42px !important;
    overflow-y: auto !important;
    background: #fffaf0 !important;
    color: #1f1f1f !important;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .13) !important;
  }

  .cfh-header-location-tiles {
    display: grid;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .cfh-header-location-tiles .cfh-photo-frame {
    padding: 7px;
    box-shadow: 0 12px 27px rgba(0, 0, 0, .15);
  }

  .cfh-header-location-tiles .cfh-card-copy {
    margin-top: 12px;
  }

  .cfh-header-location-tiles .cfh-location-name {
    font-size: clamp(.9rem, 1.25vw, 1.22rem);
  }

  .cfh-header-location-tiles .cfh-location-status {
    margin-top: 5px;
    font-size: 8px;
  }
}

.cfh-location-card--link {
  cursor: pointer;
}

.cfh-location-card--link:focus-visible {
  outline: 3px solid #376b67;
  outline-offset: 7px;
}

/* --------------------------------------------------------------------------
   MOBILE LOCATIONS TILE FOLDER
   -------------------------------------------------------------------------- */
.cfh-mobile-location-tiles {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 390px;
  margin: 8px auto 45px;
  padding: 0 20px;
  grid-template-columns: 1fr;
  gap: 28px;
}

.cfh-mobile-location-tiles .cfh-location-card {
  transform: none !important;
}

.cfh-mobile-location-tiles .cfh-photo-frame {
  aspect-ratio: 16 / 9;
  padding: 5px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .14);
}

.cfh-mobile-location-tiles .cfh-card-copy {
  margin-top: 10px;
  transform: none;
}

.cfh-mobile-location-tiles .cfh-location-name {
  color: #fffaf0;
  font-size: 1.15rem;
}

.cfh-mobile-location-tiles .cfh-location-status {
  margin-top: 5px;
  font-size: 8px;
}

@media (min-width: 768px) {
  .cfh-mobile-location-tiles {
    display: none;
  }
}
