/* ==========================================================================
   London Urban Access Regulations - Independent Theme Stylesheet
   Fully Mobile Responsive, High-Performance, Editorial Visuals & Accessible
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --primary-teal: #347c98;
  --primary-teal-dark: #235c72;
  --primary-teal-light: #4ea1c1;
  --accent-blue-bg: #e0edf9;
  --accent-blue-soft: #f4f8fc;
  --lez-green: #2bbd87;
  --lez-green-dark: #1e996b;
  --lez-green-light: #e6f7f0;
  --cc-red: #ef4343;
  --cc-red-dark: #cc2828;
  --cc-red-light: #fde8e8;
  --dvs-orange: #f37e09;
  --dvs-orange-dark: #c46300;
  --dvs-orange-light: #fef0e3;
  --ar-blue: #26a6c3;
  --ar-blue-dark: #1b7a91;
  --ar-blue-light: #e5f6f9;
  --text-main: #1f2937;
  --text-muted: #5d6778;
  --text-light: #ffffff;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height: 80px;
  --mobile-header-height: 64px;
}

/* Base HTML & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  margin: 0 !important;
  padding: 0 !important;
}

#info-top-bar,
.info-top-bar {
  margin-top: 0 !important;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-teal-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   1. Informational Status Top Bar
   ========================================================================== */
.info-top-bar {
  background: #1c4554;
  color: #d1e4f5;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  min-width: 0;
}

.guide-badge .live-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.guide-badge-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-links a {
  color: #e0edf9;
  font-size: 12px;
}

.top-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .info-top-bar {
    padding: 6px 0;
    font-size: 12px;
  }
  .guide-badge-text {
    white-space: normal;
  }
  .top-links {
    display: none;
  }
}

/* ==========================================================================
   2. Main Navigation Header & Mobile Drawer
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  position: relative;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-teal), var(--ar-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(52, 124, 152, 0.3);
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text h1 {
  font-size: 18px;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text .brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-nav-header,
.mobile-nav-cta {
  display: none;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-teal);
  background: var(--accent-blue-soft);
}

.btn-nav-action {
  background: var(--primary-teal);
  color: white !important;
  font-weight: 600;
  padding: 9px 18px !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 2px 6px rgba(52, 124, 152, 0.3);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.btn-nav-action:hover {
  background: var(--primary-teal-dark) !important;
}

.btn-nav-secondary {
  display: none;
}

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  flex-shrink: 0;
  z-index: 1010;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--primary-teal);
  background: var(--accent-blue-soft);
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2.5px;
  background-color: #1e293b;
  border-radius: 4px;
  position: absolute;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -7px;
}

.hamburger-inner::after {
  bottom: -7px;
}

.mobile-nav-toggle.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.mobile-nav-toggle.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Mobile Navigation Drawer (Screen <= 992px) */
@media (max-width: 992px) {
  .header-inner {
    height: var(--mobile-header-height);
  }

  .brand-logo-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .brand-text h1 {
    font-size: 16px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }

  .main-nav.is-active {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 20px;
  }

  .mobile-nav-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
  }

  .mobile-nav-close:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  .nav-links-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 24px;
  }

  .nav-item {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-item::after {
    content: "\203A";
    font-size: 18px;
    color: #94a3b8;
  }

  .nav-item:hover,
  .nav-item:active {
    background: var(--accent-blue-soft);
    color: var(--primary-teal);
  }

  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-nav-cta .btn-nav-action {
    margin-left: 0;
    justify-content: center;
    padding: 13px 20px !important;
    font-size: 15px;
  }

  .btn-nav-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue-soft);
    color: var(--primary-teal);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    border: 1px solid rgba(52, 124, 152, 0.2);
  }

  .btn-nav-secondary:hover {
    background: #e0edf9;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-nav-backdrop.is-active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .brand-text .brand-sub {
    display: none;
  }
}

/* ==========================================================================
   3. Hero Section, Editorial Imagery & Vehicle Checker
   ========================================================================== */
.hero-portal {
  background: linear-gradient(180deg, var(--accent-blue-bg) 0%, #ffffff 100%);
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 28px;
}

.hero-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--primary-teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  border: 1px solid rgba(52, 124, 152, 0.2);
}

