
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* =========================================
   JSTA - GLOBAL DESIGN SYSTEM
   ========================================= */

:root {
    --navy: #12364c;
    --ink: #253142;
    --muted: #677484;
    --line: #e5eaf0;
    --paper: #fff;
    --wash: #f7f9fb;
    --accent: #197f8b;
    --accent-soft: #e8f2f1;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 15px/1.7 'DM Sans', Arial, sans-serif;
}

a {
    color: #226f76;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #88b6bb;
    outline-offset: 3px;
}

.container {
    width: min(1160px, calc(100% - 42px));
    margin-inline: auto;
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

.skip {
    position: absolute;
    top: -200px;
    left: 8px;
    background: #fff;
    color: #12364c;
    padding: 8px;
    z-index: 100;
}

.skip:focus {
    top: 8px;
}

/* =========================================
   TOP INFORMATION BAR
   ========================================= */

.topline {
    background: #f4f7f8;
    color: #334b5e;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.topline-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
}

.topline span,
.topline .topline-issn {
    color: #334b5e;
}

/* =========================================
   SITE HEADER
   ========================================= */

.site-header {
    background: #12364c;
}

.site-header .masthead {
    background: #12364c;
}

.masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}

/* Journal logo and name */

.brand,
.jsta-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    min-width: 0;
    text-decoration: none;
}

.brand:hover,
.jsta-brand:hover {
    text-decoration: none;
}

.jsta-brand-logo {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
    flex: 0 0 76px;
}

.jsta-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.monogram {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #ffffff;
}

.dot {
    color: #67d4d3;
}

.brand-title {
    display: block;
    border: 0;
    padding: 0;
    font: 700 14px/1.55 'Libre Baskerville', Georgia, serif;
    color: #ffffff;
}

/* Journal administration */

.mast-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
    max-width: 370px;
}

.mast-right > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mast-right strong {
    color: #ffffff;
    font-weight: 600;
}

.tiny-label {
    font-size: 10px;
    letter-spacing: 1.15px;
    font-weight: 700;
    color: #ffffff;
}

/* =========================================
   MAIN NAVIGATION
   ========================================= */

.menu-shell {
    background: var(--navy);
    border: 0;
}

.nav-wrap {
    display: flex;
    align-items: center;
}

.mainnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
}

.mainnav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 11px;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none;
    line-height: 1.5;
}

.mainnav > a:hover,
.mainnav > a:focus-visible {
    color: #ffffff;
    background: transparent;
    border-bottom-color: #67d4d3;
    text-decoration: none;
}

.mainnav > a.active,
.mainnav > a[aria-current="page"] {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom-color: #67d4d3 !important;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    color: #ffffff;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: 600 14px/1.5 'DM Sans', Arial, sans-serif;
    padding: 13px 0;
}

/* =========================================
   HERO
   ========================================= */

.hero {
    padding: 75px 0 67px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(
        116deg,
        #f4f8fa 0%,
        #fff 66%
    );
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.hero h1 {
    font: 700 clamp(32px, 4.3vw, 55px)/1.25
        'Libre Baskerville', Georgia, serif;
    color: var(--navy);
    letter-spacing: -1.8px;
    max-width: 850px;
    margin: 16px 0 23px;
}

.hero p {
    max-width: 670px;
    font-size: 17px;
    color: #627384;
}

/* =========================================
   BUTTONS
   ========================================= */

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 7px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 13px;
    background: var(--accent);
    color: #fff;
    transition: .2s;
}

.button:hover {
    text-decoration: none;
    filter: brightness(.93);
}

.button.secondary {
    background: transparent;
    color: var(--accent);
}

.button.disabled {
    background: #ecf0f2;
    border: 1px solid #d8dfe5;
    color: #667380;
    cursor: default;
}

/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 55px 0;
}

.section.alt {
    background: var(--wash);
}

.section h2,
.page-head h1 {
    font: 700 clamp(25px, 3vw, 36px)/1.35
        'Libre Baskerville', Georgia, serif;
    letter-spacing: -.6px;
    color: var(--navy);
}

.section h2 {
    margin: 4px 0 24px;
}

.section h3 {
    color: var(--navy);
    margin-top: 0;
    font-size: 17px;
}

.lead {
    font-size: 16px;
    color: #637183;
    max-width: 820px;
}

/* =========================================
   GRID AND CARDS
   ========================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: 0 5px 24px rgba(27, 51, 72, .025);
}

.card small {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    color: #6d7b87;
    margin-bottom: 0;
}

/* =========================================
   PAGE HEADINGS
   ========================================= */

.page-head {
    background: linear-gradient(
        115deg,
        #12364c 0%,
        #19566b 100%
    );
    border-bottom: 3px solid #67d4d3;
    padding: 43px 0;
}

