/* Responsive Styles for Newspaper Pro Template */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .main-header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-column: auto;
        grid-row: auto;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .top-bar .container {
        flex-direction: column;
    }
    
    .top-bar-left, .top-bar-right {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .featured-content h3 {
        font-size: 18px;
    }
}