/* --- ESTILO GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #e9ecef; 
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER Y NAV  --- */
.blog-header {
    background-color: #fff; 
    text-align: center;
    padding: 10px 20px 0 20px;
}

.blog-logo {
    max-width: 600px;
    width: 100%;
}

.tagline {
    font-size: 15px;
    color: #666;
    margin: -10px 0 20px 0;
}

.blog-nav {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.blog-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.blog-nav a {
    text-decoration: none;
    color: #3498db;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.blog-nav a.active {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
}

/* --- CUERPO DE POSTS  --- */
.blog-content {
    flex: 1;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
    width: 100%;
}

.post-bubble {
    background-color: #fff; 
    border-radius: 10px;   
    padding: 15px 20px;
    margin-bottom: 12px;    
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-title {
    font-weight: bold;
    font-size: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee; 
    margin-bottom: 12px;
}

.post-text {
    font-size: 12.5px;
    margin-bottom: 8px;
}

.post-image {
    margin: 15px 0;
}

.post-image img {
    width: 100%;
    border-radius: 5px;
    display: block;
}

.post-author {
    font-size: 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee; 
    margin-bottom: 12px;
}

.post-date {
    font-size: 13px;
    color: #99aab5; 
}

/* --- FOOTER --- */
.blog-footer {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .blog-nav ul { gap: 10px; }
}