/* Секция новостей на лендинге */
.arbi-news {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.arbi-news .section-header {
    text-align: center;
    margin-bottom: 60px;
}



/* Сетка для широких карточек */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card-wide {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
}

.news-card-wide:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
    z-index: 1;
}

.news-card-content {
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(var(--primary-color-rgb, 102, 126, 234), 0.1);
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.news-card-wide:hover .news-title {
    color: var(--primary-color);
}

.news-date {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    background: rgba(var(--primary-color-rgb, 102, 126, 234), 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 30px 0;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.news-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(var(--primary-color-rgb, 102, 126, 234), 0.1);
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.author-name {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.news-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-item i {
    font-size: 0.9rem;
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    background: rgba(var(--primary-color-rgb, 102, 126, 234), 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid rgba(var(--primary-color-rgb, 102, 126, 234), 0.2);
}

.news-card-wide:hover .read-more {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    gap: 15px;
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb, 102, 126, 234), 0.3);
}

.read-more i {

    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.news-card-wide:hover .read-more i {
    transform: translateX(5px);

}



/* Без новостей */
.no-news {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 2px dashed rgba(var(--primary-color-rgb, 102, 126, 234), 0.3);
}

.no-news p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Анимации */
.news-card-wide {
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержки для анимаций */
.news-card-wide:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card-wide:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card-wide:nth-child(3) {
    animation-delay: 0.3s;
}

.news-card-wide:nth-child(4) {
    animation-delay: 0.4s;
}

.news-card-wide:nth-child(5) {
    animation-delay: 0.5s;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .news-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .news-cards-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .arbi-news .section-title {
        font-size: 2.5rem;
    }

    .news-card-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .arbi-news {
        padding: 60px 0;
    }

    .arbi-news .section-header {
        margin-bottom: 40px;
    }

    .arbi-news .section-title {
        font-size: 2.2rem;
    }

    .arbi-news .section-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .news-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .news-title {
        margin-right: 0;
        font-size: 1.4rem;
    }

    .news-date {
        align-self: flex-start;
    }

    .news-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .read-more {
        align-self: flex-start;
    }

    .btn-outline {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .news-card-content {
        padding: 25px 20px;
    }

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

    .news-excerpt {
        font-size: 1.05rem;
        -webkit-line-clamp: 5;
    }

    .news-stats {
        gap: 15px;
    }

    .stat-item {
        font-size: 0.9rem;
    }

    .arbi-news .section-title {
        font-size: 2rem;
    }

    .arbi-news .section-subtitle {
        font-size: 1rem;
    }
}

/* Если нужно добавить поддержку темной темы с помощью data-theme */
[data-theme="dark"] .arbi-news {
    background-color: #1a1a2e;
}

[data-theme="dark"] .news-card-wide {
    background: #0f3460;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .news-title,
[data-theme="dark"] .author-name {
    color: #e0e0e0;
}

[data-theme="dark"] .news-excerpt {
    color: #b0b0b0;
}

[data-theme="dark"] .no-news {
    background: #0f3460;
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .no-news p {
    color: #b0b0b0;
}

[data-theme="dark"] .author-label,
[data-theme="dark"] .news-date,
[data-theme="dark"] .stat-item {
    color: #a0a0a0;
}