.judge-record h1,.judge-record h2,.judge-record h3{text-align:center;font-weight:700}.judge-intro{text-align:center}.judge-intro p{max-width:none;text-align:center}.judge-record .judge-result{font:bold clamp(28px,5vw,42px)/1.35 Georgia,serif;color:#592737;text-align:center!important;text-align-last:center!important;margin:24px auto}.judge-record .judge-source{text-align:center!important;text-align-last:center!important;font-size:.9em}.judge-record-links{display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}.judge-record-links a{color:#0645ad;text-decoration:underline;text-underline-offset:3px;line-height:1.55}.judge-record .record-facts>div:last-child{border-bottom:0}
.judge-record .professional-identity{text-align:center!important;text-align-last:center!important;font-size:.95em;line-height:1.7}.judge-record .professional-identity strong{font-variant-numeric:tabular-nums}.judge-record .professional-links{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center!important;text-align-last:center!important}.judge-record .professional-links a{color:#0645ad;text-decoration:underline;text-underline-offset:3px}

.case-person-photo{width:100%;max-width:340px;box-sizing:border-box;margin:24px auto;padding:16px;border:2px solid #a17081;border-radius:10px;background:#fff}.case-person-photo img{display:block;width:100%;height:280px;object-fit:contain;margin:auto}.case-person-photo figcaption{text-align:center;font:14px/1.65 system-ui;margin:14px 0 0}.case-person-photo a{color:#0645ad;text-decoration:underline;text-underline-offset:3px}.case-people-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.case-people-photos .case-person-photo{margin:0;max-width:none}.case-people-photos .case-person-photo:nth-child(even){background:#f7ecf0}@media(max-width:520px){.case-people-photos{grid-template-columns:1fr}.case-person-photo img{height:250px}}

/* The opening uses the site's burgundy title tile and compact section spacing. */
body > main#main-content:has(> .judge-record) { padding-block-start: .75rem; }

.judge-record .judge-intro > .archive-letter-heading {
  --heading-bg: #4b2937;
  --heading-ink: #fffaf7;
  --heading-label: #f6cad7;
  gap: .4rem;
  margin-block-end: .5rem !important;
  padding: .75rem var(--tile-inner);
  border: 2px solid var(--tile-wine);
  border-radius: .65rem;
  background: var(--heading-bg);
  color: var(--heading-ink);
}

.judge-record .judge-intro > .archive-letter-heading h1 {
  font-size: var(--tile-title-size) !important;
}

.judge-record-overview>.record-contents{margin:0;padding:0;border:0;justify-content:center}

#judge-links:focus:not(:focus-visible){outline:none}




/* Use the same reading-section frame and inset photo as the other record pages. */
.judge-person-card .case-person-photo{margin:0 auto 24px}
.judge-person-card .case-person-photo a{display:block}
.judge-person-card .judge-card-details{font:inherit;text-align:start}
.judge-person-card .judge-card-details p {
  max-width: none;
  margin: .5rem 0;
  font: 400 calc(1rem * var(--text-scale, 1))/1.52 system-ui, sans-serif;
  text-align: justify;
  text-align-last: start;
}
.judge-person-card .judge-card-details a{display:inline;color:#0645ad;text-decoration:underline;text-underline-offset:3px;overflow-wrap:normal}
.judge-person-card a:focus-visible{outline:3px solid #783c4e;outline-offset:3px}

/* The Judge reader uses the same disclosure and portrait treatment as the family pages. */
.judge-person-card .judge-portrait {
  box-sizing:border-box;
  width:100%;
  max-width:340px;
  margin:0 auto 1rem;
}
.judge-person-card .judge-portrait > a {display:block;min-height:0}
.judge-person-card .judge-portrait img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.judge-person-card .judge-portrait figcaption {padding-top:8px;text-align:center;text-align-last:center}
.judge-person-card .judge-portrait figcaption a {display:inline;min-height:0}
.judge-section-tabs {width:100%;margin:1rem auto}
.judge-section-tabs .judge-section-tab {
  scroll-margin-top:calc(var(--site-header-height,9rem) + 1rem);
}
.judge-section-tabs .judge-section-tab[open] {
  border-color:transparent;background:transparent;overflow:visible;
}
.judge-section-tabs .judge-section-tab[open] > summary {
  border-radius:.65rem;box-shadow:inset 0 0 0 2px #703d4f;
}
.judge-section-tabs .judge-section-tab > .stack-reader {padding:.75rem 0 0;text-align:start}
body #main-content .judge-section-tabs .stack-reader > .reading-section {
  border:0;border-radius:0;background:transparent;box-shadow:none;
  margin:0;padding:.5rem clamp(.5rem,2vw,1rem);
}
body #main-content .judge-section-tabs .judge-tab-inner-title {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}

/* Keep the portrait unframed, with one compact source row below it. */
.judge-record .judge-person-card {margin:0 auto;padding:0;border:0;background:transparent;box-shadow:none}
.judge-record .judge-person-card .judge-portrait {margin:0 auto .75rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.judge-record .judge-person-card .judge-portrait img {border:0;border-radius:0;background:transparent;box-shadow:none}
.judge-record .judge-portrait figcaption.judge-portrait-links {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:.25rem .6rem;margin:0;padding:.45rem 0 0;
  font:500 calc(.875rem * var(--text-scale,1))/1.3 system-ui,sans-serif;
}
.judge-record .judge-portrait-links a {display:inline-block;color:#0645ad;text-decoration:underline;text-underline-offset:.13em;white-space:nowrap}
.judge-record .judge-portrait-links a + a {border-inline-start:1px solid #cab9bf;padding-inline-start:.6rem}

.judge-record .judge-photos {
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-areas:"tip" "slide" "counter";
}
.judge-photos > .judge-photo-tip {
  grid-area:tip;display:block;margin:0 0 .4rem;text-align:center;text-align-last:center;
  font:500 calc(.875rem * var(--text-scale,1))/1.4 system-ui,sans-serif
}
.judge-photos > figure {grid-area:slide;min-width:0;margin:0;padding:0;border:0;background:transparent}
/* Reserve the longest caption's space while only the active slide is visible. */
.judge-record .judge-photos > figure[hidden] {display:block!important;visibility:hidden;pointer-events:none}
.judge-photos [data-featured-photo-next] {
  position:relative;display:block;overflow:hidden;box-sizing:border-box;
  width:100%;aspect-ratio:4/5;margin:0;padding:0;border:0;background:transparent;cursor:pointer;
}
.judge-record .judge-photos [data-featured-photo-next] > img {
  position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;object-fit:contain;object-position:center
}
.judge-photos figcaption,.judge-profile-links {text-align:center;text-align-last:center}
.judge-photos .judge-photo-context {display:block;margin-bottom:.2rem}
.judge-photos figcaption a {color:#0645ad;text-decoration:underline}
.judge-photos [data-carousel-count] {
  grid-area:counter;justify-self:center;display:table;margin:.3rem auto 0;pointer-events:none;padding:.1rem .4rem;
  background:#241d22df;color:white;border-radius:.3rem;font:600 .75rem/1.5 system-ui,sans-serif
}
.judge-profile-links {display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap}
