/* Shared title-band background; keep this stylesheet after page-specific styles. */
main .page-heading,
main header.story-heading,
main header.chirimon-heading {
  background-color: #edf7fa;
  background-image: linear-gradient(180deg, #ffffff99, #ffffff44 32%, #ffffff00 62%), url('assets/header-coast-clean.png?v=20261106');
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 280px;
  padding: 18px 26px 100px;
  align-items: flex-start;
}

main .page-heading h1,
main header.story-heading h1,
main header.chirimon-heading h1 { text-shadow: 0 1px 8px #ffffffc9; }

main .story-introduction { margin-bottom: 28px; }

@media (max-width: 700px) {
  main .page-heading,
  main header.story-heading,
  main header.chirimon-heading {
    min-height: 260px;
    padding: 16px 20px 110px;
    justify-content: flex-start;
    background-size: auto 100%;
    background-position: left 60px;
  }
  main .page-heading:has(.search-label) { min-height: 340px; }
}
