/* ==========================================================================
   ESTILOS GERAIS PARA AMBAS AS PÁGINAS DO BLOG
   ========================================================================== */

.content-container {
    max-width: 1280px; /* Largura máxima para boa legibilidade */
    margin: 40px auto;
    padding: 30px 40px;
    border-radius: 8px;

}

/* ==========================================================================
   ESTILOS PARA A PÁGINA DE LISTAGEM (blog.html)
   ========================================================================== */

.content-container .page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: #2c3e50;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-list-item {
    padding: 25px 0;
    border-bottom: 1px solid #ecf0f1;
}

.post-list-item:first-child {
    padding-top: 0;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-item a {
    text-decoration: none;
    color: #34495e;
    font-size: 1.6rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.post-list-item a:hover {
    color: var(--color-urgent-red, #ee4d2d);
}

.post-summary {
    font-size: 1rem;
    color: #7f8c8d;
    margin-top: 8px;
    line-height: 1.6;
}

/* ==========================================================================
   ESTILOS PARA A PÁGINA DE POST INDIVIDUAL (post.html)
   ========================================================================== */

.post-header .post-title {
    font-size: 2.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #2c3e50;
}

.post-header .featured-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-content {
    line-height: 1.8; /* Espaçamento ideal para leitura */
    font-size: 1.1rem;
    color: #34495e;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content a {
    color: var(--color-urgent-red, #ee4d2d);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease;
}

.post-content a:hover {
    border-bottom: 2px solid var(--color-urgent-red, #ee4d2d);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #2c3e50;
    margin-top: 2.5em;
    margin-bottom: 1em;
}

.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content h4 { font-size: 1.2rem; }

.post-content blockquote {
    border-left: 3px solid var(--color-urgent-red, #ee4d2d);
    padding-left: 25px;
    margin: 2em 0;
    font-style: italic;
    color: #7f8c8d;
    font-size: 1.2rem;
}

.post-content ul, 
.post-content ol {
    padding-left: 30px;
    margin-bottom: 1.5em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

/* ==========================================================================
   RESPONSIVIDADE PARA CELULARES
   ========================================================================== */

@media (max-width: 768px) {
    .content-container {
        margin: 20px 15px;
        padding: 20px;
    }

    .content-container .page-title {
        font-size: 2rem;
    }

    .post-list-item a {
        font-size: 1.3rem;
    }

    .post-header .post-title {
        font-size: 2.2rem;
    }

    .post-content {
        font-size: 1rem;
    }
}