/* =============================================================================
   scuk.css — SpeedCamerasUK.com site-wide stylesheet
   Built: 2026 | Font: Inter (Google Fonts)
   Replaces: location.css (for redesigned pages)
   ============================================================================= */

/* --- GOOGLE FONT IMPORT ----------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS CUSTOM PROPERTIES (design tokens) ---------------------------------- */
:root {
  /* Brand colours */
  --blue-primary:   #0099FF;
  --blue-dark:      #0077CC;
  --blue-light:     #e8f0fb;
  --blue-mid:       #2d6bbf;

  /* Neutrals */
  --grey-900:  #1a1a1a;
  --grey-800:  #2d2d2d;
  --grey-700:  #444444;
  --grey-600:  #666666;
  --grey-400:  #999999;
  --grey-200:  #e8e8e8;
  --grey-100:  #f5f5f5;
  --white:     #ffffff;

  /* Semantic */
  --text-primary:   #1a1a1a;
  --text-secondary: #555555;
  --text-light:     #777777;
  --border:         #e0e0e0;
  --bg-page:        #f8f8f8;

  /* Accent colours */
  --amber:          #e8a000;
  --amber-bg:       #fff8e6;
  --amber-border:   #f0c040;
  --green:          #2e7d32;
  --green-bg:       #f1f8f1;
  --detector-bg:    #eef4ff;
  --detector-border:#c5d8f5;
  --legal-bg:       #f0f7f0;
  --legal-border:   #b8d8b8;

  /* Typography */
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.8125rem;  /* 13px */
  --text-base:  0.9375rem;  /* 15px */
  --text-md:    1.0625rem;  /* 17px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   1.875rem;   /* 30px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Layout */
  --max-width: 1100px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 2px 8px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

/* --- RESET & BASE ----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--blue-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

/* --- LAYOUT WRAPPER --------------------------------------------------------- */
#scuk-wrap {
  width: 100%;
  background: var(--white);
}

/* --- TOP BAR (AdSense banner) ----------------------------------------------- */
#scuk-topbar {
  background: var(--white);
  text-align: center;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
}

/* --- HEADER ----------------------------------------------------------------- */
#scuk-header-wrap {
  background: #0099FF;
  width: 100%;
}

#scuk-header {
  background: #0099FF;
  padding: var(--space-4) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#scuk-logo img {
  width: 160px;
  height: auto;
}

#scuk-leaderboard {
  text-align: center;
}

/* --- NAVIGATION ------------------------------------------------------------- */
#scuk-nav {
  width: 100%;
  background: #0066CC;
  position: relative;
  z-index: 100;
}

/* Desktop nav */
#scuk-navmenu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

#scuk-navmenu > ul {
  display: flex;
  width: 100%;
}

#scuk-navmenu > ul > li {
  position: relative;
}

#scuk-navmenu > ul > li > a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  color: #dddddd;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  border-right: 1px solid #3a3a3a;
  transition: background 0.15s, color 0.15s;
}

#scuk-navmenu > ul > li > a:hover,
#scuk-navmenu > ul > li:hover > a {
  background: #0044BB;
  color: var(--white);
  text-decoration: none;
}

#scuk-navmenu > ul > li > a.nav-active {
  background: var(--blue-primary);
  color: var(--white);
}

/* Dropdown arrow */
#scuk-navmenu > ul > li > a.has-drop::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.7;
  margin-left: var(--space-1);
}

/* Dropdown menu */
#scuk-navmenu > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0055AA;
  min-width: 220px;
  border-top: 3px solid var(--blue-primary);
  box-shadow: var(--shadow-md);
  z-index: 200;
}

#scuk-navmenu > ul > li:hover > ul {
  display: block;
}

#scuk-navmenu > ul > li > ul > li > a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: #cccccc;
  font-size: var(--text-sm);
  border-bottom: 1px solid #333;
  transition: background 0.12s, color 0.12s;
}

#scuk-navmenu > ul > li > ul > li > a:hover {
  background: var(--blue-primary);
  color: var(--white);
  text-decoration: none;
}

/* Hamburger button — hidden on desktop */
#scuk-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  margin-left: auto;
}

#scuk-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.25s;
}

/* Hamburger active state */
#scuk-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#scuk-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
#scuk-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer — hidden by default */
#scuk-mobilenav {
  display: none;
  background: var(--grey-900);
  border-top: 3px solid var(--blue-primary);
}

#scuk-mobilenav ul li a {
  display: block;
  padding: var(--space-3) var(--space-5);
  color: #cccccc;
  font-size: var(--text-base);
  border-bottom: 1px solid #333;
}

#scuk-mobilenav ul li a:hover {
  background: var(--blue-primary);
  color: var(--white);
  text-decoration: none;
}

#scuk-mobilenav ul li.mob-section > a {
  color: var(--white);
  font-weight: 600;
  background: #333;
}

#scuk-mobilenav.is-open {
  display: block;
}

/* --- PAGE BODY -------------------------------------------------------------- */
#scuk-page {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  padding: 0 var(--space-6);
}

/* --- MAIN CONTENT COLUMN ---------------------------------------------------- */
#scuk-main {
  padding: var(--space-6) var(--space-8) var(--space-8);
  max-width: 100%;
}

#scuk-main ul li {
  margin-bottom: 0.4em;
}

/* Breadcrumb */
.scuk-breadcrumb {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.scuk-breadcrumb a {
  color: #0099FF;
  font-weight: 600;
  text-decoration: none;
}

.scuk-breadcrumb a:hover {
  text-decoration: underline;
  color: #0077CC;
}

.scuk-breadcrumb span {
  color: var(--text-primary);
  font-weight: 600;
  margin: 0 4px;
}

/* Page H1 */
.scuk-h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-5);
}

/* Hero section: intro text + icons */
.scuk-hero {
  margin-bottom: var(--space-6);
  overflow: hidden;
}

.scuk-hero-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
}

.scuk-hero-text p + p {
  margin-top: var(--space-3);
}

/* --- FACT CARDS ------------------------------------------------------------- */
.scuk-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: var(--space-6);
  border: 1px solid #d0daf8;
  border-radius: var(--radius-lg);
  background: #eef2ff;
  overflow: hidden;
}

.scuk-fact-card {
  background: #eef2ff;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-right: 1px solid #d0daf8;
  border-bottom: 1px solid #d0daf8;
}

.scuk-fact-card:nth-child(3),
.scuk-fact-card:nth-child(6) {
  border-right: none;
}

