/* SurvivalBest — scenario hub archives */

.sb-template-hub .sb-container-archive {
  max-width: none;
  padding: 0;
}

.sb-hub-hero {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.sb-hub-hero-overlay {
  min-height: 320px;
  background: linear-gradient(
    to top,
    rgba(20, 38, 28, 0.94) 0%,
    rgba(20, 38, 28, 0.55) 60%,
    rgba(20, 38, 28, 0.25) 100%
  );
  display: flex;
  align-items: flex-end;
}

.sb-hub-hero-inner {
  width: 100%;
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 48px 28px 40px;
  color: #fff;
}

.sb-hub-kicker {
  font-family: var(--sb-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sb-accent);
  font-size: 0.82rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.sb-hub-title {
  font-family: var(--sb-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 14px;
  font-weight: 700;
}

.sb-hub-intro {
  max-width: 58ch;
  margin: 0;
  color: #d5e0d5;
  font-size: 1.05rem;
  line-height: 1.55;
}

.sb-hub-filters {
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 20px 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sb-hub-filter {
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--sb-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sb-forest);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sb-hub-featured,
.sb-hub-all {
  max-width: var(--sb-max);
  margin: 0 auto;
  padding: 32px 28px 64px;
}

.sb-hub-section-title {
  font-family: var(--sb-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sb-forest);
  margin: 0 0 20px;
  font-weight: 700;
}

.sb-hub-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.sb-hub-featured-card {
  background: #fff;
  border-radius: var(--sb-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 38, 28, 0.08);
}

.sb-hub-featured-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.sb-hub-featured-link img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.sb-hub-featured-body {
  padding: 18px 20px 22px;
}

.sb-hub-featured-body h3 {
  font-family: var(--sb-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--sb-forest);
  font-weight: 700;
}

.sb-hub-featured-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sb-muted);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .sb-hub-hero-inner,
  .sb-hub-filters,
  .sb-hub-featured,
  .sb-hub-all {
    padding-left: 20px;
    padding-right: 20px;
  }
}