/* Capa estática de restauración: comportamiento determinista sin WordPress/Elementor JS. */
:root { color-scheme: light; }
html { overflow-x: hidden; }
body { font-family: Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
.elementor-invisible { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.e-con.e-parent { background-attachment: scroll !important; }
.elementor-background-video-container,
.elementor-location-popup,
.swiper-lazy-preloader,
.elementor-swiper-button,
.swiper-pagination { display: none !important; }

/* El carrusel histórico queda como una rejilla estática, visible y accesible. */
.elementor-image-carousel-wrapper .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  transform: none !important;
  width: 100% !important;
}
.elementor-widget-image-carousel { width: 100% !important; max-width: 100% !important; }
.elementor-image-carousel-wrapper .swiper-slide {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.elementor-image-carousel-wrapper .swiper-slide img {
  display: block;
  width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.archive-link-unavailable,
[aria-disabled="true"] { cursor: not-allowed; }
.archive-form-notice {
  width: 100%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-left: 4px solid #5d7393;
  background: #f0f2f5;
  color: #1f2937;
}

@media (max-width: 1024px) {
  .elementor-location-header .elementor-nav-menu--main { display: none !important; }
  .elementor-location-header .elementor-menu-toggle { display: flex !important; }
  .elementor-location-header .elementor-nav-menu--dropdown {
    display: none !important;
    position: absolute !important;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: none !important;
    transform: none !important;
  }
  .elementor-location-header .elementor-nav-menu--dropdown.static-menu-open {
    display: block !important;
  }
  .elementor-location-header .elementor-nav-menu--dropdown .sub-menu { display: none !important; }
  .elementor-location-header .elementor-nav-menu--dropdown .static-submenu-open > .sub-menu { display: block !important; }
  .elementor-image-carousel-wrapper .swiper-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .elementor-image-carousel-wrapper .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .elementor-image-carousel-wrapper .swiper-slide img { max-height: 56px; }
}