.scuk-fact-card:nth-child(4),
.scuk-fact-card:nth-child(5),
.scuk-fact-card:nth-child(6) {
  border-bottom: none;
}

.scuk-fact-icon {
  width: 46px;
  height: 46px;
  background: #1e3a7b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scuk-fact-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.scuk-fact-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.scuk-fact-value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
}

.scuk-fact-value a {
  font-weight: 600;
}

/* --- CALLOUT BOX ------------------------------------------------------------ */
.scuk-callout {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}

.scuk-callout-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: #7a4f00;
  margin-bottom: var(--space-2);
}

.scuk-callout p {
  font-size: var(--text-base);
  color: #7a5c00;
  line-height: 1.6;
}

.scuk-callout a {
  color: var(--blue-primary);
  font-weight: 500;
}

/* --- SECTION HEADINGS ------------------------------------------------------- */
.scuk-section-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--blue-light);
}

/* --- BODY TEXT -------------------------------------------------------------- */
.scuk-body-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.scuk-body-text p + p {
  margin-top: var(--space-3);
}

.scuk-body-text a {
  color: var(--blue-primary);
}

/* Camera type 16:9 photo block */
.scuk-camera-photo {
  text-align: center;
  margin: 1rem 0;
}
.scuk-camera-photo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Camera type description block (Gatso, SPECS etc.) */
.scuk-camera-type {
  background: var(--grey-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  overflow: hidden;
}

.scuk-camera-type h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.scuk-camera-type p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.scuk-camera-type img {
  border-radius: var(--radius-sm);
}

/* --- ADSENSE UNITS ---------------------------------------------------------- */
.scuk-ad-inline {
  margin: var(--space-6) 0;
  text-align: center;
}

.scuk-ad-inline ins {
  display: block;
  margin: 0 auto;
}

.scuk-ad-inline { min-height: 280px; }
#scuk-leaderboard { min-height: 100px; }

@media (max-width: 767px) {
  #ad-incontent { min-height: 0; }
}
@media (max-width: 768px) {
  #scuk-leaderboard { min-height: 0; }
}

/* --- DETECTOR SECTION ------------------------------------------------------- */
.scuk-detector {
  background: var(--detector-bg);
  border: 1px solid var(--detector-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.scuk-detector-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: var(--space-3);
}

.scuk-detector-intro {
  font-size: var(--text-base);
  color: #2a4a70;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* Product card */
.scuk-product {
  background: var(--white);
  border: 1px solid var(--detector-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-5);
  align-items: start;
  box-shadow: var(--shadow-sm);
}

.scuk-product-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--grey-100);
}

.scuk-product-img img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  padding: var(--space-2);
  display: block;
  min-height: 100px;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.scuk-product-img-placeholder {
  width: 120px;
  height: 120px;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: var(--radius-sm);
}

.scuk-product-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: var(--space-1);
}

.scuk-product-price {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--green);
  margin-bottom: var(--space-3);
}

.scuk-product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1) var(--space-5);
  margin-bottom: var(--space-4);
  list-style: none;
}

.scuk-product-features li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  padding: var(--space-1) 0;
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}

.scuk-product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.scuk-product-cta {
  display: inline-block;
  background: var(--blue-primary);
  color: var(--white) !important;
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.scuk-product-cta:hover {
  background: var(--blue-dark, #0056b3);
  color: var(--white) !important;
  text-decoration: none;
}

.scuk-detector-footer {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: #4a6a90;
  line-height: 1.6;
}

.scuk-detector-footer a {
  color: var(--blue-primary);
}

/* --- LEGAL SECTION ---------------------------------------------------------- */
.scuk-legal {
  background: var(--legal-bg);
  border: 1px solid var(--legal-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.scuk-legal-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #1a4a1a;
  margin-bottom: var(--space-2);
}

.scuk-legal-intro {
  font-size: var(--text-md);
  color: #2a4a2a;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.scuk-legal-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.scuk-legal-link {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--white);
  border: 1px solid var(--legal-border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.scuk-legal-link:hover {
  box-shadow: var(--shadow);
  border-color: #6a9a6a;
  text-decoration: none;
}

.scuk-legal-link-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.scuk-legal-link-text strong {
  display: block;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 2px;
}

.scuk-legal-link-text span {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.4;
}

/* --- UPDATE SECTION --------------------------------------------------------- */
.scuk-update {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
  margin-bottom: var(--space-6);
}

.scuk-update-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.scuk-update-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.scuk-update-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #0099FF;
  border: 1px solid #0077CC;
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-base);
  color: var(--white);
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}

.scuk-update-btn:hover {
  background: #0077CC;
  border-color: #0055AA;
  color: var(--white);
  text-decoration: none;
}

/* --- RELATED / LEARN MORE LINKS --------------------------------------------- */
.scuk-related {
  margin-bottom: var(--space-6);
  background: #fffbf0;
  border: 1px solid #ffe082;
  border-top: 4px solid #FFB800;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}

.scuk-related-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.scuk-related-list a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: var(--blue-primary);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}

.scuk-related-list a::before {
  content: '→';
  color: var(--grey-400);
  flex-shrink: 0;
}

.scuk-related-list a:hover {
  color: var(--blue-dark);
}

/* YouTube embed */
.scuk-video {
  margin-bottom: var(--space-6);
  text-align: center;
}

.scuk-video iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  height: 315px;
  border: 0;
  border-radius: var(--radius);
}

/* Centred standalone images */
.scuk-img-centre {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
}
.scuk-img-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
    max-width: 300px;
    width: 100%;
    height: auto;
}
@media (max-width: 640px) {
    .scuk-img-right {
        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }
}

/* Social share */
.scuk-share {
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--text-light);
}

.scuk-share a {
  color: var(--blue-primary);
  font-weight: 500;
}

/* --- FOOTER ----------------------------------------------------------------- */
#scuk-footer {
  background: var(--grey-900);
  color: #aaaaaa;
  margin-top: var(--space-8);
  border-top: 3px solid #0099FF;
}

.scuk-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6) var(--space-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.scuk-footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.scuk-footer-col ul li {
  margin-bottom: var(--space-2);
}

.scuk-footer-col ul li a {
  font-size: var(--text-sm);
  color: #999999;
  transition: color 0.12s;
}

.scuk-footer-col ul li a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Social icons row */
.scuk-footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.scuk-footer-social a img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.12s;
}

