/* Keep the digital handover architecture together without cropping its image. */
.pd-highlight-images { display: grid; gap: 14px; margin-top: 22px; }
.pd-highlight-images:has(> a:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.pd-highlight-images a { display: block; min-width: 0; }
.pd-highlight-images img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.pd-architecture {
  height: calc(100svh - 80px);
  min-height: 580px;
  padding: 28px 0;
}
.pd-architecture > .pd-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pd-architecture .pd-section-heading { margin: 0; flex: 0 0 auto; gap: 10px; }
.pd-architecture .pd-section-heading h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.2; }
.pd-architecture .pd-section-heading > p { font-size: 14px; line-height: 1.6; }
.pd-architecture .pd-architecture-board { display: contents; }
.pd-architecture .pd-process { flex: 0 0 auto; gap: 16px; }
.pd-architecture .pd-process article { min-height: 0; padding: 14px 16px; }
.pd-architecture .pd-process h3 { font-size: 18px; line-height: 1.3; }
.pd-architecture .pd-process p { margin-top: 6px; font-size: 12px; line-height: 1.5; }
.pd-architecture .pd-architecture-proof {
  flex: 1 1 0;
  min-height: 0;
  margin: 0;
  padding: 10px;
  display: flex;
  justify-content: center;
}
.pd-architecture .pd-architecture-proof img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 980px) {
  .pd-architecture { height: auto; min-height: 0; padding: 40px 0; }
  .pd-architecture > .pd-shell { height: auto; }
  .pd-architecture .pd-architecture-proof { flex: none; }
  .pd-architecture .pd-architecture-proof img { height: auto; }
}

/* Show the drawing as a preview opened over the document library. */
.pd-highlight-images.pd-document-preview {
  position: relative;
  display: block;
  padding: 0 5% 13% 0;
}
.pd-document-preview > a:first-child {
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #fff;
}
.pd-document-preview > a:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  padding: 3px;
  border: 1px solid #b9cce0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(24, 53, 83, .2);
}
.pd-document-preview > a:focus-visible { outline: 3px solid #1677ff; outline-offset: 4px; }
@media (max-width: 600px) {
  .pd-highlight-images.pd-document-preview { padding-bottom: 18%; }
  .pd-document-preview > a:last-child { width: 61%; }
}
