/* 1.0.44: F02–F05, F07–F08. Content and image ratios are preserved. */
.topic-feature-card, .topic-feature-card__head > * { min-width: 0; }
.topic-feature-card__head { flex-wrap: wrap; }
.topic-feature-card__head h2, .topic-feature-card__body { overflow-wrap: anywhere; }
.article-layout__main, .gh-content, .dossier-body { min-width: 0; }
.gh-content { overflow-wrap: anywhere; }
.gh-content .kg-file-card, .gh-content .kg-file-card-container,
.gh-content .kg-file-card-contents, .gh-content .kg-file-card-metadata { min-width: 0; max-width: 100%; }
.gh-content .kg-file-card-contents { flex: 1 1 0; }
.gh-content .kg-file-card-title, .gh-content .kg-file-card-filename,
.gh-content .kg-file-card-caption { overflow-wrap: anywhere; white-space: normal; }
.gh-content .kg-file-card-icon { flex-shrink: 0; }
.format-empty, .archive-empty { color: var(--muted); padding: 1.5rem; background: var(--soft); }
.archive-empty { grid-column: 1 / -1; }
.pagination { flex-wrap: wrap; padding-inline: 16px; text-align: center; }
@media (max-width: 700px) {
  .topic-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .topic-feature-card__head { gap: .75rem; }
}

/* v1.0.45 — Responsive YouTube embeds in article content */
.article .gh-content .kg-embed-card {
  width: 100%;
  max-width: 100%;
}
.article .gh-content .kg-embed-card iframe[src*="youtube.com"],
.article .gh-content .kg-embed-card iframe[src*="youtube-nocookie.com"] {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
}
