/* ============================================================
   prc-unified.css — PublicRecordCenter.com
   Version: 20260308d
   Strategy: MOBILE-FIRST (min-width breakpoints)
   Changes in this version:
     - [FIX #3] Focus-visible ring on all interactive elements
     - [FIX #4] Font Awesome preconnect hint + font-display swap
     - Hamburger aria-expanded toggle via JS (already in index.php)
     - Skip-link base style added (ready for HTML insertion)
     - Removed duplicate max-width media query overrides
     - All base styles target mobile (<768px)
     - Tablet: @media (min-width: 768px)
     - Desktop: @media (min-width: 900px) / (min-width: 1024px)
   ============================================================ */

/* ── RESET & BOX MODEL ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  --prc-header-h: 66px;
  --navy:     #0a1628;
  --navy2:    #0d1f3c;
  --blue:     #0077b6;
  --cyan:     #00b4d8;
  --cyan2:    #0096c7;
  --light:    #f0f4f8;
  --card:     #ffffff;
  --text:     #1e293b;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --radius:   12px;
  /* Focus ring token — single source of truth */
  --focus-ring: 0 0 0 3px rgba(0,180,216,0.55);
}

/* ── GLOBAL FOCUS RING — Issue #3 Fix ── */
/* Use :focus-visible so keyboard users see ring, mouse users don't */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
/* For elements that use box-shadow (inputs, buttons) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

/* ── SKIP LINK — keyboard accessibility ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  background: var(--cyan);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}


/* ── font-display: swap fallback — Issue #7 fix ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local('Inter');
}
/* ── BASE BODY (mobile first) ── */
body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: #94a3b8;
  text-align: center;
  font-size: 11px;
  padding: 7px 40px 7px 20px;
  letter-spacing: .3px;
  position: relative;
}
.topbar a { color: #94a3b8; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar a:focus-visible { color: #fff; outline-color: var(--cyan); }
.topbar-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; font-size: 16px; color: #64748b; line-height: 1;
  padding: 6px 8px;                  /* Larger tap target */
  border-radius: 4px;
  background: none; border: none;    /* Make it a proper button */
  min-width: 44px; min-height: 44px; /* 44px tap target */
  display: flex; align-items: center; justify-content: center;
}
.topbar-close:hover { color: #fff; }
.topbar-close:focus-visible { outline: 2px solid var(--cyan); color: #fff; }

/* ══════════════════════════════════════════════
   HEADER / NAV — MOBILE FIRST
   Mobile base: hamburger visible, nav hidden
   min-width 768px: nav shows, hamburger hides
   ══════════════════════════════════════════════ */
header {
  background: var(--navy2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hdr-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;              /* tighter on mobile */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;                 /* slightly shorter on mobile */
  gap: 12px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-wrap img { display: block; max-height: 36px; width: auto; }
.logo-wrap:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
.logo-text { color: #fff; font-weight: 700; font-size: 15px; }
.logo-text span { color: var(--cyan); }

/* ── NAV: hidden on mobile, shown on tablet+ ── */
nav#main-nav {
  display: none;              /* mobile: hidden by default */
  gap: 4px;
}
nav#main-nav a {
  color: #94a3b8;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  transition: color .2s, background .2s;
  white-space: nowrap;
  /* Minimum 44px tap target height */
  min-height: 44px;
  display: flex; align-items: center;
}
nav#main-nav a:hover  { color: #fff; background: rgba(255,255,255,.08); }
nav#main-nav a.active { color: #fff; background: rgba(255,255,255,.12); }
nav#main-nav a:focus-visible {
  color: #fff;
  background: rgba(0,180,216,.18);
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
nav#main-nav .nav-cta {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
}
nav#main-nav .nav-cta:hover  { background: var(--cyan2) !important; }
nav#main-nav .nav-cta:focus-visible { outline-color: #fff !important; }

/* ── HAMBURGER: visible on mobile, hidden on tablet+ ── */
.hamburger {
  display: flex;               /* mobile: visible */
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;               /* minimum 44×44 tap target */
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.hamburger:hover  { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.hamburger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  background: rgba(0,180,216,.15);
}

/* When nav is toggled open on mobile */
nav#main-nav.open {
  display: flex;
  position: absolute;
  top: 56px; left: 0; right: 0;
  background: var(--navy2);
  flex-direction: column;
  padding: 12px 16px 16px;
  gap: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  z-index: 999;
  border-top: 1px solid rgba(0,180,216,.15);
}
nav#main-nav.open a {
  min-height: 48px;           /* larger touch target in dropdown */
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
}
nav#main-nav.open a:focus-visible {
  outline: 2px solid var(--cyan);
}

/* ── TABLET+ HEADER ── */
@media (min-width: 768px) {
  .hdr-inner { padding: 0 24px; height: 62px; }
  .logo-wrap img { max-height: 42px; }
  .logo-text { font-size: 17px; }
  nav#main-nav { display: flex; }          /* show desktop nav */
  .hamburger   { display: none; }          /* hide hamburger */
}

