html:has(body.locations-clubs-page),
body.locations-clubs-page {
  background: #0f131a;
  color: #d7dde6;
  color-scheme: dark;
}

body.locations-clubs-page #contenitore {
  background: #0f131a;
  padding-top: 110px;
}

body.locations-clubs-page #section__center {
  width: 1280px;
  max-width: 98%;
  margin: 12px auto 28px;
  padding: 0;
  float: none;
  text-align: left;
}

body.locations-clubs-page #containo {
  width: 100%;
  max-width: none;
  margin: 0;
  float: none;
}

.lac-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(232, 197, 122, 0.22);
  background: linear-gradient(180deg, #171d27 0%, #12161e 100%);
}

.lac-hero h1 {
  margin: 0;
  color: #f4ead4;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.lac-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lac-count,
.lac-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
}

.lac-count {
  color: #e8eef6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lac-cta {
  color: #1a140c;
  background: #e8c57a;
  border: 1px solid #e8c57a;
}

.lac-cta:hover {
  background: #f3d59a;
  color: #1a140c;
}

.lac-notice {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(232, 197, 122, 0.18);
  background: rgba(23, 29, 39, 0.88);
  color: #c8d0dc;
  font-size: 0.8rem;
  line-height: 1.45;
}

.lac-notice strong {
  display: block;
  margin: 0 0 4px;
  color: #e8c57a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.lac-split {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 12px;
  min-height: calc(100vh - 170px);
  align-items: stretch;
}

.lac-list {
  overflow: auto;
  max-height: calc(100vh - 170px);
  padding-right: 4px;
  border-radius: 16px;
  border: 1px solid rgba(232, 197, 122, 0.16);
  background: #121820;
}

.lac-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: inherit;
  box-sizing: border-box;
}

.lac-thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(232, 197, 122, 0.06);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.lac-thumb-link:hover,
.lac-thumb-link:focus-visible {
  background: rgba(232, 197, 122, 0.28);
  box-shadow: inset 0 0 0 2px #e8c57a;
  outline: none;
}

.lac-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #0e131b;
  border: 1px solid rgba(232, 197, 122, 0.35);
}

.lac-pin {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  background: rgba(233, 30, 140, 0.06);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.lac-pin:hover,
.lac-pin:focus-visible {
  background: rgba(233, 30, 140, 0.28);
  box-shadow: inset 0 0 0 2px #e91e8c;
  outline: none;
}

.lac-item.is-off .lac-pin {
  cursor: default;
  opacity: 0.55;
}

.lac-item.is-on .lac-pin {
  background: rgba(233, 30, 140, 0.22);
  box-shadow: inset 3px 0 0 #e91e8c;
}

.lac-pin-ico {
  flex: 0 0 auto;
  color: #ff7eb9;
  font-size: 1.05rem;
}

.lac-meta {
  min-width: 0;
  flex: 1;
}

.lac-city {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  color: #dcc89a;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lac-city img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.lac-name {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lac-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #9aa3b0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.lac-map-wrap {
  overflow: hidden;
  min-height: calc(100vh - 170px);
  border-radius: 16px;
  border: 1px solid rgba(232, 197, 122, 0.22);
}

#lac-map {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 170px);
  background: #121820;
}

.lac-empty {
  padding: 48px 20px;
  text-align: center;
  color: #9aa3b0;
  border: 1px dashed rgba(232, 197, 122, 0.25);
  border-radius: 18px;
}

.lac-map-wrap .leaflet-container {
  background: #121820;
  font-family: inherit;
}

@media (max-width: 860px) {
  .lac-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .lac-list,
  .lac-map-wrap,
  #lac-map {
    max-height: none;
    min-height: 360px;
    height: 360px;
  }
  .lac-list {
    height: auto;
    max-height: 42vh;
  }
}
