@layer components {
  .hero {
    padding: 2rem 0;
    height: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
    position: relative;
  }

  .hero.home .title {
    --pico-font-weight: 100 !important;
    --pico-line-height: 1.2 !important;
    --pico-font-size: 3rem !important;
    padding-inline: 4rem;
    text-align: center;
    line-height: 1.6 !important;
  }

  .hero.home .title h2 {
    --pico-font-size: 2.5rem !important;
    font-weight: 400 !important;
  }

  .hero.home .title p {
    color: var(--pico-secondary-inverse) !important;
    font-size: 1.5rem !important;
  }

  .hero h1 {
    --pico-line-height: 1.5 !important;
  }

  .hero button {
    --pico-border-radius: 2rem;
    --pico-typography-spacing-vertical: 1.5rem;
  }

  .hero .image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.8);
  }
}