/* ========================================= */
/* NEWS - ACCUEIL                            */
/* ========================================= */

.home-news {
    width: min(1100px, calc(100% - 40px));

    margin: 60px auto 20px;
}

.home-news h2 {
    position: relative;

    display: inline-block;

    margin-bottom: 30px;
    padding-bottom: 10px;

    color: var(--white);

    font-size: 38px;
    text-transform: uppercase;
}

.home-news h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 70%;
    height: 4px;

    border-radius: 10px;

    background: linear-gradient(
        to right,
        var(--green),
        transparent
    );
}

.news-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 24px;
}

.news-card {
    padding: 26px;

    border: 1px solid rgba(121, 214, 74, 0.25);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(121, 214, 74, 0.08),
            rgba(255, 255, 255, 0.02)
        ),
        rgba(8, 13, 15, 0.82);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);

    border-color: rgba(121, 214, 74, 0.5);
}

.news-date {
    margin-bottom: 10px;

    color: var(--green-light);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.news-card h3 {
    margin-bottom: 12px;

    color: var(--white);

    font-size: 25px;
}

.news-card p {
    margin: 0;

    color: var(--gray);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


/* ========================================= */
/* SPONSORS - ACCUEIL                        */
/* ========================================= */

.home-sponsors {
    width: min(1100px, calc(100% - 40px));

    margin: 10px auto 56px;
}

.home-sponsors h2 {
    position: relative;

    display: inline-block;

    margin-bottom: 30px;
    padding-bottom: 10px;

    color: var(--white);

    font-size: 38px;
    text-transform: uppercase;
}

.home-sponsors h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 70%;
    height: 4px;

    border-radius: 10px;

    background: linear-gradient(
        to right,
        var(--green),
        transparent
    );
}

.sponsors-container {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(170px, 1fr));

    gap: 20px;
}

.home-sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 170px;
    padding: 22px;

    border: 1px solid rgba(121, 214, 74, 0.22);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.05),
            rgba(121, 214, 74, 0.045)
        ),
        rgba(8, 13, 15, 0.8);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.24);

    text-align: center;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.home-sponsor-card:hover {
    border-color: rgba(121, 214, 74, 0.45);

    transform: translateY(-3px);
}

.home-sponsor-card img {
    display: block;

    width: 100%;
    max-width: 150px;
    height: 86px;

    margin-bottom: 16px;

    object-fit: contain;
}

.home-sponsor-card span {
    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

@media screen and (max-width: 700px) {
    .home-sponsors {
        width: calc(100% - 30px);
        margin-bottom: 42px;
    }

    .home-sponsors h2 {
        font-size: 32px;
    }

    .sponsors-container {
        grid-template-columns:
            repeat(auto-fit, minmax(140px, 1fr));
    }
}
