/* ==========================================================================
   Pooja Mahajan - Lucknow Profile Listings Stylesheet (assets/css/profile-listings.css)
   Pixel-accurate styling matching reference design with enhanced card dimensions
   ========================================================================== */

:root {
  --vl-pink: #FF2D78;
  --vl-pink-dark: #e0255e;
  --vl-pink-light: rgba(255, 45, 120, 0.18);
  --vl-border: rgba(255, 45, 120, 0.22);
  --vl-border-hover: #FF2D78;
  --vl-dark: #FFFFFF;
  --vl-text-secondary: rgba(255, 255, 255, 0.85);
  --vl-muted: rgba(255, 255, 255, 0.70);
  --vl-text-desc: rgba(255, 255, 255, 0.88);
  --vl-green: #08c46a;
  --vl-green-dark: #06ac5d;
  --vl-white: #2A004C;
  --vl-background: #22003D;
  --vl-font-serif: 'Playfair Display', Georgia, serif;
  --vl-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   1. SECTION CONTAINER
   ========================================================================== */
.vl-listings-section {
  width: 100%;
  background-color: #22003D;
  padding: 30px 16px 70px;
  box-sizing: border-box;
}

.vl-listings-container {
  width: 100%;
  max-width: 1160px;
  /* Spacious & elegant card container width */
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   2. TOPBAR: BREADCRUMBS & PROFILES COUNTER
   ========================================================================== */
.vl-listings-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 6px;
  font-family: var(--vl-font-sans);
}

.vl-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1;
}

.vl-breadcrumb__home-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--vl-pink-light);
  color: var(--vl-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
}

.vl-breadcrumb__link {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.vl-breadcrumb__link:hover {
  color: var(--vl-pink);
}

.vl-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  user-select: none;
}

.vl-breadcrumb__current {
  color: var(--vl-pink);
  font-weight: 700;
}

.vl-listings-count {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
}

/* ==========================================================================
   3. PROFILE CARDS LIST & 3-COLUMN GRID (ENHANCED SIZE)
   ========================================================================== */
.vl-listings-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vl-profile-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 230px;
  gap: 18px;
  background-color: #2A004C;
  border: 1px solid rgba(255, 45, 120, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  align-items: center;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.vl-profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 45, 120, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
  border-color: #FF2D78;
}

/* --------------------------------------------------------------------------
   Column 1: Compact Landscape Profile Photo (~200px × 145px)
   -------------------------------------------------------------------------- */
.vl-profile-card__photo {
  width: 200px;
  height: 167px;
  max-height: 170px;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  background-color: #1A002E;
  flex-shrink: 0;
  align-self: center;
}

.vl-profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  transition: transform 0.35s ease;
}

.vl-profile-card:hover .vl-profile-card__photo img {
  transform: scale(1.03);
}

.vl-profile-card__online {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--vl-green);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
  z-index: 2;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Column 2: Center Details (Title, Description, Meta, Tags)
   -------------------------------------------------------------------------- */
.vl-profile-card__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 2px;
  min-width: 0;
  box-sizing: border-box;
}

