.page-layout-wrapper > .container.editorial-prose.glossario-term-page {
  max-width: 860px;
  padding-left: 20px;
  padding-right: 20px;
}

.glossario-term-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  padding: 28px clamp(20px, 4vw, 42px);
}

.glossario-term-section .editorial-breadcrumb {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 14px;
}

.glossario-term-section .editorial-breadcrumb a {
  color: var(--brand-dark);
  font-weight: 700;
}

.glossario-term-meta {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 8px 18px;
  margin-bottom: 24px;
  padding-bottom: 14px;
}

.glossario-term-meta span + span::before {
  color: #b6bfcc;
  content: "•";
  margin-right: 18px;
}

.glossario-term-meta a {
  color: var(--brand-dark);
  margin-left: auto;
  text-decoration: none;
}

.glossario-term-section .subsection {
  scroll-margin-top: 140px;
}

.glossario-term-section .subsection + .subsection {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
}

.glossario-term-section .subsection h3 {
  color: var(--ink);
  font-size: 1.22rem;
  letter-spacing: 0;
  line-height: 1.3;
}

.glossario-term-section .subsection p {
  color: #3f495b;
  font-size: 1rem;
  line-height: 1.75;
}

.glossario-term-section .subsection a {
  color: var(--brand-dark);
  font-weight: 700;
}

.glossario-term-section code {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.9em;
  padding: 2px 5px;
}

.glossario-term-section .adsense-top {
  margin: 26px 0 10px;
}

.glossario-term-section .editorial-tools-strip {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 30px 0 24px;
  padding: 18px 20px;
}

.glossario-term-section .editorial-tools-strip h3 {
  color: var(--ink);
}

.glossario-term-section .editorial-tools-strip p {
  color: var(--muted);
}

.glossario-term-section .editorial-tools-strip a {
  color: var(--brand-dark);
  font-weight: 800;
}

.glossario-related {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.glossario-related a {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 16px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.glossario-related a:hover {
  background: var(--chip);
  border-color: #cfd8ff;
}

.glossario-related span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.glossario-related strong {
  color: var(--brand-dark);
  font-size: 0.9rem;
  margin-top: 3px;
}

@media (max-width: 620px) {
  .page-layout-wrapper > .container.editorial-prose.glossario-term-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .glossario-term-section {
    padding: 20px 16px;
  }

  .glossario-term-meta a {
    flex-basis: 100%;
    margin-left: 0;
  }

  .glossario-related {
    grid-template-columns: 1fr;
  }
}
