﻿.section-carrouselBlog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    gap: 55px;
    background: var(--primario-variante-5);
}

    .section-carrouselBlog .ver-card {
        opacity: 1 !important;
    }

    .section-carrouselBlog .sub-section-carrouselBlog {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        max-width: var(--max-width);
        width: 100%;
    }

.section-carrouselBlog .swiper .swiper-carrousel-blog {
    width: 100%;
}


.ctn-carrouselBlog {
    display: flex;
    flex-direction: row;
    align-items: center;
    opacity: 0;
    transition: opacity 1.6s ease-out;
    width: 100%;
    padding: 1rem;
}

    .section-carrouselBlog div h2 {
        margin: 0;
        color: #000;
        text-align: center; /* H2 */
        font-family: Lexend;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 32px; /* 133.333% */
    }

.subctn-carrouselBlog {
    cursor: pointer;
    display: flex;
    width: 377px;
    height: auto;
    max-height: 392px;
    min-height: 392px;
    padding: 20px;
    margin-right: 34px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease-out;
}

    .subctn-carrouselBlog.swiper-slide {
        width: 377px;
        height: auto;
    }

.subctn-carrouselBlog:hover {
    transform: scale(1.05) !important;
}

    .subctn-carrouselBlog .txt-categoria {
        display: flex;
        width: auto;
        height: 28px;
        padding: 4px 8px;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        border-radius: 8px;
        background: var(--states-info-background);
        flex: 1 0 0;
        color: var(--states-info-primary);
        font-feature-settings: 'liga' off, 'calt' off;
        font-family: var(--lexend);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px;
    }

    .subctn-carrouselBlog .txt-title {
        color: var(--texto-secundario);
        font-family: Lexend;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
        min-height: 62px;
        max-height: 62px;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.subctn-carrouselBlog .txt-content {
    min-height: 40px;
    color: var(--texto-secundario);
    font-feature-settings: 'liga' off, 'calt' off; /* Caption Text */
    font-family: var(--lexend);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 150% */
}

.btn-ir-blog {
    cursor: pointer;
    display: flex;
    width: 320px;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 36px;
    background: var(--primario-primario);
    color: #FFF;
    font-family: var(--lexend);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: transform 0.3s ease-in-out;
}

.btn-ir-blog:hover{
    transform:scale(1.05);
}

@media screen and (max-width:550px){
    .section-carrouselBlog{
        padding: 60px 24px;
    }

    .btn-ir-blog {
        width: 100%;
    }

    .subctn-carrouselBlog {
        max-height: none;
        min-height: 382px;
        width: 244px !important;
        margin-right: 20px;
    }

    .subctn-carrouselBlog div img {
        height: 134px;
    }

    .txt-title {
        max-height: 100px;
    }

    .subctn-carrouselBlog .txt-title{
        max-height:none;
    }
}