/* MaquetearIA Elementor v1.1.0 — estilos aislados; origen: módulo editorial DesdeAca */
.maia-news{--maia-accent:#e90016;--maia-media-width:42%;--maia-overlay-alpha:65%;--maia-cols:3;position:relative;isolation:isolate;font-family:inherit;color:#202126;max-width:100%;min-width:0}
.maia-news *{box-sizing:border-box}
.maia-news :focus-visible{outline:3px solid var(--maia-accent);outline-offset:3px}
.maia-news a{color:inherit;text-decoration:none}
.maia-news a:hover{color:var(--maia-accent)}
.maia-news .maia-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e8e9ed;margin-bottom:20px;padding-bottom:11px}
.maia-news .maia-section-heading{font-size:clamp(1.25rem,2vw,2rem);font-weight:800;line-height:1.16;margin:0;padding-left:12px;border-left:4px solid var(--maia-accent)}
.maia-news .maia-section-more{color:var(--maia-accent);font-size:.86rem;font-weight:700;white-space:nowrap}
.maia-news .maia-news-list{display:grid;grid-template-columns:repeat(var(--maia-cols),minmax(0,1fr));column-gap:22px;row-gap:24px;min-width:0}
.maia-news .maia-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #ebedf0;border-radius:8px;padding:12px;position:relative}
.maia-news .maia-card-inner{display:flex;flex-direction:column;gap:14px;min-width:0;height:100%}
.maia-news .maia-media{position:relative;overflow:hidden;flex-shrink:0;width:100%;aspect-ratio:16/9;background:#eef0f2;border-radius:12px;max-height:var(--maia-media-maxheight,none);min-width:0}
.maia-news.maia-ratio-4-3 .maia-media{aspect-ratio:4/3}
.maia-news.maia-ratio-square .maia-media{aspect-ratio:1}
.maia-news.maia-ratio-9-16 .maia-media{aspect-ratio:9/16}
.maia-news.maia-ratio-3-4 .maia-media{aspect-ratio:3/4}
.maia-news.maia-ratio-auto .maia-media{aspect-ratio:auto}
.maia-news .maia-media-link{display:block;inset:0;position:absolute}
.maia-news .maia-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;max-width:none}
.maia-news.maia-ratio-auto .maia-media-link{position:relative}
.maia-news.maia-ratio-auto .maia-media img{height:auto}
.maia-news .maia-card.maia-zoom:hover img{transform:scale(1.045)}
.maia-news .maia-card-body{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex:1;min-width:0}
.maia-news .maia-card-category{display:inline-flex;align-self:flex-start;color:var(--maia-accent);font-weight:800;font-size:.72rem;letter-spacing:.065em;text-transform:uppercase;line-height:1.3;padding:3px 0}
.maia-news .maia-card-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1rem,1.65vw,1.35rem);font-weight:750;line-height:1.22;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.maia-news .maia-card-excerpt{font-size:.88rem;line-height:1.52;color:#5c5e66;margin:0;overflow-wrap:anywhere}
.maia-news .maia-card-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.75rem;color:#85868d;margin-top:auto;padding-top:8px}
.maia-news .maia-card-readmore{display:inline-flex;align-self:flex-start;color:var(--maia-accent);font-size:.79rem;font-weight:800;margin-top:8px}
.maia-news .maia-card-inner[style*='row'] .maia-media{width:var(--maia-media-width,42%)}
.maia-news .maia-card-inner[style*='column'] .maia-media{width:100%}
/* Estilo por defecto de módulos horizontales. Responsive media_position puede sobrescribir flex-direction mediante Elementor. */
.maia-news.maia-layout-rows .maia-card-inner,.maia-news.maia-layout-videos .maia-card-inner,.maia-news.maia-layout-timeline .maia-card-inner{flex-direction:row}
.maia-news.maia-layout-rows .maia-media,.maia-news.maia-layout-videos .maia-media,.maia-news.maia-layout-timeline .maia-media{width:var(--maia-media-width)}
.maia-news.maia-layout-rows .maia-card-body,.maia-news.maia-layout-videos .maia-card-body,.maia-news.maia-layout-timeline .maia-card-body{flex:1}
/* Para la decisión top/bottom establecida por el control responsive, :has() mantiene el ancho correcto. */
.maia-news .maia-card-inner:has(> .maia-media):is([style*='column']) .maia-media{width:100%}
.maia-news.maia-layout-mosaic .maia-card:first-child{grid-column:span 2;grid-row:span 2}
.maia-news.maia-layout-mosaic .maia-card:first-child .maia-media{aspect-ratio:4/3}
.maia-news.maia-layout-mosaic .maia-card:first-child .maia-card-title{font-size:clamp(1.5rem,2.5vw,2.5rem)}
.maia-news.maia-layout-videos .maia-media{width:min(var(--maia-media-width),50%)}
.maia-news.maia-layout-videos .maia-card-inner{align-items:stretch}
.maia-news.maia-layout-videos .maia-video-overlays{position:absolute;inset:auto 7% 4% 7%;color:#fff;z-index:2;pointer-events:none;display:flex;flex-direction:column;gap:clamp(8px,1vw,18px);text-shadow:0 1px 5px #000b}
.maia-news .maia-video-overlays strong{display:block;font-size:clamp(.82rem,1.2vw,1.1rem);line-height:1.1}
.maia-news .maia-video-overlays small{display:block;font-size:clamp(.62rem,.8vw,.82rem)}
.maia-news .maia-video-caption{font-weight:800;text-align:center;font-size:clamp(.8rem,1.1vw,1.22rem);line-height:1.2}
.maia-news .maia-video-credit{opacity:.83;margin-top:8px}
.maia-news .maia-media-shade{position:absolute;inset:0;background:linear-gradient(to top,color-mix(in srgb,#000 var(--maia-overlay-alpha),transparent),transparent 75%);z-index:1;pointer-events:none}
.maia-news .maia-play{position:absolute;z-index:5;left:12px;top:12px;display:grid;place-items:center;width:40px;height:40px;border:2px solid #ffffffbf;border-radius:50%;background:#0009;color:#fff;font-size:17px;cursor:pointer;line-height:1;transition:background .2s}
.maia-news .maia-play[hidden]{display:none}
.maia-news .maia-play:hover{background:var(--maia-accent);color:#fff}
.maia-news .maia-video-player{position:absolute;inset:0;width:100%;height:100%;z-index:6;object-fit:contain;background:#070707;border:0}
.maia-news .maia-video-player[hidden]{display:none}
.maia-news .maia-media:has(.maia-video-player:not([hidden])) .maia-video-overlays{display:none}
.maia-news.maia-layout-timeline .maia-news-list{display:flex;flex-direction:column;position:relative;padding-left:18px}
.maia-news.maia-layout-timeline .maia-news-list:before{content:'';width:2px;background:#e4e6ea;left:1px;top:14px;bottom:14px;position:absolute}
.maia-news.maia-layout-timeline .maia-card:before{content:'';position:absolute;left:-20px;top:20px;width:9px;height:9px;border-radius:50%;background:var(--maia-accent)}
.maia-news.maia-layout-timeline .maia-card{overflow:visible}
.maia-news.maia-layout-timeline .maia-media{max-width:180px}
.maia-news.maia-layout-hero .maia-news-list,.maia-news.maia-layout-carousel .maia-news-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;scroll-behavior:smooth}
.maia-news.maia-layout-hero .maia-news-list::-webkit-scrollbar,.maia-news.maia-layout-carousel .maia-news-list::-webkit-scrollbar{display:none}
.maia-news.maia-layout-hero .maia-card,.maia-news.maia-layout-carousel .maia-card{scroll-snap-align:start;flex:0 0 calc(100% / var(--maia-cols) - 16px)}
.maia-news.maia-layout-hero .maia-card{flex-basis:100%;min-height:clamp(340px,43vw,640px);border:0;padding:0;background:#151a21;color:#fff}
.maia-news.maia-layout-hero .maia-card-inner{display:block;position:absolute;inset:0}
.maia-news.maia-layout-hero .maia-media{position:absolute;inset:0;border-radius:inherit;aspect-ratio:auto;height:100%;width:100%}
.maia-news.maia-layout-hero .maia-media-shade{background:linear-gradient(90deg,#05070abb 0%,#05070a44 75%),linear-gradient(0deg,#05070abb,transparent 65%)}
.maia-news.maia-layout-hero .maia-card-body{position:absolute;left:clamp(18px,5vw,65px);bottom:clamp(24px,6vw,75px);z-index:3;width:min(68%,740px);pointer-events:none}
.maia-news.maia-layout-hero .maia-card-body a{pointer-events:auto;color:#fff}
.maia-news.maia-layout-hero .maia-card-body .maia-card-category{background:var(--maia-accent);color:#fff;padding:5px 9px;border-radius:3px}
.maia-news.maia-layout-hero .maia-card-title{font-size:clamp(1.8rem,4.2vw,4rem);text-shadow:0 1px 4px #0007}
.maia-news.maia-layout-hero .maia-card-excerpt,.maia-news.maia-layout-hero .maia-card-meta{color:#f4f4f4}
.maia-news .maia-carousel-nav{position:absolute;display:flex;justify-content:space-between;pointer-events:none;inset:50% 10px auto 10px;transform:translateY(-50%);z-index:7}
.maia-news .maia-carousel-nav button{pointer-events:auto;border:0;border-radius:50%;background:#111b;color:#fff;font-size:30px;width:38px;height:38px;display:grid;place-items:center;cursor:pointer;line-height:1}
.maia-news .maia-carousel-nav button:hover{background:var(--maia-accent)}
.maia-news .maia-pagination ul{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;list-style:none;margin:24px 0 0;padding:0}
.maia-news .maia-pagination a,.maia-news .maia-pagination span{display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid #e2e4e6;border-radius:6px;padding:4px 8px}
.maia-news .maia-pagination .current{background:var(--maia-accent);color:#fff}
.maia-news .maia-empty{padding:25px;border:1px dashed #ccd1d6;background:#fafafa;border-radius:6px;font-size:.9rem}
@media (max-width:1024px){.maia-news.maia-layout-mosaic .maia-card:first-child{grid-column:span 1;grid-row:span 1}.maia-news.maia-layout-hero .maia-card-body{width:80%}.maia-news.maia-layout-videos .maia-media{width:42%}}
@media (max-width:767px){.maia-news .maia-section-head{align-items:flex-start}.maia-news .maia-card{padding:9px}.maia-news.maia-layout-mosaic .maia-card:first-child{grid-column:auto;grid-row:auto}.maia-news.maia-layout-rows .maia-media{width:40%}.maia-news.maia-layout-videos .maia-media{width:39%}.maia-news.maia-layout-hero .maia-card{min-height:330px}.maia-news.maia-layout-hero .maia-card-body{width:calc(100% - 36px);left:18px;bottom:26px}.maia-news.maia-layout-hero .maia-card-title{font-size:clamp(1.5rem,6vw,2.4rem)}.maia-news.maia-layout-hero .maia-card-excerpt{font-size:.78rem}.maia-news.maia-layout-timeline .maia-media{max-width:110px}.maia-news .maia-card-meta{font-size:.68rem}}
@media (prefers-reduced-motion:reduce){.maia-news .maia-news-list{scroll-behavior:auto!important}.maia-news .maia-media img{transition:none!important}}

/* Posiciones configurables por breakpoint, independientes de la piel elegida. */
@media (min-width:1025px){
.maia-news:not(.maia-layout-hero):is(.maia-pos-desktop-row,.maia-pos-desktop-row-reverse) .maia-card .maia-media{width:var(--maia-media-width)}
.maia-news:not(.maia-layout-hero):is(.maia-pos-desktop-column,.maia-pos-desktop-column-reverse) .maia-card .maia-media{width:100%}
}
@media (min-width:768px) and (max-width:1024px){
.maia-news:not(.maia-layout-hero):is(.maia-pos-tablet-row,.maia-pos-tablet-row-reverse) .maia-card .maia-media{width:var(--maia-media-width)}
.maia-news:not(.maia-layout-hero):is(.maia-pos-tablet-column,.maia-pos-tablet-column-reverse) .maia-card .maia-media{width:100%}
}
@media (max-width:767px){
.maia-news:not(.maia-layout-hero):is(.maia-pos-mobile-row,.maia-pos-mobile-row-reverse) .maia-card .maia-media{width:var(--maia-media-width)}
.maia-news:not(.maia-layout-hero):is(.maia-pos-mobile-column,.maia-pos-mobile-column-reverse) .maia-card .maia-media{width:100%}
}

/* Identidad neutra, sin dependencia del tema ni de un dominio determinado. */
.maia-news .maia-card{transition:box-shadow .25s ease,transform .25s ease,background-color .25s ease}
.maia-news .maia-card-title a:hover{color:var(--maia-accent)}
.maia-news.maia-equal-height .maia-news-list{align-items:stretch}
.maia-news .maia-image-empty{display:flex;width:100%;height:100%;min-height:120px;align-items:center;justify-content:center;color:#768092;font-size:4rem;font-family:Georgia,serif;background:linear-gradient(135deg,#eaeef3,#d0d8e3)}
.maia-news .maia-media a:focus-visible{outline-offset:-3px}
.maia-news .maia-card-category{position:relative;z-index:2}
.maia-news.maia-layout-hero .maia-card-category{align-self:flex-start}
.maia-news .maia-news-list>.maia-card{min-width:0}
.maia-news.maia-layout-carousel .maia-news-list>.maia-card{flex:0 0 calc(100% / var(--maia-cols,3) - (22px * (var(--maia-cols,3) - 1) / var(--maia-cols,3)))}
.maia-news.maia-layout-hero .maia-card .maia-card-inner{position:absolute;inset:0}
.maia-news.maia-layout-videos .maia-media{aspect-ratio:9/16}
.maia-news.maia-layout-videos .maia-media .maia-image-empty{min-height:100%}
@media (min-width:1025px){
 .maia-news.maia-pos-desktop-row .maia-card-inner{flex-direction:row}
 .maia-news.maia-pos-desktop-row-reverse .maia-card-inner{flex-direction:row-reverse}
 .maia-news.maia-pos-desktop-column .maia-card-inner{flex-direction:column}
 .maia-news.maia-pos-desktop-column-reverse .maia-card-inner{flex-direction:column-reverse}
}
@media (min-width:768px) and (max-width:1024px){
 .maia-news.maia-pos-tablet-row .maia-card-inner{flex-direction:row}
 .maia-news.maia-pos-tablet-row-reverse .maia-card-inner{flex-direction:row-reverse}
 .maia-news.maia-pos-tablet-column .maia-card-inner{flex-direction:column}
 .maia-news.maia-pos-tablet-column-reverse .maia-card-inner{flex-direction:column-reverse}
}
@media (max-width:767px){
 .maia-news.maia-pos-mobile-row .maia-card-inner{flex-direction:row}
 .maia-news.maia-pos-mobile-row-reverse .maia-card-inner{flex-direction:row-reverse}
 .maia-news.maia-pos-mobile-column .maia-card-inner{flex-direction:column}
 .maia-news.maia-pos-mobile-column-reverse .maia-card-inner{flex-direction:column-reverse}
}
.maia-news:is(.maia-layout-grid,.maia-layout-rows,.maia-layout-mosaic,.maia-layout-timeline,.maia-layout-videos) .maia-pos-never{display:none}
@media (prefers-reduced-motion:reduce){.maia-news .maia-card{transition:none!important}}

/* MaquetearIA 1.1.0 · Constructor de portadas, propuestas 01–10 */
.maia-news.maia-layout-cover .maia-card--featured .maia-card-title,
.maia-news.maia-cover-custom .maia-card--featured .maia-card-title{font-size:clamp(1.45rem,2.4vw,2.75rem);line-height:1.13}
.maia-news.maia-layout-cover .maia-card--featured{box-shadow:0 8px 28px rgb(11 19 29 / 7%)}
.maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list{display:grid;grid-auto-flow:row;align-items:stretch;grid-auto-rows:minmax(140px,auto)}
.maia-news.maia-cover-preset-lead-left:not(.maia-cover-custom) .maia-news-list{grid-template-columns:minmax(0,var(--maia-cover-primary,70fr)) minmax(0,var(--maia-cover-secondary,30fr))}
.maia-news.maia-cover-preset-lead-right:not(.maia-cover-custom) .maia-news-list{grid-template-columns:minmax(0,var(--maia-cover-secondary,30fr)) minmax(0,var(--maia-cover-primary,70fr))}
.maia-news.maia-cover-preset-lead-left:not(.maia-cover-custom) .maia-news-list>.maia-card:first-child{grid-column:1;grid-row:span var(--maia-cover-side-rows,3)}
.maia-news.maia-cover-preset-lead-left:not(.maia-cover-custom) .maia-news-list>.maia-card:not(:first-child){grid-column:2}
.maia-news.maia-cover-preset-lead-right:not(.maia-cover-custom) .maia-news-list>.maia-card:first-child{grid-column:2;grid-row:span var(--maia-cover-side-rows,3)}
.maia-news.maia-cover-preset-lead-right:not(.maia-cover-custom) .maia-news-list>.maia-card:not(:first-child){grid-column:1}
.maia-news.maia-cover-preset-lead-top:not(.maia-cover-custom) .maia-news-list,
.maia-news.maia-cover-preset-balanced:not(.maia-cover-custom) .maia-news-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.maia-news.maia-cover-preset-lead-top:not(.maia-cover-custom) .maia-news-list>.maia-card:first-child{grid-column:1/-1}
.maia-news.maia-cover-preset-mosaic:not(.maia-cover-custom) .maia-news-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.maia-news.maia-cover-preset-mosaic:not(.maia-cover-custom) .maia-news-list>.maia-card:first-child{grid-column:span 2;grid-row:span 2}
.maia-news.maia-cover-preset-mosaic:not(.maia-cover-custom) .maia-news-list>.maia-card:not(:first-child){grid-column:span 1}
/* Constructor personalizado: cada bloque controla su cantidad de columnas y filas. */
.maia-news.maia-cover-custom .maia-news-list{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row;grid-auto-rows:minmax(120px,auto)}
.maia-news.maia-cover-custom .maia-news-list>.maia-card{grid-column:span var(--maia-slot-cols,4);grid-row:span var(--maia-slot-rows,1)}
.maia-news.maia-cover-custom.maia-layout-mosaic .maia-news-list>.maia-card:first-child{grid-column:span var(--maia-slot-cols,4);grid-row:span var(--maia-slot-rows,1)}
/* Orientación individual: supera la orientación general del widget. */
.maia-news .maia-card.maia-variant-horizontal-left .maia-card-inner{flex-direction:row}
.maia-news .maia-card.maia-variant-horizontal-right .maia-card-inner{flex-direction:row-reverse}
.maia-news .maia-card.maia-variant-vertical .maia-card-inner{flex-direction:column}
.maia-news .maia-card.maia-variant-horizontal-left .maia-media,
.maia-news .maia-card.maia-variant-horizontal-right .maia-media{width:var(--maia-media-width,42%);max-width:62%;align-self:stretch}
.maia-news .maia-card.maia-variant-vertical .maia-media{width:100%}
.maia-news .maia-news-list>.maia-card.maia-variant-horizontal-left .maia-card-body,
.maia-news .maia-news-list>.maia-card.maia-variant-horizontal-right .maia-card-body{flex:1}
.maia-news.maia-cover-single .maia-news-list{grid-template-columns:1fr!important}
.maia-news.maia-cover-single .maia-news-list>.maia-card{grid-column:1/-1!important;grid-row:auto!important}
@media (min-width:768px) and (max-width:1024px){
  .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list>.maia-card:first-child{grid-column:1/-1;grid-row:auto}
  .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list>.maia-card:not(:first-child){grid-column:auto;grid-row:auto}
  .maia-news.maia-cover-custom .maia-news-list{grid-template-columns:repeat(6,minmax(0,1fr))}
  .maia-news.maia-cover-custom .maia-news-list>.maia-card,
  .maia-news.maia-cover-custom.maia-layout-mosaic .maia-news-list>.maia-card:first-child{grid-column:span 3;grid-row:auto}
  .maia-news.maia-cover-custom .maia-news-list>.maia-card.maia-card--featured{grid-column:span 6}
}
@media (max-width:767px){
  .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list,
  .maia-news.maia-cover-custom .maia-news-list{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}
  .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list>.maia-card,
  .maia-news.maia-cover-custom .maia-news-list>.maia-card,
  .maia-news.maia-cover-custom.maia-layout-mosaic .maia-news-list>.maia-card:first-child{grid-column:1/-1;grid-row:auto}
  .maia-news .maia-card.maia-variant-horizontal-left .maia-card-inner,
  .maia-news .maia-card.maia-variant-horizontal-right .maia-card-inner{flex-direction:column}
  .maia-news .maia-card.maia-variant-horizontal-left .maia-media,
  .maia-news .maia-card.maia-variant-horizontal-right .maia-media{width:100%;max-width:none}
  .maia-news.maia-layout-cover .maia-card--featured .maia-card-title{font-size:clamp(1.35rem,5.5vw,1.85rem)}
}
/* Reglas específicas: los presets de portada nunca deben crear una segunda columna implícita en móvil. */
@media (max-width:767px){
 .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list>.maia-card,
 .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list>.maia-card:first-child,
 .maia-news.maia-layout-cover:not(.maia-cover-custom) .maia-news-list>.maia-card:not(:first-child){grid-column:1/-1!important;grid-row:auto!important}
}
/* Empaquetar los secundarios a partir de la primera fila en principal derecha. */
.maia-news.maia-cover-preset-lead-right:not(.maia-cover-custom) .maia-news-list{grid-auto-flow:row dense}