.scuk-footer-social a:hover img {
  opacity: 1;
}

/* Footer copyright bar */
.scuk-footer-copy {
  background: #111111;
  border-top: 1px solid #333;
  text-align: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-xs);
  color: #666666;
}

.scuk-footer-copy a {
  color: #888888;
}

.scuk-footer-copy a:hover {
  color: var(--white);
}

/* --- UTILITY CLASSES -------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.scuk-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-6) 0;
}

/* --- RESPONSIVE: TABLET (max 900px) ---------------------------------------- */
@media (max-width: 900px) {

  /* Header */
  #scuk-header {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    text-align: center;
  }

  #scuk-logo {
    text-align: center;
  }

  /* Nav — hide desktop, show hamburger */
  #scuk-navmenu {
    display: none;
  }

  #scuk-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  #scuk-nav {
    display: flex;
    align-items: center;
    padding: 0 var(--space-4);
  }

  /* Fact cards: 2 columns on tablet */
  .scuk-facts {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Footer: 2 columns */
  .scuk-footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Legal links: 1 column */
  .scuk-legal-links {
    grid-template-columns: 1fr;
  }

  /* Product card: stack */
  .scuk-product {
    grid-template-columns: 1fr;
  }

  .scuk-product-img img,
  .scuk-product-img-placeholder {
    width: 100px;
    height: 100px;
  }
}

/* --- RESPONSIVE: MOBILE (max 600px) ---------------------------------------- */
@media (max-width: 600px) {

  #scuk-page {
    padding-left: 0;
    padding-right: 0;
  }

  #scuk-main {
    padding: var(--space-4);
  }

  .scuk-h1 {
    font-size: var(--text-xl);
  }

  /* Fact cards: 1 column on small phones */
  .scuk-facts {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer: 1 column */
  .scuk-footer-inner {
    grid-template-columns: 1fr;
    padding: var(--space-6) var(--space-4);
  }

  .scuk-update-links {
    flex-direction: column;
  }

  .scuk-update-btn {
    width: 100%;
    justify-content: center;
  }

  /* Video responsive */
  .scuk-video iframe {
    height: 200px;
  }
}

/* --- NEARBY CAMERAS GRID ---------------------------------------------------- */
.scuk-nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.scuk-nearby-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.scuk-nearby-card:hover {
  border-color: #0099FF;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.scuk-nearby-camera {
  font-size: var(--text-base);
  font-weight: 600;
  color: #0099FF;
}

.scuk-nearby-road {
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.scuk-nearby-meta {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: var(--space-1);
}

.scuk-nearby-meta span {
  background: var(--grey-100);
  padding: 2px 8px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .scuk-nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .scuk-nearby-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .scuk-product {
    grid-template-columns: 1fr;
  }
  .scuk-product-features {
    grid-template-columns: 1fr;
  }
  .scuk-product-img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  .scuk-product-img img {
    width: 100%;
    height: auto;
  }
}

/* Hide leaderboard ad on mobile — not a mobile format */
@media (max-width: 768px) {
  #scuk-leaderboard {
    display: none;
  }
  #scuk-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .scuk-desktop-only {
    display: none !important;
  }
}

.scuk-trust {
  background: var(--grey-100);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.scuk-trust-tick {
  color: var(--green);
  font-size: var(--text-md);
  flex-shrink: 0;
}
.scuk-trust a {
  color: var(--blue-primary);
  font-weight: 500;
  margin-left: var(--space-2);
}

/* ============================================================================
   COUNTY PAGE COMPONENTS
   Append to scuk.css. All other styles already exist in scuk.css and are reused.
   ============================================================================ */

/* ── INTRO ────────────────────────────────────────────────────────────────── */
.scuk-intro { margin-bottom: var(--space-6); }
.scuk-intro p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.scuk-intro p:last-child { margin-bottom: 0; }
.scuk-intro strong { color: var(--text-primary); }

/* ── FINDER (search + filter chips wrapper) ──────────────────────────────── */
.scuk-finder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.scuk-finder-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.scuk-finder-title svg {
  width: 20px;
  height: 20px;
  fill: var(--blue-primary);
}
.scuk-search-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: inherit;
  font-size: var(--text-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.scuk-search-input:focus {
  outline: 0;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0,153,255,0.15);
}

.scuk-filter-row { margin-top: var(--space-4); }
.scuk-filter-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.scuk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.scuk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.15s;
}
.scuk-chip:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}
.scuk-chip.is-active {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}
.scuk-chip-count {
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* ── JUMP TO ROAD ─────────────────────────────────────────────────────────── */
.scuk-jump {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.scuk-jump-label {
  font-size: var(--text-sm);
  color: var(--blue-mid);
  font-weight: 600;
}
.scuk-jump-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.scuk-jump-chip {
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid #b8d0e8;
  color: var(--blue-mid);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all 0.15s;
  text-decoration: none;
}
.scuk-jump-chip:hover {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
  text-decoration: none;
}

/* ── HOTSPOTS STRIP ───────────────────────────────────────────────────────── */
.scuk-hotspots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.scuk-hotspots-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-right: var(--space-1);
}
.scuk-hotspot {
  background: var(--amber-bg);
  color: #7a4f00;
  border: 1px solid var(--amber-border);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* ── VIEW TOGGLE + RESULT COUNT ───────────────────────────────────────────── */
.scuk-view-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.scuk-result-count {
  font-size: var(--text-sm);
  color: var(--text-light);
}
.scuk-result-count strong { color: var(--text-primary); }
.scuk-view-tabs {
  display: inline-flex;
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: 3px;
  gap: 0;
}
.scuk-view-tab {
  padding: 6px 14px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  cursor: pointer;
}
.scuk-view-tab.is-active {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

/* ── INLINE MINI-CTA (above list) ─────────────────────────────────────────── */
.scuk-mini-cta {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-4);
  text-align: right;
}
.scuk-mini-cta a {
  color: var(--blue-primary);
  font-weight: 500;
}

/* ── TOWN ACCORDION ──────────────────────────────────────────────────────── */
.scuk-town-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.scuk-town-header {
  width: 100%;
  background: var(--white);
  border: 0;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  text-align: left;
  font-family: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.12s;
}
.scuk-town-header:hover { background: var(--grey-100); }
.scuk-town-header-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-light);
}
.scuk-town-count {
  background: var(--blue-light);
  color: var(--blue-mid);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
}
.scuk-town-arrow {
  transition: transform 0.2s;
  color: var(--grey-400);
}
.scuk-town-group.is-open .scuk-town-arrow { transform: rotate(180deg); }
.scuk-town-cameras { display: none; border-top: 1px solid var(--border); }
.scuk-town-group.is-open .scuk-town-cameras { display: block; }

