/*
Theme Name: Escort Lite
Theme URI: https://example.com/escort-lite
Author: Custom
Author URI: https://example.com
Description: Lightweight, clean, mobile-first theme designed for escort directory websites. Fast, accessible, and easy to customize.
Version: 1.16.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: escort-lite
Tags: custom-menu, featured-images, responsive-layout, translation-ready, blog
*/

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a1a2e;
  --color-secondary: #e94560;
  --color-accent: #0f3460;
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-muted: #5c636a;
  --color-action: #c42a47;
  --color-action-hover: #a31f39;
  --color-border: #e9ecef;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-action);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

/* Layout */
.site-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding a {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-branding a:hover {
  color: var(--color-secondary);
}

/* Uploaded logo (Appearance → Customize → Site Identity): header height,
   whatever size the file is. Made for a dark header: use a light logo. */
.custom-logo-link {
  display: block;
  line-height: 0;
}
.custom-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(260px, 60vw);
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 480px) {
  .custom-logo {
    height: 38px;
  }
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--color-secondary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  min-width: 44px;
  min-height: 44px;
}

/* Hero / Archive Header */
.page-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Cards Grid */
.escorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.escort-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.escort-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.escort-card-image {
  aspect-ratio: 3/4;
  background: #e9ecef;
  overflow: hidden;
  position: relative;
}

.escort-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.escort-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.escort-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.escort-card-title a {
  color: inherit;
}

.escort-card-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.escort-card-meta span {
  display: inline-block;
  margin-right: 0.6rem;
}

.escort-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  background: var(--color-action);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--color-action-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-action);
  color: var(--color-action);
}

.btn-outline:hover {
  background: var(--color-action);
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Single Escort */
/* The old profile card. Scoped to <article>: WordPress also puts
   "single-escort" on <body>, where overflow: hidden stopped the page scrolling. */
article.single-escort {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}

.single-escort-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
}

.single-escort-gallery {
  background: #111;
}

.single-escort-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.single-escort-info {
  padding: 2rem;
}

