/* ===== СТИЛИ СТРАНИЦЫ "СВЕЖИЕ СТАТЬИ" ===== */

.articles-hero {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: '✨';
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    top: -30px;
    left: -30px;
    animation: pulse 3s ease-in-out infinite;
}

.articles-hero::after {
    content: '📰';
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    bottom: -30px;
    right: -30px;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.articles-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.articles-hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

.articles-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
}

.stat-icon {
    font-size: 24px;
}

.articles-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
    display: flex;
    flex-direction: row;
    height: 280px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-item:nth-child(1) { animation-delay: 0.1s; }
.article-item:nth-child(2) { animation-delay: 0.2s; }
.article-item:nth-child(3) { animation-delay: 0.3s; }
.article-item:nth-child(4) { animation-delay: 0.4s; }
.article-item:nth-child(5) { animation-delay: 0.5s; }

.article-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
}

.article-preview {
    width: 40%;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-item:hover .article-image {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-icon {
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.article-content {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8B5CF6;
    font-weight: 600;
}

.article-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
}

.article-title-main {
    font-size: 26px;
    font-weight: bold;
    color: #1F2937;
    margin: 0 0 15px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt-text {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.7;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}

.author-role {
    font-size: 12px;
    color: #9CA3AF;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.read-more-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.no-articles {
    text-align: center;
    padding: 80px 20px;
}

.no-articles-icon {
    font-size: 100px;
    margin-bottom: 30px;
    opacity: 0.5;
}

.no-articles-title {
    font-size: 32px;
    font-weight: bold;
    color: #1F2937;
    margin: 0 0 15px 0;
}

.no-articles-text {
    font-size: 18px;
    color: #6B7280;
    margin: 0;
}

/* Адаптивность */
@media screen and (max-width: 968px) {
    .article-item {
        flex-direction: column;
        height: auto;
    }
    
    .article-preview {
        width: 100%;
        min-width: unset;
        height: 250px;
    }
    
    .article-content {
        padding: 25px;
    }
}

@media screen and (max-width: 768px) {
    .articles-hero-title {
        font-size: 36px;
    }
    
    .articles-hero {
        padding: 40px 25px;
    }
    
    .articles-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-title-main {
        font-size: 22px;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .articles-hero-title {
        font-size: 28px;
    }
    
    .articles-hero-subtitle {
        font-size: 16px;
    }
    
    .article-preview {
        height: 200px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title-main {
        font-size: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