/* ── CAMERA ROW ──────────────────────────────────────────────────────────── */
.scuk-camera-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--grey-100);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.scuk-camera-row:last-child { border-bottom: 0; }
.scuk-camera-row:hover {
  background: #f7fbff;
  text-decoration: none;
}
.scuk-camera-icons {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-shrink: 0;
}
.scuk-camera-icons img {
  width: 40px;
  height: 40px;
  display: block;
}
.scuk-camera-info { min-width: 0; }
.scuk-camera-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scuk-camera-meta {
  font-size: var(--text-xs);
  color: var(--text-light);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.scuk-camera-meta span:not(:last-child)::after {
  content: '\00B7';
  margin-left: var(--space-2);
  color: var(--grey-400);
}
.scuk-camera-arrow {
  color: var(--grey-400);
  font-size: var(--text-lg);
}

/* List view (flat) -- hides town headers, shows rows as cards */
.scuk-camera-list-flat .scuk-camera-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.scuk-faq-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.scuk-faq-block h3 {
  margin-bottom: 0.4rem;
}

.scuk-faq-block:last-of-type {
  border-bottom: none;
}

.scuk-comments-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.3rem;
}

.scuk-comments-block {
  margin: var(--space-6) 0;
}

.scuk-faq { margin-bottom: var(--space-6); }
.scuk-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  overflow: hidden;
}
.scuk-faq-question {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  cursor: pointer;
}
.scuk-faq-question:hover { background: var(--grey-100); }
.scuk-faq-arrow {
  color: var(--grey-400);
  transition: transform 0.2s;
}
.scuk-faq-item.is-open .scuk-faq-arrow { transform: rotate(180deg); }
.scuk-faq-answer {
  display: none;
  padding: 0 var(--space-5) var(--space-4);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}
.scuk-faq-item.is-open .scuk-faq-answer { display: block; }

/* ── RESPONSIVE: MOBILE (max 600px) ──────────────────────────────────────── */
@media (max-width: 600px) {
  .scuk-view-toggle { flex-direction: column; align-items: stretch; }
  .scuk-view-tabs { width: 100%; justify-content: space-between; }
  .scuk-view-tab { flex: 1; text-align: center; }
  .scuk-camera-row { padding: var(--space-3); gap: var(--space-2); }
  .scuk-camera-icons img { width: 32px; height: 32px; }
  .scuk-jump { padding: var(--space-3); }
  .scuk-mini-cta { text-align: left; }
}

/* ── 4-CARD STAT GRID (county page) ───────────────────────────────────────── */
.scuk-facts--four {
  grid-template-columns: repeat(4, 1fr);
}
.scuk-facts--four .scuk-fact-card {
  border-right: 1px solid #d0daf8;
  border-bottom: none;
}
.scuk-facts--four .scuk-fact-card:nth-child(4) {
  border-right: none;
}

@media (max-width: 900px) {
  .scuk-facts--four {
    grid-template-columns: repeat(2, 1fr);
  }
  .scuk-facts--four .scuk-fact-card {
    border-right: 1px solid #d0daf8;
    border-bottom: 1px solid #d0daf8;
  }
  .scuk-facts--four .scuk-fact-card:nth-child(2n) {
    border-right: none;
  }
  .scuk-facts--four .scuk-fact-card:nth-child(n+3) {
    border-bottom: none;
  }
}

/* ── DISABLED FILTER CHIP ─────────────────────────────────────────────────── */
.scuk-chip.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.scuk-chip.is-disabled:hover {
  border-color: var(--border);
  color: var(--text-secondary);
}

/* ── REGIONAL PAGES (east-england.htm etc.) ──────────────────────────────── */
/* ── County grid ─────────────────────────────────────────────────────────── */
.scuk-county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}
.scuk-county-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.scuk-county-card h2 {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  line-height: 1.3;
}
.scuk-county-card h2 a {
  text-decoration: none;
}
.scuk-county-card h2 a:hover { text-decoration: underline; }
.scuk-county-count {
  font-size: .78rem;
  color: #fff;
  background: #0057a8;
  border-radius: 20px;
  padding: 2px 10px;
  display: inline-block;
  margin-bottom: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.scuk-county-towns {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex: 1;
  column-count: 2;
  column-gap: .75rem;
}
#scuk-main .scuk-county-towns li { margin-bottom: .3rem; }
.scuk-county-towns a {
  font-size: .875rem;
  text-decoration: none;
}
.scuk-county-towns a:hover { text-decoration: underline; }
.scuk-county-cta {
  display: block;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem .75rem;
  border: 1px solid #0057a8;
  border-radius: 5px;
  color: #0057a8;
  text-decoration: none;
  margin-top: auto;
  transition: background .15s, color .15s;
}
.scuk-county-cta:hover {
  background: #0057a8;
  color: #fff;
}

@media (max-width: 480px) {
  .scuk-county-towns { column-count: 1; }
}

/* Region page photo */
.region-photo {
    float: right;
    margin: 0 0 1rem 1.5rem;
    max-width: 280px;
    width: 40%;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .region-photo {
        width: 140px;
    }
}

/* County card description paragraph */
.scuk-county-desc {
    font-size: .85rem;
    margin: 0 0 .75rem;
    color: #555;
}

/* Last updated line */
.scuk-last-updated {
    font-size: .8rem;
    color: #777;
    margin: 1rem 0;
}

/* Callout second paragraph spacing */
.scuk-callout p + p {
    margin-top: 0.5rem;
}

/* Footer secondary h4 spacing */
.scuk-footer-col h4 + ul + h4 {
    margin-top: 1.5rem;
}

/* FAQ section */
.scuk-faq {
    margin: 2rem 0;
}

.scuk-faq-item {
    border-top: 1px solid #e5e5e5;
    padding: 1rem 0;
}

.scuk-faq-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.scuk-faq-q {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 .5rem;
    color: #222;
}

.scuk-faq-a {
    font-size: .9rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

/* ── DATABASE PAGE: MAP ──────────────────────────────────────────────────────
   Map section — hidden on mobile (image map not usable on touch screens)
   Region cards below serve as the mobile alternative.
   ────────────────────────────────────────────────────────────────────────── */
.scuk-map-section {
    text-align: center;
    margin: 1.5rem 0 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.scuk-map-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.scuk-map-caption {
    font-size: .8rem;
    color: #777;
    margin: .75rem 0 0;
}

.scuk-map-mobile-note {
    display: none;
    text-align: center;
    padding: .75rem 1rem;
    background: #f0f4ff;
    border-radius: 6px;
    border: 1px solid #d0d8f0;
    font-size: .9rem;
    color: #555;
    margin: 1rem 0;
}

@media (max-width: 600px) {
    .scuk-map-section {
        display: none;
    }
    .scuk-map-heading {
        display: none;
    }
}

/* ── DATABASE PAGE: REGION CARDS ─────────────────────────────────────────────
   3-column grid on desktop, 2-column on tablet, 1-column on mobile.
   ────────────────────────────────────────────────────────────────────────── */
.scuk-region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

@media (max-width: 900px) {
    .scuk-region-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .scuk-region-grid {
        grid-template-columns: 1fr;
    }
}

.scuk-region-card {
    background: #fffbf0;
    border: 1px solid #ffe082;
    border-top: 4px solid #FFB800;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: box-shadow .2s, border-color .2s;
}

.scuk-region-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    border-color: #c0c8d8;
}

.scuk-region-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 .4rem;
    line-height: 1.3;
}

.scuk-region-card h3 a {
    text-decoration: none;
}

.scuk-region-card h3 a:hover {
    text-decoration: underline;
}

.scuk-region-counties {
    font-size: .78rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ── DATABASE PAGE: CAMERA TYPES LIST ────────────────────────────────────────
   Two-column list on tablet/desktop, single column on mobile.
   ────────────────────────────────────────────────────────────────────────── */
.scuk-camera-list {
    columns: 2;
    column-gap: 2rem;
    margin: 1rem 0 1.25rem;
    padding-left: 1.25rem;
}

#scuk-main .scuk-camera-list li {
    margin-bottom: .5rem;
    font-size: .9rem;
    break-inside: avoid;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .scuk-camera-list {
        columns: 1;
    }
}

/* Camera type list with icons */
.scuk-camera-list li.scuk-camera-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    break-inside: avoid;
}

