/* =============================================================================
   CANNAMEDICAL BRITANNIA — layout.css
   Page Layout, Post Templates, Cards, Footer, Utilities
   ============================================================================= */

/* --- Backgrounds --- */
.bg-navy { background: var(--navy); }
.bg-navy-light { background: var(--navy-light); }
.bg-green-light { background: var(--green-light); }
.text-white { color: var(--white) !important; }
.text-white h1,.text-white h2,.text-white h3,.text-white h4 { color: var(--white); }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.label-green { color: var(--green); }

/* --- Page Header --- */
.page-header {
  padding: 4rem 0 3rem;
}
.page-header .page-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--navy);
}

/* --- Page Hero (2-col) --- */
.page-hero {
  padding: 5rem 0;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.page-hero-content { max-width: 560px; }
.page-hero-content .hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 1.25rem 0 2rem;
}
.page-hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- Homepage Hero (Split 2-col) --- */
.hero-split-home {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 5.5rem 0 5rem;
}
.hero-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-split-content { max-width: 580px; }
.hero-split-content h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.text-green { color: var(--green); }
.hero-split-content .hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.hero-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero-split-media { position: relative; }
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.hero-image-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-align: center;
}
.hib-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.hib-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* --- Homepage Hero (legacy, not used) --- */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #1a2d1a 100%);
  padding: 5rem 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(86,142,47,0.2);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero-title span { color: var(--green); }
.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- Stats Suffix (+) --- */
.stat-suffix {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stats-bar-light .stat-suffix {
  color: var(--green);
}

/* --- CTA Banner --- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-content h2 { margin-bottom: 0.75rem; }
.cta-content p { color: var(--text-muted); margin: 0; }

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, #4d8229 0%, var(--green) 50%, #5a9230 100%);
  padding: 2.25rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: ;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.stats-grid { position: relative; z-index: 1; }
.stats-bar-light {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--light-grey);
  border-top: 1px solid var(--light-grey);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.stat-item:not(:last-child)::after {
  content: ;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}
.stats-bar .stat-number {
  display: inline;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stats-bar .stat-suffix {
  display: inline;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stats-bar .stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  margin-top: 0.35rem;
}
.stats-bar-light .stat-number {
  display: inline;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.stats-bar-light .stat-suffix {
  display: inline;
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.stats-bar-light .stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* --- Two-Col Grid --- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.two-col-content h2 { margin-bottom: 1.25rem; }

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.badge-icon { font-style: normal; }

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}
.cards-1 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-3 .feature-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}

/* Strain card hover */
.strain-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.strain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14) !important;
}
.strain-card::before {
  content: ;
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, #7bc644 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: height 0.22s ease;
}
.strain-card:hover::before {
  height: 4px;
}

