/**
 * Desktop Layout Fix
 * This file specifically fixes desktop layout issues
 */

/* ===== GLOBAL DESKTOP STYLES ===== */
@media (min-width: 769px) {
    /* Typography for desktop */
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.75rem !important;
    }
    
    /* Hero section fixes */
    .hero-section {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.4rem !important;
    }
    
    /* Hero search form */
    .hero-search form {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .hero-search input {
        border-radius: 8px 0 0 8px !important;
        margin-bottom: 0 !important;
    }
    
    .hero-search button {
        border-radius: 0 8px 8px 0 !important;
        width: auto !important;
    }
    
    /* Stats counter */
    .stats-counter {
        display: flex !important;
        flex-direction: row !important;
        gap: 40px !important;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Hero buttons */
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
    }
    
    .hero-buttons .btn {
        width: auto !important;
    }
    
    /* Network cards */
    .networks-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    /* Categories grid */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    /* Reviews grid */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Review pros-cons */
    .review-pros-cons {
        grid-template-columns: 1fr 1fr !important;
    }
    
    /* CTA buttons */
    .cta-buttons {
        flex-direction: row !important;
        gap: 20px !important;
    }
    
    .cta-buttons .btn {
        width: auto !important;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    /* Testimonials grid */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2.2rem !important;
    }
    
    .section-subtitle {
        font-size: 1.5rem !important;
    }
    
    /* Network card layout */
    .network-card {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .network-info {
        flex: 1 !important;
    }
    
    /* Advertisement fixes */
    .advertisement[data-size="leaderboard"] {
        width: 728px !important;
        max-width: 100% !important;
        margin: 20px auto !important;
    }
}

/* Fix for the featured networks section */
@media (min-width: 769px) {
    .featured-networks .categories-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
    }
}

/* Fix for the categories section */
@media (min-width: 769px) {
    .categories-section .categories-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px;
    }
}

/* Fix for the latest reviews section */
@media (min-width: 769px) {
    .latest-reviews .reviews-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
}