/* WASH TRON - COMPACT LOCATIONS */

@media (min-width: 761px) {
  #locations.loc8 {
    display: grid;
    grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
    grid-template-rows: auto 480px;
    column-gap: 24px;
    row-gap: 24px;
    align-items: stretch;
    min-height: 0;
    padding: 70px clamp(24px, 6vw, 90px);
    background: #f7f5f2;
  }

  #locations .loc8-heading {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  #locations .loc8-heading h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.15;
    max-width: none;
    width: 100%;
    white-space: nowrap;
    margin: 12px 0 0;
  }

  #locations .loc8-heading h2 b {
    font-weight: 800;
    color: #928b83;
  }

  #locations .loc8-panel {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-width: 0;
    height: 480px;
    padding: 24px;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    box-shadow: none;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
  }

  #locations .loc8-panel input {
    margin: 0 0 12px;
    flex-shrink: 0;
  }

  #locations .loc8-f {
    flex-shrink: 0;
  }

#locations #llist {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 240px;
  overflow-y: auto !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  margin-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #ff5a00 #f5f2ee;
}
  #locations .loc8-panel #lme {
    align-self: flex-start;
    flex-shrink: 0;
  }

  #locations .pnote {
    flex-shrink: 0;
    margin-top: 10px;
  }

  #locations .loc8-map {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: 480px;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px !important;
    box-shadow: none;
  }

  #locations .loc8-map iframe {
    width: 100%;
    height: 100%;
  }
}

/* MOBILE */
@media (max-width: 760px) {
  #locations.loc8 {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 36px 16px;
    gap: 18px;
    background: #f7f5f2;
  }

  #locations .loc8-heading {
    order: 0;
  }

  #locations .loc8-heading h2 {
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.1;
    margin-top: 12px;
  }

  #locations .loc8-heading h2 b {
    color: #928b83;
  }

  #locations .loc8-panel {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
  }

  #locations #llist {
    max-height: 260px;
    overflow-y: auto;
  }

  #locations .loc8-map {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: 300px;
    border-radius: 12px !important;
    overflow: hidden;
  }
}
/* Keep the station list scrollable */
@media (min-width: 761px) {
  #locations .loc8-panel {
    display: flex !important;
    flex-direction: column !important;
    height: 480px;
    overflow: hidden;
  }

  #locations #llist {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
  }
}