/**
 * Global styles: West Virginia OneStop theme, animations, app shell.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fixed NavBar — reserve space when scrolling to #anchors / focus rings (matches NavBar layout spacer + safe area) */
html {
  /* Loose match to portal nav: toolbar clamp + app bar pt + safe area */
  scroll-padding-top: max(12px, calc(clamp(60px, 6.25svh, 84px) + env(safe-area-inset-top, 0px)));
  overflow-x: clip;
  max-width: 100%;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f4f8;
  color: #00146c;
  overflow-x: clip;
  max-width: 100%;
}

#root {
  max-width: 100%;
  overflow-x: clip;
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Section entrance animations */
@keyframes cms-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cms-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cms-section-animate {
  animation: cms-fade-in-up 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cms-section-animate--fade {
  animation: cms-fade-in 0.4s ease-out forwards;
}

/* Stagger children (e.g. cards) */
.cms-stagger > * {
  opacity: 0;
  animation: cms-fade-in-up 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cms-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.cms-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.cms-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.cms-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.cms-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.cms-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.cms-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.cms-stagger > *:nth-child(8) { animation-delay: 0.4s; }
.cms-stagger > *:nth-child(9) { animation-delay: 0.45s; }
.cms-stagger > *:nth-child(n+10) { animation-delay: 0.5s; }

/* App shell */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: clip;
  min-width: 0;
}

/* Landing hero agencies list — hide scrollbars; use “More” control instead */
.landing-hero-agency-scroll {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.landing-hero-agency-scroll::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Agency carousel: cards enter from the right into place (stagger via inline animation-delay) */
@keyframes landing-agency-card-enter-kf {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.landing-agency-card-enter {
  animation: landing-agency-card-enter-kf 0.48s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@media (prefers-reduced-motion: reduce) {
  .landing-agency-card-enter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/*# sourceMappingURL=main.4a5c8c7afa640d63774f.css.map*/