/* Aligns with the profile page's 1180px content column (.girlsingle / .related_profiles). */
.profile-location-banners {
  --plb-gutter: 28px;
  --plb-gap: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 40px auto 8px;
  padding: 28px var(--plb-gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.profile-location-banners h2 {
  margin: 0 0 18px;
  color: inherit;
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.profile-location-banners__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--plb-gap);
  margin: 0;
  padding: 0;
}
.profile-location-banners__link {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}
.profile-location-banners__link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(127, 127, 127, .12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.profile-location-banners__link span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.profile-location-banners__link span::after {
  content: "\2192";
  flex: none;
  opacity: .55;
  transition: transform .2s ease, opacity .2s ease;
}
@media (hover: hover) {
  .profile-location-banners__link:hover img {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 30px rgba(0, 0, 0, .38);
  }
  .profile-location-banners__link:hover span::after { opacity: 1; transform: translateX(3px); }
}
.profile-location-banners__link:focus-visible { outline: none; }
.profile-location-banners__link:focus-visible img { outline: 2px solid currentColor; outline-offset: 3px; }

/* Tablet and phone: one swipeable row that bleeds to the screen edge and snaps to the content gutter. */
@media (max-width: 960px) {
  .profile-location-banners { --plb-gutter: 20px; --plb-gap: 12px; margin-top: 32px; padding-top: 24px; }
  .profile-location-banners__grid {
    display: flex;
    gap: var(--plb-gap);
    margin: 0 calc(-1 * var(--plb-gutter));
    padding: 4px var(--plb-gutter) 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--plb-gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .profile-location-banners__grid::-webkit-scrollbar { display: none; }
  .profile-location-banners__link {
    flex: 0 0 clamp(150px, 28vw, 220px);
    scroll-snap-align: start;
  }
}
@media (max-width: 600px) {
  .profile-location-banners { --plb-gutter: 16px; margin-top: 28px; padding-top: 20px; }
  .profile-location-banners h2 { margin-bottom: 14px; font-size: 20px; }
  /* About 1.7 cards visible: banner artwork stays legible and the next card peeks in as the swipe cue. */
  .profile-location-banners__link { flex-basis: calc((100vw - 2 * var(--plb-gutter) - var(--plb-gap)) / 1.7); }
  .profile-location-banners__link span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-location-banners__link img,
  .profile-location-banners__link span::after { transition: none; }
}
