.lfr-layout-structure-item-container {padding: 0;} .lfr-layout-structure-item-row {overflow: hidden;} .portlet-borderless .portlet-content {padding: 0;}.agrupacion-tematica .card-ae {
  position: relative;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  border-radius: 8px;
  transition: transform 0.3s ease;
}



.agrupacion-tematica .card-ae .header-card-ae {
  position: absolute;
  inset: 0;
  z-index:-1; 
}

.agrupacion-tematica .card-ae .header-card-ae picture,
.agrupacion-tematica .card-ae .header-card-ae img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
 padding-bottom: 0px!important;

}

.agrupacion-tematica .card-ae:hover .header-card-ae img {
  transform: scale(1.1);
}

.agrupacion-tematica .card-ae .title-card-ae {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3; 
  font-size: 1.5rem;
  margin: 0;
  color:#fff!important;
}

.agrupacion-tematica .card-ae .header-card-ae::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.3) 10%,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0) 75%,
    rgba(0, 0, 0, 0.1) 80%,
    rgba(0, 0, 0, 0.3) 90%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2; 
  transition: background 0.4s ease;
}

.agrupacion-tematica .card-ae:hover .header-card-ae::before {
  background: rgba(0, 0, 0, 0.6); 
}

.agrupacion-tematica .card-ae .footer-card-ae {
  position: relative;
  z-index: 2;
  padding: 1rem;
  text-align: left;
  margin-top: auto;
  left: 0 !important;
  padding: 0;
}

.agrupacion-tematica .fragment-card-ae .container-card {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.agrupacion-tematica    .fragment-card-ae .col-lg-4 {
    flex: 0 0 calc(12 / 12 * 100%);
    max-width: calc(12 / 12 * 100%);
}

@media (min-width: 992px) {
.agrupacion-tematica    .fragment-card-ae .col-lg-4 {
        flex: 0 0 calc(4 / 12 * 100% - 0px);
        max-width: calc(4 / 12 * 100% - 0px);
}
}

.agrupacion-tematica .fragment-card-ae .container-card {
       gap: 0px;
     }
.agrupacion-tematica .btnae--.btnae--primary {
    background-color: transparent;
    border-color: transparent;
    color: var(--btn-primary-color, #fff);
    transition-duration: .4s;
    position: relative;
    text-align: left;
    padding: 0;
    font-size: 18px;
}
@media (max-width: 769px) {
   
    .agrupacion-tematica .col.col-md-9 {
        flex: 0 0 calc(12 / 12 * 100%);
        max-width: calc(12 / 12 * 100%);
    }

     .agrupacion-tematica .col.col-md-3 {
        flex: 0 0 calc(12 / 12 * 100%);
        max-width: calc(12 / 12 * 100%);
    }

    .agrupacion-tematica .card-ae {
       height: 200px;
    }
    .agrupacion-tematica .fragment-card-ae .footer-card-ae {
       bottom: 0px;
   }
}

@media (min-width: 769px) and (max-width: 992px) {
    
    .agrupacion-tematica .col.col-md-9 {
        flex: 0 0 calc(12 / 12 * 100%);
        max-width: calc(12 / 12 * 100%);
    }

     .agrupacion-tematica .col.col-md-3 {
        flex: 0 0 calc(12 / 12 * 100%);
        max-width: calc(12 / 12 * 100%);
    }
}
.lfr-layout-structure-item-c805c263-481e-aefd-c8c9-5b594eccb907 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-c805c263-481e-aefd-c8c9-5b594eccb907) !important;
}
.lfr-layout-structure-item-2526075c-8eb5-9e7f-72f5-94c849f839a3 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-2526075c-8eb5-9e7f-72f5-94c849f839a3) !important;
}
.lfr-layout-structure-item-e5ae791a-d76e-ba02-b46c-1f8e2ad64f1e {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-e5ae791a-d76e-ba02-b46c-1f8e2ad64f1e) !important;
}
.lfr-layout-structure-item-8ec5b989-7ed0-c2e8-be1f-b3bdb30de053 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-8ec5b989-7ed0-c2e8-be1f-b3bdb30de053) !important;
}
.lfr-layout-structure-item-390746d0-491b-3e98-3b35-74235d867ad2 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-390746d0-491b-3e98-3b35-74235d867ad2) !important;
}
.lfr-layout-structure-item-93fd1590-7267-ed7f-f9f0-b7473ffed0c1 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-93fd1590-7267-ed7f-f9f0-b7473ffed0c1) !important;
}
.lfr-layout-structure-item-13892153-f31a-2bf6-d785-5185406933bf {
font-family: var(--font-family-sans-serif) !important;
padding-bottom: 88px !important;
}
.lfr-layout-structure-item-08bce486-773f-9ad7-771a-516caf30ed9c {

}
.mosaico {
  display: flex;
  flex-wrap: wrap;
  background:#002f59;
}

