/* ============================================================
   CANNABIS LAWS — UNIFIED STYLESHEET
   Teal & White Theme  |  Responsive & Mobile-Friendly
   Covers: US States · Canada · Mexico
   Version: 1.0  |  March 2026
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* — Teal Palette — */
  --teal-darkest:   #004d4d;
  --teal-dark:      #006d6d;
  --teal:           #008080;
  --teal-mid:       #009999;
  --teal-light:     #00b3b3;
  --teal-pale:      #e0f7f7;
  --teal-xpale:     #f0fbfb;
  --teal-accent:    #00cccc;

  /* — Neutrals — */
  --white:          #ffffff;
  --off-white:      #f7fafa;
  --gray-50:        #f5f9f9;
  --gray-100:       #edf4f4;
  --gray-200:       #d8e8e8;
  --gray-300:       #b8d0d0;
  --gray-500:       #6b8080;
  --gray-700:       #2e4444;
  --text:           #1a2e2e;
  --text-body:      #2f4444;
  --text-muted:     #5a7070;

  /* — Semantic Highlights — */
  --highlight-tax-bg:     #fff3cd;
  --highlight-tax-border: #e6a817;
  --highlight-tax-text:   #6b3f00;
  --highlight-qty-bg:     #fffde7;
  --highlight-qty-border: #d4b800;
  --highlight-qty-text:   #4a3b00;

  /* — Status Colors — */
  --legal-bg:       #e0f7f7;
  --legal-border:   #008080;
  --legal-text:     #004d4d;
  --illegal-bg:     #fbe9e7;
  --illegal-border: #e53935;
  --illegal-text:   #b71c1c;
  --pending-bg:     #fff8e1;
  --pending-border: #f9a825;
  --pending-text:   #6b3f00;

  /* — Warning & Disclaimer — */
  --warning-bg:     #fff8e1;
  --warning-border: #f59e0b;
  --warning-text:   #92400e;
  --danger-bg:      #fef2f2;
  --danger-border:  #ef4444;
  --danger-text:    #991b1b;
  --info-bg:        #e8f4fd;
  --info-border:    #1976d2;
  --info-text:      #0d3a6b;

  /* — Federal Notice — */
  --federal-bg:     #fff3cd;
  --federal-border: #f59e0b;
  --federal-text:   #7a4f00;

  /* — Shadows — */
  --shadow-sm:  0 2px 8px  rgba(0, 128, 128, 0.08);
  --shadow-md:  0 4px 20px rgba(0, 128, 128, 0.14);
  --shadow-lg:  0 8px 40px rgba(0, 128, 128, 0.18);

  /* — Radii — */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  /* — Container — */
  --container:  1100px;
  --gutter:     24px;

  /* — Typography — */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  transition: color 0.2s;
}
a:hover { color: var(--teal-dark); }

/* ============================================================
   3. BREADCRUMB
   ============================================================ */
.cannlaw-bc-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
}
.cannlaw-bc-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cannlaw-bc-bar .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.55rem 0;
  margin: 0;
  list-style: none;
  background: transparent;
  font-size: 0.80rem;
  font-family: var(--font-body);
  align-items: center;
  gap: 0;
}
.cannlaw-bc-bar .breadcrumb-item a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.cannlaw-bc-bar .breadcrumb-item a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}
.cannlaw-bc-bar .breadcrumb-item.active {
  color: var(--gray-700);
  font-weight: 500;
}
.cannlaw-bc-bar .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 0.45rem;
  color: var(--gray-300);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}
.cannlaw-bc-bar .bc-home {
  font-size: 0.85rem;
  margin-right: 0.2rem;
  vertical-align: -1px;
}

/* ============================================================
   4. HERO / SITE HEADER
   Supports both .hero and .site-header class names
   ============================================================ */
