/* CanadaEscortSites.com - Compact Premium Browse by Location */
.loc-page {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 16px 18px 38px;
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 199, 103, .15), transparent 27%),
    radial-gradient(circle at 92% 4%, rgba(168, 37, 55, .18), transparent 32%),
    linear-gradient(135deg, #070b12 0%, #101722 46%, #210c13 100%);
  color: #f8fafc;
  font-family: Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

.loc-page * { box-sizing: border-box; }
.loc-page a { -webkit-tap-highlight-color: transparent; }

.loc-hero,
.loc-featured,
.loc-toolbar,
.loc-alpha-nav,
.loc-city-index,
.loc-no-results {
  width: 100%;
  max-width: none;
}

.loc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .72fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 12px;
  padding: clamp(18px, 2vw, 30px);
  min-height: 230px;
  border-radius: 24px;
  border: 1px solid rgba(245, 199, 103, .30);
  background:
    linear-gradient(90deg, rgba(9, 14, 22, .96) 0%, rgba(13, 20, 31, .92) 52%, rgba(50, 14, 22, .88) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 82px);
  box-shadow: 0 24px 68px rgba(0, 0, 0, .34);
  position: relative;
  overflow: hidden;
}

.loc-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -48% 34%;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 199, 103, .16), transparent 68%);
  pointer-events: none;
}

.loc-hero-copy,
.loc-hero-panel {
  position: relative;
  z-index: 1;
}

.loc-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.loc-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 199, 103, .35);
  background: rgba(245, 199, 103, .10);
  color: #ffe28a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.loc-kicker::before { content: "✦"; font-size: 11px; }

.loc-hero h1 {
  max-width: 960px;
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 68px);
  line-height: .96;
  color: #ffffff;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 16px 38px rgba(0, 0, 0, .42);
}

.loc-hero p {
  max-width: 900px;
  margin: 0;
  color: #e6edf7;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
}

.loc-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 22px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}

.loc-panel-title,
.loc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.loc-panel-title {
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.loc-panel-title span,
.loc-section-head span {
  color: #ffe28a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.loc-panel-title strong,
.loc-section-head strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.loc-mini-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(245, 199, 103, .34);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.loc-mini-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.loc-mini-search input::placeholder { color: #667085; }

.loc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.loc-hero-stats div {
  min-width: 0;
  min-height: 74px;
  padding: 12px 8px;
  border-radius: 15px;
  background: rgba(8, 12, 18, .54);
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}

.loc-hero-stats strong {
  display: block;
  color: #fff;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1;
}

.loc-hero-stats span {
  display: block;
  margin-top: 7px;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.loc-featured {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(245, 199, 103, .20);
  background: rgba(10, 15, 24, .72);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

.loc-featured-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.loc-featured-grid a,
.loc-city-card {
  display: flex;
  min-width: 0;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  color: #f8fafc;
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.loc-featured-grid a {
  flex-direction: column;
  justify-content: center;
  min-height: 66px;
  padding: 11px;
  border-radius: 15px;
}

.loc-featured-grid a span,
.loc-city-card span {
  display: block;
  overflow: hidden;
  color: #fff;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loc-featured-grid a em,
.loc-city-card em {
  display: block;
  margin-top: 4px;
  color: #b9c4d5;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.loc-featured-grid a:hover,
.loc-city-card:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 199, 103, .65);
  background: linear-gradient(145deg, rgba(245,199,103,.22), rgba(255,255,255,.075));
}

.loc-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(245, 199, 103, .22);
  background: rgba(10, 15, 24, .86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.loc-directory-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.loc-directory-label span {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.loc-directory-label strong {
  color: #d8e1ee;
  font-size: 12px;
  font-weight: 800;
}

.loc-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  color: #111827;
  background: linear-gradient(135deg, #f8d877 0%, #d8a82e 100%);
  box-shadow: 0 14px 30px rgba(216, 168, 46, .22);
  white-space: nowrap;
}

.loc-home-btn:hover { color: #111827; filter: brightness(1.03); }

.loc-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 9px;
  border-radius: 17px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
}

.loc-alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  border-radius: 10px;
  color: #ffe28a;
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  border: 1px solid rgba(245,199,103,.18);
  background: rgba(245,199,103,.075);
}

.loc-alpha-nav a:hover {
  background: #f8d877;
  color: #111827;
}

.loc-city-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.loc-letter-block {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 19px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(12, 18, 28, .76);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.loc-letter-block h2 {
  position: sticky;
  top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8d877 0%, #d8a82e 100%);
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(216, 168, 46, .20);
}

.loc-city-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
}

.loc-city-card {
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 9px 10px;
  border-radius: 13px;
}

.loc-city-card span { font-size: 13px; }
.loc-city-card em { font-size: 9.5px; }

.loc-no-results {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(245,199,103,.12);
  border: 1px solid rgba(245,199,103,.24);
  color: #ffe7a5;
  font-weight: 900;
  font-size: 14px;
  text-align: center;
}

[hidden] { display: none !important; }

@media (max-width: 1500px) {
  .loc-city-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .loc-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1220px) {
  .loc-hero { grid-template-columns: 1fr; min-height: auto; }
  .loc-city-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .loc-page { padding: 10px 10px 30px; }
  .loc-hero { padding: 18px; border-radius: 22px; }
  .loc-hero h1 { font-size: clamp(31px, 9.6vw, 44px); }
  .loc-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-toolbar { position: static; flex-direction: column; align-items: stretch; }
  .loc-home-btn { width: 100%; }
  .loc-letter-block { grid-template-columns: 42px minmax(0, 1fr); padding: 8px; }
  .loc-letter-block h2 { position: static; min-height: 44px; font-size: 20px; }
  .loc-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .loc-city-card { min-height: 48px; padding: 8px; }
}

@media (max-width: 520px) {
  .loc-hero-stats { grid-template-columns: 1fr; }
  .loc-featured-grid { grid-template-columns: 1fr; }
  .loc-alpha-nav { gap: 5px; }
  .loc-alpha-nav a { min-width: 30px; height: 30px; }
  .loc-letter-block { grid-template-columns: 1fr; }
  .loc-letter-block h2 { width: 42px; }
  .loc-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
