/* Hub canônico — legibilidade (não afeta posts ACF com grid de frases) */
body.frases42-hub .content .intro {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

body.frases42-hub .content h2 {
  scroll-margin-top: 5.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

body.frases42-hub .content h3 {
  scroll-margin-top: 5.5rem;
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

body.frases42-hub .content ol,
body.frases42-hub .content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

body.frases42-hub .content ol li,
body.frases42-hub .content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

body.frases42-hub .content p {
  line-height: 1.65;
  margin-bottom: 1rem;
}

.hub-toc {
  background: #f8f5f9;
  border: 1px solid #e8dfea;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
}

.hub-toc-title {
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #503851;
  font-size: 0.95rem;
}

.hub-toc ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hub-toc li {
  margin-bottom: 0.35rem;
}

.hub-toc a {
  color: #503851;
  text-decoration: none;
}

.hub-toc a:hover {
  text-decoration: underline;
}

.navbar-brand img {
  width: auto;
  height: 40px;
}

#back-to-top {
  opacity: 0.9;
}

@media (max-width: 767px) {
  body.frases42-hub .content h2 {
    font-size: 1.2rem;
  }

  .hub-toc {
    padding: 0.85rem 1rem;
  }
}

.hub-cluster-links,
.hub-context-cta {
  background: #f8f5f9;
  border: 1px solid #e8dfea;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.hub-cluster-links h2 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  scroll-margin-top: 5.5rem;
}

.hub-cluster-links ul {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.5rem;
}

.hub-cluster-links li {
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.hub-cluster-links a,
.hub-context-cta a {
  color: #503851;
  font-weight: 500;
}

.hub-context-cta p {
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .hub-cluster-links ul {
    columns: 1;
  }
}
