/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .featured-slider {
        height: 450px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .content-grid {
        grid-template-columns: 1fr 300px;
        gap: 32px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .post-hero {
        height: 350px;
    }
    
    .post-hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .header {
        padding: 16px 0;
    }
    
    .logo h1 {
        font-size: 24px !important;
    }
    
    .logo .tagline {
        display: none;
    }
    
    .main-nav {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 0 20px;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .search-form {
        display: none;
    }
    
    .featured-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 22px;
    }
    
    .slider-controls {
        right: 20px;
        bottom: 10px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .post-hero {
        height: 280px;
    }
    
    .post-hero-content {
        padding: 40px 0;
    }
    
    .post-hero-content h1 {
        font-size: 24px;
    }
    
    .post-body {
        padding: 20px;
        margin-top: -30px;
    }
    
    .post-excerpt {
        font-size: 18px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .post-list-item {
        flex-direction: column;
    }
    
    .post-list-item .post-image {
        width: 100%;
        height: 200px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .error-code {
        font-size: 100px;
    }
    
    .error-content h1 {
        font-size: 24px;
    }
    
    .error-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .featured-slider {
        height: 280px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .post-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .post-hero {
        height: 250px;
    }
    
    .post-hero-content h1 {
        font-size: 20px;
    }
    
    .post-body {
        padding: 16px;
        margin-top: -24px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .category-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
    }
    
    .post-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .post-list-item .post-content {
        padding: 16px;
    }
    
    .post-list-item h3 {
        font-size: 18px;
    }
    
    .pagination a, .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .breaking-news-ticker {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ticker-label {
        justify-content: center;
        padding: 8px;
    }
    
    .ticker-content {
        padding: 8px 16px;
    }
}

/* Print styles */
@media print {
    .header,
    .main-nav,
    .footer,
    .sidebar,
    .share-buttons,
    .comments-section,
    .back-to-top,
    .breaking-news-ticker {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .post-hero {
        height: auto;
        background: none;
    }
    
    .post-hero-overlay {
        display: none;
    }
    
    .post-hero-content {
        color: black;
        padding: 0;
    }
    
    .post-body {
        box-shadow: none;
        margin-top: 20px;
    }
}
