/* Mobile Responsive Styles for Blog */
.mobile-menu-toggle {
    display: none;
    background-color: #7c0138;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    border-radius: 5px;
}

.mobile-menu-toggle:hover {
    background-color: #A4024E;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

@media screen and (max-width: 768px) {

    /* Prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Change background color for mobile - avoid dark red bodybg-red.gif */
    body {
        background-color: #F4F0EC !important;
        background-image: none !important;
    }

    #wapper {
        background-color: #F4F0EC;
        overflow-x: hidden;
        max-width: 100vw;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header_left {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100%;
        background-color: #7c0138;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        padding: 60px 10px 20px 10px;
    }

    .header_left.menu-open {
        left: 0;
    }

    .topmenu ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .topmenu li a {
        font-size: 14px;
        padding: 10px 15px;
        display: block;
    }

    #header,
    #header_right {
        width: 100%;
        padding: 0;
        float: none;
    }

    .body-content {
        padding: 15px;
        background-color: #F4F0EC;
    }

    table {
        width: 100% !important;
        display: block;
        overflow-x: auto;
    }

    table td {
        display: block;
        width: 100% !important;
        text-align: center !important;
    }

    .quilt-index {
        text-align: center !important;
        padding: 10px 0;
    }

    img {
        max-width: 100%;
        height: auto !important;
    }

    .img-left-no-left-margin,
    .image-float-right-no-right-margin {
        float: none !important;
        margin: 10px auto !important;
        display: block;
    }

    .blog-posts-container {
        padding: 0 !important;
    }

    .blog-post {
        margin-bottom: 20px;
    }

    .blog-post-content {
        font-size: 14px;
        line-height: 1.6;
    }

    h1 {
        font-size: 24px !important;
        padding: 15px 0 !important;
    }

    h2 {
        font-size: 20px !important;
    }

    /* Footer Styles for Mobile - Use bodybg-mob-red.gif */
    .footercontainer {
        padding: 15px 10px 30px 10px !important;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        background-image: url('images/bodybg-mob-red.gif') !important;
        background-repeat: repeat !important;
        background-color: transparent !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        clear: both;
    }

    .footer {
        width: 100% !important;
        float: none !important;
        text-align: center;
        padding: 15px 10px 30px 10px !important;
        background-image: url('images/bodybg-mob-red.gif') !important;
        background-repeat: repeat !important;
        background-color: transparent !important;
        height: auto !important;
        overflow: visible !important;
    }

    .copyright {
        width: 100% !important;
        float: none !important;
        text-align: center;
        padding: 15px 10px !important;
        margin: 10px 0;
        color: #fff !important;
        height: auto !important;
        background: none !important;
        background-image: none !important;
        background-color: transparent !important;
    }

    .footermenu {
        width: 100%;
        display: block !important;
    }

    .footermenu ul {
        padding: 20px 10px 30px 10px !important;
        margin: 0 0 20px 0;
        list-style: none;
        display: block !important;
    }

    .footermenu li {
        display: inline-block !important;
        padding: 5px 8px !important;
        background: none !important;
        border: none;
    }

    .footermenu li a {
        color: #fff !important;
        text-decoration: none !important;
        font-size: 12px !important;
        font-family: 'Ubuntu', sans-serif !important;
        display: inline !important;
    }

    .footermenu li a:hover {
        text-decoration: underline !important;
    }

    .services {
        padding: 10px;
        margin: 10px 0;
    }
}