/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* area de los juegos  */

.gap1{
  height: 30px;
}
.gap2{
  height: 15px;
}
.gap3{
  height: 10px;
}

.mio_menu{
  margin-right: 70px;
}
.imgZin{
  z-index: 200;
}
.ImgFooOri{
  width: 20%;
}

.img-destacada-cus {
    width: 100%;         /* ocupa el 100% del contenedor */
    height: auto;        /* mantiene la proporción */
    border-radius: 15px; /* bordes redondeados */
    display: block;      /* elimina posibles espacios extra */
}

.gamesLoto {
    background-image: url('https://netsiteperu.com/LotoBola/wp-content/uploads/2025/08/prueba.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 300px; /* ajusta según necesites */
}

.SBotonJuega{
    background-color: #03499A;
    padding: 10px 20px;
    color: white;
    font-size: 100%;
    border-radius: 20px;
}
.juegosBtn{
    width: 100%;
    background-color: #03499A;
    padding: 10px 20px;
    color: white;
    font-size: 100%;
    border-radius: 20px;
}
.ReedBtn{
    background-color: #03499A;
    border: #03499A 1px solid;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 100%;
    border-radius: 20px; 
}

.ReedBtn:hover{
  color: #ffffff;
}

/* ganadores custom  */

.ganadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 340px)); /* Ancho fijo */
    gap: 30px; /* Espacio entre cartas */
    justify-content: center; /* Centrar todo el bloque */
    padding: 20px 0;
}

.ganador-card {
    display: flex;
    align-items: left;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    height: 152px; /* Igual que en Figma */
    width: 340px;  /* Igual que en Figma */
}

.ganador-img {
    flex-shrink: 0;
    width: 124px;  /* Igual que en Figma */
    height: 100%;
    background-color: #fff;
}

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

.ganador-info {
    flex: 1;
    padding: 10px 15px;
    text-align: left;
}

.monto {
    font-size: 24px;
    font-weight: bold;
    color: #FF006E; /* Color de monto */
    margin: 0;
}

.ubicacion {
    font-size: 15px;
    color: #03499A;
    margin: 5px 0;
}

.fecha {
    font-size: 13px;
    color: #03499A;
}

/* PAGINACIÓN: estilo limpio, bordes redondeados (solo bordes) */
#ganadores-wrapper .paginacion-ganadores {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

/* Asegura que cada li se comporte bien */
#ganadores-wrapper .paginacion-ganadores li {
  display: inline-block;
}

/* Estilo base para links y el span (current / dots) */
#ganadores-wrapper .paginacion-ganadores a,
#ganadores-wrapper .paginacion-ganadores span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;        /* ancho mínimo para que los números queden equilibrados */
  height: 30px;           /* altura fija para alineación */
  padding: 0 8px;        /* espacio horizontal si el número tiene más de 1 dígito */
  border-radius: 12px;    /* bordes redondeados (no círculo perfecto) */
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: all .12s ease;
  line-height: 1;
}

/* Hover ligero (no rompe colores) */
#ganadores-wrapper .paginacion-ganadores a:hover {
  transform: translateY(-2px);
  background: #f6f6f6;
  color: #111;
}

/* Prev / Next: hacerlos más redondos (círculos) */
#ganadores-wrapper .paginacion-ganadores a.prev,
#ganadores-wrapper .paginacion-ganadores a.next {
  border-radius: 50%;
  min-width: 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  font-weight: 700;
  background-color: #03499A;
  color: white;
}

/* Página actual (activo) */
#ganadores-wrapper .paginacion-ganadores span.current {
  background: #ffffff00; /* color activo — cámbialo si prefieres otro */
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
  transform: none;
}

/* Puntos suspensivos "…" */
#ganadores-wrapper .paginacion-ganadores .dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #777;
  padding: 0 8px;
  min-width: auto;
  height: auto;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.soonWinners{
  color: white;
  font-size: 140%;
  font-weight: 600;
}
.soonWinnersImg{
  width: 50%;
  border-radius: 10px; 
}

