/* =============================================================================
   CANNAMEDICAL BRITANNIA — components.css
   Header, Footer, Hero, Stats, Cards, Finder, Clinicians, Age Gate
   Version: 1.0.0 | 2026-05-15
   ============================================================================= */

/* =============================================================================
   HEADER
   ============================================================================= */

body {
  padding-top: 72px;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: none;
}

/* Logo + links white when nav is transparent (dark hero) */
.site-header:not(.scrolled) .logo-svg .cls-2,
.site-header:not(.scrolled) .logo-svg .cls-3 { fill: #fff; }
.site-header:not(.scrolled) .logo-svg .cls-1 { fill: rgba(255,255,255,0.85); }
.site-header:not(.scrolled) .nav-list a { color: rgba(255,255,255,0.9); }
.site-header:not(.scrolled) .nav-list a:hover { color: #fff; }
.site-header:not(.scrolled) .header-actions .btn-primary { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); color: #fff; }
.site-header:not(.scrolled) .header-actions .btn-primary:hover { background: var(--green); border-color: var(--green); color: #fff; }
.site-header:not(.scrolled) .hamburger-line { background: #fff; }

.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo svg {
  height: 36px;
  width: auto;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.primary-nav {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.4rem 0.6rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-list a:hover,
.nav-list .current-menu-item a,
.nav-list .current-page-ancestor a {
  color: var(--green);
  background: var(--green-light);
}
/* --- We're Hiring nav badge (solid green pill, always) --- */
.nav-list .nav-item-hiring > a {
  background: #568e2f !important;
  color: white !important;
  border-radius: 6px !important;
  padding: 0.3rem 0.85rem !important;
  font-weight: 700;
  white-space: nowrap;
}
.nav-list .nav-item-hiring > a::after {
  content: none !important;
}
.nav-list .nav-item-hiring > a:hover {
  background: #4a7a28 !important;
  color: white !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--light-grey);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
/* =============================================================================
   MOBILE MENU DRAWER
   ============================================================================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 400px);
  background: var(--white);
  z-index: 9999;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 48px rgba(0,0,0,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mmenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
}
.mmenu-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mmenu-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}
.mmenu-brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}
.mmenu-brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}
.mmenu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}
.mmenu-close:hover { background: var(--light-grey); }
.mmenu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.mmenu-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 1.25rem 0.4rem;
  margin: 0;
}
.mmenu-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.15s;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mmenu-item:hover, .mmenu-item:active { background: rgba(45,64,95,0.04); }
.mmenu-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mmenu-item-text { flex: 1; min-width: 0; }
.mmenu-item-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.mmenu-item-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mmenu-chevron { color: var(--text-muted); flex-shrink: 0; opacity: 0.5; }
.mmenu-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: var(--white);
  flex-shrink: 0;
}
.mobile-menu-inner { display: none; }
.mobile-menu-ctas { display: none; }

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d45 50%, #0f1e30 100%);
  overflow: hidden;
}

.hero::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='%23568e2f' 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;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.15));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(86,142,47,0.2);
  color: var(--green);
  border: 1px solid rgba(86,142,47,0.3);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  object-fit: cover;
  opacity: 0.2;
  mask-image: linear-gradient(to right, transparent, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

/* --- Hero with image split --- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* Transparent nav: dark hero sections extend under nav */
.hero-split-home,
.page-hero,
.strain-hero-fullbleed {
  margin-top: -72px;
}
.hero-split-home {
  padding-top: 72px;
}
.page-hero {
  padding-top: 72px;
}

.hero-split .hero-image-col {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-split .hero-image-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* =============================================================================
   STATS BAR
   ============================================================================= */

.stats-bar {
  background: #fff;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(0,0,0,0.06);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat-number .suffix {
  color: var(--green);
}

.stat-number .prefix {
  color: var(--green);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}

/* =============================================================================
   DUAL ENTRY CARDS
   ============================================================================= */

.dual-entry {
  background: var(--off-white);
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.entry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.entry-patients {
  border-top-color: var(--green);
}

.entry-clinicians {
  border-top-color: var(--navy);
}

.entry-card h2 {
  margin-bottom: 1rem;
}

.entry-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.entry-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.entry-patients .entry-card-icon {
  background: var(--green-light);
  color: var(--green);
}

.entry-clinicians .entry-card-icon {
  background: var(--navy-light);
  color: var(--navy);
}

.entry-features {
  list-style: none;
  margin-bottom: 2rem;
}

.entry-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--light-grey);
}

.entry-features li:last-child {
  border-bottom: none;
}

.entry-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* =============================================================================
   TRUST BAR
   ============================================================================= */

.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 2rem 0;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

/* =============================================================================
   CARDS (BLOG)
   ============================================================================= */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light-grey);
}

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

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--green);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--light-grey);
  padding-top: 1rem;
  margin-top: auto;
}

.card-read-time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* =============================================================================
   STRAIN CARDS
   ============================================================================= */

.strain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.strain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.strain-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.strain-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.strain-card:hover .strain-card-image img {
  transform: scale(1.05);
}

.strain-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  z-index: 1;
}

