.documents-page { background: #eaf3f8; }
.documents-page .page-banner h1 { max-width: 1150px; font-size: clamp(30px, 4.1vw, 58px); overflow-wrap: anywhere; }
.documents-page .breadcrumbs { overflow-wrap: anywhere; }
.documents-page .breadcrumbs > span:last-child { min-width: 0; }
.documents-page .page-banner-subtitle:empty { display: none; }
.documents-content { padding-block: 34px 48px; }
.documents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.document-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d2e1eb; border-radius: 19px; background: #fff; box-shadow: 0 5px 16px #143e5410; }
.document-preview { display: grid; place-items: center; margin: 15px 15px 0; padding: 16px; border: 1px solid #e1e9ed; border-radius: 10px; background: #f4f7f7; }
.document-preview picture { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 210 / 297; }
.document-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 3px 9px #1631411c; }
.document-preview:hover { border-color: #70a5bb; background: #eaf3f6; }
.document-details { display: flex; flex: 1; flex-direction: column; padding: 21px 23px 23px; }
.document-details h2 { margin: 0 0 12px; color: #103b50; font-size: 20px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.document-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 18px; color: #536b7b; font-size: 14px; line-height: 1.5; }
.document-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.document-actions a { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 11px 14px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 800; line-height: 1.4; }
.document-actions .document-download { color: #103b50; background: var(--yellow); }
.document-download:hover { background: #ffdb55; }
.document-download svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 1199px) {
  .documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 600px) {
  .documents-content { padding-block: 24px 30px; }
  .documents-page .page-banner h1 { font-size: clamp(28px, 7.7vw, 43px); letter-spacing: -.8px; }
  .documents-grid { grid-template-columns: 1fr; gap: 20px; }
  .document-preview { padding: 14px; margin: 12px 12px 0; }
  .document-details { padding: 18px; }
  .document-details h2 { font-size: 19px; }
}
@media (forced-colors: active) {
  .document-card, .document-preview, .document-actions a { border: 1px solid CanvasText; }
}
