.sub-hero {
  background: var(--primary);
  padding: 48px 24px;
  text-align: center;
}

.sub-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 0.06em;
  transform: scaleX(1.06);
  color: var(--bg);
}

.sub-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

.sub-rail {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sub-rail__nav {
  list-style: none;
  border-left: 2px solid var(--accent);
}

.sub-rail__nav li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.sub-rail__nav li a:hover {
  color: var(--accent);
  filter: invert(1);
}

.sub-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  margin: 32px 0 12px;
}

.sub-body h2:first-child {
  margin-top: 0;
}

.sub-body p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
  color: var(--text);
}

.sub-img-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
  overflow: hidden;
  max-width: 100%;
}

.sub-img-band img {
  max-width: 100%;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: drop-shadow(3px 0 0 rgba(249, 115, 22, 0.4)) drop-shadow(-3px 0 0 rgba(34, 211, 238, 0.4));
}

.sub-callout {
  padding: 20px;
  margin: 24px 0;
  border: 1px dashed var(--primary);
  background: rgba(34, 211, 238, 0.04);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .sub-layout {
    grid-template-columns: 1fr;
  }

  .sub-rail {
    position: static;
  }

  .sub-img-band {
    grid-template-columns: 1fr;
    max-width: 100%;
    overflow: hidden;
  }

  .sub-img-band img {
    max-width: 100%;
    max-height: 240px;
  }
}
