.M10 { margin: 80px 0; }
.M10 .superior {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 54px;
}

.M10 .titulo > * {
    color: #005199;
    font-family: "Noto Sans";
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 16px;
}
.M10 .texto > * {
    color: #000;
    font-family: "Noto Sans";
    font-size: 20px;
    font-weight: 400;
    line-height: 28px; /* 140% */
    margin: 0;
}
.M10 .titulo, .M10 .texto { max-width: 588px; }
.M10 .cards { display: flex; flex-direction: column; gap: 16px; }
.M10 .cards .row {
    display: grid;
    gap: 16px;
}
.M10 .card {
    padding: 24px 16px;
    background-color: #F4F4F3;
    display: flex;
    flex-direction: column;
    transition: .3s all linear;
    justify-content: start;
    min-height: 344px;
    height: 100%;
}
.M10 .card:hover { background-color: #00205B; justify-content: center; }
.M10 .card .titulo {
    color: #005199;
    font-family: "Noto Sans";
    font-size: 24px;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
    transition: .5s all linear;
    margin-bottom: 16px;
}
.M10 .card:hover .titulo { color: #fff; }
.M10 .card .textCont { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.M10 .card .textCont img {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 1;
    visibility: visible;
    transition: .3s all linear;
    height: 250px;
}
.M10 .card:hover .image { opacity: 0; visibility: hidden; transition: .5s all linear; }
.M10 .card .textCont .texto, .M10 .card  .textCont .cardCta {
    position: relative;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: .3s all linear;
}
.M10 .card .cardCta {
    color: #FFF;
    font-family: "Noto Sans";
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 2px;
    padding: 4px 8px;
    border-radius: 99px;
    border: 1px solid #FFF;
    width: fit-content;
}
.M10 .card .texto {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.M10 .row-2 .card .texto {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}
.M10 .row-3 .card .texto {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* number of lines to show */
    line-clamp: 6;
    -webkit-box-orient: vertical;
}
.M10 .row-4 .card .texto {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8; /* number of lines to show */
    line-clamp: 8;
    -webkit-box-orient: vertical;
}
.M10 .card .texto * {
    color: #FFF;
    font-family: "Noto Sans";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
}
.M10 .card:hover .texto, .M10 .card:hover .cardCta {
    visibility: visible;
    opacity: 1;
    overflow: hidden;
    max-height: 300px;
}

@media screen and (max-width: 768px) {
    .M10 { padding-inline: 30px; }
    .M10 .superior { flex-direction: column; align-items: start; gap: 32px; }
    .M10 .cards { display: block; }
    .M10 .cards .row { grid-template-columns: 1fr !important; gap: 24px; }
    .M10 .card { height: 100%; }
    .M10 .card:hover { background-color: #F4F4F3; }
    .M10 .card .titulo { margin-bottom: 24px; color: #005199 !important; }
    .M10 .card .texto, .M10 .card .cardCta {
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden;
        max-height: 100%;
        margin-top: 24px;
        min-height: unset !important;
    }
    .M10 .card .texto:not(.open) {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* number of lines to show */
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    .M10 .openText.open { transform: rotate(180deg); }
    .M10 .card .image {
        height: 205px !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
    }
    .M10 .card .texto * { color: #00205B; margin: 0; }
    .M10 .card .cardCta { color: #005199; border-color: #005199; margin-top: 0; }
    .M10 .openText {
        display: block;
        width: fit-content;
        margin-right: 0;
        margin-left: auto;
    }
    .M10 .card .texto { max-height: 100% !important }
    .M10 .cardsDesktop { display: none; }
}

@media screen and (min-width: 800px) {
    .M10 .openText, .M10 .cardsMobile { display: none; }

}
