/*
 * Info24RG Category Rendering Isolation
 * Stable marker: --i24-category-card-gap
 */
body.i24-body.i24-view-category{
 --i24-category-card-gap:22px;
}

body.i24-body.i24-view-category .i24-main{
 width:100%;
 max-width:none;
 padding-left:0;
 padding-right:0;
}

body.i24-body.i24-view-category .i24-category-isolated{
 width:min(1160px,calc(100% - 48px));
 margin:0 auto;
 padding:52px 0 58px;
}

body.i24-body.i24-view-category .i24-category-isolated__header{
 margin:0 0 24px;
 border-bottom:2px solid #0b2581;
}

body.i24-body.i24-view-category .i24-category-isolated__header h1{
 position:relative;
 display:inline-block;
 margin:0;
 padding:0 0 12px 17px;
 color:#071f7d;
 font-size:clamp(2rem,3vw,2.85rem);
 line-height:1.05;
 font-weight:900;
 letter-spacing:-.035em;
}

body.i24-body.i24-view-category .i24-category-isolated__header h1::before{
 content:"";
 position:absolute;
 left:0;
 top:.12em;
 width:6px;
 height:.82em;
 border-radius:999px;
 background:#ed111f;
}

body.i24-body.i24-view-category .i24-category-isolated__description{
 max-width:920px;
 margin:-8px 0 24px;
 color:#4d5968;
 font-size:1rem;
 line-height:1.55;
}

body.i24-body.i24-view-category .i24-category-isolated__grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:var(--i24-category-card-gap)!important;
 align-items:stretch!important;
 width:100%;
}

body.i24-body.i24-view-category .i24-category-isolated__card{
 display:flex!important;
 min-width:0;
 flex-direction:column!important;
 overflow:hidden;
 margin:0!important;
 padding:0!important;
 border:1px solid rgba(19,37,93,.08);
 border-radius:13px;
 background:#fff;
 box-shadow:0 9px 25px rgba(21,35,70,.09);
}

body.i24-body.i24-view-category .i24-category-isolated__media{
 display:block!important;
 width:100%!important;
 aspect-ratio:16/9;
 overflow:hidden;
 background:#e8edf4;
}

body.i24-body.i24-view-category .i24-category-isolated__media img{
 display:block!important;
 width:100%!important;
 height:100%!important;
 max-width:none!important;
 object-fit:cover!important;
 margin:0!important;
 padding:0!important;
}

body.i24-body.i24-view-category .i24-category-isolated__body{
 display:flex;
 flex:1;
 flex-direction:column;
 padding:16px 16px 17px;
}

body.i24-body.i24-view-category .i24-category-isolated__title{
 margin:0!important;
 padding:0!important;
 font-size:1.08rem;
 line-height:1.23;
 font-weight:900;
 letter-spacing:-.012em;
}

body.i24-body.i24-view-category .i24-category-isolated__title a{
 color:#071f7d!important;
 text-decoration:none!important;
}

body.i24-body.i24-view-category .i24-category-isolated__title a:hover{
 text-decoration:underline!important;
 text-decoration-thickness:2px!important;
 text-underline-offset:3px!important;
}

body.i24-body.i24-view-category .i24-category-isolated__date{
 display:block;
 margin-top:8px;
 color:#ed111f;
 font-size:.77rem;
 line-height:1.2;
 font-weight:900;
}

body.i24-body.i24-view-category .i24-category-isolated__intro{
 margin:10px 0 0!important;
 color:#202936;
 font-size:.91rem;
 line-height:1.47;
}

body.i24-body.i24-view-category .i24-category-isolated__empty{
 padding:42px 24px;
 border:1px solid rgba(19,37,93,.08);
 border-radius:14px;
 background:#fff;
 color:#5a6572;
 text-align:center;
 box-shadow:0 8px 22px rgba(21,35,70,.06);
}

body.i24-body.i24-view-category .i24-category-isolated__pagination{
 display:flex;
 justify-content:center;
 margin:38px 0 0;
}

body.i24-body.i24-view-category .i24-category-isolated__pagination ul,
body.i24-body.i24-view-category .i24-category-isolated__pagination .pagination{
 display:flex!important;
 flex-wrap:wrap;
 justify-content:center;
 gap:9px;
 margin:0!important;
 padding:0!important;
 list-style:none!important;
}

body.i24-body.i24-view-category .i24-category-isolated__pagination li{
 margin:0!important;
 padding:0!important;
 list-style:none!important;
}

body.i24-body.i24-view-category .i24-category-isolated__pagination a,
body.i24-body.i24-view-category .i24-category-isolated__pagination span{
 display:inline-flex!important;
 align-items:center;
 justify-content:center;
 min-width:40px;
 height:40px;
 padding:0 11px!important;
 border:1px solid rgba(7,31,125,.14);
 border-radius:999px!important;
 background:#fff;
 color:#071f7d!important;
 font-size:.88rem;
 font-weight:900;
 text-decoration:none!important;
 box-shadow:0 3px 10px rgba(21,35,70,.04);
}

body.i24-body.i24-view-category .i24-category-isolated__pagination .active a,
body.i24-body.i24-view-category .i24-category-isolated__pagination .active span,
body.i24-body.i24-view-category .i24-category-isolated__pagination .current{
 border-color:#071f7d;
 background:#071f7d;
 color:#fff!important;
}

@media(max-width:920px){
 body.i24-body.i24-view-category .i24-category-isolated__grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

@media(max-width:620px){
 body.i24-body.i24-view-category .i24-category-isolated{
  width:min(100% - 24px,1160px);
  padding:34px 0 44px;
 }

 body.i24-body.i24-view-category .i24-category-isolated__grid{
  grid-template-columns:1fr!important;
  gap:16px!important;
 }

 body.i24-body.i24-view-category .i24-category-isolated__header h1{
  font-size:2rem;
 }
}


/* Info24RG Pagination Cleanup
 * Stable marker: --i24-pagination-number-only
 */
body.i24-body.i24-view-category{
 --i24-pagination-number-only:1;
}

body.i24-body.i24-view-category
.i24-category-isolated__pagination
:is(
 .pagination-start,
 .pagination-prev,
 .pagination-next,
 .pagination-end,
 .page-item-first,
 .page-item-prev,
 .page-item-next,
 .page-item-last,
 .first,
 .previous,
 .next,
 .last
){
 display:none!important;
}

/* Joomla puede envolver los iconos en spans vacíos. */
body.i24-body.i24-view-category
.i24-category-isolated__pagination
li[data-i24-pagination-empty="1"]{
 display:none!important;
}
