/*
 * detail-hero — converted from src/components/ui/DetailHero.module.css
 * Declarations are unchanged; only class selectors were renamed.
 */
.np-detail-hero__hero {
  position: relative;
  display: flex;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
}

.np-detail-hero__hero-photo {
  min-height: 600px;
}

.np-detail-hero__bg-image {
  object-fit: cover;
}

.np-detail-hero__tag-image {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 200px;
}

.np-detail-hero__tag-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .np-detail-hero__hero-photo {
    min-height: 300px;
  }

  .np-detail-hero__tag-image {
    width: 140px;
    top: 16px;
    right: 16px;
  }
}

.np-detail-hero__compact {
  min-height: 300px;
}

.np-detail-hero__placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.06) 10px,
    rgba(255, 255, 255, 0.06) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.np-detail-hero__placeholder span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.np-detail-hero__overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 56px 40px 52px;
  pointer-events: none;
}

.np-detail-hero__content {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.np-detail-hero__tag {
  display: inline-block;
  background: var(--green2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.np-detail-hero__content h1 {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  max-width: 760px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.np-detail-hero__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-top: 10px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.np-detail-hero__download-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.np-detail-hero__download-link:hover {
  opacity: 0.95;
}

@media (max-width: 640px) {
  .np-detail-hero__overlay {
    padding: 40px 20px 32px;
  }

  .np-detail-hero__content h1 {
    font-size: clamp(26px, 8vw, 34px);
    max-width: 100%;
  }

  .np-detail-hero__sub {
    font-size: 14px;
    max-width: 100%;
  }

  .np-detail-hero__download-link {
    font-size: 13px;
  }
}
