
/* =====================================================
   JSTA - FOR AUTHORS PAGE
   Journal of Scientific and Technological Advances
   Page-specific styles
   ===================================================== */

.ja-page {
    --ja-navy: #12364c;
    --ja-teal: #197f8b;
    --ja-text: #253d4c;
    --ja-line: #dce8ec;
    --ja-soft: #eff7f8;

    font-family: inherit;
    color: var(--ja-text);
}

.ja-page * {
    box-sizing: border-box;
}

.ja-page .container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

/* =====================================================
   FIRST SECTION - LIGHT HERO DESIGN
   Same palette as the other JSTA pages
   ===================================================== */

.ja-page .ja-hero {
    background: linear-gradient(
        115deg,
        #edf6f8 0%,
        #f8fbfc 60%,
        #ffffff 100%
    ) !important;

    color: #12364c !important;
    padding: 76px 0 78px !important;
    border: 0 !important;
    border-bottom: 1px solid #dce8eb !important;
}

.ja-hero-inner {
    max-width: 1120px;
}

/* Small heading */

.ja-page .ja-eyebrow {
    color: #197f8b !important;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 750;
    margin-bottom: 16px;
}

/* Main title */

.ja-page .ja-hero h1 {
    color: #12364c !important;
    font-size: clamp(36px, 5vw, 57px) !important;
    line-height: 1.12;
    letter-spacing: -.03em;
    margin: 0 0 21px !important;
}

/* Introductory paragraph */

.ja-page .ja-hero p {
    color: #43586b !important;
    max-width: 730px;
    font-size: 18px;
    line-height: 1.75;
    margin: 0 0 26px;
}

/* =====================================================
   HERO BUTTONS
   ===================================================== */

.ja-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ja-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s, border-color .15s;
}

/* Primary button */

.ja-page .ja-btn-light {
    background: #197f8b;
    color: #ffffff !important;
    border: 1px solid #197f8b;
}

.ja-page .ja-btn-light:hover {
    background: #126570;
    border-color: #126570;
}

/* Secondary button */

.ja-page .ja-btn-outline {
    border: 1px solid #197f8b;
    color: #197f8b !important;
    background: transparent;
}

.ja-page .ja-btn-outline:hover {
    background: #e8f4f5;
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */

.ja-body {
    padding-top: 28px;
    padding-bottom: 76px;
}

/* Quick navigation */

.ja-subnav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--ja-line);
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.ja-subnav a {
    color: #286879;
    text-decoration: none;
    padding: 8px 11px;
    background: #f1f8f9;
    border-radius: 7px;
    font-size: 13px;
}

.ja-subnav a:hover {
    background: #ddecf0;
}

/* =====================================================
   AUTHOR GUIDELINE SECTIONS
   ===================================================== */

.ja-section {
    padding: 39px 0;
    border-bottom: 1px solid var(--ja-line);
    max-width: 970px;
    scroll-margin-top: 90px;
}

.ja-section-label {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 800;
    color: var(--ja-teal);
    margin-bottom: 13px;
}

.ja-section h2,
.ja-cta h2 {
    font-size: clamp(24px, 3vw, 33px);
    line-height: 1.23;
    letter-spacing: -.02em;
    color: #17364b;
    margin: 0 0 17px;
}

.ja-section p {
    font-size: 15.5px;
    line-height: 1.88;
    color: #435967;
    margin: 0 0 13px;
    max-width: 880px;
}

.ja-section a {
    color: #147783;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =====================================================
   SUBMISSION CHECKLIST
   ===================================================== */

.ja-checklist {
    display: grid;
    gap: 0;
}

.ja-checklist > div {
    display: flex;
    gap: 19px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e9eff1;
}

.ja-checklist > div:last-child {
    border: 0;
}

.ja-checklist p {
    margin: 0;
}

.ja-count {
    font-size: 13px;
    color: #26828a;
    font-weight: 800;
    padding-top: 3px;
    min-width: 25px;
}

/* =====================================================
   INFORMATION CARDS
   ===================================================== */

.ja-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 24px 0;
}

.ja-cards article {
    border: 1px solid var(--ja-line);
    border-radius: 10px;
    background: #fff;
    padding: 22px;
}

.ja-cards h3 {
    color: #174355;
    margin: 0 0 10px;
    font-size: 17px;
}

.ja-cards p {
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

.ja-section p.ja-small {
    font-size: 13px;
    color: #71838b;
}

/* =====================================================
   FINAL SUBMISSION PANEL
   This remains navy, as originally designed.
   ===================================================== */

.ja-cta {
    background: linear-gradient(
        120deg,
        #143a51,
        #146172
    );
    color: #fff;
    border-radius: 14px;
    margin-top: 45px;
    padding: 40px 42px;
}

.ja-cta h2 {
    color: #fff !important;
}

.ja-cta p {
    max-width: 790px;
    color: #e0eef0;
    line-height: 1.8;
    font-size: 15.5px;
    margin: 0 0 23px;
}

/* Buttons inside the final dark panel */
.ja-page .ja-cta .ja-btn-light {
    background: #ffffff;
    color: #12364c !important;
    border-color: #ffffff;
}

.ja-page .ja-cta .ja-btn-light:hover {
    background: #dbf1f1;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 700px) {

    .ja-page .ja-hero {
        padding: 48px 0 !important;
    }

    .ja-page .container {
        width: min(100% - 28px, 1120px);
    }

    .ja-page .ja-hero p {
        font-size: 16px;
    }

    .ja-section {
        padding: 29px 0;
    }

    .ja-cards {
        grid-template-columns: 1fr;
    }

    .ja-cta {
        padding: 30px 22px;
    }

    .ja-btn {
        width: 100%;
    }
}
