/* styles.css */

/* Container for the posts */
.awesome-posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

/* Individual post style */
.awesome-post {
    padding: 0px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /*width: calc(28%);*/
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* .awesome-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */

/* Image container */
.awesome-post-thumbnail {
    height: 350px; /* Set the desired fixed height */
    width: 100%;
    overflow: hidden;
    position: relative;
    /*aspect-ratio:1/1;*/
}

/* Image style */
.awesome-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-bottom: 1px solid #ddd;
}

/* Content style */
.awesome-post .content {
    padding: 5px 20px 5px 20px;
    min-height: 400px;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.awesome-post .main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Publish date style */
#main .awesome-post .content p.publish-date {
    color: var(--darker-blue);
    font-size: 14px;
    margin: 4px 16px 0;
    font-weight: 400;
}

/* Title style */
.awesome-post .title {
    font-size: 18px;
    font-weight: 600;
    margin: 8px 16px;
    line-height: 1.4rem;
    /*min-height: 2.8rem;*/
}

/* Excerpt style */
.awesome-post .excerpt {
    font-size: 14px;
    color: #666;
    margin: 8px 16px 16px;
    flex-grow: 1;
}

/* Call-to-action button style */
.awesome-post .cta {
    margin: 16px;
    text-align: center;
}

.awesome-post .cta a {
    display: inline-block;
    text-decoration: none;
}

.plus-dashicon {
    color: var(--darker-blue);
    padding: 5px;
    border-radius: 3px;
    display: inline-block;
    font-size: 30px;
    margin-bottom: 10px;
}

/* Horizontal rule style */
.awesome-post hr {
    height: 2px;
    border-width: 0;
    color: gray;
    background-color: var(--darker-blue);
    /*margin: 16px;*/
    width: 40%;
}

/* Responsive adjustments 
@media (max-width: 1200px) {
    .awesome-post {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .awesome-post {
        width: 100%;
    }
}
*/
@media (min-width: 763px) {
    .awesome-posts-posts-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .awesome-posts-title-container h2 {
        margin-top: 40px;
    }
}

@media (min-width: 1023px) {
    .awesome-posts-posts-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}

/*763 / 1023*/
#awesome-posts-title-container {
    padding-left: 0px;
    margin-top: 40px;
}

#awesome-posts-title-container h2 {
    font-weight: 600;
}

#awesome-posts-title-container hr {
    border-top: 1px solid gray;
}

#posts-cta-button {
    border-radius: 25px !important;
    background-color: rgb(179, 0, 0);
    padding: 5px 25px !important;
    margin-top: 40px !important;
}

.awesome-posts-posts-container button.card_button a{
    background: rgb(179, 0, 0);
    color: white;
}


.awesome-posts-posts-container div.card_body > div.card_button > a{
     background: rgb(179, 0, 0);
    color: white;

}

.plus-character {
    display: inline-block;
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    line-height: 25px; /* Align + in the center */
    border-radius: 50%;
    background-color: var(--darker-blue) !important;
    color: #fff; /* Adjust text color as needed */
    font-size: 20px; /* Adjust size as needed */
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    /*padding-bottom: 20px!important; Ensure consistent padding on all sides */
}


    .awesome-posts-container .swiper {
        padding: 10px;
    }
    .awesome-posts-container .swiper-slide {
        width: 80%;
    }
    @media (min-width: 768px) {
        .awesome-posts-container .swiper { display: none; }
    }
    @media (max-width: 767px) {
        .awesome-posts-posts-container { display: none; }
    }

    /* ====== FIX: colunas alinhadas (desktop/tablet) ====== */
    /* torna cada coluna um flex container para esticar o cartão */
    .awesome-posts-posts-container .col-md-4,
    .awesome-posts-posts-container .col-sm-6,
    .awesome-posts-posts-container .col-xs-12 {
        display: flex;
    }

    /* o cartão ocupa 100% da altura da coluna */
    .awesome-posts-posts-container .cards {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* mantém a imagem com proporção fixa e evita que estoure a largura */
    .awesome-posts-posts-container .card_imgs { 
        width: 100%;
        overflow: hidden;
        line-height: 0; /* remove espaços fantasmas */
    }
    /* usar aspect-ratio quando disponível */
    @supports (aspect-ratio: 16/9) {
        .awesome-posts-posts-container .card_imgs { aspect-ratio: 16/9; }
        .awesome-posts-posts-container .card_img_outro {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
    }
    /* fallback se o navegador não suportar aspect-ratio */
    @supports not (aspect-ratio: 16/9) {
        .awesome-posts-posts-container .card_img_outro {
            width: 100%;
            height: 240px; /* ajuste se quiser outra altura */
            object-fit: cover;
            display: block;
        }
    }

    /* o body do cartão preenche o resto e o botão vai para o fundo */
    .awesome-posts-posts-container .card_body {
        flex: 1;
        display: flex;
        flex-direction: column;
        background-color: rgb(219, 219, 219);
    }
    .awesome-posts-posts-container .card_button {
        margin-top: auto; /* alinha o botão no fundo de todos os cartões */
    }

.awesome-posts-container .card_tag{
	display:none;
}

.awesome-posts-posts-container .col-md-4.col-sm-6.col-xs-12{
	width:100%;
}

.awesome-posts-posts-container .mktv-cta-container{
	display:flex;
	justify-content:end;
}

.awesome-posts-container #posts-cta-button{
	border:0
}

.awesome-posts-container .card_body{
	background-color:white;
}