/* RESPONSIVE STYLES */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .post-item.large .post-title {
        font-size: 24px;
    }
    
    .small-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .featured-section {
        grid-template-columns: 2fr 1fr;
    }
    
    .secondary-featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-posts-section {
        grid-template-columns: 2fr 1fr;
    }
    
    .post-item.large {
        grid-template-columns: 300px 1fr;
    }
    
    .post-item.large .post-thumb {
        height: 100%;
        margin-bottom: 0;
    }
    
    .post-item.large .post-thumb img {
        height: 100%;
        object-fit: cover;
    }
    
    .small-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .main-featured .post-title {
        font-size: 28px;
    }
    
    .featured-small-post .post-title {
        font-size: 18px;
    }
    
    .small-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .main-featured .post-title {
        font-size: 32px;
    }
    
    .post-item.large .post-title {
        font-size: 26px;
    }
}

/* MOBILE SPECIFIC STYLES */
@media (max-width: 991px) {
    .site-header {
        padding: 10px 0;
    }
    
    .logo img {
        height: 24px;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100%;
        background-color: var(--darker-bg);
        z-index: 200;
        padding: 20px;
        overflow-y: auto;
        transition: all 0.4s ease;
    }
    
    .mobile-menu.active {
        left: 0;
    }
    
    .mobile-menu-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 20px;
    }
    
    .mobile-menu-close i {
        font-size: 24px;
        cursor: pointer;
    }
    
    .mobile-menu ul {
        flex-direction: column;
    }
    
    .mobile-menu li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu a {
        padding: 12px 0;
        font-size: 16px;
    }
    
    .mobile-menu .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding: 0;
        background-color: transparent;
    }
    
    .mobile-menu .dropdown-menu.active {
        display: block;
    }
    
    .mobile-menu .dropdown-menu li {
        border-bottom: none;
    }
    
    .mobile-menu .dropdown-menu a {
        padding: 10px 15px;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 199;
        display: none;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
}

/* SMALL SCREENS SPECIFIC STYLES */
@media (max-width: 767px) {
    .site-main {
        padding: 20px 0;
    }
    
    .main-content {
        gap: 20px;
    }
    
    .featured-section {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .main-featured .post-title {
        font-size: 20px;
    }
    
    .secondary-featured {
        gap: 15px;
    }
    
    .featured-small-post .post-title {
        font-size: 14px;
    }
    
    .main-posts-section {
        gap: 20px;
    }
    
    .content-area {
        gap: 20px;
    }
    
    .post-item.large {
        grid-template-columns: 1fr;
    }
    
    .post-item.large .post-content {
        padding: 15px;
    }
    
    .small-posts-grid {
        gap: 15px;
    }
    
    .footer-widgets {
        gap: 20px;
    }
}