/* Scoped to the comodat guide; shared article styling remains unchanged. */
.comodat-article .article-body a { text-decoration: underline; text-underline-offset: .18em; }
.comodat-downloads { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin: 1.5rem 0; }
.comodat-article .article-body .comodat-downloads .button { max-width: 100%; white-space: normal; text-align: center; text-decoration: none; color: var(--white); }
.comodat-article .article-body .comodat-downloads .comodat-download-secondary { background: transparent; border-color: var(--teal); color: var(--teal); }
.comodat-article .comodat-download-secondary:hover { background: var(--pale); }
.comodat-article .comodat-downloads a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.comodat-file-details { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--pale); }
.comodat-article .comodat-file-details p, .comodat-article .comodat-disclaimer { font-size: .875rem; line-height: 1.6; }
.comodat-file-details p + p { margin-top: .5rem; }
@media (max-width: 600px) { .comodat-downloads { align-items: stretch; } .comodat-downloads .button { width: 100%; } }

/* Compact opening on phones, with the complete H1 retained. */
@media (max-width: 600px) {
  .comodat-article .article-heading { padding-bottom: 1rem; }
  .comodat-article .article-heading h1 { font-size: clamp(1.625rem, 6.8vw, 1.875rem); line-height: 1.15; }
  .comodat-article .article-intro { margin-top: .875rem; line-height: 1.6; }
  .comodat-article .article-meta { margin-top: 1rem; }
}
