/* =========================================================
   LISTING PAGE BLOCKS (reusable)
   Uses same tokens as profile.css (var(--brand), var(--brand2), etc.)
   ========================================================= */

/* Full-width hero, but content aligned to profile width */
.heroFull{
  width: 100%;
  border-radius: 0; /* Changed to 0 for full width look */
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.10); /* Changed border to bottom only */
  box-shadow: var(--shadow);
  background: #0c0d12;
  margin-top: 0; /* FIX 1: GAP CLOSED (Was 16px) */
  margin-bottom: 0;
}
.heroMedia{
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #0c0d12;
}
@media (max-width:520px){ .heroMedia{ height: 240px; } }
.heroMedia img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display:block;
  transform: scale(1.01);
  filter: saturate(1.05) contrast(1.02);
}
.heroOverlay{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.10) 100%),
    linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.05) 100%);
  display:flex;
  align-items:flex-end;
}
.heroInner{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
}
.heroTitle{ display:flex; flex-direction:column; gap: 6px; }
.heroTitle h1{ margin:0; font-size: 32px; letter-spacing: .2px; }
.heroTitle p{ margin:0; color: rgba(255,255,255,.80); font-weight: 800; }
.heroMeta{ display:flex; gap: 10px; flex-wrap: wrap; justify-content:flex-end; }

/* ---------------------------------------------
   FILTER BAR (clickable, more obvious, pink edge)
   --------------------------------------------- */
.filterBar{
  display: none;
  margin-top: 0; /* Flush with hero */
  border-radius: 0 0 18px 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-top: none;
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadow);
  overflow:hidden;
  margin-bottom: 30px;

  /* rota-style pink emphasis */
  box-shadow:
    0 0 0 1px rgba(255,47,135,.18) inset,
    0 18px 55px rgba(0,0,0,.55);
}
.filterHead{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, rgba(255,47,135,.12), rgba(255,255,255,.02));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.filterHead strong{ font-size: 16px; letter-spacing: .2px; }

.filterBody{ padding: 14px; display:grid; gap: 12px; }
.filterRow{
  display:grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width:720px){
  .filterRow{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.filterChip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;

  border: 1px solid rgba(255,47,135,.28); /* more visible */
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 14px;

  cursor: pointer;
  user-select:none;
  transition: transform .08s ease, border-color .12s ease, background .12s ease;
}
.filterChip:hover{
  border-color: rgba(255,47,135,.48);
  background: rgba(255,47,135,.08);
}
.filterChip:active{ transform: scale(.99); }

.filterChip .mutedMini{
  opacity: .80;
  font-weight: 900;
  font-size: 13px;
}

.filterFoot{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------------------------
   REUSABLE BLOCK: AVAILABLE TODAY (strip)
   --------------------------------------------- */
.stripBlock{
  margin-top: 16px;
  margin-bottom: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.stripHead{
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.stripHead .left{
  display:flex; align-items:baseline; gap: 10px; flex-wrap: wrap;
}
.stripHead strong{
  font-size: 16px;
  letter-spacing:.2px;
}
.stripHead .datePill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,47,135,.28);
  background: rgba(255,47,135,.08);
  font-weight: 900;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}

.stripBody{
  padding: 14px;
  overflow:auto;
}
.stripRow{
  display:flex;
  gap: 14px;
  min-width: 700px; /* ensures horizontal scroll on small view */
}
@media (max-width: 720px){
  .stripRow{ min-width: 620px; }
}

/* small cards for strip */
.miniCard{
  flex: 0 0 240px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  text-decoration:none;
  color: inherit;
  position: relative;
}
.miniMedia{ height: 310px; background:#0c0d12; position: relative; }
.miniMedia img{
  width:100%; height:100%;
  object-fit: cover;
  object-position: 50% 40%;
  display:block;
  transform: scale(1.01);
  transition: transform .18s ease;
}
.miniCard:hover .miniMedia img{ transform: scale(1.06); }
.miniGrad{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.05) 100%);
}
.miniName{
  position:absolute; left: 14px; right: 14px; bottom: 14px;
  display:flex; align-items:baseline; justify-content:space-between;
  gap: 10px;
}
.miniName strong{ font-size: 20px; letter-spacing:.2px; }
.miniName span{ font-weight: 900; opacity:.9; }

/* ---------------------------------------------
   REUSABLE BLOCK: GIRLS GRID + FEATURED
   --------------------------------------------- */
.girlsGrid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width:720px){
  .girlsGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width:1100px){
  .girlsGrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.girlCard{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  box-shadow: var(--shadow);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* FIX 2: TALLER CARDS (Was 320px) */
.girlMedia{ 
  position: relative; 
  height: 520px; 
  background: #0c0d12; 
  overflow:hidden; 
}

.girlMedia img{
  width:100%; height:100%;
  object-fit: cover;
  object-position: 50% 40%;
  display:block;
  transform: scale(1.01);
  filter: saturate(1.03) contrast(1.02);
  transition: transform .18s ease;
}
.girlCard:hover .girlMedia img{ transform: scale(1.05); }

.girlOverlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.05) 100%);
  display:flex;
  align-items:flex-end;
  padding: 14px;
  gap: 10px;
}
.girlName{
  width:100%;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}
.girlName strong{ font-size: 22px; letter-spacing:.2px; }
.girlName span{ font-weight: 900; opacity:.9; }

