/* blog/blog.css - Estilos Premium Bauhaus para o Blog */

/* Hero Section para Blog */
.blog-hero {
    background: linear-gradient(rgba(10, 15, 28, 0.8), rgba(10, 15, 28, 0.8)), url('../assets/site-imagens/blog-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.blog-hero .hero-content {
    max-width: 900px;
}

.blog-hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.blog-hero .hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Container Principal que sobrepõe o Hero */
.blog-main-content {
    margin-top: -100px;
    padding-bottom: 100px;
    position: relative;
    z-index: 10;
}

.blog-main-content>.container {
    background: #fff;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Post Detalhado */
.blog-post-full {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
}

/* Header do Post */
.post-header {
    margin-bottom: 3rem;
}

.post-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin: 1.5rem 0;
    letter-spacing: -0.02em;
}

/* Meta Info */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.blog-category {
    color: var(--accent);
    display: inline-block;
    margin-bottom: 1rem;
}

/* Imagem de Capa */
.post-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Conteúdo do Post */
.post-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
}

.post-content .lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

/* Links de Navegação */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--accent);
    transform: translateX(-5px);
}

/* Lista de Blogs (Layout Estilo "Sobre") */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-row {
    display: flex;
    align-items: stretch;
    min-height: 450px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Borda total para definição */
    background: #fff;
    transition: all 0.4s ease;
    margin-bottom: 2.5rem;
    /* Espaçamento claro entre os blocos */
    overflow: hidden;
    position: relative;
}

.blog-row:nth-child(even) {
    flex-direction: row-reverse;
}

.blog-row:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    /* Sombra no hover para destacar a escolha */
    border-color: var(--accent);
    /* Borda dourada sutil no destaque */
    transform: translateY(-5px);
}

.blog-row-content {
    flex: 1;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-row-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.blog-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-row:hover .blog-row-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.blog-row .section-tag {
    margin-bottom: 2rem;
    display: inline-block;
}

.blog-row h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-row .excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.blog-row .read-more {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsividade */
@media (max-width: 992px) {

    .blog-row,
    .blog-row:nth-child(even) {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .blog-row-content {
        padding: 3rem 2rem;
    }

    .blog-row-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2.5rem;
    }

    .post-main-image {
        height: 300px;
    }
}