/* ═══════════════════════════════════════════════════
   CannabisNearMe.co.uk - Main Stylesheet
   ═══════════════════════════════════════════════════ */

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

:root {
  --green-900: #1a3a1a;
  --green-800: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-500: #43A047;
  --green-400: #66BB6A;
  --green-300: #A5D6A7;
  --green-200: #C8E6C9;
  --green-100: #E8F5E9;
  --green-50: #f1f8f1;
  --gray-900: #1a1a1a;
  --gray-800: #333;
  --gray-700: #555;
  --gray-600: #777;
  --gray-500: #999;
  --gray-400: #bbb;
  --gray-300: #ddd;
  --gray-200: #e9e9e9;
  --gray-100: #f5f5f5;
  --white: #fff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-700); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-500); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; color: var(--gray-900); }
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* ── Header / Navigation ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--green-800);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { color: var(--gray-700); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--green-700); }

.nav-cta {
  background: var(--green-700);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--green-600); color: var(--white) !important; }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-800); }

/* ── Hero Section ── */
.hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 50%, var(--green-600) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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");
  opacity: 0.3;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3rem; color: var(--white); margin-bottom: 16px; }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Search Box ── */
.search-box {
  background: var(--white);
  border-radius: 60px;
  padding: 8px;
  display: flex;
  max-width: 580px;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-lg);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: 50px;
  color: var(--gray-800);
}

.search-box button {
  background: var(--green-700);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-box button:hover { background: var(--green-600); }

/* ── Trust Bar ── */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.trust-item strong { font-size: 1.2rem; }

/* ── Section Styles ── */
.section { padding: 60px 20px; }
.section-alt { background: var(--gray-100); }
.section-green { background: var(--green-50); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin-bottom: 10px; }
.section-title p { color: var(--gray-600); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 12px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover { gap: 8px; }

/* ── Location Cards ── */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.location-pin {
  color: var(--green-700);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.location-card h4 { font-size: 0.95rem; margin-bottom: 2px; }
.location-card span { font-size: 0.8rem; color: var(--gray-500); }

/* ── Clinic Listing ── */
.clinic-listing {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  gap: 24px;
  transition: var(--transition);
}

.clinic-listing:hover { box-shadow: var(--shadow-md); }

.clinic-listing.featured {
  border: 2px solid var(--green-500);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--green-700);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinic-logo-placeholder {
  width: 80px;
  height: 80px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.clinic-info { flex: 1; }
.clinic-info h3 { margin-bottom: 6px; }
.clinic-meta { display: flex; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.clinic-meta span { font-size: 0.85rem; color: var(--gray-600); display: flex; align-items: center; gap: 4px; }

.clinic-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.clinic-tag {
  background: var(--green-100);
  color: var(--green-800);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

.clinic-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-600); color: var(--white); }

.btn-outline { border: 2px solid var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: var(--white); }

.btn-sm { padding: 7px 16px; font-size: 0.82rem; }

.btn-white { background: var(--white); color: var(--green-800); }
.btn-white:hover { background: var(--green-100); color: var(--green-800); }

.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  padding: 40px 0;
}

.stat-item h3 { font-size: 2.2rem; color: var(--green-700); margin-bottom: 4px; }
.stat-item p { color: var(--gray-600); font-size: 0.9rem; }

/* ── FAQ Section ── */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-900);
}

.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--green-700); transition: var(--transition); }
.faq-item.active .faq-question::after { content: '-'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gray-700);
  line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 500px; padding-top: 12px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 40px 0;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Blog Cards ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--green-200), var(--green-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-content { padding: 20px; }
.blog-card-meta { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 8px; }
.blog-card-content h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card-content p { font-size: 0.9rem; color: var(--gray-600); }

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--green-700); }
.breadcrumbs span { margin: 0 6px; }

/* ── Location Page Hero ── */
.location-hero {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: var(--white);
  padding: 50px 20px;
}

.location-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; }
.location-hero p { opacity: 0.9; font-size: 1.05rem; }

/* ── Sidebar ── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-box h3 { margin-bottom: 12px; font-size: 1.1rem; }

.sidebar-ad {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--green-900);
  color: var(--gray-300);
  padding: 50px 20px 30px;
}

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

.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--gray-400); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--green-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* ── Footer alternate class names (used by subpages) ── */
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 20px;
}

.footer-section h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-section p { font-size: 0.9rem; line-height: 1.7; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-section ul a { color: var(--gray-400); font-size: 0.9rem; }
.footer-section ul a:hover { color: var(--green-300); }

@media (max-width: 968px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; }
}

