



/* body *,
body *::after,
body *::before {
    border: 1px solid red;
} */


.max-to-school {

    --mblue: #003cb8;
    --myellow: #ffc700;
    --mred: #e20613;

    background-color: var(--mblue);
    border-image: fill 0 linear-gradient(var(--mblue), var(--mblue));
    border-image-outset: 0 100vw;
    padding-block: 4rem;
}


.logo-school {
    display: block;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 2rem;
}


.max-to-school .intro {

    text-align: center;
    max-width: 67ch;
    color: #ffffff;
    font-size: 1.2rem;

    margin-inline: auto;
    margin-bottom: 2rem;
}


.max-to-school .article {

    background-color: rgba(255, 255, 255, 1);
    border-radius: 2rem;

    display: flex;
    flex-wrap: wrap;
    transition: background-color 300ms ease-in-out;
}


.max-to-school .article:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.8);
}

.max-to-school .article:not(:last-child) {
    margin-bottom: 1rem;
}

.max-to-school .article:nth-child(even) .image {
    order: 1;
}

.max-to-school .article .image,
.max-to-school .article .content {
    flex: 1 1 48%
}

@media only screen and (max-width: 880px) {

    .max-to-school .article .image,
    .max-to-school .article .content {
        flex: 0 1 100%
    }

    .max-to-school .article:nth-child(even) .image {
        order: 0;
    }
}

.max-to-school .article .image {
    aspect-ratio: 16 / 9;
    border-radius: inherit;
}

.max-to-school .article .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.max-to-school .article .content {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.max-to-school .article .content h3 {
    color: var(--mblue);
    font-size: 1.5rem;
    line-height: 1.3;
    max-width: 30ch;
}

.max-to-school .article .content .cta {
    flex: 0 1 auto;
    width: fit-content;
    text-transform: uppercase;
    color: var(--mblue);
    background-color: var(--myellow);
    padding: 0.75rem 2rem;
    border-radius: 50vw;

}

.max-to-school .max-cta {
    display: block;
    width: fit-content;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.1rem;
    background-color: var(--mred);
    padding: 1rem 4rem;
    border-radius: 50vw;
    margin-top: 4rem;
    margin-inline: auto;
}


@media only screen and (max-width: 670px) {

    .max-to-school {
        padding-block: 3rem 2rem;
    }

    .logo-school {
        margin-bottom: 1rem;
    }

    .max-to-school .intro {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .max-to-school .article {
        border-radius: 1rem;
    }

    .max-to-school .article .content h3 {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .max-to-school .article .content .cta {
        padding: 0.5rem 2rem;
    }

    .max-to-school .max-cta {
        margin-top: 2rem;
    }

}


