/* Keep the original masthead slot while fitting the transparent artwork. */
.jfj-home .masthead .brand-logo {
    aspect-ratio: 672 / 206;
    object-fit: contain;
}

.jfj-home {
    --editorial-serif: 'Source Serif', Georgia, serif;
    --editorial-sans: 'Source Sans', Arial, sans-serif;
    --editorial-red: #92243c;
    --editorial-meta: #55504f;
}
.jfj-home .home-main :is(.hero-inner, .latest-item, .focus-story, .voice-story, .coverage-topic, .publication, .watch-main, .watch-feature, .section-heading, .tracker-panel, .stay-informed, .archive-strip, .focus-followups, .editorial-heading) :is(h1,h2,h3,h4),
.jfj-home .report-shelf :is(h2,h3,.report-sections a,.report-reader-link) {
    font-family: var(--editorial-serif);
}
.jfj-home .home-main :is(.latest-item, .focus-story, .voice-story, .publication, .focus-followups, .coverage-topic) :is(h3,h4) {
    line-height: 1.25;
}
.jfj-home .home-main :is(.section-heading,.tracker-panel,.stay-informed) h2 {
    line-height: 1.2;
}
.jfj-home .home-main :is(.section-heading,.latest-item,.focus-story,.voice-story,.coverage-topic,.publication,.tracker-panel,.stay-informed,.focus-followups) p,
.jfj-home .home-main :is(.section-intro,.report-intro) {
    font-family: var(--editorial-sans);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.jfj-home .home-main :is(.latest-item,.focus-story) time,
.jfj-home .inner-main :is(.byline,.story-meta) {
    font: 400 0.8125rem/1.45 var(--editorial-sans);
    color: var(--editorial-meta);
}
.jfj-home .home-main :is(.latest-item,.focus-story) time { margin-top: 0.5rem; }
.jfj-home .home-main :is(.section-label,.kicker) {
    color: var(--editorial-red);
    font: 700 0.75rem/1.4 var(--editorial-sans);
    letter-spacing: 0.065em;
}
.jfj-home .home-main :is(.text-link,.section-heading > a,.report-tools a),
.jfj-home .home-main .report-sections a:hover {
    color: var(--editorial-red);
}
.jfj-home .home-main :is(.text-link,.section-heading > a) {
    font: 500 0.875rem/1.4 var(--editorial-sans);
}
.jfj-home .home-main .tracker-panel {
    background: #faf5f5;
    border-color: #e4d4d8;
}
.jfj-home .home-main .tracker-panel .button,
.jfj-home .home-main .hero-label {
    background: var(--editorial-red);
    color: white;
}
.jfj-home .home-main .button-outline {
    color: var(--editorial-red);
    border-color: #b98792;
}
.jfj-home .report-shelf .report-introduction time {
    font-family: var(--editorial-sans);
    color: var(--editorial-meta);
}

/* Use a single reading face and a single interface face across page types. */
body.jfj-home { font-family: var(--editorial-sans); }
body.jfj-home :is(main,footer,header,nav) :is(p,small,time,span,li,a,button,input,select,label,figcaption) {
    font-family: var(--editorial-sans);
}
body.jfj-home :is(main,footer,header) :is(h1,h2,h3,h4,h5,h6,blockquote),
body.jfj-home :is(h1,h2,h3,h4,h5,h6,blockquote) :is(a,span,strong,em),
body.jfj-home main :is(.article-body,.story-body) :is(p,li,a,span),
body.jfj-home .report-shelf :is(.report-reader-link,.report-sections a,.report-introduction > p) {
    font-family: var(--editorial-serif);
}
body.jfj-home main :is(.article-body,.story-body) :is(p,li) { line-height: 1.65; }
body.jfj-home .inner-main :is(.article-heading,.listing-header) h1 { line-height: 1.12; }
body.jfj-home .inner-main :is(.article-meta,.byline,.story-meta,.article-meta time,.byline time) {
    color: var(--editorial-meta);
    font: 400 .8125rem/1.45 var(--editorial-sans);
}
body.jfj-home main :is(.article-kicker,.story-label,.eyebrow,.article-kicker a,.story-label a) {
    color: var(--editorial-red);
    font: 700 .75rem/1.4 var(--editorial-sans);
    letter-spacing: .065em;
}
body.jfj-home .inner-main .button.dark,
body.jfj-home .home-main .button:not(.button-glass,.button-outline) {
    background-color: var(--editorial-red);
    border-color: var(--editorial-red);
    color: white;
}

body.jfj-home .home-main :is(.tips-strip h2,.editorial-heading p),
body.jfj-home .homepage-footer .footer-about .footer-purpose {
    font-family: var(--editorial-serif);
}
body.jfj-home .home-main .hero-inner > p { font-family: var(--editorial-sans); }

body.jfj-home .report-shelf h2 {
    font: 700 clamp(1.6rem, 2.4vw, 2.25rem)/1.15 var(--editorial-serif);
}
body.jfj-home .report-shelf h3 {
    font: 700 clamp(2rem, 3.5vw, 3.5rem)/1.08 var(--editorial-serif);
}
body.jfj-home .report-shelf .report-introduction time {
    font: 500 .875rem/1.4 var(--editorial-sans);
}
body.jfj-home .report-shelf .report-introduction > p {
    font: 400 clamp(1.05rem, 1.55vw, 1.45rem)/1.4 var(--editorial-serif);
}
body.jfj-home .report-shelf .report-reader-link,
body.jfj-home .report-shelf .report-sections a {
    font: 600 1rem/1.4 var(--editorial-sans);
}
body.jfj-home .report-shelf .report-sections a {
    color: #492d34;
    min-height: 44px;
}
body.jfj-home .report-shelf .report-sections a:hover { color: var(--editorial-red); }

#main.inner-main :is(h1,h2,h3,h4,h5,h6),
#main.inner-main :is(h1,h2,h3,h4,h5,h6) a {
    font-family: var(--editorial-serif);
}
#main.inner-main :is(.listing-header,.category-lead-copy,.story-copy) p,
#main .report-shelf .report-reader-link {
    font-family: var(--editorial-sans);
}