.mosaico .align-items-lg-start{
    width: 100%;

}

.mosaico .col-lg-3 {
 flex: 0 0 calc((100vw - 17px) / 5);
  max-width: calc((100vw - 17px) / 5);
  margin: 0;
  padding: 0;
}

.mosaico .col-lg-2 {
 flex: 0 0 calc((100vw - 17px) / 5);
  max-width: calc((100vw - 17px) / 5);
  margin: 0;
  padding: 0;
}

.mosaico .col-lg-10 {
  flex: 1;
  max-width: calc(100vw - ((100vw - 17px) / 5));
}

@media (max-width: 1024px) {
.mosaico .col-lg-3 {
    flex: auto;
   max-width: 100%
  }
  .mosaico .col-lg-2 {
    flex: auto;
   max-width: 100%
  }
  .mosaico .col-lg-10 {
    max-width: 100%;
}
.btn-mosaico {
    min-height: auto;
}
}

.btn-mosaico {
 min-height: 160px;
width: auto;
display:flex;
    overflow: hidden;
    max-height: 160px;
}
.btn-mosaico p{
 padding: 20px 0 0 20px;
 color:#FFF;
    position: relative;
font-size: 16px;
}
.btn-mosaico .btn-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #002f59;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}
.btn-mosaico:hover{
text-decoration:none;
}
.btn-mosaico:hover  .btn-overlay {
    width: 100%;
    height: 100%;
    opacity: .8;
   background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,47,89,1) 25%, rgba(255,255,255,1) 100%);
    transition: opacity 0.5s ease;
}

@media (max-width: 1024px) {
.btn-mosaico {
 min-height: auto;
}
}.lfr-layout-structure-item-bad29d88-2477-5494-e8bb-f6ab0fe051fa {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-bad29d88-2477-5494-e8bb-f6ab0fe051fa) !important;
}
.lfr-layout-structure-item-a619db81-8ca4-1bd9-095e-6fc23d9d5798 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-a619db81-8ca4-1bd9-095e-6fc23d9d5798) !important;
}
.lfr-layout-structure-item-659dca7c-8655-3743-8e4c-f115830ff5f8 {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-659dca7c-8655-3743-8e4c-f115830ff5f8) !important;
}
.lfr-layout-structure-item-27c7eaca-f1f2-1527-1277-133a89eee694 {

}
.mosaico {
  display: flex;
  flex-wrap: wrap;
  background:#002f59;
}

.mosaico .align-items-lg-start{
    width: 100%;

}

.mosaico .col-lg-3 {
 flex: 0 0 calc((100vw - 17px) / 5);
  max-width: calc((100vw - 17px) / 5);
  margin: 0;
  padding: 0;
}

.mosaico .col-lg-2 {
 flex: 0 0 calc((100vw - 17px) / 5);
  max-width: calc((100vw - 17px) / 5);
  margin: 0;
  padding: 0;
}

.mosaico .col-lg-10 {
  flex: 1;
  max-width: calc(100vw - ((100vw - 17px) / 5));
}

@media (max-width: 1024px) {
.mosaico .col-lg-3 {
    flex: auto;
   max-width: 100%
  }
  .mosaico .col-lg-2 {
    flex: auto;
   max-width: 100%
  }
  .mosaico .col-lg-10 {
    max-width: 100%;
}
.btn-mosaico {
    min-height: auto;
}
}

.btn-mosaico {
 min-height: 160px;
width: auto;
display:flex;
    overflow: hidden;
    max-height: 160px;
}
.btn-mosaico p{
 padding: 20px 0 0 20px;
 color:#FFF;
    position: relative;
font-size: 16px;
}
.btn-mosaico .btn-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #002f59;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}
.btn-mosaico:hover{
text-decoration:none;
}
.btn-mosaico:hover  .btn-overlay {
    width: 100%;
    height: 100%;
    opacity: .8;
   background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,47,89,1) 25%, rgba(255,255,255,1) 100%);
    transition: opacity 0.5s ease;
}

@media (max-width: 1024px) {
.btn-mosaico {
 min-height: auto;
}
}.lfr-layout-structure-item-343a8101-25c6-9152-0bf2-1405db07fada {
margin-bottom: var(--spacer-5,3rem) !important;
}
.lfr-layout-structure-item-343a8101-25c6-9152-0bf2-1405db07fada {
padding-left:0 !important;
padding-right:0 !important;
}.lfr-layout-structure-item-93573f2a-f507-2aa1-b66f-d325e28c10fd {
background-position: 50% 50%; background-repeat:no-repeat; background-size: cover; background-image: var(--lfr-background-image-93573f2a-f507-2aa1-b66f-d325e28c10fd) !important;
}
@media screen and (max-width: 991px) {.lfr-layout-structure-item-13892153-f31a-2bf6-d785-5185406933bf {
padding-bottom: 60px !important;
}
}