/* ══════════════════════════════════════════════
   PAGE HERO — mobile first
   ══════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a5e 60%, #0a3d6e 100%);
  padding: 28px 16px 32px;     /* tighter on mobile */
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 5.5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.page-hero p {
  color: #94a3b8;
  font-size: 14px;              /* 14px base on mobile */
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}
.page-hero p a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0,180,216,0.4); }
.page-hero p a:hover { color: #48cae4; }
.page-hero p a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }
.page-hero h1 a { color: #ffffff; text-decoration: none; }

@media (min-width: 768px) {
  .page-hero { padding: 36px 24px 40px; }
  .page-hero p { font-size: 15px; }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--navy2);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: #94a3b8; text-decoration: none; padding: 4px 0; }
.breadcrumb-inner a:hover { color: var(--cyan); }
.breadcrumb-inner a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }
.breadcrumb-inner .sep { color: #4a5568; }
.breadcrumb-inner .current { color: #fff; }

@media (min-width: 768px) {
  .breadcrumb-inner { padding: 0 24px; font-size: 13px; gap: 8px; }
}

/* ── BREADCRUMB ol/li pattern (county pages) ── */
.breadcrumb-bar {
  background: var(--navy2);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
ol.breadcrumb {
  list-style: none;
  margin: 0 auto;
  padding: 6px 16px;
  max-width: 1280px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 12px;
  color: #94a3b8;
}
ol.breadcrumb li.breadcrumb-item + li.breadcrumb-item::before {
  content: "›";
  color: #4a5568;
  margin-right: 6px;
}
ol.breadcrumb li.breadcrumb-item a {
  color: #94a3b8;
  text-decoration: none;
}
ol.breadcrumb li.breadcrumb-item a:hover { color: var(--cyan); }
ol.breadcrumb li.breadcrumb-item.active { color: #fff; font-weight: 500; }
}

/* ══════════════════════════════════════════════
   PAGE LAYOUT — mobile: single col; desktop: sidebar grid
   ══════════════════════════════════════════════ */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px 40px;     /* mobile padding */
  display: grid;
  grid-template-columns: 1fr;  /* single column on mobile */
  gap: 20px;
}
@media (min-width: 768px) {
  .page-wrap { padding: 28px 24px 48px; gap: 28px; }
}
@media (min-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr 280px;  /* sidebar appears on desktop */
    padding: 32px 24px 56px;
    gap: 32px;
  }
  .sidebar { order: 0; }
}
.main-content {}

/* auto-expand main-col to full width when no sidebar is present */
.main-col:only-child { grid-column: 1 / -1; }
.page-wrap:not(:has(.sidebar-col)):not(:has(aside)) { grid-template-columns: 1fr; }

/* ── INTRO BOX ── */
.intro-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px 20px;
  margin-bottom: 20px;
  line-height: 1.75;
  font-size: 14px;
}
.intro-box a { color: var(--blue); font-weight: 500; text-decoration: none; }
.intro-box a:hover { text-decoration: underline; }
.intro-box a:focus-visible { outline: 2px solid var(--cyan); border-radius: 3px; }

@media (min-width: 768px) {
  .intro-box { padding: 22px 26px; font-size: 15px; }
}

/* ── SECTION CARD ── */
.section-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  overflow: hidden;
}
.section-card-header {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-card-header i { color: var(--cyan); font-size: 15px; }
.section-card-header h2 { color: #fff; font-size: 14px; font-weight: 700; margin: 0; }
.section-card-body { padding: 14px 16px; }
.section-intro { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

@media (min-width: 768px) {
  .section-card-header { padding: 14px 20px; }
  .section-card-header h2 { font-size: 15px; }
  .section-card-header i { font-size: 17px; }
  .section-card-body { padding: 18px 20px; }
}

/* ── LINK GRID ── */
.link-grid {
  display: grid;
  grid-template-columns: 1fr;  /* single column on mobile */
  gap: 8px;
}
@media (min-width: 480px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .link-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
.link-grid a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fafbfc;
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  transition: background .18s, border-color .18s, transform .18s;
  min-height: 44px;             /* tap target */
}
.link-grid a:hover {
  background: var(--light);
  border-color: var(--cyan);
  color: var(--blue);
  transform: translateY(-1px);
}
.link-grid a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  background: var(--light);
  border-color: var(--cyan);
}
.link-grid a strong { color: var(--blue); display: block; }
.link-grid a span   { color: var(--muted); font-size: 12.5px; font-weight: 400; }

/* ── LEGACY LINK LIST ── */
.link-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 480px) {
  .link-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .link-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
.link-list li a {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 13px; border-radius: 8px;
  border: 1px solid var(--border); background: #fafbfc;
  color: var(--text); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  transition: background .18s, border-color .18s;
  min-height: 44px;             /* tap target */
}
.link-list li a:hover { background: var(--light); border-color: var(--cyan); color: var(--blue); }
.link-list li a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  background: var(--light);
  border-color: var(--cyan);
}
.link-list li a::before {
  content: '\f0da'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--cyan); font-size: 11px; margin-top: 2px; flex-shrink: 0;
}

/* ── STATE GRID ── */
.state-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 cols on mobile */
  gap: 8px;
}
@media (min-width: 480px) {
  .state-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .state-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.state-grid a {
  display: block; padding: 10px 12px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: 8px; color: var(--blue);
  font-size: 13px; font-weight: 500; text-decoration: none; text-align: center;
  transition: background .18s, color .18s, border-color .18s;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.state-grid a:hover { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.state-grid a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  background: var(--cyan);
  color: #fff;
}

/* ── SIDEBAR ── */
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  overflow: hidden;
}
.sidebar-card-header {
  background: var(--navy);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card-header i  { color: var(--cyan); font-size: 13px; }
.sidebar-card-header h3 { color: #fff; font-size: 13px; font-weight: 700; margin: 0; }
.sidebar-card-body { padding: 12px 14px; }
.sidebar-link-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sidebar-link-list li a {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); text-decoration: none; font-size: 13px;
  padding: 8px 10px; border-radius: 6px;
  border: 1px solid var(--border); background: #fafbfc;
  transition: background .15s, border-color .15s;
  min-height: 44px;              /* tap target */
}
.sidebar-link-list li a::before {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--cyan); font-size: 10px; flex-shrink: 0;
}
.sidebar-link-list li a:hover { background: var(--light); border-color: var(--cyan); color: var(--blue); }
.sidebar-link-list li a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  background: var(--light);
  border-color: var(--cyan);
}

/* ── QA SECTION ── */
.qa-section {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 18px 20px; margin-top: 18px;
}
.qa-section h3 {
  color: var(--blue); font-size: 14px; font-weight: 700;
  margin: 0 0 6px; padding: 12px 0 6px;
  border-top: 1px solid var(--border);
}
.qa-section h3:first-child { border-top: none; padding-top: 0; }
.qa-section p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

@media (min-width: 768px) {
  .qa-section { padding: 22px 24px; }
  .qa-section h3 { font-size: 15px; }
}

