/* Reference documents use the site's existing Tektur, navy and cyan styles. */
.standards-block { margin: 2.5rem 0; color: #0c1240; }
.standards-block__header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.standards-block__header h2 { margin: 0; font: 400 clamp(1.4rem,1.6vw,1.9rem)/1.3 'Tektur',sans-serif; }
.standards-block__all { color: #087fca; text-decoration: underline; text-underline-offset: .2em; font-size: .95rem; line-height: 1.5; }
.standards-block__items { display: grid; gap: 1rem; }
.standards-block__card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-width: 0; padding: 1.5rem; border: 1px solid #d9e4f0; border-top: 3px solid #029aff; background: #f5f9fd; }
.standards-block__content { min-width: 0; }
.standards-block__format { display: block; margin-bottom: .65rem; color: #59677c; font-size: .8rem; line-height: 1.4; }
.standards-block__card h3 { margin: 0 0 .5rem; font: 400 clamp(1.2rem,1.35vw,1.55rem)/1.3 'Tektur',sans-serif; }
.standards-block__name { margin: 0; font-size: 1rem; line-height: 1.55; }
.standards-block__description { margin: .85rem 0 0; color: #525f75; font-size: .95rem; line-height: 1.7; }
.standards-block__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .65rem; align-items: center; }
.standards-block__actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1rem; font-size: .95rem; font-weight: 600; line-height: 1.3; text-decoration: none; border: 1px solid #029aff; }
.standards-block__view { background: #029aff; color: #fff; }
.standards-block__view:hover { background: #1e49d6; border-color: #1e49d6; }
.standards-block__download { color: #087fca; background: transparent; }
.standards-block__download:hover { background: #e5f2fc; }
.standards-block__note { margin: 1.1rem 0 0; max-width: 64rem; color: #59677c; font-size: .875rem; line-height: 1.65; }
.standards-block a:focus-visible, .documents-page__catalog a:focus-visible { outline: 2px solid #029aff; outline-offset: 4px; }
.standards-block--cards .standards-block__items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.standards-block--cards .standards-block__card { flex-direction: column; align-items: stretch; }
.standards-block--cards .standards-block__actions { margin-top: auto; padding-top: .5rem; }
.documents-page .standards-block { margin-top: 0; }
.documents-page__catalog { margin: 2rem 0 0; font-size: 1rem; line-height: 1.6; }
.documents-page__catalog a { color: #087fca; text-decoration: underline; text-underline-offset: .2em; }
.standards-catalog-link { color: #045489; font-size: 16px; line-height: 1.6; text-decoration: underline; text-decoration-color: #029aff; text-underline-offset: .25em; }
.standards-catalog-link:hover { color: #087fca; }
.standards-catalog-link:focus-visible { outline: 2px solid #029aff; outline-offset: 4px; }
.in-main--dark .standards-block { color: #eef3ff; }
.in-main--dark .standards-block__card { border-color: #29477b; border-top-color: #029aff; background: rgba(255,255,255,.045); }
.in-main--dark .standards-block__format, .in-main--dark .standards-block__description, .in-main--dark .standards-block__note { color: #bbc8e4; }
.in-main--dark .standards-block__all, .in-main--dark .standards-block__download, .in-main--dark .documents-page__catalog a { color: #60c4ff; }
.in-main--dark .standards-block__download:hover { background: rgba(2,154,255,.12); }
.in-main--dark .standards-catalog-link { color: #eef3ff; }
.in-main--dark .standards-catalog-link:hover { color: #60c4ff; }
@media (max-width: 900px) {
    .standards-block__card { align-items: flex-start; flex-direction: column; }
    .standards-block--cards .standards-block__items { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .standards-block { margin: 2rem 0; }
    .standards-block__card { padding: 1.2rem; gap: 1.25rem; }
    .standards-block__actions { width: 100%; }
    .standards-block__actions a { flex: 1 1 auto; }
}
