/*
 * Homepage entry stylesheet.
 *
 * Shared homepage composition is currently contained in core component files.
 * This entry adds the reusable blog-preview presentation used near the footer
 * and restores the compact mobile hero composition.
 */

@import url('../14-posts.css?v=20260822.4') layer(pages);

@layer overrides {
  /*
   * Mobile homepage hero
   *
   * Keep the production header and navigation while retaining the compact
   * reference composition below it. These rules intentionally override the
   * generic mobile stacking behaviour used by other page families.
   */
  @media (max-width: 640px) {
    .sh-hero--home .sh-hero__title {
      font-size: clamp(2.25rem, 9.3vw, 2.5rem);
      line-height: 1.06;
      letter-spacing: -0.035em;
    }

    .sh-hero--home .sh-hero__lead {
      width: min(100%, 32.5rem);
      margin-top: 1.375rem;
      font-size: 1.0625rem;
      line-height: 1.65;
    }

    .sh-hero--home .sh-hero__actions {
      margin-top: 1.625rem;
    }

    .sh-hero--home .sh-hero__actions .sh-button {
      width: auto;
      min-height: 3rem;
      padding-inline: 2.25rem;
    }

    .sh-hero--home .sh-hero__search {
      margin-top: 2rem;
    }

    .sh-hero--home .sh-hero__trust {
      align-items: center;
      flex-direction: row;
      gap: 0.75rem 1rem;
      margin-top: 1.625rem;
      padding-top: 1.375rem;
    }

    .sh-hero--home .sh-hero__trust-item {
      min-width: 0;
    }

    .sh-hero--home .sh-domain-chips {
      gap: 0.75rem;
      margin-top: 1.25rem;
    }

    .sh-hero--home .sh-domain-chips > li {
      min-width: 0;
      flex: 1 1 calc(50% - 0.75rem);
    }

    .sh-hero--home .sh-domain-chip {
      width: 100%;
      min-width: 0;
      justify-content: space-between;
      gap: 0.625rem;
      padding: 0.75rem 1rem;
    }

    .sh-hero--home .sh-domain-chip__tld {
      font-size: 0.9375rem;
    }

    .sh-hero--home .sh-domain-chip__price {
      font-size: 0.8125rem;
      white-space: nowrap;
    }
  }

  @media (max-width: 480px) {
    .sh-hero--home .sh-search-form {
      align-items: center;
      flex-direction: row;
      gap: 0.5rem;
      padding: 0.5rem 0.5rem 0.5rem 1.25rem;
      border-radius: var(--sh-radius-pill);
    }

    .sh-hero--home .sh-search-form__icon {
      display: grid;
    }

    .sh-hero--home .sh-search-form__input {
      width: auto;
      min-width: 0;
      min-height: 2.75rem;
      flex: 1;
      padding: 0 var(--sh-space-1);
      font-size: 0.96875rem;
    }

    .sh-hero--home .sh-search-form__button {
      width: auto;
      min-height: 2.75rem;
      padding-inline: 0.875rem;
      font-size: 0.9375rem;
    }

    .sh-hero--home .sh-domain-chips > li {
      flex-basis: calc(50% - 0.75rem);
    }
  }

  @media (max-width: 380px) {
    .sh-hero--home .sh-hero__title {
      font-size: clamp(2.125rem, 10.5vw, 2.25rem);
    }

    .sh-hero--home .sh-hero__lead {
      font-size: 1rem;
    }

    .sh-hero--home .sh-search-form {
      padding-left: 0.875rem;
    }

    .sh-hero--home .sh-search-form__icon {
      width: 1.125rem;
      height: 1.125rem;
    }

    .sh-hero--home .sh-search-form__button {
      gap: 0.375rem;
      padding-inline: 0.625rem;
      font-size: 0.875rem;
    }

    .sh-hero--home .sh-domain-chip {
      gap: 0.375rem;
      padding-inline: 0.625rem;
    }

    .sh-hero--home .sh-domain-chip__tld {
      font-size: 0.875rem;
    }

    .sh-hero--home .sh-domain-chip__price {
      font-size: 0.75rem;
    }
  }
}