.jfj-home .masthead {
    padding: 0;
    color: #242e2c;
    background: #fffdf9;
    border-top: 3px solid #1d6963;
}
.jfj-home .masthead .masthead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand brand" "date editions";
    align-items: center;
    gap: 0 .65rem;
    width: auto;
    max-width: 84rem;
    margin-inline: auto;
    padding-inline: clamp(.875rem, 4vw, 3rem);
}
.jfj-home .masthead .masthead-brand {
    grid-area: brand;
    min-width: 0;
    padding: .75rem 0 .55rem;
    text-align: center;
}
.jfj-home .masthead .brand-logo {
    display: block;
    width: clamp(12rem, 56vw, 15rem);
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 363 / 96;
    object-fit: contain;
    object-position: center top;
}
.jfj-home .masthead .brand-tagline {
    max-width: 34ch;
    margin: .25rem auto 0;
    font: 400 .9rem/1.3 var(--editorial-serif, Georgia, serif);
    color: #344442;
    text-wrap: balance;
}
.masthead-dateline {
    grid-area: date;
    color: #485451;
    font-size: .875rem;
    line-height: 1.35;
}
.masthead-long-date, .masthead-link-detail { display: none; }
.masthead-editions {
    grid-area: editions;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 1rem;
}
.jfj-home .masthead-editions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #155953;
    font: 600 .9375rem/1.25 var(--editorial-sans, Arial, sans-serif);
}
.masthead-arrow { margin-inline-start: .35em; }
.jfj-home .masthead-editions a:is([aria-current="page"], :hover, :focus-visible) { color: #89293d; }

@media (min-width: 54rem), (min-width: 34rem) and (orientation: landscape) and (max-height: 30rem) {
    .jfj-home .masthead .masthead-grid {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas: "date brand editions";
        column-gap: clamp(1rem, 3vw, 3rem);
        padding-block: clamp(.8rem, 1.4vw, 1.25rem);
    }
    .jfj-home .masthead .masthead-brand { padding: 0; }
    .jfj-home .masthead .brand-logo { width: clamp(14rem, 23vw, 19.5rem); }
    .jfj-home .masthead .brand-tagline { max-width: none; font-size: clamp(.9375rem, 1vw, 1.0625rem); }
    .masthead-dateline .masthead-long-date { display: inline; font: 400 clamp(1rem, 1.35vw, 1.3125rem)/1.25 var(--editorial-serif, Georgia, serif); }
    .masthead-short-date { display: none; }
    .masthead-editions {
        display: grid;
        width: min(100%, 10rem);
        gap: 0;
    }
    .jfj-home .masthead-editions a { font-size: 1rem; min-height: 44px; }
    .masthead-link-detail { display: inline; }
    .masthead-editions a + a { border-top: 1px solid #d8deda; }
    .masthead-arrow { margin-inline-start: auto; }
}

.jfj-home .navigation-inner {
    gap: clamp(.5rem, 1vw, 1.25rem);
}

.jfj-home .navigation-inner .main-navigation { gap: .125rem; }

.jfj-home .navigation-inner .main-navigation > a,
.jfj-home .navigation-inner .nav-dropdown > summary {
    min-height: 48px;
    padding-inline: clamp(.5rem, .8vw, .875rem);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.jfj-home .navigation-inner :is(.nav-brand-home, .mobile-menu-button, .nav-tip) {
    min-height: 44px;
    font-size: .9375rem;
    line-height: 1.25;
    font-weight: 600;
}

.jfj-home .navigation-inner .search-disclosure > summary {
    min-width: 44px;
    min-height: 44px;
}

.jfj-home .masthead :is(a, summary):focus-visible,
.jfj-home .navigation-inner :is(a, summary, button):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

@media (75rem < width <= 84rem) {
    .jfj-home .navigation-bar .navigation-inner { margin-inline: 1rem; }
    .jfj-home .navigation-inner .main-navigation > a,
    .jfj-home .navigation-inner .nav-dropdown > summary { padding-inline: .375rem; }
}

@media (max-width: 75rem) {
    .jfj-home .navigation-bar .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
    }

    .jfj-home .navigation-bar .main-navigation {
        display: none;
        position: absolute;
        inset: 100% 0 auto;
        max-height: var(--navigation-available-height, calc(100dvh - 48px));
        overflow: auto;
        overscroll-behavior: contain;
        padding: .25rem 1rem;
        background: #fffdf9;
        color: #203e3e;
        box-shadow: 0 6px 15px #18201e1a;
    }

    .jfj-home .navigation-inner .nav-search {
        max-height: var(--navigation-available-height, calc(100dvh - 48px));
        overflow: auto;
        overscroll-behavior: contain;
    }

    .jfj-home .navigation-bar .main-navigation.is-open { display: block; }
    .jfj-home .navigation-inner .navigation-actions { margin-inline-start: auto; }
    .jfj-home .navigation-inner .nav-panel { position: static; min-width: 0; box-shadow: none; }
    .jfj-home .navigation-inner .main-navigation :is(a, summary) { display: flex; align-items: center; white-space: normal; }
    .jfj-home .navigation-inner .main-navigation > a,
    .jfj-home .navigation-inner .nav-dropdown > summary { padding: .6rem .3rem; border-bottom: 1px solid #e6dedc; }
    .jfj-home .navigation-inner .main-navigation :is(a, summary):is(:hover, :focus-visible) { background: #eff4f2; color: #174d48; }
    .jfj-home .navigation-inner .main-navigation a[aria-current="page"] { color: #852b40; box-shadow: none; font-weight: 700; }
}

@media (min-width: 34rem) and (max-height: 30rem) and (orientation: landscape) {
    .jfj-home .masthead .masthead-grid { padding-block: .35rem; column-gap: .875rem; }
    .jfj-home .masthead .brand-logo { width: 10rem; }
    .jfj-home .masthead .brand-tagline { max-width: 24ch; font-size: .8125rem; }
    .masthead-dateline .masthead-long-date { display: none; }
    .masthead-short-date { display: inline; }
    .masthead-editions { width: auto; display: flex; gap: .875rem; }
    .masthead-link-detail, .masthead-arrow { display: none; }
    .masthead-editions a + a { border: 0; }
}

@media (max-width: 25rem) {
    .jfj-home .navigation-bar .navigation-inner { margin-inline: .75rem; gap: .35rem; }
    .jfj-home .navigation-inner .navigation-actions { gap: .25rem; }
    .jfj-home .navigation-inner .nav-tip { padding-inline: .625rem; }
}
