/* ============================================================
   SUBPAGE COMMON — Editorial Hero, Overview Strip, Breadcrumb
   Cool-tone variation of shopping-detail-redesign
   ============================================================ */

/* ── Navbar solid (subpages) ── */
.navbar--solid {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-glass);
}
.nav-link.active {
  color: var(--color-cool-accent-light);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-cool-accent);
}


/* ============================================================
   EDITORIAL HERO
   ============================================================ */
.sub-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  overflow: hidden;
}
.sub-hero--compact {
  height: 35vh;
  min-height: 260px;
}

.sub-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-cool-bg);
}
.sub-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: subHeroZoom 18s ease-out forwards;
}
.sub-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.1) 30%,
    rgba(0,0,0,0.6) 85%,
    rgba(0,0,0,0.85) 100%
  );
}

@keyframes subHeroZoom {
  to { transform: scale(1); }
}

/* Slideshow hero — crossfade multiple images */
.sub-hero-bg--slideshow img.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease, transform 6s ease-out;
  animation: none;
}
.sub-hero-bg--slideshow img.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.sub-hero-content {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--container-px);
}
.sub-hero--compact .sub-hero-content {
  bottom: 10%;
}
@media (min-width: 768px) {
  .sub-hero-content { padding: 0 var(--container-px-md); }
}
@media (min-width: 1024px) {
  .sub-hero-content { padding: 0 var(--container-px-lg); }
}
@media (max-width: 767px) {
  .sub-hero-content { bottom: 18%; }
}

/* Breadcrumb inside hero */
.sub-hero-breadcrumb {
  font-size: var(--text-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cool-accent-light);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: subFadeUp 1s 0.3s forwards;
}
.sub-hero-breadcrumb span {
  color: rgba(255,255,255,0.35);
}

/* Title — Bold sans-serif */
.sub-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: subFadeUp 1s 0.5s forwards;
}
.sub-hero-title em {
  font-style: normal;
  color: var(--color-cool-accent-light);
}

/* Subtitle */
.sub-hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  max-width: 480px;
  line-height: 1.7;
  opacity: 0;
  animation: subFadeUp 1s 0.7s forwards;
}

/* Scroll indicator — hidden on compact sub-hero */
.sub-hero--compact .sub-hero-scroll {
  display: none;
}
.sub-hero-scroll {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: subFadeUp 1s 1s forwards;
}
.sub-hero-scroll span {
  font-size: var(--text-overline);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.sub-hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-cool-accent-light), transparent);
  animation: subScrollPulse 2s infinite;
}

@keyframes subScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes subFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   OVERVIEW STRIP
   ============================================================ */
.sub-overview-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--color-border-glass);
  background: var(--color-bg);
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .sub-overview-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sub-overview-item {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--color-border-glass);
  transition: background 0.4s;
}
@media (min-width: 768px) {
  .sub-overview-item { padding: 2rem; }
}
.sub-overview-item:last-child { border-right: none; }
.sub-overview-item:nth-child(2) {
  border-right: none;
}
@media (min-width: 768px) {
  .sub-overview-item:nth-child(2) { border-right: 1px solid var(--color-border-glass); }
}
.sub-overview-item:hover {
  background: rgba(255,255,255,0.02);
}

.sub-overview-label {
  font-size: var(--text-overline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cool-muted);
  margin-bottom: 0.5rem;
}

.sub-overview-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.sub-overview-value a {
  color: var(--color-cool-accent-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.sub-overview-value a:hover {
  border-bottom-color: var(--color-cool-accent-light);
}


/* ============================================================
   SECTION TAG (editorial style)
   ============================================================ */
.sub-section-tag {
  font-size: var(--text-overline);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-cool-accent-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sub-section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-cool-accent);
}


/* ============================================================
   BREADCRUMB (in-content)
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-overline);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-sep { color: #999; }
.breadcrumb-current { color: #666; }
