/* ========================================
   Qazaq News Agency - Responsive Styles
   ======================================== */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (320px - 767px) */
@media screen and (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Navigation */
    .navbar {
        flex-wrap: wrap;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo .tagline {
        font-size: 0.75rem;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        order: 4;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        margin-top: 20px;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    /* Hero */
    .hero {
        padding: 60px 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* News Grid */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .news-image,
    .news-card.featured .news-image {
        height: 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 25px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        font-size: 0.9rem;
    }

    /* Page Header */
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Content Sections */
    .content-section {
        padding: 40px 0;
    }

    .latest-news,
    .categories-section {
        padding: 40px 0;
    }

    /* Article */
    .article-image {
        height: 250px;
    }

    .article-content p {
        font-size: 1rem;
    }

    .article-meta {
        font-size: 0.85rem;
    }

    /* Filters */
    .filters {
        flex-direction: column;
        gap: 15px;
    }

    .filter-group {
        width: 100%;
        min-width: auto;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-info {
        padding: 25px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    /* Buttons */
    .btn {
        width: 100%;
        padding: 12px 20px;
    }

    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }

    /* FAQ */
    .faq-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    /* Disclaimer */
    .disclaimer p {
        font-size: 13px;
    }
}

/* Small Mobile (320px - 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .disclaimer,
    .btn,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    .news-card,
    .category-card,
    .faq-item {
        page-break-inside: avoid;
    }
}