/*
Theme Name: Astra Child - Muestra Carreras 2026
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.2.1750102900
Updated: 2025-06-16 16:41:40

*/

/* Forzar columnas en una debajo de la otra en móvil (Elementor) */
@media (max-width: 767.98px) {
  /* Asegura que el contenedor de la sección permita el “wrap” */
  .elementor .elementor-section .elementor-container,
  .elementor .elementor-section .elementor-row {
    display: flex;
    flex-wrap: wrap !important;
  }

  /* Cada columna al 100% del ancho */
  .elementor .elementor-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    clear: both !important;
  }

  /* Evitar que widgets mantengan anchos fijos */
  .elementor .elementor-widget,
  .elementor .elementor-widget-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Nuestro wrapper del video/fallback: caja normal, sin desbordes */
  .facultad-media-wrap {
    max-width: 100% !important;   /* ignora maxw en móvil */
    margin: 0 0 1rem 0 !important;
    position: relative;
    z-index: 1;                    /* por si otro elemento tiene z-index alto */
  }

  /* Imagen fallback fluida en móvil */
  .facultad-fallback-img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Por si algún contenedor padre usa overflow raro */
  .elementor .elementor-section {
    overflow: hidden; /* o visible, según tu layout; prueba primero hidden */
  }
}

/* Asegurar que iframes/imágenes nunca se salgan del contenedor */
.ratio-9x16 iframe,
.facultad-fallback-img {
  max-width: 100%;
  display: block;
}


