/* --- CONFIGURACIÓN BASE --- */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

:root {
  --bg-color: #e7d9b8; 
  --primary-color: #a52a2a;         /* Marrón (Categorías) */
  --secondary-color: #00008B;       /* Azul Oscuro (Oraciones) */
  --text-dark: #2c1a1a;
  --font-main: "Comic Neue", cursive, sans-serif;
  --card-bg: #ffffff;
}

html, body {
  background-color: var(--bg-color) !important;
  font-family: var(--font-main) !important;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-size: 18px !important;
  min-height: 100vh;
}

header {
    text-align: center;
    padding: 20px 20px;
}

/* --- ESTRUCTURA PRINCIPAL --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex; /* Para poner el contenido y el lateral juntos */
    flex-wrap: wrap; /* Para que en móviles se ponga uno debajo de otro */
    gap: 20px;
    align-items: flex-start; /* Alinea los contenidos arriba */
}

main {
    flex: 1; /* Columna de la imagen */
    min-width: 250px;
}
.columna-central {
    flex: 1.5; /* Columna de la lista (un poco más ancha) */
    min-width: 280px;
    padding-top: 50px; /* Para bajar la lista y que no choque con el título */
}

aside {
    flex: 1; /* Columna del calendario */
    min-width: 300px;
}

/* --- CONTROL DE IMAGEN --- */
.imagen-izquierda {
    width: 100%;
    max-width: 250px; 
    height: auto;
    border-radius: 10px;
}

/* --- TEXTOS Y LISTAS --- */
.titulo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.subtitulo1 {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.lista-temas {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.lista-temas li {
    margin-bottom: 12px;
}

.lista-temas a {
    text-decoration: none;
    color: var(--primary-color) !important;
    font-weight: bold;
}

/* --- ELEMENTOS DE ORACIÓN --- */
.separador {
    text-align: center;      /* Centra el texto o-o-O-O-o-o */
    padding: 20px 0;         /* Le da espacio arriba y abajo */
    color: var(--primary-color); /* Usa el color marrón que ya tienes definido */
    font-weight: bold;       /* Lo hace resaltar un poco más */
    width: 100%;             /* Asegura que ocupe todo el ancho disponible */
}

/* --- BOTONES Y OTROS (Mantenidos de tu original) --- */
.boton-categoria, .boton-una-oracion {
    display: inline-block;
    padding: 4px 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.boton-categoria {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background-color: white;
    font-weight: bold;
}

.boton-categoria:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- CALENDARIO Y WIDGETS --- */
aside h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-top: 0;
}

.lista-enlaces {
    list-style: none;
    padding: 0;
}

.lista-enlaces li {
    margin-bottom: 8px;
}

.lista-enlaces a {
    text-decoration: none;
    color: var(--text-dark);
}

.lista-enlaces a:hover {
    color: var(--primary-color);
}

/* --- RESPONSIVO --- */
@media (max-width: 900px)
{
    .container {
        flex-direction: column;
        align-items: center;
    }
    .columna-central {
        padding-top: 0;
        width: 100%;
    }
}