/* --- Photo Background Cards --- */
.card-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.card-photo:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(0,0,0,0.45), 0 0 0 2px var(--green); }
.card-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-photo:hover .card-photo-bg { transform: scale(1.04); }
.card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,40,12,0.82) 0%, rgba(20,40,12,0.44) 48%, rgba(0,0,0,0) 100%);
}
.card-photo-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.card-photo-content h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1.35rem; }
.card-photo-content p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 0.93rem; line-height: 1.65; }
.card-photo-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(86,142,47,0.2);
  border: 1px solid rgba(86,142,47,0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  display: block;
  width: fit-content;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.badge-available { background: var(--green); color: #fff; }
.badge-coming { background: rgba(45,64,95,0.85); color: #fff; }
.badge-gmp { background: rgba(255,255,255,0.9); color: var(--navy); }

.strain-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.strain-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.strain-card-cultivator {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.strain-percentages {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.strain-pct {
  flex: 1;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  text-align: center;
  border: 1px solid var(--light-grey);
}

.strain-pct-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.strain-pct-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
}

.strain-type-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--navy-light);
  color: var(--navy);
  margin-bottom: 1rem;
}

.strain-indications {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  flex: 1;
}

.strain-indication-tag {
  padding: 0.2rem 0.6rem;
  background: var(--green-light);
  color: var(--green);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.strain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.strain-card-footer {
  border-top: 1px solid var(--light-grey);
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =============================================================================
   STRAIN FINDER — FILTERS
   ============================================================================= */

.strain-finder-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 4rem 0 3rem;
  color: var(--white);
}

.strain-finder-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.strain-finder-header p {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  font-size: 1.05rem;
}

.strain-filters {
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  padding: 1.5rem 0;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: var(--shadow);
}

.filters-inner {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.filter-search {
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  width: 220px;
  color: var(--text);
  background: var(--white);
}

.filter-search:focus {
  border-color: var(--green);
}

.filter-search::placeholder {
  color: var(--text-muted);
}

.filter-toggle-group {
  display: flex;
  gap: 0.375rem;
}

.filter-toggle {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--light-grey);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.filter-toggle:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter-toggle.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.filter-range {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.range-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.range-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

input[type='range'] {
  width: 120px;
  accent-color: var(--green);
  cursor: pointer;
}

.filter-select {
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  cursor: pointer;
  background: var(--white);
  color: var(--text);
  min-width: 140px;
}

.filter-select:focus {
  border-color: var(--green);
}

.filter-reset {
  padding: 0.625rem 1rem;
  background: none;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-end;
}

.filter-reset:hover {
  border-color: var(--grey);
  color: var(--text);
}

.strain-results-meta {
  padding: 1.5rem 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.strain-results-meta strong {
  color: var(--navy);
}

/* Finder no results */
.finder-no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.finder-no-results h3 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

/* =============================================================================
   FOR CLINICIANS PAGE
   ============================================================================= */

.clinicians-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.clinicians-hero::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='%23568e2f' fill-opacity='0.04'%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;
}

.clinicians-hero .container {
  position: relative;
  z-index: 1;
}

.clinicians-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.clinicians-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.clinicians-hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.clinicians-hero-stat {
  text-align: left;
}

.clinicians-hero-stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

.clinicians-hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Download Card */
.download-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.download-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.download-card-content {
  flex: 1;
}

.download-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.download-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 0.5rem;
}

.contact-form-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.form-label .required {
  color: #c0392b;
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Formulary Table */
.formulary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.formulary-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.formulary-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.formulary-table tr:nth-child(even) td {
  background: var(--off-white);
}

.formulary-table tr:hover td {
  background: var(--green-light);
}

/* =============================================================================
   HIRING SECTION
   ============================================================================= */

.hiring-teaser {
  padding: 5rem 0;
  background: var(--navy);
}

.hiring-teaser h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hiring-teaser p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  max-width: 500px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.job-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.job-card:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--green);
  transform: translateY(-2px);
}

.job-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.job-card .job-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.job-card .job-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.job-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(86,142,47,0.2);
  color: var(--green);
}

.job-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  transition: gap var(--transition);
}

.job-card-cta:hover {
  gap: 0.625rem;
  color: var(--green);
}

/* =============================================================================
   BLOG POST — ENTRY CONTENT
   ============================================================================= */

.entry-header {
  padding: 4rem 0 2rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-grey);
}

