/* =====================================================
   Blog Styles - Rangel Santos Fotografia
   ===================================================== */

/* Blog Header - similar ao portfolio-header */
.blog-header {
    padding: 160px 40px 80px;
    text-align: center;
    background-color: #fafafa;
}

.blog-header-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #2a2a2a;
    margin-bottom: 16px;
}

.blog-header p {
    font-size: 18px;
    color: #666666;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Blog Grid - container para os cards de posts */
.blog-section {
    padding: 80px 40px 100px;
    background-color: #ffffff;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* Blog Card - card individual de cada post */
.blog-card {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-content {
    padding: 28px 24px 32px;
}

.blog-card-date {
    font-size: 13px;
    color: #999999;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 400;
    color: #2a2a2a;
    line-height: 1.4;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.blog-card-excerpt {
    font-size: 15px;
    color: #666666;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card-link {
    font-size: 14px;
    color: #2a2a2a;
    font-weight: 400;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.blog-card:hover .blog-card-link {
    color: #666666;
    gap: 12px;
}

/* =====================================================
   Post Individual - Estilos para página de post
   ===================================================== */

.post-header {
    padding: 160px 40px 60px;
    text-align: center;
    background-color: #fafafa;
}

.post-header-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-date {
    font-size: 13px;
    color: #999999;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.post-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #2a2a2a;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Imagem de destaque do post */
.post-featured-image {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Conteúdo do post */
.post-content-section {
    padding: 60px 40px 100px;
    background-color: #ffffff;
}

.post-content {
    max-width: 760px;
    margin: 0 auto;
}

.post-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #444444;
    font-weight: 300;
    margin-bottom: 28px;
    margin-top: 28px;
    letter-spacing: 0.3px;
}

.post-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: #2a2a2a;
    margin: 48px 0 24px;
    letter-spacing: 1px;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 400;
    color: #2a2a2a;
    margin: 36px 0 18px;
    letter-spacing: 0.5px;
}

.post-content img {
    width: 100%;
    height: auto;
    margin: 0px 0;
    border-radius: 0px;
}

.post-content blockquote {
    margin: 36px 0;
    padding: 24px 32px;
    border-left: 3px solid #2a2a2a;
    background: #fafafa;
    font-style: italic;
    color: #555555;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    font-size: 17px;
    line-height: 1.8;
    color: #444444;
    font-weight: 300;
    margin-bottom: 12px;
}

/* Navegação de volta ao blog */
.post-navigation {
    max-width: 760px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.back-to-blog:hover {
    color: #666666;
    gap: 14px;
}

/* =====================================================
   Responsividade
   ===================================================== */

@media (max-width: 768px) {
    .blog-header {
        padding: 140px 24px 60px;
    }

    .blog-header h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .blog-header p {
        font-size: 16px;
    }

    .blog-section {
        padding: 60px 24px 80px;
    }

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

    .blog-card-content {
        padding: 24px 20px 28px;
    }

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

    /* Post individual */
    .post-header {
        padding: 140px 24px 50px;
    }

    .post-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .post-content-section {
        padding: 50px 24px 80px;
    }

    .post-content p,
    .post-content li {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 24px;
    }

    .post-content h3 {
        font-size: 20px;
    }

    .post-navigation {
        margin-top: 50px;
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 30px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 28px;
    }
}