/* 
Theme Name: Evte News
Layout: Vibrant (Colorful Cards)
Description: Layout estilo card-based com cores vibrantes e fundo claro.
*/

:root {
    --vib-bg: #f4f5f9;
    --vib-card-bg: #ffffff;
    --vib-text: #111111;
    --vib-gray: #666666;
    --vib-radius: 16px;
    --vib-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --vib-accent: #3b82f6;
    /* Azul padrão */
}

.vibrant-wrapper {
    background-color: var(--vib-bg);
    padding: 40px 0;
    font-family: 'Poppins', 'Inter', sans-serif;
    /* Tenta Poppins se disponível */
}

.vibrant-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CARDS GLOBAL */
.vibrant-card {
    background: var(--vib-card-bg);
    border-radius: var(--vib-radius);
    overflow: hidden;
    box-shadow: var(--vib-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vibrant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.vibrant-thumb-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.vibrant-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vibrant-card:hover .vibrant-thumb-link img {
    transform: scale(1.05);
}

/* BADGES */
.vibrant-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--vib-accent);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.vibrant-cat-pill {
    display: inline-block;
    background: #eef2ff;
    color: var(--vib-accent);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.vibrant-cat-text {
    display: block;
    color: var(--vib-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.vibrant-hero {
    margin-bottom: 60px;
}

.vibrant-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Card Grande (Esq) */
.vibrant-card-large {
    grid-row: span 2;
}

.vibrant-card-large .vibrant-thumb-link {
    height: 400px;
}

.vibrant-card-large .vibrant-content {
    padding: 30px;
}

.vibrant-card-large .vibrant-title {
    font-size: 2rem;
    margin: 0 0 15px;
    line-height: 1.2;
    font-weight: 700;
}

.vibrant-excerpt {
    color: var(--vib-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Card Lateral (Dir) */
.vibrant-card-side {
    flex-direction: row;
    /* Imagem esq, texto dir */
    align-items: center;
}

.vibrant-card-side .vibrant-thumb-link {
    width: 40%;
    height: 100%;
    min-height: 180px;
}

.vibrant-card-side .vibrant-content {
    width: 60%;
    padding: 20px;
}

.vibrant-card-side .vibrant-title {
    font-size: 1.1rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.vibrant-title a {
    color: var(--vib-text);
    text-decoration: none;
    transition: color 0.2s;
}

.vibrant-title a:hover {
    color: var(--vib-accent);
}

.vibrant-meta {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    gap: 10px;
    align-items: center;
}

.vibrant-author {
    font-weight: 700;
    color: var(--vib-text);
}

/* =========================================
   2. FEATURES STRIP
   ========================================= */
.vibrant-strip {
    margin-bottom: 60px;
}

.vibrant-section-title {
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.vibrant-title-text {
    display: inline-block;
    border-bottom: 3px solid var(--vib-text);
    padding-bottom: 10px;
    margin-bottom: -12px;
    /* Sobrepor a linha cinza */
    font-size: 1.5rem;
    font-weight: 800;
}

.vibrant-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.vibrant-card-small .vibrant-thumb-link {
    height: 160px;
}

.vibrant-content-small {
    padding: 20px;
}

.vibrant-title-small {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

.vibrant-title-small a {
    color: var(--vib-text);
    text-decoration: none;
}

/* =========================================
   3. MAIN LAYOUT
   ========================================= */
.vibrant-main-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}

.vibrant-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vibrant-card-standard .vibrant-thumb-link {
    height: 220px;
}

.vibrant-card-standard .vibrant-content {
    padding: 25px;
}

.vibrant-title-standard {
    font-size: 1.25rem;
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.3;
}

.vibrant-title-standard a {
    color: var(--vib-text);
    text-decoration: none;
}

/* SIDEBAR */
.vibrant-widget {
    background: #fff;
    padding: 30px;
    border-radius: var(--vib-radius);
    box-shadow: var(--vib-shadow);
    margin-bottom: 30px;
}

.vibrant-widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vibrant-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.vibrant-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vibrant-number {
    font-size: 2rem;
    font-weight: 900;
    color: #e5e7eb;
    line-height: 0.8;
}

.vibrant-list-title {
    font-size: 0.95rem;
    margin: 0 0 5px;
    line-height: 1.4;
}

.vibrant-list-title a {
    color: var(--vib-text);
    text-decoration: none;
}

.vibrant-date-tiny {
    font-size: 0.75rem;
    color: #999;
}

/* Newsletter Box */
.vibrant-newsletter-box {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    padding: 30px;
    border-radius: var(--vib-radius);
    text-align: center;
}

.vibrant-newsletter-box h4 {
    color: #fff;
    margin-top: 0;
    font-size: 1.5rem;
}

.vibrant-fake-form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
}

.vibrant-fake-form button {
    width: 100%;
    padding: 12px;
    background: #1e40af;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.8;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 1024px) {
    .vibrant-hero-grid {
        grid-template-columns: 1fr;
    }

    .vibrant-card-large {
        grid-row: auto;
    }

    .vibrant-card-side {
        flex-direction: column;
    }

    .vibrant-card-side .vibrant-thumb-link,
    .vibrant-card-side .vibrant-content {
        width: 100%;
    }

    .vibrant-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vibrant-main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .vibrant-strip-grid,
    .vibrant-latest-grid {
        grid-template-columns: 1fr;
    }

    .vibrant-card-large .vibrant-title {
        font-size: 1.5rem;
    }
}