.hero-content h2 {
  font-size: clamp(24px, 4.5vw, 38px);
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-weight: 800;
}

.hero-content p {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #475569;
  line-height: 1.55;
  max-width: 760px;
  margin: 0 auto;
}

.hero-disclaimer-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8e1;
  border: 1.5px solid #ffe082;
  color: #855700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-weight: 500;
  text-align: left;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.hero-disclaimer-pill .pill-icon {
  font-size: 16px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Editorial Hero Photo Showcase */
.hero-editorial-card {
  max-width: 980px;
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(52, 124, 152, 0.2);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  overflow: hidden;
  background: #e2e8f0;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image-wrapper:hover .hero-banner-img {
  transform: scale(1.02);
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 100%);
  color: white;
}

.hero-image-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.caption-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
}

.caption-title {
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 600;
  color: #ffffff;
}

/* Interactive Vehicle Checker Card */
.checker-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(52, 124, 152, 0.15);
  max-width: 980px;
  margin: 0 auto;
}

.checker-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.checker-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.checker-card-header h3 {
  font-size: clamp(17px, 3vw, 20px);
  margin: 0 0 4px;
  color: #0f172a;
}

.checker-card-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.checker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.checker-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checker-field label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.checker-field select,
.checker-field input {
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  color: #1e293b;
  background-color: #f8fafc;
  min-height: 48px;
  width: 100%;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px auto;
}

.checker-field select:focus,
.checker-field input:focus {
  outline: none;
  border-color: var(--primary-teal);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(52, 124, 152, 0.15);
}

.btn-check-submit {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(52, 124, 152, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
}

.btn-check-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(52, 124, 152, 0.4);
}

.btn-check-submit:active {
  transform: scale(0.99);
}

/* Results Box */
.checker-result-box {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--accent-blue-soft);
  border: 1.5px solid #bcdbf0;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-status {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.status-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

.status-compliant {
  background: var(--lez-green-light);
  color: var(--lez-green-dark);
  border: 1px solid var(--lez-green);
}

.status-chargeable {
  background: var(--cc-red-light);
  color: var(--cc-red-dark);
  border: 1px solid var(--cc-red);
}

