/* Shared secondary actions in cards. Prose and policy links retain their own styles. */
.production.home #services #serviceCards .service-v11-link,
.production.home #documents #trustDocuments .trust-card-footer .content-link,
.production.home #certificateTeaser .certificate-card .content-link,
.production :is(#mainContent, #documentContent) :is(
  .project-card .project-more, .category-project-card > div > b:last-child,
  .service-v11-card .service-v11-link, .eng-card .eng-more, .eng-more,
  .catalog-copy > a.content-link, .reference-collection-copy > b:last-child,
  .trust-card-footer .content-link, .document-record .content-link,
  .document-viewer-copy > a.content-link, .letter-copy > a.content-link,
  .competence-proof > a > em, .other-card > span:last-child, .survey-link,
  .certificate-card a.content-link, .practice-context a span.content-link,
  .review-copy > a.review-read-more
) {
  color: #0066b0;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-style: normal;
  line-height: 20px;
  padding: 0 !important;
  margin-block: 5px 0 !important;
  text-decoration: none;
  text-underline-offset: .2em;
}
.production :is(.catalog-copy, .trust-card-footer, .document-record, .document-viewer-copy, .letter-copy) > :is(div > a.content-link, a.content-link) {
  min-height: 44px;
}
.production :is(.project-card > a, .category-project-card, .direction-card, .service-v11-card, .eng-card, .eng-mount-card, .other-card, .competence-proof > a, .practice-context > a):focus-visible,
.production :is(.trust-card-footer, .document-record, .document-viewer-copy, .catalog-copy, .letter-copy, .certificate-card, .review-copy) a:focus-visible {
  outline: 3px solid #0066b0;
  outline-offset: -3px;
}
.production :is(#mainContent, #documentContent) :is(.project-card > a, .category-project-card, .direction-card, .service-v11-card, .eng-card, .eng-mount-card, .other-card, .competence-proof > a, .practice-context > a):is(:hover, :focus-visible)
  :is(.project-more, .category-project-card > div > b:last-child, .reference-collection-copy > b:last-child, .service-v11-link, .eng-more, .other-card > span:last-child, .competence-proof > a > em, .practice-context span.content-link),
.production :is(.trust-card-footer, .document-record, .document-viewer-copy, .catalog-copy, .letter-copy, .certificate-card, .review-copy) a.content-link:is(:hover, :focus-visible),
.production a:is(:hover, :focus-visible) .survey-link {
  color: #004e87;
  text-decoration: underline !important;
}

@media screen and (max-width: 767px) {
  #objects .stable-object-layout > .motion-ready,
  #documents #trustDocuments.motion-ready {
    transform: none;
  }
  .production.home #objects .stable-object-layout .object-list {
    box-sizing: border-box;
    min-width: 0;
    padding: clamp(16px, 5vw, 20px);
  }
  #objects .object-list-stack { display: block; }
  #objects .object-detail-panel:not(.is-current) { display: none; }
  #objects .object-detail-panel .object-client-copy { margin: 0 0 12px; }
  #objects .object-detail-panel .category-proof-links { margin-top: 16px; }
  #documents #trustDocuments {
    min-width: 0;
    max-width: 100%;
  }
  #documents #trustDocuments > [data-trust-document="mchs"],
  .document-record-grid > #mchs.document-record {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-self: start;
    align-content: start;
    justify-items: stretch;
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 100%;
    padding: clamp(16px, 5vw, 20px);
    height: auto;
    min-height: 0;
  }
  /* RC6's generic swipe rail caps every child, including this full document. */
  .production .document-record-grid.native-swipe > #mchs {
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
  #documents #trustDocuments [data-trust-document="mchs"] .trust-card-copy,
  #documents #trustDocuments [data-trust-document="mchs"] .trust-card-footer {
    display: grid;
    align-content: start;
    gap: 7px;
    margin: 0;
    grid-area: auto / 1;
  }
  #trustDocuments [data-trust-document="mchs"] :is(h3,p),
  .document-record-grid #mchs :is(h3,p) { margin: 0; }
  #trustDocuments [data-trust-document="mchs"] .trust-kind { justify-self: start; }
  #documents #trustDocuments [data-trust-document="mchs"] .document-thumb,
  .document-record-grid #mchs .document-card-preview {
    display: grid;
    place-items: center;
    grid-template-columns: minmax(0, 1fr);
    order: 0;
    box-sizing: border-box;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    max-width: none;
    margin: 0;
    padding: 10px;
    grid-area: auto / 1;
  }
  #documents #trustDocuments [data-trust-document="mchs"] .document-thumb img,
  .document-record-grid #mchs .document-card-preview img {
    display: block;
    width: min(100%, 228px) !important;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: contain;
    aspect-ratio: 318 / 450;
  }
  .document-record-grid #mchs > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .document-record-grid #mchs .document-date,
  #trustDocuments [data-trust-document="mchs"] .document-status { font-size: 15px; line-height: 1.45; }
}

.corp-modal .corp-form-context,.corp-request-main .corp-form-context{max-height:none;overflow:visible;line-height:1.4}