.single-escort-info h1 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.escort-location {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.escort-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.escort-details dt {
  font-weight: 600;
  color: var(--color-text-muted);
}

.escort-details dd {
  margin: 0;
}

.escort-content {
  padding: 0 2rem 2rem;
  line-height: 1.7;
}

/* Filters */
.filters-bar {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.filters-bar label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.filters-bar select,
.filters-bar input[type="text"] {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
  min-width: 160px;
  background: #fff;
}

.filters-bar .btn {
  padding: 0.55rem 1.4rem;
}

/* Forms */
.form-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.form-card h2 {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-notice {
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.form-notice.success {
  background: #d1e7dd;
  color: #0f5132;
}

.form-notice.error {
  background: #f8d7da;
  color: #842029;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.6rem;
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 500;
  box-shadow: var(--shadow);
}

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

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
  padding: 2rem 0;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,0.9);
}

.site-footer a:hover {
  color: var(--color-secondary);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state h2 {
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: 1rem;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .single-escort-header {
    grid-template-columns: 1fr;
  }

  .single-escort-gallery img {
    min-height: 320px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-bar select,
  .filters-bar input[type="text"] {
    width: 100%;
  }

  .page-header h1 {
    font-size: 1.55rem;
  }
}

/* Phones: two profiles per row, compact cards (v1.9.0) */
@media (max-width: 600px) {
  .escorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.75rem;
  }
  .escorts-grid .escort-card-body {
    padding: 0.6rem 0.65rem 0.7rem;
  }
  .escorts-grid .escort-card-title {
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .escorts-grid .escort-card-meta {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }
  .escorts-grid .escort-card-excerpt {
    display: none;
  }
  .escorts-grid .escort-card .btn {
    margin-top: auto;
    padding: 0.45rem 0.5rem;
    font-size: 0.82rem;
  }
  /* Room for both corner badges: Verified becomes a tick */
  .escorts-grid .verified-badge--compact {
    font-size: 0;
    gap: 0;
    padding: 0.2rem 0.4rem;
  }
  .escorts-grid .verified-badge--compact > span {
    font-size: 0.75rem;
  }
  .escorts-grid .plan-badge--compact {
    font-size: 0.7rem;
    padding: 0.12rem 0.45rem;
  }
}


/* =========================================================================
   v1.1.0 additions
   ========================================================================= */

/* Accessibility helpers WordPress expects every theme to ship */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background: #fff;
  clip: auto;
  clip-path: none;
  color: var(--color-text);
  display: block;
  height: auto;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.75rem 1.1rem;
  width: auto;
  z-index: 1100;
  border-radius: 6px;
  box-shadow: var(--shadow-hover);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }

  .escort-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* Page header now spans the full width; its text sits in a .container */
.page-header .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Pagination: WordPress wraps the links in .nav-links */
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.pagination .dots {
  background: transparent;
  box-shadow: none;
}

/* Pages and plain posts */
.form-card--wide {
  max-width: 900px;
}

.single-post-card .single-escort-info {
  max-width: 70ch;
}

/* Search form (404, empty search) */
.search-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 1.5rem;
  max-width: 440px;
}

.search-form label {
  flex: 1 1 200px;
}

.search-form .search-field {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.search-form .search-submit {
  padding: 0.55rem 1.2rem;
  background: var(--color-action);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.search-form .search-submit:hover {
  background: var(--color-action-hover);
}

.empty-state-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Contact reveal + report link on profiles */
.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-noscript {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.report-link {
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.report-link a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.report-link a:hover {
  color: var(--color-action);
}

.footer-manage-link {
  font-size: 0.85rem;
  text-decoration: underline;
}

.back-link {
  margin-bottom: 2rem;
}

.escort-content h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

/* Footer notice */
.footer-notice {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* 18+ confirmation. Hidden unless the head script adds .needs-age-gate */
.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(26, 26, 46, 0.97);
  overflow-y: auto;
}

.needs-age-gate .age-gate {
  display: flex;
}

html.needs-age-gate,
html.needs-age-gate body {
  overflow: hidden;
}

.age-gate-box {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 2rem;
  width: 100%;
  max-width: 460px;
}

.age-gate-box h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.age-gate-box p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.age-gate-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.age-gate-actions .btn {
  flex: 1 1 auto;
  padding: 0.75rem 1.25rem;
}


/* ==========================================================================
   Photo gallery + verified badge (v1.2)
   ========================================================================== */

.gallery-main img {
  width: 100%;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--color-surface);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.75;
  transition: opacity var(--transition), border-color var(--transition);
}

.gallery-thumb img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--color-action);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #e6f4ea;
  color: #14532d;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.verified-badge--compact {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------------------
 * Home page (front-page.php)
 * --------------------------------------------------------------------- */
.home-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.home-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.home-hero-text {
  max-width: 56ch;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
  opacity: 0.92;
}

.home-hero-text a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.home-hero-text a:hover,
.home-hero-text a:focus-visible {
  text-decoration-thickness: 2px;
}

.home-picker {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 540px;
  margin: 0 auto;
}

.home-picker select {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-radius: 6px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.home-picker .btn {
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
}

.home-picker select:focus-visible,
.home-picker .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.home-hero-links {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.home-hero-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.home-section {
  padding: 2.5rem 0 0;
}

.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-section-title {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* The busiest cities: one row of square-cornered buttons under the hero. On phones the row
 * scrolls sideways (running to the screen edge shows there is more), so the
 * profiles below never move down as cities are added. */
.home-cities {
  padding-top: 1.25rem;
}

.home-cities-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.city-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.4rem 0.6rem 0.4rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), color var(--transition);
}

.city-chip:hover {
  color: var(--color-text);
  border-color: var(--color-secondary);
}

.city-chip:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.city-chip-count {
  min-width: 1.6rem;
  padding: 0.1rem 0.45rem;
  border-radius: 0;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.city-chip-all {
  padding-right: 0.95rem;
  color: var(--color-accent);
  border-style: dashed;
  box-shadow: none;
}

@media (max-width: 640px) {
  .city-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    /* Run to the screen edges so a cut-off button shows the row scrolls. */
    margin: 0 -1.25rem; /* the .container side padding */
    padding: 0.15rem 1.25rem 0.35rem;
    scroll-padding: 0 1.25rem;
  }

  .city-chips::-webkit-scrollbar {
    display: none;
  }

  .city-chips.has-more {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 4rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 4rem), transparent);
  }

  .city-chips > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

/* A country's cities above its profiles (multi-country sites). */
.page-header + .home-cities {
  padding-top: 0;
  padding-bottom: 1.25rem;
}

/* Country flag on a country button (multi-country sites). */
.city-chip-flag {
  font-size: 1.1em;
  line-height: 1;
}

/* All cities, grouped by country (multi-country sites). */
.city-list-country {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.5rem 0 0.4rem;
  font-size: 1.05rem;
}

.city-list-country:first-of-type {
  margin-top: 0.5rem;
}

.city-list-country a {
  color: var(--color-text);
}

.country-all-cities {
  margin: 2.5rem 0 1rem;
}

/* Every city, at the bottom of the home page: compact columns of links. */
.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 4 11rem;
  column-gap: 1.5rem;
}

.city-list li {
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
}

.city-list a {
  color: var(--color-text);
  font-weight: 600;
}

.city-list a:hover,
.city-list a:focus-visible {
  color: var(--color-action);
  text-decoration: underline;
}

.city-list-count {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .home-hero { padding: 2.5rem 0 2.25rem; }
  .home-picker .btn { flex: 1 1 100%; }
  .city-list { columns: 2; column-gap: 1rem; }
  .city-list-count { font-size: 0.8rem; }
}

/* Service tags on a profile; each links to that service's page */
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1.5rem;
}
.service-tags a,
.service-tags span {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.3;
  text-decoration: none;
}
.service-tags a:hover,
.service-tags a:focus-visible {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.page-header-link { margin-top: 0.5rem; }

/* ==========================================================================
   Profile page (v1.6): photos | details | about + nearby
   ========================================================================== */

.breadcrumbs ol {
  list-style: none;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.breadcrumbs li + li::before {
  content: "»";
  margin-right: 0.25rem;
}
.breadcrumbs [aria-current] {
  font-weight: 600;
  color: var(--color-text);
}

.profile {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "media head side"
    "media main side";
  gap: 0 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.profile-head  { grid-area: head; }
.profile-media { grid-area: media; }
.profile-main  { grid-area: main; }
.profile-side  { grid-area: side; }

.profile-summary {
  margin: -0.4rem 0 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.profile-media,
.profile-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-photo {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 4px;
}
.profile-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 3px);
}

/* Photo strip: one photo per view, swipe or scroll sideways */
.photo-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: calc(var(--radius) - 3px);
}
.photo-track::-webkit-scrollbar { display: none; }
.photo-track:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.photo-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
}
.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition);
}
.photo-nav--prev { left: 12px; }
.photo-nav--next { right: 12px; }
.profile-photo:hover .photo-nav,
.photo-nav:focus-visible {
  opacity: 1;
}
@media (hover: none) {
  .photo-nav { display: none; }
}

