.page-content {
    font-family: 'Quicksand', sans-serif;
    color: black;
}
.page-content a{
    text-decoration: none !important;
}

.page-content section .container {
    margin-top: 10px;
}






.noticia {
    margin-bottom: 20px; /* Espacio entre noticias */
    padding-bottom: 15px; /* Espaciado al final de cada noticia */
}

/* Estilos para enlaces dentro de .noticia */
.noticia a {
    color: black;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

/* Subrayado solo para el título al hacer hover */
.noticia a:hover h3 {
    text-decoration: underline;
}

/* Estilos para el título, leyenda de la imagen y párrafos */
.noticia h3 {
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px; /* Espaciado sobre el título */
    margin-bottom: 10px; /* Espaciado debajo del título */
    color: black; /* Color del título */
}

.noticia h3.noticia-destacada {
    font-size: 1.5em;
}

.wpp-populares.buscador-empleo .noticia h3.noticia-destacada {
    font-size: 1em;
}
.wpp-populares.buscador-empleo .noticia p, .wpp-populares.buscador-empleo .noticia .contenedor-imagen-16-9{
    display: none;
}
.wpp-populares.buscador-empleo .noticia{
    margin-bottom: 0;
}

.noticia .imagen-caption {
    font-size: small;
    color: #666; /* Color para la leyenda de la imagen */
    margin-top: 5px; /* Espaciado sobre la leyenda */
    margin-bottom: 15px; /* Espaciado debajo de la leyenda */
}

.noticia p {
    font-size: 1em; /* Tamaño del texto */
    text-align: justify;
    line-height: 1.6; /* Altura de línea para mejorar la legibilidad */
    margin-bottom: 10px; /* Espaciado entre párrafos */
    color: black; /* Color del párrafo */
}

.contenedor-imagen-16-9 {
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
}

.contenedor-imagen-16-9 .imagen-16-9 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}






.titular {
    display: flex; /* Añadir flexbox */
    flex-direction: column; /* Orientación vertical */
    justify-content: space-between; /* Espaciado entre elementos */
    height: 100%; /* Altura completa */
}

.titular a {
    color: black;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.titular a:hover h3{
    text-decoration: underline;
    color: black;
}

.titular-titulo {
    color: black;
    font-size: 1.2em;
    font-weight: 800;
    margin-bottom: 15px; /* Ajusta según tus necesidades */
}

.linea-separadora {
    height: 1px;
    background-color: black; /* Color de la línea */
    width: 100%; /* Asegurar que ocupe todo el ancho */
    margin-top: auto; /* Empujar al fondo si se usa flexbox */
}















.wpp-populares {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 0 0 15px 0;
    text-align: justify;
}

.wpp-populares .titulo-mas-leidos {
    background: beige;
    text-align: center;
    padding: 10px 5px;
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 10px;
    cursor: pointer;
}

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

.wpp-populares .lista-populares li {
    margin-bottom: 10px;
}

.wpp-populares .lista-populares a {
    color: black;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.wpp-populares .lista-populares a:hover {
    text-decoration: underline !important;
    color: black;
}







/* Estilos para el layout de grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas de igual ancho */
    grid-gap: 20px; /* Espacio entre las columnas y filas */
    margin-bottom: 20px;
}

/* Estilos para el contenedor de adsense */
.google-auto-placed.ap_container {
    margin: 30px 0;
}
.contenedor-adsense-estatico {
    padding: 15px 0;
}
.contenedor-adsense {
    position: sticky;
    top: 150px; /* Ajusta según sea necesario */
}

.titulo-categoria {
    color: black !important;
    display: block;
    width: 100%; /* Ancho al 100% */
    text-decoration: none;
    margin: 10px 0;
}

.titulo-categoria:hover {
    text-decoration: underline; /* Subrayado al pasar el ratón */
    background-color: beige;
}

#titulo-nacional {
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    color: black;
    margin: 0 2px 0 0;
    background-image: url('https://torrijostoday.com/wp-content/uploads/2023/02/espana-1.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain; /* Asegura que la imagen se muestre completa */
}

.titulo-categoria h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    color: black;
    margin: 0 2px 0 0;
}

.video_responsive {
    margin-top: 20px; /* Espacio en la parte superior */
    margin-bottom: 20px; /* Espacio en la parte inferior */
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
    position: relative; /* Posicionamiento relativo para el video */
    padding-bottom: 56.25%; /* Proporción para videos 16:9 */
    height: 0; /* Evita que el contenedor tenga altura propia */
}

.video_responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mini-noticias-relacionadas {
    margin: 0;
    padding: 15px 0 0;
    border-style: solid;
    border-width: 0;
    border-radius: 0;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,.5);
}

.mini-noticia {
    margin: 0px;
    padding: 0px;
}

.mini-noticia .google-auto-placed {
    display: none;
}

/* Estilos para dispositivos más grandes */
.col-imagen {
    width: 20% !important;
}

.col-texto {
    width: 80% !important;
}

.mini-noticia-titulo {
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    font-style: normal !important;
    color: #000 !important;
    text-align: justify;
}

.mini-noticia-titulo:hover {
    text-decoration: underline !important;
}

/* Media query para dispositivos tablet y móviles */
@media (max-width: 1024px) {
    .col-imagen {
        width: 40% !important; /* Ajusta el ancho para la vista móvil */
    }

    .col-texto {
        width: 60% !important; /* Ajusta el ancho para la vista móvil */
        padding: 0 !important;
    }

    /* Ajustes para el título en vista móvil */
    .mini-noticia-titulo {
        margin: 0;
        font-size: 14px !important; /* Reducir el tamaño de fuente para dispositivos móviles */
    }
}




