/* Verita - Banner 4 - Parallax scrolling thingy */
.banner-verita-4 {
    --content-height: 35dvh;
    --background-image-url: url("/public/javascript/individual/cmsIndividual/banners/banner-4/assets/image.png");

    background-color: #c9cdcf;
    margin: 0;
    min-height: 100dvh;
    width: 100%;
    container-type: inline-size;

    background-image: var(--background-image-url);
    background-size: cover;
    background-attachment: fixed;

    background-position-x: center;
    background-position-y: var(--content-height);
    background-repeat: no-repeat;
}

/* Wrapper wrapping everything */
.banner-verita-4 .content-wrapper {
    gap: 2rem;

    transition: transform 0.05s ease-out;

    min-height: var(--content-height);
    width: clamp(90%, 50%, 30rem);
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-block: 3rem;
    padding-inline: 1.5rem;
}

.banner-verita-4 h3 {
    font-size: 3rem;
    text-align: center;
    max-width: 50rem;
}

/* Inner container wrapping inner tiles */
.banner-verita-4 .tiles-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 3rem;
}

/* Inner tile structure */
.banner-verita-4 .tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 20rem;
    gap: 2rem;
    text-align: center;
    line-height: 1.15;
}

.banner-verita-4 .tile-content img {
    width: 2.5rem;
}

@container (width < 96.5rem) {
    .banner-verita-4 .content-wrapper {
        width: 80%;
    }

    .banner-verita-4 h3 {
        width: 60%;
    }
}

@container (width < 43.75rem) {
    .banner-verita-4 .content-wrapper {
        width: 90%;
    }

    .banner-verita-4 h3 {
        width: 90%;
    }
}
