/* SEZIONE NEWS DAL MAGAZINE */
.news-section {
    position: relative;
    padding: 80px 0;
    background: #060606;
    overflow: hidden;
}

.news-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 90%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191, 0, 0, 0.6), transparent);
}

.news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.news-head .section-title {
    margin-bottom: 0;
    text-align: left;
}

.news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.news-all-link:hover {
    border-color: #bf0000;
    background: rgba(191, 0, 0, 0.15);
    transform: translateY(-2px);
}

.news-all-link i {
    font-size: 0.8rem;
    transition: transform .3s ease;
}

.news-all-link:hover i {
    transform: translateX(4px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(191, 0, 0, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.news-card-img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.06);
}

.news-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #bf0000;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 24px;
    flex: 1;
}

.news-card-date {
    color: #8a8a8a;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.news-card-title {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.35;
    font-weight: 700;
}

.news-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.news-card-title a:hover {
    color: #ff4d4d;
}

.news-card-excerpt {
    margin: 0;
    color: #a5a5a5;
    font-size: 0.92rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    color: #bf0000;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.news-card-read i {
    font-size: 0.75rem;
    transition: transform .3s ease;
}

.news-card-read:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .news-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
