/**
 * Arroyo Management Theme
 *
 * File: responsive.css
 * Description: Site Responsive styling
 *
 * @package ArroyoTheme
 * @author Ben Wouden
 * @version 1.0.0
 * @since 1.0.0
 */

@media (max-width: 1100px) {
    .arroyo-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        width: 44px;
        height: 44px;

        background: none;
        border: 0;
        cursor: pointer;
    }

    .arroyo-mobile-toggle span {
        width: 24px;
        height: 2px;
        background: var(--arroyo-dark);
    }

    .arroyo-main-nav {
        display: none !important;
        flex: 0 0 100%;
        width: 100%;
    }

    .arroyo-main-nav.is-open {
        display: block !important;
        flex: 0 0 100%;
        width:100%;

        background: #fff;
        border-top: 1px solid var(--arroyo-border);
    }

    .arroyo-site-header .arroyo-menu {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .arroyo-site-header .arroyo-menu > li {
        display: block;
        width: 100%;
    }
    
    .arroyo-site-header .arroyo-menu > li > a {
        display: block;
        width: 100%;
        min-height: auto;
        padding: 14px 20px;
        text-align: left;
        border-bottom: 1px solid var(--arroyo-border);
        border-radius: 0;
    }
    
    .arroyo-menu > li > a:hover,
    .arroyo-menu > li.current-menu-item > a {
        background-color: rgba(171, 184, 195, 0.20);
        color: var(--arroyo-green);
    }
    
    .arroyo-site-header {
        position: relative;
    }

    .arroyo-header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
}

@media (max-width: 768px) {

    /* ==========================================================================
       Mobile Header
       ========================================================================== */
    .arroyo-header-inner {
        min-height: 80px;
    }
    
    .arroyo-logo img,
    .custom-logo {
        max-height: 60px;
    }
    
    /* ==========================================================================
       Mobile Footer
       ========================================================================== */
    
    .arroyo-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .arroyo-footer-links {
        display: none;
    }

    .arroyo-footer-info {
        order: 1;
    }

    .arroyo-footer-eho {
        order: 2;
    }

    .arroyo-footer-bottom {
        order: 3;
    }

    .arroyo-eho-image {
        margin-top: 0;
        max-width: 120px;
    }

    .arroyo-footer-contact {
        line-height: 1.8;
    }
    
    /* ==========================================================================
       Mobile Frontpage
       ========================================================================== */
    
    .arroyo-hero-card {
        left: 20px;
        right: 20px;
        top: 20px;
        max-width: none;
        padding: 1.25rem;
    }

    .arroyo-hero-card h1 {
        font-size: 1.8rem;
    }
    
}