/* blog.css - Estilos Gerais para o Blog */
.blog-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-container h2.card-title {
    font-size: 2.5em;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-container p.text-muted {
    font-size: 1.1em;
    color: #666;
    line-height: 1.5;
}

/* Estilos para Resumos de Posts (blog_index.html) */
.post-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.post-summary {
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.post-summary:last-child {
    border-bottom: none;
}

.post-summary h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-summary h3 a {
    color: #007bff; /* Cor do link padrão para títulos */
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-summary h3 a:hover {
    color: #0056b3; /* Escurece o link ao passar o mouse */
}

.post-meta {
    font-size: 0.95em;
    color: #777;
    margin-bottom: 15px;
}

.post-excerpt p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

/* Estilos para Posts Completos (blog_post.html) */
.post-full h1 {
    font-size: 3em;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.post-full .post-meta {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1em;
    color: #777;
}

.post-full hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin: 30px 0;
}

.post-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 1em;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #333;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 600;
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-content ul,
.post-content ol {
    margin-bottom: 1em;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content blockquote {
    border-left: 4px solid #007bff;
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #f8f9fa;
    color: #555;
    font-style: italic;
}

/* Estilos para Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

.btn-principal {
    background-color: #007bff; /* Cor principal azul, baseada na sugestão do link */
    color: #fff;
}

.btn-principal:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Mensagem de Blog Vazio */
.blog-container .text-center {
    padding: 40px;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .blog-container {
        margin: 20px auto;
        padding: 15px;
    }

    .blog-container h2.card-title {
        font-size: 2em;
    }

    .post-full h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 576px) {
    .blog-container {
        margin: 15px auto;
        padding: 10px;
    }

    .blog-container h2.card-title {
        font-size: 1.8em;
    }

    .post-full h1 {
        font-size: 1.8em;
    }

    .post-summary h3 {
        font-size: 1.5em;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}