/* =========================================================
   NSIJ HOME PAGE V2
   Editorial / scholarly homepage
   ========================================================= */


/* HERO */

.editorial-hero {
    position: relative;

    min-height: 650px;

    background: var(--ink);

    overflow: hidden;
}

.hero-slide {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(15, 27, 43, .97) 0%,
            rgba(15, 27, 43, .88) 43%,
            rgba(15, 27, 43, .48) 75%,
            rgba(15, 27, 43, .62) 100%
        ),
        var(--hero-image),
        linear-gradient(
            135deg,
            #172237,
            #365a67
        );

    background-size: cover;
    background-position: center;
}

.hero-slide[hidden] {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(0, 0, 0, .22)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1320px;

    margin: 0 auto;

    padding: 85px 32px 100px;

    color: #f4eee2;
}

.hero-series {
    margin-bottom: 45px;

    color: #d4b27d;

    font-family: var(--serif);
    font-size: 15px;
}

.hero-kicker {
    margin: 0 0 17px;

    color: #cabba3;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    max-width: 870px;

    margin: 0;

    color: #fffdf6;

    font-family: var(--serif);
    font-size: clamp(
        52px,
        6.5vw,
        92px
    );
    font-weight: 400;

    letter-spacing: -.04em;
    line-height: .98;
}

.hero-lead {
    max-width: 650px;

    margin: 30px 0 0;

    color: #d8d4ca;

    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.55;
}

