/* ==========================================================================
   cards5
   ========================================================================== */
.container-cards5 {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.container-cards5.right {
    flex-direction: row-reverse;
}

.container-cards5 picture { display: contents; }

.container-cards5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

.container-cards5 .big {
    width: 50%;
    height:100%;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.container-cards5 .big + .white { flex: 1; }

.container-cards5 .veryBig {
    width: 65%;
    height: 100%;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.container-cards5 .veryBig + .white { flex: 1; }

.container-cards5 .small {
    width: 35%;
    height:100%;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.container-cards5 .small + .white { flex: 1; }

.container-cards5 .white {
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.container-cards5 .white h1,
.container-cards5 .white h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.container-cards5 .white p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

@media (max-width: 800px) {
    .container-cards5,
    .container-cards5.right { width: 90%; flex-direction: column; min-height: auto; gap: 20px; }
    .container-cards5 .big,
    .container-cards5 .veryBig,
    .container-cards5 .small { width: 100%; }
    .container-cards5 img { height: 260px; }
    .container-cards5 .white { padding: 10px 0; }
}