.hero,
.site-header {
  background: linear-gradient(135deg,
    var(--teal-darkest) 0%,
    var(--teal-dark)    30%,
    var(--teal)         65%,
    var(--teal-mid)     100%
  );
  color: #fff;
  padding: 60px var(--gutter) 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before,
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Inner wrapper — min 80% width, centred */
.hero-inner {
  position: relative;
  width: min(80%, var(--container));
  min-width: min(80%, 300px);
  margin: 0 auto;
  text-align: center;
}

/* Badge / pill above title */
.header-badge,
.state-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* Emoji leaf / icon above h1 */
.hero-leaf {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

/* Main title */
.hero h1,
.site-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

/* Subtitle */
.hero-subtitle,
.site-header .subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.88;
  max-width: 620px;
  margin: 0 auto 22px;
}

/* Meta pills row */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-meta span,
.updated-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ============================================================
   5. FEDERAL NOTICE BANNER
   ============================================================ */
.federal-notice {
  background: var(--federal-bg);
  border-top: 4px solid var(--federal-border);
  border-bottom: 1px solid #f0d070;
  padding: 12px var(--gutter);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--federal-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.federal-notice .fn-icon { font-size: 1.1rem; }

/* ============================================================
   6. TABLE OF CONTENTS NAV
   Sticky, scrollable, centred
   ============================================================ */
.toc-nav {
  background: var(--teal-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.toc-nav::-webkit-scrollbar { display: none; }

.toc-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;       /* ← centred */
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 0;
  white-space: nowrap;
}
.toc-nav ul li a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 12px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.toc-nav ul li a:hover,
.toc-nav ul li a.active {
  color: #fff;
  border-bottom-color: var(--teal-accent);
  background: rgba(255, 255, 255, 0.09);
}

/* Pill-style variant (used on some pages) */
.toc-nav.pill-style ul {
  padding: 10px var(--gutter);
  gap: 8px;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.toc-nav.pill-style ul li a {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 6px 14px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.22);
}
.toc-nav.pill-style ul li a:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* Standalone Table of Contents block (in-page) */
.toc-block {
  background: var(--teal-xpale);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  text-align: center;            /* ← centred */
}
.toc-block h2 {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-size: 1.25rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.toc-block ol,
.toc-block ul {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
}
.toc-block ol li,
.toc-block ul li {
  padding: 5px 0;
  font-size: 0.95rem;
  counter-increment: toc-count;
}
.toc-block ol { counter-reset: toc-count; }
.toc-block ol li::before {
  content: counter(toc-count) ".";
  color: var(--teal);
  font-weight: 700;
  margin-right: 8px;
  min-width: 22px;
  display: inline-block;
}
.toc-block a {
  color: var(--teal-dark);
  font-weight: 500;
  text-decoration: none;
}
.toc-block a:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* ============================================================
   7. MAIN LAYOUT / CONTAINER
   ============================================================ */
main,
.page-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) 60px;
}

/* ============================================================
   8. STATUS BANNER (Legal / Illegal / Pending)
   ============================================================ */
.status-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid;
}
.status-pill.legal {
  background: var(--legal-bg);
  color: var(--legal-text);
  border-color: var(--legal-border);
}
.status-pill.illegal {
  background: var(--illegal-bg);
  color: var(--illegal-text);
  border-color: var(--illegal-border);
}
.status-pill.pending {
  background: var(--pending-bg);
  color: var(--pending-text);
  border-color: var(--pending-border);
}

/* ============================================================
   9. SECTION CARDS
   Supports both .law-section and .section-card class names
   ============================================================ */
.law-section,
.section-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 70px;
  transition: box-shadow 0.3s ease;
}
.law-section:hover,
.section-card:hover {
  box-shadow: var(--shadow-md);
}

/* Section header bar */
.section-header {
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}
.section-icon { font-size: 1.6rem; flex-shrink: 0; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
  letter-spacing: 0.01em;
}

