/* Evitar que scripts (ej. AOS) pongan height:0 en los grids de stats */
.about-stats-grid {
    height: auto !important;
    min-height: 0;
}

/* Grid propio de esta página. NO usar la clase `grid` de Tailwind:
   main.js inicializa Isotope sobre ".grid" y colapsa la altura del
   contenedor (el footer queda superpuesto al contenido). */
.about-grid {
    display: grid;
    height: auto !important;
    min-height: 0;
}

/* add at the top of .main a background image located in asset('img/about_us/Bacground.png') */
.main {
    background-image: url('/img/about_us/Background.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    padding: 120px 0 0 0;
    background-position-x: center;
}

.founder {
    margin: 2.5rem auto 3rem;
}

.stats-main {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.stats-card {
    border: 1px solid lightgray;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.stats-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-card img {
    width: 100px;
    height: 100px;
}

.stats-header, .stats-enterprise {
    text-align: center;
    color: #000000;
    margin-bottom: 4rem;
}

.stats-enterprise {
    font-weight: 300;
    margin-top: 4rem;
    margin-bottom: 0;
}

.stats-company {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-title {
    font-weight: 300;
    color: #000000;
    font-size: 4rem;
}

.stats-text {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 300;
}

.frame {
    background-color: white;
    width: 75%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    border-radius: 15px;
    padding: 1rem 2rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.frame .frame__img {
    position: absolute;
    top: -200px;
    left: -100px;
}

.frame h2 {
    margin-left: 12rem;
    font-weight: 300;
    color: #6e44f1;
    overflow: hidden;
    font-size: x-large;
}

.frame p {
    color: grey;
    overflow: hidden;
    font-weight: 300;
    font-size: x-large;
    margin-top: 1rem;
}

@media (width <= 425px){
    .main-img {
        margin: 10rem auto;
    }
}

@media (width <= 768px) {
    .frame {
        width: 100%;
    } 
    .frame h2 {
        margin-left: 0;
        margin-top: 4rem;
    }
}

@media (width <= 1024px){
    .frame {
        width: 100%;
    }
}

/* Removed: #new_header .container override at max-width: 1650px.
   Header width is now governed by the unified --zyla-layout-max token
   in public/layouts/css/marketplace.css so the about-us header aligns
   with the rest of the page content. */
