.hero-img {
    position: absolute;
    width: 100%;
    height: 100%; /* <-- AÑADE ESTO */
    object-fit: cover;
    z-index: -1; /* z-index muy bajo innecesario, con -1 basta */
    filter: brightness(0.5);
    top: 0;
    left: 0;
}
#new_header {
    position: relative; /* <-- AÑADE ESTO */
    overflow: hidden;   /* <-- Recomendado */
}

.box_header {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 85%;
}
#new_header .hero-content h1 {
    font-size: clamp(2rem,4vw,4rem);
    line-height: 1.3;
    margin-bottom: 60px;
    font-weight: 700;
    color: white!important;
}
#new_header .hero-content p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: white!important;
}
#new_header .cta-btn {
    background-color: #e2542a;
    padding: 15px 55px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}
.content_search_schools {
    padding: 10px 11px;
    width: 69%;
    margin: auto;
    border-radius: 80px;
    box-shadow: 3px 2px 15px 0px rgb(0 0 0 / 12%);
}
.container_form_schools {
    display: flex;
    justify-content: space-between;
}
.content_form_schools {
    width: 85%;
    border-radius: 80px;
    padding: 10px 28px 5px 35px;
    box-shadow: 0px 0px 5px -1px rgb(0 0 0 / 11%);
}
.content_form_schools label {
    padding-left: 4px;
    font-weight: 600;
    color: #616161;
    margin-bottom: 0;
}
.content_form_schools select {
    background-color: transparent;
    border: none;
    color: #6161616e;
}
.container_form_schools button {
    border-radius: 70px;
    width: 66px;
    height: 66px;
    border: none;
    background-color: #F3B607;
    padding: 0;
}
.button_search_schools img {
    margin-top: -2px;
    margin-left: 2px;
}

/* Oculta el contenedor por defecto */
.toggle-checkbox ~ .more-schools {
    display: none;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Muestra el contenedor si el checkbox está activado */
.toggle-checkbox:checked ~ .more-schools{
    display: flex;
}

/* Texto dentro del botón: mostrar/ocultar según estado */
.toggle-label .hide-text {
    display: none;
}
.toggle-checkbox:checked + .toggle-label .hide-text {
    display: inline;
}
.toggle-checkbox:checked + .toggle-label .show-text {
    display: none;
}

/* Estilo del botón */
.toggle-label {
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    text-decoration: underline;
}






.container_info_schools svg {
    color: #000000;
}
.filters_schools {
    display: flex;
    margin-top: 25px;
    margin-bottom: 15px;
}
.order_filter {
    border: solid 1px;
    padding: 0 10px;
    border-radius: 30px;
    margin: 0px 0px 20px 15px;
    cursor: pointer;
    color: #313131;
}
.tag_outstanding svg {
    margin-top: -1px;
}
.navigation_page {
    display: flex;
    justify-content: center;
}
.page-link {
    color: #333333;
    border: none;
}
a:not([href]) {
    color: #0b0b0b;
    text-decoration: none;
}
.filters_schools label:hover {
    background: #ececec;
}
.filters_schools div.checked label {
    background: #313131;
    color: #ffff;
}
.tag_outstanding {
    width: fit-content;
    background-color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0px 7px 14px 0px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    font-weight: 600;
    color: #000;
}

@media (max-width: 525px){
    .tag_outstanding {
        padding: 5px 12px;
    }
    .filters_schools {
        flex-wrap: wrap;
    }
    .content_search_schools {
        width: 93%;
    }
    .box_header {
        justify-content: center !important;
        margin: auto;
        text-align: center;
        width: 95%;
    }
}