.hero-actions {
    margin-top: 38px;

    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-primary,
.hero-secondary {
    padding: 13px 18px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.hero-primary {
    background: var(--oxblood);
    color: white;
}

.hero-secondary {
    border: 1px solid
        rgba(255, 255, 255, .5);

    color: white;
}

.hero-position {
    position: absolute;
    z-index: 2;

    right:
        max(
            32px,
            calc(
                (100vw - 1320px)
                / 2
            )
        );

    bottom: 35px;

    color: #cabba3;

    font-family: var(--serif);
    font-size: 13px;
}

.hero-controls {
    position: absolute;
    z-index: 4;

    left:
        max(
            32px,
            calc(
                (100vw - 1320px)
                / 2
            )
        );

    bottom: 34px;

    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 34px;
    height: 3px;

    border: 0;

    background:
        rgba(255,255,255,.35);

    cursor: pointer;
}

.hero-dot.active {
    background: #d5ad75;
}


/* FACTS */

.journal-facts {
    max-width: 1320px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    border-left:
        1px solid var(--line);
}

.journal-facts > div {
    min-height: 145px;

    border-right:
        1px solid var(--line);
    border-bottom:
        1px solid var(--line);

    padding: 28px 30px;
}

.journal-facts strong {
    display: block;

    color: var(--oxblood);

    font-family: var(--serif);
    font-size: 42px;
    font-weight: 400;
}

.journal-facts span {
    display: block;

    margin-top: 7px;

    color: var(--ink-soft);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}


/* WHY NSIJ */

.why-nsij {
    max-width: 1260px;

    margin: 0 auto;

    padding: 105px 32px;
}

.why-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.why-heading h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(
        42px,
        5vw,
        65px
    );

    font-weight: 400;
    line-height: 1.02;
}

.why-heading > p:last-child {
    max-width: 630px;

    color: var(--ink-soft);
}

.why-audiences {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 1px;

    background: var(--line);
}

.why-panel {
    min-height: 650px;

    padding: 45px;

    background: var(--paper-light);
}

.author-panel {
    border-top:
        4px solid var(--oxblood);
}

.institution-panel {
    border-top:
        4px solid var(--bronze);
}

.why-panel-label {
    color: var(--oxblood);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.institution-panel
.why-panel-label {
    color: #8b693f;
}

.why-panel h3 {
    max-width: 470px;

    margin: 35px 0;

    font-family: var(--serif);
    font-size: 33px;
    font-weight: 400;
    line-height: 1.1;
}

.benefit-list {
    border-top:
        1px solid var(--line);
}

.benefit-list > div {
    padding: 18px 0;

    border-bottom:
        1px solid var(--line);

    display: grid;
    grid-template-columns:
        38px 1fr;
    gap: 12px;
}

.benefit-list span {
    color: var(--bronze);

    font-family: var(--serif);
    font-size: 13px;
}

.benefit-list p {
    margin: 0;

    color: var(--ink-soft);

    font-size: 12px;
    line-height: 1.55;
}

.benefit-list strong {
    display: block;

    margin-bottom: 3px;

    color: var(--ink);

    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
}

.why-panel > a {
    display: inline-block;

    margin-top: 28px;

    color: var(--oxblood);

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
}


/* CURRENT ISSUE */

.issue-feature {
    background: #ece5d8;

    padding:
        90px
        max(
            32px,
            calc(
                (100vw - 1180px)
                / 2
            )
        );

    display: grid;
    grid-template-columns:
        320px 1fr;

    gap: 90px;

    align-items: center;
}

.homepage-cover {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    background: var(--ink);

    box-shadow:
        0 25px 55px
        rgba(21, 31, 43, .18);
}

.homepage-cover img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: auto;

    display: block;
}

.homepage-cover-fallback {
    position: absolute;
    inset: 0;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        linear-gradient(
            145deg,
            #172237,
            #285b72 65%,
            #47786d
        );

    color: white;
}

.homepage-cover:not(
    .cover-image-missing
)
.homepage-cover-fallback {
    z-index: 0;
}

.homepage-cover-fallback span {
    color: #c5d9c7;

    font-family: var(--serif);
    font-size: 48px;
}

.homepage-cover-fallback strong {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 400;
    line-height: 1.08;
}

.homepage-cover-fallback small {
    color: #d9dfdc;

    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.current-issue-label {
    color: var(--bronze);

    font-family: var(--serif);
    font-size: 17px;
}

.issue-feature-copy h2 {
    max-width: 680px;

    margin: 8px 0 20px;

    font-family: var(--serif);
    font-size: clamp(
        43px,
        5vw,
        68px
    );

    font-weight: 400;
    line-height: 1;
}

.issue-feature-lead {
    max-width: 600px;

    color: var(--ink-soft);

    font-family: var(--serif);
    font-size: 19px;
}

.issue-date {
    margin-top: 17px;

    color: var(--ink-soft);

    font-size: 11px;
}

.issue-actions {
    margin-top: 35px;

    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.issue-actions a {
    color: var(--oxblood);

    text-decoration: none;

    font-size: 11px;
}

.issue-actions
.issue-primary {
    padding: 12px 17px;

    background: var(--ink);
    color: white;
}


/* SECTIONS */

.home-sections {
    max-width: 1260px;

    margin: 0 auto;

    padding: 105px 32px;

    display: grid;
    grid-template-columns:
        .72fr 1.35fr;

    gap: 90px;
}

.home-sections-intro {
    align-self: start;

    position: sticky;
    top: 30px;
}

.home-sections-intro h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: 47px;
    font-weight: 400;
    line-height: 1.03;
}

.home-sections-intro > p:last-of-type {
    color: var(--ink-soft);
}

.home-sections-intro > a {
    display: inline-block;

    margin-top: 15px;

    color: var(--oxblood);
    text-decoration: none;

    font-size: 11px;
}

.home-section-list {
    border-top:
        2px solid var(--ink);
}

.home-section-list > a {
    min-height: 72px;

    border-bottom:
        1px solid var(--line);

    display: grid;
    grid-template-columns:
        45px 1fr 100px 25px;

    align-items: center;
    gap: 15px;

    color: var(--ink);
    text-decoration: none;
}

.home-section-list > a:hover {
    background:
        rgba(126, 61, 63, .035);
}

.home-section-number {
    color: var(--bronze);

    font-family: var(--serif);
}

.home-section-list strong {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
}

.home-section-total {
    color: var(--ink-soft);

    font-size: 10px;
}

.home-section-list b {
    color: var(--oxblood);

    font-weight: 400;
}


/* LATEST */

.home-latest {
    border-top:
        1px solid var(--line);

    max-width: 1180px;

    margin: 0 auto;

    padding: 95px 32px;
}

.home-latest > header {
    margin-bottom: 40px;

    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 30px;
}

.home-latest h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: 48px;
    font-weight: 400;
}

.home-latest > header a {
    color: var(--oxblood);

    font-size: 11px;
    text-decoration: none;
}

.latest-ledger {
    border-top:
        2px solid var(--ink);
}

.latest-ledger article {
    padding: 30px 0;

    border-bottom:
        1px solid var(--line);

    display: grid;
    grid-template-columns:
        180px 1fr 65px;

    gap: 35px;
}

.latest-meta {
    color: var(--ink-soft);

    font-size: 10px;
}

.latest-meta span {
    display: block;

    margin-bottom: 5px;
}

.latest-copy > div {
    color: var(--oxblood);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.latest-copy h3 {
    margin: 7px 0 10px;

    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

.latest-copy h3 a {
    text-decoration: none;
}

.latest-copy p {
    max-width: 680px;

    margin-bottom: 0;

    color: var(--ink-soft);

    font-family: var(--serif);
    font-size: 14px;
}

.latest-open {
    color: var(--oxblood);

    font-size: 11px;
    text-decoration: none;
}


/* LANGUAGES */

.home-language {
    background: var(--ink);
    color: var(--paper);

    padding:
        90px
        max(
            32px,
            calc(
                (100vw - 1180px)
                / 2
            )
        );

    display: grid;
    grid-template-columns:
        .8fr 1.2fr;

    gap: 90px;
}

.language-copy h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.03;
}

.language-copy > p:last-child {
    color: #c4c6c6;
}

.language-grid {
    border-top:
        1px solid #5a6170;

    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
}

.language-grid > div {
    min-height: 95px;

    border-right:
        1px solid #424c5d;
    border-bottom:
        1px solid #424c5d;

    padding: 15px;
}

.language-grid > div > span {
    display: block;

    color: var(--bronze);

    font-family: var(--serif);
    font-size: 11px;
}

.language-grid strong,
.language-grid em {
    display: block;
}

.language-grid strong {
    margin-top: 12px;

    font-size: 12px;
}

.language-grid em {
    margin-top: 3px;

    color: #bbc0c4;

    font-family: var(--serif);
    font-size: 14px;
    font-style: normal;
}


/* MEDIA */

.home-media {
    max-width: 1180px;

    margin: 0 auto;

    padding: 100px 32px;
}

.home-media header {
    max-width: 700px;

    margin-bottom: 45px;
}

.home-media h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: 47px;
    font-weight: 400;
    line-height: 1.03;
}

.home-media-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    background: var(--line);
}