.scuk-camera-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    background: #f5f5f5;
}

/* Detector callout */
.scuk-detector-callout {
    background: #f0f4ff;
    border: 1px solid #d0d8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.scuk-detector-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 .75rem;
}

.scuk-detector-product {
    background: #fff;
    border: 1px solid #e0e6f0;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.scuk-detector-product-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.scuk-detector-img {
    flex-shrink: 0;
}

.scuk-detector-img img {
    width: 160px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

.scuk-detector-detail {
    flex: 1;
}

.scuk-detector-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a2e4a;
}

.scuk-detector-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #005fcc;
    margin: .25rem 0 .75rem;
}

.scuk-detector-features {
    margin: 0 0 .75rem;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .3rem .75rem;
    font-size: .9rem;
    color: #444;
}

.scuk-detector-features li::before {
    content: '\2713 ';
    color: #2a9d2a;
    font-weight: 700;
}

.scuk-detector-cta {
    display: inline-block !important;
    background: #005fcc !important;
    color: #fff !important;
    padding: .5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: .9rem;
    margin-top: .5rem;
}

.scuk-detector-cta:hover {
    background: #0047a8 !important;
    color: #fff !important;
}

@media (max-width: 600px) {
    .scuk-detector-product-inner {
        flex-direction: column;
    }
    .scuk-detector-img img {
        width: 100%;
    }
    .scuk-detector-features {
        grid-template-columns: 1fr;
    }
}

/* ── FORM: speed-camera-location ──────────────────────────────────────── */
.scuk-form-wrap {
    max-width: 560px;
}

.scuk-form-wrap .form-group {
    margin-bottom: 14px;
}

.scuk-form-wrap .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

.scuk-form-wrap .form-group input[type="text"],
.scuk-form-wrap .form-group select,
.scuk-form-wrap .form-group textarea {
    width: 100%;
    max-width: 420px;
    padding: 7px 9px;
    border: 1px solid #b0c4de;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fafcff;
}

.scuk-form-wrap .form-group textarea {
    max-width: 560px;
    width: 100%;
    resize: vertical;
}

.scuk-form-wrap .form-group input[type="text"]:focus,
.scuk-form-wrap .form-group select:focus,
.scuk-form-wrap .form-group textarea:focus {
    border-color: #0099ff;
    outline: none;
    background: #fff;
}

.scuk-form-submit-btn {
    background-color: #0099ff;
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.scuk-form-submit-btn:hover {
    background-color: #007acc;
}

.scuk-form-notice {
    font-size: 13px;
    color: #555;
    margin-top: 12px;
    font-style: italic;
}

/* ── ALERT BOXES: location-submitted ──────────────────────────────────── */
.scuk-alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

.scuk-alert--success {
    background: #f1f8f1;
    border-left: 4px solid #2e7d32;
    color: #1b4d1e;
}

.scuk-alert--error {
    background: #fff4f4;
    border-left: 4px solid #c62828;
    color: #7f1010;
}

/* ── USEFUL LINKS LIST ────────────────────────────────────────────────── */
.scuk-useful-links {
    margin: 12px 0 24px 20px;
    line-height: 2;
}

/* ── form.php ── */
.update-form {
    max-width: 640px;
}
.update-form .form-group {
    margin-bottom: 18px;
}
.update-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}
.update-form .field-hint {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 4px;
    display: block;
}
.update-form input[type="text"],
.update-form select,
.update-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    font-family: inherit;
}
.update-form input[type="text"]:focus,
.update-form select:focus,
.update-form textarea:focus {
    border-color: #0099FF;
    outline: none;
    box-shadow: 0 0 4px rgba(0,153,255,0.3);
}
.update-form input[readonly] {
    background: #f5f5f5;
    color: #555;
    cursor: not-allowed;
}
.update-form textarea {
    resize: vertical;
    min-height: 140px;
}
.update-form .form-section-title {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0099FF;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
    margin: 24px 0 14px;
}
.update-form .submit-btn {
    background: #0099FF;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1.05em;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
}
.update-form .submit-btn:hover {
    background: #007acc;
}
.back-link {
    margin-bottom: 16px;
    display: block;
}
.notice-box {
    background: #f0f7ff;
    border-left: 4px solid #0099FF;
    padding: 10px 14px;
    margin: 16px 0;
    font-size: 0.92em;
    color: #333;
}