/* Call / WhatsApp fixed at the bottom on phones (shown below 720px) */
.contact-bar {
  display: none;
}

.profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile-card-title {
  background: var(--color-action);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  margin: 0;
}
.profile-card-empty {
  padding: 1rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.profile-card .gallery-thumbs {
  padding: 0.75rem;
}

.profile-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.profile-name .verified-badge {
  font-size: 0.8rem;
}

.profile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.profile-phone {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: #1e7a34;
}
.profile-phone-number {
  color: inherit;
  font-weight: 600;
}
.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-action);
  text-decoration: underline;
  cursor: pointer;
}
.btn-call,
.btn-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.btn-chat {
  background: #5c636a;
  text-transform: none;
}
.btn-chat:hover {
  background: #474c51;
}

.profile-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.profile-details th,
.profile-details td {
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.profile-details th {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  padding-right: 1rem;
}
.profile-details td {
  text-align: right;
}
.profile-details td a {
  color: var(--color-text);
}
.profile-details td a:hover {
  color: var(--color-action);
}

.service-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
}
.service-chips a,
.service-chips span {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: #6c757d;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
  text-decoration: none;
}
.service-chips a:hover,
.service-chips a:focus-visible {
  background: var(--color-action);
}

.profile-rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.profile-rate {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-action);
  border-radius: var(--radius);
}
.profile-rate-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.profile-rate-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.profile-about {
  background: #e3f2f5;
  border: 1px solid #b9dde4;
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.75rem;
  color: #3d4a4f;
  line-height: 1.65;
}
.profile-about h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: #1f4d57;
  margin-bottom: 0.6rem;
}
.profile-about h3 {
  font-size: 1rem;
  margin: 0.75rem 0 0.25rem;
}
.profile-about p {
  margin-bottom: 0.6rem;
}
.profile-about-text {
  overflow-wrap: anywhere;
}

