/* =============================================================================
   DPL page banner — the dark band at the top of the search results (H7) and, from batch 4, the category
   heading (C1). Our black and orange (G8), no gradient, no photo. Tokens: dpl-design-system.css.
   ============================================================================= */

.dpl-page-banner {
  background: var(--dpl-surface-dark);
  color: var(--dpl-on-dark);
  border-radius: var(--dpl-radius-card);
  padding: 32px 20px;
  display: grid;
  gap: 16px;
  justify-items: start;
}

.dpl-page-banner__title {
  font-family: var(--dpl-font-heading);
  font-weight: var(--dpl-weight-strong);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dpl-on-dark);
  margin: 0;
}

.dpl-page-banner__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--dpl-text-size);
  line-height: 1.5;
  margin: 0;
  max-width: 64ch;
}

/* The search field inside the banner: the same white pill as the header search (H6). */
.dpl-page-banner .template-search__search {
  width: 100%;
  max-width: 560px;
  margin: 0;
}

.dpl-page-banner .template-search__search .search {
  margin-top: 0;
}

.dpl-page-banner .field {
  --inputs-radius: var(--dpl-radius-pill);
}

.dpl-page-banner .field__input {
  background: var(--dpl-surface);
  color: var(--dpl-text);
  border-radius: var(--dpl-radius-pill);
  border: 1px solid transparent;
  min-height: var(--dpl-btn-height);
  padding-left: 22px;
  padding-right: 88px;
  box-shadow: none;
}

.dpl-page-banner .field:before,
.dpl-page-banner .field:after {
  border-radius: var(--dpl-radius-pill);
  box-shadow: none;
}

.dpl-page-banner .field__label {
  left: 22px;
  color: var(--dpl-text-muted);
}

.dpl-page-banner .field__button {
  color: var(--dpl-text);
}

.dpl-page-banner .predictive-search {
  color: var(--dpl-text);
}

.template-search__header {
  margin-bottom: 24px;
}

@media screen and (min-width: 750px) {
  .dpl-page-banner {
    padding: 48px 40px;
    gap: 20px;
  }

  .dpl-page-banner__title {
    font-size: 40px;
  }

  .template-search__header {
    margin-bottom: 32px;
  }
}
