/* Alias de compatibilidad: el tema Porto usa 'Font Awesome 6 Free' (checks de
   .custom-checkbox-1, flechas, viñetas...), pero el vendor es Font Awesome 7,
   que solo registra 'Font Awesome 7 Free'. Sin esto esos íconos no se ven. */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../vendor/fontawesome-free/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../vendor/fontawesome-free/webfonts/fa-regular-400.woff2") format("woff2");
}

#ppalFondo {
  position: fixed; /* Fixes the GIF to the viewport */
  right: 0;
  bottom: 0;
  min-width: 100%; /* Ensures the GIF covers the full width */
  min-height: 100%; /* Ensures the GIF covers the full height */
  width: auto;
  height: auto;
  z-index: -100; /* Sends it to the very back, behind all other content */
  background-size: cover; /* Ensures the GIF covers the area without gaps */
  opacity: 0.2; /* Sets transparency: 0.6 means 60% opaque, so 40% transparent */
  object-fit: cover; /* Ensures the GIF scales correctly without distorting, cropping if needed */
  /* Optional: Adjust brightness or blur for better text readability */
  /* filter: brightness(0.8); */
  /* filter: blur(2px); */
}

.table-bold-col-1 tbody tr td:first-child {
    font-weight: bold;
  }
/* Franja de banners 1920x200 (zonas 1 y 3, templates/_banner_franja.html).
   En teléfonos, si el banner tiene imagen móvil (foto2, 1080x360), la franja toma
   proporción 3:1 en vez del alto fijo de 200px. Sin foto2 no cambia nada.
   El !important es necesario para ganarle al style="height:200px" en línea. */
@media (max-width: 767px) {
  .banner-wrapper-100.banner-has-movil {
    height: auto !important;
    aspect-ratio: 3 / 1;
  }
  .banner-wrapper-100.banner-has-movil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}