/* ── Body image floats (gatso and camera type pages) ── */
.scuk-body-img--right {
  float: right;
  display: block;
  margin: 0 0 0.75rem 1rem;
  width: 140px;
  max-width: 150px;
  height: auto;
}
.scuk-body-img--left {
  float: left;
  display: block;
  margin: 0 1rem 0.75rem 0;
  width: 140px;
}
@media (min-width: 768px) {
  .scuk-body-img--left {
    width: 230px;
  }
}
@media (max-width: 600px) {
  .scuk-body-img--right {
    max-width: 100%;
    float: none;
    display: block;
    margin: 0 auto 1em;
  }
}

/* ── Multi-product detector grid ── */
.scuk-detector-products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .scuk-detector-products {
    flex-direction: row;
    align-items: flex-start;
  }
  .scuk-detector-products .scuk-detector-product {
    flex: 1;
    margin-top: 0;
  }
  .scuk-detector-products .scuk-detector-product-inner {
    flex-direction: column;
  }
  .scuk-detector-products .scuk-detector-img img {
    width: 100%;
    height: auto;
  }
}

/* ── CTA link ── */
.scuk-cta-link {
  display: inline-block;
  font-weight: 600;
  color: var(--scuk-blue);
  text-decoration: none;
}
.scuk-cta-link:hover {
  text-decoration: underline;
}

/* ── Database CTA banner ── */
.scuk-db-cta {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-primary);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.scuk-db-cta p {
  margin: 0;
  font-size: 0.95rem;
}

.scuk-db-cta-btn {
    display: inline-block;
    background: var(--blue-primary);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
}

.scuk-db-cta-btn:hover {
  background: var(--blue-dark);
  color: #fff;
}

/* ── Quick facts box ── */
.scuk-quick-facts {
  background: #fff;
  border: 1px solid var(--blue-light);
  border-left: 4px solid var(--blue-primary);
  border-radius: 6px;
  padding: 1rem 1.25rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
}

.scuk-quick-facts-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--blue-dark);
}

.scuk-quick-facts ul {
  margin: 0;
  padding-left: 1.25rem;
}

#scuk-main .scuk-quick-facts li {
  margin: 0.25rem 0;
  line-height: 1.45;
}

/* Product pair — used in buying guide pages */
.scuk-product-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5em;
}
.scuk-product {
  flex: 1 1 180px;
  text-align: left;
}
.scuk-product img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.scuk-product p {
  font-size: 0.9em;
  margin-top: 0.5em;
}
@media (max-width: 480px) {
  .scuk-product-row {
    flex-direction: column;
  }
  .scuk-product {
    width: 100%;
  }
}

/* ActiveGPS CTA panel - used in buying guide pages */
.scuk-activegps-cta {
  background: #f0f6ff;
  border: 1px solid #c0d8f0;
  border-radius: 6px;
  padding: 1.25em 1.5em;
  margin: 2em 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25em;
}

.scuk-activegps-cta img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.scuk-activegps-cta-body {
  flex: 1;
  min-width: 200px;
}

.scuk-activegps-cta-body h2,
.scuk-activegps-cta-body h3 {
  margin-top: 0;
  font-size: 1.15em;
}

@media (max-width: 480px) {
  .scuk-activegps-cta {
    flex-direction: column;
    text-align: center;
  }
  .scuk-activegps-cta img {
    margin: 0 auto;
  }
}

/* Comparison table - used in hub buying guide */
.scuk-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

.scuk-comparison-table th,
.scuk-comparison-table td {
  text-align: left;
  padding: 0.6em 0.75em;
  border: 1px solid #c0d8f0;
  vertical-align: top;
}

.scuk-comparison-table thead th {
  background: #0057a8;
  color: #fff;
  font-weight: 600;
}

.scuk-comparison-table tbody tr:nth-child(even) {
  background: #f0f6ff;
}

@media (max-width: 480px) {
  .scuk-comparison-table th,
  .scuk-comparison-table td {
    padding: 0.5em;
    font-size: 0.9em;
  }
}

/* ── Gatso vs Truvelo comparison table ── */
.scuk-compare-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

.scuk-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.scuk-compare-table th,
.scuk-compare-table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--blue-light);
  text-align: left;
  vertical-align: top;
}

.scuk-compare-table thead th {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 600;
}

.scuk-compare-table tbody th {
  background: #f7f9fc;
  font-weight: 600;
  width: 35%;
}

/* ── Jump links / table of contents ── */
.scuk-jump-links {
  background: #f7f9fc;
  border: 1px solid var(--blue-light);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.scuk-jump-links-label {
  font-weight: 600;
  color: var(--blue-dark);
  margin-right: 0.5rem;
}

.scuk-jump-links ul {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scuk-jump-links li {
  display: inline;
}

.scuk-jump-links li:not(:last-child)::after {
  content: " · ";
  color: var(--blue-primary);
  margin: 0 0.25rem;
}

.scuk-jump-links a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 500;
}

.scuk-jump-links a:hover {
  text-decoration: underline;
}

/* Scroll offset for anchor jumps */
.scuk-body-text h2 {
  scroll-margin-top: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* ── form-submit.php ── */
.confirmation-box {
    background: #f0fff4;
    border-left: 4px solid #28a745;
    padding: 14px 18px;
    margin: 16px 0 24px;
    border-radius: 0 4px 4px 0;
}
.confirmation-box h2 { margin: 0 0 6px; color: #1a7a34; font-size: 1.15em; }
.confirmation-box p  { margin: 0; color: #333; }
.error-box {
    background: #fff5f5;
    border-left: 4px solid #cc0000;
    padding: 14px 18px;
    margin: 16px 0 24px;
    border-radius: 0 4px 4px 0;
}
.error-box h2 { margin: 0 0 6px; color: #cc0000; font-size: 1.15em; }
#scuk-main .useful-links li { margin-bottom: 6px; }

/* ── CAMERA TYPE INDEX PAGE (speed-camera-types.php) ────────────────────── */
.scuk-camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 768px) {
  .scuk-camera-grid { grid-template-columns: 1fr; }
}
.scuk-camera-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #d0dce8;
  border-radius: 8px;
  background: #fff;
  align-items: flex-start;
}
.scuk-camera-card img {
  flex-shrink: 0;
  width: 105px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}
.scuk-camera-no-img {
  flex-shrink: 0;
  width: 105px;
  height: 100px;
  background: var(--blue-light, #e8f0fb);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark, #0077CC);
  font-size: 2rem;
}
.scuk-camera-card__body {
  flex: 1;
  min-width: 0;
}
.scuk-camera-card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--blue-primary, #0099FF);
}
.scuk-camera-card h2 a {
  color: inherit;
  text-decoration: none;
}
.scuk-camera-card h2 a:hover { text-decoration: underline; }
.scuk-camera-count {
  display: inline-block;
  background: var(--blue-dark, #0077CC);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.scuk-camera-card p {
  font-size: 0.88rem;
  margin: 0.4rem 0 0.6rem;
  color: #444;
  line-height: 1.45;
}
.scuk-camera-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-primary, #0099FF);
  text-decoration: none;
}
.scuk-camera-cta:hover { text-decoration: underline; }

/* ── CAMERA HUB CARDS ── */
.scuk-camera-hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  margin: var(--space-6) 0 var(--space-8);
}

.scuk-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.scuk-hub-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-color: var(--primary-dark);
}

.scuk-hub-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.scuk-hub-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.scuk-hub-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: var(--space-4);
}

