/* Compact editorial hubs use a single centered reading canvas.
   The base two-column shell otherwise reserves an empty sidebar on desktop. */
@media (min-width: 981px) {
  .content-wrap-article-hub .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-wrap-article-hub .article-entry {
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
  }
}

@media (min-width: 1101px) {
  .content-wrap-article-hub .article-opener {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  }
}
.article-hero-visual .editorial-visual-asset {
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.article-hero-visual .editorial-visual-asset img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.content-wrap-article-hub .article-toc-compact {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  margin: 0 0 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 8px;
  background: #fff;
}

.content-wrap-article-hub .article-toc-compact span,
.content-wrap-article-hub .article-toc-compact a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid rgba(17, 24, 32, 0.1);
  font-size: 12px;
  line-height: 1.3;
}

.content-wrap-article-hub .article-toc-compact span {
  color: #8a612d;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 850;
  background: #f7f3eb;
}

.content-wrap-article-hub .article-toc-compact a:last-child {
  border-right: 0;
}

@media (max-width: 760px) {
  .article-hero-visual .editorial-visual-asset {
    min-height: 240px;
  }

  .content-wrap-article-hub .article-toc-compact {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .content-wrap-article-hub .article-toc-compact span,
  .content-wrap-article-hub .article-toc-compact a {
    flex: 0 0 154px;
    min-height: 50px;
    scroll-snap-align: start;
  }

  .content-wrap-article-hub .article-toc-compact span {
    flex-basis: 106px;
  }
}
