/* ========================================
   LEDS BLOG ARCHIVE FIX
   Patch de CSS para /inspiracoes/ e archives do blog
   Adiciona estilos faltantes do tema filho
   ======================================== */

/* ----------------------------------------
   1. CONTAINER DA PAGINA (compensa header fixo)
   ---------------------------------------- */
.content-area {
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
    padding: 160px 20px 96px 20px;
    box-sizing: border-box;
}

.site-main {
    width: 100%;
}

/* ----------------------------------------
   2. HERO DA PAGINA (titulo "Inspiracoes")
   ---------------------------------------- */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 0 64px 0;
    text-align: center;
}

.page-title {
    color: #121926;
    font-family: 'Mont', 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
    letter-spacing: -0.02em;
}

.archive-description {
    color: #697586;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    max-width: 680px;
    margin: 0 auto;
}

/* ----------------------------------------
   3. GRID DOS POSTS (override do que ja existe)
   ---------------------------------------- */
.leds-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    margin-bottom: 64px;
}

/* ----------------------------------------
   4. CARD INDIVIDUAL (altura aumentada + gradiente correto)
   ---------------------------------------- */
.leds-blog-card {
    width: 100%;
    max-width: 100%;
    height: 420px;
    border-radius: 20px;
    background: #f8f9fa 50% / cover no-repeat;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.leds-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px 0 rgba(0, 174, 239, 0.25);
}

.leds-blog-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.leds-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.leds-blog-card:hover .leds-blog-img {
    transform: scale(1.05);
}

/* ----------------------------------------
   5. CONTEUDO DO CARD (gradiente so na metade inferior)
   ---------------------------------------- */
.leds-blog-content-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 18, 28, 0) 0%,
        rgba(13, 18, 28, 0.6) 40%,
        rgba(13, 18, 28, 0.95) 100%
    );
    padding: 64px 24px 24px 24px;
    z-index: 2;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ----------------------------------------
   6. TITULO DO CARD (sempre branco visivel)
   ---------------------------------------- */
.leds-blog-card-title {
    margin: 0 0 4px 0;
    line-height: 124%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leds-blog-card-title a {
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease;
}

.leds-blog-card-title a:hover {
    color: #00AEEF !important;
}

/* ----------------------------------------
   7. DESCRICAO DO CARD (line-clamp 2)
   ---------------------------------------- */
.leds-blog-card-description {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leds-blog-card-description p {
    margin: 0;
    color: inherit;
    font: inherit;
}

/* ----------------------------------------
   8. META (data) — esconde autor bugado ate consertar no admin
   ---------------------------------------- */
.leds-blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.leds-blog-date {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.leds-blog-author {
    display: none;
}

/* ----------------------------------------
   9. NAVEGACAO ENTRE PAGINAS DE POSTS
   ---------------------------------------- */
.posts-navigation,
.post-navigation {
    margin: 64px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-family: 'Inter', sans-serif;
}

.posts-navigation a,
.post-navigation a {
    color: #00AEEF;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid #00AEEF;
    transition: all 0.3s ease;
    font-weight: 500;
}

.posts-navigation a:hover,
.post-navigation a:hover {
    background: #00AEEF;
    color: #FFFFFF;
}

/* ----------------------------------------
   10. RESPONSIVO
   ---------------------------------------- */
@media (max-width: 1024px) {
    .content-area {
        padding: 140px 24px 80px 24px;
    }

    .page-title {
        font-size: 48px;
    }

    .leds-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .leds-blog-card {
        height: 360px;
    }
}

@media (max-width: 640px) {
    .content-area {
        padding: 120px 16px 64px 16px;
    }

    .page-header {
        padding-bottom: 48px;
    }

    .page-title {
        font-size: 36px;
    }

    .archive-description {
        font-size: 16px;
    }

    .leds-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .leds-blog-card {
        height: 320px;
    }

    .leds-blog-card-title a {
        font-size: 20px;
    }
}
