/* Стили для страницы уроков (lessons.html) */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.lesson-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}
.lesson-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.15);
}
.lesson-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    background: linear-gradient(135deg, #8B0000, #006400);
    color: white;
    border-bottom: 3px solid #8B0000;
    transition: all 0.3s ease;
}
.lesson-card:hover .lesson-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, #006400, #8B0000);
}
.lesson-content {
    padding: 25px;
}
.lesson-card h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-size: 1.4em;
    border-left: 4px solid #006400;
    padding-left: 15px;
}
.lesson-card p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 0;
}
.quote-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    margin: 50px 0;
    text-align: center;
    border-left: 5px solid #8B0000;
}
.quote-text {
    font-size: 1.3em;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}
.quote-author {
    font-weight: bold;
    color: #8B0000;
    font-size: 1.1em;
}
.modern-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.stat-modern {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #006400;
}
.stat-modern .number {
    font-size: 2.5em;
    font-weight: bold;
    color: #8B0000;
    display: block;
    margin-bottom: 10px;
}
.stat-modern .label {
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
}
.call-to-action {
    background: linear-gradient(135deg, #8B0000, #006400);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
}
.call-to-action h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
}
.action-btn {
    background: white;
    color: #8B0000;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}
.header-icon {
    font-size: 3em;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .lessons-grid {
        grid-template-columns: 1fr;
    }
    .lesson-icon {
        height: 150px;
        font-size: 4em;
    }
    .call-to-action {
        padding: 30px 20px;
    }
    .quote-section {
        padding: 30px 20px;
    }
    .header-icon {
        font-size: 2.5em;
    }
}
