body.home.wjj-homepage-layout {
    --wjj-home-gutter: clamp(15px, 3.5vw, 48px);
    --wjj-home-frame: min(1184px, calc(100vw - 2 * var(--wjj-home-gutter)));
    --journal-shell: var(--wjj-home-frame);
    --wjj-home-section-gap: clamp(24px, 4.1vw, 52px);
    --wjj-home-paper: #f8f6f0;
    --wjj-home-edge: #d6e0df;
    --wjj-issue-gap: clamp(12px, 1.8vw, 22px);
    background-color: #edf3f6 !important;
}

/* Shared page gutters, including sections supplied by separate homepage features. */
body.home.wjj-homepage-layout :is(
    #wjj-refresh-hero, #wjj-sr-paths, #wjj-latest-issues, #wjj-tevi-troy-home,
    #wjj-home-advertisers, #wjj-wine-feature, #wjj-merch-spotlight,
    #wjj-r1-news, #wjj-r1-more-stories, #wjl-home-feature, #wjj-daily-zmanim-home,
    #wjj-issue-carousel, #wjj-lubin-feature, #wjj-instagram,
    #wjj-r3-print-promo-home, #wjj-modern-footer, .wjj-gift-year
) {
    box-sizing: border-box;
    width: min(100%, var(--wjj-home-frame)) !important;
    max-width: 1184px !important;
    min-width: 0;
    margin-inline: auto !important;
    scroll-margin-top: 112px;
}
body.home.wjj-homepage-layout :is(
    #wjj-tevi-troy-home, #wjj-home-advertisers, #wjj-wine-feature, #wjj-merch-spotlight,
    #wjj-r1-more-stories, #wjl-home-feature, #wjj-daily-zmanim-home,
    #wjj-lubin-feature, #wjj-instagram, #wjj-r3-print-promo-home
) {
    margin-block: var(--wjj-home-section-gap) !important;
}
body.home.wjj-homepage-layout :is(
    #wjj-refresh-hero .edition-hero-inner, #wjj-r1-news .wjj-r1-news-shell
) {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    margin-inline: 0 !important;
}

.wjj-homepage-layout :is(.edition-hero-copy, .edition-art) { min-width: 0; }
.wjj-homepage-layout #wr-headline { text-wrap: balance; }
.wjj-homepage-layout .edition-intro { text-wrap: pretty; }
body.home.wjj-homepage-layout #wjj-sr-paths {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    gap: 6px clamp(9px, 2vw, 22px);
    margin-block: 14px var(--wjj-home-section-gap) !important;
    padding: 4px clamp(12px, 1.8vw, 24px);
}
.wjj-homepage-layout #wjj-sr-paths a {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    text-underline-offset: 3px;
}

body.home.wjj-homepage-layout #wjj-latest-issues {
    background: var(--wjj-home-paper) !important;
    padding: clamp(23px, 3.2vw, 40px) 0 clamp(18px, 3vw, 34px) !important;
    border: 1px solid var(--wjj-home-edge);
    border-radius: 16px;
    min-height: 0 !important;
}
html body.home.wjj-homepage-layout #wjj-latest-issues > .e-con-inner {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    padding: 0 clamp(13px, 3vw, 40px) !important;
    margin: 0 !important;
    gap: 0 !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues :is(.elementor-element-a8a5d79, .elementor-element-88cf310) {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    margin-block: 0 !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-a8a5d79 { order: 0 !important; }
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-88cf310 { order: 1 !important; }
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-361b905 { order: 2 !important; }
body.home.wjj-homepage-layout #wjj-latest-issues > .e-con-inner > #wjj-my-felt-story {
    order: 3;
    width: 100%;
    margin: clamp(16px, 2vw, 25px) 0 0;
}
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 { order: 3 !important; }
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-shelf-subscribe { order: 4 !important; }
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6fa9163 { order: 5 !important; }
body.home.wjj-homepage-layout #wjj-latest-issues #wjj-featured-magazines h2 {
    font-size: clamp(34px, 4.1vw, 56px) !important;
    line-height: 1.1 !important;
    text-wrap: balance;
}
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-88cf310 h2 {
    margin: .35rem 0 .8rem !important;
    font-size: clamp(15px, 1.55vw, 19px) !important;
    line-height: 1.4 !important;
}