/* ── GENERIC CONTAINERS ── */
.container        { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.mt-15            { margin-top: 15px; }
.content-wrapper  { max-width: 1280px; margin: 0 auto; padding: 20px 16px 40px; }
.content-area {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 16px 40px;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) {
  .container       { padding: 0 24px; }
  .content-wrapper { padding: 28px 24px 56px; }
  .content-area    { padding: 28px 24px 56px; gap: 28px; }
}
@media (min-width: 900px) {
  .content-area { grid-template-columns: 1fr 280px; gap: 32px; }
}

/* ── LEGACY OVERRIDES ── */
table.OTitle, .prc-nav, header.page-header { display: none !important; }
.page-header { display: none !important; }

/* ══════════════════════════════════════════════
   FOOTER — mobile first
   ══════════════════════════════════════════════ */
footer {
  background: var(--navy) !important;
  border-top: 2px solid rgba(0,180,216,0.18) !important;
  padding: 0 !important;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 16px 16px;   /* tighter on mobile */
  color: #cbd5e1;
  font-size: 13px;
}
.footer-top {
  display: flex;
  flex-direction: column;    /* stack on mobile */
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand   { max-width: 100%; }
.footer-tagline { color: #94a3b8; font-size: 12.5px; margin-top: 8px; line-height: 1.5; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  color: #e2e8f0 !important;
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  min-height: 40px; display: inline-flex; align-items: center;
}
.footer-links a:hover { background: rgba(255,255,255,.08); color: #fff !important; }
.footer-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  color: #fff !important;
}
.footer-bottom {
  color: #94a3b8; font-size: 12px; text-align: center;
}
.footer-inner a { color: #e2e8f0 !important; text-decoration: none !important; }
.footer-inner a:hover { color: #fff; }
.footer-inner a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }
.footer-inner p { margin-bottom: 7px; color: #cbd5e1 !important; text-align: center; }

p.footer-links a { margin: 0 6px; }

@media (min-width: 768px) {
  .footer-inner { padding: 32px 24px 20px; }
  .footer-top {
    flex-direction: row;         /* side by side on tablet+ */
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-brand { max-width: 480px; }
  .footer-links { justify-content: center; }
}

/* ── BACK TO TOP ── */
#toTop {
  display: none;
  position: fixed; bottom: 20px; right: 20px;
  background: var(--cyan); color: var(--navy);
  width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,180,216,.4);
  z-index: 999;
  transition: background .2s;
  border: none;
}
#toTop:hover { background: var(--cyan2); }
#toTop:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ══════════════════════════════════════════════
   UNIFIED SEARCH BOX — White card style
   ══════════════════════════════════════════════ */
.PR_search_wrapper {
  background: linear-gradient(135deg,#0a1628 0%,#1a3a2e 100%) !important;
  border-radius: 16px !important;
  padding: 18px 16px !important;   /* compact on mobile */
  box-shadow: 0 4px 40px rgba(0,0,0,0.12) !important;
  max-width: 800px !important;
  margin: 16px auto !important;
  border: 1px solid #e2e8f0 !important;
}
@media (min-width: 768px) {
  .PR_search_wrapper { padding: 24px 28px !important; margin: 20px auto !important; }
}
.PR_search_wrapper .PRS_box_wrap { max-width: 100% !important; margin: 0 !important; }

.PR_search_wrapper .PRS_box_wrap > div:first-child {
  color: #94a3b8 !important; font-size: 11px !important;
  text-align: center !important; margin-bottom: 6px !important;
}
.PR_search_wrapper .ban_blue_headline h2 {
  color: #ffffff !important; font-size: 17px !important;
  font-weight: 700 !important; text-align: center !important; margin-bottom: 16px !important;
}

/* Form row */
.PR_search_wrapper .PRS_box_table {
  display: flex !important; flex-direction: column !important; /* stack on mobile */
  gap: 10px !important; width: 100% !important;
}
@media (min-width: 600px) {
  .PR_search_wrapper .PRS_box_table {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
}
.PR_search_wrapper .PRS_box_col {
  display: flex !important; flex-direction: column !important;
  gap: 5px !important; flex: 1 1 auto !important; min-width: 100% !important;
}
@media (min-width: 600px) {
  .PR_search_wrapper .PRS_box_col { min-width: 100px !important; max-width: 220px !important; }
  .PR_search_wrapper .PRS_box_col:last-child { flex: 0 0 auto !important; max-width: none !important; }
}

.PR_search_wrapper label {
  color: #94a3b8 !important; font-size: 11px !important; font-weight: 600 !important;
  text-transform: uppercase !important; letter-spacing: 0.5px !important;
}
.PR_search_wrapper input[type=text],
.PR_search_wrapper input[name=qf],
.PR_search_wrapper input[name=qn],
.PR_search_wrapper input[name=qc],
.PR_search_wrapper select {
  border: 1.5px solid #e2e8f0 !important; border-radius: 10px !important;
  background: #f8fafc !important; color: #1e293b !important;
  font-size: 14px !important; padding: 10px 14px !important;
  height: 44px !important; width: 100% !important;
  box-shadow: none !important; box-sizing: border-box !important;
  transition: border-color 0.2s !important;
}
.PR_search_wrapper input[type=text]:focus,
.PR_search_wrapper select:focus {
  border-color: #00b4d8 !important; background: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,180,216,0.2) !important;
}
.PR_search_wrapper input[type=submit],
.PR_search_wrapper .blue_btn[type=submit],
.PR_search_wrapper input.blue_btn,
.PR_search_wrapper button.search-btn,
.PR_search_wrapper button[type=submit] {
  background: #00b4d8 !important; background: linear-gradient(135deg,#00b4d8,#0077b6) !important;
  color: #ffffff !important; border: none !important;
  border-radius: 10px !important; padding: 0 26px !important;
  height: 44px !important; width: 100% !important;
  font-size: 14px !important; font-weight: 700 !important;
  cursor: pointer !important; letter-spacing: 0.3px !important;
  box-shadow: 0 4px 14px rgba(0,180,216,0.45) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
  margin-top: 4px !important;
}
@media (min-width: 600px) {
  .PR_search_wrapper input[type=submit],
  .PR_search_wrapper input.blue_btn,
  .PR_search_wrapper button[type=submit] { width: auto !important; margin-top: 16px !important; }
}
.PR_search_wrapper input[type=submit]:hover,
.PR_search_wrapper input.blue_btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,180,216,0.55) !important;
}
.PR_search_wrapper input[type=submit]:focus-visible,
.PR_search_wrapper input.blue_btn:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 3px !important;
}

/* Homepage hero search box — keep dark theme */
.search-box .PR_search_wrapper {
  background: linear-gradient(135deg,#0a1628 0%,#1a3a2e 100%) !important;
  border-radius: 12px !important; border: none !important;
  box-shadow: none !important; padding: 22px 24px !important;
  margin: 0 !important; max-width: 100% !important;
}
.search-box .PR_search_wrapper .ban_blue_headline h2 { color: #ffffff !important; }
.search-box .PR_search_wrapper label { color: #94a3b8 !important; }
.search-box .PR_search_wrapper input[type=text],
.search-box .PR_search_wrapper select {
  border: 1px solid rgba(255,255,255,.2) !important;
  background: rgba(255,255,255,.95) !important;
}

/* ── FCRA DISCLAIMER ── */
.fcra-disclaimer {
  background: #071428;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 16px;
}
.fcra-inner {
  max-width: 1280px; margin: 0 auto;
  font-size: 11.5px; color: #b0bec5; line-height: 1.65; text-align: center;
}
.fcra-inner strong { color: #e2e8f0; }
.fcra-inner a { color: #38bdf8; text-decoration: none; }
.fcra-inner a:hover { color: #7dd3fc; text-decoration: underline; }
.fcra-inner a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }

@media (min-width: 768px) {
  .fcra-disclaimer { padding: 16px 24px; }
}


/* ══════════════════════════════════════════════
   CITY INFO PAGES — hero  (city-info.php)
   ══════════════════════════════════════════════ */
.city-hero {
  background: linear-gradient(135deg,#0a1628 0%,#1a3a6b 100%);
  padding: 36px 24px 40px;
  text-align: center;
}
.city-hero h1 {
  color: #fff;
  font-size: clamp(1.3rem,3.5vw,2rem);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}
.city-hero p {
  color: #94a3b8;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto;
}
/* city link-grid: sub-description line */
.link-grid a .sub,
.link-grid a span.sub { color: var(--muted); font-size: 12.5px; font-weight: 400; display: block; margin-top: 2px; }
.link-grid a:hover .sub,
.link-grid a:hover span.sub { color: #94a3b8; }



/* ═══════════════════════════════════════════════════════════════════════════
   LEGACY-PAGE LAYOUT CLASSES  (areacodes, canspam, government, pacer, etc.)
   Added: 2026-03-10 v20260310d
   ═══════════════════════════════════════════════════════════════════════════ */

/* Content header (h1 + breadcrumb block at top of page) */
.content-header {
  margin-bottom: 24px;
}
.content-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.content-header .breadcrumb {
  font-size: 13px;
  color: #64748b;
}
.content-header .breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
}
.content-header .breadcrumb a:hover { text-decoration: underline; }

/* Intro section (first paragraph block) */
.intro-section {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dde6f0;
  padding: 22px 28px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #1e293b;
}

/* General content sections */
.content-section {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dde6f0;
  padding: 22px 28px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #1e293b;
}
.content-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan);
}
.content-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 8px;
}
.content-section p { margin: 0 0 12px; }
.content-section ul, .content-section ol {
  padding-left: 22px;
  margin: 0 0 12px;
}
.content-section li { margin-bottom: 6px; }
.content-section a { color: var(--cyan); text-decoration: none; }
.content-section a:hover { text-decoration: underline; }

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
}
.data-table thead tr {
  background: var(--navy);
  color: #fff;
}
.data-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  vertical-align: top;
}
.data-table tbody tr:nth-child(even) { background: #f8fafc; }
.data-table tbody tr:hover { background: #eef4ff; }
.data-table a { color: var(--cyan); text-decoration: none; }
.data-table a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 7px 10px; }
}

/* FAQ sections */
.faq-section {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dde6f0;
  padding: 22px 28px;
  margin-bottom: 24px;
}
.faq-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan);
}
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}
.faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

