/* Shared modern responsive listing styles for RipAndScam.com
   Used by: male-scammers-list.php, scammers-list.php, pet-scammers-website-list.php, fraudsters-scammers-list.php */

.middle_content {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.clr { clear: both; }
@media screen and (max-width: 1200px) { #content { margin-top: 135px; } }
@media screen and (max-width: 750px)  { #content { margin-top: 105px; } }
@media screen and (max-width: 690px)  { .header-bg { height: 75px !important; } }
@media (max-width: 767px) {
  .middle_content { padding: 14px 12px; border-radius: 8px; }
}

/* Breadcrumb */
.ras-breadcrumb {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}
.ras-breadcrumb a {
  color: #0369a1;
  text-decoration: none;
  font-weight: 600;
}
.ras-breadcrumb a:hover { text-decoration: underline; }

/* Search + Submit toolbar */
.ras-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 22px;
}
.ras-toolbar-end {
  justify-content: flex-end;
}
.ras-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 320px;
  margin: 0;
}
.ras-search-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
  margin: 0;
}
.ras-search-input {
  flex: 1 1 200px;
  min-width: 150px;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ras-search-input:focus {
  outline: none;
  border-color: #12A3DF;
  box-shadow: 0 0 0 3px rgba(18, 163, 223, 0.15);
}
.ras-search-btn {
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 7px;
  background: #0369a1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ras-search-btn:hover { background: #075985; }

.ras-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 7px;
  background: #dc2626;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ras-submit-btn:hover {
  background: #b91c1c;
  color: #ffffff !important;
}

/* Section headers */
.ras-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}
.ras-section-head:first-of-type { margin-top: 6px; }
.ras-section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  position: relative;
  padding-left: 12px;
}
.ras-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 4px;
  background: #12A3DF;
}
.ras-results-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Modern Responsive Profile Grid */
.ras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 20px 0;
}
@media (max-width: 767px) {
  .ras-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Profile Card */
.ras-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-card:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
}
.ras-card-inner {
  display: flex;
  gap: 14px;
  padding: 14px;
  align-items: flex-start;
}
.ras-card-photo-wrap {
  flex: 0 0 142px;
  width: 142px;
  height: 172px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: block;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .ras-card-photo-wrap {
    flex: 0 0 124px;
    width: 124px;
    height: 152px;
  }
}
@media (max-width: 767px) {
  .ras-card-photo-wrap {
    flex: 0 0 116px;
    width: 116px;
    height: 144px;
  }
}
.ras-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.25s ease;
}
.ras-card:hover .ras-card-photo {
  transform: scale(1.04);
}
.ras-card-body {
  flex: 1 1 auto;
  min-width: 0;
}
.ras-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.ras-card-name {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}
.ras-card-name a {
  color: #0f172a;
  text-decoration: none;
}
.ras-card-name a:hover {
  color: #0284c7;
  text-decoration: underline;
}
.ras-age-pill {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.ras-meta-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.ras-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #475569;
}
.ras-meta-icon {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.78;
}
.ras-meta-text {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ras-meta-email .ras-meta-text,
.ras-meta-url .ras-meta-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #334155;
  background: #f8fafc;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
}

/* Star Ratings */
.ras-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.ras-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.ras-star { font-size: 15px; }
.ras-star-full { color: #f59e0b; }
.ras-star-empty { color: #cbd5e1; }
.ras-rating-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Danger Progress Bar */
.ras-danger-wrap { margin-top: 2px; }
.ras-danger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
}
.ras-danger-label { color: #475569; font-weight: 600; }
.ras-danger-pct { font-weight: 700; font-size: 12px; }
.ras-danger-pct.ras-danger-high { color: #dc2626; }
.ras-danger-pct.ras-danger-med  { color: #d97706; }
.ras-danger-pct.ras-danger-low  { color: #16a34a; }

.ras-danger-track {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.ras-danger-fill { height: 100%; border-radius: 999px; }
.ras-danger-fill.ras-danger-high { background: linear-gradient(90deg, #f97316, #dc2626); }
.ras-danger-fill.ras-danger-med  { background: linear-gradient(90deg, #facc15, #f59e0b); }
.ras-danger-fill.ras-danger-low  { background: linear-gradient(90deg, #4ade80, #16a34a); }

/* Card Footer CTA */
.ras-card-footer {
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  padding: 8px 14px;
  text-align: right;
}
.ras-card-cta {
  font-size: 12.5px;
  font-weight: 600;
  color: #0369a1 !important;
  text-decoration: none !important;
}
.ras-card-cta:hover {
  color: #075985 !important;
  text-decoration: underline !important;
}

@media (max-width: 420px) {
  .ras-card-inner { gap: 10px; padding: 12px; }
  .ras-card-photo-wrap { flex: 0 0 100px; width: 100px; height: 124px; }
  .ras-card-name { font-size: 14.5px; }
  .ras-section-title { font-size: 19px; }
  .ras-submit-btn { width: 100%; }
}

/* Modern Pagination */
.ras-paginate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px 0;
}
.ras-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
a.ras-page-btn:hover {
  border-color: #0284c7;
  background: #e0f2fe;
  color: #0369a1 !important;
}
.ras-page-current {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff !important;
}
.ras-page-disabled {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8 !important;
  cursor: not-allowed;
}
.ras-page-ellipsis {
  color: #64748b;
  padding: 0 4px;
  font-weight: 700;
}

/* Ad slot (min-height reserves space to prevent AdSense CLS) */
.ras-ad-slot {
  grid-column: 1 / -1;
  text-align: center;
  padding: 10px 0;
  margin: 4px 0;
  min-height: 100px;
  contain: layout style;
}

/* Defer off-screen card layout/paint for faster FCP & INP */
.ras-card:nth-child(n+5) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 235px;
}

/* Pet Scam Type Dashboard & Fraudsters Directory Grids */
.ras-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 14px 0 22px 0;
}
@media (max-width: 991px) {
  .ras-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ras-links-grid { grid-template-columns: 1fr; }
}
.ras-links-grid a {
  display: block;
  font-size: 13.5px;
  color: #0284c7;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.12s ease;
}
.ras-links-grid a:hover {
  background: #e0f2fe;
  color: #0369a1;
  text-decoration: underline;
}
.ras-links-grid a.ras-active-link {
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 600;
}

/* Editorial SEO copy & footer links */
.ras-seo-article {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.7;
  font-size: 15px;
}
.ras-seo-article h2 {
  color: #0284c7;
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px 0;
}
.ras-seo-article h3 {
  color: #0284c7;
  font-size: 18px;
  font-weight: 700;
  margin: 18px 0 10px 0;
}
.ras-seo-article p { font-size: 15px; margin-bottom: 12px; }
.ras-seo-article ul, .ras-seo-article ol { padding-left: 22px; margin-bottom: 14px; }
.ras-seo-article li { margin-bottom: 6px; }

.ras-page-links-box {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}
.ras-page-links-box a { color: #0284c7; text-decoration: none; }
.ras-page-links-box a:hover { text-decoration: underline; }
.ras-report-cta {
  text-align: center;
  margin: 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #334155;
}
.ras-report-cta a { color: #dc2626; }

/* Autocomplete dropdown polish */
.ac_results { border-radius: 8px; border: 1px solid #cbd5e1 !important; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12); overflow: hidden; }
.ac_results li { font-size: 14px; padding: 6px 10px !important; }
.ac_odd { background-color: #f8fafc; }
.ac_over { background-color: #0284c7 !important; color: #ffffff !important; }
