/* Development Channels — Hero Sections */

/* Home page hero */
.home-hero {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}

.home-hero__media {
  position: relative;
  min-height: clamp(320px, 52vw, 520px);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 52vw, 520px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.55) 45%,
    rgba(26, 47, 107, 0.25) 100%
  );
}

.home-hero .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 1;
}

.home-hero__content {
  max-width: 640px;
  padding: 2rem 0;
  color: #fff;
  text-align: left;
}

.home-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fca5a5;
  margin-bottom: 0.75rem;
}

.home-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.home-hero__text {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-hero__btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.home-hero__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #e63946 0%, #c92d39 100%);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
}

.home-hero__btn--primary:hover {
  color: #fff;
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.45);
}

.home-hero__btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.home-hero__btn--secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

/* Category / inner page hero */
.page-hero {
  position: relative;
  min-height: clamp(260px, 38vw, 380px);
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(
      180deg,
      rgba(10, 22, 40, 0.15) 0%,
      rgba(10, 22, 40, 0.72) 100%
    ),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 0;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ce0000, #e63946 35%, #3b82f6 65%, #001b8e);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.1) 0%,
    rgba(10, 22, 40, 0.55) 55%,
    rgba(10, 22, 40, 0.82) 100%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero__content {
  padding: 2.5rem 0 2.25rem;
  color: #fff;
  text-align: left;
  max-width: 760px;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fca5a5;
  margin-bottom: 0.6rem;
}

.page-hero__title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .page-hero {
    background-image: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.2) 0%,
        rgba(10, 22, 40, 0.78) 100%
      ),
      var(--hero-image-mobile, var(--hero-image));
  }

  .home-hero__content {
    padding: 1.5rem 0;
  }

  .page-hero__content {
    padding: 2rem 0 1.75rem;
  }
}