/* Related links box */
.related-links {
  background: #f0f7ff;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  padding: 18px 22px;
  margin-bottom: 24px;
  font-size: 14px;
}
.related-links h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}
.related-links ul { list-style: none; padding: 0; margin: 0; }
.related-links li { margin-bottom: 6px; }
.related-links a { color: var(--cyan); text-decoration: none; font-weight: 500; }
.related-links a:hover { text-decoration: underline; }

/* Page last-updated note */
.page-updated {
  font-size: 12px;
  color: #94a3b8;
  margin-top: -16px;
  margin-bottom: 20px;
}

/* Make <main class="page-wrap"> behave same as <div class="page-wrap"> */
main.page-wrap {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}
@media (max-width: 768px) {
  main.page-wrap { padding: 20px 16px 40px; }
}


/* ═══════════════════════════════════════════════════════
   CITIES DIRECTORY PAGE STYLES (.grayBG, .box, .title2)
   Added v=20260310d
   ═══════════════════════════════════════════════════════ */

/* Directory title */
.title2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00b4d8;
  border-bottom: 2px solid #00b4d8;
  padding-bottom: 6px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Alphabet quick-nav boxes */
.box {
  display: inline-block;
  margin: 2px 3px;
  padding: 4px 10px;
  background: #00b4d8;
  color: #fff !important;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  vertical-align: middle;
}
.box a {
  color: #fff !important;
  text-decoration: none;
}
.box:hover, .box a:hover {
  background: #0077b6;
  color: #fff !important;
}

/* Letter-section header inside city table */
.grayBG {
  background: #eef2f7;
  color: #00b4d8;
  font-weight: 700;
  font-size: .95rem;
  padding: 5px 10px;
  border-left: 4px solid #00b4d8;
  margin: 10px 0 4px;
  border-radius: 0 4px 4px 0;
}

/* Cities directory table */
.page-wrap .main-col table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.page-wrap .main-col table td {
  vertical-align: top;
  padding: 0 12px 12px 0;
  width: 50%;
}
.page-wrap .main-col table ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.page-wrap .main-col table ul li {
  margin: 3px 0;
  padding-left: 14px;
  position: relative;
}
.page-wrap .main-col table ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #00b4d8;
  font-weight: bold;
}
.page-wrap .main-col table ul li a {
  color: #0a58ca;
  text-decoration: none;
}
.page-wrap .main-col table ul li a:hover {
  color: #00b4d8;
  text-decoration: underline;
}

/* State links row at bottom of cities pages */
.state-links-bar {
  margin-top: 24px;
  padding: 14px 16px;
  background: #f0f4f8;
  border-radius: 8px;
  font-size: .88rem;
  line-height: 2;
}
.state-links-bar a {
  color: #0a58ca;
  text-decoration: none;
  margin: 0 4px;
}
.state-links-bar a:hover {
  text-decoration: underline;
  color: #00b4d8;
}

/* ═══════════════════════════════════════
   PRC DROPDOWN NAV BAR  (#prc-nav-bar)
═══════════════════════════════════════ */
#prc-nav-bar{
  background:transparent;
  border-top:none;
  padding:10px 20px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
