/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 27 2026 | 15:27:43 */
/**
 * ==================================================================================
 * █  LEUK NOTÍCIAS - CORE DESIGN (MASTER CONFIG)
 * ==================================================================================
 * @description Design visual mestre com Painel de Controlo Total.
 * @version     22.0.0 (Perfect Alignment Fix)
 * @author      LEUK
 * @date        2026-01-27
 * ==================================================================================
 */

/* ============================================================
   🎛️ PAINEL DE COMANDO
   ============================================================ */
:root {

    /* --- 1. CONFIGURAÇÃO DE TEXTO --- */
    --leuk-title-lines:      2;      /* Força sempre 2 linhas de título */
    --leuk-excerpt-lines:    3;      /* Máximo de linhas do Texto/Excerto */
    
    /* --- 2. DIMENSÕES & ESTRUTURA --- */
    --leuk-img-height:       380px;  /* Altura da imagem */
    --leuk-content-pad:      35px;   /* Espaçamento interno */
    --leuk-radius:           0px;    /* Arredondamento */
    
    /* --- 3. EFEITOS HOVER --- */
    --leuk-zoom-level:       1.03;   
    --leuk-zoom-speed:       0.6s;   
    --leuk-hover-bright:     1.05;   
    --leuk-hover-overlay:    rgba(0,0,0,0.02);
    
    /* --- 4. CORES & BORDAS --- */
    --leuk-bg:               #ffffff;
    --leuk-border:           rgba(0,0,0,0.08); 
    --leuk-hover-border:     rgba(0,0,0,0.4);  
    
    /* --- 5. TIPOGRAFIA --- */
    --c-title:               #000000;
    --c-text:                #666666;
    --c-date:                #999999;
}

/* Ajustes Mobile */
@media (max-width: 1024px) { :root { --leuk-img-height: 300px; --leuk-content-pad: 25px; } }
@media (max-width: 767px)  { :root { --leuk-img-height: 240px; --leuk-content-pad: 20px; } }


/* ============================================================
   🚀 MOTOR VISUAL (ALINHAMENTO)
   ============================================================ */

/* 1. O CARTÃO */
.leuk-news-card {
    display: flex !important; flex-direction: column;
    height: 100%; min-height: 100%;
    background: var(--leuk-bg);
    border: 1px solid var(--leuk-border);
    border-radius: var(--leuk-radius);
    transition: all 0.3s ease;
    overflow: hidden; 
    text-decoration: none !important;
}
.leuk-news-card:hover { border-color: var(--leuk-hover-border); }


/* 2. IMAGEM (Fixa e Controlada) */
.leuk-news-thumb-wrap {
    height: var(--leuk-img-height) !important;
    width: 100%; position: relative; overflow: hidden; flex-shrink: 0;
    margin: 0 !important; padding: 0 !important;
}
/* Wrappers Elementor */
.leuk-news-thumb-wrap .elementor-widget-container,
.leuk-news-thumb-wrap .elementor-image,
.leuk-news-thumb-wrap figure,
.leuk-news-thumb-wrap a {
    height: 100% !important; width: 100% !important;
    margin: 0 !important; padding: 0 !important; display: block !important;
}
/* Imagem Real */
.leuk-news-thumb-wrap img {
    width: 100% !important; height: 100% !important; 
    object-fit: cover !important; object-position: center !important;
    transition: transform var(--leuk-zoom-speed) ease, filter var(--leuk-zoom-speed) ease;
    filter: brightness(1);
}
/* Hover */
.leuk-news-card:hover .leuk-news-thumb-wrap img { 
    transform: scale(var(--leuk-zoom-level)); 
    filter: brightness(var(--leuk-hover-bright));
}
.leuk-news-thumb-wrap::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--leuk-hover-overlay); opacity: 0; 
    transition: opacity var(--leuk-zoom-speed) ease; pointer-events: none; z-index: 2;
}
.leuk-news-card:hover .leuk-news-thumb-wrap::after { opacity: 1; }


/* 3. CONTEÚDO (Flex Grow para encher altura) */
.leuk-news-content {
    padding: var(--leuk-content-pad);
    display: flex; flex-direction: column; 
    flex-grow: 1; /* OBRIGATÓRIO PARA ALINHAMENTO VERTICAL */
    height: 100%;
    align-items: flex-start;
}

/* 4. ELEMENTOS INTERNOS */

/* Data */
.leuk-news-date, .leuk-news-date span {
    font-size: 11px !important; text-transform: uppercase; letter-spacing: 2px;
    color: var(--c-date) !important; font-weight: 600; margin-bottom: 5px !important;
    line-height: 1;
}
.leuk-news-date i { display: none; } 

/* Título (ALINHAMENTO PERFEITO) */
.leuk-news-title h2, .leuk-news-title h3, .leuk-news-title .elementor-heading-title {
    color: var(--c-title); 
    font-size: 20px; 
    line-height: 1.3 !important;
    font-weight: 300; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 10px;
    
    /* SEGREDO DO ALINHAMENTO: Altura Mínima Fixa */
    min-height: 2.6em; /* 1.3em * 2 linhas = 2.6em de espaço reservado */
    
    /* Corte de texto */
    display: -webkit-box;
    -webkit-line-clamp: var(--leuk-title-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Excerto */
.leuk-news-excerpt {
    color: var(--c-text); font-size: 14px; line-height: 1.6; font-weight: 300;
    margin-bottom: 15px; 
    
    /* Corte de texto */
    display: -webkit-box;
    -webkit-line-clamp: var(--leuk-excerpt-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Botão Ler Mais (Colado ao Fundo) */
.leuk-news-readmore { 
    margin-top: auto; /* EMPURRA PARA O FUNDO DO CARTÃO */
    width: 100%;
}

.leuk-news-readmore .elementor-heading-title {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 700; color: #000; display: flex; align-items: center; gap: 10px;
}
.leuk-news-readmore .elementor-heading-title::after {
    content: ''; display: block; width: 30px; height: 1px; 
    background: #000; transition: width 0.3s ease;
}
.leuk-news-card:hover .leuk-news-readmore .elementor-heading-title::after { width: 50px; }