/* Versioned Work hero layout. A unique filename prevents stale Replit/browser CSS. */
.centered-work-hero > .wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.centered-work-hero .work-hero-content {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.centered-work-hero .work-hero-content > h1 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 940px !important;
  min-height: 0 !important;
  margin: 0 auto 20px !important;
  color: #fff !important;
  text-align: center !important;
  line-height: 1.08 !important;
}

.centered-work-hero .work-hero-content > .lead {
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 auto 30px !important;
  text-align: center !important;
  line-height: 1.55 !important;
}

.centered-work-hero .work-hero-content > .hero-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: auto !important;
  margin: 0 auto !important;
}

.centered-work-hero .work-hero-content > .hero-actions .btn {
  width: auto !important;
  min-width: 236px !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 899px) {
  .centered-work-hero .work-hero-content {
    max-width: 760px !important;
  }

  .centered-work-hero .work-hero-content > h1 {
    max-width: 720px !important;
    margin-bottom: 18px !important;
  }

  .centered-work-hero .work-hero-content > .lead {
    max-width: 620px !important;
    margin-bottom: 24px !important;
  }

  .centered-work-hero .work-hero-content > .hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .centered-work-hero .work-hero-content > .hero-actions .btn {
    width: min(100%, 340px) !important;
    min-width: 0 !important;
  }
}
