/* Modern responsive profile page styles for RipAndScam.com
   Extends ras-listing.css design tokens for full CWV performance & mobile/desktop polish */

.tab-community { display: none !important; }

/* Preview banner (shown only on non-indexed preview pages) */
.ras-preview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.45;
}
.ras-preview-banner strong { color: #1d4ed8; }

/* Top breadcrumb + submit bar */
.ras-profile-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.ras-profile-topbar .ras-breadcrumb {
  margin-bottom: 0;
  flex: 1 1 260px;
}

/* Hero Profile Card */
.ras-profile-hero {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #12A3DF;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  margin-bottom: 22px;
}
.ras-profile-hero-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Hero portrait */
.ras-hero-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ras-hero-photo-link {
  position: relative;
  display: block;
  width: 260px;
  height: 315px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  text-decoration: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ras-hero-photo-link:hover {
  border-color: #12A3DF;
  box-shadow: 0 10px 24px rgba(18, 163, 223, 0.22);
}
.ras-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease;
}
.ras-hero-photo-link:hover .ras-hero-photo {
  transform: scale(1.03);
}
.ras-zoom-pill {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Hero info column */
.ras-hero-info {
  min-width: 0;
}
.ras-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ras-profile-title {
  margin: 0 0 10px 0;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  word-break: break-word;
}

/* Hero email pill */
.ras-hero-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #475569;
}
.ras-hero-email-label {
  font-weight: 700;
  color: #334155;
}
.ras-hero-email-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 6px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Hero rating row */
.ras-hero-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ras-hero-rating .ras-star {
  font-size: 19px;
}
.ras-hero-rating-meta {
  font-size: 13.5px;
  color: #475569;
  font-weight: 600;
}
.ras-rate-jump {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0369a1 !important;
  background: #e0f2fe;
  padding: 4px 11px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.ras-rate-jump:hover {
  background: #bae6fd;
  color: #075985 !important;
}

/* Hero danger bar */
.ras-hero-danger {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
}
.ras-hero-danger .ras-danger-head {
  font-size: 13px;
  margin-bottom: 6px;
}
.ras-hero-danger .ras-danger-pct {
  font-size: 14px;
}
.ras-hero-danger .ras-danger-track {
  height: 10px;
}

/* Profile Details Grid */
.ras-details-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 10px 0;
}
.ras-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ras-detail-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 9px 12px;
  min-width: 0;
}
.ras-detail-item-full {
  grid-column: 1 / -1;
}

/* Wide Screenshot Hero (for Pet Scammer website screenshots) */
.ras-profile-hero-wide {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ras-hero-wide-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  text-decoration: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.ras-hero-wide-link:hover {
  border-color: #12A3DF;
  box-shadow: 0 10px 24px rgba(18, 163, 223, 0.22);
}
.ras-hero-wide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease;
}
.ras-hero-wide-link:hover .ras-hero-wide-img {
  transform: scale(1.02);
}
.ras-rel-photo-wrap.ras-rel-wide {
  aspect-ratio: 440 / 275;
}
.ras-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ras-badge-row .ras-profile-badge {
  margin-bottom: 0;
}
.ras-status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 999px;
}
.ras-detail-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 3px;
}
.ras-detail-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ras-detail-empty {
  color: #475569;
  font-weight: 400;
  font-style: italic;
}

@media (max-width: 1199px) {
  .ras-profile-hero-grid {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
  }
  .ras-hero-photo-link {
    width: 220px;
    height: 266px;
  }
}
@media (max-width: 767px) {
  .ras-profile-hero {
    padding: 16px 14px;
  }
  .ras-profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ras-hero-photo-link {
    width: 230px;
    height: 278px;
  }
  .ras-profile-title {
    font-size: 22px;
  }
  .ras-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Reserved-height AdSense 300x250 slot (Zero CLS) */
.ras-ad-300 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 272px;
  padding: 10px;
  margin: 18px 0 22px 0;
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 10px;
  contain: layout style;
}
.ras-ad-caption {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 6px;
}

/* Additional Photos Gallery */
.ras-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 24px 0;
}
@media (max-width: 991px) {
  .ras-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .ras-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.ras-gallery-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.ras-gallery-item:hover {
  transform: translateY(-2px);
  border-color: #12A3DF;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.ras-gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 142 / 172;
  background: #f1f5f9;
  overflow: hidden;
}
.ras-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease;
}
.ras-gallery-item:hover .ras-gallery-thumb {
  transform: scale(1.04);
}
.ras-gallery-caption {
  padding: 7px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

/* Scam Reports & Letters */
.ras-report-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 14px 0 24px 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ras-report-card p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
  color: #1e293b;
}
.ras-report-card p:last-child {
  margin-bottom: 0;
}
.ras-report-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.ras-report-card a {
  color: #0284c7;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .ras-report-card {
    padding: 15px 14px;
    font-size: 14.5px;
  }
}

