/* www/styles/blog.css (CORRIGIDO) */
:root {
    --primary: #101034;
    --secondary: #f0f2f5;
    --background: #FFFFFF;
    --text-primary: #14181B;
    --text-secondary: #57636C;
    --border-color: #D9DEE4;
    --accent: #ea580c;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary);
    color: var(--text-primary);
    padding-top: 70px; /* Adiciona espaço no topo para a app-bar fixa */
}

/* --- Estilo da App-Bar específico para o Blog (imitando a index.html) --- */
.app-bar {
    position: fixed; /* Fixa a barra no topo */
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.app-bar .app-bar-back-button {
    color: var(--text-primary); /* Cor escura para fundo claro */
}

.app-bar .app-bar-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 45px;
}

.app-bar .app-bar-nav-container .navbar-toggle {
    color: var(--text-primary); /* Cor escura para fundo claro */
}
/* --- Fim do estilo da App-Bar --- */


.blog-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.post-card-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--primary);
}

.post-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.post-card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.post-card-link:hover {
    color: #c2410c;
}

/* --- Estilos para Post Individual --- */
.post-full-container {
    background-color: var(--background);
}

.post-full-header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--secondary);
    border-bottom: 1px solid var(--border-color);
}

.post-full-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2.8rem;
    color: var(--primary);
    margin: 0.5rem 0;
}

.post-full-meta {
    color: var(--text-secondary);
}

.post-full-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.post-full-content {
    max-width: 750px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-full-content h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

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

.post-full-content ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.post-full-content li {
    margin-bottom: 0.5rem;
}

.back-to-blog-link {
    display: inline-block;
    margin: 2rem auto;
    text-align: center;
    width: 100%;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}