/* ============================================================
   WWS Wheelhome - Main Stylesheet
   Design reference: homepage style (wheelhome.co.uk)
   ============================================================ */

/* ------------------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --color-green-dark: #3D5A28;
  --color-green-mid: #4A7A2E;
  --color-sand: #f5f0e8;
  --color-sand-light: #faf8f4;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #ddd5c4;

  /* Typography */
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", serif;
  --font-size-base: 18px;
  --line-height-base: 1.6;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --container-padding: 0 40px;

  /* Borders */
  --border-radius: 8px;
  --border-radius-pill: 50px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* ------------------------------------------------------------
   Base Typography
   ------------------------------------------------------------ */
html {
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-green-dark);
}

h1 {
  font-size: 2.6rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Italic subheadings - used under main headings as descriptors */
.subheading {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-top: 0.4em;
  margin-bottom: 1.2em;
}

p {
  margin-bottom: 1em;
}

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

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

a {
  color: var(--color-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-green-mid);
}


/* ------------------------------------------------------------
   Layout Utilities
   ------------------------------------------------------------ */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding: var(--container-padding);
  width: 100%;
}

.section {
  padding: var(--section-padding);
}

.section--sand {
  background-color: var(--color-sand);
}

.section--sand-light {
  background-color: var(--color-sand-light);
}

.section--white {
  background-color: var(--color-white);
}

.section--green {
  background-color: var(--color-green-dark);
  color: var(--color-white);
}

.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--color-white);
}

.section--green .assurance-list li {
  color: var(--color-white);
}

.section--green .assurance-list li::before {
  color: var(--color-white);
}

/* Two-column grid: text left, image right */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Reversed: image left, text right */
.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

/* Column size variants */
.two-col--wide-text {
  grid-template-columns: 3fr 2fr;
}

.two-col--wide-image {
  grid-template-columns: 2fr 3fr;
}

/* Text column within two-col */
.two-col__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.two-col__text h2 {
  margin-bottom: 0.3em;
}

.two-col__text p {
  color: var(--color-text-light);
}

/* Image column within two-col */
.two-col__image {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Centered text block */
.text-center {
  text-align: center;
}

/* Section header used above components like stat-rows */
.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 0.3em;
}

.section-header .subheading {
  margin-bottom: 0;
}


/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

/* Primary: dark green fill, white text */
.btn--primary {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  border-color: var(--color-green-dark);
}

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

/* Outline: bordered, transparent fill */
.btn--outline {
  background-color: transparent;
  color: var(--color-green-dark);
  border-color: var(--color-green-dark);
}

.btn--outline:hover {
  background-color: var(--color-green-dark);
  color: var(--color-white);
}

/* Outline on dark backgrounds */
.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-green-dark);
}

/* Button group */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}


/* ------------------------------------------------------------
   Stat Blocks (feature pills)
   ------------------------------------------------------------ */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.stat-block {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  border-radius: var(--border-radius-pill);
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
}

.stat-block__value {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-block__label {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1.2;
}


/* ------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.testimonial {
  background-color: var(--color-sand);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.testimonial__quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial__quote::before {
  content: "\201C";
  font-size: 2rem;
  color: var(--color-green-dark);
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
}

.testimonial__attribution {
  font-weight: 700;
  color: var(--color-green-dark);
  font-size: 0.95rem;
}

.testimonial__location {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 2px;
}


/* ------------------------------------------------------------
   Steps (numbered buying process)
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-top: 40px;
  counter-reset: steps;
}

.step {
  counter-increment: steps;
  position: relative;
  padding-top: 60px;
}

.step::before {
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-green-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ------------------------------------------------------------
   FAQ Accordion (HTMX-powered)
   ------------------------------------------------------------ */
.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-green-dark);
  transition: color 0.2s ease;
}

.faq-item__trigger:hover {
  color: var(--color-green-mid);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-green-dark);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item__icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* When open, hide the vertical bar (make it a minus) */
.faq-item--open .faq-item__icon::after {
  opacity: 0;
}

.faq-item__body {
  padding: 0 0 20px 0;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-item__body p {
  margin-bottom: 0.8em;
}

/* HTMX transition: slide in */
.faq-item__body.htmx-added {
  animation: fadeSlideIn 0.2s ease;
}

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


/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-sand);
  box-shadow: var(--shadow-nav);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-green-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-green-mid);
}