.nearby-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem;
}
.nearby-item a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 4px 6px;
  height: 100%;
}
.nearby-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}
.nearby-name {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nearby-btn {
  margin-top: auto;
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
}
.nearby-item a:hover .nearby-btn {
  background: var(--color-action-hover);
}

/* Tablet: photos + details side by side, about and nearby below */
@media (max-width: 1080px) {
  .profile {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "media head"
      "media main"
      "side  side";
  }
  .profile-side {
    margin-top: 1.5rem;
  }
  .nearby-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Phone: name, swipeable photos, contact, details, about, nearby */
@media (max-width: 720px) {
  .breadcrumbs ol {
    padding-top: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
  }
  .profile {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "media"
      "main"
      "side";
    gap: 0;
  }
  .profile-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .profile-summary {
    margin: -0.25rem 0 0.75rem;
  }

  /* Photos run edge to edge; the thumbnail box is not needed with swiping */
  .profile-media {
    margin: 0 -1.25rem; /* the .container side padding: photos run edge to edge */
  }
  .profile-photo {
    border: none;
    border-radius: 0;
    padding: 0;
    background: #111;
  }
  .profile-photo img,
  .photo-track {
    border-radius: 0;
  }
  .profile-photo img {
    aspect-ratio: 4 / 5;
    max-height: 72vh;
  }
  .profile-photos {
    display: none;
  }

  .profile-main {
    padding-top: 1rem;
  }
  .profile-phone {
    font-size: 1.05rem;
  }
  .btn-call,
  .btn-chat {
    padding: 0.85rem 1rem;
  }

  /* Details: tighter rows; services wrap under their label */
  .profile-details {
    font-size: 0.95rem;
  }
  .profile-details th,
  .profile-details td {
    padding: 0.6rem 0;
  }
  .profile-details td {
    padding-left: 1rem;
  }
  .profile-services-row th,
  .profile-services-row td {
    display: block;
    width: 100%;
    text-align: left;
    padding-left: 0;
  }
  .profile-services-row th {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }
  .service-chips {
    justify-content: flex-start;
  }
  .service-chips a,
  .service-chips span {
    padding: 0.35rem 0.65rem;
  }

  /* Rates as a simple list: label left, price right */
  .profile-rates {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
  }
  .profile-rate {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border: none;
    border-left: 4px solid var(--color-action);
    border-radius: 0;
    padding: 0.7rem 0.9rem;
  }
  .profile-rate + .profile-rate {
    border-top: 1px solid var(--color-border);
  }
  .profile-rate-label {
    font-size: 0.9rem;
  }
  .profile-rate-value {
    font-size: 1rem;
    text-align: right;
  }

  .profile-side {
    margin-top: 1.5rem;
  }
  .profile-about {
    padding: 1rem 1rem 0.5rem;
  }
  .profile-about h2 {
    font-size: 1.2rem;
  }

  /* Nearby: a sideways row instead of a tall grid */
  .nearby-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.6rem;
    padding: 0.75rem;
  }
  .nearby-item {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

  .back-link {
    margin-bottom: 1.25rem;
  }

  .contact-bar {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
  }
  .contact-bar.is-hidden {
    transform: translateY(110%);
  }
  .contact-bar .btn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
    text-transform: none;
  }
  .contact-bar .btn-whatsapp {
    background: #1e8e4e;
  }
  .contact-bar .btn-whatsapp:hover {
    background: #187640;
  }
  /* Room for the bar under the footer */
  .single-escort .site-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .contact-bar { transition: none; }
}

/* ==========================================================================
   Text written in the editor (v1.6.2): location descriptions and the
   homepage text, below the profiles
   ========================================================================== */

.archive-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.home-content .archive-content {
  margin-top: 0;
}

.rich-text {
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.rich-text > * + * {
  margin-top: 1rem;
}
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
  line-height: 1.3;
  margin-top: 1.75rem;
}
.rich-text > :first-child {
  margin-top: 0;
}
.rich-text h1 { font-size: 1.75rem; }
.rich-text h2 { font-size: 1.45rem; }
.rich-text h3 { font-size: 1.2rem; }
.rich-text h4 { font-size: 1.05rem; }
.rich-text ul,
.rich-text ol {
  padding-left: 1.5rem;
}
.rich-text li + li {
  margin-top: 0.35rem;
}
.rich-text a {
  text-decoration: underline;
}
.rich-text blockquote {
  border-left: 4px solid var(--color-action);
  padding: 0.25rem 0 0.25rem 1rem;
  color: var(--color-text-muted);
}
.rich-text img {
  border-radius: 6px;
}
.rich-text .alignleft {
  float: left;
  margin: 0.25rem 1.25rem 1rem 0;
  max-width: 50%;
}
.rich-text .alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.25rem;
  max-width: 50%;
}
.rich-text .aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.rich-text::after {
  content: "";
  display: table;
  clear: both;
}
.rich-text table {
  width: 100%;
  border-collapse: collapse;
}
.rich-text th,
.rich-text td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.rich-text figure {
  margin-left: 0;
  margin-right: 0;
}
.rich-text figcaption,
.rich-text .wp-caption-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

