/* Native dialog supplies keyboard focus containment and Escape dismissal. */
.mc-founder-popup:not([open]) { display: none !important; }
.mc-founder-popup {
  box-sizing: border-box; width: min(1000px, calc(100% - 40px)); max-width: 1000px;
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 20px;
  overflow: auto; overscroll-behavior: contain; background: #fff; color: #123b46;
  box-shadow: 0 24px 90px #081f2b40;
}
.mc-founder-popup::backdrop { background: #081f2b99; }
.mc-founder-popup .mc-founder-intro { margin: 0; border: 0; border-radius: 0; padding: 48px 36px 36px; gap: 32px; box-shadow: none; }
.mc-founder-popup .mc-founder-intro__profile { flex-basis: min(var(--founder-photo-width, 240px), 220px); }
.mc-founder-popup .mc-founder-intro h2 { font-size: min(var(--founder-heading-size, 32px), 30px); }
.mc-founder-popup .mc-founder-intro p { font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
.mc-founder-popup__controls { position: sticky; top: 0; height: 0; z-index: 2; }
.mc-founder-popup__close {
  position: absolute; top: 10px; right: 10px; margin: 0;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #dce5e4; border-radius: 50%; background: #fff; color: #123b46;
  font: 30px/1 sans-serif; cursor: pointer;
}
.mc-founder-popup__close:hover { background: #edf5f4; }
.mc-founder-popup__close:focus-visible { outline: 3px solid #d4a84f; outline-offset: 2px; }
@media (max-width: 700px) {
  .mc-founder-popup { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; }
  .mc-founder-popup .mc-founder-intro { padding: 36px 22px 26px; gap: 22px; }
  .mc-founder-popup .mc-founder-intro__profile { flex-basis: auto; width: min(var(--founder-mobile-photo-width, 220px), 220px); }
  .mc-founder-popup .mc-founder-intro h2 { font-size: min(var(--founder-mobile-heading-size, 28px), 28px); }
  .mc-founder-popup .mc-founder-intro__identity { margin-top: 12px; }
}
