/* =========================================================
   EXTERNAL STUDIES UNIT
   ========================================================= */

.external-studies-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.75;
}


/* =========================
   PAGE TITLE
   ========================= */

.external-studies-page .page-title {
    text-align: center;
    font-size: 32px;
    color: #0a2a70;
    margin-bottom: 40px;
    font-weight: 700;
}


/* =========================
   SECTIONS
   ========================= */

.external-studies-page .section {
    margin-bottom: 45px;
}

.external-studies-page .section-title {
    font-size: 24px;
    color: #0a3d62;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 5px solid #1e57d6;
    padding-left: 12px;
}

.external-studies-page p {
    margin-bottom: 15px;
}


/* =========================
   SUB HEADINGS
   ========================= */

.sub-heading {
    color: #0a3d62;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 700;
}


/* =========================
   LIST
   ========================= */

.external-studies-page .styled-list {
    padding-left: 25px;
    margin-bottom: 20px;
}

.external-studies-page .styled-list li {
    margin-bottom: 7px;
}


/* =========================================================
   PROGRAMME OVERVIEW
   ========================================================= */

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.overview-card {
    background: linear-gradient(135deg, #f1f5ff, #e5ecff);
    border: 1px solid #d5def5;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(10, 42, 112, 0.08);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(10, 42, 112, 0.16);
}

.overview-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}

.overview-card h4 {
    color: #0a2a70;
    margin: 5px 0 8px;
    font-size: 17px;
}

.overview-card p {
    margin: 0;
    color: #444;
    font-weight: 600;
}


/* =========================================================
   PROGRAMME SECTION
   ========================================================= */

.programme-section {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(10, 42, 112, 0.10);
    border: 1px solid #e2e7f2;
}


/* =========================
   PROGRAMME HEADER
   ========================= */

.programme-header {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #0a2a70, #124c9c);
    color: #ffffff;
    padding: 22px 25px;
}

.programme-header h3 {
    margin: 0 0 5px;
    font-size: 23px;
    color: #ffffff;
    line-height: 1.4;
}

.programme-header p {
    margin: 0;
    color: #dce8ff;
    font-size: 15px;
}

.programme-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    background: #ffffff;
    color: #0a2a70;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}


/* =========================
   PROGRAMME CONTENT
   ========================= */

.programme-content {
    padding: 30px;
}

.programme-content p {
    color: #444;
    line-height: 1.8;
}


/* =========================
   MORE INFORMATION BUTTON
   ========================= */

.more-info-btn {
    display: inline-block;
    margin: 10px 0 25px;
    padding: 11px 22px;
    background: #1e57d6;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.more-info-btn:hover {
    background: #0a2a70;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(10, 42, 112, 0.2);
}


/* =========================================================
   COORDINATOR CARD
   ========================================================= */

.coordinator-card {
    background: #f5f8ff;
    border-left: 4px solid #1e57d6;
    border-radius: 8px;
    padding: 20px 22px;
    margin-top: 10px;
}

.coordinator-card h4 {
    color: #0a2a70;
    font-size: 19px;
    margin-top: 0;
    margin-bottom: 15px;
}

.coordinator-card p {
    margin: 4px 0;
    line-height: 1.6;
}

.coordinator-card a {
    color: #124483;
    font-weight: 600;
    text-decoration: none;
}

.coordinator-card a:hover {
    color: #1e57d6;
    text-decoration: underline;
}


/* =========================================================
   GENERAL CONTACT
   ========================================================= */

.contact-section {
    margin-top: 50px;
}

.general-contact {
    background: linear-gradient(135deg, #f1f5ff, #e9efff);
    border-radius: 12px;
    padding: 25px 30px;
    border: 1px solid #d8e0f2;
}

.general-contact h4 {
    color: #0a2a70;
    font-size: 21px;
    margin: 0 0 12px;
}

.general-contact p {
    margin: 4px 0;
}

.general-contact a {
    color: #124483;
    font-weight: 600;
    text-decoration: none;
}

.general-contact a:hover {
    color: #1e57d6;
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 768px) {

    .external-studies-page {
        margin: 25px auto;
        padding: 0 15px;
    }

    .external-studies-page .page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .external-studies-page .section-title {
        font-size: 21px;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .overview-card {
        padding: 18px 10px;
    }

    .programme-header {
        padding: 18px;
        gap: 12px;
    }

    .programme-header h3 {
        font-size: 19px;
    }

    .programme-header p {
        font-size: 13px;
    }

    .programme-number {
        min-width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .programme-content {
        padding: 20px;
    }

    .coordinator-card {
        padding: 18px;
    }
}


@media (max-width: 480px) {

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

    .external-studies-page .page-title {
        font-size: 24px;
    }

    .programme-header {
        align-items: flex-start;
    }

    .programme-header h3 {
        font-size: 17px;
    }

    .programme-content {
        padding: 16px;
    }

    .more-info-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .general-contact {
        padding: 20px;
    }
}
