/* Home page — isolated stylesheet (inc/modules/Pages/assets/css/home.css).
   Loaded on the front page and on the symbolic "Home" page only.

   The home sections are styled by `assets/css/front-page.css`. This file only
   makes sure they look exactly the same when the template is rendered inside
   a WordPress page (the symbolic Home page), where the page container would
   otherwise change the rhythm of the sections. */

.hx-page__content .hx-section__title {
  font-size: clamp(1.5rem, 2.5vw, var(--hx-fs-3xl));
  margin: 0;
  color: var(--hx-brand-text);
}

.hx-page__content .hx-section__eyebrow {
  margin: 0 0 var(--hx-sp-2);
  color: var(--hx-brand-text);
}

.hx-page__content .hx-section__intro {
  margin-inline: 0;
}

.hx-page__content .hx-home-discovery__intro .hx-section__title {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  /* Same as the front page: the hero title keeps the ink colour, the brand
     colour stays reserved for the section titles. */
  color: var(--hx-ink);
}

.hx-page__content .hx-home-discovery,
.hx-page__content .hx-categories,
.hx-page__content .hx-home-trust,
.hx-page__content .hx-featured-products {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.hx-page__content .hx-categories {
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.hx-page__content .hx-home-trust {
  padding-block: var(--hx-sp-5);
}

@media (max-width: 767px) {
  .hx-page__content .hx-home-discovery {
    padding-block: 1.25rem;
  }
  .hx-page__content .hx-home-discovery__intro .hx-section__title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }
  .hx-page__content .hx-home-trust {
    padding-block: var(--hx-sp-4);
  }
}
