/* Mobile First Responsive Design */

/* Tablets and below */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        padding: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

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

    .header-actions {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .news-section {
        padding: 3rem 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 1.25rem;
    }

    .news-title {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }

    .btn-large {
        width: 100%;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

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

    .header {
        padding: 0.75rem 0;
    }

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

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .news-section {
        padding: 2rem 0;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 1rem;
    }

    .news-title {
        font-size: 1.125rem;
    }

    .news-excerpt {
        font-size: 0.9375rem;
    }

    .cta-section {
        padding: 2rem 0;
    }

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

    .cta-text {
        font-size: 0.9375rem;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 2rem 0;
    }

    .news-section {
        padding: 2rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .news-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-section,
    .mobile-menu-toggle {
        display: none;
    }

    .news-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
