/* Адаптивные стили для сайта "Русская научная мысль" */

/* Планшеты */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .news-grid, .about-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex-basis: 50%;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .news-grid, .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        flex-basis: 100%;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero, .stats, .news, .about {
        padding: 30px 0;
    }
    
    .enter-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
