/* =================================================================
   CLINTY BLOG POSTS - NOVO LAYOUT (Fase 2)
   Texto sobre imagem + Hover zoom effect
   Data: 20/02/2026
   ================================================================= */

/* Container do post com posicionamento relativo */
.clinty-post-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 100%;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Imagem do post */
.clinty-post-card .post-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* Efeito zoom na imagem ao hover */
.clinty-post-card:hover .post-image {
    transform: scale(1.08);
}

/* Overlay escuro sobre a imagem (gradiente de cima para baixo) */
.clinty-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    transition: background 0.3s ease;
    z-index: 1;
}

/* Overlay mais escuro ao hover */
.clinty-post-card:hover .clinty-post-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

/* Container do conteúdo (categoria + título + subtítulo + link) */
.clinty-post-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Categoria no topo (laranja) */
.clinty-post-category {
    display: inline-block;
    align-self: flex-start;
    background-color: #FF6B35;
    color: #ffffff;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.clinty-post-card:hover .clinty-post-category {
    background-color: #ff8555;
    transform: translateY(-2px);
}

/* Conteúdo inferior (título + subtítulo + link) */
.clinty-post-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Título do post (branco, bold) */
.clinty-post-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

.clinty-post-card:hover .clinty-post-title {
    color: #FF6B35;
}

/* Subtítulo/descrição (branco com transparência) */
.clinty-post-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Link "Leia mais" */
.clinty-post-link {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.clinty-post-card:hover .clinty-post-link {
    gap: 12px;
    color: #FF6B35;
}

.clinty-post-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.clinty-post-card:hover .clinty-post-link i {
    transform: translateX(4px);
}

/* Responsividade - Tablets */
@media (max-width: 991px) {
    .clinty-post-card .post-image {
        height: 400px;
    }
    
    .clinty-post-title {
        font-size: 22px;
    }
    
    .clinty-post-content {
        padding: 25px;
    }
}

/* Responsividade - Mobile */
@media (max-width: 767px) {
    .clinty-post-card .post-image {
        height: 350px;
    }
    
    .clinty-post-title {
        font-size: 20px;
    }
    
    .clinty-post-subtitle {
        font-size: 14px;
    }
    
    .clinty-post-content {
        padding: 20px;
    }
    
    .clinty-post-category {
        font-size: 10px;
        padding: 5px 12px;
    }
}

/* Extra Small */
@media (max-width: 575px) {
    .clinty-post-card .post-image {
        height: 300px;
    }
    
    .clinty-post-title {
        font-size: 18px;
    }
}