.home-media-grid article {
    min-height: 350px;

    padding: 30px;

    background: var(--paper-light);
}

.home-media-grid article > span {
    color: var(--bronze);

    font-family: var(--serif);
    font-size: 13px;
}

.media-symbol {
    margin-top: 55px;

    color: var(--oxblood);

    font-family: var(--serif);
    font-size: 45px;
}

.home-media-grid h3 {
    margin: 20px 0 10px;

    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
}

.home-media-grid p {
    color: var(--ink-soft);

    font-size: 13px;
}

.home-media-grid a {
    display: inline-block;

    margin-top: 12px;

    color: var(--oxblood);
    text-decoration: none;

    font-size: 11px;
}


/* PROCESS */

.home-process {
    background: #ece5d8;

    padding:
        90px
        max(
            32px,
            calc(
                (100vw - 1180px)
                / 2
            )
        );
}

.home-process header {
    max-width: 620px;

    margin-bottom: 45px;
}

.home-process h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: 45px;
    font-weight: 400;
    line-height: 1.05;
}

.process-track {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        2px solid var(--ink);
}

.process-track article {
    min-height: 230px;

    border-right:
        1px solid #cbc1b2;

    padding: 28px;
}

.process-track article:last-child {
    border-right: 0;
}

.process-track span {
    color: var(--bronze);

    font-family: var(--serif);
    font-size: 16px;
}

.process-track strong {
    display: block;

    margin-top: 55px;

    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
}

.process-track p {
    color: var(--ink-soft);

    font-size: 12px;
}


/* FINAL CTA */

.home-final-cta {
    max-width: 1180px;

    margin: 90px auto 0;

    padding: 55px;

    background: var(--oxblood);
    color: white;

    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 50px;
}

.home-final-cta
> div:first-child > span {
    color: #e0c7bc;

    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-final-cta h2 {
    max-width: 650px;

    margin: 10px 0 0;

    font-family: var(--serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.04;
}

.final-cta-actions {
    min-width: 180px;
}

.final-cta-actions a {
    display: block;

    margin-top: 12px;

    color: white;

    font-size: 11px;
    text-decoration: none;
}

.final-cta-actions
.final-submit {
    padding: 12px 16px;

    background: white;
    color: var(--oxblood);

    font-weight: 700;

    text-align: center;
}


/* EMPTY */

.home-empty {
    border-top:
        2px solid var(--ink);
    border-bottom:
        1px solid var(--line);

    padding: 60px 0;

    color: var(--ink-soft);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .journal-facts {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .why-audiences,
    .issue-feature,
    .home-sections,
    .home-language {
        grid-template-columns: 1fr;
    }

    .home-sections-intro {
        position: static;
    }

    .language-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .home-media-grid {
        grid-template-columns: 1fr;
    }

    .process-track {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .latest-ledger article {
        grid-template-columns:
            1fr;
        gap: 10px;
    }

    .home-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .editorial-hero,
    .hero-slide {
        min-height: 610px;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 46px;
    }

    .journal-facts {
        grid-template-columns:
            1fr 1fr;
    }

    .journal-facts > div {
        padding: 22px;
    }

    .journal-facts strong {
        font-size: 34px;
    }

    .why-panel {
        padding: 30px 24px;
    }

    .issue-feature {
        gap: 45px;
    }

    .issue-cover-wrap {
        max-width: 280px;
    }

    .home-section-list > a {
        grid-template-columns:
            35px 1fr 22px;
    }

    .home-section-total {
        display: none;
    }

    .language-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .process-track {
        grid-template-columns: 1fr;
    }

    .process-track article {
        border-right: 0;
        border-bottom:
            1px solid #cbc1b2;
    }

    .home-final-cta {
        margin-left: 20px;
        margin-right: 20px;

        padding: 35px 25px;
    }

}
