section.section-banner_espa .row{
    background-color: #0C26A3;
    overflow: hidden;
}

section.section-banner_espa .div-img{
    background-color: #354BB3;
}

section.section-banner_espa img.curva-mitad {
    top: 0;
    right: -1px;
    height: 100%;
}
section.section-banner_espa .div-content{
    color: white;
}
section.section-banner_espa .div-content h2{
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 1rem;
}

section.section-banner_espa .div-content p{
    font-weight: 400;
    font-size: 18px;
}


button.filter-button {
    border: none;
    border-radius: 55px;
    padding: 10px 15px;
    font-size: 15px;
     background-color: white;
    color: #453D3B;
    font-weight: 600;   
}
div#buttons-filter {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: max-content;
    box-shadow: 2px 4px 15px 0 #E7E9F6;
    padding: 8px;
    border-radius: 55px;
}

.filter-button.active {
    background-color: var(--azul-o);
    color: white;
}







.card-blog{
    display:block;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:.3s ease;
    text-decoration:none;
}

.card-blog:hover{
    transform:translateY(-6px);
    text-decoration: none;
}

/* IMG */
.card-blog-img{
    position:relative;
    height:220px;
    overflow:hidden;
}

.card-blog-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* OVERLAY */
.overlay-blog{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    justify-content:end;
    padding:16px 20px;
    background:linear-gradient(to top, rgba(0,0,0,.4), transparent);
}

.leer-mas{
    color:#fff;
   font-size: 18px;
    font-weight: 300;
        display: flex;
    align-items: center;
    gap: 10px;
}
.leer-mas i.bi.bi-arrow-right {
    font-size: 30px;
    line-height: 0;
    transition: transform .25s ease;
}
.card-blog:hover .leer-mas i{
    transform: translateX(5px);
}
/* BODY */
.card-blog-body{
    padding:20px;
}

.card-blog-title{
    font-size:20px;
    font-weight:600;
    color:#0C26A3;
    margin-bottom:10px;
}

.card-blog-date{
    display:inline-block;
    background:#E7E9F6;
    color:#0C26A3;
    padding:6px 12px;
    border-radius:20px;
    font-size:14px;
     transition: all .25s ease;
}
.card-blog:hover .card-blog-date{
    background:#9BA6D9;
}



.pagination-blog{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    list-style:none;
    padding:0;
}

.pagination-blog li{
    display:inline-block;
}

.page-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:8px;
    border: none;
    background:transparent;
    color:#333;
    text-decoration:none;
    font-weight:500;
    transition:.2s ease;
}

.page-link:hover{
    background:#eee;
}

.page-link.active{
    background:#0C26A3;
    color:#fff;
}

/* flechas */
.page-link.prev,
.page-link.next{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#0C26A3;
    color:#fff;
}

.tt_blog h1{
    color: #0C26A3;
    font-weight: 600;
    font-size: 45px;
}


.text-blog p, .text-blog li{
     font-size: 18px;
     color: #5B5E6C;
     font-weight: 400;
}

.text-blog h2{
    font-size: 30px;
    font-weight: 500;
    color: #5B5E6C;
    margin-top: 1.5rem;
}
.text-blog h3{
    font-size: 28px;
    font-weight: 500;
    color: #5B5E6C;
    margin-top: 0.8rem;
}
.text-blog img{
    width: 100%;
}






.item-loultimo {
    height: 300px;
    width: 350px;
}
.item-loultimo img{
    
    object-fit: cover;
    border-radius: 20px;
}
.item-loultimo h4 {
    position: absolute;
    display: block;
    bottom: 0;
    text-align: center;
    padding: 5px 10px;
    color: white;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
        text-shadow: 2px 1px 5px #000000;
}

.item-loultimo .card{
    border: none;
}
section.loultimo h3{
color: #453D3B;
font-size: 40px;
font-style: normal;
font-weight: 700;
}
@media (max-width: 600px){
    section.content h2, .fnewsle .card h3, .content h1,section.loultimo h3,.text-blog h2{ font-size: 25px;}
    button.filter-button{font-size: 15px;line-height: normal;width: 140px !important;}
    .item-blog {height: 385px;}
    .item-blog .txt {font-size: 20px;line-height: normal;}
    .fnewsle .card {padding: 20px 20px 0px 20px;}
    .fnewsle .card p{font-size: 18px;}
    .fnewsle span.wpcf7-list-item { margin: 0 10px 5px 25px;}
    .content_compro p, .content_compro li {font-size: 17px;}
    .content_compro h2 {font-size: 21px;margin-bottom: 0.85rem;}
    .text-blog h3 {font-size: 22px;}
}

@media (max-width: 575.98px){
  /* Slick sustituye el layout, evita el flex heredado */
  .slider-loultimo.slick-initialized{ display:block; }

  /* Espaciado lateral por slide */
  .slider-loultimo .item-loultimo{ padding: 0 10px; box-sizing: border-box; }
  .slider-loultimo .item-loultimo .card{ overflow:hidden; }

  /* Flechas */
  .slider-loultimo .slick-prev,
  .slider-loultimo .slick-next{
    position:absolute; top:50%; transform:translateY(-50%);
    background:none; border:none; font-size:2rem;
    color:#2C5904; z-index:5; cursor:pointer; padding:0; line-height:1;
  }
  .slider-loultimo .slick-prev{ left:8px; }
  .slider-loultimo .slick-next{ right:17px; }
  .slider-loultimo .slick-prev:hover,
  .slider-loultimo .slick-next:hover{ color:#72B344; }
    .slick-next:before, .slick-prev:before {content: "";}

  .item-loultimo h4{ font-size: 20px;padding: 30px 10px;}
  .tt_blog p{ font-size: 20px; line-height: normal;}
  .content_blog p.pri_parr{ font-size: 20px; line-height: normal;}
}