.page-head .eyebrow {
    color: #91e5df;
}

.page-head h1 {
    color: #ffffff;
    margin: 9px 0 10px;
}

/* =========================================
   CONTENT
   ========================================= */

.content {
    max-width: 870px;
    padding-top: 44px;
    padding-bottom: 70px;
}

.content h2 {
    font-size: 21px;
    color: var(--navy);
    margin-top: 35px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 9px;
}

.content h3 {
    font-size: 16px;
    color: var(--navy);
    margin-top: 28px;
}

.content p,
.content li {
    color: #4f5f70;
}

.content li {
    margin: 5px 0;
}

/* =========================================
   NOTICES
   ========================================= */

.notice {
    padding: 17px 19px;
    background: #f2f6f7;
    border-left: 3px solid #8fb9bc;
    border-radius: 4px;
    color: #435465;
    margin: 22px 0;
}

.notice.warning {
    background: #fff9ed;
    border-color: #d0ab60;
}

/* =========================================
   TABLES
   ========================================= */

.table-wrap {
    overflow: auto;
}

.people {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 12px 0 30px;
}

.people th,
.people td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.people th {
    background: #f5f8fa;
    color: #304557;
}

.people td:first-child {
    font-weight: 700;
    width: 34%;
}

/* =========================================
   PILLS
   ========================================= */

.pill {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-soft);
    color: #397b7d;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: .2px;
}

/* =========================================
   FEATURE LISTS
   ========================================= */

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 22px 0;
}

.feature-list div {
    padding: 18px;
    background: #f7f9fa;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.feature-list strong {
    color: var(--navy);
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
    background: #12364c;
    color: #d4dfe7;
    padding: 44px 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 38px;
    font-size: 12px;
}

.footer strong {
    color: #ffffff;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -2px;
    color: #ffffff;
}

.footer .muted {
    color: #acbcc8;
}

.footer a {
    color: #a4eae6;
}

.bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #435366;
    margin-top: 28px;
    padding-top: 18px;
    font-size: 11px;
    color: #a9bbc8;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .mast-right {
        display: none;
    }

    .mainnav > a {
        padding: 13px 9px;
        font-size: 11px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 32px, 1160px);
    }

    .topline-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .masthead {
        padding: 16px 0;
    }

    .brand,
    .jsta-brand {
        gap: 10px;
    }

    .jsta-brand-logo {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .monogram {
        font-size: 23px;
    }

    .brand-title {
        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .mainnav {
        display: none;
        flex-direction: column;
        padding-bottom: 10px;
    }

    .mainnav.open {
        display: flex;
    }

    .mainnav > a {
        justify-content: flex-start;
        padding: 10px 7px;
        font-size: 13px;
        border-bottom: 2px solid transparent;
    }

    .mainnav > a.active,
    .mainnav > a[aria-current="page"] {
        border-bottom-color: #67d4d3 !important;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .grid,
    .feature-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 38px 0;
    }

    .bottom {
        flex-direction: column;
    }

    .content {
        padding-top: 26px;
    }

    .people th,
    .people td {
        padding: 9px;
        font-size: 12px;
    }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

/* =========================================
   JSTA - FINAL HEADER COLOR OVERRIDES
   SAME HEADER ON ALL PAGES
   ========================================= */

.site-header,
.site-header .masthead {
    background-color: #12364c !important;
}

/* Journal abbreviation and full journal title */

.site-header .masthead .brand,
.site-header .masthead .jsta-brand,
.site-header .masthead .jsta-brand-text,
.site-header .masthead .monogram,
.site-header .masthead .brand-title {
    color: #ffffff !important;
}

/* Turquoise brand dot */

.site-header .masthead .dot {
    color: #67d4d3 !important;
}

/* Owner, Publisher and Editor-in-Chief */

.site-header .masthead .mast-right,
.site-header .masthead .mast-right .tiny-label,
.site-header .masthead .mast-right strong,
.site-header .masthead .mast-right span {
    color: #ffffff !important;
}

/* All navigation labels white */

.site-header .mainnav > a,
.site-header .mainnav > a:link,
.site-header .mainnav > a:visited,
.site-header .mainnav > a:hover,
.site-header .mainnav > a:focus-visible,
.site-header .mainnav > a.active,
.site-header .mainnav > a[aria-current="page"] {
    color: #ffffff !important;
}

/* Active navigation underline */

.site-header .mainnav > a.active,
.site-header .mainnav > a[aria-current="page"] {
    border-bottom-color: #67d4d3 !important;
}

/* Mobile menu text */

.site-header .menu-toggle,
.site-header .menu-toggle span {
    color: #ffffff !important;
}
