/* Tablets */
@media (max-width: 1024px) {
    .magazine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .magazine-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .history-item {
        flex-direction: column;
    }
    
    .history-cover {
        flex: 0 0 auto;
        height: 200px;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .magazine-card img {
        height: 200px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .magazine-info {
        padding: 1rem;
    }
    
    .magazine-detail-container {
        padding: 1rem;
    }
    
    .pdf-viewer {
        height: 60vh;
    }
}