.scuk-hub-card__count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.scuk-hub-card__cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

/* ── JUMP NAV (inline table-of-contents / anchor list above content) ── */
.scuk-jump-nav {
  background: #f7f9fc;
  border: 1px solid var(--blue-light);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
}

.scuk-jump-nav__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.scuk-jump-nav__list {
  list-style: decimal;
  padding-left: var(--space-5);
  margin: 0;
}

.scuk-jump-nav__list li {
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  line-height: 1.5;
}

.scuk-jump-nav__list li:last-child {
  margin-bottom: 0;
}

.scuk-jump-nav__list a {
  color: var(--blue-primary);
  font-weight: 500;
  text-decoration: none;
}

.scuk-jump-nav__list a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* ── SECTION CTA (standalone bold arrow link) ── */
.scuk-section-cta {
  display: inline-block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--blue-primary);
  text-decoration: none;
  margin-top: var(--space-3);
}

.scuk-section-cta::after {
  content: ' \2192';
  font-weight: 400;
}

.scuk-section-cta:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* ── OPTIONS LIST (ordered list with generous spacing, e.g. three-option pattern) ── */
.scuk-options-list {
  list-style: decimal;
  padding-left: var(--space-5);
  margin-bottom: var(--space-5);
}

.scuk-options-list li {
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.scuk-options-list li:last-child {
  margin-bottom: 0;
}

/* ── General bullet list utility ── */
.scuk-ul {
  list-style: disc;
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

.scuk-ul li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Expert quote ── */
.scuk-expert-quote {
  border-left: 4px solid var(--blue-primary);
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0;
}

.scuk-expert-quote p {
  margin: 0 0 var(--space-3);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

.scuk-expert-quote cite {
  display: block;
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.scuk-expert-quote cite a {
  color: var(--blue-primary);
  text-decoration: none;
}

.scuk-expert-quote cite a:hover {
  text-decoration: underline;
}

/* ── database.php map embed ── */
.scuk-map-embed {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 6px;
    overflow: hidden;
}
.scuk-map-embed iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}
@media (min-width: 768px) {
    .scuk-map-embed iframe {
        height: 420px;
    }
}

/* ── Homepage components ────────────────────────────────────────────────── */

/* Region cards */
.scuk-region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin: 16px 0 24px;
}
.scuk-region-card {
  display: block;
  padding: 12px 14px;
  background: #f4f8ff;
  border: 1px solid #c8d8ef;
  border-left: 4px solid #0055b3;
  border-radius: 4px;
  color: #0055b3;
  font-size: 0.92em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-left-color 0.15s;
}
.scuk-region-card:hover {
  background: #ddeaff;
  border-left-color: #003d80;
  color: #003d80;
}

/* Camera type cards */
.scuk-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}
.scuk-type-card {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dde4ef;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.scuk-type-card a {
  display: block;
  font-size: 1em;
  font-weight: 700;
  color: #0055b3;
  text-decoration: none;
  margin-bottom: 5px;
}
.scuk-type-card a:hover { color: #003d80; text-decoration: underline; }
.scuk-type-card p {
  margin: 0;
  font-size: 0.85em;
  color: #555;
  line-height: 1.4;
}

/* Recently added cameras table */
.scuk-recent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88em;
  margin: 14px 0 24px;
}
.scuk-recent-table th {
  background: #0055b3;
  color: #fff;
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
}
.scuk-recent-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e4eaf4;
  color: #333;
  vertical-align: top;
}
.scuk-recent-table tr:nth-child(even) td { background: #f6f9ff; }
.scuk-recent-table tr:hover td { background: #ddeaff; }

/* Quick links strip */
.scuk-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 24px;
}
.scuk-quicklinks a {
  display: inline-block;
  padding: 7px 14px;
  background: #0055b3;
  color: #fff;
  border-radius: 3px;
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.scuk-quicklinks a:hover { background: #003d80; }
.scuk-quicklinks a.scuk-ql-ghost {
  background: transparent;
  border: 2px solid #0055b3;
  color: #0055b3;
}
.scuk-quicklinks a.scuk-ql-ghost:hover { background: #eef3ff; }

/* Trust note */
.scuk-trust-note {
  font-size: 0.88em;
  color: #666;
  border-top: 1px solid #e0e8f4;
  padding-top: 10px;
  margin-top: 4px;
}

/* Flashed by a camera callout */
.scuk-callout {
  background: #fff8e6;
  border: 1px solid #f0c040;
  border-left: 5px solid #e6a800;
  border-radius: 4px;
  padding: 18px 20px;
  margin: 0 0 28px;
}
.scuk-callout h2 {
  margin: 0 0 10px;
  font-size: 1.15em;
  color: #7a5000;
}
.scuk-callout p {
  margin: 0 0 14px;
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}
.scuk-callout-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scuk-callout-links a {
  display: inline-block;
  padding: 7px 14px;
  background: #e6a800;
  color: #fff;
  border-radius: 3px;
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.scuk-callout-links a:hover { background: #c48f00; }
.scuk-callout-links a.scuk-callout-ghost {
  background: transparent;
  border: 2px solid #e6a800;
  color: #7a5000;
}
.scuk-callout-links a.scuk-callout-ghost:hover { background: #fff0c0; }

/* Mobile: region-photo images inside body text */
@media (max-width: 600px) {
  .scuk-body-text .region-photo {
    float: right;
    max-width: 120px;
    height: auto;
    margin: 0 0 10px 12px;
  }
}

/* Mobile: suppress in-content ad */
@media (max-width: 767px) {
  #ad-incontent { display: none; }
}

/* ── SITE-WIDE NAV V2 (.snv2-*) ─────────────────────────────────────────── */
/* ============================================================
   scuk-nav-v2 - three-tier nav - speed-camera-types.php only
   All rules scoped to .scuk-nav-v2 to avoid conflicts
   ============================================================ */
.scuk-nav-v2 { position: relative; font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* ---- Desktop bar ---- */
.snv2-bar { width: 100%; background: #1a1a2e; }
.snv2-inner { max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.snv2-list { display: flex; list-style: none; margin: 0; padding: 0; }
.snv2-item { position: relative; }
.snv2-link {
  display: flex; align-items: center; gap: 3px;
  padding: 14px 14px; color: #d0d0d0; text-decoration: none;
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.snv2-link:hover,
.snv2-item.snv2-open > .snv2-link { color: #FFC107; border-bottom-color: #FFC107; }
.snv2-active > .snv2-link { color: #FFC107; border-bottom-color: #FFC107; }
.snv2-arrow::after { content: '\25BE'; font-size: 10px; margin-left: 3px; }

/* ---- Dropdown ---- */
.snv2-drop {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border-top: 3px solid #FFC107;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18); min-width: 220px; z-index: 9000;
}
.snv2-item.snv2-open > .snv2-drop { display: block; }
.snv2-drop-label {
  padding: 8px 16px 4px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #888;
}
.snv2-drop > ul { list-style: none; margin: 0; padding: 4px 0 8px; }
.snv2-drop > ul > li > a,
.snv2-drop > ul > li.snv2-has-fly > .snv2-fly-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; color: #222; text-decoration: none;
  font-size: 13.5px; white-space: nowrap; cursor: pointer;
}
.snv2-drop > ul > li > a:hover,
.snv2-drop > ul > li.snv2-has-fly:hover > .snv2-fly-trigger { background: #4A90D9; color: #fff; }
.snv2-drop > ul > li.snv2-has-fly:hover > .snv2-fly-trigger .snv2-chevron { color: #fff; }
.snv2-divider { border-top: 1px solid #e0e0e0; margin: 4px 0; }
.snv2-drop-label-item {
  padding: 8px 16px 4px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #888;
}
.snv2-chevron { font-size: 16px; color: #aaa; margin-left: 8px; flex-shrink: 0; }

/* ---- Flyout ---- */
.snv2-has-fly { position: relative; }
.snv2-flyout {
  display: none; position: absolute; top: 0; left: 100%;
  background: #fff; border-top: 3px solid #FFC107;
  box-shadow: 6px 4px 20px rgba(0,0,0,0.15);
  min-width: 230px; z-index: 9001; list-style: none; padding: 4px 0 8px; margin: 0;
}
.snv2-has-fly:hover > .snv2-flyout { display: block; }
.snv2-flyout li a {
  display: block; padding: 8px 16px; color: #222;
  text-decoration: none; font-size: 13.5px; white-space: nowrap;
}
.snv2-flyout li a:hover { background: #4A90D9; color: #fff; }

/* ---- Hamburger (mobile only) ---- */
.snv2-ham {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 100%; padding: 12px 16px; background: #1a1a2e;
  border: none; cursor: pointer; align-items: flex-end;
}
.snv2-ham span { display: block; width: 24px; height: 2px; background: #d0d0d0; }

/* ---- Mobile overlay ---- */
.snv2-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 9200;
}
.snv2-overlay.snv2-show { display: block; }

/* ---- Mobile slide-in panel ---- */
.snv2-panel {
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; width: 85%; max-width: 360px; height: 100%;
  background: #1a1a2e; z-index: 9300;
  transform: translateX(-100%); transition: transform 0.28s ease;
}
.snv2-panel.snv2-open { transform: translateX(0); }
.snv2-panel-head {
  flex-shrink: 0; display: flex; align-items: center;
  justify-content: space-between; padding: 10px 16px;
  border-bottom: 1px solid #2a2a4e; background: #12122a;
}
.snv2-panel-head img { height: 46px; width: auto; }
.snv2-close {
  background: none; border: none; color: #d0d0d0;
  font-size: 20px; cursor: pointer; padding: 4px 8px; line-height: 1;
}
.snv2-close:hover { color: #FFC107; }
.snv2-panel-body { flex: 1; overflow: hidden; position: relative; }

/* ---- Panel screens ---- */
.snv2-screen {
  display: none; position: absolute; inset: 0; overflow-y: auto;
}
.snv2-screen.snv2-screen-active { display: block; }
.snv2-panel-back {
  display: flex; align-items: center; padding: 12px 16px;
  color: #FFC107; font-size: 14px; font-weight: 600;
  cursor: pointer; border-bottom: 1px solid #2a2a4e;
}
.snv2-panel-back:hover { background: #2a2a4e; }
.snv2-panel-screen-title {
  padding: 9px 16px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: #888; border-bottom: 1px solid #2a2a4e;
}
.snv2-panel-list { list-style: none; margin: 0; padding: 0; }
.snv2-panel-list > li > a {
  display: block; padding: 13px 16px; color: #d0d0d0;
  text-decoration: none; font-size: 15px;
  border-bottom: 1px solid #2a2a4e;
}
.snv2-panel-list > li > a:hover { background: #2a2a4e; color: #FFC107; }
.snv2-panel-has-sub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; color: #d0d0d0; font-size: 15px;
  border-bottom: 1px solid #2a2a4e; cursor: pointer;
}
.snv2-panel-has-sub:hover { background: #2a2a4e; color: #FFC107; }
.snv2-panel-arrow { font-size: 20px; color: #FFC107; }
.snv2-panel-divider { border-top: 1px solid #2a2a4e; margin: 4px 0; }
.snv2-panel-label {
  padding: 8px 16px 4px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #888;
}

/* ---- Responsive breakpoints ---- */
@media (max-width: 767px) {
  .snv2-bar { display: none; }
  .snv2-ham { display: flex; }
}
@media (min-width: 768px) {
  .snv2-ham { display: none; }
  .snv2-panel { display: none !important; }
  .snv2-overlay { display: none !important; }
}
