/* Shared closing actions for Romanian and English blog articles only. */
.article-page .article-body .button.article-contact {
  max-width: 100%;
  border-color: var(--teal);
  background: transparent;
  color: var(--teal);
  text-align: center;
  text-decoration: none;
}
.article-page .article-body .button.article-contact:hover {
  background: var(--pale);
  color: var(--teal);
}
.article-page .article-contact:focus-visible,
.article-page .article-related-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.article-page .article-related .article-related-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--paper);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.article-page .article-related-link span { flex: 1; min-width: 0; }
.article-page .article-related-link .ui-icon { flex-shrink: 0; }
.article-page .article-related .article-related-link:hover {
  border-color: var(--teal);
  background: var(--pale);
}
.article-page .article-related-link:hover span { text-decoration: underline; }

/* Highlight only the current chapter; leave the rest of the menu unchanged. */
.article-page .article-toc a[aria-current="location"] { font-weight: 700; }


/* Keep the desktop contents compact and give the article more room. */
@media (min-width: 901px) {
  .article-layout {
    grid-template-columns: minmax(160px, 195px) minmax(0, 760px);
    column-gap: clamp(1.25rem, 3vw, 3rem);
  }
  .article-toc { gap: .5rem; }
  .article-toc h2 { margin-bottom: .25rem; }
}