/* Models dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 180px;
  z-index: 200;
  list-style: none;
  display: none;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.nav__dropdown-menu li a:hover {
  background-color: var(--color-sand);
  color: var(--color-green-mid);
}

/* Nav contact (phone + email) */
.nav__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.85rem;
  color: var(--color-green-dark);
}

.nav__contact a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.nav__contact a:hover {
  color: var(--color-green-mid);
  text-decoration: underline;
}

/* Mobile hamburger toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-green-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* When mobile nav is open */
.nav--open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 40px;
  color: var(--color-white);
}

.hero__content h1 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 0.4em;
}

.hero__content .subheading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

.hero__content .btn-group {
  margin-top: 32px;
}


/* ------------------------------------------------------------
   Model Cards (used on Models listing, homepage previews)
   ------------------------------------------------------------ */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.model-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.model-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.model-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.model-card__body {
  padding: 24px;
}

.model-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 6px;
}

.model-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.model-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.model-card__cta {
  margin-top: 8px;
}


/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-sand);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer__col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__col ul li a:hover {
  color: var(--color-green-dark);
}

.footer__address {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.footer__address a {
  color: var(--color-green-dark);
  text-decoration: none;
}

.footer__address a:hover {
  text-decoration: underline;
}

.footer__bottom {
  margin-top: 48px;
  border-top: 1px solid var(--color-border);
  padding: 20px 40px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.footer__bottom a {
  color: var(--color-text-light);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--color-green-dark);
  text-decoration: underline;
}

.footer-wrap {
  /* Outer wrapper used in templates to include footer markup */
}


/* ------------------------------------------------------------
   Page Header (used on inner pages without hero image)
   ------------------------------------------------------------ */
.page-header {
  background-color: var(--color-sand);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin-bottom: 0.3em;
}

.page-header .subheading {
  margin-bottom: 0;
}


/* ------------------------------------------------------------
   Contact / Form styles
   ------------------------------------------------------------ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-white);
  transition: border-color 0.2s ease;
  appearance: none;
}

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

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

.form-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 4px;
}

.form-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-errors {
  background-color: #fdecea;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.form-errors .form-error {
  margin-top: 0;
  margin-bottom: 4px;
}

.form-errors .form-error:last-child {
  margin-bottom: 0;
}

.form-required {
  color: #c0392b;
}

/* Checkbox groups: inline label with checkbox */
.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-group--checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  appearance: auto;
}

/* Contact page info column */
.contact-info h2 {
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail h4 {
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--color-text-light);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   Utility classes
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden {
  visibility: hidden;
}

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 48px; }


/* ------------------------------------------------------------
   Homepage-specific Components
   ------------------------------------------------------------ */

/* Pre-heading label (uppercase small text above headings) */
.pre-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}

/* Hero feature pills - small inline badges */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-green-dark);
  color: var(--color-white);
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Full-width scenic image */
.section--scenic {
  line-height: 0;
}

.scenic-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

/* Stat row grid variant (4-column for standalone stat sections) */
.stat-row--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}

/* Larger stat blocks for standalone sections */
.stat-block--large {
  border-radius: var(--border-radius);
  padding: 28px 20px;
  min-width: auto;
}

