/* ==================================================
   1. Hide specific menu items on desktop and mobile
   ================================================== */

/*#top-menu .menu-item-4139,*/
/*#top-menu .menu-item-1574,*/
#top-menu .menu-item-0000,
/*#mobile_menu .menu-item-4139,*/
/*#mobile_menu .menu-item-1574,*/
#mobile_menu .menu-item-0000 {
    display: none !important;
    visibility: hidden !important;
}


/* ==================================================
   2. Hide shopping cart
   ================================================== */

.et-cart-info {
    display: none !important;
    visibility: hidden !important;
}


/* ==================================================
   3. Prevent text links changing size on hover
   ================================================== */

.et_pb_text a:hover,
.entry-content a:hover {
    font-size: inherit !important;
    line-height: inherit !important;
    transform: none !important;
    transition: none !important;
}

.et_pb_text a:hover {
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}


/* ==================================================
   4. Consistent paragraph typography
   ================================================== */

/* Standard content paragraphs only */
.et_pb_text p,
.et_pb_post_content p {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}


/* ==================================================
   5. Prevent paragraph hover effects
   ================================================== */

.et_pb_text p:hover {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    transform: none;
    transition: none;
}


/* ==================================================
   6. WPForms submit and Save & Resume buttons
   ================================================== */

.wpforms-submit-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Lock button height and spacing */
.wpforms-submit-container button[type="submit"] {
    margin-bottom: 35px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid transparent;
    min-height: 48px;
}


/* Keep Save & Resume in position */
.wpforms-submit-container .wpforms-save-resume {
    margin-top: 0;
    position: relative;
    top: 0;
}


/* Disable motion on WPForms elements */

.wpforms-submit-container * {
    transform: none !important;
}


/* Style Save & Resume link */
.wpforms-save-resume a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0c71c3;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wpforms-save-resume a:hover {
    background-color: #094b8c;
}


/* ==================================================
   7. Optional equal-height image styling
   ================================================== */

/*
.equal-height-img img {
    height: 300px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    display: block;
}
*/
html,
body {
    max-width: 100%;
}

/* =========================================
   CSi – INTERNATIONAL SECURITY AND
   INTELLIGENCE PROGRAMME
   Page ID: 6812
   ========================================= */

/* COLOURS
   Green: #263D35
   Ivory: #F5F3ED
   Stone: #E7DDC8
   Gold:  #A18A65
*/

/* HERO BANNER */

body.page-id-6812 .isi-hero-section.et_pb_section {
    background-color: #263D35 !important;
    background-image: none !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

body.page-id-6812 .isi-hero-section .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.page-id-6812 .isi-hero-title {
    text-align: center !important;
}

body.page-id-6812 .isi-hero-title h1 {
    color: #F5F3ED !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 36px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
}

body.page-id-6812 .isi-hero-title hr {
    width: 76px !important;
    height: 2px !important;
    border: 0 !important;
    background-color: #A18A65 !important;
    margin: 0 auto 10px !important;
}

body.page-id-6812 .isi-hero-title p {
    color: #E7DDC8 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

/* EMMANUEL COLLEGE PHOTOGRAPH */

body.page-id-6812 .isi-college-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* ACADEMIC PROGRAMME SECTION */

body.page-id-6812 #academic.et_pb_section {
    background-color: #F5F3ED !important;
    background-image: none !important;
}

body.page-id-6812 #academic #Academic-Programme {
    color: #263D35 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 36px !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding-bottom: 18px !important;
    border-bottom: 2px solid #A18A65;
    margin-bottom: 30px !important;
}

/* MOBILE ADJUSTMENTS */

@media (max-width: 767px) {

    body.page-id-6812 .isi-hero-section.et_pb_section {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    body.page-id-6812 .isi-hero-title h1 {
        font-size: 29px !important;
    }

    body.page-id-6812 #academic #Academic-Programme {
        font-size: 29px !important;
    }
}

/* EMMANUEL COLLEGE – CENTRED IMAGE ROW */

/* Control the photograph row width */

body.page-id-6812 .et_pb_row.isi-image-row {
    width: 88% !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.page-id-6812 .isi-college-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* MOBILE */

@media (max-width: 767px) {
    body.page-id-6812 .isi-image-row.et_pb_row {
        width: 94% !important;
    }
}