.lista-empleos {
    list-style: none;
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

.lista-empleos li {
    width: 50%; /* Ajusta esto para controlar el número de columnas */
    padding: 5px; /* Espaciado alrededor de las tarjetas */
}

.lista-empleos li.doble {
    width: 100%; /* Ajusta esto para controlar el número de columnas */
    padding: 5px; /* Espaciado alrededor de las tarjetas */
}

.lista-empleos li a {
    display: block;
    background: #fff; /* Fondo de la tarjeta */
    padding: 20px; /* Espaciado interno de la tarjeta */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra de la tarjeta */
    border-radius: 5px; /* Bordes redondeados de la tarjeta */
    color: #333; /* Color del texto */
    text-decoration: none; /* Remover el subrayado del enlace */
    transition: all 0.3s ease; /* Transición suave para hover */
}

.lista-empleos li a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada en hover */
    transform: translateY(-5px); /* Elevación sutil en hover */
}





/* Estilo para dispositivos de escritorio */
.contenedor-flex {
    display: flex;
    align-items: flex-start; /* Ajusta esto según necesites */
}

.imagen-populares {
    flex: 1; /* Ajusta la proporción de la imagen respecto al texto */
    width: 100%; /* Asegura que el div ocupe todo el ancho asignado */
    height: 150px; /* Ajusta la altura deseada */
    background-size: cover; /* Asegura que la imagen cubra todo el espacio disponible */
    background-position: center; /* Centra la imagen en el div */
    margin-right: 20px; /* Espacio entre la imagen y el texto */
}

.texto-populares {
    flex: 3; /* Ajusta la proporción del texto respecto a la imagen */
}

/* Estilo para dispositivos móviles */
@media (max-width: 768px) {
    .contenedor-flex {
        flex-direction: column;
    }

    .imagen-populares {
        margin-right: 0;
        margin-bottom: 20px; /* Espacio entre la imagen y el texto */
        width: auto; /* Permite que el div ajuste su ancho en móviles */
        height: 200px; /* Puedes ajustar la altura para móviles si es necesario */
    }
}



/*woocomerce mi cuenta*/

/* Contenedor principal */
/*.page-content {
    font-family: 'Quicksand', sans-serif;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}*/

/* Navegación de la cuenta */
.woocommerce-MyAccount-navigation {
    background-color: #f5f5f5; 
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 10px;
    color: #333; /* Texto oscuro */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
    background-color: #eaeaea; /* Fondo ligeramente más oscuro al pasar el mouse */
}

/* Estilo para el link activo */
.woocommerce-MyAccount-navigation-link.is-active a {
    font-weight: bold;
    color: #000;
}

/* Contenido de la cuenta */
.woocommerce-MyAccount-content {
    background-color: #f5f5f5; /* Fondo blanco para el contenido */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.woocommerce-MyAccount-content h3 {
    border-bottom: 1px solid #eee; /* Línea sutil bajo los encabezados */
    padding-bottom: 10px;
}

.woocommerce-Address {
    margin-bottom: 20px;
}

.woocommerce-Address a.edit {
    background-color: #000; /* Botón de editar con fondo oscuro */
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 2px;
}

.woocommerce-Address a.edit:hover {
    background-color: #444; /* Oscurecer el botón al pasar el mouse */
}



.amazon-blocks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 20px;
}

.amazon-block {
    flex: 0 0 32%;
    text-align: center;
    padding: 2%;
}

.amazon-block img {
    max-width: 100%; /* Asegura que la imagen nunca sea más ancha que su contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Elimina cualquier espacio extra debajo de la imagen */
    margin: 0 auto; /* Centra la imagen horizontalmente si es más pequeña que el contenedor */
}


.amazon-button {
    display: block;
    background-color: #f7ca00;
    text-decoration: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 30px;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .amazon-blocks-container {
        flex-direction: column;
    }

    .amazon-block {
        flex: 0 0 100%; /* En dispositivos móviles, cada bloque tomará el 100% del ancho */
        padding: 10%;
    }
}


.pi-product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.pi-product-card {
    display: flex;
    width: 48%;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    padding: 10px;
}
.pi-product-image {
    width: 40%;
}
.pi-product-info {
    width: 60%;
    padding-left: 20px;
}
.pi-product-title {
    font-size: 1.2em;
    margin: 10px 25px;
}
.pi-product-price {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
}
.pi-product-description {
    font-size: 0.9em;
    color: #666;
    margin: 0 25px;
    text-align: justify;
}
.col-md-4 .pi-product-card {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.col-md-4 .pi-product-image, .col-md-4 .pi-product-info {
    width: 100%;
    padding-left: 0;
}
@media (max-width: 1024px) {
    .pi-product-card {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pi-product-image, .pi-product-info {
        width: 100%;
        padding-left: 0;
    }
}

/* Clase para la imagen */
.image-button {
    transition: transform 0.1s ease-in-out;
}

/* Efecto de "pulsar" imcompatible con hover */
/*.image-button:active {
    transform: scale(0.9);
}*/

/* Efecto de "hover" */
.image-button:hover {
    transform: scale(0.9);
}

.wp-block-column p {
    text-align: justify;
}


