/* ── Grid cards ─────────────────────────────────────────────────────────── */

.cams-intro {
  max-width: 860px;
  padding: 0 5px 18px;
  line-height: 1.65;
  opacity: 0.88;
}
.cams-intro p {
  margin: 0 0 12px;
}
.cams-intro p:last-child {
  margin-bottom: 0;
}

.thumb-cam h3 {
  color: #ffffff;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  margin: 0;
  font-size: 18px;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 60px;
  padding: 0 10px;
}

.thumb-cam .views-icon {
  color: #ffffff;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  height: 20px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  margin: 0;
  font-size: 14px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.thumb-cam .views-icon:before { font-size: 20px; margin-right: 5px; }

.live {
  background-color: #3cc878;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  text-transform: uppercase;
  position: absolute;
  font-size: 12px;
  top: 8px;
  border-radius: 10px;
  height: 21px;
  line-height: 20px;
  display: block;
  right: 8px;
  padding: 0 10px 0 18px;
}
.live:before {
  content: "";
  background-color: #f02828;
  height: 6px; width: 6px;
  position: absolute;
  top: 8px; left: 8px;
  border-radius: 50%;
}

/* Offline badge on grid */
.thumb-cam--offline .offline-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,0.65);
  color: #bbb;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.thumb-cam--offline figure img { opacity: 0.45; }

/* ── Grid page filter tabs ───────────────────────────────────────────────── */

.cam-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 5px 14px;
}

.cam-filter-tab {
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.15s;
  text-decoration: none;
}

.cam-filter-tab:hover,
.cam-filter-tab.active {
  background: #e05c00;
  border-color: #e05c00;
  color: #fff !important;
}

.cam-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 24px 0 88px;
}
.cam-pagination .page-numbers {
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
}
.cam-pagination .page-numbers.current,
.cam-pagination .page-numbers:hover {
  background: #e05c00;
  border-color: #e05c00;
  color: #fff;
}

.no-cams {
  text-align: center;
  padding: 60px 0;
  opacity: 0.5;
}

@media all and (min-width: 640px) {
  .cam-pagination {
    padding-bottom: 105px;
  }
}

.sp-more-about {
  max-width: 1440px;
  padding: 28px 20px 8px;
}

.sp-more-about h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.sp-more-about__content {
  max-width: 860px;
  line-height: 1.7;
  opacity: 0.88;
}

.sp-more-about__content p {
  margin: 0 0 12px;
}

.sp-more-about__content p:last-child {
  margin-bottom: 0;
}

.sp-related {
  max-width: 1440px;
  padding: 24px 20px 8px;
}

.sp-related h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.sp-topbar {
  width: 100%;
}

.sp-topbar__inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px) 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 20px 10px;
}

.sp-topbar__cta {
  width: 100%;
  justify-self: center;
}

.sp-topbar__spacer {
  display: block;
}

.sp-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  background: #e05c00;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 16px 32px;
  border-radius: 12px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 10px 24px rgba(224, 92, 0, 0.25);
}

.sp-chat-btn:hover {
  background: #ff6d00;
  transform: translateY(-1px);
}

.sp-bar__meta {
  width: 100%;
}

/* ── Performer single page ───────────────────────────────────────────────── */

/* Full-width page — no side constraints */
.single-performer-page {
  overflow-x: hidden !important;
}

/* ── Video embed — fills full viewport width, 16:9 ── */
.sp-embed {
  display: block;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  line-height: 0;
}
.sp-embed iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  min-height: 0;
}

/* aspect-ratio fallback */
@supports not (aspect-ratio: 1) {
  .sp-embed {
    position: relative;
    padding-top: 56.25%;
    height: 0;
  }
  .sp-embed iframe {
    position: absolute;
    top: 0; left: 0;
  }
}

/* ── Offline performer page ── */
.sp-offline-hero {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  background: #111;
  line-height: 0;
}
.sp-offline-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  max-height: 340px;
}
.sp-offline-msg {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 20px 4px;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0.75;
}
.sp-offline-msg p { margin: 0 0 6px; }
.sp-offline-msg__time {
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ── Info bar — content + centered CTA ── */
.sp-bar {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sp-bar__inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 20px;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
}
.sp-back {
  display: block;
  font-size: 0.78rem;
  opacity: 0.5;
  text-decoration: none;
  margin-bottom: 4px;
  transition: opacity 0.12s;
}
.sp-back:hover { opacity: 0.85; }
.sp-bar__meta h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}
.sp-bar__details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  opacity: 0.65;
  margin-bottom: 2px;
}
.sp-bar__subject {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 5px 0 0;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .sp-topbar__inner {
    grid-template-columns: 1fr;
    padding: 12px 14px 10px;
  }
  .sp-topbar__cta {
    max-width: none;
  }
  .sp-topbar__spacer {
    display: none;
  }
  .sp-back {
    margin-bottom: 0;
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .sp-bar__inner {
    padding: 12px 14px;
    gap: 12px;
  }
  .sp-bar__meta h1 { font-size: 1.1rem; }
  .sp-chat-btn {
    width: 100%;
    max-width: none;
    padding: 14px 18px;
  }
  .sp-offline-msg { padding: 14px 14px 4px; }
}