.admin-hint {
  padding: 0.85rem 1rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  background: var(--color-surface);
}

@media (max-width: 600px) {
  .archive-content {
    padding: 1.25rem;
  }
  .rich-text .alignleft,
  .rich-text .alignright {
    float: none;
    margin: 0 0 1rem;
    max-width: 100%;
  }
}

/* ==========================================================================
   Blog (v1.7.0)
   ========================================================================== */

.post-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-single {
  max-width: 760px;
  margin: 2rem auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}
.post-single-back {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.post-single-header h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.post-single-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.post-single-image {
  margin: 0 0 1.5rem;
}
.post-single-image img {
  width: 100%;
  border-radius: 6px;
}
.post-navigation {
  max-width: 760px;
  margin: 0 auto 2rem;
}
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .post-single {
    margin: 1rem auto;
    padding: 1.25rem;
  }
  .post-single-header h1 {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   Plans: Diamond and Gold (v1.9.0)
   ========================================================================== */

:root {
  --plan-diamond: #0b7fb3;
  --plan-diamond-soft: #e6f4fb;
  --plan-diamond-edge: #7cc9ea;
  --plan-gold: #a8730a;
  --plan-gold-soft: #fdf6e3;
  --plan-gold-edge: #e7c35a;
}

/* Sections */
.plan-section {
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  border: 1px solid transparent;
}
.plan-section .escorts-grid {
  margin-bottom: 0;
}
.plan-section--diamond {
  background: var(--plan-diamond-soft);
  border-color: var(--plan-diamond-edge);
}
.plan-section--gold {
  background: var(--plan-gold-soft);
  border-color: var(--plan-gold-edge);
}
.plan-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  margin: 0 0 1rem;
}
.plan-section--diamond .plan-section-title { color: var(--plan-diamond); }
.plan-section--gold .plan-section-title { color: var(--plan-gold); }
.plan-section-title .plan-icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.plan-section-title--rest {
  margin-top: 0.5rem;
}
.home-plans .plan-section:last-child {
  margin-bottom: 0;
}

/* Badges */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.plan-badge .plan-icon {
  width: 14px;
  height: 14px;
}
.plan-badge--diamond { background: linear-gradient(135deg, #0b7fb3, #3b5bdb); }
.plan-badge--gold { background: linear-gradient(135deg, #b7860b, #d9a521); }
.plan-badge--compact {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.profile-name .plan-badge {
  font-size: 0.8rem;
}

/* Cards on a plan get a coloured edge */
.escort-card--diamond {
  box-shadow: 0 0 0 2px var(--plan-diamond-edge), var(--shadow);
}
.escort-card--gold {
  box-shadow: 0 0 0 2px var(--plan-gold-edge), var(--shadow);
}

@media (max-width: 600px) {
  .plan-section {
    padding: 1rem 0.75rem 1.1rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .plan-section-title {
    font-size: 1.15rem;
  }
}

/* [escort_plans] price list (plugin shortcode) */
.em-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.em-plan {
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--color-surface);
}
.em-plan--diamond { border-top-color: var(--plan-diamond); }
.em-plan--gold { border-top-color: var(--plan-gold-edge); }
.em-plan-name {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.em-plan-price {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.em-plan-length {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.em-plan-how {
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.em-plan-how h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Profiles sooner on phones (v1.9.1): slim title bar, filters folded into
   one button (the plugin closes it on phones as the page loads)
   ========================================================================== */

.filters-toggle {
  margin-bottom: 1.75rem;
}
.filters-toggle > .filters-bar {
  margin-bottom: 0;
}
.filters-summary {
  display: none;
}

@media (max-width: 600px) {
  .page-header {
    padding: 0.85rem 0 0.95rem;
    margin-bottom: 0.75rem;
  }
  .page-header h1 {
    font-size: 1.35rem;
    margin-bottom: 0.1rem;
  }
  .page-header p {
    font-size: 0.88rem;
    line-height: 1.4;
  }
  .page-header .page-header-link {
    margin-top: 0.2rem;
  }

  .filters-toggle {
    margin-bottom: 0.9rem;
  }
  .filters-summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0.55rem 0.9rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    list-style: none;
    font-size: 0.95rem;
  }
  .filters-summary::-webkit-details-marker {
    display: none;
  }
  .filters-summary-label {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--color-action);
  }
  .filters-summary-label::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .filters-summary-value {
    flex: 1;
    min-width: 0;
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .filters-summary::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--transition);
  }
  .filters-toggle[open] > .filters-summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .filters-toggle[open] > .filters-summary::after {
    transform: rotate(-135deg) translateY(-2px);
  }
  .filters-toggle > .filters-bar {
    border: 1px solid var(--color-border);
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 0.9rem;
    gap: 0.7rem;
  }

  /* Paid sections: a little tighter */
  .plan-section {
    padding: 0.85rem 0.65rem 0.95rem;
    margin-bottom: 1.1rem;
  }
  .plan-section-title {
    margin-bottom: 0.7rem;
  }
}

/* ==========================================================================
   Footer menu (v1.9.2): links row, then copyright
   ========================================================================== */

.footer-inner {
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
}
.footer-nav .menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
}
.footer-nav .menu a {
  font-weight: 600;
  color: #fff;
}
.footer-nav .menu a:hover,
.footer-nav .menu a:focus-visible {
  color: var(--color-secondary);
}
.footer-nav .current-menu-item > a {
  text-decoration: underline;
}
.footer-admin-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .footer-nav .menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
  }
  .footer-nav .menu a {
    display: inline-block;
    padding: 0.15rem 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Videos (v1.10.0): badge on cards, link and section on the profile.
   The video tiles themselves are styled by Escort Manager (frontend.css).
   ========================================================================== */

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.video-badge .play-icon {
  width: 11px;
  height: 11px;
  flex: none;
}
.video-badge--compact {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.nearby-item a {
  position: relative;
}
.nearby-item .video-badge--compact {
  top: 8px;
  bottom: auto;
  left: 8px;
  padding: 0.1rem 0.45rem;
  font-size: 0.7rem;
}

.profile-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--color-action);
  white-space: nowrap;
}
.profile-video-link:hover,
.profile-video-link:focus-visible {
  text-decoration: underline;
}

.profile-videos {
  margin-top: 1.25rem;
  scroll-margin-top: 5.5rem;
}
.profile-video-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 240px));
  gap: 0.75rem;
}
.profile-video-list li {
  margin: 0;
}

@media (max-width: 600px) {
  .profile-video-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    padding: 0.6rem;
    gap: 0.6rem;
  }
  .escorts-grid .video-badge--compact {
    left: 0.4rem;
    bottom: 0.4rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Reviews (v1.12.0): rating on cards, link under the name, Reviews section.
   Stars, the review list and the form are styled by Escort Manager.
   ========================================================================== */

.card-rating {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.escort-card-meta .card-rating span {
  display: inline;
  margin-right: 0;
}
.escort-card-meta .card-rating {
  display: inline-flex;
}
.card-rating-star {
  color: #f2a516;
  font-size: 1.05em;
  line-height: 1;
}
.card-rating-count {
  font-weight: 400;
  color: var(--color-text-muted);
}

.profile-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.profile-rating-link:hover,
.profile-rating-link:focus-visible {
  text-decoration: underline;
}
.profile-review-cta {
  color: var(--color-action);
  font-weight: 600;
}
.profile-review-cta > span {
  color: #d98e04;
  font-size: 1.1em;
  line-height: 1;
}

.profile-reviews {
  margin-top: 1.25rem;
  scroll-margin-top: 5.5rem;
}
.profile-reviews-body {
  padding: 1rem;
}
@media (max-width: 600px) {
  .profile-reviews-body {
    padding: 0.85rem;
  }
}

/* ------------------------------------------------------------------------
 * Directory home page (template-parts/home-directory.php): headline strip,
 * a big panel with the busiest (or the visitor's) city, a city search, then
 * every country with its cities.
 * --------------------------------------------------------------------- */
.home-dir-strip {
  background: var(--color-primary);
  color: #fff;
  padding: 1.1rem 0 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-dir-strip h1 {
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
}

.home-dir-intro {
  max-width: 72ch;
  margin: 0.45rem auto 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.home-dir-intro a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-dir {
  padding-top: 1.75rem;
}

.home-dir-spotlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-action));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.home-dir-spot-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.home-dir-spot-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.3;
  color: inherit;
}

.home-dir-arrow {
  margin-left: 0.35rem;
}

.home-dir-spot-btn,
.home-dir-spot-btn:visited {
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  min-width: 14rem;
  text-align: center;
}

.home-dir-spot-btn:hover,
.home-dir-spot-btn:focus-visible {
  background: #000;
  color: #fff;
}

.home-dir-spot-label {
  margin: 1.4rem 0 0.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
}

.home-dir-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-dir-pills a {
  display: inline-block;
  background: #fff;
  color: var(--color-text);
  padding: 0.35rem 0.75rem;
  border-radius: 0; /* square, like the city buttons */
  font-size: 0.95rem;
  font-weight: 600;
}

.home-dir-pills a:hover,
.home-dir-pills a:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

.home-dir-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); /* minmax: the city box may shrink below its text box's natural width */
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.home-dir-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.home-dir-box h2 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.home-dir-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.home-dir-search:focus-within {
  outline: 3px solid var(--color-accent);
  outline-offset: 1px;
}

.home-dir-search-icon {
  display: flex;
  align-items: center;
  padding: 0 0.15rem 0 0.75rem;
  color: var(--color-text-muted);
}

.home-dir-search-icon svg {
  width: 18px;
  height: 18px;
}

.home-dir-search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  background: transparent;
}

.home-dir-search input:focus {
  outline: none;
}

.home-dir-search .btn {
  border-radius: 0;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}

.home-dir-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.home-dir-advertise p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.home-dir-countries {
  columns: 3 17rem;
  column-gap: 2rem;
}

.home-dir-country {
  break-inside: avoid;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border);
}

.home-dir-country h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.home-dir-country h3 a {
  color: var(--color-text);
}

.home-dir-cities {
  font-size: 0.93rem;
  line-height: 1.7;
}

.home-dir-cities a {
  color: var(--color-accent);
}

.home-dir-cities a:hover,
.home-dir-cities a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .home-dir-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-dir-spotlight {
    padding: 1.25rem;
  }

  .home-dir-spot-btn {
    width: 100%;
  }
}
