#report-form .EasyMDEContainer { min-width: 0; }
.report-cover-link { display: block; }
.report-card-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 210 / 297;
  max-height: 24rem;
  object-fit: contain;
  background: var(--ei-bg);
  border-radius: 10px 10px 0 0;
}
#report-form h2.h5 { font-weight: 700; }
.report-detail-cover, .report-cover-preview {
  display: block;
  width: 100%;
  max-width: 20rem;
  max-height: 28rem;
  object-fit: contain;
}
.report-cover-preview[hidden], #report-cover-remove[hidden] { display: none !important; }

/* Public and admin lists share the directory typography; home/detail keep theirs. */
.ei-reports-page .report-card { border: 1px solid var(--ei-border); border-radius: 8px; box-shadow: none; transform: none; }
.ei-reports-page .report-card:hover { border-color: var(--ei-primary); box-shadow: none; transform: none; }
.ei-reports-page .report-cover-link { padding: 1rem 1rem 0; }
.ei-reports-page .report-card-cover { width: min(100%, calc(16rem * 210 / 297)); height: auto; max-height: none; margin-inline: auto; background: #fff; border: 1px solid var(--ei-border); border-radius: 4px; }
.ei-reports-page .report-card .card-body { padding: 1rem; gap: .5rem; }
.ei-reports-page .report-card h2 { margin: 0; color: var(--ei-primary); font-size: var(--ei-fs-body); font-weight: 600; line-height: 1.6; }
.ei-reports-page .report-card h2 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ei-reports-page .report-card-meta { margin: 0; color: var(--ei-text); font-size: var(--ei-fs-meta); }
.ei-reports-page .report-card-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: .5rem; color: var(--ei-text); font-size: var(--ei-fs-body); }
.ei-reports-page .report-card .btn { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--ei-fs-meta); }

/* Details reuse the encyclopedia reading surface and native section directory. */
.report-detail-meta { font-size: var(--ei-fs-meta); color: var(--ei-text); }
.report-detail-meta dd { overflow-wrap: anywhere; }
.report-detail-heading p { overflow-wrap: anywhere; }
.report-content .btn { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 767.98px) {
  .report-detail-facts { order: 0; }
  .report-detail-cover-column { order: 1; }
  .report-detail-cover { max-width: calc(12rem * 210 / 297); max-height: 12rem; margin-inline: auto; }
}
