/* Shared hub layouts: index-hub, sector-hub (no template syntax in IDE) */
@media (max-width: 1199.98px) {
  .landing-nav-center,
  .landing-nav-actions { display: none !important; }
  .landing-mobile-menu { display: block !important; width: auto; text-align: right; }
  .landing-nav-bar { display: flex !important; justify-content: space-between !important; flex-wrap: nowrap; }
  .landing-brand { width: auto; justify-content: flex-start; }
}

.index-hub,
.sector-hub {
  padding: 3.5rem 0;
}

.index-hub__hero,
.sector-hub__hero,
.index-hub__stock,
.sector-hub__stock {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 1.15rem;
  background: rgba(255,255,255,0.045);
  box-shadow: 0 18px 70px rgba(0,0,0,0.18);
}

.index-hub__hero,
.sector-hub__hero {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.index-hub__eyebrow,
.sector-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(25,227,138,0.24);
  border-radius: 999px;
  background: rgba(25,227,138,0.08);
  color: var(--brand-accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.index-hub__eyebrow::before,
.sector-hub__eyebrow::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--brand-accent);
  box-shadow: 0 0 16px rgba(25,227,138,0.55);
}

.index-hub__title,
.sector-hub__title {
  max-width: 900px;
  margin: 1rem 0 0;
  color: var(--brand-text);
  font-weight: 900;
  line-height: 1.04;
}

.index-hub__title {
  font-size: clamp(2rem, 4.2vw, 4rem);
  letter-spacing: -0.055em;
}

.sector-hub__title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  letter-spacing: -0.045em;
}

.index-hub__lead,
.sector-hub__lead {
  max-width: 820px;
  margin: 1rem 0 0;
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.index-hub__pillrow,
.sector-hub__pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.index-hub__pill,
.sector-hub__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--brand-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.index-hub__pill:hover,
.sector-hub__pill:hover {
  border-color: rgba(25,227,138,0.32);
  color: var(--brand-accent);
}

.index-hub__stock,
.sector-hub__stock {
  padding: 1rem;
  height: 100%;
}

.index-hub__stock strong,
.sector-hub__stock strong {
  display: block;
  color: var(--brand-accent);
  font-size: 1.1rem;
  font-weight: 900;
}

.index-hub__stock small,
.sector-hub__stock small {
  color: rgba(234,247,241,0.56);
}

.index-hub__stock p,
.sector-hub__stock p {
  color: var(--brand-muted);
  line-height: 1.5;
}

.index-hub__row,
.sector-hub__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.index-hub__price,
.sector-hub__price {
  color: var(--brand-text);
  font-weight: 900;
}

.index-hub__delta--up,
.sector-hub__delta--up {
  color: #2ecc71;
  font-weight: 900;
}

.index-hub__delta--down,
.sector-hub__delta--down {
  color: #ff6b6b;
  font-weight: 900;
}

.index-hub__delta--flat,
.sector-hub__delta--flat {
  color: rgba(234,247,241,0.6);
  font-weight: 800;
}

.index-hub__warning,
.sector-hub__warning {
  padding: 1rem;
  border: 1px solid rgba(25,227,138,0.16);
  border-radius: 1rem;
  background: rgba(25,227,138,0.045);
  color: var(--brand-muted);
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .index-hub,
  .sector-hub {
    padding: 2.25rem 0;
  }

  .index-hub__title,
  .sector-hub__title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }
}
