.page-about-detail .about-board-directors .board-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  color: #006b9b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.board-read-more:focus-visible,
.board-profile-dialog-close:focus-visible {
  outline: 3px solid #4385f5;
  outline-offset: 3px;
}
/* Keep the Board page width unchanged when the dialog locks scrolling. */
html:has(.page-about-detail .board-read-more) { scrollbar-gutter: stable; }
html.has-board-profile-dialog { overflow: hidden; }
.page-about-detail [data-board-profile-source][hidden] { display: none; }
.page-about-detail .about-layout-profiles:has([data-board-profile-source][hidden]) .about-board-directors {
  margin-bottom: 0;
}
.page-about-detail .board-profile-dialog {
  box-sizing: border-box;
  width: min(1250px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--board-profile-surface, #f2f6ff);
  color: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px #10283c40;
}
.board-profile-dialog::backdrop { background: #10283cb3; }
.board-profile-dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 0;
  overflow: visible;
}
.board-profile-dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dce6f4;
  border-radius: 50%;
  background: #fff;
  color: #152b47;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
}
.board-profile-dialog-close:hover { background: #e7efff; }
.page-about-detail .board-profile-dialog .about-item {
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.board-profile-dialog .about-item-copy { min-width: 0; overflow-wrap: anywhere; }
.board-profile-dialog img { max-width: 100%; }
@media (max-width: 700px) {
  .page-about-detail .board-profile-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }
}