/* Collapse toggle */
.toggle-icon {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.section-card.collapsed .toggle-icon { transform: rotate(-90deg); }
.section-card.collapsed .section-body { display: none; }

/* Section body */
.section-body { padding: 26px 30px; }

/* ============================================================
   10. SUBSECTIONS
   ============================================================ */
.subsection { margin-bottom: 26px; }
.subsection:last-child { margin-bottom: 0; }

.subsection h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-pale);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.subsection h3 .dot,
.subsection h3 .sub-icon {
  width: 8px;
  height: 8px;
  background: var(--teal-accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.subsection h3 .sub-icon {
  width: auto;
  height: auto;
  background: none;
  font-size: 1rem;
  border-radius: 0;
}

/* ============================================================
   11. BULLET LISTS (main-list / bullet-list)
   ============================================================ */
ul.main-list,
ul.bullet-list {
  list-style: none;
  padding: 0;
}
ul.main-list > li,
ul.bullet-list > li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.97rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.65;
}
ul.main-list > li:last-child,
ul.bullet-list > li:last-child { border-bottom: none; }
ul.main-list > li::before,
ul.bullet-list > li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--teal-accent);
  font-size: 0.9rem;
}
ul.main-list > li strong,
ul.bullet-list > li strong {
  color: var(--text);
  font-weight: 700;
}

/* Sub-bullets (sub-list) */
ul.sub-list {
  list-style: none;
  padding: 6px 0 4px 18px;
  margin-top: 4px;
}
ul.sub-list > li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
ul.sub-list > li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--teal-mid);
  font-weight: 700;
}
ul.sub-list > li strong { color: var(--text-body); }

/* ============================================================
   12. HIGHLIGHT BOXES — TAX RATES & QUANTITY LIMITS
   ============================================================ */

/* Generic highlight-box (used for both) */
.highlight-box {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 10px 0;
  font-weight: 600;
  font-size: 0.96rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.highlight-box .hl-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.highlight-box .hl-text { flex: 1; line-height: 1.55; }
.highlight-box .hl-text strong { font-size: 1.05rem; }

/* TAX RATE highlight */
.highlight-tax,
.highlight-box.tax {
  background: var(--highlight-tax-bg);
  border-left: 5px solid var(--highlight-tax-border);
  color: var(--highlight-tax-text);
}
.highlight-tax .hl-text strong,
.highlight-box.tax .hl-text strong { color: var(--highlight-tax-text); }

/* Convenience for plain .highlight-tax spans (non-flex variant) */
.highlight-tax:not(.highlight-box) {
  display: block;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 8px 0;
}
.highlight-tax .label,
.highlight-qty .label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 3px;
  opacity: 0.7;
  font-weight: 500;
}

/* QUANTITY LIMIT highlight */
.highlight-qty,
.highlight-box.qty {
  background: var(--highlight-qty-bg);
  border-left: 5px solid var(--highlight-qty-border);
  color: var(--highlight-qty-text);
}
.highlight-qty:not(.highlight-box) {
  display: block;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 8px 0;
  font-weight: 600;
  font-size: 0.97rem;
}
.highlight-qty .hl-text strong,
.highlight-box.qty .hl-text strong { color: var(--highlight-qty-text); }

/* ============================================================
   13. RATE CARDS GRID (Tax rates displayed prominently)
   ============================================================ */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.rate-card {
  background: var(--teal-pale);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rate-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.rate-card .rate-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.rate-card .rate-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}
.rate-card .rate-sub {
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ============================================================
   14. QUANTITY BADGE GRID
   ============================================================ */
.qty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.qty-badge {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
}
.qty-badge .qty-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}
.qty-badge .qty-label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   15. INFO PILLS / CHIPS / CARDS
   ============================================================ */

/* Info grid (key-value pairs) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.info-pill {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
}
.info-pill strong {
  display: block;
  color: var(--teal-dark);
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

/* Chip row (tags / labels) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.chip {
  background: var(--teal-pale);
  color: var(--teal-dark);
  border: 1px solid var(--gray-200);
  padding: 4px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ============================================================
   16. INFO ALERT (blue informational callout)
   ============================================================ */
