
/*
Theme Name: Noticias Tema Mejorado
Theme URI: http://example.com/
Description: Un tema limpio y rápido para un portal de noticias con un slider de noticias en carrusel, bloque de últimas entradas, y navegación con flechas y bullets.
Version: 1.3
Author: Tu Nombre
Author URI: http://example.com/
*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Estilos para el header con fondo verde limón */

/*.site-header {
    background-color: #c7ea46;
    padding: 10px 0;
}*/


/* Estilo inicial del header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: none;
    transition: all 0.3s ease;
    padding: 20px 0; /* Espaciado inicial */
}

/* Estilo del header cuando el usuario hace scroll */
.site-header.scrolled {
    background-color: #fff; /* Fondo al hacer scroll */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra al hacer scroll */
    padding: 10px 0; /* Reducir espacio vertical */
}

/* Para evitar que el contenido quede oculto detrás del header */
body {
    padding-top: 80px; /* Ajusta según la altura de tu header */
}


.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #333;
}


/*nuevo menu */

/* Estilo base del menú (oscuro) */
.main-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #333; /* Fondo oscuro */
}

.main-navigation .menu > li {
    position: relative;
}

/* Estilo de los enlaces principales */
.main-navigation .menu > li > a {
    text-decoration: none;
    color: white; /* Texto en blanco */
    padding: 10px 20px;
    display: block;
    background-color: transparent; /* Fondo transparente inicialmente */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover en los enlaces principales */
.main-navigation .menu > li > a:hover {
    background-color: #FF6F00; /* Fondo naranja en hover */
    color: white; /* Texto se mantiene blanco */
}

/* Submenús ocultos inicialmente */
.main-navigation .menu .sub-menu {
    display: none; /* Ocultamos los submenús */
    position: absolute;
    top: 100%; /* Posicionado debajo del menú principal */
    left: 0;
    background-color: #444; /* Fondo oscuro para el submenú */
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    z-index: 1000;
    min-width: 200px; /* Ancho mínimo del submenú */
}

/* Estilo de los enlaces en los submenús */
.main-navigation .menu .sub-menu > li > a {
    text-decoration: none;
    color: white; /* Texto blanco */
    padding: 10px 15px;
    display: block;
    background-color: transparent; /* Fondo transparente inicialmente */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover en los elementos del submenú */
.main-navigation .menu .sub-menu > li > a:hover {
    background-color: #FF6F00; /* Fondo naranja en hover */
    color: white; /* Texto blanco */
}

/* Mostrar submenú al pasar el ratón */
.main-navigation .menu > li:hover > .sub-menu {
    display: block; /* Submenú visible al hover */
}


/* Contenedor del menú secundario */
.secondary-menu {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #1f1f1f;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

/* Título del menú */
.secondary-menu h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #ff6f00;
    padding-bottom: 6px;
    letter-spacing: 1px;
}

/* Lista del menú */
.secondary-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Elementos del menú */
.secondary-menu-list li {
    margin: 4px 0;
    text-align: left;
}

/* Enlaces del menú */
.secondary-menu-list li a {
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #fff;
    background-color: #2c2c2c;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

/* Efecto al pasar el cursor */
.secondary-menu-list li a:hover {
    background-color: #ff6f00;
    color: #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Submenús anidados */
.secondary-menu-list li ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #2c2c2c;
    padding: 6px;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    list-style: none;
    z-index: 1000;
}

/* Mostrar submenú al hacer hover */
.secondary-menu-list li:hover ul {
    display: block;
}

/* Elementos del submenú */
.secondary-menu-list li ul li {
    margin: 0;
}

/* Hover en submenús */
.secondary-menu-list li ul li a:hover {
    background-color: #ff6f00;
    color: #000;
}





/* Contenedor principal del slider y últimas entradas */

.content-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.news-slider-container {
    flex: 2;
    position: relative;
}

/* Estilos para el slider de noticias */

.news-slider {
    overflow: hidden;
    max-width: 800px;
    height: 600px;
    position: relative;
    border-radius: 8px;
}

.main-news {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.slide-content {
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 8px;
    margin-top: -60px;
    position: relative;
    z-index: 1;
    max-width: 80%;
}

.slide-title a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.slide-excerpt {
    font-size: 14px;
    margin: 10px 0;
}

.read-more {
    display: inline-block;
    color: #c7ea46;
    font-weight: bold;
    text-decoration: none;
    margin-top: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Flechas de navegación */

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Bullets de navegación */

.slider-bullets {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bullet.active, .bullet:hover {
    background-color: #c7ea46;
}

/* Estilos para el bloque de últimas entradas */

.latest-entries {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.latest-entries h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.latest-post-item img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-right: 10px;
}

.latest-post-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.latest-post-item a:hover {
    text-decoration: underline;
}

/* Estilos para el contenedor de una sola entrada */
.single-content-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.single-post {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Imagen destacada con tamaño fijo */
.featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Estilos para el título y contenido */
.post-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
}

.post-content {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    color: #555;
}

/* Ajuste para todas las imágenes dentro del contenido */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Estilos para los bloques de widgets */
.container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.widget-area {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.widget-area:hover {
    transform: translateY(-5px);
}

.widget-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.widget-block p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Contenedor principal de la categoría */
.category-content-container {
    max-width: 800px; /* Igual al ancho de single.php */
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Título de la categoría */
.category-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Lista de entradas en formato de lista */
.category-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-post-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #e9f5e1; /* Fondo verde limón claro */
    border-radius: 8px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-post-item:hover {
    background-color: #d4edb4; /* Fondo más oscuro en hover */
}

/* Imagen destacada en la lista */
.category-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 15px;
}

.category-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido de la entrada */
.category-post-content {
    flex-grow: 1;
}

/* Estilo para .category-post-title (enlace normal) */
.category-post-title a {
    text-decoration: none; /* Eliminar subrayado */
    color: black; /* Color inicial del texto */
    font-family: 'Playfair Display', serif; /* Fuente elegante */
    font-weight: bold; /* Negrita */
    font-size: 1.5rem; /* Tamaño del texto */
    line-height: 1.4; /* Espaciado entre líneas */
}

/* Estilo para el hover del enlace */
.category-post-title a:hover {
    color: orange; /* Cambiar a negro al pasar el cursor */
    text-decoration: none; /* Asegurar que no se subraye */
}

.category-post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Estilos para la paginación */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    color: #32CD32; /* Verde limón */
    margin: 0 5px;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #32CD32;
    transition: background-color 0.3s ease;
}

.pagination a:hover, 
.pagination .current {
    background-color: #32CD32;
    color: #fff;
    border-color: #32CD32;
}

/* Contenedor principal de una página */
.page-content-container {
    max-width: 800px; /* Igual al ancho de single.php */
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contenedor de la publicación de la página */
.page-post {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Imagen destacada con tamaño fijo */
.featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Título de la página */
.page-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
}

/* Contenido de la página */
.page-content {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    color: #555;
}

/* Ajuste para todas las imágenes dentro del contenido */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Contenedor Principal del Footer */
.site-footer {
    background-color: #222; /* Fondo oscuro */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Contenedor del Menú del Footer */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilo del Menú */
.footer-menu {
    margin-bottom: 20px;
}

.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu-list li {
    position: relative; /* Necesario para submenús */
    margin: 0 15px;
}

/* Enlaces del Menú */
.footer-menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding: 5px 0;
}

.footer-menu-list a:hover {
    color: #ff6600; /* Hover naranja */
    border-bottom: 2px solid #ff6600; /* Línea de subrayado elegante */
}

/* Submenús */
.footer-menu-list li ul {
    display: none; /* Oculto por defecto */
    position: absolute;
    background-color: #333; /* Fondo oscuro para submenú */
    padding: 10px;
    border-radius: 5px;
    list-style: none;
    margin: 0; /* Sin margen para alinear */
    bottom: 100%; /* Posiciona el submenú hacia arriba */
    left: 0;
    text-align: left;
    z-index: 1000;
}

.footer-menu-list li ul li {
    margin: 0;
    padding: 5px 0;
}

.footer-menu-list li ul a {
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 10px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-menu-list li ul a:hover {
    background-color: #ff6600;
    color: #fff;
}

/* Mostrar Submenú al Hover */
.footer-menu-list li:hover ul {
    display: block; /* Muestra el submenú */
}

/* Información del Footer */
.footer-info {
    font-size: 0.9rem;
    color: #bbb;
}

.footer-info p {
    margin: 0;
    line-height: 1.6;
}


/* Estilos para la barra superior */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Contenedor del buscador en el header */
.header-search-container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}

/* Estilo del formulario de búsqueda */
.search-form {
    border: 0.5px solid #ccc; /* Color del borde */
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    width: 100%;
}

/* Campo de entrada del buscador */
.search-field {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

/* Botón de búsqueda */
.search-submit {
    background-color: #444;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit i {
    font-size: 18px;
}

.search-submit:hover {
    background-color: #333;
}

/* Botón de menú móvil, solo visible en pantallas pequeñas */
.menu-toggle {
    display: none; /* Oculto por defecto */
}

/* Mostrar el botón de menú en dispositivos móviles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #444;
        color: #fff;
        border: none;
        font-size: 24px;
        padding: 10px;
        cursor: pointer;
        border-radius: 5px;
        margin-right: 20px;
    }

    /* Ocultar la barra de navegación en vista móvil */
    .main-navigation {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        z-index: 1000;
    }

    /* Menú expandido en vista móvil */
    .main-navigation.menu-open {
        display: block;
    }

    /* Estilos para los enlaces del menú en dispositivos móviles */
    .main-navigation .menu {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }

    .main-navigation .menu li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 10px 0;
        border-top: 1px solid #444;
    }

    .main-navigation .menu li a {
        color: #fff;
        font-size: 18px;
        padding: 10px;
        text-decoration: none;
    }

    /* Ocultar la barra de búsqueda y redes sociales en móvil */
    .header-search-container,
    .social-icons {
        display: none;
    }

    /* Ajustes de logo en móvil */
    .logo img {
        max-width: 120px;
    }
}

/* Estilos para el formulario de contacto */
.custom-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-contact-form h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.custom-contact-form p {
    margin-bottom: 15px;
}

.custom-contact-form label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="number"],
.custom-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.custom-contact-form input[type="text"]:focus,
.custom-contact-form input[type="email"]:focus,
.custom-contact-form input[type="number"]:focus,
.custom-contact-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.custom-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.custom-contact-form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-contact-form input[type="submit"]:hover {
    background-color: #005b88;
}

/* Mensaje de éxito y error */
.custom-contact-form .success-message {
    color: green;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.custom-contact-form .error-message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .content-wrapper {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }
    .news-slider-container, .latest-entries {
        flex: 1;
        max-width: 100%;
    }
    .footer-menu-list {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .news-slider-container, .latest-entries {
        width: 100%;
    }
    .footer-container, .site-footer {
        text-align: center;
    }
    .footer-menu-list {
        flex-direction: column;
    }
}

/* Contenedor principal de resultados de búsqueda */
.search-content-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Título de búsqueda */
.search-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Lista de entradas en formato de lista */
.search-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-post-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #e9f5e1; /* Fondo verde limón claro */
    border-radius: 8px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-post-item:hover {
    background-color: #d4edb4; /* Fondo más oscuro en hover */
}

/* Imagen destacada en la lista de búsqueda */
.search-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 15px;
}

.search-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido de la entrada de búsqueda */
.search-post-content {
    flex-grow: 1;
}

.search-post-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.search-post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Estilos para la paginación */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    color: #32CD32; /* Verde limón */
    margin: 0 5px;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #32CD32;
    transition: background-color 0.3s ease;
}

.pagination a:hover, 
.pagination .current {
    background-color: #32CD32;
    color: #fff;
    border-color: #32CD32;
}

/* Contenedor principal de la página de taxonomía */
.taxonomy-content-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Título de la página de taxonomía */
.taxonomy-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

/* Descripción de la taxonomía */
.taxonomy-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

/* Lista de publicaciones en la página de taxonomía */
.taxonomy-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Estilo para cada elemento de la lista de publicaciones */
.taxonomy-post-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.taxonomy-post-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Miniatura de la publicación */
.taxonomy-thumbnail {
    width: 150px;
    height: 150px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.taxonomy-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido de la publicación */
.taxonomy-post-content {
    flex: 1;
}

.taxonomy-post-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.taxonomy-post-excerpt {
    font-size: 14px;
    color: #555;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    color: #0073aa;
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #0073aa;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

/* Mensaje cuando no hay publicaciones */
.taxonomy-content-container p {
    text-align: center;
    font-size: 16px;
    color: #999;
}


/* Estilos generales */

/* Contenedor principal */
.tel-emergencias {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Lista de contactos */
.tel-emergencias-lista {
    list-style: none;
    padding: 0;
}

.tel-emergencias-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tel-emergencias-item i {
    font-size: 24px;
    color: #ff6f00;
    margin-right: 15px;
}

.tel-emergencias-item span {
    font-size: 16px;
    color: #333;
    margin-right: 10px;
}

.tel-emergencias-item a {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

.tel-emergencias-item a:hover {
    text-decoration: underline;
}

/* Estilo para el responsive */
@media (max-width: 600px) {
    .tel-emergencias {
        padding: 15px;
    }

    .tel-emergencias-item {
        font-size: 14px;
        padding: 8px;
    }

    .tel-emergencias-item i {
        font-size: 20px;
    }
}

/* MAS VISTAS */


.most-viewed-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.most-viewed-posts li {
    font-size: 16px;
    margin-bottom: 10px;
}

.most-viewed-posts a {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.most-viewed-posts a:hover {
    color: #333;
}