/* Align homepage section links and supporting copy on the same baseline. */
body.jfj-home #main.home-main .section-heading > a,
body.jfj-home #main.home-main .text-link {
    font: 600 .875rem/1.45 var(--editorial-sans);
    color: var(--editorial-red);
}
body.jfj-home #main.home-main :is(.section-intro,.report-intro) {
    font: 400 .9375rem/1.5 var(--editorial-sans);
    margin-block: .5rem 1rem;
}

@media (max-width:680px) {
    .article-related .category-grid { grid-template-columns:minmax(0,1fr); row-gap:20px; }
    .article-related .category-grid > * { border-bottom:0; }
    .article-related .category-grid > * + * { border-top:1px solid #a4b9b5; padding-top:20px; }
}

/* Record names follow directory typography at every breakpoint. */
.recruits-page #main .people-grid .person-card h2 {
    margin: 0;
    font: 600 1.125rem/1.35 'Source Sans', Arial, sans-serif;
    letter-spacing: normal;
    color: #233735;
}
.recruits-page #main .people-grid:not(.directory-cards) .person-card {
    gap: .75rem;
    min-height: 3.5rem;
    padding: .55rem .375rem;
}
.recruits-page #main .people-grid:not(.directory-cards) .person-initial {
    width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: .9375rem;
}
.recruits-page #main .person-card:is(:hover,:focus-visible) h2 {
    color: #005e62;
    text-decoration: underline;
    text-underline-offset: .17em;
}
.recruits-page #main .person-card:focus-visible {
    outline: 2px solid #005e62;
    outline-offset: -2px;
}
.recruits-page #main .listing-search {
    display: grid;
    grid-template-columns: minmax(0, 32rem) minmax(10rem, 14rem) auto;
    justify-content: start;
    align-items: end;
    gap: .875rem;
}
.recruits-page #main .listing-search :is(input[type=search],select) { width:100%; min-width:0; }
@media (max-width:700px) {
    .recruits-page #main .listing-search { grid-template-columns: minmax(0,1fr) auto; }
    .recruits-page #main .listing-search label:first-of-type { grid-column:1/-1; }
}

@media (max-width: 680px) {
    .jfj-home .navigation-inner :is(.mobile-menu-button, .nav-brand-home, .search-disclosure > summary),
    .jfj-inner .reader-toolbar :is(button, summary),
    .jfj-inner .page-navigation a {
        min-height: 44px;
        min-width: 44px;
    }
    .jfj-inner .reader-toolbar {
        padding: .75rem;
        border: 1px solid #cfdbd8;
        border-radius: .75rem;
        background: #f5f9f8;
    }
    .jfj-inner .reader-toolbar-row { gap: .35rem; }
    .jfj-inner .listing-search input, .jfj-home .nav-search input { font-size: 1rem; }
    .jfj-home :is(button, summary, a):focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }
}

.jfj-inner #main .category-grid .story-copy h2 {
    font-size: clamp(1.3rem, 1.65vw, 1.65rem);
    line-height: 1.18;
}
.jfj-inner #main .category-grid .story-copy h2 a { font-family: inherit; font-size: inherit; }
#main .contact-page .contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}
.jfj-inner #main .contact-details h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.contact-details a { overflow-wrap: anywhere; }
.contact-tips {
    scroll-margin-top: 7rem;
    margin-block: 1.5rem;
    padding: clamp(1rem, 2vw, 2rem);
    border-inline-start: 4px solid #9e2b3e;
    background: #f5f9f8;
}
.jfj-inner #main .contact-tips h2 { margin-top: 0; font-size: 1.5rem; }
.contact-tips p { max-width: 72ch; }
.contact-tips a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

.navigation-inner > .nav-brand-home {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}
.nav-brand-home img { display: block; background: white; border-radius: 4px; }
.nav-brand-home:focus-visible { outline: 2px solid white; outline-offset: -2px; }
