.jury-profile-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: #d96627; font-size: 18px; font-weight: 600; }
.jury-profile-link:hover { color: #2f1207; }
/* Pin linked and unlinked portraits to the frame; avoid percentage-height grid sizing in WebKit. */
.mea-juror-portrait > a,
.jury-card-photo > a { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mea-juror-portrait img,
.jury-card-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.mea-juror-portrait::after { pointer-events: none; }
.mea-juror-portrait > a > span { display: grid; height: 100%; place-items: center; font: 500 80px/1 var(--serif); }
[data-jury-biography]:focus-visible { outline: 2px solid #d96627; outline-offset: 4px; }
body.mea-jury-profile-open { overflow: hidden; }
.mea-jury-profile-dialog { box-sizing: border-box; width: min(1200px, 94vw); max-width: 94vw; height: 90vh; height: 90dvh; max-height: 90dvh; margin: auto; padding: 0; border: 1px solid #d96627; border-radius: 12px; background: #faf4f2; color: #2f1207; box-shadow: 0 24px 80px rgb(0 0 0 / 35%); }
.mea-jury-profile-dialog[open] { display: flex; flex-direction: column; }
.mea-jury-profile-dialog::backdrop { background: rgb(30 14 7 / 78%); }
.mea-jury-profile-dialog [hidden] { display: none !important; }
.mea-jury-profile-heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #e8d9d1; }
.mea-jury-profile-heading > div { min-width: 0; }
.mea-jury-profile-heading span { color: #8a6755; font-size: 18px; }
.mea-jury-profile-heading h2 { margin: 4px 0 0; color: #2f1207; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; overflow-wrap: anywhere; }
.mea-jury-profile-heading button { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #c9ac98; border-radius: 50%; background: #fff; color: #2f1207; font: inherit; font-size: 30px; cursor: pointer; line-height: 0; }
.mea-jury-profile-heading button:hover { background: #d96627; border-color: #d96627; color: #fff; }
.mea-jury-profile-heading button:focus-visible, .mea-jury-profile-footer a:focus-visible { outline: 2px solid #d96627; outline-offset: 3px; }
.mea-jury-profile-content { position: relative; flex: 1 1 auto; min-height: 0; background: #fff; }
.mea-jury-profile-content iframe { display: block; width: 100%; height: 100%; border: 0; }
.mea-jury-profile-loading, .mea-jury-profile-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: #faf4f2; text-align: center; }
.mea-jury-profile-dialog p { margin: 0; color: #795d4c; font-size: 18px; line-height: 1.6; }
.mea-jury-profile-spinner { width: 46px; height: 46px; border: 3px solid #e8d9d1; border-top-color: #d96627; border-radius: 50%; animation: mea-jury-profile-spin .8s linear infinite; }
.mea-jury-profile-footer { display: flex; flex: 0 0 auto; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid #e8d9d1; }
.mea-jury-profile-footer a { color: #2f1207; font-size: 18px; font-weight: 600; }
.mea-jury-profile-footer a:hover { color: #d96627; }
@keyframes mea-jury-profile-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .mea-jury-profile-dialog { width: 96vw; max-width: 96vw; height: 94vh; height: 94dvh; max-height: 94dvh; }
  .mea-jury-profile-heading { padding: 14px; gap: 10px; }
  .mea-jury-profile-footer { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .mea-jury-profile-spinner { animation: none; } }
