
/* =====================================================
   JSTA - AIMS & SCOPE PAGE
   Journal of Scientific and Technological Advances
   ===================================================== */

/* PAGE VARIABLES */

.js-scope {
    --js-navy: #12364c;
    --js-teal: #197f8b;
    --js-ink: #1c3340;
    --js-muted: #526675;
    --js-line: #dce7eb;
    --js-soft: #f2f8f9;

    color: var(--js-ink);
    font-size: 16px;
    line-height: 1.75;
}

/* GENERAL */

.js-scope * {
    box-sizing: border-box;
}

.js-scope .container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

/* TYPOGRAPHY */

.js-scope h1,
.js-scope h2,
.js-scope h3 {
    color: var(--js-navy);
    line-height: 1.22;
    letter-spacing: -.025em;
}

.js-scope h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin: .4rem 0 .7rem;
}

.js-scope h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    margin: .2rem 0 1.2rem;
}

.js-scope h3 {
    font-size: 1.16rem;
    margin: .65rem 0;
}

.js-scope p {
    margin: 0 0 1rem;
    color: var(--js-muted);
}

.js-scope strong {
    color: var(--js-navy);
}

.js-scope .js-eyebrow {
    color: var(--js-teal);
    font-size: .76rem;
    letter-spacing: .14em;
    font-weight: 750;
    text-transform: uppercase;
    margin: 0 0 .6rem;
}

/* =====================================================
   FIRST SECTION - LIGHT HERO DESIGN
   ===================================================== */

.js-scope .js-page-heading {
    background: linear-gradient(
        115deg,
        #edf6f8 0%,
        #f8fbfc 60%,
        #ffffff 100%
    );

    padding: 66px 0 70px;
    border-bottom: 1px solid #dce8eb;
}

/* HERO TITLE */

.js-scope .js-page-heading h1 {
    color: #12364c;
}

/* HERO SMALL HEADING */

.js-scope .js-page-heading .js-eyebrow {
    color: #197f8b;
}

/* HERO DESCRIPTION */

.js-scope .js-page-heading .js-lead {
    max-width: 760px;
    font-size: 1.16rem;
    color: #43586b;
    opacity: 1;
    margin: 0;
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */

.js-section {
    padding: 65px 0;
}

.js-soft {
    background: var(--js-soft);
}

.js-reading {
    max-width: 900px;
}

/* SECTION TITLE */

.js-section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 24px;
}

.js-section-title > p {
    max-width: 410px;
}

/* =====================================================
   RESEARCH AREA CARDS
   ===================================================== */

.js-area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.js-area {
    background: #ffffff;
    border: 1px solid var(--js-line);
    border-radius: 10px;
    padding: 25px;
    min-height: 225px;
}

.js-area .js-index {
    font-size: .75rem;
    color: var(--js-teal);
    letter-spacing: .1em;
    font-weight: 750;
}

.js-area p {
    font-size: .95rem;
    margin: 0;
}

/* =====================================================
   TWO-COLUMN LAYOUT
   ===================================================== */

.js-two-col {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 70px;
    align-items: start;
}

/* CHECKLIST AND ARTICLE TYPES */

.js-checklist > div,
.js-types > div {
    padding: 13px 0;
    border-bottom: 1px solid var(--js-line);
}

.js-checklist > div:first-child,
.js-types > div:first-child {
    padding-top: 0;
}

.js-checklist p,
.js-types p {
    margin: .25rem 0 .6rem;
}

/* =====================================================
   NEXT STEPS
   ===================================================== */

.js-next {
    margin-top: 32px;
    background: var(--js-soft);
    border: 1px solid var(--js-line);
    border-radius: 12px;
    padding: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.js-next p {
    margin: .25rem 0 0;
}

/* =====================================================
   BUTTONS AND LINKS
   ===================================================== */

.js-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.js-button {
    background: var(--js-teal);
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 7px;
    font-weight: 700;
    white-space: nowrap;
}

.js-button:hover {
    background: var(--js-navy);
}

.js-link {
    color: var(--js-teal);
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.js-link:hover {
    text-decoration: underline;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 800px) {

    .js-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .js-two-col {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .js-section-title,
    .js-next {
        display: block;
    }

    .js-buttons {
        margin-top: 20px;
    }
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 550px) {

    .js-scope .container {
        width: min(100% - 30px, 1120px);
    }

    .js-scope .js-page-heading {
        padding: 48px 0;
    }

    .js-section {
        padding: 44px 0;
    }

    .js-area-grid {
        grid-template-columns: 1fr;
    }

    .js-area {
        min-height: auto;
    }

    .js-next {
        padding: 20px;
    }
}