.stat-block--large .stat-block__value {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.stat-block--large .stat-block__label {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Pricing line */
.pricing-line {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-green-dark);
}

/* Callout text (e.g. green full-width banner) */
.callout-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Button group centered variant */
.btn-group--center {
  justify-content: center;
}

/* ------------------------------------------------------------
   Feature Cards (product page feature blocks)
   ------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.section--sand .feature-card {
  background-color: var(--color-sand-light);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.feature-card__heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 8px;
}

.feature-card__body {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   Checklist (included features with checkmarks)
   ------------------------------------------------------------ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}

.checklist li {
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-green-mid);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ------------------------------------------------------------
   Assurance List (CTA section checkmarks)
   ------------------------------------------------------------ */
.assurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.assurance-list li {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.assurance-list li::before {
  content: "\2713 ";
  color: var(--color-green-mid);
  font-weight: 700;
}

/* ------------------------------------------------------------
   Product Price Line
   ------------------------------------------------------------ */
.product-price-line {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* Image caption under gallery/feature images */
.image-caption {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 8px;
}

/* Spec table for product dimensions/features */
.spec-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 24px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  font-weight: 600;
  color: var(--color-text);
  width: 55%;
}

.spec-table td {
  color: var(--color-text-light);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-note {
  text-align: center;
  font-style: italic;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* Press quote callout */
.press-quote {
  margin: 0;
  padding: 0;
}

.press-quote p {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 12px;
}

.press-quote cite {
  font-size: 0.95rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}


/* ------------------------------------------------------------
   Responsive Breakpoints
   ------------------------------------------------------------ */

/* --- Tablet (768-1024px) --- */
@media (max-width: 1024px) {
  :root {
    --font-size-base: 17px;
    --section-padding: 60px 0;
    --container-padding: 0 28px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .two-col,
  .two-col--wide-text,
  .two-col--wide-image {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .nav__inner {
    padding: 14px 28px;
  }

  .nav__contact {
    display: none;
  }

  .hero__content h1 {
    font-size: 2.4rem;
  }
}

/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
  :root {
    --font-size-base: 16px;
    --section-padding: 48px 0;
    --container-padding: 0 20px;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  /* Two-col becomes single column on mobile */
  .two-col,
  .two-col--reverse,
  .two-col--wide-text,
  .two-col--wide-image {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
  }

  /* On reverse layouts, image (second child in HTML) goes below text */
  .two-col--reverse > * {
    direction: ltr;
  }

  /* Steps: 2-column on small screens, 1 on tiny */
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  /* Stat row wraps */
  .stat-row {
    gap: 10px;
  }

  .stat-block {
    min-width: 100px;
    padding: 10px 18px;
  }

  /* Footer: 2 columns on mobile */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  /* Nav: hamburger mode */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-sand);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow-nav);
    z-index: 99;
  }

  .nav--open .nav__links {
    display: flex;
  }

  .nav__link {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  /* Dropdown in mobile: show inline */
  .nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background-color: var(--color-sand-light);
  }

  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    display: block;
  }

  .nav__dropdown-menu li a {
    padding: 12px 32px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__inner {
    position: relative;
    padding: 14px 20px;
  }

  /* Hero */
  .hero {
    min-height: 380px;
  }

  .hero__content {
    padding: 60px 20px;
  }

  .hero__content h1 {
    font-size: 2rem;
  }

  .hero__content .subheading {
    font-size: 1.05rem;
  }

  /* Button group stacks */
  .btn-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Model grid: single column */
  .model-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial grid: single column */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Steps: single column */
  .steps {
    grid-template-columns: 1fr;
  }

  /* Page header */
  .page-header {
    padding: 40px 0 32px;
  }

  /* Stat row grid: 2 columns on mobile */
  .stat-row--grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-block--large {
    padding: 20px 16px;
  }

  .stat-block--large .stat-block__value {
    font-size: 1.4rem;
  }

  .callout-text {
    font-size: 1.2rem;
  }

  .scenic-image {
    max-height: 300px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

/* --- Very small screens (< 480px) --- */
@media (max-width: 479px) {
  h1 { font-size: 1.6rem; }

  .stat-block {
    flex: 1 1 calc(50% - 8px);
  }

  .stat-row--grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Product Page Components
   ============================================================ */

/* Product price */
.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-top: 8px;
}

/* Discontinued status badge */
.product-status--discontinued {
  display: inline-block;
  background-color: var(--color-text-light);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--border-radius-pill);
  margin-top: 12px;
}

/* Description block */
.product-description {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 800px;
}

.product-description ul {
  padding-left: 1.5em;
  margin: 1em 0;
}

.product-description li {
  margin-bottom: 0.4em;
}

/* Content sections */
.product-section-content {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 800px;
}

.product-section-content ul {
  padding-left: 1.5em;
  margin: 1em 0;
}

.product-section-content li {
  margin-bottom: 0.4em;
}

.product-section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--border-radius);
}

/* Video embeds - responsive 16:9 */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  background-color: #000;
}

.video-embed iframe,
.video-embed video,
.video-embed .youtube-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.video-embed--hero {
  max-width: 900px;
  margin: 0 auto;
}

.video-card {
  flex: 1 1 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--color-text);
  margin: 0 0 8px 0;
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

/* Video layout for multiple videos */
.product-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

/* Image gallery - responsive grid */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.product-gallery__item {
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.product-gallery__item:hover img {
  transform: scale(1.03);
}

/* Full-width gallery variant (for charts/spec diagrams) */
.product-gallery--full {
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-gallery--full .product-gallery__item {
  aspect-ratio: auto;
}

.product-gallery--full .product-gallery__item img {
  height: auto;
  object-fit: contain;
}

/* Product hero image */
.product-hero {
  max-width: 800px;
  margin: 0 auto;
}

.product-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* --- Product page responsive --- */
@media (max-width: 767px) {
  .product-videos {
    flex-direction: column;
  }

  .video-card {
    max-width: 100%;
  }

  .video-title {
    min-height: unset;
  }

  .product-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
  }

  .video-embed--hero {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------
   Text Pages (Privacy Policy, Terms)
   ------------------------------------------------------------ */
.text-page {
  max-width: 800px;
}

.text-page h1 {
  margin-bottom: 32px;
}

.text-page__body p {
  margin-bottom: 1em;
}

.text-page__body a {
  color: var(--color-green-dark);
  text-decoration: underline;
}

.text-page__body a:hover {
  color: var(--color-green-mid);
}

/* ------------------------------------------------------------
   Content Pages (Trip Reports, Videos, News, etc.)
   ------------------------------------------------------------ */
.content-intro {
  max-width: 800px;
  margin-top: 16px;
}

.content-intro p {
  margin-bottom: 1em;
}

.content-text p {
  margin-bottom: 1em;
}

.content-text a {
  color: var(--color-green-dark);
  text-decoration: underline;
}

.content-text a:hover {
  color: var(--color-green-mid);
}

.content-text em {
  font-style: italic;
}

/* Image gallery - responsive grid for content pages */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.image-gallery__item {
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4 / 3;
}

.image-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-gallery__item:hover img {
  transform: scale(1.03);
}

/* Video grid for content pages */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 767px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Site Header & Navigation (actual template class names)
   ============================================================ */

/* Sticky header bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-sand);
  box-shadow: var(--shadow-nav);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}

.header-logo {
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo img {
  height: 60px;
  width: auto;
}

/* Contact info in header */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 0.85rem;
  color: var(--color-green-dark);
}

.header-contact a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.header-contact a:hover {
  color: var(--color-green-mid);
  text-decoration: underline;
}

/* Mobile hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-green-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger to X animation when open */
.nav-toggle-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav menu - horizontal links */
.nav-menu {
  display: flex;
  align-items: center;
}

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

.nav-item a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-green-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-item a:hover,
.nav-active > a {
  color: var(--color-green-mid);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  vertical-align: 2px;
}

.nav-sub-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: 5px;
  vertical-align: 1px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 180px;
  z-index: 200;
  list-style: none;
  display: none;
}

/* Invisible bridge covering the gap between nav item and dropdown */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.dropdown-open > .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.nav-dropdown-menu li a:hover {
  background-color: var(--color-sand);
  color: var(--color-green-mid);
}

/* Sub-dropdown (nested) */
.nav-sub-dropdown {
  position: relative;
}

.nav-sub-dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 180px;
  z-index: 210;
  list-style: none;
  display: none;
}

.nav-sub-dropdown:hover > .nav-sub-dropdown-menu,
.nav-sub-dropdown:focus-within > .nav-sub-dropdown-menu,
.sub-dropdown-open > .nav-sub-dropdown-menu {
  display: block;
}

.nav-sub-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.nav-sub-dropdown-menu li a:hover {
  background-color: var(--color-sand);
  color: var(--color-green-mid);
}


/* ============================================================
   Site Footer (actual template class names)
   ============================================================ */

.site-footer {
  background-color: var(--color-sand);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-youtube {
  font-size: 0.9rem;
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer-youtube:hover {
  text-decoration: underline;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-green-dark);
}

.footer-address address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-address a {
  color: var(--color-green-dark);
  text-decoration: none;
  font-weight: 600;
}

.footer-address a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid var(--color-border);
  padding: 20px 40px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

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

.footer-bottom a:hover {
  color: var(--color-green-dark);
  text-decoration: underline;
}


/* ============================================================
   FAQ Accordion - <details> element support
   ============================================================ */

/* Style the <details> element as accordion items */
details.faq-item {
  border-bottom: 1px solid var(--color-border);
}

details.faq-item summary {
  list-style: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

/* When <details> is open, hide the vertical bar (make + into -) */
details.faq-item[open] .faq-item__icon::after {
  opacity: 0;
}


/* ============================================================
   Admin Table Mobile Overflow
   ============================================================ */

.admin-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* ============================================================
   Responsive - Header, Nav, Footer (actual template classes)
   ============================================================ */

/* --- Tablet (768-1024px) --- */
@media (max-width: 1024px) {
  .header-inner {
    padding: 14px 28px;
  }

  .header-contact {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
  /* Hamburger toggle visible */
  .nav-toggle {
    display: flex;
  }

  /* Nav menu: hidden by default, shown when open */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-sand);
    box-shadow: var(--shadow-nav);
    z-index: 99;
  }

  .nav-menu.nav-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .nav-item a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav-item:last-child a {
    border-bottom: none;
  }

  /* Dropdown in mobile: show inline below parent */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    background-color: var(--color-sand-light);
  }

  .nav-dropdown-menu li a {
    padding: 12px 32px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
  }

  /* Sub-dropdown in mobile */
  .nav-sub-dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    background-color: var(--color-sand);
  }

  .nav-sub-dropdown-menu li a {
    padding: 12px 44px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--color-border);
  }

  /* Header */
  .header-inner {
    padding: 14px 20px;
  }

  .header-contact {
    display: none;
  }

  /* Footer: 2 columns on mobile */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  /* Buttons full-width on mobile */
  .btn-group .btn {
    width: 100%;
    text-align: center;
  }

  /* FAQ touch targets - larger padding */
  .faq-item__trigger {
    padding: 24px 0;
    min-height: 48px;
  }
}

