/* ============================================================================
   Guide Page Styles
   ============================================================================ */

.guide-page {
  padding: 2rem 1rem;
  padding-top: 8rem; /* Account for fixed navigation header */
  min-height: 80vh;
}

@media (min-width: 768px) {
  .guide-page {
    padding-top: 9rem;
  }
}

@media (min-width: 1024px) {
  .guide-page {
    padding-top: 10rem;
  }
}

.guide-content-wrapper {
  max-width: 65rem;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure all content within the wrapper respects its boundaries */
.guide-content-wrapper > * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Breadcrumb */
.guide-breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #6b7280);
  margin-bottom: 1.5rem;
}

.guide-breadcrumb a {
  color: var(--color-primary, #2563eb);
  text-decoration: none;
}

.guide-breadcrumb a:hover {
  text-decoration: underline;
}

/* Header */
.guide-header {
  margin-bottom: 3rem;
}

.guide-category {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #2563eb);
  margin-bottom: 0.5rem;
}

.guide-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-primary, #111827);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .guide-header h1 {
    font-size: 3rem;
  }
}

.guide-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary, #6b7280);
  line-height: 1.6;
  margin: 0;
}

/* Table of Contents - Mobile */
.guide-toc-mobile {
  background: var(--color-gray-50, #f9fafb);
  border-left: 4px solid var(--color-primary, #2563eb);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

@media (min-width: 1024px) {
  .guide-toc-mobile {
    display: none;
  }
}

.guide-toc-mobile h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--color-text-primary, #111827);
}

.guide-toc-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-toc-mobile li a {
  color: var(--color-primary, #2563eb);
  text-decoration: none;
  font-size: 0.875rem;
}

.guide-toc-mobile li a:hover {
  text-decoration: underline;
}

/* Article Content */
.guide-article {
  line-height: 1.7;
  color: var(--color-text-primary, #111827);
  width: 100%;
  max-width: 100%;
}

.guide-section {
  margin-bottom: 0.75rem;
  scroll-margin-top: 2rem;
  width: 100%;
  max-width: 100%;
}

/* Ensure all direct children in guide sections are properly constrained */
.guide-section > *,
.guide-article > * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Center and constrain any unstyled divs within guide sections */
.guide-section > div:not(.guide-image-wrapper):not(.guide-info-box):not(.guide-table-wrapper):not(.guide-phases-grid):not(.guide-industries-grid):not(.guide-steps-list):not(.guide-resources-list):not(.guide-cta):not(.guide-related):not(.guide-faq-section),
.guide-article > div:not(.guide-image-wrapper):not(.guide-info-box):not(.guide-table-wrapper):not(.guide-phases-grid):not(.guide-industries-grid):not(.guide-steps-list):not(.guide-resources-list):not(.guide-cta):not(.guide-related):not(.guide-faq-section),
.guide-section > section:not(.guide-faq-section),
.guide-article > section:not(.guide-faq-section) {
  max-width: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.guide-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-primary, #111827);
  margin: 0 0 1.5rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
  max-width: 100%;
  width: 100%;
}

.guide-section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.guide-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary, #111827);
  margin: 2rem 0 1rem 0;
  max-width: 100%;
  width: 100%;
}

.guide-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary, #111827);
  margin: 1.5rem 0 0.75rem 0;
  max-width: 100%;
  width: 100%;
}

.guide-section p {
  margin: 0 0 1rem 0;
  color: var(--color-text-primary, #111827);
  max-width: 100%;
  width: 100%;
}

.guide-section ul,
.guide-section ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  max-width: 100%;
  width: 100%;
}

.guide-section li {
  margin: 0.5rem 0;
}

.guide-section strong {
  font-weight: 600;
  color: var(--color-text-primary, #111827);
}

/* Links */
.guide-link {
  color: var(--color-primary, #2563eb);
  text-decoration: none;
  font-weight: 600;
}

.guide-link:hover {
  text-decoration: underline;
}

/* Images */
.guide-image-wrapper {
  margin: 2rem 0;
  max-width: 42rem; /* Limit wrapper to same max-width as image */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.guide-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
  max-width: 100%; /* Image fills wrapper, wrapper has max-width */
  object-fit: contain;
}

.guide-image-caption {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #6b7280);
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
  max-width: 42rem; /* Match image max-width */
  width: 100%;
}

/* Ensure all images in guide content display properly */
.guide-content img,
.guide-content-wrapper img {
  max-width: 42rem; /* Limit to max-w-2xl equivalent (672px) */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Center images */
  border-radius: 0.5rem;
}

/* Images within guide sections should also be constrained */
.guide-section img,
.guide-article img {
  max-width: 42rem;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto; /* Add vertical margin and center */
  border-radius: 0.5rem;
}

/* Ensure images within unstyled divs are also centered */
.guide-section > div img,
.guide-article > div img {
  max-width: 42rem;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 0.5rem;
}

/* Center paragraphs within unstyled divs */
.guide-section > div p,
.guide-article > div p {
  max-width: 100%;
  width: 100%;
  margin: 1rem 0;
}

.guide-content img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

.guide-content img[loading="lazy"].loaded {
  opacity: 1;
}

/* Info Boxes */
.guide-info-box {
  background: var(--color-gray-50, #f9fafb);
  border-left: 4px solid var(--color-primary, #2563eb);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.guide-info-box-blue {
  background: #eff6ff;
  border-left-color: #2563eb;
}

.guide-info-box-yellow {
  background: #fef3c7;
  border-left-color: #f59e0b;
}

.guide-info-box-primary {
  background: #eff6ff;
  border-left-color: #2563eb;
}

.guide-info-box h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.guide-info-box ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.guide-info-box li {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

/* Equipment Callout (horizontal image + text) */
.guide-equipment-callout {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.guide-equipment-callout .guide-image-wrapper {
  flex-shrink: 0;
  width: 160px;
  margin: 0;
}

.guide-equipment-callout .guide-image {
  border-radius: 0.375rem;
}

.guide-equipment-callout .guide-equipment-text p {
  margin: 0 0 0.5rem 0;
}

@media (max-width: 540px) {
  .guide-equipment-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-equipment-callout .guide-image-wrapper {
    width: 120px;
  }
}

/* Notes */
.guide-note {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #6b7280);
  font-style: italic;
  margin-top: 1rem;
}

/* Tables */
.guide-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border, #e5e7eb);
  font-size: 0.875rem;
}

.guide-table thead {
  background: var(--color-gray-100, #f3f4f6);
}

.guide-table th {
  border: 1px solid var(--color-border, #e5e7eb);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-primary, #111827);
}

.guide-table td {
  border: 1px solid var(--color-border, #e5e7eb);
  padding: 0.75rem 1rem;
  color: var(--color-text-primary, #111827);
}

.guide-table tbody tr:nth-child(even) {
  background: var(--color-gray-50, #f9fafb);
}

.guide-table ul {
  margin: 0.25rem 0;
  padding-left: 1.25rem;
}

.guide-table li {
  margin: 0.25rem 0;
}

/* Phase Cards Grid */
.guide-phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .guide-phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-phase-card {
  background: var(--color-gray-50, #f9fafb);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.guide-phase-card h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.guide-phase-card p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.guide-phase-image {
  margin-top: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.guide-phase-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f9fafb;
}

/* Video Grid */
.guide-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .guide-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-video-card {
  background: var(--color-gray-50, #f9fafb);
  border-radius: 0.5rem;
  overflow: hidden;
}

.guide-video-card .guide-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.guide-video-card .guide-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-video-card .guide-video-caption {
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-gray-600, #4b5563);
  margin: 0;
}

.guide-video-card .guide-video-caption strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-gray-900, #111827);
  margin-bottom: 0.25rem;
}

/* Industries Grid */
.guide-industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .guide-industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-industry-card {
  background: var(--color-gray-50, #f9fafb);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.guide-industry-card h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.guide-industry-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.guide-industry-card li {
  margin: 0.25rem 0;
  color: var(--color-text-secondary, #6b7280);
}

/* Steps List */
.guide-steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.guide-step-item {
  border-left: 4px solid var(--color-primary, #2563eb);
  padding-left: 1.5rem;
}

.guide-step-item h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.guide-step-item p {
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary, #6b7280);
}

/* Resources List */
.guide-resources-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.guide-resource-card {
  background: var(--color-gray-50, #f9fafb);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.guide-resource-card h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.guide-resource-card p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.guide-resource-meta {
  font-size: 0.75rem;
  color: var(--color-text-tertiary, #9ca3af);
  margin: 0;
}

/* CTA Section */
.guide-cta {
  background: #eff6ff;
  border-left: 4px solid var(--color-primary, #2563eb);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0.5rem;
}

.guide-cta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--color-text-primary, #111827);
}

.guide-cta p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary, #6b7280);
}

.guide-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .guide-cta-buttons {
    flex-direction: row;
  }
}

/* FAQ Section */
.guide-faq-section {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.guide-faq-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text-primary, #111827);
  margin: 0 0 2rem 0;
}

.guide-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.guide-faq-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.guide-faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary, #111827);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  transition: color 0.2s ease;
}

.guide-faq-question::-webkit-details-marker {
  display: none;
}

.guide-faq-question::marker {
  display: none;
}

.guide-faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary, #2563eb);
  transition: transform 0.2s ease;
}

.guide-faq-item[open] .guide-faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}

.guide-faq-question:hover {
  color: var(--color-primary, #2563eb);
}

.guide-faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-text-secondary, #4b5563);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.guide-faq-answer p {
  margin: 0;
}

.guide-faq-answer a {
  color: var(--color-primary, #2563eb);
  text-decoration: underline;
}

.guide-faq-answer a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .guide-faq-section {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .guide-faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .guide-faq-question {
    font-size: 1rem;
    padding: 1rem 1.25rem 1rem 1.25rem;
    padding-right: 2.5rem;
  }

  .guide-faq-question::after {
    right: 1.25rem;
  }

  .guide-faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Related Guides */
.guide-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.guide-related h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--color-text-primary, #111827);
}

.guide-related-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .guide-related-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-related-links .guide-link {
  display: block;
  font-weight: 600;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--color-primary, #2563eb);
  color: white;
  border: 1px solid var(--color-primary, #2563eb);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover, #1d4ed8);
  border-color: var(--color-primary-hover, #1d4ed8);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary, #111827);
  border: 1px solid var(--color-border, #e5e7eb);
}

.btn-secondary:hover {
  background-color: var(--color-gray-100, #f3f4f6);
  border-color: var(--color-gray-300, #d1d5db);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .guide-header h1 {
    font-size: 2rem;
  }

  .guide-description {
    font-size: 1.125rem;
  }

  .guide-section h2 {
    font-size: 1.75rem;
  }
}

/* ============================================================================
   Guide Side Navigation
   ============================================================================ */

/* Toggle Button - Visible from xl (1280px) to 3xl (1800px) */
.guide-nav-toggle {
  display: none;
}

@media (min-width: 1280px) {
  .guide-nav-toggle {
    display: flex;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 50;
    width: 2.5rem;
    height: 4rem;
    border-radius: 0 1.5rem 1.5rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-right: 1px solid rgba(29, 78, 216, 0.3);
    box-shadow: 
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06),
      0 0 0 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
  }

  .guide-nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .guide-nav-toggle:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 
      0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 4px 6px -2px rgba(0, 0, 0, 0.05),
      0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(-50%) translateX(2px);
  }

  .guide-nav-toggle:hover::before {
    opacity: 1;
  }

  .guide-nav-toggle:active {
    transform: translateY(-50%) translateX(1px);
    box-shadow: 
      0 2px 4px -1px rgba(0, 0, 0, 0.1),
      0 1px 2px -1px rgba(0, 0, 0, 0.06);
  }
}

@media (min-width: 1800px) {
  .guide-nav-toggle {
    display: none;
  }
}

body.guide-nav-open .guide-nav-toggle {
  left: 18rem;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.guide-nav-toggle-icon {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
  display: block;
  overflow: visible;
  color: white;
}

.guide-nav-toggle-icon,
.guide-nav-toggle-icon * {
  stroke: white !important;
  fill: none !important;
}

.guide-nav-toggle-arrow {
  stroke: white !important;
  fill: none !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke;
  display: block;
}

.guide-nav-toggle:hover .guide-nav-toggle-icon {
  transform: scale(1.1);
}

/* Overlay - Only on xl screens when open */
.guide-nav-overlay {
  display: none;
}

@media (min-width: 1280px) {
  .guide-nav-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 35;
    pointer-events: none;
  }
}

@media (min-width: 1800px) {
  .guide-nav-overlay {
    display: none !important;
  }
}

.guide-nav-overlay-visible {
  display: block;
  pointer-events: auto;
}

/* Side Navigation */
.guide-side-nav {
  display: none;
}

@media (min-width: 1280px) {
  .guide-side-nav {
    display: block;
    position: fixed;
    left: 1rem;
    top: 6rem;
    width: 18rem;
    z-index: 45;
    pointer-events: none;
    transition: transform 0.3s ease-in-out;
    bottom: 2rem; /* Stop before footer */
    transform: translateX(-100%); /* Start closed */
  }
}

@media (min-width: 1800px) {
  .guide-side-nav {
    transform: translateX(0); /* Always open on very large screens */
    pointer-events: auto;
  }
}

.guide-side-nav-open {
  transform: translateX(0) !important;
  pointer-events: auto;
}

.guide-side-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.guide-side-nav-content {
  width: 100%;
  padding: 2rem 1.5rem 2rem 0;
}

.guide-side-nav-content > div {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(229, 231, 235, 0.5);
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(100vh - 10rem);
  height: fit-content;
  max-width: 100%;
  overflow-x: hidden;
}

/* Side Nav Header */
.guide-side-nav-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.guide-side-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0 0 0.75rem 0;
}

/* Progress Bar */
.guide-side-nav-progress-wrapper {
  position: relative;
}

.guide-side-nav-progress-track {
  height: 0.375rem;
  background: rgba(229, 231, 235, 0.6);
  border-radius: 9999px;
  overflow: hidden;
}

.guide-side-nav-progress-bar {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  border-radius: 9999px;
  transition: width 0.3s ease-out;
  width: 0%;
}

/* Navigation List Container */
.guide-side-nav nav[aria-label="Page sections"] {
  background: white;
}

/* Navigation List */
.guide-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
}

.guide-nav-list li {
  margin: 0;
  background: white;
}

/* Navigation Links */
.guide-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  width: 100%;
  text-decoration: none;
  color: #374151;
  background: white;
}

.guide-nav-link:hover {
  color: #2563eb;
  background: #f9fafb;
}

.guide-nav-link-active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Active Indicator */
.guide-nav-indicator {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.25rem;
  height: 2rem;
  background: #2563eb;
  border-radius: 0 0.25rem 0.25rem 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.guide-nav-link-active .guide-nav-indicator {
  opacity: 1;
}

/* Section Number */
.guide-nav-number {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
  background: #f3f4f6;
  color: #4b5563;
}

.guide-nav-link:hover .guide-nav-number {
  background: #eff6ff;
  color: #2563eb;
}

.guide-nav-number-active {
  background: #2563eb;
  color: white;
}

/* Section Label */
.guide-nav-label {
  flex: 1;
  text-align: left;
  line-height: 1.375;
}

/* Don't adjust content when nav is open - it overlays instead */