/* --- Card --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2rem;
  border-radius: var(--radius-lg);
}
.card-dark h3 { color: var(--white); margin-bottom: 0.75rem; }
.card-dark p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card-body { padding: 1.5rem; }
.card-blog .card-image-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.card-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.card-title { font-size: 1.05rem; margin-bottom: 0.75rem; line-height: 1.4; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--green); }
.card-excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.card-link { font-size: 0.875rem; font-weight: 700; color: var(--green); }

/* --- Feature Card --- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(86,142,47,0.08);
  border: 1px solid rgba(86,142,47,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-white:hover { background: var(--white); color: var(--navy); }
.btn-outline.btn-white { color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero-split-home .btn-outline.btn-white,
.hero-split-home .btn-white:not(.btn-primary) {
  color: var(--green) !important;
  border-color: var(--green) !important;
  background: transparent !important;
}
.hero-split-home .btn-outline.btn-white:hover,
.hero-split-home .btn-white:not(.btn-primary):hover {
  background: var(--green) !important;
  color: white !important;
}
.btn-outline.btn-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

/* --- Content Page Layout (Content + Sidebar) --- */
.content-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.content-main {}
.content-sidebar { position: sticky; top: 90px; }
.content-width { max-width: 720px; margin: 0 auto; }
.sidebar-cta-box {
  background: var(--green);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.sidebar-cta-box h3 { color: var(--white); margin-bottom: 0.75rem; }
.sidebar-cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; font-size: 0.95rem; }
.sidebar-widget {
  background: var(--off-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}
.sidebar-widget h3 { margin-bottom: 0.75rem; font-size: 1rem; }
.sidebar-widget ul { list-style: none; }
.sidebar-widget li { padding: 0.35rem 0; font-size: 0.9rem; color: var(--text-muted); }

/* --- Post Layout --- */
.post-header {
  padding: 3rem 0 2.5rem;
}
.post-title { font-size: clamp(1.5rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
.post-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.post-date, .post-cat { font-size: 0.85rem; color: var(--text-muted); }
.post-cat { background: var(--green-light); color: var(--green); padding: 0.25rem 0.75rem; border-radius: 100px; font-weight: 600; }
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}
.post-content { min-width: 0; }
.post-featured-image { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.post-featured-image img, .featured-img { width: 100%; height: auto; display: block; }
.post-sidebar { position: sticky; top: 90px; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-content a { color: var(--green); }
.entry-content strong { color: var(--navy); }

/* --- Archive Header --- */
.archive-header {
  padding: 4rem 0;
}
.archive-header h1 { margin-bottom: 0.75rem; }
.archive-header p { color: var(--text-muted); max-width: 640px; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }

/* --- Pagination --- */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid var(--light-grey);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* --- Job Card --- */
.job-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-header { margin-bottom: 1rem; }
.job-header h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.job-header h3 a { color: var(--navy); }
.job-header h3 a:hover { color: var(--green); }
.job-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.job-location, .job-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--off-white);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}
.job-card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- Footer --- */
.site-footer {
  background: #f7f9fb;
  color: var(--text-muted);
  border-top: 2px solid rgba(86,142,47,0.15);
}
.footer-main { padding: 4rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.footer-values {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-values span {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(86,142,47,0.15);
  border: 1px solid rgba(86,142,47,0.3);
  color: var(--green);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.footer-col h4 {
  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 800;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 0;
  background: #eef0f3;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal { font-size: 0.78rem; color: #999; margin-bottom: 0; }
.footer-legal-links { display: flex; gap: 1.25rem; }
.footer-legal-links a { font-size: 0.78rem; color: #999; text-decoration: none; }
.footer-legal-links a:hover { color: var(--green); }

/* --- CTA Actions --- */
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .page-hero-inner, .two-col-grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-image { order: -1; }
  .page-hero { padding: 3.5rem 0 3rem; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-split-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-split-media { order: -1; }
  .hero-image-frame img { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-page-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 0.95rem 1.5rem; font-size: 1rem; }
  .hero-split-content h1 { font-size: 2.4rem; line-height: 1.1; }
  .hero-trust-row { gap: 1rem; }
  .hero-image-frame img { height: 240px; }
  .hero-split-home { padding: 2.5rem 0 2rem; }
  .page-hero { padding: 2.5rem 0 2rem; }
  .page-hero-content .hero-sub { font-size: 0.95rem; margin: 1rem 0 1.5rem; }
  .hero-split-inner { gap: 1.5rem; }
  .cta-banner { flex-direction: column; }
  .cta-actions { flex-direction: column; }
  .hamburger { display: flex; }
  .primary-nav { display: none; }
  .header-actions .btn.btn-primary { display: none; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section { padding: 3rem 0; }
  .strain-hero-inner { padding: 1.5rem 0 2rem; }
  .strain-hero-content { flex-direction: column; gap: 1.5rem; }
  .strain-hero-stats { gap: 0.75rem; }
  .strain-hero-cta { text-align: center; }
  .strain-cta-note { margin-top: 0.5rem; }
}

/* =============================================================================
   STRAIN HERO — Full-bleed dark cannabis image
   ============================================================================= */

.strain-hero-fullbleed {
  position: relative;
  min-height: 480px;
  background-image: var(--strain-bg, none);
  background-size: cover;
  background-position: center;
  background-color: var(--navy-dark);
  display: flex;
  align-items: flex-end;
}

.strain-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,34,55,0.3) 0%,
    rgba(22,34,55,0.5) 40%,
    rgba(22,34,55,0.88) 75%,
    rgba(22,34,55,0.97) 100%
  );
}

.strain-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
  width: 100%;
}

.strain-hero-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}
.strain-hero-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.strain-hero-breadcrumb a:hover { color: var(--green); }
.strain-hero-breadcrumb span { color: rgba(255,255,255,0.35); }

.strain-hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.strain-hero-left { flex: 1; min-width: 0; }

.strain-type-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(86,142,47,0.25);
  border: 1px solid rgba(86,142,47,0.5);
  color: var(--green);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.strain-hero-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.strain-hero-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.strain-avail-badge,
.strain-cert-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}
.strain-avail-badge.available { background: var(--green); color: #fff; }
.strain-avail-badge.coming { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.strain-cert-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.2); }

.strain-hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.strain-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.shs-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.shs-value {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.strain-hero-cta {
  flex-shrink: 0;
  text-align: right;
}

.strain-cta-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  max-width: 220px;
  margin-left: auto;
}

/* === Mobile Trust Bento Cards === */
.trust-bento {
  display: none;
}
@media (max-width: 768px) {
  .trust-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 0.75rem 1rem 0;
  }
  .trust-bento-card {
    background: rgba(86,142,47,0.06);
    border: 1px solid rgba(86,142,47,0.15);
    border-radius: 14px;
    padding: 0.9rem 0.6rem;
    text-align: center;
  }
  .trust-bento-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(86,142,47,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--green);
  }
  .trust-bento-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
  .trust-bento-value {
    font-size: 0.58rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
  }
}

/* About section: collapse image column when no real image */
.two-col-grid:has(.about-img-fallback) {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.two-col-grid:has(.about-img-fallback) .two-col-image {
  display: none;
}

/* === Hero Video Section === */
.hero-video-section {
  position: relative;
  min-height: 86vh;
  max-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -106px; /* fallback until JS sets it */
  padding-top: 106px;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.62) 45%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.hero-video-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 0;
}
.hero-video-content { max-width: 740px; }
.hero-video-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.25rem;
  display: block;
}
.hero-video-section h1 {
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-video-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 0 2rem;
  line-height: 1.65;
}
.hero-video-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.5rem;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--font);
  transition: all 0.2s;
  letter-spacing: 0;
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.hero-trust-bento {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.htb-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.htb-val { display: block; font-size: 0.85rem; font-weight: 800; color: #fff; line-height: 1.2; }
.htb-sub { display: block; font-size: 0.62rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 768px) {
  .hero-video-section { min-height: 85svh; max-height: none; align-items: center; }
  .hero-video-inner { padding: 0 0 3rem; }
}

/* Stats bar — white background overrides */
.stats-bar { background: #fff !important; }
.stats-bar .stat-number { color: #568e2f !important; }
.stats-bar .stat-suffix { color: #568e2f !important; }
.stats-bar .stat-label { color: #4a5a6a !important; font-size: 0.78rem !important; }
.stats-bar .stat-item { border-right-color: rgba(0,0,0,0.06) !important; }
