/* ==========================================================================
   Estilos Inspirados en el Layout Clásico de No Soy Un Troll (WordPress to CSS)
   ========================================================================== */

:root {
    --bg-color: #f4f4f2;
    --container-bg: #ffffff;
    --text-color: #333333;
    --text-muted: #666666;
    --accent-color: #2b6cb0; /* Azul sobrio para enlaces y elementos destacados */
    --accent-hover: #1a446c;
    --border-color: #e2e8f0;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reseteo General */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-stack);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px 10px;
}

/* Caja contenedora fija centralizada */
.site-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--container-bg);
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Cabecera */
.site-header {
    border-bottom: 3px solid var(--text-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.site-title a {
    color: var(--text-color);
    text-decoration: none;
}

.site-description {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 5px;
}

/* Menú de navegación superior */
.site-nav {
    margin-top: 20px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.site-nav a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover, 
.site-nav a.active {
    text-decoration: underline;
    color: var(--accent-hover);
}

/* Distribución del contenido: Dos columnas */
.site-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.content-area {
    flex: 1;
    min-width: 300px;
}

.sidebar {
    width: 280px;
    min-width: 250px;
}

/* Estructura interna de los Posts */
.post {
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--accent-color);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Destacado sutil para la pista de música/intro */
.intro-audio {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #f7fafc;
    padding: 8px 12px;
    border-left: 3px solid var(--accent-color);
}

.audio-player {
    margin-top: 15px;
}

.audio-player audio {
    width: 100%;
}

.post-footer {
    margin-top: 15px;
    font-size: 0.9rem;
}

.comments-link {
    color: var(--text-muted);
    text-decoration: none;
}

/* Widgets de la Barra Lateral */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.widget a {
    color: var(--accent-color);
    text-decoration: none;
}

.widget a:hover {
    text-decoration: underline;
}

/* Enlaces de paginación inferior */
.pagination {
    margin-top: 20px;
}

.pagination a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* Pie de página */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Adaptabilidad para Teléfonos Móviles */
@media (max-width: 768px) {
    .site-main {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .site-container {
        padding: 20px;
    }
}