/* =============================================================================
   Alabama Signature Homes — home/index
   =============================================================================

   The homepage, app/views/home/index.html.php.

   .cta-panel__text is not here: it modifies .cta-panel, so it lives with the
   rest of that family in main.css components.

   Same house rules as main.css — no nesting, flat selectors, media queries
   inside the layer that owns them. Everything is wrapped in @layer: an
   unlayered rule would outrank even the utilities layer.
   ========================================================================== */

@layer pages {
  .home-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .home-about__cta {
    align-self: center;
    margin-block: var(--space-md);
  }

  @media (min-width: 768px) {
    .home-about__cta {
      align-self: flex-start;
    }
  }

  .about-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    background-color: var(--clr-primary-400);
    padding: var(--space-xs);
    margin: var(--space-xs);
    border: 1rem solid var(--clr-neutral-900);
  }

  .about-badge img {
    width: 4rem;
    object-fit: contain;
  }
}
