/* 
 * Inversionistas Hero Styles
 * Cleaned version - only includes styles used in inversionistas.html
 */

/* Hero Section */
.main__hero {
    background: url('https://grupomexicoblobstorage.blob.core.windows.net/websiteresources/assets/0d7a354d-1a0b-4c3e-aef0-0001bf691111.jpeg');
    background-size: cover;
}

/* Hero Text Container */
.main__hero__text {
}

/* Hero Text Bars */
.main__hero__text__p-bar {
}

.main__hero__text__p-blue {
    font-size: 38px !important; 
}

.main__hero__text__p-gray {
}

/* Stock Data Widget - styles moved to shared/css/components/stock-data.css */

/* ============================================================================
   HERO DOWNBAR STYLES - MIGRATED TO SHARED COMPONENT
   ============================================================================
   
   ⚠️ DEPRECATED: These styles have been moved to shared/css/components/downbar.css
   
   The downbar component is now shared across all pages for better maintainability.
   To use it, simply add the class variant in your HTML:
   
   <div class="main__hero__downbar main__hero__downbar--blue">
     ...
   </div>
   
   See shared/css/components/downbar.css for full documentation and examples.
   
   ============================================================================
*/

/* ============================================================================
   INVERSIONISTAS SPECIFIC OVERRIDES
   ============================================================================
   Inversionistas necesita posicionamiento especial para el downbar
   El downbar debe estar posicionado SOBRE el hero (no debajo como en ASG)
*/

/* Override de posicionamiento - debe estar sobre el hero */
.main__hero__downbar {
    top: 450px !important; /* Posición específica para inversionistas */
}

/* Asegurar que el color rojo se aplique correctamente */
.main__hero__downbar--red {
    background-color: #d7282f !important;
}

/*
.main__hero__downbar {
    background-color: #0096A9;
    display: flex;
    position: relative;
    top: 450px;
    height: 100px;
    width: 100%;
}

.main__hero__downbar--red {
    background-color: #d7282f;
}

.main__hero_downbar__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    height: 100px;
    padding-left: 25%;
    margin-right: 40px;
}

.main__hero_downbar__text > span {
    color: #FFF;
    font-family: Raleway;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: end;
}

.main__hero_downbar__text > p {
    color: #FFF;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 19.8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: end;
}

.main__hero_downbar__title {
    display: flex;
    width: 60%;
    background-color: #F5F3F1;
    align-items: center;
    padding-left: 40px;
    position: relative;
    left: 1500px; 
    animation: startTitle 2s both;
}

.main__hero_downbar__title > h2 {
    color: #545859;
    font-family: Fjalla One;
    font-size: 33.734px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes startTitle {
    0% {
        left: 1500px;
    }
    100% {
        left: 0px;
    }
}
*/

/* Responsive Design */
@media (max-width: 1000px) {
    .main__hero {
        height: 250px;
    }
    
    .main__hero__text__p-bar {
        font-size: 28px;
    }
    
    /* Override downbar position for tablet/mobile */
    .main__hero__downbar {
        top: 250px !important;
    }
    
    .main__hero_downbar__text {
        padding-left: 10%;
    }
}

@media (max-width: 500px) {
    .main__hero__text__p-bar {
        font-size: 20px;
    }
    
    .main__hero_downbar__text {
        padding-left: 20px;
    }
    
    .main__hero_downbar__text > p {
        font-size: 12px;
    }
    
    .main__hero_downbar__text > span {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .main__hero_downbar__title > h2 {
        font-size: 26px;
    }
    
    .main__hero_downbar__title {
        padding-left: 20px;
    }
}