/* ── Disclaimer ── */
.disclaimer {
  background: var(--green-50);
  border-left: 4px solid var(--green-600);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 0.88rem;
  color: var(--gray-700);
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
  }
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .search-box { flex-direction: column; border-radius: var(--radius-md); }
  .search-box input { border-radius: var(--radius-sm); }
  .search-box button { border-radius: var(--radius-sm); width: 100%; justify-content: center; }
  .clinic-listing { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 20px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}

/* ── Eligibility Quiz ── */
.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.quiz-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--green-600);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step h3 { margin-bottom: 20px; }

.quiz-options { display: flex; flex-direction: column; gap: 12px; }

.quiz-option {
  padding: 14px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.quiz-option:hover { border-color: var(--green-400); background: var(--green-50); }
.quiz-option.selected { border-color: var(--green-600); background: var(--green-100); }

/* ── Condition tags page ── */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.condition-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.condition-card:hover { border-color: var(--green-400); box-shadow: var(--shadow-sm); }
.condition-card h3 { font-size: 1rem; margin-bottom: 6px; }
.condition-card p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 0; }

/* ── Advertise Page ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.pricing-card.popular { border-color: var(--green-600); position: relative; }
.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--green-700); margin: 16px 0; }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--gray-500); }
.pricing-features { list-style: none; text-align: left; margin: 20px 0; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; color: var(--gray-700); }
.pricing-features li::before { content: '\2713'; color: var(--green-600); margin-right: 8px; font-weight: 700; }

/* ── All Locations Index ── */
.locations-alpha-section { margin-bottom: 30px; }
.locations-alpha-section h3 {
  font-size: 1.3rem;
  color: var(--green-700);
  border-bottom: 2px solid var(--green-200);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
  justify-content: center;
}

.alpha-nav a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

.alpha-nav a:hover { background: var(--green-700); color: var(--white); }

/* ── Blog Index Page ── */
.blog-hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 50%, var(--green-600) 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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.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");
  opacity: 0.5;
}

.blog-hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.blog-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.blog-controls {
  margin: 40px 0 30px;
}

.blog-controls .search-bar {
  display: flex;
  max-width: 500px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.blog-controls .search-bar:focus-within {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(56, 142, 60, 0.1);
}

.blog-controls .search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-800);
}

.blog-controls .search-bar button {
  background: none;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.blog-controls .search-bar button:hover {
  color: var(--green-700);
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--green-400);
  color: var(--green-700);
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.blog-section .blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-section .blog-card .blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--green-100) 0%, var(--green-200) 50%, var(--green-300) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-section .blog-card .blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' fill='none' viewBox='0 0 24 24' stroke='%232E7D32' stroke-width='0.5' opacity='0.15'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25'/%3E%3C/svg%3E") center/80px repeat;
}

.category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green-700);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.blog-section .blog-card .blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-section .blog-card .blog-card-content h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-section .blog-card .blog-card-content h2 a {
  color: var(--gray-900);
  text-decoration: none;
  transition: var(--transition);
}

.blog-section .blog-card .blog-card-content h2 a:hover {
  color: var(--green-700);
}

.blog-card-meta {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.blog-section .blog-card .blog-card-content > p:last-child {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

/* ── Blog Post / Article Page ── */
.article-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--gray-500);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-section {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.article-section h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--gray-900);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-200);
}

.article-section h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.article-section p {
  margin-bottom: 16px;
}

.article-section ul,
.article-section ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-section a {
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-color: var(--green-300);
  text-underline-offset: 2px;
  transition: var(--transition);
}

.article-section a:hover {
  color: var(--green-600);
  text-decoration-color: var(--green-600);
}

.medical-disclaimer {
  background: #fef3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
}

.medical-disclaimer h3 {
  color: #856404;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 8px;
}

.medical-disclaimer p {
  color: #856404;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.related-articles {
  margin-top: 40px;
  padding: 28px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-200);
}

.related-articles h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--green-800);
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--green-200);
}

.related-articles li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-articles a {
  color: var(--green-700);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.related-articles a:hover {
  color: var(--green-600);
  text-decoration: underline;
}

/* Article sidebar */
.article-sidebar .sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.article-sidebar .sidebar-box h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--gray-900);
}

.article-sidebar .sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-sidebar .sidebar-box li {
  margin-bottom: 10px;
}

