/* ============================================================
   Public homepage — centered page shell, left-aligned columns
   (matches reference: content block centered on wide screens;
    text/buttons left-aligned inside the left column — NOT
    text-align:center, and NOT stuck to the viewport edge)
   ============================================================ */

body.public-home {
  --public-max: 1200px;
  --public-gutter: 2rem; /* 32px */
}

body.public-home .public-main {
  padding: 0 !important;
}

body.public-home .public-content.container-fluid,
body.public-home .public-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Centered content shell (same as reference mockup) */
body.public-home .gov-header-inner,
body.public-home .gov-horizontal-nav-inner,
body.public-home .gov-verification-inner,
body.public-home .gov-footer-inner,
body.public-home .public-hero-inner,
body.public-home .public-home-body {
  max-width: var(--public-max) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--public-gutter) !important;
  padding-right: var(--public-gutter) !important;
  box-sizing: border-box !important;
}

.public-home {
  width: 100%;
  text-align: left;
}

.public-home .public-hero-copy,
.public-home .public-hero-title,
.public-home .public-hero .lead,
.public-home .public-kicker,
.public-home .public-lede-copy,
.public-home .public-lede-copy h2,
.public-home .public-lede-copy p,
.public-home .public-app-card,
.public-home .public-app-card h3,
.public-home .public-app-card p,
.public-home .public-home-panel-item,
.public-home .public-home-panel-item h2,
.public-home .public-home-panel-item p,
.public-home .public-home-contact h2,
.public-home .public-contact-addr {
  text-align: left !important;
}

/* ---- Hero ---- */
.public-home > .public-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 55%, var(--olive) 100%) !important;
  color: #fff !important;
  padding: 4rem 0 0 !important;
  margin: 0 !important;
}

.public-home .public-hero-photos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.public-home .public-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.public-home .public-hero-photo.is-active {
  opacity: 1;
}

.public-home .public-hero-photo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(46, 81, 22, 0.82) 0%,
      rgba(63, 109, 31, 0.78) 45%,
      rgba(91, 122, 52, 0.84) 100%);
}

.public-home .public-hero-inner {
  position: relative;
  z-index: 2;
}

.public-home .public-hero-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  align-items: center;
}

.public-home .public-hero-copy {
  justify-self: start;
  max-width: 32.5rem; /* ~520px */
  width: 100%;
  margin: 0 !important;
}

.public-home .public-kicker {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.5rem;
  margin: 0 0 1rem !important;
  color: var(--gold-bright) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
  font-weight: 700;
}

.public-home .public-hero-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  max-width: 32.5rem;
  margin: 0 0 1.1rem !important;
  letter-spacing: -0.02em;
}

.public-home .public-hero-em {
  font-style: normal !important;
  color: var(--gold-bright) !important;
}

.public-home .public-hero .lead {
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #e8efe3 !important;
  max-width: 28.75rem;
  margin: 0 !important;
}

.public-home .public-hero-ctas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0.85rem;
  margin: 1.75rem 0 0 !important;
}

.public-home .public-hero-ctas .btn,
.public-home .public-hero .btn {
  width: auto !important;
  margin: 0 !important;
}

.public-home .public-radar-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 0.5rem !important;
}

.public-home .public-radar {
  width: 100%;
  max-width: 380px;
  margin: 0 auto !important;
}

.public-home .public-hero-wave {
  margin-top: 2.5rem;
  line-height: 0;
}

.public-home .public-hero-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ---- Lede + QR card ---- */
.public-home .public-lede {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important;
  column-gap: 3rem;
  row-gap: 1.75rem;
  align-items: start;
  padding: 3rem 0 2.5rem !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--line);
}

.public-home .public-lede-copy {
  justify-self: start;
  max-width: 26rem;
  width: 100%;
  margin: 0 !important;
}

.public-home .public-lede-copy h2 {
  color: var(--forest) !important;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem) !important;
  margin: 0 0 0.85rem !important;
}

.public-home .public-lede-copy p {
  color: var(--slate) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin: 0 0 0.85rem !important;
}

.public-home .public-lede-copy p:last-child {
  margin-bottom: 0 !important;
}

.public-home .public-app-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.25rem;
  width: 100%;
  margin: 0 !important;
  padding: 1.4rem 1.5rem !important;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold) !important;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(27, 42, 56, 0.06);
}

.public-home .public-app-card-copy {
  min-width: 0;
}

.public-home .public-app-card h3 {
  color: var(--forest) !important;
  margin: 0 0 0.35rem !important;
}

.public-home .public-app-card p {
  color: var(--slate) !important;
  margin: 0 0 0.4rem !important;
  font-size: 0.85rem;
  line-height: 1.5;
}

.public-home .public-app-card p:last-child {
  margin-bottom: 0 !important;
}

.public-home .public-app-qr {
  flex: none;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 !important;
}

.public-home .public-home-panels {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-home .public-home-panel-item {
  padding: 2rem 1.5rem;
}

.public-home .public-panel-icon {
  display: block;
  margin: 0 0 1rem !important;
}

.public-home .public-home-contact {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 2rem 0 0 !important;
}

.public-home .public-contact-links {
  justify-content: flex-start !important;
}

@media (min-width: 768px) {
  .public-home .public-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  }

  .public-home .public-radar-wrap {
    order: initial !important;
  }

  .public-home .public-lede {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important;
  }

  .public-home .public-hero-ctas {
    flex-direction: row !important;
    justify-content: flex-start !important;
  }

  .public-home .public-hero-ctas .btn {
    width: auto !important;
  }
}

@media (max-width: 991.98px) {
  .public-home .public-home-panels {
    grid-template-columns: 1fr;
  }

  .public-home .public-home-panel-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .public-home .public-home-panel-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 767.98px) {
  body.public-home {
    --public-gutter: 1.25rem;
  }

  .public-home > .public-hero {
    padding: 2.25rem 0 0 !important;
  }

  .public-home .public-hero-inner {
    grid-template-columns: 1fr !important;
  }

  .public-home .public-hero-copy {
    max-width: none;
  }

  .public-home .public-radar-wrap {
    order: 2;
    justify-content: center !important;
  }

  .public-home .public-radar {
    max-width: 240px;
  }

  .public-home .public-lede {
    grid-template-columns: 1fr !important;
  }

  .public-home .public-lede-copy {
    max-width: none;
  }

  .public-home .public-hero-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .public-home .public-hero-ctas .btn {
    width: 100% !important;
  }

  .public-home .public-home-contact {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
