.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-421 .elementor-element.elementor-element-9ffa3f1{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:1px;--padding-bottom:1px;--padding-left:1px;--padding-right:1px;}.elementor-421 .elementor-element.elementor-element-285c282{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}.elementor-421 .elementor-element.elementor-element-285c282:not(.elementor-motion-effects-element-type-background), .elementor-421 .elementor-element.elementor-element-285c282 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-421 .elementor-element.elementor-element-885b636{--display:flex;--padding-top:37px;--padding-bottom:13px;--padding-left:13px;--padding-right:13px;}.elementor-widget-theme-post-title .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-421 .elementor-element.elementor-element-87a1ff5{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-421 .elementor-element.elementor-element-87a1ff5 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:30px;font-weight:500;color:#000000;}.elementor-421 .elementor-element.elementor-element-8e85cc2{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:13px;--padding-bottom:0px;--padding-left:15px;--padding-right:13px;}.elementor-421 .elementor-element.elementor-element-8e85cc2.e-con{--align-self:flex-start;}.elementor-widget-heading .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-heading .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-421 .elementor-element.elementor-element-4acc847 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:14px;font-weight:500;line-height:18px;color:#000000E6;}.elementor-421 .elementor-element.elementor-element-c71e1c6{--display:flex;--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--margin-top:21px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:13px;--padding-bottom:50px;--padding-left:15px;--padding-right:13px;}.elementor-421 .elementor-element.elementor-element-c71e1c6:not(.elementor-motion-effects-element-type-background), .elementor-421 .elementor-element.elementor-element-c71e1c6 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-421 .elementor-element.elementor-element-c71e1c6.e-con{--align-self:flex-start;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-421 .elementor-element.elementor-element-34ce778{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}.elementor-421 .elementor-element.elementor-element-34ce778:not(.elementor-motion-effects-element-type-background), .elementor-421 .elementor-element.elementor-element-34ce778 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-421 .elementor-element.elementor-element-59f13a0{--display:flex;}.elementor-widget-theme-post-content .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}@media(min-width:768px){.elementor-421 .elementor-element.elementor-element-9ffa3f1{--width:75%;}.elementor-421 .elementor-element.elementor-element-285c282{--width:33%;}.elementor-421 .elementor-element.elementor-element-34ce778{--width:67%;}}@media(max-width:1024px){.elementor-widget-container .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-container .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-heading .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-heading .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-html .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-html .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}@media(max-width:767px){.elementor-widget-container .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-container .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-title .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-heading .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-heading .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-html .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-html .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content .eael-protected-content-message{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content .protected-content-error-msg{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}/* Start custom CSS for theme-post-content, class: .elementor-element-8de7258 *//* GALERÍA GUTENBERG NUEVA dentro de Elementor */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

/* Items */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images .wp-block-image {
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

/* Columnas reales según clase de Gutenberg */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-1 .wp-block-image {
  width: 100%;
}

.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-2 .wp-block-image {
  width: calc((100% - 16px) / 2);
}

.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-3 .wp-block-image {
  width: calc((100% - 32px) / 3);
}

.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-4 .wp-block-image {
  width: calc((100% - 48px) / 4);
}

.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-5 .wp-block-image {
  width: calc((100% - 64px) / 5);
}

.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-6 .wp-block-image {
  width: calc((100% - 80px) / 6);
}

/* Figura interior */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images .wp-block-image figure,
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images .wp-block-image > a,
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images .wp-block-image > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Si la galería está marcada como recortada */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.is-cropped .wp-block-image {
  aspect-ratio: 1 / 1;
}

/* Imágenes recortadas correctamente */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.is-cropped .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Si NO está recortada, que mantenga proporción natural */
.elementor-widget-theme-post-content .wp-block-gallery.has-nested-images:not(.is-cropped) .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

/* Móvil */
@media (max-width: 767px) {
  .elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-2 .wp-block-image,
  .elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-3 .wp-block-image,
  .elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-4 .wp-block-image,
  .elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-5 .wp-block-image,
  .elementor-widget-theme-post-content .wp-block-gallery.has-nested-images.columns-6 .wp-block-image {
    width: 100%;
  }
}/* End custom CSS */