.article-sidebar .sidebar-box a {
  color: var(--gray-600);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.article-sidebar .sidebar-box a:hover {
  color: var(--green-700);
}

.cta-box {
  background: var(--green-50) !important;
  border-color: var(--green-200) !important;
}

.cta-box h3 {
  color: var(--green-800) !important;
}

.cta-box p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-block;
  background: var(--green-700);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--green-600);
  color: var(--white);
}

/* ── Footer h3 support (subpages use h3 instead of h4) ── */
.footer-section h3 { color: var(--white); margin-bottom: 16px; font-size: 1rem; font-weight: 600; }

/* ── Blog CTA Banner (inside main, not inside container) ── */
.main-content > .cta-banner {
  margin: 0;
  border-radius: 0;
  padding: 50px 20px;
}

@media (max-width: 968px) {
  .article-wrapper { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .blog-hero h1 { font-size: 1.8rem; }
  .article-header h1 { font-size: 1.6rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   Strain Catalogue & Reviews
   ═══════════════════════════════════════════════════ */

/* Strain Hero */
.strain-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.strain-hero h1 { font-size: 2.4rem; margin-bottom: 12px; }
.strain-hero p { font-size: 1.15rem; opacity: 0.9; max-width: 700px; margin: 0 auto 24px; }
.strain-hero .btn { background: white; color: var(--green-800); font-weight: 600; }
.strain-hero .btn:hover { background: var(--green-100); }

/* Strain Controls */
.strain-catalogue { padding: 40px 0; }
.strain-controls { margin-bottom: 24px; }
.strain-controls .search-bar { margin-bottom: 16px; }
.strain-controls .search-bar input {
  width: 100%; padding: 14px 50px 14px 20px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 1rem; transition: var(--transition);
}
.strain-controls .search-bar input:focus { border-color: var(--green-500); outline: none; }
.strain-controls .search-bar button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--gray-500);
}
.strain-controls .search-bar { position: relative; }
.strain-filters { display: flex; flex-direction: column; gap: 12px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-group label { font-weight: 600; font-size: 0.85rem; color: var(--gray-600); min-width: 70px; }
.strain-count { color: var(--gray-600); margin-bottom: 20px; font-size: 0.95rem; }

/* Strain Grid */
.strain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.strain-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.strain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.strain-card-header {
  padding: 16px 20px 0; display: flex; justify-content: space-between; align-items: center;
}
.strain-card-body { padding: 12px 20px 16px; flex: 1; }
.strain-card-body h2 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.3; }
.strain-card-body h2 a { color: var(--gray-900); }
.strain-card-body h2 a:hover { color: var(--green-700); }
.strain-card-stats {
  display: flex; gap: 16px; margin-bottom: 12px;
  padding: 10px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
}
.strain-stat { text-align: center; flex: 1; }
.stat-label { display: block; font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.stat-value { display: block; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); }
.stat-value.thc { color: var(--green-700); }
.stat-value.cbd { color: #00695c; }
.strain-card-terpenes, .strain-card-conditions {
  font-size: 0.85rem; color: var(--gray-600); margin-bottom: 6px;
}
.strain-card-footer {
  padding: 12px 20px; border-top: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center;
}
.strain-reviews-count { font-size: 0.85rem; color: var(--gray-500); }

/* Badges */
.strain-genetics-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.strain-genetics-badge.indica { background: #ede7f6; color: #4a148c; }
.strain-genetics-badge.sativa { background: #fff3e0; color: #e65100; }
.strain-genetics-badge.hybrid { background: var(--green-100); color: var(--green-800); }
.strain-genetics-badge.cbd { background: #e0f2f1; color: #00695c; }
.strain-brand-badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 0.78rem; font-weight: 600; background: var(--gray-100); color: var(--gray-700);
}

/* Buttons */
.btn-small {
  padding: 6px 16px; font-size: 0.85rem; border-radius: var(--radius-sm);
  background: var(--green-700); color: white; border: none; cursor: pointer;
  font-weight: 500; display: inline-block; transition: var(--transition);
}
.btn-small:hover { background: var(--green-600); color: white; }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Strain Submit CTA */
.strain-submit-cta {
  background: linear-gradient(135deg, var(--green-100) 0%, #e0f2f1 100%);
  border-radius: var(--radius-lg); padding: 48px; margin: 40px 0;
  text-align: center;
}
.submit-cta-content h2 { font-size: 1.6rem; margin-bottom: 12px; color: var(--green-900); }
.submit-cta-content p { color: var(--gray-700); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.submit-requirements { display: flex; justify-content: center; gap: 32px; margin-bottom: 28px; flex-wrap: wrap; }
.requirement { display: flex; align-items: center; gap: 8px; color: var(--green-800); font-weight: 500; }
.requirement svg { color: var(--green-700); }

/* ── Strain Detail Page ── */
.strain-detail-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 20px 20px 60px; }
.breadcrumb { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 24px; padding: 16px 0; }
.breadcrumb a { color: var(--green-700); }
.breadcrumb span { color: var(--gray-700); }

.strain-detail-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
}
.strain-detail-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px;
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden;
}
.strain-photo-placeholder {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; min-height: 280px; color: var(--gray-500);
}
.strain-photo-placeholder svg { margin-bottom: 12px; opacity: 0.5; }
.strain-photo-placeholder p { margin-bottom: 16px; font-size: 0.9rem; }
.strain-header-info { padding: 28px 28px 28px 0; }
.strain-header-info h1 { font-size: 1.6rem; margin: 8px 0 12px; line-height: 1.3; }
.strain-quick-stats { display: flex; gap: 20px; margin: 16px 0; }
.quick-stat {
  background: var(--gray-100); padding: 10px 16px; border-radius: var(--radius-sm);
  text-align: center; flex: 1;
}
.quick-stat .stat-label { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }
.quick-stat .stat-value { display: block; font-size: 1.2rem; font-weight: 700; color: var(--green-800); }
.star-rating { display: flex; align-items: center; gap: 2px; margin: 12px 0 4px; }
.rating-text { font-weight: 600; color: var(--gray-700); margin-left: 8px; font-size: 0.95rem; }
.review-count-text { font-size: 0.85rem; color: var(--gray-500); }

/* Strain Sections */
.strain-section { margin-bottom: 32px; }
.strain-section h2 {
  font-size: 1.3rem; color: var(--green-900); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--green-100);
}
.strain-section h3 { font-size: 1rem; color: var(--gray-700); margin: 12px 0 8px; }
.strain-section p { color: var(--gray-700); line-height: 1.7; }
.terpene-list { margin-top: 16px; }
.terpene-tag {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: #f3e5f5; color: #6a1b9a; font-size: 0.82rem; font-weight: 500;
  margin: 4px 4px 4px 0;
}
.condition-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.condition-tag {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: var(--green-100); color: var(--green-800); font-size: 0.82rem; font-weight: 500;
}

/* No Reviews */
.no-reviews-yet {
  text-align: center; padding: 48px 24px; background: var(--gray-100);
  border-radius: var(--radius-md);
}
.no-reviews-yet svg { color: var(--gray-400); margin-bottom: 12px; }
.no-reviews-yet h3 { margin-bottom: 8px; }
.no-reviews-yet p { color: var(--gray-600); margin-bottom: 20px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* Strain Sidebar */
.strain-detail-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 24px; margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 16px; color: var(--green-900); }
.strain-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.strain-facts dt { font-weight: 600; color: var(--gray-600); font-size: 0.85rem; }
.strain-facts dd { color: var(--gray-800); font-size: 0.9rem; }
.cta-card { background: linear-gradient(135deg, var(--green-100) 0%, #e0f2f1 100%); border-color: var(--green-200); }
.cta-card h3 { color: var(--green-800); }
.cta-card p { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 16px; }
.requirements-list, .benefit-list, .tips-list, .reject-list {
  list-style: none; padding: 0;
}
.requirements-list li, .benefit-list li, .tips-list li, .reject-list li {
  padding: 8px 0 8px 24px; border-bottom: 1px solid var(--gray-100);
  font-size: 0.88rem; color: var(--gray-700); position: relative;
}
.requirements-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.benefit-list li::before { content: "→"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.tips-list li::before { content: "•"; position: absolute; left: 4px; color: var(--green-600); }
.reject-list li::before { content: "✕"; position: absolute; left: 2px; color: #d32f2f; font-weight: 700; }
.warning-card { border-color: #ffcdd2; }
.warning-card h3 { color: #c62828; }

/* ── Submission Page ── */
.submission-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 20px 20px 60px; }
.submission-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.submission-main h1 { font-size: 2rem; margin-bottom: 12px; }
.submission-intro { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.6; }
.submission-sidebar { position: sticky; top: 100px; }

/* Submission Rules */
.submission-rules { margin-bottom: 40px; }
.submission-rules h2 { font-size: 1.4rem; margin-bottom: 20px; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rule-card {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 24px; text-align: center;
}
.rule-icon { margin-bottom: 12px; }
.rule-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--green-900); }
.rule-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

/* Review Form */
.review-form { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px; }
.review-form h2 { font-size: 1.4rem; margin-bottom: 24px; color: var(--green-900); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--gray-800); font-size: 0.95rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green-500); outline: none;
}
.form-group small { display: block; margin-top: 4px; color: var(--gray-500); font-size: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rating-input { display: flex; flex-direction: column; gap: 8px; }
.rating-option {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer;
  transition: var(--transition);
}
.rating-option:hover { border-color: var(--green-400); background: var(--green-50); }
.rating-option input:checked + * { color: var(--green-700); font-weight: 600; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 0.88rem !important; color: var(--gray-600) !important; line-height: 1.5; cursor: pointer; }
.checkbox-label input { margin-top: 3px; }
.form-note { font-size: 0.85rem; color: var(--gray-500); margin-top: 16px; text-align: center; }

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--gray-300); border-radius: var(--radius-md);
  padding: 40px; text-align: center; cursor: pointer; transition: var(--transition);
}
.file-upload-area:hover, .file-upload-area.drag-over { border-color: var(--green-500); background: var(--green-50); }
.file-upload-area svg { color: var(--gray-400); margin-bottom: 8px; }
.file-upload-area p { color: var(--gray-600); margin-bottom: 4px; }
.file-upload-area small { color: var(--gray-500); }

/* ── Strain Autocomplete Dropdown ── */
.autocomplete-container { position: relative; }
.autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 2px solid var(--green-500);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
}
.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.active {
    background: var(--green-50);
    color: var(--green-800);
}
.autocomplete-item strong { color: var(--green-700); font-weight: 700; }
.strain-autocomplete-wrapper input:focus + .autocomplete-dropdown { border-color: var(--green-600); }

/* ── Review Submission Feedback ── */
.review-success {
    text-align: center;
    padding: 48px 24px;
    background: var(--green-50);
    border: 2px solid var(--green-300);
    border-radius: 12px;
    margin-bottom: 32px;
}
.review-success .success-icon { margin-bottom: 16px; }
.review-success h2 { color: var(--green-800); margin-bottom: 12px; }
.review-success p { color: var(--gray-700); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

.review-error {
    padding: 16px 20px;
    background: #fff5f5;
    border: 2px solid #e53935;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.review-error p { color: #c62828; margin: 0; font-size: 0.95rem; }
.btn-small { padding: 6px 14px; font-size: 0.85rem; border-radius: 6px; background: #e53935; color: #fff; border: none; cursor: pointer; }
.btn-small:hover { background: #c62828; }

/* ── Photo Preview Grid ── */
.photo-preview-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.photo-thumb {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
}
.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-remove:hover { background: #e53935; }

/* ── Submission Progress ── */
.submit-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: var(--green-700);
    font-weight: 500;
}
.progress-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--green-200);
    border-top-color: var(--green-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Dynamic Review Display (Strain Pages) ── */
.reviews-loading {
    text-align: center; padding: 40px; color: var(--gray-600); font-size: 0.95rem;
}
.reviews-spinner {
    display: inline-block; width: 20px; height: 20px;
    border: 3px solid var(--green-200); border-top-color: var(--green-600);
    border-radius: 50%; animation: spin 0.8s linear infinite;
    vertical-align: middle; margin-right: 8px;
}
.no-reviews {
    text-align: center; padding: 40px 20px; color: var(--gray-600);
}
.no-reviews h3 { margin-bottom: 8px; color: var(--gray-700); }
.no-reviews p { margin-bottom: 20px; }

.reviews-summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px;
    flex-wrap: wrap; gap: 12px;
}
.reviews-avg { display: flex; align-items: center; gap: 12px; }
.avg-score { font-size: 2rem; font-weight: 700; color: var(--green-700); }
.avg-stars { font-size: 1.4rem; color: #FFA000; }
.avg-count { font-size: 0.9rem; color: var(--gray-600); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.user-review {
    padding: 20px; background: var(--gray-100); border-radius: 10px;
    border: 1px solid var(--gray-200);
}
.review-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
}
.review-stars { color: #FFA000; font-size: 1.1rem; margin-right: 8px; }
.review-author { font-weight: 600; color: var(--gray-900); font-size: 0.9rem; }
.review-date { font-size: 0.8rem; color: var(--gray-500); }
.review-tags {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.review-tags .tag {
    padding: 3px 10px; background: var(--green-100); color: var(--green-700);
    border-radius: 20px; font-size: 0.75rem; font-weight: 500;
}
.review-body { font-size: 0.95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 12px; }
.review-photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.review-photo {
    width: 100px; height: 100px; object-fit: cover; border-radius: 8px;
    border: 2px solid var(--gray-200); cursor: pointer;
}
.review-photo:hover { border-color: var(--green-500); }

/* ── Strain Responsive ── */
@media (max-width: 968px) {
  .strain-detail-grid { grid-template-columns: 1fr; }
  .submission-grid { grid-template-columns: 1fr; }
  .strain-detail-sidebar { position: static; }
  .submission-sidebar { position: static; }
  .strain-detail-header { grid-template-columns: 1fr; }
  .strain-header-info { padding: 24px; }
}
@media (max-width: 768px) {
  .strain-hero h1 { font-size: 1.8rem; }
  .strain-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .strain-submit-cta { padding: 32px 20px; }
  .submit-requirements { flex-direction: column; align-items: center; }
  .strain-quick-stats { flex-direction: column; gap: 8px; }
}


/* Blog Hero Images */
.article-hero-image {
    margin: 1.5rem 0 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px;
}

/* Blog Card Thumbnails */
.blog-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 200px;
    background: #1a2332;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Blog Inline Images */
.article-inline-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.article-inline-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ── Service Category Navigation ── */
.service-category-nav {
  display: flex;
  gap: 8px;
  padding: 16px 0 0;
  flex-wrap: wrap;
}
.category-tab {
  padding: 8px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.category-tab:hover {
  border-color: var(--green-400);
  color: var(--green-700);
}
.category-tab.active {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

/* ── Service Section Headers ── */
.service-section {
  margin-bottom: 16px;
}
.service-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--green-100);
}
.service-section-header h2 {
  margin-bottom: 4px;
  font-size: 1.4rem;
}
.service-section-header p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin: 0;
}
.service-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* ── Service Listings (extends clinic-listing) ── */
.service-listing {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}
.service-listing:hover {
  box-shadow: var(--shadow-md);
}
.service-listing.featured {
  border: 2px solid var(--green-500);
  position: relative;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 100%);
}
.service-listing.featured .featured-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--green-700);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-logo-placeholder {
  width: 64px;
  height: 64px;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-700);
  flex-shrink: 0;
}
.service-logo-placeholder.dispensary-logo {
  background: #E3F2FD;
  color: #1565C0;
}
.service-logo-placeholder.social-logo {
  background: #FFF3E0;
  color: #E65100;
}
.service-info {
  flex: 1;
}
.service-info h3 {
  margin-bottom: 4px;
}
.service-info h3 a {
  color: var(--green-700);
  text-decoration: none;
}
.service-info h3 a:hover {
  text-decoration: underline;
}

/* ── Service Type Badges ── */
.service-type-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.clinic-badge {
  background: var(--green-100);
  color: var(--green-800);
}
.dispensary-badge {
  background: #E3F2FD;
  color: #1565C0;
}
.social-badge {
  background: #FFF3E0;
  color: #E65100;
}
.lounge-badge {
  background: #F3E5F5;
  color: #6A1B9A;
}
.cbd-badge {
  background: #E8F5E9;
  color: #2E7D32;
}

/* ── Empty State ── */
.service-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 2px dashed var(--gray-300);
  margin-bottom: 16px;
}
.service-empty-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}
.service-empty-state h3 {
  margin-bottom: 8px;
  color: var(--gray-700);
}
.service-empty-state p {
  font-size: 0.92rem;
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto 8px;
}
.service-empty-state a {
  color: var(--green-700);
  font-weight: 600;
}

/* ── List Your Business CTA ── */
.list-business-cta {
  background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
  border: 2px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.list-business-cta h3 {
  color: var(--green-800);
  margin-bottom: 8px;
}
.list-business-cta p {
  color: var(--gray-700);
  font-size: 0.95rem;
  max-width: 550px;
  margin: 0 auto 20px;
}

/* ── Responsive: Service Listings ── */
@media (max-width: 768px) {
  .service-listing {
    flex-direction: column;
    gap: 12px;
  }
  .service-section-header {
    gap: 12px;
  }
  .service-category-nav {
    gap: 6px;
  }
  .category-tab {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}