.entry-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.entry-breadcrumb a {
  color: var(--green);
}

.entry-breadcrumb span {
  color: var(--text-muted);
  margin: 0 0.5rem;
}

.entry-header h1 {
  max-width: 800px;
  margin-bottom: 1rem;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.entry-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.entry-meta-item svg {
  width: 16px;
  height: 16px;
}

.entry-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
}

.entry-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.entry-content {
  max-width: 760px;
}

.entry-content h2 {
  font-size: 1.75rem;
  margin: 3rem 0 1rem;
  color: var(--navy);
}

.entry-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--navy);
}

.entry-content h4 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy);
}

.entry-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: #333333;
}

.entry-content ul,
.entry-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #333333;
}

.entry-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: var(--navy);
}

.entry-content blockquote {
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.75rem;
  background: var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
}

.entry-content blockquote p {
  color: var(--navy);
  font-weight: 600;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.entry-content table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
}

.entry-content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.entry-content table tr:nth-child(even) td {
  background: var(--off-white);
}

.entry-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.entry-content .wp-caption-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -1rem;
  font-style: italic;
}

/* Author Box */
.author-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 3rem;
  border: 1px solid var(--light-grey);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-light);
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.author-credentials {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sidebar */
.entry-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--light-grey);
}

.sidebar-widget h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  border-bottom: 1px solid var(--light-grey);
}

.toc-list a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.toc-list a:hover {
  color: var(--green);
}

/* =============================================================================
   AGE GATE
   ============================================================================= */

.age-gate {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate.hidden {
  display: none;
}

.age-gate-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.age-gate-logo {
  margin: 0 auto 2rem;
  width: 200px;
}

.age-gate-logo img {
  width: 100%;
  height: auto;
}

.age-gate h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.age-gate p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.age-gate-actions .btn {
  width: 100%;
  justify-content: center;
}

.age-gate-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: #f7f9fb;
  color: var(--text-muted);
  border-top: 2px solid rgba(86,142,47,0.15);
}

.footer-top {
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand .site-logo svg path {
  fill: var(--navy);
}

.footer-brand .site-logo img {
  filter: none;
  height: 32px;
}

.footer-tagline {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-legal-entity {
  font-size: 0.78rem;
  color: #aaa;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(86,142,47,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social-link:hover {
  background: var(--green);
}

.footer-social-link:hover svg {
  color: white;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.footer-nav h4 {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 800;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav-list a:hover {
  color: var(--green);
}

.footer-contact h4 {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 800;
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--green);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--green-dark);
}

.footer-gmp-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-gmp-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 0;
  background: #f0f2f5;
}

.footer-bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 0.35rem;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

.footer-bottom a {
  color: #999;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--green);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.footer-disclaimer {
  font-size: 0.73rem;
  color: #aaa;
  line-height: 1.6;
  max-width: 640px;
}

/* =============================================================================
   SECTION: ABOUT / QUALITY / GMP
   ============================================================================= */

.quality-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quality-pillar {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quality-pillar-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.quality-pillar h3 {
  margin-bottom: 0.75rem;
}

.quality-pillar p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.cert-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--light-grey);
  box-shadow: var(--shadow);
}

.cert-item img {
  height: 60px;
  width: auto;
  margin: 0 auto 1rem;
}

.cert-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cert-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* =============================================================================
   SECTION: FIND A DOCTOR / PHARMACY MAP
   ============================================================================= */

.finder-page-header {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}

.finder-page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.finder-page-header p {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  min-height: 600px;
}

.map-list-panel {
  overflow-y: auto;
  max-height: 700px;
  border-right: 1px solid var(--light-grey);
}

.map-list-search {
  padding: 1rem;
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  z-index: 10;
}

.map-list-item {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--light-grey);
  cursor: pointer;
  transition: background var(--transition);
}