#prc-nav-bar label{
  color:#94a3b8;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
  white-space:nowrap;
}
.prc-nav-sel{
  flex:1;
  min-width:160px;
  max-width:260px;
  padding:8px 12px;
  border:1.5px solid rgba(255,255,255,.15);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:13px;
  font-family:inherit;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
  padding-right:30px;
  transition:border-color .2s;
}
.prc-nav-sel:focus{outline:none;border-color:#00b4d8;}
.prc-nav-sel option{background:#0d2040;color:#fff;}
.prc-nav-sel:disabled{opacity:.4;cursor:default;}
#prc-nav-go{
  padding:8px 20px;
  background:#00b4d8;
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  transition:background .15s;
  flex-shrink:0;
}
#prc-nav-go:hover{background:#0077b6;}
#prc-nav-go:disabled{background:#334155;cursor:default;}
@media(max-width:600px){
  #prc-nav-bar{flex-direction:column;align-items:stretch;}
  .prc-nav-sel{max-width:100%;}
  #prc-nav-go{width:100%;}
}

/* ══════════════════════════════════════════════
   SEARCH FORM BUTTON OVERFLOW FIX
   Prevents Search button from protruding below
   the dark form card on city/county pages
   ══════════════════════════════════════════════ */
.PR_search_wrapper {
  padding-bottom: 28px !important;
  overflow: visible !important;
}
@media (min-width: 768px) {
  .PR_search_wrapper {
    padding-bottom: 32px !important;
  }
}

/* Align button baseline to match inputs — belt & braces */
.PR_search_wrapper .PRS_box_col:last-child {
  justify-content: flex-end !important;
  padding-bottom: 0 !important;
}

.PR_search_wrapper input[type=submit],
.PR_search_wrapper input.blue_btn,
.PR_search_wrapper button[type=submit],
.PR_search_wrapper button.search-btn {
  box-sizing: border-box !important;
  height: 44px !important;
  margin-top: 0 !important;
  align-self: flex-end !important;
}


/* ================================================================
   BAR 2 — Topic Strip  (appended by fix script 2026-03-11)
   ================================================================ */

/* ── Topic strip container ── */
#prc-topic-strip {
  display: block;
  background: #060f1e;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: var(--prc-header-h, 66px);
  z-index: 900;
}
.ts-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 20px;
}
.ts-item { position: relative; }

/* ── Topic button ── */
.ts-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 42px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Inter, sans-serif;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.ts-btn:hover,
.ts-item.open .ts-btn {
  color: #00b4d8;
  border-bottom-color: #00b4d8;
}
.ts-caret {
  font-size: 9px;
  opacity: .7;
  transition: transform .2s;
}
.ts-item.open .ts-caret { transform: rotate(180deg); }

/* ── Dropdown panel — HIDDEN by default ── */
.ts-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0a1628;
  border: 1px solid rgba(0,180,216,.2);
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  padding: 20px;
  min-width: 460px;
  z-index: 999;
}
.ts-item.open .ts-panel { display: block; }