/* Prev / Next Scammer Navigation */
.ras-profile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.ras-nav-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.ras-nav-card:hover {
  border-color: #0284c7;
  background: #e0f2fe;
  transform: translateY(-1px);
}
.ras-nav-card-next {
  text-align: right;
  grid-column: 2;
}
.ras-nav-dir {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.ras-nav-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0369a1;
  overflow-wrap: anywhere;
}
@media (max-width: 575px) {
  .ras-profile-nav {
    grid-template-columns: 1fr;
  }
  .ras-nav-card-next {
    grid-column: auto;
    text-align: left;
  }
}

/* Dual Search Box (Name + Email, visible on desktop AND mobile) */
.ras-dual-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin: 22px 0 26px 0;
}
@media (max-width: 767px) {
  .ras-dual-search {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}
.ras-dual-search-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ras-dual-search-row {
  display: flex;
  gap: 8px;
}
.ras-dual-search-row .ras-search-input {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
}

/* Related Male Scammers Grid */
.ras-related-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 620px;
}
.ras-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 26px 0;
}
@media (max-width: 991px) {
  .ras-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .ras-related-grid {
    grid-template-columns: 1fr;
  }
}
.ras-rel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.ras-rel-card:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
}
.ras-rel-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 284 / 250;
  background: #f1f5f9;
  overflow: hidden;
}
.ras-rel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease;
}
.ras-rel-card:hover .ras-rel-photo {
  transform: scale(1.04);
}
.ras-rel-danger-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}
.ras-rel-danger-pill.ras-danger-high { background: #dc2626; }
.ras-rel-danger-pill.ras-danger-med  { background: #d97706; }
.ras-rel-danger-pill.ras-danger-low  { background: #16a34a; }
.ras-rel-body {
  padding: 12px 14px;
  flex: 1 1 auto;
}
.ras-rel-name {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.ras-rel-name a {
  color: #0f172a;
  text-decoration: none;
}
.ras-rel-name a:hover {
  color: #0284c7;
  text-decoration: underline;
}
.ras-rel-excerpt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ras-rel-footer {
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  padding: 8px 14px;
  text-align: right;
}

/* Interactive Rate This Profile Card */
.ras-rate-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  margin: 24px 0;
  text-align: center;
}
.ras-rate-title {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}
.ras-rate-sub {
  margin: 0 0 14px 0;
  font-size: 13.5px;
  color: #64748b;
}
.ras-rate-success {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.ras-star-fieldset {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 6px;
  border: none;
  padding: 0;
  margin: 0 0 10px 0;
}
.ras-star-fieldset input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.ras-star-fieldset label {
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: #cbd5e1;
  margin: 0;
  transition: color 0.12s ease, transform 0.12s ease;
  user-select: none;
}
.ras-star-fieldset label:hover,
.ras-star-fieldset label:hover ~ label,
.ras-star-fieldset input:checked ~ label {
  color: #f59e0b;
}
.ras-star-fieldset label:hover {
  transform: scale(1.12);
}
.ras-star-hint {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  min-height: 18px;
  margin-bottom: 12px;
}
.ras-rate-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 26px;
  border: none;
  border-radius: 8px;
  background: #0369a1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ras-rate-submit:hover {
  background: #075985;
}

/* Romance Scams Must Read */
.ras-mustread-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}
.ras-mustread-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  list-style: none !important;
  padding: 16px;
  margin: 14px 0 24px 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.ras-mustread-grid li {
  list-style: none !important;
  list-style-image: none !important;
  margin: 0;
}
.ras-mustread-grid a {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
  color: #0369a1;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}
.ras-mustread-grid a::before {
  content: "\203A";
  font-weight: 700;
  color: #12A3DF;
  flex: 0 0 auto;
  line-height: 1.3;
}
.ras-mustread-grid a:hover {
  background: #e0f2fe;
  color: #0369a1;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .ras-mustread-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

/* Premium Online Dating Fraud Investigation CTA */
.ras-cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 22px 0 10px 0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}
.ras-cta-copy {
  flex: 1 1 280px;
}
.ras-cta-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.ras-cta-sub {
  margin: 0;
  font-size: 13.5px;
  color: #cbd5e1;
}
.ras-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ras-cta-btn:hover {
  background: #e0f2fe;
  color: #0369a1 !important;
  transform: translateY(-1px);
}
@media (max-width: 575px) {
  .ras-cta-btn {
    width: 100%;
  }
}

/* Lightweight Native Vanilla-JS Lightbox */
.ras-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ras-lightbox.is-open {
  display: flex;
}
.ras-lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 82vh;
}
.ras-lb-img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  background: #0f172a;
}
.ras-lb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ras-lb-close:hover {
  background: #dc2626;
  border-color: #dc2626;
}
.ras-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ras-lb-nav:hover {
  background: #0284c7;
  border-color: #0284c7;
}
.ras-lb-prev { left: 16px; }
.ras-lb-next { right: 16px; }
.ras-lb-nav[hidden] { display: none; }
.ras-lb-footer {
  margin-top: 12px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
}