.map-list-item:hover,
.map-list-item.active {
  background: var(--green-light);
}

.map-list-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.map-list-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.map-canvas {
  background: var(--light-grey);
  min-height: 600px;
}

/* =============================================================================
   MISCELLANEOUS SECTION COMPONENTS
   ============================================================================= */

/* Section Header (centered) */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Inline CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  font-size: 1rem;
}

/* Accordion (FAQs) */
.accordion-item {
  border-bottom: 1px solid var(--light-grey);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}

.accordion-trigger:hover {
  color: var(--green);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background: var(--green);
  transform: rotate(45deg);
}

.accordion-icon svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon svg {
  color: var(--white);
}

.accordion-panel {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-panel.open {
  display: block;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--light-grey);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cookie Consent Bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.cookie-bar.hidden {
  transform: translateY(100%);
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cookie-bar p {
  font-size: 0.875rem;
  flex: 1;
  margin-bottom: 0;
}

.cookie-bar a {
  color: var(--green);
}

.cookie-bar-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* =============================================================================
   BLOG POST — Reading Time, Share, Mobile CTA, Sticky Bar
   ============================================================================= */

.post-readtime {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--off-white);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-weight: 600;
}

.post-share { margin-left: auto; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--light-grey);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.share-btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.share-btn svg { stroke: currentColor; }

/* Inline mobile CTA — shown on mobile only */
.post-mobile-cta {
  display: none;
  margin-bottom: 2rem;
}
.post-mobile-cta-inner {
  background: var(--navy-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.post-mobile-cta-inner strong { color: var(--navy); font-size: 0.95rem; display: block; margin-bottom: 0.25rem; }
.post-mobile-cta-inner p { color: var(--text-muted); font-size: 0.8rem; margin: 0; }

/* Sticky bottom bar — mobile only */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.mobile-sticky-cta.visible { transform: translateY(0); }
.mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}
.mobile-sticky-inner span { color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 600; }

@media (max-width: 768px) {
  .post-mobile-cta { display: block; }
  .mobile-sticky-cta { display: block; }
  .post-share { margin-left: 0; }
  .post-meta { flex-wrap: wrap; gap: 0.5rem; }
}

/* =============================================================================
   CONTACT FORM
   ============================================================================= */

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-box h2 { margin-bottom: 0.25rem; }

.cm-form { margin-top: 0; }

.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group:not(.form-row .form-group) { margin-bottom: 1.25rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.required { color: var(--green); }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(86,142,47,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { cursor: pointer; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-grey);
}
.form-legal { font-size: 0.8rem; color: var(--text-muted); margin: 0; flex: 1; }
.form-legal a { color: var(--green); }

.form-success {
  background: var(--green-light);
  border: 1px solid var(--green);
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-error {
  background: #fff0f0;
  border: 1px solid #e74c3c;
  color: #c0392b;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-box { padding: 1.5rem; }
  .form-footer { flex-direction: column; align-items: flex-start; }
}

/* ===== Table of Contents ===== */
.toc-box {
  background: #f0f4f0;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.toc-title {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.toc-list {
  margin: 0;
  padding-left: 1.25rem;
}
.toc-list li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.toc-list a {
  color: var(--navy);
  text-decoration: none;
}
.toc-list a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* =========================================================
   FIX: Button contrast — AA 4.5:1 (#4a7a28 on white = 4.59)
   ========================================================= */
.btn-primary {
  background: #4a7a28;
  border-color: #4a7a28;
}
.btn-primary:hover {
  background: #3d6421;
  border-color: #3d6421;
}

/* =========================================================
   FIX: Footer heading hierarchy — h4 replaced by p.footer-col-title
   ========================================================= */
.footer-col-title {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 800;
}


/* ============================================================
   MOBILE BOTTOM ACTION BAR
   ============================================================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 0.75rem 1.25rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mobile-bottom-bar.visible {
  transform: translateY(0);
}
.mobile-bottom-bar-inner {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}
.mobile-bottom-bar .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
}
@media (max-width: 768px) {
  .mobile-bottom-bar { display: block; }
  /* Pad content so bottom bar doesnt cover it */
  body.has-bottom-bar { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .mobile-bottom-bar { display: none !important; }
}
/* =============================================================================
   CONDITION CARDS
   ============================================================================= */

.condition-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  border-top: 3px solid var(--green);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease;
  display: flex;
  flex-direction: column;
}
.condition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(45,64,95,0.13);
  border-top-color: var(--navy);
}
.condition-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(45,64,95,0.08);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2e1a;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
}
.condition-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.22em 0.65em;
  border-radius: 20px;
  margin-bottom: 0.625rem;
  width: fit-content;
}
/* Unified navy colour system for all condition tags */
.condition-tag-pain,
.condition-tag-mental,
.condition-tag-neuro,
.condition-tag-sleep,
.condition-tag-inflammatory { background: rgba(86,142,47,0.08); color: #1a2e1a; }

/* Unified top border — all navy, first 3 get green via conditions-grid */
.condition-card:has(.condition-tag-pain),
.condition-card:has(.condition-tag-mental),
.condition-card:has(.condition-tag-neuro),
.condition-card:has(.condition-tag-sleep),
.condition-card:has(.condition-tag-inflammatory) { border-top-color: #1a2e1a; }

/* First 3 highlighted conditions (Chronic Pain, Fibromyalgia, PTSD) = green */
.conditions-grid .condition-card:nth-child(1),
.conditions-grid .condition-card:nth-child(2),
.conditions-grid .condition-card:nth-child(3) { border-top-color: #568e2f; }

/* First 3 tags: green */
.conditions-grid .condition-card:nth-child(1) .condition-tag,
.conditions-grid .condition-card:nth-child(2) .condition-tag,
.conditions-grid .condition-card:nth-child(3) .condition-tag {
  background: rgba(86,142,47,0.12);
  color: #3d6b1e;
}

/* First 3 icons: green */
.conditions-grid .condition-card:nth-child(1) .condition-card-icon,
.conditions-grid .condition-card:nth-child(2) .condition-card-icon,
.conditions-grid .condition-card:nth-child(3) .condition-card-icon {
  background: rgba(86,142,47,0.1);
  color: #568e2f;
}
.condition-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.condition-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.62;
  flex: 1;
  margin: 0 0 1.1rem;
}
.condition-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap 0.15s ease, color 0.15s ease;
}
.condition-card-link:hover { gap: 0.55rem; color: var(--navy); }

@media (max-width: 768px) {
  .conditions-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
}
@media (max-width: 480px) {
  .condition-card { padding: 1.25rem; }
}


/* =============================================================================
   FAQ ACCORDION — details/summary
   ============================================================================= */

details.faq-item,
.condition-content details {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: box-shadow 0.18s ease;
}
details.faq-item:hover,
.condition-content details:hover {
  box-shadow: 0 4px 16px rgba(45,64,95,0.08);
}
details.faq-item[open],
.condition-content details[open] {
  border-color: rgba(86,142,47,0.3);
  background: rgba(86,142,47,0.02);
}
details.faq-item summary,
.condition-content details summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.97rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker,
.condition-content details summary::-webkit-details-marker { display: none; }
details.faq-item summary svg,
.condition-content details summary svg {
  flex-shrink: 0;
  color: var(--green);
  transition: transform 0.22s ease;
}
details.faq-item[open] summary svg,
.condition-content details[open] summary svg {
  transform: rotate(180deg);
}
details.faq-item .faq-answer,
.condition-content details > div {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 0.93rem;
}
/* === Partner Split Cards (Homepage — For Clinicians / For Pharmacies) === */
.partner-split-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.partner-split-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.1), 0 0 0 1px rgba(86,142,47,0.18);
}
.partner-split-visual {
  height: 220px;
  overflow: hidden;
  background: #edf1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.partner-split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.partner-split-card:hover .partner-split-visual img { transform: scale(1.04); }
.partner-split-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.partner-split-body {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.partner-split-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(86,142,47,0.08);
  border: 1px solid rgba(86,142,47,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.875rem;
  width: fit-content;
}
.partner-split-body h3 {
  color: var(--navy);
  margin: 0 0 0.625rem;
  font-size: 1.2rem;
  line-height: 1.3;
}
.partner-split-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Partner card when no photo — accent bar instead of empty grey box */
.partner-split-nophoto .partner-split-visual {
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0%, rgba(86,142,47,0.25) 100%);
  overflow: hidden;
}
.partner-split-nophoto .partner-split-fallback { display: none; }
.partner-split-nophoto .partner-split-body { padding-top: 2rem; }

/* About fallback: de-emphasize placeholder on mobile */
@media (max-width: 768px) {
  .about-img-fallback { height: 160px !important; }
}