.info-alert {
  background: var(--info-bg);
  border-left: 5px solid var(--info-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 0.93rem;
  color: var(--info-text);
  line-height: 1.6;
}
.info-alert strong { color: #1565c0; }

/* ============================================================
   17. PENALTY TABLE
   ============================================================ */
.penalty-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.92rem;
  overflow-x: auto;
  display: block;
}
.penalty-table thead,
.penalty-table tbody,
.penalty-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.penalty-table th {
  background: var(--teal-dark);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.penalty-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.penalty-table tr:nth-child(even) td { background: var(--gray-50); }
.penalty-table tr:last-child td { border-bottom: none; }
.penalty-table .amount { font-weight: 700; color: var(--teal-dark); }
.penalty-table .severity {
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.77rem;
  white-space: nowrap;
}
.severity.misd    { background: #fffde7; color: #6b3f00; }
.severity.felony  { background: #fbe9e7; color: #b71c1c; }
.severity.civil   { background: var(--teal-pale); color: var(--teal-dark); }

/* ============================================================
   18. DIVIDER
   ============================================================ */
.divider {
  height: 3px;
  background: linear-gradient(to right, var(--teal-dark), var(--teal-mid), var(--teal-pale), transparent);
  border-radius: 2px;
  margin: 22px 0;
  border: none;
}

/* ============================================================
   19. REFERENCES SECTION
   ============================================================ */
.references {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  /* Contained within page flow — no overflow */
  max-width: 100%;
  box-sizing: border-box;
}
.references h2,
.references h3 {
  font-family: var(--font-display);
  color: var(--teal-dark);
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}
.references ol {
  padding-left: 22px;
  counter-reset: none;
}
.references ol li,
.references ul li {
  margin-bottom: 10px;
  font-size: 0.89rem;
  color: var(--text-body);
  line-height: 1.55;
}
.references a {
  color: var(--teal);
  word-break: break-all;
  text-decoration: none;
}
.references a:hover { text-decoration: underline; }
.doc-updated {
  text-align: center;
  padding: 12px 0 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  border-top: 1px solid var(--gray-200);
  margin-top: 14px;
}

/* ============================================================
   20. WARNING BOX
   ============================================================ */
.warning-box,
.warning-section {
  background: var(--warning-bg);
  border: 2px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 22px;
  /* Contained within container */
  max-width: 100%;
  box-sizing: border-box;
}
.warning-box h3,
.warning-section h3 {
  color: var(--warning-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.warning-box ul,
.warning-section ul {
  list-style: none;
  padding: 0;
}
.warning-box ul li,
.warning-section ul li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 0.93rem;
  color: var(--warning-text);
  line-height: 1.6;
}
.warning-box ul li::before,
.warning-section ul li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* ============================================================
   21. DISCLAIMER BOX
   ============================================================ */
.disclaimer-box {
  background: var(--danger-bg);
  border: 2px solid var(--danger-border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 22px;
  max-width: 100%;
  box-sizing: border-box;
}
.disclaimer-box h3 {
  color: var(--danger-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclaimer-box p,
.disclaimer-box ul li {
  font-size: 0.91rem;
  color: var(--danger-text);
  line-height: 1.65;
}
.disclaimer-box ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}
.disclaimer-box ul li { margin-bottom: 5px; }

/* ============================================================
   22. FOOTER
   ============================================================ */
.law-footer,
.site-.law-footer {
  background: var(--teal-darkest);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px var(--gutter);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.7;
}
footer strong,
.site-footer strong { color: #fff; }
footer a,
.site-footer a { color: var(--teal-light); text-decoration: none; }
footer a:hover,
.site-footer a:hover { text-decoration: underline; }

/* Disclaimer footer (full-width dark strip) */
.disclaimer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 36px var(--gutter);
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.75;
}
.disclaimer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.disclaimer a { color: var(--teal-light); text-decoration: none; }
.disclaimer a:hover { text-decoration: underline; }

/* ============================================================
   23. PRINT UTILITIES
   ============================================================ */
.print-only  { display: none; }
@media print {
  .toc-nav, .cannlaw-bc-bar, .federal-notice { display: none; }
  .section-card.collapsed .section-body { display: block !important; }
  .print-only { display: block; }
  body { font-size: 12pt; }
}

/* ============================================================
   24. RESPONSIVE — TABLET (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --gutter: 18px; }

  .hero,
  .site-header { padding: 44px var(--gutter) 38px; }

  .hero-inner {
    width: 92%;
    min-width: unset;
  }

  .section-header  { padding: 16px 20px; }
  .section-body    { padding: 20px 20px; }
  .references,
  .warning-box,
  .warning-section,
  .disclaimer-box  { padding: 20px 20px; }

  .rate-grid  { grid-template-columns: 1fr 1fr; }
  .qty-grid   { grid-template-columns: 1fr 1fr; }
  .info-grid  { grid-template-columns: 1fr 1fr; }

  .toc-nav ul { flex-wrap: nowrap; justify-content: flex-start; }
  .toc-nav ul li a { font-size: 0.73rem; padding: 12px 10px; }

  .toc-block { padding: 22px 20px; }
}

/* ============================================================
   25. RESPONSIVE — MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --gutter: 14px; }

  .hero h1,
  .site-header h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  .hero-inner { width: 96%; }

  .section-header { padding: 14px 16px; }
  .section-body   { padding: 16px 16px; }
  .section-header h2 { font-size: 1.2rem; }

  .rate-grid  { grid-template-columns: 1fr; }
  .qty-grid   { grid-template-columns: 1fr 1fr; }
  .info-grid  { grid-template-columns: 1fr; }

  .toc-nav ul li a { font-size: 0.68rem; padding: 9px 7px; }

  .penalty-table th,
  .penalty-table td { padding: 8px 10px; }

  .references,
  .warning-box,
  .warning-section,
  .disclaimer-box,
  .toc-block { padding: 16px 14px; }

  .cannlaw-bc-inner { padding: 0 var(--gutter); }
  .cannlaw-bc-bar .breadcrumb { font-size: 0.73rem; }
}

/* ============================================================
   ADDENDUM v2.0 — Global Cannabis Laws Index Page
   World-level index: US, Canada, Mexico, Puerto Rico
   All components in stylesheet — nothing embedded in HTML
   ============================================================ */

/* ── Global Index Custom Properties ── */
:root {
  --us-color:   #1a3c6e;
  --ca-color:   #1b5e20;
  --mx-color:   #b71c1c;
  --pr-color:   #4a148c;
  --gold:       #f9a825;
  --gold-light: #fff9c4;
}

/* ══ MEGA HERO — Global Index ══════════════════════════════════ */
.mega-hero {
  background: linear-gradient(160deg,
    #003333 0%,
    #004d4d 20%,
    #006d6d 45%,
    #008080 70%,
    #004d1a 100%
  );
  color: #fff;
  padding: 80px var(--gutter,24px) 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle grid pattern overlay */
.mega-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,204,204,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,204,204,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow */
.mega-hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,204,204,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.mega-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.mega-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
}

.mega-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 3px 20px rgba(0,0,0,0.3);
}

.mega-hero h1 .accent {
  color: var(--teal-accent);
}

.mega-hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* Flag row */
.flag-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.flag-chip:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.flag-chip .fc-flag { font-size: 1.3rem; }
.flag-chip .fc-count {
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 0.74rem;
  font-weight: 700;
}

/* ══ GLOBAL STATS BAR ═══════════════════════════════════════════ */
.global-stats-bar {
  background: var(--teal-darkest);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 3px solid var(--teal-accent);
}
.gsb-item {
  padding: 16px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gsb-item:last-child { border-right: none; }
.gsb-icon { font-size: 1.4rem; }
.gsb-text {}
.gsb-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-accent);
  line-height: 1;
  display: block;
}
.gsb-label {
  font-size: 0.70rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 2px;
}

/* ══ SEARCH / JUMP BAR ══════════════════════════════════════════ */
.search-jump-bar {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  padding: 16px var(--gutter,24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.sjb-label {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 15px;
  border-radius: 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.jump-pill:hover,
.jump-pill.active {
  color: #fff;
  border-color: var(--teal);
  text-decoration: none;
}
.jump-pill.jp-us:hover, .jump-pill.jp-us.active { background: var(--us-color); border-color: var(--us-color); }
.jump-pill.jp-ca:hover, .jump-pill.jp-ca.active { background: var(--ca-color); border-color: var(--ca-color); }
.jump-pill.jp-mx:hover, .jump-pill.jp-mx.active { background: var(--mx-color); border-color: var(--mx-color); }
.jump-pill.jp-pr:hover, .jump-pill.jp-pr.active { background: var(--pr-color); border-color: var(--pr-color); }

/* ══ JURISDICTION SECTION HEADERS ══════════════════════════════ */
.juris-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.juris-section-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 5 L23 14 L32 14 L25 20 L28 29 L20 23 L12 29 L15 20 L8 14 L17 14 Z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.juris-section-header.jsh-us { background: linear-gradient(90deg, #1a3c6e, #2a5298); }
.juris-section-header.jsh-ca { background: linear-gradient(90deg, #1b5e20, #2e7d32); }
.juris-section-header.jsh-mx { background: linear-gradient(90deg, #b71c1c, #c62828, #006d6d); }
.juris-section-header.jsh-pr { background: linear-gradient(90deg, #4a148c, #6a1b9a, #0d2d6b); }

.jsh-icon { font-size: 2rem; position: relative; z-index: 1; }
.jsh-text  { position: relative; z-index: 1; flex: 1; }
.jsh-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.jsh-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  margin-top: 3px;
}
.jsh-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.jsh-legal-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-top: 6px;
  margin-right: 6px;
  display: inline-flex;
  position: relative;
  z-index: 1;
}

/* Section body panel (sits under the header) */
.juris-panel {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 24px;
  margin-bottom: 8px;
}

/* ══ JURISDICTION CARDS GRID ════════════════════════════════════ */
.juris-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

/* Individual jurisdiction card (state/province/territory) */
.juris-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.18s, border-color 0.2s;
}
.juris-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.juris-card.jc-us:hover  { border-color: #2a5298; }
.juris-card.jc-ca:hover  { border-color: #2e7d32; }
.juris-card.jc-mx:hover  { border-color: #c62828; }
.juris-card.jc-pr:hover  { border-color: #6a1b9a; }

/* Card top bar */
.jc-bar {
  height: 5px;
  flex-shrink: 0;
}
.jc-us  .jc-bar { background: linear-gradient(90deg, #1a3c6e, #2a5298, #4a80c4); }
.jc-ca  .jc-bar { background: linear-gradient(90deg, #1b5e20, #2e7d32, #66bb6a); }
.jc-mx  .jc-bar { background: linear-gradient(90deg, #1b5e20, #ffffff20, #b71c1c); }
.jc-pr  .jc-bar { background: linear-gradient(90deg, #4a148c, #0d2d6b, #b71c1c); }

.jc-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.jc-flag { font-size: 1.6rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.jc-info { flex: 1; }
.jc-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
  display: block;
  line-height: 1.25;
}
.jc-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 3px;
  display: block;
}
.jc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.jc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}
.jc-tag.legal   { background: var(--legal-bg);   color: var(--legal-text); }
.jc-tag.medical { background: #e8f5e9; color: #1b5e20; }
.jc-tag.decrim  { background: var(--pending-bg);  color: var(--pending-text); }
.jc-tag.illegal { background: var(--illegal-bg);  color: var(--illegal-text); }
.jc-tag.pending { background: #fff3e0; color: #6b3f00; }
.jc-tag.hemp    { background: var(--teal-pale);   color: var(--teal-dark); }

.jc-.law-footer {
  padding: 9px 16px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jc-cta {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal);
}
.jc-cta::after { content: ' →'; }

/* ══ FEATURED HIGHLIGHT ROW ═════════════════════════════════════ */
.featured-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.featured-card {
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s, box-shadow 0.2s;
  min-height: 140px;
}
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); color: #fff; text-decoration: none; }
.featured-card.fc-us { background: linear-gradient(135deg, #1a3c6e, #2a5298); }
.featured-card.fc-ca { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.featured-card.fc-mx { background: linear-gradient(135deg, #b71c1c, #c62828); }
.featured-card.fc-pr { background: linear-gradient(135deg, #4a148c, #0d2d6b); }
.featured-card::after {
  content: attr(data-emoji);
  position: absolute;
  right: 14px; top: 10px;
  font-size: 3rem;
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}
.fc-eyebrow {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.fc-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
}
.fc-count {
  font-size: 0.82rem;
  opacity: 0.85;
}
.fc-arrow {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.9;
}
.fc-arrow::after { content: ' →'; }

/* ══ DISCLAIMER STRIP (index) ═══════════════════════════════════ */
.index-disclaimer-strip {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin: 28px 0;
}
.index-disclaimer-strip strong { color: var(--text-body); }

/* ══ QUICK-ACCESS LINK ROW ══════════════════════════════════════ */
.qa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}
.qa-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid;
}
.qa-link:hover { text-decoration: none; opacity: 0.88; transform: translateY(-1px); }
.qa-link.qal-us { background: #e8eef7; color: var(--us-color); border-color: #b0c4e8; }
.qa-link.qal-ca { background: #e8f5e9; color: var(--ca-color); border-color: #a5d6a7; }
.qa-link.qal-mx { background: #ffebee; color: var(--mx-color); border-color: #ef9a9a; }
.qa-link.qal-pr { background: #f3e5f5; color: var(--pr-color); border-color: #ce93d8; }
.qa-link.qal-us:hover { background: var(--us-color); color: #fff; border-color: var(--us-color); }
.qa-link.qal-ca:hover { background: var(--ca-color); color: #fff; border-color: var(--ca-color); }
.qa-link.qal-mx:hover { background: var(--mx-color); color: #fff; border-color: var(--mx-color); }
.qa-link.qal-pr:hover { background: var(--pr-color); color: #fff; border-color: var(--pr-color); }

/* ══ COMPARISON TABLE ═══════════════════════════════════════════ */
.global-compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  margin: 14px 0 32px;
  box-shadow: var(--shadow-sm);
}
.global-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.global-compare thead th {
  background: var(--teal-dark);
  color: #fff;
  padding: 11px 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.global-compare td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem;
  vertical-align: middle;
}
.global-compare tr:last-child td { border-bottom: none; }
.global-compare tr:nth-child(even) td { background: var(--gray-50); }
.global-compare .gc-juris { font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.global-compare .gc-status span { padding: 2px 9px; border-radius: 10px; font-size: 0.74rem; font-weight: 700; }
.global-compare .gc-status .legal   { background: var(--legal-bg);   color: var(--legal-text); }
.global-compare .gc-status .medical { background: #e8f5e9; color: #1b5e20; }
.global-compare .gc-status .decrim  { background: var(--pending-bg);  color: var(--pending-text); }
.global-compare .gc-status .pending { background: #fff3e0; color: #6b3f00; }

/* ══ RESPONSIVE — Global Index ══════════════════════════════════ */
@media (max-width: 768px) {
  .mega-hero { padding: 60px var(--gutter,18px) 50px; min-height: 360px; }
  .mega-hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .flag-row { gap: 8px; }
  .flag-chip { padding: 5px 12px; font-size: 0.78rem; }
  .global-stats-bar { flex-wrap: wrap; }
  .gsb-item { padding: 12px 16px; flex: 1 1 40%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .juris-grid { grid-template-columns: 1fr 1fr; }
  .featured-row { grid-template-columns: 1fr 1fr; }
  .juris-section-header { padding: 16px 20px; }
  .jsh-title { font-size: 1.2rem; }
  .jsh-badge { display: none; }
}
@media (max-width: 480px) {
  .juris-grid { grid-template-columns: 1fr; }
  .featured-row { grid-template-columns: 1fr; }
  .flag-chip .fc-count { display: none; }
  .search-jump-bar { flex-direction: column; align-items: flex-start; }
  .gsb-item { flex: 1 1 45%; }
  .mega-hero-sub { font-size: 0.96rem; }
}

/* ============================================================
   ADDENDUM v2.1 — Patch & Enhancements (March 2026)
   Added: federal-legal-notice, status-banner centering fix,
   Cuba single-page styles, adult-use / medical highlight colors,
   index-page anchor fixes, nav active state JS hook
   ============================================================ */

/* ── Federal Legal Notice (class="federal-legal-notice") ── */
.federal-legal-notice {
  background: var(--federal-bg);
  border: 2px solid var(--federal-border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin: 24px 0;
  font-size: 0.91rem;
  color: var(--federal-text);
  line-height: 1.65;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.federal-legal-notice .fln-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.federal-legal-notice strong { color: #5a3700; }

/* ── Status Banner — centred variant ── */
.status-banner.centered {
  justify-content: center;
}

/* ── Adult-Use Highlight (brighter green) ── */
.highlight-adult {
  background: #e8f5e9;
  border-left: 5px solid #2e7d32;
  color: #1b5e20;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 10px 0;
  font-weight: 600;
  font-size: 0.96rem;
}
.highlight-adult strong { color: #145214; }

/* ── Medical-Only Highlight (brighter blue-green) ── */
.highlight-medical {
  background: #e0f2f1;
  border-left: 5px solid #00796b;
  color: #004d40;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 10px 0;
  font-weight: 600;
  font-size: 0.96rem;
}
.highlight-medical strong { color: #00352b; }

/* ── Non-Legal / Prohibited Highlight ── */
.highlight-nonlegal {
  background: var(--illegal-bg);
  border-left: 5px solid var(--illegal-border);
  color: var(--illegal-text);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 10px 0;
  font-weight: 600;
  font-size: 0.96rem;
}
.highlight-nonlegal strong { color: #7f0000; }

/* ── Cuba / Single-Country Page Styles ── */
.cuba-notice {
  background: linear-gradient(135deg, #fbe9e7, #fff8e1);
  border: 2px solid #e53935;
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin: 24px 0;
  text-align: center;
}
.cuba-notice h3 {
  color: #b71c1c;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cuba-notice p { color: #4e342e; font-size: 0.94rem; line-height: 1.65; }

/* ── Nav Active State (set by cannlaws.js) ── */
.toc-nav ul li a.is-active {
  color: #fff;
  border-bottom-color: var(--teal-accent);
  background: rgba(255,255,255,0.09);
}

/* ── Skip to Content Accessibility ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--teal-dark);
  color: #fff;
  padding: 8px 18px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Back to Top button ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--teal-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  transition: background 0.2s, transform 0.2s;
}
.back-to-top:hover { background: var(--teal); transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* ── Country Index Hero Override ── */
.country-hero.hero-us { background: linear-gradient(135deg, #0a1f3c 0%, #1a3c6e 40%, #2a5298 100%); }
.country-hero.hero-ca { background: linear-gradient(135deg, #0d2e0d 0%, #1b5e20 40%, #2e7d32 100%); }
.country-hero.hero-mx { background: linear-gradient(135deg, #3e0000 0%, #b71c1c 40%, #c62828 100%); }
.country-hero.hero-pr { background: linear-gradient(135deg, #1a0033 0%, #4a148c 40%, #6a1b9a 100%); }
.country-hero.hero-cu { background: linear-gradient(135deg, #1a0a00 0%, #bf360c 40%, #d84315 100%); }

/* ── State/Province Page Enhancements ── */
.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 10px;
  align-items: center;
}
.page-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.80rem;
  font-weight: 700;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  color: var(--text-muted);
}
.page-meta-pill.legal   { background: var(--legal-bg);   color: var(--legal-text);   border-color: var(--legal-border); }
.page-meta-pill.medical { background: #e0f2f1;            color: #004d40;              border-color: #80cbc4; }
.page-meta-pill.illegal { background: var(--illegal-bg);  color: var(--illegal-text);  border-color: var(--illegal-border); }

/* ── Responsive tweaks for index country cards ── */
@media (max-width: 600px) {
  .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 1rem; }
  .federal-legal-notice { flex-direction: column; gap: 8px; }
}
