/* ==========================================================
   JUNIOR HIGH / STUDENT ORGANIZATIONS PAGE
   Matches site design exactly — colors, spacing, cards
========================================================== */

/* ==========================================================
   PAGE BODY
========================================================== */
.jhs-section {
    padding-top: 150px;
    padding-bottom: 100px;
    background: #f7f9fd;
    min-height: 100vh;
}

/* ==========================================================
   MAIN PAGE HEADING
========================================================== */
.jhs-main-heading {
    text-align: center;
    margin-bottom: 20px;
}

.jhs-main-heading h1 {
    color: #082567;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* ==========================================================
   SECTION HEADER
========================================================== */
.jhs-header {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.jhs-header h5 {
    color: #2f6fed;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.jhs-header h2 {
    color: #082567;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
}

.jhs-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================
   CONTENT WRAPPER
========================================================== */
.jhs-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================
   CARD — White rounded container with shadow
========================================================== */
.jhs-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 45px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(8, 37, 103, 0.08);
    border: 1px solid rgba(47, 111, 237, 0.06);
}

/* ==========================================================
   CARD HEADER
========================================================== */
.jhs-intro {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e8edf5;
}

.jhs-intro h3 {
    color: #082567;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.jhs-intro h3 i {
    color: #2f6fed;
    font-size: 22px;
}

.jhs-intro p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================
   SUBJECT / ORGANIZATION LIST
========================================================== */
.subject-list {
    margin-top: 10px;
}

.subject-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f8;
}

.subject-row:last-child {
    border-bottom: none;
}

.subject-name {
    font-weight: 700;
    color: #082567;
    font-size: 15px;
}

.subject-desc {
    color: #555;
    font-size: 14.5px;
    text-align: right;
    max-width: 60%;
    line-height: 1.6;
}

/* ==========================================================
   CONTAINER WIDTH
========================================================== */
.jhs-section .container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================================
   TABLET / MEDIUM SCREENS
========================================================== */
@media (max-width: 992px) {
    .jhs-section {
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .jhs-main-heading h1 {
        font-size: 36px;
    }

    .jhs-header h2 {
        font-size: 28px;
    }

    .jhs-card {
        padding: 30px 28px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */
@media (max-width: 768px) {
    .jhs-section {
        padding-top: 110px;
        padding-bottom: 50px;
    }

    .jhs-main-heading h1 {
        font-size: 30px;
    }

    .jhs-header {
        margin-bottom: 35px;
    }

    .jhs-header p {
        font-size: 15px;
    }

    .jhs-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .jhs-intro h3 {
        font-size: 20px;
    }

    .subject-row {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .subject-desc {
        text-align: left;
        max-width: 100%;
    }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */
@media (max-width: 480px) {
    .jhs-section .container {
        width: 94%;
    }

    .jhs-main-heading h1 {
        font-size: 26px;
    }

    .jhs-card {
        padding: 20px 16px;
    }

    .subject-name {
        font-size: 14.5px;
    }

    .subject-desc {
        font-size: 14px;
    }
}