.result-fees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.fee-card {
  background: white;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.fee-card.total-fee-card {
  border-left: 4px solid var(--primary-teal);
}

.fee-card.total-fee-card .fee-amount {
  color: var(--primary-teal);
}

.fee-card .fee-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.fee-card .fee-amount {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0;
}

.fee-card .fee-note {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.regulatory-notes-card {
  background: white;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.regulatory-notes-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #1e293b;
}

.regulatory-notes-card ul {
  padding-left: 20px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.checker-result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.checker-result-actions .btn-scheme-link {
  flex: 1;
  min-width: 220px;
}

@media (max-width: 640px) {
  .checker-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .checker-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .result-fees {
    grid-template-columns: 1fr;
  }

  .checker-result-actions {
    flex-direction: column;
  }

  .checker-result-actions .btn-scheme-link {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   4. Four Scheme Badges & Cards Section with Thumbnails
   ========================================================================== */
.schemes-section {
  padding: 60px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-title-wrap h2 {
  font-size: clamp(22px, 4vw, 32px);
  color: #0f172a;
  margin-bottom: 12px;
}

.section-title-wrap p {
  font-size: clamp(14px, 2.5vw, 16px);
  color: #475569;
}

.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.scheme-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.scheme-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scheme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 2;
}

.card-lez::before { background: var(--lez-green); }
.card-cc::before { background: var(--cc-red); }
.card-hgv::before { background: var(--ar-blue); }
.card-dvs::before { background: var(--dvs-orange); }

.card-thumb-wrapper {
  margin: -20px -20px 16px -20px;
  aspect-ratio: 16 / 9;
  max-height: 160px;
  overflow: hidden;
  background: #f1f5f9;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scheme-card:hover .card-thumb-img {
  transform: scale(1.04);
}

.scheme-badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.scheme-circle-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.bg-lez-green { background: var(--lez-green); }
.bg-cc-red { background: var(--cc-red); }
.bg-ar-blue { background: var(--ar-blue); }
.bg-dvs-orange { background: var(--dvs-orange); }

.scheme-badge-header h3 {
  font-size: 17px;
  margin: 0;
  color: #0f172a;
}

.scheme-badge-header span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.scheme-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 14px;
}

.scheme-meta-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.scheme-meta-list li strong {
  color: #1e293b;
  flex-shrink: 0;
}

.scheme-meta-list .meta-val {
  color: #475569;
  text-align: right;
  word-break: break-word;
}

.scheme-meta-list .highlight-val {
  font-weight: 700;
  color: #0f172a;
}

.scheme-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.btn-scheme-link {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: white;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-scheme-link:hover {
  opacity: 0.92;
  color: white;
}

.btn-scheme-link:active {
  transform: scale(0.99);
}

@media (max-width: 600px) {
  .schemes-section {
    padding: 40px 0;
  }
  .schemes-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. Static & Free Interactive Map Section
   ========================================================================== */
.map-section {
  padding: 60px 0;
  background: #f1f5f9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.map-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

/* Static Map View */
.static-map-view {
  background: #ffffff;
}

.static-map-image-frame {
  width: 100%;
  background: #eef3f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.static-zone-map {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

.static-map-bar {
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.map-legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #334155;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.btn-interactive-toggle {
  background: var(--primary-teal);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-interactive-toggle:hover {
  background: var(--primary-teal-dark);
}

/* Interactive Map View */
.map-controls-bar {
  background: #1c4554;
  color: white;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.map-controls-title {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-layer-toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.layer-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
}

.layer-btn.active {
  background: white;
  color: #1c4554;
  border-color: white;
}

.layer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

#london-access-map {
  width: 100%;
  height: 500px;
  z-index: 10;
}

.map-legend-bar {
  background: #ffffff;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #475569;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .map-section {
    padding: 40px 0;
  }

  .static-map-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }

  .btn-interactive-toggle {
    justify-content: center;
    width: 100%;
  }

  #london-access-map {
    height: 340px;
  }

  .map-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .map-layer-toggles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .layer-btn {
    justify-content: center;
    width: 100%;
  }

  .map-legend-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
  }
}

/* ==========================================================================
   6. Comprehensive Scheme Comparison Matrix & Sticky Mobile Table
   ========================================================================== */
.comparison-section {
  padding: 60px 0;
}

.mobile-table-hint {
  display: none;
  background: var(--accent-blue-soft);
  border: 1px solid #c8e0f4;
  color: var(--primary-teal-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  align-items: center;
  gap: 8px;
  text-align: center;
  justify-content: center;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  -webkit-overflow-scrolling: touch;
  background: white;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
  text-align: left;
}

.comparison-table th {
  background: #1c4554;
  color: white;
  padding: 14px 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 13px;
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  color: #334155;
  line-height: 1.5;
}

.comparison-table tr:hover td {
  background: #f8fafc;
}

.badge-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .comparison-section {
    padding: 40px 0;
  }

  .mobile-table-hint {
    display: flex;
  }

  .comparison-table th.col-scheme,
  .comparison-table td.col-scheme {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.06);
  }

  .comparison-table th.col-scheme {
    background: #1c4554;
    z-index: 3;
  }

  .comparison-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   7. Scheme Details & In-Depth Tabs
   ========================================================================== */
.details-section {
  padding: 60px 0;
  background: #ffffff;
}

.tabs-nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 28px;
}

.tabs-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--border-light);
  min-width: max-content;
  padding-bottom: 2px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -4px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tab-btn:hover {
  color: var(--primary-teal);
  background: var(--accent-blue-soft);
}

.tab-btn.active {
  color: var(--primary-teal);
  border-bottom-color: var(--primary-teal);
  background: var(--accent-blue-soft);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-pane.active {
  display: block;
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.details-main h3 {
  font-size: clamp(20px, 3.5vw, 24px);
  margin-bottom: 14px;
  color: #0f172a;
}

.details-main p {
  color: #475569;
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.standards-box {
  background: var(--accent-blue-soft);
  border-left: 4px solid var(--primary-teal);
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.standards-box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary-teal-dark);
}

.standards-box ul {
  padding-left: 20px;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.details-sidebar .info-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.details-sidebar h4 {
  font-size: 16px;
  margin-bottom: 14px;
  color: #0f172a;
}

.quick-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.quick-facts-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.qf-bullet {
  color: var(--primary-teal);
  font-size: 18px;
}

@media (max-width: 900px) {
  .details-section {
    padding: 40px 0;
  }
  .details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   8. FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  min-height: 48px;
  gap: 12px;
}

.faq-question:hover {
  background-color: var(--accent-blue-soft);
}

.faq-chevron {
  font-size: 12px;
  transition: transform 0.25s ease;
  color: var(--primary-teal);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 640px) {
  .faq-section {
    padding: 40px 0;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }
  .faq-answer {
    padding: 0 16px 16px;
  }
}

/* ==========================================================================
   9. Action Banner & Bottom CTA
   ========================================================================== */
.action-banner {
  background: linear-gradient(135deg, #1c4554 0%, #2a647a 100%);
  color: white;
  padding: 44px 0;
  text-align: center;
}

.action-banner h3 {
  color: white;
  font-size: clamp(20px, 3.5vw, 28px);
  margin-bottom: 12px;
  font-weight: 800;
}

.action-banner p {
  color: #d1e4f5;
  font-size: clamp(14px, 2vw, 16px);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-white {
  background: white;
  color: #1c4554 !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 15px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-white:hover {
  background: #f1f5f9;
}

.btn-outline-white {
  background: transparent;
  color: white !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid white;
  font-size: 15px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
  .action-banner {
    padding: 36px 0;
  }
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   10. Site Footer
   ========================================================================== */
.site-footer {
  background: #0f242e;
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 84px;
  }
}

/* ==========================================================================
   11. Mobile Sticky Bottom Action Dock
   ========================================================================== */
.mobile-sticky-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-dock {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 10px;
  color: #64748b;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  min-width: 60px;
}

.dock-btn .dock-icon {
  font-size: 18px;
  line-height: 1;
}

.dock-btn .dock-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dock-btn:active,
.dock-btn.active {
  color: var(--primary-teal);
}

.dock-btn.dock-btn-primary {
  color: var(--primary-teal);
}

.dock-btn.dock-btn-accent {
  color: var(--cc-red-dark);
}

/* ==========================================================================
   12. Floating Back to Top Button
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: #1c4554;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--primary-teal);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 74px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   13. Standard Page Templates & Editorial Content Images
   ========================================================================== */
.page-hero {
  padding: 32px 0 28px;
  background: var(--accent-blue-bg);
}

.breadcrumb-trail {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.breadcrumb-trail a {
  color: var(--primary-teal);
}

.page-title {
  font-size: clamp(24px, 4vw, 32px);
  color: #0f172a;
  margin: 0;
}

.page-content-container {
  padding: 40px 20px;
}

@media (max-width: 600px) {
  .page-content-container {
    padding: 24px 16px;
  }
}

.page-main-card {
  background: white;
  padding: clamp(20px, 3.5vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Page Featured Image Container */
.page-featured-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.page-featured-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.page-featured-caption {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-links-list {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 2;
}

.sidebar-links-list li a {
  color: #334155;
}

.sidebar-links-list li a:hover {
  color: var(--primary-teal);
}


@media (max-width: 768px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   14. Scheme Quick-Nav Bar & Modern Sidebar Navigation
   ========================================================================== */
.scheme-quick-pills {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pills-scroll-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px;
}

.pills-scroll-track::-webkit-scrollbar {
  display: none;
}

.pill-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pill-chip:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.pill-chip.active {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: 0 2px 6px rgba(52, 124, 152, 0.25);
}

.pill-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.chip-dot.dot-ulez { background: var(--lez-green); }
.chip-dot.dot-cc { background: var(--cc-red); }
.chip-dot.dot-lez { background: var(--ar-blue); }
.chip-dot.dot-dvs { background: var(--dvs-orange); }

.pill-chip.active .chip-dot {
  background: #ffffff;
}

.chip-current {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

.pill-chip-checker {
  background: var(--accent-blue-soft);
  color: var(--primary-teal);
  border-color: rgba(52, 124, 152, 0.25);
}

/* Modern Sticky Sidebar */
.details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 901px) {
  .details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
  }

  .details-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.sidebar-heading {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #334155;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sidebar-nav-item:hover {
  background: var(--accent-blue-soft);
  border-color: var(--primary-teal-light);
  color: var(--primary-teal);
  transform: translateX(2px);
}

.sidebar-nav-item.is-active {
  background: #f0fdf4;
  border-color: var(--lez-green);
  box-shadow: 0 2px 6px rgba(43, 189, 135, 0.15);
}

.item-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.item-text {
  flex-grow: 1;
  min-width: 0;
}

.item-text strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  line-height: 1.3;
}

.item-text .item-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.badge-current {
  font-size: 11px;
  font-weight: 700;
  background: var(--lez-green);
  color: white;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.item-arrow {
  font-size: 16px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.sidebar-nav-item:hover .item-arrow {
  transform: translateX(3px);
  color: var(--primary-teal);
}

.bg-lez-light { background: #dcfce7; }
.bg-cc-light { background: #fee2e2; }
.bg-ar-light { background: #e0f2fe; }
.bg-dvs-light { background: #ffedd5; }

.sidebar-disclaimer-note {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.sidebar-action-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-btn-official {
  background: var(--primary-teal);
  color: white !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  display: block;
  transition: background 0.2s ease;
}

.sidebar-btn-official:hover {
  background: var(--primary-teal-dark) !important;
}

.sidebar-btn-secondary {
  background: #ffffff;
  color: #334155 !important;
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  display: block;
  transition: all 0.2s ease;
}

.sidebar-btn-secondary:hover {
  background: #f8fafc;
  color: var(--primary-teal) !important;
}

/* Single page table responsiveness enhancements */
@media (max-width: 640px) {
  .details-main .btn-scheme-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

/* ==========================================================================
   15. Anti-Cutoff & Single-Page Content Fluidity (Fixes Grid Blowout)
   ========================================================================== */
.page-content-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Ensure Grid items can shrink without content-induced blowout */
.details-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 901px) {
  .details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 32px;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .details-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }
}

.details-main {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible;
}

.page-main-card {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: normal !important;
}

/* Fluid table inside details-main (overrides global min-width: 760px) */
.details-main .table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.details-main .comparison-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  .details-main .comparison-table {
    min-width: 500px !important; /* Fluid compact table on phones inside table-responsive */
  }
}

.details-main .comparison-table th,
.details-main .comparison-table td {
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Ensure all child blocks wrap cleanly without breaking */
.details-main * {
  max-width: 100%;
  box-sizing: border-box;
}

.details-main p,
.details-main li,
.details-main h1,
.details-main h2,
.details-main h3,
.details-main h4 {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}

.hero-disclaimer-pill {
  width: 100%;
  max-width: 100%;
  display: flex !important;
  box-sizing: border-box;
  align-items: flex-start;
  gap: 10px;
  overflow-wrap: break-word !important;
}

.standards-box {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.page-featured-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-featured-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Official Action Buttons in details-main */
.details-main .btn-scheme-link {
  white-space: normal !important;
  text-align: center !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  padding: 12px 18px !important;
  height: auto !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px) {
  .details-main .btn-scheme-link {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .page-main-card {
    padding: 20px 16px !important;
  }
}

/* ==========================================================================
   Driver Tools & SVG Icon Helpers (v1.3.2)
   ========================================================================== */
.item-icon-box svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sidebar-links-list .featured-tool-item {
  margin-bottom: 12px;
  list-style: none;
}

.featured-tool-link {
  display: block;
  background: #f0f7ff;
  border: 1.5px solid #93c5fd;
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.featured-tool-link:hover {
  background: #e0f2fe;
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.15);
}

.featured-tool-link .tool-tag {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.featured-tool-link .tool-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.3;
}

.featured-tool-link .tool-desc {
  display: block;
  font-size: 11px;
  color: #475569;
  margin-top: 3px;
  line-height: 1.35;
}
/* In-Content Checker Callout Card & Actions */
.checker-callout-card {
  transition: all 0.2s ease;
}

.checker-callout-card br,
.official-actions-card br {
  display: none !important;
}

.checker-callout-card a:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .checker-callout-card {
    padding: 16px !important;
  }
  .checker-callout-card a {
    width: 100% !important;
    justify-content: center !important;
  }
}