/* ── Panel layout ── */
.ts-panel-cols { display: flex; gap: 28px; }
.ts-col h4 {
  color: #00b4d8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ts-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  transition: color .15s;
}
.ts-col a:hover { color: #e2e8f0; }
.ts-col a i { width: 16px; margin-right: 6px; color: inherit; }

/* ── States grid inside panel ── */
.ts-states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px 20px;
}
.states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px 20px;
}
.states-grid a, .ts-states-grid a {
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
  padding: 3px 0;
  transition: color .15s;
}
.states-grid a:hover, .ts-states-grid a:hover { color: #00b4d8; }

/* ── Hide legacy nav elements that may bleed through ── */
nav.hdr-nav       { display: none !important; }
nav#main-nav      { display: none !important; }
.hamburger        { display: none !important; }
.county-banner.city-banner { display: none !important; }
.prc-old-nav      { display: none !important; }
.table_wrap.nav-table { display: none !important; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .ts-panel { min-width: 280px; left: auto; right: 0; }
  .ts-panel-cols { flex-direction: column; gap: 16px; }
  .ts-states-grid, .states-grid { grid-template-columns: repeat(3,1fr); }
  .ts-btn { padding: 0 12px; font-size: 12px; }
}

/* ================================================================
   Bar2 toggle JS  (inline fallback — ensures toggleTs is defined)
   ================================================================ */


/* ================================================================
   BAR 1 — Logo wordmark + Go-To nav  (appended 2026-03-11)
   These classes are used by state-info.php / state-info-f3.php
   ================================================================ */

/* ── Logo icon box (gradient square with search icon) ── */
.logo-icon-box {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,180,216,.35);
  flex-shrink: 0;
}
.logo-icon-box i { color: #fff; font-size: 16px; }

/* ── Logo wordmark ── */
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main-text {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.4px;
  white-space: nowrap;
  font-family: Inter, sans-serif;
}
.logo-rec  { color: #00b4d8; }
.logo-com  {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  vertical-align: super;
  margin-left: 1px;
  letter-spacing: .4px;
}
.logo-tagline-text {
  font-size: 10px;
  font-weight: 500;
  color: #5a96b8;
  letter-spacing: .7px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Go-To inline nav (State / County / City dropdowns) ── */
.prc-nav-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.prc-nav-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.prc-nav-sel {
  flex: 1;
  min-width: 125px;
  max-width: 185px;
  height: 36px;
  background: rgba(255,255,255,.09);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  padding: 0 26px 0 10px;
  font-size: 13px;
  font-family: Inter, sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a6b2e' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.prc-nav-sel:focus  { outline: 2px solid #00b4d8; border-color: #00b4d8; }
.prc-nav-sel:disabled { opacity: .4; cursor: not-allowed; }
.prc-nav-sel option { background: #0a1628; color: #e2e8f0; }

/* ── Go button ── */
.prc-nav-go {
  background: #00b4d8;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 18px;
  height: 36px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: Inter, sans-serif;
  transition: background .2s;
}
.prc-nav-go:hover:not(:disabled) { background: #0077b6; }
.prc-nav-go:disabled { opacity: .4; cursor: not-allowed; }

/* ── Ensure header height accommodates the taller Bar1 layout ── */
header .hdr-inner, header .header-inner { min-height: 0; height: 66px; padding: 0 24px; }

/* ── Mobile adjustments for Bar1 ── */
@media (max-width: 768px) {
  .prc-nav-sel  { max-width: 100%; }
  .prc-nav-go   { width: 100%; }
  .logo-main-text { font-size: 15px; }
  .logo-icon-box  { width: 30px; height: 30px; }
  .logo-icon-box i { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════════
   COUNTY PAGE CONTENT — resources sections + rc-grid cards
   Applied to all *-county-*-public-record*.htm static files
   ══════════════════════════════════════════════════════════════ */

/* ── County page hero (title bar) ── */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 100%);
  padding: 36px 24px 40px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.25;
}
.page-hero .hero-sub {
  color: #94a3b8;
  font-size: clamp(13px, 2vw, 15px);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Content wrapper ── */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Intro block ── */
.intro-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0 10px;
}
.intro-block p {
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ── Resources section card ── */
.resources-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 20px 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ── Resources section header (dark bar) ── */
.resources-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(90deg, #0a1628 0%, #0d2145 100%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.resources-header h2 {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

/* ── Resources body ── */
.resources-body {
  padding: 12px 16px 16px;
  background: #fff;
}

/* ── rc-grid: responsive 2-col card grid ── */
.rc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

/* ── Individual resource card ── */
.rc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.rc-item:hover {
  border-color: #00b4d8;
  box-shadow: 0 2px 8px rgba(0,180,216,.12);
}

/* ── Icon circle ── */
.rc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #e8f4fd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077b6;
  font-size: 14px;
}

/* ── Card text body ── */
.rc-body {
  flex: 1;
  min-width: 0;
}
.rc-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.3;
}
.rc-name a {
  color: #0077b6;
  text-decoration: none;
}
.rc-name a:hover {
  color: #005a8e;
  text-decoration: underline;
}
.rc-addr {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  display: block;
}

/* ── Section description paragraph ── */
.resources-section > p {
  padding: 12px 20px 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .rc-grid { grid-template-columns: 1fr; }
  .resources-header { padding: 12px 16px; }
  .rc-item { padding: 10px 12px; }
}
/* ══ end county page CSS ══ */
"CSSEOF"

echo "CSS appended. Total lines now:"
wc -l "/var/www/html/publicrecordcenter.com/css/prc-unified.css"

echo ""
echo "=== VERIFY new classes present ==="
grep -c "resources-section\|rc-grid\|rc-item\|rc-icon\|rc-body\|rc-name\|rc-addr" "/var/www/html/publicrecordcenter.com/css/prc-unified.css"


/* ═══════════════════════════════════════════════════
   MOBILE FIX v2 — Header no longer overflows screen
   Added: 2026-03-12
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Kill horizontal scroll on whole page ── */
  /* html removed - overflow-x on html breaks sticky */
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* ── Topbar: one line, no wrap ── */
  .topbar {
    font-size: 9px !important;
    padding: 5px 36px 5px 10px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left !important;
  }

  /* ── Header: contained, no overflow ── */
  header {
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hdr-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 7px 10px !important;
    gap: 6px !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }

  /* ── Logo: shrink tagline, keep wordmark ── */
  .logo-tagline-text { display: none !important; }
  .logo-icon-box { width: 28px !important; height: 28px !important; }
  .logo-icon-box i { font-size: 13px !important; }
  .logo-main-text { font-size: 13px !important; white-space: nowrap !important; }
  .logo-wrap { flex-shrink: 0 !important; }

  /* ── GO TO nav: single compact row, fits next to logo ── */
  .prc-nav-inline {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .prc-nav-label { display: none !important; }
  .prc-nav-sel {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 0 !important;
    height: 28px !important;
    font-size: 10px !important;
    padding: 0 2px !important;
    border-radius: 4px !important;
  }
  .prc-nav-go {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 8px !important;
    height: 28px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
  }

  /* ── Topic strip: horizontal scroll row, NOT stacked ── */
  #prc-topic-strip {
    position: static !important;
    top: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  #prc-topic-strip::-webkit-scrollbar { display: none; }

  .ts-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 4px !important;
    scrollbar-width: none !important;
    max-width: 100vw !important;
  }
  .ts-inner::-webkit-scrollbar { display: none; }

  .ts-item { flex-shrink: 0 !important; }

  .ts-btn {
    width: auto !important;
    padding: 0 12px !important;
    height: 36px !important;
    white-space: nowrap !important;
    border-bottom: 2px solid transparent !important;
    justify-content: center !important;
    font-size: 12px !important;
  }

  /* ── Dropdown panels: slide in from top-left corner, full width ── */
  .ts-panel {
    position: fixed !important;
    top: 94px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
  }
  .ts-panel-cols { flex-direction: column !important; gap: 12px !important; }
  .states-grid {
    min-width: 0 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px !important;
  }
  .states-grid a { width: auto !important; }
}

/* ── Mobile: ts-panel static override ── */
@media(max-width:768px){
  .ts-panel {
    position: static !important;
    display: none !important;
    border-radius: 0;
    min-width: 0;
    border-left: none;
    border-right: none;
    width: 100% !important;
  }
  .ts-item.open > .ts-panel {
    display: block !important;
  }
}

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES (merged)
═══════════════════════════════════════ */
/*
 * ================================================================
 *  prc-mobile-fix.css
 *  Mobile-First Fixes for PublicRecordCenter.com
 *  Deployed: 2026-03-13 (v4 — .hdr-inner + topic-strip fixes + server deploy)
 *  Fixes: GO TO overflow, nav hamburger drawer, header crowding,
 *         touch targets, search form, grid layouts
 * ================================================================
 */

/* ================================================================
   BASE RESETS — applied to ALL viewports
   ================================================================ */
* { box-sizing: border-box; }
/* html removed - overflow-x on html element breaks position:sticky */
body { overflow-x: hidden; max-width: 100vw; }

/* ================================================================
   MOBILE BASE  (< 768px)
   Everything here is the default — overridden upward at 768px+
   ================================================================ */

/* ── 1. HIDE GO TO bar on mobile completely ── */
.prc-nav-inline,
#prc-nav-bar {
  display: none !important;
}

/* ── 2. HEADER single row: logo left, hamburger right ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner,
.hdr-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  height: 58px !important;
  gap: 12px !important;
}

/* ── 3. HAMBURGER — always visible on mobile ── */
.hamburger,
#hamburger-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: none !important;
  border: none !important;
  color: white !important;
  font-size: 22px !important;
  cursor: pointer !important;
  padding: 10px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
#hamburger-btn:hover { background: rgba(255,255,255,0.1) !important; }

/* ── 4. MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  flex-direction: column !important;
  background: #0d1f3c;
  padding: 8px 0 16px;
  border-top: 1px solid rgba(0,180,216,0.18);
  position: relative;
  z-index: 999;
}
.mobile-nav.open {
  display: flex !important;
}

/* Nav drawer links — large touch targets */
.mobile-nav a {
  display: block !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  padding: 13px 24px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  border-left: 3px solid transparent;
  min-height: 48px;
  display: flex !important;
  align-items: center;
  transition: background 0.15s, border-color 0.15s !important;
}
.mobile-nav a:hover {
  background: rgba(0,180,216,0.12) !important;
  border-left-color: #00b4d8;
  color: #fff !important;
}

/* ── 5. GO TO SECTION inside mobile drawer ── */
.mobile-goto-wrap {
  margin: 10px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(0,180,216,0.15);
}
.mobile-goto-wrap .goto-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
}
.mobile-goto-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}
.mobile-goto-selects select,
.mobile-goto-wrap .goto-city-sel {
  width: 100%;
  padding: 8px 10px;
  background: #0a1628;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
}
.mobile-goto-wrap .goto-city-sel {
  margin-bottom: 6px;
}
.mobile-goto-wrap .goto-go-btn {
  width: 100%;
  padding: 9px;
  background: #00b4d8;
  color: #051525;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ── BOTTOM DISCLAIMER BAR ── */
.topbar {
  font-size: 10px !important;
  padding: 10px 12px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  border-top: 1px solid rgba(0,180,216,0.18) !important;
  border-bottom: none !important;
}

/* ── 7. HERO SECTION — ultra-compact top ── */
.hero {
  padding: 10px 16px 22px !important;
}
.hero-badge {
  padding: 4px 12px !important;
  font-size: 10px !important;
  margin-bottom: 8px !important;
  gap: 5px !important;
}
.hero h1 {
  font-size: clamp(28px, 5.5vw, 48px) !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

/* ── 8. SEARCH FORM — full-width stacked on MOBILE only ── */
/* NOTE: These rules are inside @media max-width:600px to avoid breaking desktop */
@media (max-width: 600px) {
  .search-box {
    margin: 0 !important;
    border-radius: 12px !important;
  }
  .search-box-inner {
    padding: 12px 14px 14px !important;
  }
  .search-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .sf-col {
    width: 100% !important;
  }
  .sf-col input:not([type=submit]),
  .sf-col select {
    width: 100% !important;
    min-width: unset !important;
    height: 46px !important;
    font-size: 15px !important;
  }
  .sf-submit {
    width: 100% !important;
    height: 48px !important;
    font-size: 16px !important;
    margin-top: 4px !important;
  }
}

/* ── 9. TRUST STRIP — 2x2 grid on mobile ── */
.trust-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
.trust-item {
  padding: 16px 12px !important;
  border-right: none !important;
  border-bottom: 1px solid var(--border) !important;
  width: 100% !important;
}
.trust-item:nth-child(odd) {
  border-right: 1px solid var(--border) !important;
}
.trust-num { font-size: 26px !important; }

/* ── 10. POPULAR GRID — 2 cols on mobile ── */
.popular-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}
.pop-card {
  padding: 16px 10px 14px !important;
}
.pop-icon {
  width: 46px !important;
  height: 46px !important;
  font-size: 20px !important;
}
.pop-card h4 { font-size: 12px !important; }

/* ── 11. SECTION padding on mobile ── */
.section { padding: 32px 16px !important; }
.dir-wrap { padding: 32px 16px !important; }

/* ── 12. VITAL GRID — 1 col mobile ── */
.vital-grid {
  grid-template-columns: 1fr !important;
}

/* ── 13. DIRECTORY LAYOUT — stacked on mobile ── */
.dir-layout {
  grid-template-columns: 1fr !important;
}

/* ── 14. STATE GRID — 2 cols on mobile ── */
.state-browse-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
}
.state-browse-bg { padding: 32px 0 !important; }

/* ── 15. TOPIC STRIP — horizontal scroll on mobile ── */
#prc-topic-strip {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
#prc-topic-strip::-webkit-scrollbar { display: none !important; }
.ts-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
}
/* ── HIGH-SPECIFICITY override: beats county/city/specialty inline CSS
   that forces flex-direction:column on .ts-inner at mobile widths ── */
#prc-topic-strip .ts-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: max-content !important;
  min-width: 100% !important;
}
#prc-topic-strip {
  overflow-x: auto !important;
  overflow-y: visible !important;
  overflow-y: visible !important;
}
#prc-topic-strip .ts-item {
  flex-shrink: 0 !important;
}
#prc-topic-strip .ts-btn {
  white-space: nowrap !important;
}

