/* ============================================
   MOBILE.CSS — Responsive & Mobile Navigation
   ============================================ */

/* --- HAMBURGER TOGGLE --- */
.hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    cursor: pointer;
    z-index: 10001;
    margin-right: 20px;
}

.hamburger-toggle span {
    display: block;
    width: 100%;
    height: 5px;
    background: #000;
    transition: all 0.3s ease;
}

/* --- MOBILE SIDE MENU --- */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -325px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    border-left: 5px solid #000;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    padding: 5px;
    background: #fff;
    border-bottom: 5px solid #000;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0;
    border-radius: 50px;
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    line-height: 1;
    transition: none;
}

.mobile-menu-close:hover {
    background: #000;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- MOBILE NAV BUTTONS --- */
.mobile-nav-btn {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    border-bottom: 5px solid #000;
    padding: 25px;
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-nav-btn:hover {
    background: #000;
    color: #fff;
}

.mobile-nav-btn.active-nav {
    background: transparent !important;
    color: rgba(0, 0, 0, 0.5) !important;
}

.mobile-nav-btn:last-child {
    border-bottom: 5px solid #000;
}

/* ============================================
   BREAKPOINTS — Tablet & Mobile (<= 1024px)
   ============================================ */
@media (max-width: 1024px) {

    /* --- BANNER: Hide desktop nav, show hamburger --- */
    .banner-nav {
        display: none !important;
    }

    .hamburger-toggle {
        display: flex;
    }

    .zl-banner {
        padding: 0 !important;
        justify-content: space-between;
        height: 60px !important;
        box-sizing: border-box;
    }

    .banner-logo-container {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 5px 0 5px 5px !important;
        flex-shrink: 0;
    }

    .banner-logo {
        height: 50px !important;
        width: auto !important;
        margin-left: 0 !important;
    }

    /* --- TYPOGRAPHY SCALING --- */
    h1 {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }

    .about-title {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
        margin-bottom: 30px !important;
        padding-bottom: 15px !important;
    }

    .about-body {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 50px !important;
    }

    /* --- CONTENT TEMPLATES --- */
    .care-template {
        padding: 20px !important;
    }

    #care-title {
        margin-bottom: 30px !important;
    }

    #care-description {
        font-size: 1.1rem !important;
        margin-bottom: 50px !important;
    }

    #care-grid {
        grid-template-columns: 1fr !important;
    }

    /* --- BLOG LAYOUT STACKING --- */
    .blog-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .blog-post-card {
        grid-template-columns: 1fr !important;
    }

    .blog-post-card-info {
        border-right: none !important;
        border-bottom: 5px solid #000 !important;
    }

    /* --- BLOG READER MODAL MOBILE FIXES --- */
    .resource-modal-inner {
        padding: 30px 20px !important;
        border-width: 5px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .resource-modal-content {
        margin: 0 auto !important;
        width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    #blog-post-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        line-height: 1.1 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    #blog-post-content {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }


    /* --- RESOURCE CARDS --- */
    .resource-card {
        padding: 20px !important;
    }

    .resource-card h2 {
        font-size: 1.5rem !important;
    }

    .resource-link-item {
        padding: 15px 20px !important;
        margin-bottom: 10px !important;
    }

    .resource-link-label {
        font-size: 1.2rem !important;
    }

    .resource-link-subtitle {
        font-size: 0.9rem !important;
    }

    /* --- FOOTER STACKING --- */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* --- MISSION RECORD SPACING --- */
    .about-text-box {
        padding-top: 40px !important;
        padding-bottom: 10px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .record-navigation {
        margin-top: 10px !important;
        margin-bottom: 580px !important;
    }
}



/* ============================================
   BREAKPOINTS — Large Desktop (>= 1600px)
   ============================================ */
@media (min-width: 1600px) {

    .about-content,
    .care-template,
    .footer-content {
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html {
        font-size: 18px;
    }
}

/* --- BLOG DESKTOP SIDEBAR ALIGNMENT --- */
@media (min-width: 1025px) {
    #blog-page #blog-description {
        max-width: calc(100% - 340px);
    }

    #blog-page .blog-sidebar {
        margin-top: -82px;
        z-index: 10;
        position: relative;
    }
}