.sub-hero-strip {
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.5) 0%, rgba(46, 16, 101, 0.9) 100%);
  padding: 48px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.sub-hero-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(236, 72, 153, 0.04) 80px, rgba(236, 72, 153, 0.04) 81px);
  pointer-events: none;
}

.sub-hero-strip h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-family: "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}

.sub-hero-strip p {
  color: var(--muted);
  margin-top: 12px;
  font-family: "Consolas", monospace;
  font-size: 13px;
  position: relative;
}

.sub-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.sub-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sub-sidebar nav {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: rgba(76, 29, 149, 0.2);
}

.sub-sidebar h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: "Consolas", monospace;
}

.sub-sidebar a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.sub-sidebar a:hover {
  color: var(--primary);
}

.sub-body h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 36px 0 14px;
  font-family: "Arial Narrow", sans-serif;
}

.sub-body h2:first-child {
  margin-top: 0;
}

.sub-body p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.sub-body ul {
  margin: 16px 0;
  padding-left: 20px;
}

.sub-body li {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 14px;
}

.sub-img-rail {
  display: flex;
  gap: 20px;
  margin: 28px 0;
  flex-wrap: wrap;
  overflow: hidden;
  max-width: 100%;
}

.sub-img-rail img {
  width: 100%;
  max-width: 500px;
  max-height: 320px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
}

.sub-callout {
  background: rgba(236, 72, 153, 0.1);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
  font-family: "Consolas", monospace;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .sub-layout {
    grid-template-columns: 1fr;
  }

  .sub-sidebar {
    position: static;
  }

  .sub-img-rail img {
    max-width: 100%;
  }
}
