.page8-section1{
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.page8-section1-div1{
    display: grid;
    grid-column: 1/3;
    grid-template-columns: 1fr 3fr 1fr;
    background-color: #100047;
    min-height: 250px;
}

.page8-section1-div1-div1{
    display: flex;
    grid-column: 2/3;
    align-items: center;
}

.titulo{
    font-family: "intelo";
    font-size: xx-large;
}

.page8-section1-div2{ /*CATEGORIAS*/
    grid-row: 2/3; 
    grid-column: 2/3;
    width: 80%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.page8-section1-div2-destacadas{
    display: grid;
    row-gap: 5%;
}

.page8-section1-div2-destacadas-noticia{
    background-color: transparent; 
    border-radius: 30px;
    border: solid;
    border-block-color: #100047;
    border-bottom-color: #100047;
    border-left-color: #100047;
    border-right-color: #100047;
    display: grid;
    /*justify-items: center;*/
    align-items: center;
    border-width: thin;
}

.page8-section1-div2-destacadas-noticia h3{
    color: #100047;
    margin-top: 5%;
    margin-right: 5%;
    margin-left: 5%;
}

.page8-section1-div2-destacadas-noticia p{
    color: gray;
    font-size: x-small;
    margin-bottom: 5%;
    margin-left: 5%;
}

.page8-section1-div3{ /*NOTICIAS GRID*/
    grid-row: 2/3; 
    grid-column: 1/2;
}

.page8-section1-div3-noticia{ /*NOTICIAS GRID*/
    grid-row: 2/3; 
    grid-column: 1/2;
    width: 60%;
    margin: auto;
    display: grid;
    row-gap: 2%;
    justify-items: center;
    margin-top: 5%;
}

.titulo-noticia{
    text-justify: ;
}

.contenido-noticia{
    
}

.page8-section1-div3-noticia div p{
    margin-bottom: 5%;
    color: #100047;
    text-align: justify;
}

.page8-section1-div3-noticia div h4{
    color: #60269E; 
    font-weight:bold; 
    font-size: x-large;
    margin-bottom: 5px;
    text-align: center;
}

.page8-section1-div3-noticia div h5{
    margin-bottom: 10px;
    font-size: large;
    color: #100047;
}

/*categorias*/

.page8-section1-div2 input[type="radio"] {
  display: none;
}

.page8-section1-div2 label {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  color: #100047;
  border-radius: 50px;
  cursor: grabbing;
}

.page8-section1-div2 label:hover {
  transform: translatey(-5px);
  background-color: #100047; /* Cambia el color de fondo para el botón seleccionado */
  color: #fff; /* Cambia el color del texto para el botón seleccionado */
}



.page8-section1-div2 ol.filters {
  list-style: none; /* Oculta los números de la lista */
  display: flex;
  flex-wrap: wrap;
}

.page8-section1-div2 ol.filters li {
  margin-right: 10px; /* Espacio entre los elementos de la lista */
  margin-bottom: 10px; /* Espacio entre las filas */
}

.page8-section1-div2 input[type="radio"]:checked + label {
  background-color: #100047; /* Cambia el color de fondo para el botón seleccionado */
  color: #fff; /* Cambia el color del texto para el botón seleccionado */
}

/*botones de paginación*/

.listPage{
    text-align: center;
    margin: 30px 30px 60px;
    user-select: none;
}

.listPage li{
    display: inline-block;
    margin: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 /10%);
    text-decoration: none;
    font-size: 1.2em;
    line-height: 45px;
    cursor: grabbing;
     border: 1px solid #ccc;
    border-radius: 50%;
    transition: 0.3s ease;
    background: #fff;
    width: 45px;
    color: #100047;
}

.listPage li:hover{
    transform: translateX(-5px);
}



.listPage li.active{
    background: #100047;
    color: #fff;
}

.listPage li.prev,
.listPage li.next{
  /* Estilos específicos para las flechas "PREV" y "NEXT" */
  font-weight: bold;
  color: #fff;
  background-color: #100047;
}

.disable{
    
}


.page8-section1-div3-div1{
    
}


.page8-section1-div3-div1-div{
    width: 70%;
    padding: 20px;
    max-width: 305px;
    min-width: 300px;
    /*min-width: 200px;*/
}


/* FILTERING RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
[value="All"]:checked ~ .filters [for="All"],
[value="Familia"]:checked ~ .filters [for="Familia"],
[value="Bienes"]:checked ~ .filters [for="Bienes"],
[value="Lotes"]:checked ~ .filters [for="Lotes"],
[value="Modernidad"]:checked ~ .filters [for="Modernidad"],
[value="Campo"]:checked ~ .filters [for="Campo"] {
    color: #fff;
    background-color: #100047;
    font-weight: bold;
}

[value="All"]:checked ~ .posts [data-category] {
  display: block;
}

[value="Familia"]:checked ~ .posts .post:not([data-category~="Familia"]),
[value="Bienes"]:checked ~ .posts .post:not([data-category~="Bienes"]),
[value="Lotes"]:checked ~ .posts .post:not([data-category~="Lotes"]),
[value="Modernidad"]:checked ~ .posts .post:not([data-category~="Modernidad"]),
[value="Campo"]:checked ~ .posts .post:not([data-category~="Campo"]) {
  display: none;
}


/*NOTICIAS*/
.noticia{
    display: grid;
    width: 100%;
    /*grid-template-rows: auto 1fr 1fr 1fr;*/
    max-height: 270px;
}

.noticia div p{
    margin: 0;
}


.noticia-div1{
    display: grid;
    width: 100%;
    grid-column: 1/3;
    grid-row: 1/2;
}

.noticia-div2{
    display: grid;
    width: 100%;
    grid-column: 1/2;
    grid-row: 2/3;
}
.noticia-div3{
    display: grid;
    width: 100%;
    grid-column: 2/3;
    grid-row: 2/3;
    justify-items: end;
    align-items: center;
}
.noticia-div4{
    display: grid;
    width: 100%;
    grid-column: 1/3;
    grid-row: 3/4;
}
.noticia-div5{
    display: grid;
    width: 100%;
    grid-column: 1/3;
    grid-row: 4/5;
}

.noticia-div5 button{
    border: none;
    background-color: transparent;
    text-align: start;
}

.posts{
         display: flex; 
         flex-wrap: wrap; 
         padding-left: 10%; 
         justify-content: space-evenly;
    }

/*responsive*/
@media screen and (max-width: 1200px){
    .posts{
         padding-left: 2%; 
    }

    .page8-section1-div3-div1-div{
        min-width: 200px;
    }
}


@media screen and (max-width: 900px){
    .page8-section1-div3-noticia{
         row-gap: 0%; 
    }

    .page8-section1-div2 ol{
        font-size: smaller;
    }

    .page8-section1-div2-destacadas-noticia h3{
        font-size: small;
    }

    .page8-section1-div1-div1{
        font-size: small;
    }

    .page8-section1-div3-noticia div p, .page8-section1-div3-noticia div li{
        font-size: small;
    }

    .page8-section1-div3-noticia div h5{
        font-size: medium;
    }
}


@media screen and (max-width: 500px){
    .listPage{
        grid-row: 3/4;
        grid-column: 1/3;
    }

    .page8-section1-div1{
        min-height: 150px;
    }

    .page8-section1-div3-div1-div{
        padding: 10px;
    }

    .page8-section1-div2{
        margin-left: unset;
    }

    .page8-section1-div2 ol{
        font-size: x-small;
    }

    .page8-section1-div2 h2{
        font-size: inherit;
    }

    .page8-section1-div2-destacadas-noticia h3{
    font-size: 11px;
    }
}