/* ================================================================
   TABLET — 600px+
   ================================================================ */
@media (min-width: 600px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .vital-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .state-browse-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .trust-inner {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .trust-item {
    width: 50% !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
  }
}

/* ================================================================
   TABLET / DESKTOP — 768px+
   Show desktop nav, hide hamburger, show GO TO bar
   ================================================================ */
@media (min-width: 768px) {

  /* Show GO TO bar */
  .prc-nav-inline,
  #prc-nav-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  /* Hide hamburger */
  .hamburger,
  #hamburger-btn {
    display: none !important;
  }

  /* Make sure mobile nav stays closed */
  .mobile-nav { display: none !important; }
  .mobile-nav.open { display: none !important; }

  /* Desktop nav links visible */
  nav { display: flex !important; }

  /* ── TOPIC STRIP: reset overflow so dropdown panels are NOT clipped ──
     On mobile, overflow-x:auto (base rules) enables horizontal scroll.
     On desktop, we MUST reset to overflow:visible so the absolute-position
     .ts-panel elements can extend below the strip without being clipped.
     (CSS spec: overflow-x:auto forces overflow-y:auto, hiding the panels) ── */
  #prc-topic-strip {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  #prc-topic-strip .ts-inner {
    overflow: visible !important;
    overflow-x: visible !important;
    width: auto !important;
    min-width: 100% !important;
  }

  /* Hero more padding */
  .hero { padding: 24px 24px 36px !important; }

  /* Search form: 2-col grid */
  .search-fields {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  .sf-col {
    width: auto !important;
    flex: 1 1 140px !important;
  }

  /* Trust strip: 4 in a row */
  .trust-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .trust-item {
    flex: 1 !important;
    width: auto !important;
    border-right: 1px solid var(--border) !important;
    border-bottom: none !important;
  }
  .trust-item:last-child { border-right: none !important; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border) !important; }

  /* Vital grid 2-col on tablet, 3-col on 900px+ */
  .vital-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .section { padding: 48px 24px !important; }
  .dir-wrap { padding: 48px 24px !important; }
}

/* ================================================================
   DESKTOP — 900px+
   ================================================================ */
@media (min-width: 900px) {
  .vital-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ================================================================
   LARGE DESKTOP — 1024px+
   ================================================================ */
@media (min-width: 1024px) {
  .popular-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }
  .dir-layout {
    grid-template-columns: 1fr 300px !important;
  }
  .state-browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)) !important;
  }
  /* Sticky sidebar */
  .dir-panel {
    position: sticky !important;
    top: 80px !important;
  }
}