/* Title & Verified Badge */
.vl-profile-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.vl-profile-card__title {
  font-family: var(--vl-font-serif);
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vl-profile-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.vl-profile-card__title a:hover {
  color: var(--vl-pink);
}

.vl-profile-card__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vl-profile-card__verified svg {
  display: block;
}

/* Description (up to 4 lines clamp) - Crisp, high contrast visibility */
.vl-profile-card__desc {
  font-family: var(--vl-font-sans);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Age & Locality Metadata */
.vl-profile-card__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  font-family: var(--vl-font-sans);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.vl-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vl-meta-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Category Tags */
.vl-profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vl-profile-tag {
  background-color: rgba(255, 45, 120, 0.18);
  color: #FF2D78;
  border: 1px solid rgba(255, 45, 120, 0.3);
  font-family: var(--vl-font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 14px;
  display: inline-block;
  user-select: none;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Column 3: Sidebar Attributes & Action Buttons (~240px)
   -------------------------------------------------------------------------- */
.vl-profile-card__sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 4px 4px 10px;
  box-sizing: border-box;
}

/* Circular Heart / Favorite Button (Top Right) */
.vl-profile-card__fav-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1F0038;
  border: 1px solid rgba(255, 45, 120, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF2D78;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  z-index: 5;
  padding: 0;
}

.vl-profile-card__fav-btn i {
  font-size: 14px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vl-profile-card__fav-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(255, 45, 120, 0.35);
  border-color: #FF2D78;
}

.vl-profile-card__fav-btn.is-favorite {
  background-color: rgba(255, 45, 120, 0.25);
  border-color: #FF2D78;
}

.vl-profile-card__fav-btn.is-favorite i {
  font-weight: 900;
  transform: scale(1.08);
}

/* Attributes: Height, Measurements, Rating */
.vl-profile-card__attributes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}

.vl-attr-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--vl-font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.vl-attr-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* WhatsApp & Call Now Action Buttons */
.vl-profile-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.vl-btn-whatsapp,
.vl-btn-call {
  text-decoration: none;
  font-family: var(--vl-font-sans);
  font-size: 13px;
  font-weight: 600;
  height: 38px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  box-sizing: border-box;
  padding: 0 10px;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  user-select: none;
}

.vl-btn-whatsapp {
  background-color: var(--vl-green);
  color: var(--vl-white);
  box-shadow: 0 2px 8px rgba(8, 196, 106, 0.22);
}

.vl-btn-whatsapp i {
  font-size: 14.5px;
}

.vl-btn-whatsapp:hover {
  background-color: var(--vl-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 196, 106, 0.35);
}

.vl-btn-call {
  background-color: var(--vl-pink);
  color: var(--vl-white);
  box-shadow: 0 2px 8px rgba(255, 40, 85, 0.24);
}

.vl-btn-call i {
  font-size: 12.5px;
}

.vl-btn-call:hover {
  background-color: var(--vl-pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 40, 85, 0.38);
}

.vl-btn-whatsapp:active,
.vl-btn-call:active {
  transform: translateY(0);
}

/* ==========================================================================
   4. PAGINATION CONTROLS
   ========================================================================== */
.vl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 15px;
  font-family: var(--vl-font-sans);
}

.vl-pagination__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vl-pagination__item {
  display: inline-block;
}

.vl-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 19px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  background-color: #2A004C;
  border: 1px solid rgba(255, 45, 120, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.vl-pagination__link:hover {
  border-color: #FF2D78;
  color: #FFFFFF;
  background-color: #FF2D78;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 45, 120, 0.4);
}

.vl-pagination__link.active {
  background-color: #FF2D78;
  border-color: #FF2D78;
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(255, 45, 120, 0.45);
}

.vl-pagination__link.disabled {
  opacity: 0.35;
  pointer-events: none;
  background-color: #1A002E;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}

.vl-pagination__prev,
.vl-pagination__next {
  gap: 6px;
  padding: 0 14px;
}

.vl-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--vl-muted);
  font-size: 14px;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .vl-listings-container {
    max-width: 95%;
  }

  .vl-profile-card {
    grid-template-columns: 180px minmax(0, 1fr) 210px;
    gap: 14px;
    padding: 12px;
  }

  .vl-profile-card__photo {
    width: 180px;
    height: 200px;
    max-height: 200px;
  }

  .vl-profile-card__title {
    font-size: 16px;
  }

  .vl-profile-card__desc {
    font-size: 12.5px;
  }

  .vl-btn-whatsapp,
  .vl-btn-call {
    height: 36px;
    font-size: 12px;
  }
}

/* Mobile & Small Tablets (up to 767px) */
@media (max-width: 767px) {
  .vl-listings-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .vl-profile-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
  }

  .vl-profile-card__photo {
    width: 100%;
    max-width: 280px;
    height: 360px;
    max-height: 360px;
    margin: 0 auto;
    border-radius: 10px;
  }

  .vl-profile-card__title {
    white-space: normal;
    font-size: 19px;
  }

  .vl-profile-card__desc {
    -webkit-line-clamp: 3;
    font-size: 13px;
  }

  .vl-profile-card__sidebar {
    padding: 0;
    margin-top: 6px;
    border-top: 1px solid #fde7ec;
    padding-top: 12px;
  }

  .vl-profile-card__fav-btn {
    top: 12px;
    right: 12px;
  }

  .vl-profile-card__attributes {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
  }

  .vl-profile-card__actions {
    margin-top: 0;
    width: 100%;
  }

  .vl-btn-whatsapp,
  .vl-btn-call {
    height: 40px;
    font-size: 13.5px;
  }

  .vl-pagination__link {
    min-width: 34px;
    height: 34px;
    font-size: 12.5px;
    padding: 0 8px;
  }

  .vl-pagination__prev span,
  .vl-pagination__next span {
    display: none;
    /* Icon only on small mobile */
  }
}