/* --- Very small screens (< 480px) --- */
@media (max-width: 479px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  line-height: 1;
  user-select: none;
}

.lightbox-nav--prev {
  left: 10px;
}

.lightbox-nav--next {
  right: 10px;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  max-width: 80vw;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.breadcrumbs__item::after {
  content: "/";
  margin-left: 8px;
  color: var(--color-text-light);
}

.breadcrumbs__item:last-child::after {
  content: "";
}

.breadcrumbs__item--current {
  color: var(--color-text-light);
}

.breadcrumbs__item a {
  color: var(--color-green-mid);
  text-decoration: none;
}

.breadcrumbs__item a:hover {
  text-decoration: underline;
}

/* YouTube Facade */
.youtube-facade {
  position: relative;
  cursor: pointer;
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.youtube-facade:hover img {
  opacity: 1;
}

.youtube-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-facade:hover .youtube-facade__play {
  background: #ff0000;
}

.youtube-facade__play::after {
  content: "";
  display: block;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}


/* ------------------------------------------------------------
   Blog
   ------------------------------------------------------------ */

/* Blog Grid (listing page) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* Blog Card */
.blog-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.blog-card__image-link {
  display: block;
}

.blog-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card__image--placeholder {
  background: var(--color-sand);
}

.blog-card__body {
  padding: 1.25rem;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog-card__title a {
  color: var(--color-green-dark);
  text-decoration: none;
}

.blog-card__title a:hover {
  text-decoration: underline;
}

.blog-card__meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.blog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green-dark);
  text-decoration: none;
}

.blog-card__link:hover {
  text-decoration: underline;
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Blog Hero */
.blog-hero {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.blog-hero__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.blog-hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 3rem 0 2rem;
}

.blog-hero__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.blog-hero__byline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .blog-hero__image {
    height: 300px;
  }

  .blog-hero__title {
    font-size: 1.5rem;
  }
}

/* Blog Article */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
}

.blog-article__body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-green-dark);
  margin: 2rem 0 1rem;
}

.blog-article__body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-green-dark);
  margin: 1.5rem 0 0.75rem;
}

.blog-article__body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.blog-article__body picture,
.blog-article__body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
}

.blog-article__body blockquote {
  border-left: 4px solid var(--color-green-dark);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--color-sand-light);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
}

.blog-article__body ul,
.blog-article__body ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.blog-article__body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.blog-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.blog-article__body th,
.blog-article__body td {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.blog-article__body th {
  background: var(--color-sand);
  font-weight: 600;
}

/* Author Box */
.blog-article__author-box {
  background: var(--color-sand);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 2.5rem;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-green-dark);
  margin-bottom: 0.25rem;
}

.author-bio {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Blog Article Nav */
.blog-article__nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
