body {
    background-color: #f5f5dc; /* Fondo color papel */
    color: #333; /* Color del texto oscuro */
    margin: 0;
    padding: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Enlaces */
a {
    color: #007acc; /* Azul claro para enlaces */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #005999; /* Azul más oscuro en hover */
    text-decoration: underline;
}

/* Encabezados */
h1 {
    margin: 0 auto;
    display: inline-block;
    font-family: 'Old English Text MT', serif;
    font-size: 4rem;
    color: #000;
    text-align: center;
}

.column h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #333; /* Color oscuro para mejor contraste */
    border-bottom: 2px solid #333; /* Borde más oscuro para mejor separación */
    margin-bottom: 15px;
    padding: 10px 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); /* Sombra ligera para resaltar */
}

.column h2 {
    background-color: #eee; /* Fondo beige ligeramente más oscuro */
    border: 1px solid #bbb; /* Borde más marcado */
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Sombra sutil para profundidad */
    text-align: center;
}

.column h3 {
    font-weight: 500;
}

/* Contenedores */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenido de la página principal */
.homepage-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px; /* Espaciado consistente entre columnas */
}

.column {
    flex: 1 1 calc(17% - 15px); /* Ajuste para 5 columnas */
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera para profundidad */
    text-align: left;
}

.column h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #000;
}

.column p {
    margin: 10px 0;
    line-height: 1.6;
    color: #444;
}

/* Espacio para publicidad */
.ad-space {
    margin: 20px 0;
    padding: 10px;
    border: 1px dashed #ccc;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsividad */
@media (max-width: 800px) {
    .column {
        flex: 1 1 calc(48% - 15px);
    }
}

@media (max-width: 480px) {
    .column {
        flex: 1 1 100%;
    }
}

/* Encabezado */
.site-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 3px double #000;
    font-family: 'Old English Text MT', serif;
    background-color: #f5f5dc;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    font-family: 'Playfair Display', serif;
    border-top: 2px solid #000;
    margin-top: 10px;
    padding: 5px 10px;
    font-weight:bold;
}

.header-bottom span {
    flex: 1;
    text-align: center;
}

.header-bottom span:first-child {
    text-align: left;
}

.header-bottom span:last-child {
    text-align: right;
}

/* Responsividad para el encabezado */
@media (max-width: 768px) {
    .branding h1 {
        font-size: 3rem;
    }

    .header-bottom {
        flex-direction: column;
        text-align: center;
    }

    .header-bottom span {
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .branding h1 {
        font-size: 2.5rem;
    }

    .header-bottom {
        flex-direction: column;
        text-align: center;
    }

    .header-bottom select {
        margin: 5px 0;
    }
}

/* Menú de navegación */
.site-nav {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.site-nav li {
    margin-left: 20px;
}

.site-nav a {
    color: #000;
    text-decoration: none;
}

.site-nav a:hover {
    text-decoration: underline;
}

.share-buttons {
    font-size:20px;
    margin-right:0.5em;
}

/* Estilo para el título de resultados de búsqueda */
.search-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

/* Estilo para la lista de resultados */
.search-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Estilo para cada elemento de la lista de resultados */
.search-content ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Estilo para los enlaces de los resultados */
.search-content ul li a {
    color: #007acc;
    font-weight: bold;
    text-decoration: none;
}

.search-content ul li a:hover {
    color: #005999;
    text-decoration: underline;
}

/* Estilo para el extracto de los resultados */
.search-content ul li p {
    color: #444;
    font-size: 1rem;
    margin-top: 5px;
    line-height: 1.6;
}

/*BUSCAR*/
.search-bar {
    display: flex;
    justify-content: center;
    /*margin: 20px 0;*/
}

.search-bar form {
    display: flex;
    width: 100%;
    max-width: 600px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.search-bar input[type="text"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-bar input[type="text"]::placeholder {
    color: #aaa;
}

.search-bar button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #0056b3;
}

.search-bar button:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

/* Asegurar accesibilidad para lectores de pantalla */
.search-bar input[type="text"] {
    aria-label: "Buscar";
}