/* ================================================================
   LARGE DESKTOP — 1100px+
   ================================================================ */
@media (min-width: 1100px) {
  .popular-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

/* ================================================================
   INNER PAGE HERO — seamless dark-navy hero matching homepage
   page-hero + search-box form one continuous hero band
   ================================================================ */

/* Ensure search-box is always centered on desktop */
.search-box {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 780px !important;
}

/* Hero title area — dark navy, no bottom padding so it flows into search */
.page-hero, .hero, section.hero {
  background: linear-gradient(135deg, #060f1e 0%, #0a1e42 45%, #0a3060 100%) !important;
  position: relative;
  overflow: visible;
  text-align: center;
  padding: 28px 24px 12px !important;
}
.page-hero::before, .hero::before, section.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(0,180,216,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(2,62,138,0.20) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero h1, .hero h1, section.hero h1 {
  color: #fff !important;
  font-size: clamp(28px, 5.5vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.3px !important;
  position: relative;
  z-index: 1;
}
.page-hero p, .hero p, .hero .hero-sub, section.hero p {
  color: #94a3b8 !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* Sponsor search wrapper — continues the dark-navy hero
   Double-class specificity to beat prc-unified.css !important rules */
.PR_search_wrapper,
body .PR_search_wrapper,
div.PR_search_wrapper {
  background: linear-gradient(135deg, #060f1e 0%, #0a1e42 45%, #0a3060 100%) !important;
  padding: 0 24px 32px !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  max-width: none !important;
  margin: 0 !important;
}

/* White rounded search box — identical to homepage */
.PR_search_wrapper .PRS_box_wrap,
body .PR_search_wrapper .PRS_box_wrap,
.PRS_box_wrap {
  background: white !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35) !important;
  max-width: 780px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* "Sponsored" badge — small, top-left, like homepage */
.prs-sponsored-label,
.PRS_box_wrap > div:first-child {
  position: absolute !important;
  top: 5px !important;
  left: 10px !important;
  text-align: left !important;
  font-size: 8px !important;
  color: #64748b !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 0 !important;
  opacity: 0.75;
  z-index: 10;
}

/* Hide "Public Records Search" h2 — not needed */
.PRS_box_wrap h2,
.PRS_box_wrap > div:nth-child(2) {
  display: none !important;
}

/* Dark gradient form area */
.PRS_box_wrap form {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a2e 100%) !important;
  padding: 14px 16px 16px !important;
  margin-top: 0 !important;
}

/* Form flex row */
.PRS_box_wrap form > div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

/* Each field column */
.PRS_box_wrap form > div > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

/* Labels */
.PRS_box_wrap label {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

/* Text inputs & selects */
.PRS_box_wrap input[type="text"],
.PRS_box_wrap select {
  padding: 9px 13px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.95) !important;
  font-size: 14px !important;
  height: 38px !important;
  min-width: 140px !important;
  font-family: 'Inter', Arial, sans-serif !important;
  box-sizing: content-box !important;
  color: #1e293b !important;
}

/* Submit button — cyan gradient like homepage */
.PRS_box_wrap input[type="submit"] {
  background: #00b4d8; background: #00b4d8 !important; background: linear-gradient(135deg, #00b4d8, #0077b6) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 0 26px !important;
  height: 38px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0,180,216,0.45) !important;
  font-family: 'Inter', Arial, sans-serif !important;
  box-sizing: content-box !important;
  margin-top: 17px !important;
}
.PRS_box_wrap input[type="submit"]:hover {
  box-shadow: 0 6px 20px rgba(0,180,216,0.55) !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .page-hero, .hero, section.hero {
    padding: 18px 16px 8px !important;
  }
  .PR_search_wrapper {
    padding: 0 12px 22px !important;
  }
  .PRS_box_wrap input[type="text"],
  .PRS_box_wrap select {
    min-width: 0 !important;
    width: 100% !important;
  }
  .PRS_box_wrap form > div > div {
    width: 100% !important;
  }
}

/* ── Always hide Directories tab on state/county pages ── */
#ts-directories {
  display: none !important;
}

/* ── Pattern B specialty pages: .open on .ts-panel itself ── */
/* Ensures toggleTs() Pattern B (criminal_records, vitalrecords, etc.) works */
.ts-panel.open {
  display: block !important;
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
}
/* Pattern A: .open on .ts-item */
.ts-item.open .ts-panel {
  display: block !important;
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH FORM – canonical styles (single source of truth)
   Edit ONLY here. prc-sponsor-banner.php / page templates
   must NOT duplicate these rules.
   ═══════════════════════════════════════════════════════════════ */
.search-box {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.sp-badge {
  position: absolute;
  top: 5px; left: 10px;
  font-size: 8px; font-weight: 500;
  letter-spacing: 0.3px; text-transform: uppercase;
  color: #64748b; z-index: 10;
  line-height: 1; pointer-events: none; opacity: 0.75;
}
.search-box-inner {
  background: #0a1628;
  padding: 14px 16px 16px;
}
.search-fields {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: flex-end; justify-content: center;
}
.sf-col { display: flex; flex-direction: column; gap: 4px; }
.sf-col label { color: #94a3b8; font-size: 11.5px; font-weight: 500; }
.sf-col input:not([type=submit]), .sf-col select {
  padding: 9px 13px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.95); font-size: 14px;
  height: 38px; min-width: 140px;
  font-family: 'Inter', Arial, sans-serif;
  color: #0f172a; transition: border-color 0.2s; box-sizing: border-box;
}
.sf-col input:not([type=submit]):focus, .sf-col select:focus {
  outline: none; border-color: rgba(255,255,255,.6);
}
.sf-submit {
  background: #1a6b2e !important;
  background: linear-gradient(135deg, #1a6b2e, #145227) !important;
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 0 26px; height: 38px; border: none;
  -webkit-appearance: none; appearance: none;
  border-radius: 8px; cursor: pointer;
  margin-top: 17px; transition: all 0.2s;
  font-family: 'Inter', Arial, sans-serif; letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(26,107,46,0.45);
  width: 100%;
}
.sf-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,107,46,0.55); }
@media (max-width: 600px) {
  .search-fields { flex-direction: column; align-items: stretch; }
  .sf-col input:not([type=submit]), .sf-col select, .sf-submit { width: 100%; min-width: unset; }
  .sf-submit { margin-top: 4px; }
}
