/* Variables de Diseño (Colores estilo Buffer/Calmo) */
:root {
    --bg-color: #fbf9f4; /* Crema suave de fondo */
    --text-color: #292929;
    --accent-color: #1a1a1a;
    --white: #ffffff;
    --gray: #6b6b6b;
    --border-color: #e5e2db;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Cabecera Simple */
.site-header {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--accent-color);
}
.site-logo img {
    max-height: 40px;
}

/* Presentación del Autor (Hero) */
.author-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 650px;
    margin: 0 auto;
}
.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.author-name {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    font-weight: 800;
}
.author-bio {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Caja de Suscripción */
.subscribe-box {
    background: var(--white);
    padding: 8px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.subscribe-form {
    display: flex;
}
.subscribe-form input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 1rem;
    outline: none;
}
.subscribe-form button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.subscribe-form .message-success,
.subscribe-form .message-error { display: none; width: 100%; padding: 10px; margin-top: 10px; font-size: 0.9rem; }
.subscribe-form.success .message-success { display: block; color: green; }
.subscribe-form.error .message-error { display: block; color: red; }

/* Feed de Artículos uno tras otro */
.post-feed {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.post-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
@media (min-width: 600px) {
    .post-card { flex-direction: row; }
    .post-card-image-link { width: 40%; flex-shrink: 0; }
}
.post-card-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}
.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.post-card-date {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.post-card-title {
    font-size: 1.5rem;
    margin: 10px 0;
}
.post-card-title a {
    color: var(--text-color);
    text-decoration: none;
}
.post-card-title a:hover { color: var(--gray); }
.post-card-excerpt {
    color: var(--gray);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}
.post-card-readmore {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
}

/* Vista de Artículo Individual */
.post-content-area {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}
.post-header { text-align: center; margin-bottom: 30px; }
.post-date { color: var(--gray); font-size: 0.9rem; }
.post-title { font-size: 2.5rem; margin: 10px 0 0 0; font-weight: 800; }
.post-feature-image img { width: 100%; border-radius: 12px; margin-bottom: 40px; }
.post-body { font-size: 1.15rem; line-height: 1.7; }
.post-body p { margin-bottom: 25px; }

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}