body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products {
    box-sizing: border-box;
    align-items: stretch !important;
    gap: var(--wjj-issue-gap) !important;
    padding: 7px 4px 14px !important;
    scroll-padding-inline: 4px;
    overscroll-behavior-inline: contain;
}
body.home.wjj-homepage-layout #wjj-latest-magazines .wjj-carousel-edge,
body.home.wjj-homepage-layout #wjj-latest-magazines .wjj-new-issue,
body.home.wjj-homepage-layout #wjj-latest-magazines li.product:not(:first-child) .wjj-issue-new {
    display: none !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products > li.product {
    --wjj-issue-card: calc((100% - 3 * var(--wjj-issue-gap)) / 4);
    flex: 0 0 var(--wjj-issue-card) !important;
    width: var(--wjj-issue-card) !important;
    max-width: var(--wjj-issue-card) !important;
    min-width: 0 !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products > li.product img {
    width: 100% !important;
    height: auto !important;
    max-height: clamp(196px, 26vw, 305px) !important;
    object-fit: contain !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .woocommerce-loop-product__title {
    overflow-wrap: anywhere;
    font-size: clamp(15px, 1.55vw, 20px) !important;
    line-height: 1.24 !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-issue-shelf-controls {
    margin: 7px 4px 5px !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-issue-shelf-controls > a {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    padding-inline: 3px;
    white-space: nowrap;
}
.wjj-homepage-layout #wjj-latest-magazines .wjj-issue-shelf-controls button { flex: none; }
.wjj-homepage-layout :is(#wjj-latest-issues, #wjj-issue-carousel, #wjj-home-advertisers, #wjj-r1-more-stories, #wjj-instagram) button {
    touch-action: manipulation;
}

body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 {
    box-sizing: border-box;
    margin: clamp(15px, 2.5vw, 28px) 0 10px !important;
    padding: 0 !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 .wjj-gabe-ad-label {
    display: none !important;
}
html body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 .elementor-widget-container > a:has(.journal-sponsor-credit) {
    display: grid !important;
    grid-template-columns: minmax(185px, .75fr) minmax(0, 1.25fr) !important;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    width: 100%;
    max-width: none;
    padding: clamp(9px, 1.2vw, 15px) clamp(11px, 1.7vw, 22px);
    border: 1px solid #d7e2df;
    border-radius: 10px;
    background: #f1f6f3;
}
html body.home.wjj-homepage-layout #wjj-latest-issues .journal-sponsor-credit {
    display: grid !important;
    gap: 2px;
    font: 400 clamp(12px, 1.15vw, 15px)/1.32 system-ui, sans-serif;
}
html body.home.wjj-homepage-layout #wjj-latest-issues .journal-sponsor-credit strong {
    font: 600 clamp(18px, 2vw, 26px)/1.13 Georgia, serif;
}
html body.home.wjj-homepage-layout #wjj-latest-issues .journal-sponsor-credit small {
    font: 600 10px/1.2 system-ui, sans-serif !important;
    letter-spacing: .09em;
    text-transform: uppercase;
}
html body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 a:has(.journal-sponsor-credit) :is(img, picture) {
    justify-self: end;
    width: min(100%, 475px) !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1280 / 266;
    border-radius: 3px;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-shelf-subscribe {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 !important;
    padding: 11px 6px;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--wjj-home-edge);
    border-radius: 0;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-shelf-subscribe strong {
    font-size: clamp(17px, 1.8vw, 23px) !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-shelf-subscribe p {
    margin-top: 3px !important;
    font-size: clamp(13px, 1.2vw, 15px) !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-shelf-subscribe a.wjj-edition-cta {
    width: auto;
    max-width: 100%;
    min-height: 44px !important;
    gap: 9px;
    padding: 6px 10px 6px 13px !important;
    border-radius: 6px;
    font-size: 15px !important;
}
body.home.wjj-homepage-layout #wjj-latest-issues .wjj-shelf-subscribe .wjj-action-arrow {
    width: 28px;
    min-width: 28px;
    height: 28px;
}
body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6fa9163:has([data-wjj-r3-banner]) {
    margin-top: clamp(10px, 2vw, 22px) !important;
}
html body.home.wjj-design-home.wjj-homepage-layout #wjj-issue-carousel {
    width: min(100%, var(--wjj-home-frame)) !important;
    max-width: 1184px !important;
    margin-inline: auto !important;
}
body.home.wjj-homepage-layout .wj-spreads[data-wjj-archive-preview] {
    box-sizing: border-box;
    width: min(100%, var(--wjj-home-frame));
    max-width: 1184px;
    min-width: 0;
    margin: 16px auto var(--wjj-home-section-gap);
}

.wjj-homepage-layout :is(.wjj-r1-news-heading, .wjjmx-head, .wjj-archive-shell, .ig-head, .wf-top, .wf-links) {
    min-width: 0;
}
.wjj-homepage-layout :is(.wjj-r1-story-title, .wjjmx-head, .wf-links a, .wjj-r2-company h2, .tt-home h2) {
    overflow-wrap: break-word;
}
.wjj-homepage-layout :is(#wjj-r1-more-stories, #wjj-issue-carousel, #wjj-home-advertisers, #wjj-instagram) :is(
    #wjjmx-stories, #wjj-archive-track, #wjj-home-advertisers-collection, #wjj-photo-track
) { min-width: 0; max-width: 100%; overscroll-behavior-inline: contain; }
.wjj-homepage-layout :is(a,button,input,summary):focus-visible {
    outline: 2px solid #2e789c;
    outline-offset: 3px;
}

@media (min-width: 1100px) {
    body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products > li.product {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1fr auto;
        align-items: stretch;
        gap: 6px;
    }
    body.home.wjj-homepage-layout #wjj-latest-magazines li.product > :is(.woocommerce-loop-product__link, .added_to_cart) {
        grid-column: 1 / -1;
    }
    body.home.wjj-homepage-layout #wjj-latest-magazines li.product > :is(.add_to_cart_button, .wjj-buy-now) {
        grid-row: 2;
        min-width: 0;
        min-height: 44px;
        margin: 0 !important;
        padding-inline: 4px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }
    body.home.wjj-homepage-layout #wjj-latest-magazines li.product > .add_to_cart_button { grid-column: 1; }
    body.home.wjj-homepage-layout #wjj-latest-magazines li.product > .wjj-buy-now { grid-column: 2; }
}
@media (max-width: 1030px) {
    body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products > li.product {
        --wjj-issue-card: calc((100% - 2 * var(--wjj-issue-gap)) / 3);
    }
}
@media (max-width: 700px) {
    body.home.wjj-homepage-layout #wjj-sr-paths {
        padding-inline: 3px;
        gap: 3px 12px;
        margin-block: 10px var(--wjj-home-section-gap) !important;
    }
    .wjj-homepage-layout #wjj-sr-paths a { min-height: 36px; font-size: .83rem; }
    body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products > li.product {
        --wjj-issue-card: min(65%, 225px);
    }
    body.home.wjj-homepage-layout #wjj-latest-issues #wjj-latest-magazines ul.products > li.product img {
        max-height: clamp(195px, 52vw, 240px) !important;
    }
    html body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 .elementor-widget-container > a:has(.journal-sponsor-credit) {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 7px;
    }
    html body.home.wjj-homepage-layout #wjj-latest-issues .elementor-element-6298609 a:has(.journal-sponsor-credit) :is(img, picture) {
        justify-self: start;
        width: min(100%, 355px) !important;
    }
    .wjj-homepage-layout :is(.wjjmx-head, .ig-head, .wjj-r1-news-heading) {
        flex-wrap: wrap;
        gap: 8px;
    }
    .wjj-homepage-layout #wjj-footer-newsletter .elementor-form-fields-wrapper {
        max-width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wjj-homepage-layout :is(#wjj-latest-magazines, #wjj-r1-more-stories, #wjj-issue-carousel, #wjj-instagram) * {
        scroll-behavior: auto !important;
    }
}