/* fin ganadores custom */

/* noticis homw */

.noticias-section {
    background-color: #f25ba8; /* rosa */
    /* padding: 20px; */
    border-radius: 20px;
}

.noticias-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.noticia-card {
  display: flex;
  align-items: stretch;       /* fuerza que ambos lados tengan la misma altura */
  border-radius: 20px;
  overflow: hidden;           /* recorta la imagen en las esquinas redondeadas */
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  min-height: 350px;         /* altura base: ajusta si quieres más alto */
}

/* LADO IZQUIERDO: imagen como background - cubre todo el alto */
.noticia-img {
  flex: 0 0 40%;             /* ocupa ~48% del ancho (izquierda) */
  min-width: 40%;
  background-size: cover;    /* cover asegura que no queden espacios */
  background-position: top;
  background-repeat: no-repeat;
  /* bordes solo en la izquierda si quieres (ya recorta por overflow del padre) */
}

/* LADO DERECHO: contenido */
.noticia-content {
  flex: 1 1 52%;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Texto / botones */
.noticia-autor {
  color: #0a4c8c;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.noticia-titulo {
  color: #0054a6;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.noticia-extracto {
  color: #333;
  font-size: 1rem;
  margin-bottom: 18px;
}

.noticia-btn {
  align-self: flex-start;
  border: 1px solid #0054a6;
  color: #0054a6;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
}

/* Contenedor para las flechas */
.swiper-navigation {
  position: absolute;
  top: 20px; /* Ajusta según la altura del título */
  right: 20px;
  display: flex;
  gap: 10px; /* Espacio entre flechas */
  z-index: 10;
}

/* Estilo de las flechas */
.swiper-button-prev,
.swiper-button-next {
  position: static; /* Evita que el swiper las coloque por defecto */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: #fff 1px solid;
  background: #ffffff00;
  color: #ffffff; /* Color rosa */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px !important; /* Tamaño de la flecha */
  font-weight: 500; /* Opcional: más gruesa */
}

#logo{
    margin-left:50px;
}

/* Contenedor del menú */
.menu {
  background: rgba(255, 255, 255, 0);
  /* border-bottom: 5px solid #f24ba7; */
}

/* Solo el primer nivel del menú es flex */
.menu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.menu li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #0d47a1;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 15px 0;
  display: block;
  transition: color 0.3s;
}

.menu li.active a {
  font-weight: bold;
}

.menu a:hover {
  color: #08306b;
}

/* Flecha */
.arrow {
  font-size: 12px;
  margin-left: 5px;
}

/* Submenús ocultos por defecto */
.menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0;
  min-width: 160px;
  z-index: 1000;
}

/* Mostrar submenú al pasar el mouse */
.menu li:hover > ul {
  display: block;
}

/* Estilos para enlaces de submenú */
.menu ul ul li a {
  padding: 10px 10px;
  color: #0d47a1;
}

.menu ul ul li a:hover {
  background: #f0f0f0;
}

/* labor social */

/* Contenedor de las tarjetas */
.labor-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
    justify-items: center;
}

/* Tarjeta más alta y espaciosa */
.labor-social-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    min-height: 420px; /* forzamos más altura */
}

/* Imagen más alta */
.labor-social-img img {
    width: 100%;
    height: 260px; /* antes 200px */
    object-fit: cover;
}

/* Contenido con más espacio */
.labor-social-content {
    padding: 20px;
}

.labor-social-content h3 {
    color: #e91e63; /* rosa similar al de la imagen */
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 4px;
}

.labor-social-content .date {
    font-size: 12px;
    text-transform: uppercase;
    color: #9e9e9e;
    margin-bottom: 10px;
}

.labor-social-content .excerpt {
    font-size: 15px;
    color: #262626;
    line-height: 1.5;
    margin-bottom: 12px;
}

.labor-social-content .read-more {
    color: #e91e63;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

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

/* PAGINACIÓN: estilo limpio, bordes redondeados (solo bordes) */
#LS-wrapper .paginacion-ls {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

/* Asegura que cada li se comporte bien */
#LS-wrapper .paginacion-ls li {
  display: inline-block;
}

