/* ============================================================
   CITY DIRECTORY — WHITE PREMIUM EXTENSION
   Extends front-page.css grid system
============================================================ */

/* ===============================
   DIRECTORY HEADER
=============================== */

.directory-head{
  margin-bottom:14px;
}

.yoast-breadcrumbs{
  font-size:.75rem;
  font-weight:600;
  color:var(--muted);
  margin-bottom:8px;
}

.yoast-breadcrumbs a{
  color:var(--brand);
}

/* ===============================
   CITY HERO TITLE (AUTO GENERATED)
=============================== */

.city-hero{
  background:linear-gradient(135deg,#ffffff 0%, #f8fafc 100%);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:20px 22px;
  margin-bottom:18px;
  box-shadow:var(--shadow-soft);
}

.city-hero h1{
  font-size:1.35rem;
  font-weight:800;
  color:#5C0303;
  margin-bottom:6px;
}

.city-hero p{
  font-size:.85rem;
  color:var(--muted);
}

/* ===============================
   LISTING BLOCK REFINEMENT
=============================== */

.listing-block{
  margin-top:20px;
}

.block-head{
  margin-bottom:12px;
}

.block-title{
  font-size:.95rem;
  letter-spacing:.5px;
  position:relative;
}

.block-title::after{
  content:'';
  display:block;
  width:40px;
  height:3px;
  background:linear-gradient(135deg,var(--lux-gold),#facc15);
  margin-top:6px;
  border-radius:2px;
}

/* ===============================
   CARD GRID POLISH
=============================== */

.card-row{
  margin-top:14px;
}

/* Slight spacing enhancement for city pages */
.home-left .card-row{
  gap:16px;
}

/* ===============================
   PAGINATION — PREMIUM STYLE
=============================== */

.pagination{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:6px;
}

.pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 10px;
  border-radius:10px;
  font-size:.8rem;
  font-weight:700;
  border:1px solid var(--line);
  background:#ffffff;
  color:#1f2937;
  transition:.25s ease;
}

.pagination .page-numbers:hover{
  background:#ede9fe;
  border-color:var(--brand);
  color:var(--brand);
}

.pagination .current{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

/* ===============================
   NO RESULTS
=============================== */

.no-results{
  padding:30px 20px;
  text-align:center;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-size:.85rem;
  font-weight:600;
  color:var(--muted);
}

/* ===============================
   CITY CONTENT BLOCK (BOTTOM SEO)
=============================== */

.city-content{
  margin-top:40px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow-soft);
}

.city-content .section-heading{
  font-size:1rem;
  margin-bottom:12px;
  color:#5C0303;
}

.city-content p{
  font-size:.85rem;
  line-height:1.6;
  color:#374151;
}

/* ============================================================
   CITY DIRECTORY — PREMIUM BANNERS
============================================================ */

.banner-wrap{
  margin-top:18px;
  margin-bottom:18px;
}

.banner-main{
  background:#ffffff;
  border-radius:18px;
  padding:18px;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 32px rgba(2,6,23,.08);
}

/* GRID LAYOUT */
.banner-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}

/* BANNER ITEM */
.banner-grid a{
  display:flex;
  align-items:center;
  justify-content:center;
  height:60px;
  background:#ffffff;
  border-radius:14px;
  border:1px solid #e5e7eb;
  box-shadow:0 8px 22px rgba(2,6,23,.06);
  transition:all .25s ease;
  overflow:hidden;
}

/* IMAGE */
.banner-grid img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  transition:transform .3s ease;
}

/* HOVER EFFECT */
.banner-grid a:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 40px rgba(2,6,23,.12);
  border-color:#d4af37;
}

.banner-grid a:hover img{
  transform:scale(1.05);
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width:1400px){
  .banner-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

@media (max-width:1100px){
  .banner-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:768px){
  .banner-main{
    padding:14px;
  }

  .banner-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }

  .banner-grid a{
    height:54px;
  }
}

@media (max-width:480px){
  .banner-grid{
    grid-template-columns:1fr;
  }

  .banner-grid a{
    height:50px;
  }
}

/* ===============================
   RESPONSIVE REFINEMENT
=============================== */

@media (max-width:900px){

  .city-hero{
    padding:16px;
  }

  .city-hero h1{
    font-size:1.1rem;
  }

  .pagination{
    flex-wrap:wrap;
  }

  .city-content{
    padding:18px;
  }
}
/* ============================================================
   CITY DIRECTORY — FORCE WHITE CANVAS
============================================================ */

.home-main,
.home-grid,
.home-left{
  background:#ffffff;
}

/* Remove any inherited dark theme */
.home-left{
  position:relative;
  z-index:1;
}
/* ============================================================
   LOCATION DIRECTORY FINAL LAYOUT PATCH
   Country and city pages now inherit the home page grid/card system.
============================================================ */

