/* Mobile-only process carousel (1x1 square, auto-scroll) */
@media (max-width: 768px) {
  .process-slideshow {
    width: calc(100% - 40px);
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-sizing: border-box;
    /* remove outer panel visuals coming from desktop styles */
    box-shadow: none !important;
    padding: 0 !important;
  }

  .process-slides {
    display: flex;
    transition: transform .45s ease;
    will-change: transform;
    width: 100% !important;
    box-sizing: border-box;
  }

  .process-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 6px;
    max-width: 100% !important;
    /* ensure slide wrapper is transparent so only inner card shows */
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Make each slide content occupy a square area */
  .process-step {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  /* Hide arrows on mobile carousel */
  .process-arrow { display: none !important; }

  /* Center and style the indicators */
  .process-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding-bottom: 8px;
    position: relative;
    z-index: 5;
    background: transparent !important;
    box-shadow: none !important;
  }

  .process-indicator {
    width: 10px;
    height: 10px;
    background: #e3e3e3;
    border-radius: 50%;
    display: inline-block;
    transition: background .2s ease, transform .1s ease;
  }

  .process-indicator.active {
    background: #6b4e2f; /* site accent */
    transform: scale(1.05);
  }

  /* Make headings inside the slide a little larger for mobile readability */
  .process-step h4 { font-size: 20px; margin-bottom: 10px; color: #6b4e2f; }
  .process-step p  { font-size: 16px; color: #4d4d4d; line-height: 1.5; text-align: center; max-width: 92%; }

  /* Ensure the content container scales and has readable spacing */
  .process-step-content { font-size: 16px !important; line-height: 1.5 !important; padding: 0 6px !important; }

  /* Hide the step number column which can push content off-screen */
  .process-step-number { display: none !important; }

  /* Ensure step content is visible and not clipped */
  .process-step-content { width: 100% !important; box-sizing: border-box; }

  /* Remove left/right extra padding that could cause overflow */
  .process-slide { padding-left: 6px; padding-right: 6px; }
}