/* Estilo base para links y el span (current / dots) */
#LS-wrapper .paginacion-ls a,
#LS-wrapper .paginacion-ls span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;        /* ancho mínimo para que los números queden equilibrados */
  height: 30px;           /* altura fija para alineación */
  padding: 0 8px;        /* espacio horizontal si el número tiene más de 1 dígito */
  border-radius: 12px;    /* bordes redondeados (no círculo perfecto) */
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.04); */
  transition: all .12s ease;
  line-height: 1;
}

/* Hover ligero (no rompe colores) */
#LS-wrapper .paginacion-ls a:hover {
  transform: translateY(-2px);
  background: #f6f6f6;
  color: #03499a72;
}

/* Prev / Next: hacerlos más redondos (círculos) */
#LS-wrapper .paginacion-ls a.prev,
#LS-wrapper .paginacion-ls a.next {
  border-radius: 50%;
  min-width: 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  font-weight: 700;
  background-color: #03499A;
  color: white;
}

/* Página actual (activo) */
#LS-wrapper .paginacion-ls span.current {
  background: #ffffff00; /* color activo — cámbialo si prefieres otro */
  color: #03499A;
  border-color: #03499A;
  box-shadow: none;
  transform: none;
}

/* Puntos suspensivos "…" */
#LS-wrapper .paginacion-ls .dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #777;
  padding: 0 8px;
  min-width: auto;
  height: auto;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* acordeon */
.accordion {
  max-width: 800px;
  margin: auto;
}

.accordion-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
}

.accordion-icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border: 2px solid #005bbb;
  color: #005bbb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin-right: 15px;
}

.accordion-item.active .accordion-icon {
  background-color: #005bbb;
  color: white;
}

.accordion-header h3 {
  margin: 0;
  color: #005bbb;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #004080;
}
.acordeonTextAll{
  text-align: justify;
}

.accordion-item.active .accordion-content {
  max-height: 400px;  /* limita la altura */
  overflow-y: auto;   /* scroll solo al abrir */
  padding: 10px 30px;
  border-top: 1px solid #ddd;
  background: #fafafa;
}

.accordion-content::-webkit-scrollbar {
  width: 8px;
}

.accordion-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}

#fooJuega{
  background-color: #F6E9F840;
  color: white;
  font-size: 80%;
  font-weight: 200;
  border-radius: 20px;
  padding: 5px 5px;
}
.fooPLER{
  color: white;
  font-size: 80%;
  font-weight: 200;
}
.fooPLER:hover{
  color: white;
}

.iframe-blog {
  width: 90%;
  height: 550px;
  border-radius: 15px;
  overflow: hidden;
}
.btn-atras {
  padding: 10px 20px;
  color: #03499A;
  text-decoration: none;
}
.btn-atras:hover {
  color: #03499A;
}

/* Para pantallas mayores a 1500px */
@media (min-width: 1580px) {
  .iframe-blog {
    width: 90%;   /* más pequeño relativo al ancho */
    height: 720px; /* más alto */
    border-radius: 15px;
    overflow: hidden;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    #ganadores-wrapper .paginacion-ganadores {
        gap: 6px;
    }
    #ganadores-wrapper .paginacion-ganadores a,
    #ganadores-wrapper .paginacion-ganadores span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
        border-radius: 10px;
    }
    #ganadores-wrapper .paginacion-ganadores a.prev,
    #ganadores-wrapper .paginacion-ganadores a.next {
        width: 32px;
        height: 32px;
    }

    .noticia-card {
    flex-direction: column;
    min-height: auto;
    }
    .noticia-img {
        flex: 0 0 auto;
        width: 100%;
        min-width: 100%;
        height: 220px;       /* alto fijo en móvil para que se vea bien */
    }
    .noticia-content {
        padding: 18px;
    }

    .iframe-blog {
      width: 90%;
      height: 500px;
      border-radius: 15px;
      overflow: hidden;
    }


}