
/* Homepage mobile responsiveness */
@media only screen and (max-width: 767px) {

    /* Image slider */
    .home-slider {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .home-slider img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }

    /* News update */
    .breaking_news {
        width: 100%;
        padding: 5px 0;
        overflow: hidden;
    }

    .breaking_news .container {
        width: 100%;
        padding: 0 8px;
    }

    .breaking_title {
        max-width: 150px;
        font-size: 14px;
    }

    .mobile-news {
        width: 100%;
        max-width: 100%;
        font-size: 13px !important;
    }

    /* Welcome section */
    .home-intro {
        width: 100%;
        padding: 15px 12px;
        box-sizing: border-box;
    }

    .home-intro .row:first-child {
        font-size: 20px !important;
        line-height: 28px;
    }

    .home-intro p {
        font-size: 16px !important;
        line-height: 25px !important;
        text-align: center;
    }

    /* Homepage cards */
    .box_1 {
        width: 100%;
        height: auto !important;
        margin-bottom: 20px;
    }

    .box_1 img {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        object-fit: cover;
    }

    .box_1 p {
        height: auto !important;
        max-height: none !important;
        line-height: 24px;
    }

    /* Latest events */
    .ourEvents {
        width: 100%;
    }

    .ourEvents .grid_4 {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }

    /* Facilities */
    .medium_article_list .item {
        height: auto !important;
        overflow: hidden;
        margin-bottom: 20px !important;
    }

    .medium_article_list .item_header img {
        width: 100%;
        height: auto;
        display: block;
    }

    .item_wrapper,
    .item_header {
        width: 100% !important;
        float: none !important;
    }

    /* About us */
    .container {
        max-width: 100%;
    }

    .block_title h2 {
        font-size: 21px;
    }

}
/* Mobile hamburger menu */
@media screen and (max-width: 767px) {

    #navigation {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        width: 100%;
        margin-top: 10px !important;
        display: block;
        overflow: visible;
    }

    #menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 42px;
        height: 36px;
        padding: 7px;
        margin: 0 10px 10px auto;
        background: #394264;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    #menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #ffffff;
        border-radius: 2px;
    }

    #main-menu {
        display: none;
        float: none !important;
        width: 100%;
        margin: 0 !important;
        background: #333333;
    }

    #main-menu.mobile-menu-open {
        display: block !important;
    }

    #main-menu > li {
        display: block !important;
        float: none !important;
        width: 100%;
        margin: 0 !important;
    }

    #main-menu > li > a {
        display: block !important;
        padding: 12px 15px !important;
        color: #ffffff !important;
        font-size: 14px !important;
        border-bottom: 1px solid #555555;
    }
}
