/**
 * hero.css — Immature Comics
 * Page hero section: heading, italic orange subheading, body, character image right
 * Block type: page_hero
 * Region: .page-hero-region
 */


/* ─────────────────────────────────────────────────────────────
   HERO WRAPPER
───────────────────────────────────────────────────────────── */

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}


/* ─────────────────────────────────────────────────────────────
   LEFT — text content
───────────────────────────────────────────────────────────── */

.page-hero__content {
  flex: 1;
  max-width: 460px;
  z-index: 2;
}

.page-hero__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #0a0a0a;
  margin: 0 0 0.2rem;
}

.page-hero__subheading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: #e8671a;
  margin: 0 0 1rem;
  line-height: 1.15;
}

/* Orange underline accent below subheading */
.page-hero__subheading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #e8671a;
  margin-top: 0.6rem;
}

.page-hero__body {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
  max-width: 440px;
}

.page-hero__body p {
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   RIGHT — character illustration
───────────────────────────────────────────────────────────── */

.page-hero__image {
  flex-shrink: 0;
  width: 640px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.page-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  /* Fade bottom edge into page background */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}


/* ─────────────────────────────────────────────────────────────
   FILTER BAR — sits below hero, above content grid
   (.hero-filter-bar not part of block — separate block or
   Views exposed filters styled here for proximity)
───────────────────────────────────────────────────────────── */

.hero-filter-bar {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
}

.hero-filter-bar select {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a0a0a;
  background: transparent;
  border: none;
  cursor: pointer;
  padding-right: 1.25rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230a0a0a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.hero-filter-bar select:focus {
  outline: none;
  color: #e8671a;
}


/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .page-hero {
    padding: 2rem 1.5rem 1.5rem;
    min-height: unset;
  }

  .page-hero__heading {
    font-size: 2.5rem;
  }

  .page-hero__subheading {
    font-size: 1.5rem;
  }

  .page-hero__image {
    width: 220px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 0;
  }

  .page-hero__content {
    max-width: 100%;
  }

  .page-hero__heading {
    font-size: 2rem;
  }

  .page-hero__image {
    width: 100%;
    margin-top: 1rem;
    justify-content: flex-end;
  }

  .page-hero__image img {
    width: 100%;
    margin-left: auto;
  }

  .hero-filter-bar {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
}
