 /* noticias imagen */

 .nwuz {
     & .block-title {
         margin-top: 2rem;
         position: relative;
         display: flex;
         justify-content: left;
         margin-bottom: 1rem;

         &:before {
             content: '';
             position: absolute;
             background: var(--colorAzul-filete);
             height: 1px;
             width: 100%;
             right: 0;
             top: 50%;
             z-index: -5;
         }

         & h2 {
             font-size: 2.8rem;
             margin-top: 1rem !important;
             margin-bottom: 1rem !important;
             padding: 0 !important;
             border-bottom: none !important;
             position: relative;
             margin-left: 6rem;

             &:before {
                 content: none;
                 /*
				position: absolute;
				background: var(--colorAzul-filete);
				height: 4px;
				border-radius: 2px;
				width: 200%;
				transform: translate(-50%, -50%);
				z-index: -5;
				left: 50%;*/
             }

             &:after {
                 min-width: 220px;
                 content: '';
                 position: absolute;
                 background: #fafbfc;
                 height: 3rem;
                 width: 130%;
                 min-width: 175px;
                 right: 0;
                 z-index: -1;
                 right: 50%;
                 transform: translateX(50%);
             }
         }
     }

     & .view-header {
         & .ver-mas {
             display: block;
             margin-top: 3rem;
             padding: 0;
             text-align: center;
             background: none;

             &:before {
                 content: '';
                 position: absolute;
                 width: 3rem;
                 background-color: #fafbfc;
                 height: 100%;
                 left: -22px;
             }

             & a {
                 position: relative;
                 display: block;
                 color: white;
                 font-weight: 600;
                 border-radius: 5px;
                 border: 1px solid var(--colorAzul-filete);
                 background-color: var(--colorAzul-enlace);
                 font-size: 18px;
                 padding: 12px 55px 12px 25px;
                 z-index: 1;

                 &:hover {
                     color: var(--colorAzul-enlace);

                     &:after {
                         height: 100%;
                     }
                 }

                 &:before {
                     content: "\279D";
                     position: absolute;
                     right: 14px;
                     font-weight: 400;
                     font-size: 29px;
                     top: 50%;
                     transform: translateY(-50%);
                 }

                 &:after {
                     content: '';
                     position: absolute;
                     transition: all 0.4s;
                     width: 100%;
                     height: 0px;
                     background-color: var(--colorAzul-filete);
                     z-index: -1;
                     top: 50%;
                     transform: translateY(-50%);
                     left: 0;
                 }
             }
         }
     }
 }

 .path-frontpage .nwuz {
     & h2 {
         margin-top: 3rem !important;
         margin-bottom: 3rem !important;
     }

     .view-header:has(.ver-mas) {
         position: absolute;
         top: -90px;
         right: 0;

         & .ver-mas {
             margin-top: 0;

             @media (max-width: 820px) {
                 & {
                     display: inline-block;
                 }
             }
         }

         @media (max-width: 820px) {
             & {
                 position: relative;
                 margin-top: 0;
                 margin-bottom: 3rem;
                 top: 0;
                 order: 1;
                 width: 100%;
             }
         }
     }
 }

 .nwuz,
 .path-noticias-unizar {

     & .layout-1,
     .layout-2,
     .layout-3,
     .layout-4,
     .layout-5{
         position: relative;
         display: flex;
         flex-wrap: wrap;
         justify-content: space-between;
         gap: 6rem;

         & .view-content {
             flex: 1;
         }
     }

     & .layout-1,
     .layout-2,
     .layout-3,
     .layout-4,
     .layout-5,
     .layout-news {

         & .noticias-www {
             & ul {
                 list-style: none;
                 padding: 0 !important;
                 display: grid;
                 grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr));
                 grid-auto-flow: dense;
                 gap: 3.5rem;
             }

             & li {

                 border-radius: 4px;
                 padding: 0;
                 margin: 0;
                 padding-bottom: 1.5rem;



                 & img {
                     width: 100%;
                     height: auto;
                     border-radius: 15px;
                 }



                 & .subtitulo {
                     margin-top: 1rem;
                 }

                 & .titulo-noticia {
                     margin-bottom: 4px;
                     margin-top: 1rem;

                     & a {
                         font-weight: 600;
                         color: black;
                     }
                 }

                 & .fecha-noticia+.titulo-noticia {
                     margin-top: 0;
                     line-height: 1.2;
                 }

                 & .fecha-noticia {
                     margin-top: 1rem;
                     margin-bottom: 4px;
                     color: gray;
                     font-family: var(--font-alter);
                 }
             }
         }
     }

     & .view-footer {
         flex: 1;
         max-width: 330px;
         min-width: 225px;
         padding: 3rem;
         background: #c1d2e2;
         border-radius: 15px;

         @media (max-width: 820px) {
             & {
                 flex: auto;
                 max-width: none;
                 width: 100%;
                 order: 2;
             }
         }

         & .view-header {
             margin-bottom: 1rem;
         }

         & .view-content {
             .views-row {
                 margin-bottom: 1rem;

                 a {
                     color: #3c3c3c;
                 }
             }

             .views-field-field-fecha-medio-dos,
             .views-field-field-medio-dos {
                 font-size: 13px;
                 color: var(--color-custom1);
             }
         }
     }
 }


 .nwuz .layout-2 {
     & .noticias-www {
         ul {
             & li:first-child {
                 grid-column: span 2;
                 display: flex;
                 padding: 0;

                 & a {
                     font-size: 25px;
                 }

                 & a img {
                     object-fit: cover;
                     height: 100%;
                 }

                 & .fecha-noticia {
                     padding: 0 3rem;
                     margin-top: 2rem;
                 }

                 & .titulo-noticia {
                     padding: 0 3rem;

                     @media (max-width: 820px) {
                         & {
                             padding: 3rem;
                         }
                     }
                 }
             }

             & li {
                 @media (max-width: 820px) {
                     & {
                         grid-column: span 2 !important;
                     }
                 }
             }
         }
     }
 }

 .nwuz .layout-3 {
     & .noticias-www {
         ul {
             grid-template-columns: repeat(auto-fit, minmax(min(100%, 44rem), 1fr));

             & li {
                 display: flex;
                 padding: 0;

                 & .imag-noticia {
                     width: 30%;

                     & img {
                         object-fit: cover;
                         height: 100%;
                     }
                 }

                 & .texto-noticia {
                     flex: 1;
                     margin-bottom: 1.8rem;

                     & a {
                         font-size: 24px;
                     }

                     & .fecha-noticia {
                         padding: 0 3rem;
                         margin-top: 2rem;
                     }

                     & .titulo-noticia {
                         margin-top: 1rem;
                         padding: 0 3rem;
                     }
                 }
             }
         }
     }
 }

 .nwuz .layout-4 {
     & li:first-child {
         grid-column: span 2;
         grid-row: span 2;

         & .fecha-noticia,
         .titulo-noticia,
         .subtitulo {
             padding: 0 25px;
         }

         & .fecha-noticia {
             margin-top: 2rem;
         }

         & .titulo-noticia {
             font-size: 2.6rem;
             margin-bottom: 8px
         }

         & .subtitulo br {
             content: '';
             margin: 5px 0;
             display: block;
         }

         @media (max-width: 820px) {
             & {
                 grid-column: span 1;
                 grid-row: span 1;
             }
         }
     }

     & li:not(:first-child) {
         & .subtitulo {
             display: none;
         }
     }
 }

 .nwuz .layout-5 {
     & .noticias-www {
         ul {
             & li {
                 display: flex;
                 padding-bottom: 0;

                 & .imag-noticia {
                     width: 10rem;

                     img {
                         object-fit: cover;
                         height: 100%;
                         object-position: center;
                     }
                 }

                 & .fecha-noticia,
                 .titulo-noticia,
                 .subtitulo {
                     padding: 0 20px;
                 }

                 & .texto-noticia {
                     flex: 1;
                 }
             }
         }
     }
 }


 .path-noticias-unizar .views-more-link {
     display: table;
     padding: 5px 2rem;
     border: 1px solid #cbdee2;
     border-radius: 18px;
     margin-top: 10px;
     font-size: 1.4rem;
 }


 /* eol noticias imagen */