.location-directory{
  background:#ffffff;
}

.location-grid.home-grid{
  align-items:start;
}

.location-left.home-left{
  min-width:0;
}

.location-head{
  margin-bottom:12px;
}

.location-hero,
.city-hero,
.country-hero{
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:18px 20px;
  margin:0 0 14px;
  box-shadow:0 10px 28px rgba(2,6,23,.08);
}

.location-kicker{
  display:inline-flex;
  align-items:center;
  margin-bottom:8px;
  padding:4px 9px;
  border-radius:999px;
  background:#f5f3ff;
  color:#6d28d9;
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.location-hero h1,
.city-hero h1,
.country-hero h1{
  margin:0 0 6px;
  color:#5C0303;
  font-size:1.45rem;
  line-height:1.15;
  font-weight:900;
}

.location-hero p,
.city-hero p,
.country-hero p{
  max-width:840px;
  margin:0;
  color:#475569;
  font-size:.9rem;
  line-height:1.55;
}

.location-city-pills{
  margin:0 0 14px;
  padding:14px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
}

.city-pill-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.city-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:7px 12px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  background:#ffffff;
  color:#1A3552;
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.city-pill:hover{
  transform:translateY(-2px);
  border-color:#7c3aed;
  box-shadow:0 8px 18px rgba(124,58,237,.12);
  color:#6d28d9;
}

.location-banner-wrap{
  margin-top:0;
}

.location-listing-block{
  margin-top:18px;
}

.location-listing-block .block-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:#1A3552;
  font-size:1rem;
  font-weight:900;
}

.location-listing-block .section-icon{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#fef3c7;
  font-size:15px;
}

.location-listing-block .card-row{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}

.location-listing-block .escort-card-wrapper,
.location-listing-block .escort-card{
  min-width:0;
  width:100%;
}

.location-listing-block .escort-card{
  position:relative;
  height:100%;
}

.location-listing-block .escort-thumb{
  width:100%;
  overflow:hidden;
  background:#f8fafc;
}

.location-listing-block .escort-card img,
.location-listing-block .escort-thumb img{
  display:block;
  width:100% !important;
  height:auto;
  aspect-ratio:3/4;
  object-fit:cover;
}

.location-content.content-card,
.location-content{
  margin-top:28px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 32px rgba(2,6,23,.08);
}

.location-content .section-heading{
  margin:0 0 14px;
  padding:0 0 10px;
  border-bottom:1px solid #e5e7eb;
  color:#5C0303;
  font-size:1.2rem;
  line-height:1.25;
  font-weight:900;
}

.location-prose{
  color:#334155;
  font-size:.92rem;
  line-height:1.75;
}

.location-prose h2,
.location-prose h3,
.location-prose h4{
  color:#1A3552;
  font-weight:900;
  line-height:1.3;
}

.location-prose h2{
  margin:24px 0 10px;
  font-size:1.08rem;
}

.location-prose h3{
  margin:20px 0 8px;
  font-size:1rem;
}

.location-prose h4{
  margin:16px 0 6px;
  font-size:.95rem;
}

.location-prose p{
  margin:0 0 14px;
}

.location-prose ul,
.location-prose ol{
  margin:0 0 16px 20px;
  padding:0;
}

.location-prose li{
  margin-bottom:7px;
}