.girlBadges{
  position:absolute; top: 12px; left: 12px;
  display:flex; gap: 8px; flex-wrap: wrap;
  z-index: 2;
}
.miniBadge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.92);
}
.miniDot{
  width: 10px; height: 10px; border-radius:999px;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52,199,89,.15);
}
.miniTag{
  position:absolute; top: 12px; right: 12px; z-index: 2;
  display:inline-flex; align-items:center; gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.92);
}
.girlMetaRow{
  display:flex; gap: 10px; flex-wrap: wrap; margin-top: 8px;
}
.girlMeta{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.90);
}

/* Recruitment card (always last) */
.recruitCard .girlMedia{
  background:
    radial-gradient(700px 380px at 35% 25%, rgba(255,47,135,.22), transparent 60%),
    radial-gradient(600px 340px at 80% 70%, rgba(209,0,108,.20), transparent 55%),
    rgba(0,0,0,.20);
}
.recruitCard .girlMedia img{
  filter: saturate(.85) contrast(1.05);
  opacity: .45;
}
.recruitStamp{
  position:absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255,47,135,.45);
  background: rgba(0,0,0,.12);
  display:grid;
  place-items:center;
  text-align:center;
  padding: 12px;
}
.recruitStamp strong{
  font-size: 22px;
  letter-spacing:.2px;
}
.recruitStamp span{
  margin-top: 6px;
  font-weight: 900;
  color: rgba(255,255,255,.78);
}

/* Featured section header + CTA */
.sectionTitle{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sectionTitle h2{
  margin:0;
  font-size: 20px;
  letter-spacing:.2px;
}
.seeMoreWrap{
  margin-top: 14px;
  display:flex;
  justify-content:center;
}

/* Full-width footer */
.pageFooterFull{
  width:100%;
  margin-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.pageFooterInner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px;
}
.footerCols{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .footerCols{ grid-template-columns: 1.2fr 1fr 1fr; }
}
.footerTitle{
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 15px;
}
.footerLink{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 800;
  display:inline-block;
  margin-top: 8px;
}
.footerLink:hover{ text-decoration: underline; }
.finePrint{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  font-size: 13px;
}

/* Scrollbar tint for strip (optional, matches your theme) */
.stripBody{ scrollbar-width: thin; scrollbar-color: rgba(255,47,135,.55) rgba(255,255,255,.08); }
.stripBody::-webkit-scrollbar{ height: 10px; }
.stripBody::-webkit-scrollbar-track{ background: rgba(255,255,255,.08); border-radius: 999px; }
.stripBody::-webkit-scrollbar-thumb{
  background: rgba(255,47,135,.55);
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.25);
}
.stripBody::-webkit-scrollbar-thumb:hover{ background: rgba(255,47,135,.85); }



/* Override Hero Styles for this page specifically */
.heroFull {
  width: 100%;
  height: 300px; /* Shorter than home hero */
  position: relative;
  background: #000;
  overflow: hidden;
  margin-bottom: 0; /* Reset margin */
}
.heroFull img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.6;
}
.heroOverlayContent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; z-index: 2; padding: 20px;
  background: linear-gradient(0deg, #0b0c10 0%, rgba(0,0,0,0) 60%);
}
.heroOverlayContent h1 { font-size: 42px; margin: 0 0 10px 0; font-weight: 900; }
.heroOverlayContent p { font-size: 18px; color: rgba(255,255,255,0.9); margin: 0; }


/* --- INLINE STYLES TO ENSURE OVERRIDES --- */
.filterBar {
  margin-top: 0; /* Changed from 16px to 0 for Gap fix */
  border-radius: 0 0 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 30px;
}

.filterHead {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 47, 135, 0.1), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toggle Button Styles */
.filterToggleBtn {
  display: none; /* Hidden on Desktop */
  background: rgba(255, 47, 135, 0.15);
  border: 1px solid rgba(255, 47, 135, 0.3);
  color: #ff2d88;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filterToggleBtn:hover { background: rgba(255, 47, 135, 0.25); }

/* Body Transition Logic */
.filterBody {
  padding: 18px;
  transition: all 0.3s ease-in-out;
  transform-origin: top;
}

/* Grid Layout */
.filterGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .filterGrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .filterGrid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* --- CUSTOM SELECT INPUT STYLING (FIX 3) --- */
.customSelect {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  
  background-color: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px;
  
  color: #e8eaf0;
  font-size: 16px; /* Increased from 15px to prevent iOS zoom */
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7adbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.customSelect:focus {
  border-color: #ff2d88;
  box-shadow: 0 0 0 1px rgba(255, 47, 135, 0.3);
  background-color: rgba(0, 0, 0, 0.8);
}

.customSelect option {
  background-color: #111;
  color: #fff;
  padding: 10px;
}

.filterActions {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* --- MOBILE TOGGLE LOGIC --- */
@media (max-width: 768px) {
  .filterToggleBtn { display: block; } /* Show button */
  
  .filterBody {
    display: none; /* Hard hide by default */
    opacity: 0;
  }
  
  .filterBody.isOpen {
    display: block; /* Show when open */
    animation: slideDown 0.3s ease forwards;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- VIDEO ADDITION (No Conflicts) --- */
.heroMedia video.heroVideo,
.heroFull video.heroVideo {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center; /* Aligns center outwards */
  display: block;
  opacity: 0.6; /* Matches the opacity from your override section */
}