.location-prose a{
  color:#6d28d9;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

.location-prose table{
  width:100%;
  margin:18px 0;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:12px;
}

.location-prose th,
.location-prose td{
  padding:10px 12px;
  border:1px solid #e5e7eb;
  text-align:left;
  vertical-align:top;
}

.location-prose th{
  background:#f8fafc;
  color:#1A3552;
  font-weight:900;
}

.no-results h3{
  margin:0 0 6px;
  color:#1A3552;
  font-size:1rem;
}

.no-results p{
  margin:0;
}

@media (max-width:1600px){
  .location-listing-block .card-row{ grid-template-columns:repeat(5,minmax(0,1fr)); }
}

@media (max-width:1280px){
  .location-listing-block .card-row{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}

@media (max-width:1024px){
  .location-listing-block .card-row{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:900px){
  .location-grid.home-grid{
    display:block;
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
  }

  .location-left.home-left{
    padding:10px 12px 18px !important;
  }

  .location-sidebar.main-right{
    position:static;
    border-left:none;
    border-top:1px solid #e5e7eb;
  }

  .location-hero,
  .city-hero,
  .country-hero,
  .location-content.content-card,
  .location-city-pills{
    border-radius:14px;
  }

  .location-content.content-card,
  .location-content{
    padding:18px;
  }
}

@media (max-width:640px){
  .location-listing-block .card-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding-left:0;
    padding-right:0;
  }

  .location-hero h1,
  .city-hero h1,
  .country-hero h1{
    font-size:1.18rem;
  }

  .location-prose{
    font-size:.88rem;
  }
}


/* ============================================================
   COUNTRY PAGE CITY GRID - MATCH HOME COUNTRY CITIES LAYOUT
   Same visual rules as front-page country/city selector.
============================================================ */
.country-cities-home-layout{
  margin:0 0 14px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.country-cities-home-layout .country-city-grid{
  display:grid !important;
  grid-template-columns:repeat(7, minmax(0, 1fr));
  gap:10px;
  max-height:none;
  overflow:visible;
}

.country-cities-home-layout .country-city-card{
  min-height:40px;
  padding:8px 10px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(124, 58, 237, 0.28);
  border-radius:12px;
  background:#ffffff;
  color:#111827;
  font-size:13px;
  font-weight:850;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(15, 23, 42, 0.06);
  transition:all 0.18s ease;
}

.country-cities-home-layout .country-city-card:hover{
  background:#7c3aed;
  border-color:#7c3aed;
  color:#ffffff;
  transform:translateY(-1px);
}

.country-cities-home-layout .cc-city-name{
  color:inherit;
  line-height:1.2;
}

.country-cities-home-layout .cc-city.is-hidden-extra{
  display:none !important;
}

.country-cities-home-layout .country-city-grid.is-expanded .cc-city.is-hidden-extra{
  display:flex !important;
}

.country-cities-home-layout .cc-show-all-wrap{
  display:none;
  grid-column:1 / -1;
  justify-content:center;
  margin-top:4px;
}

.country-cities-home-layout .cc-cities.has-more-cities .cc-show-all-wrap,
.country-cities-home-layout .country-city-grid.has-more-cities .cc-show-all-wrap{
  display:flex;
}

.country-cities-home-layout .cc-show-all-btn{
  min-height:38px;
  padding:0 18px;
  border:1px solid #7c3aed;
  border-radius:999px;
  background:#111827;
  color:#ffffff;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15, 23, 42, 0.16);
}

.country-cities-home-layout .cc-show-all-btn:hover{
  background:#7c3aed;
  color:#ffffff;
}

@media (max-width:991px){
  .country-cities-home-layout .country-city-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:9px;
  }

  .country-cities-home-layout .country-city-card{
    min-height:38px;
    font-size:12px;
    border-radius:11px;
  }
}

@media (max-width:640px){
  .country-cities-home-layout .country-city-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    padding:10px;
    background:#ffffff;
    border:1px solid rgba(124, 58, 237, 0.18);
    border-radius:16px;
    box-shadow:0 12px 28px rgba(15, 23, 42, 0.08);
  }

  .country-cities-home-layout .country-city-card{
    min-height:42px;
    padding:8px 10px;
    font-size:13px;
    border-radius:12px;
  }

  .country-cities-home-layout .cc-show-all-btn{
    width:100%;
    min-height:42px;
  }
}

/* ============================================================
   Country city grid visibility fix
   Keeps country directory city pills from being clipped by the
   front-page country/city strip max-height rules.
============================================================ */
.country-directory-page .country-cities-home-layout,
.country-directory-page .country-cities-home-layout .cc-cities,
.country-directory-page .country-cities-home-layout .country-city-grid,
.country-directory-page .country-cities-home-layout .cc-cities.has-visible-cities,
.country-directory-page .country-cities-home-layout .cc-cities.has-more-cities{
  max-height:none !important;
  height:auto !important;
  overflow:visible !important;
}

.country-directory-page .country-cities-home-layout .country-city-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)) !important;
  align-items:stretch;
  gap:10px 12px !important;
  padding:0 !important;
  margin:0 0 18px !important;
}

.country-directory-page .country-cities-home-layout .country-city-card{
  width:100% !important;
  min-width:0 !important;
  min-height:38px !important;
  padding:9px 12px !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}

.country-directory-page .country-cities-home-layout .cc-city-name{
  display:block;
  width:100%;
  line-height:1.2 !important;
}

.country-directory-page .country-cities-home-layout .cc-show-all-wrap{
  grid-column:1 / -1 !important;
  width:100%;
  padding-top:2px;
}

.country-directory-page .country-cities-home-layout .cc-show-all-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media (max-width:1200px){
  .country-directory-page .country-cities-home-layout .country-city-grid{
    grid-template-columns:repeat(auto-fit, minmax(135px, 1fr)) !important;
  }
}

@media (max-width:640px){
  .country-directory-page .country-cities-home-layout .country-city-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    padding:10px !important;
    gap:8px !important;
  }

  .country-directory-page .country-cities-home-layout .country-city-card{
    min-height:40px !important;
    padding:8px 9px !important;
    font-size:12px !important;
  }
}
