@media (max-width:991px) {

    .contact-info-card,
    .contact-form-card {
        width: 100%;
    }

    .contact-info-card {
        min-height: auto;
    }

    .news-container {
        justify-content: space-around;
    }

    .news-card {
        margin-bottom: 50px;
    }

    .timeline-item img {
        width: auto;
    }
}

@media (max-width:767px) {
    .hero-text p {
        text-align: center;
    }

    .play-button {
        display: none !important;
    }

    .video-box {
        height: 400px;
        padding-top: 56.25%;
    }

    .mbYTP_wrapper iframe,
    .mbYTP_wrapper video,
    .YTPVideo,
    .mbYTP_wrapper .mbYTP_player {
        object-fit: contain !important;
        background-size: contain !important;
        background-position: center center !important;
        transform: none !important;
        left: 0 !important;
        top: 0 !important;
        height: 100% !important;
    }
    .news-container {
        flex-direction: row;
    }

    h3.news-title {
        font-size: 20px;
    }

    .news-content .news-title {
        font-size: 28px;
    }

    .related-articles .news-card {
        width: auto;
        height: auto;
        min-height: 430px;
    }

    .location-section {
        height: auto;
    }

    body {
        padding-top: 60px;
    }

}

@media (max-width:500px) {
    .news-container {
        flex-direction: column;
    }

    .news-section {
        padding-top: 20px;
    }

    .news-card {
        width: 339px;
        height: auto;
        flex: auto;
        min-height: 400px;
    }

    .news-card .news-image {
        height: 170px;
        width: 100%;
    }

    .filosofia-container {
        padding: 15px;
    }

    .filosofia-container p {
        padding-left: 8px;
        padding-right: 15px;
    }

    .filosofia-container h2 {
        font-size: 24px;
    }

    .enfoque-container {
        padding: 15px;
    }

    .enfoque-container2 {
        padding: 15px;
        height: auto;
        flex-direction: column;
    }

    .enfoque-image {
        width: 100%;
        height: 300px;
    }

    .enfoque-text h2 {
        max-width: 100%;
        padding-right: 0;
        font-size: 24px;
        margin: 10px auto;
        text-align: center;
        line-height: normal;
    }

    .enfoque-container p {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-bottom: 0;
    }

    .practica {
        padding: 15px;
    }

    .practica h2 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 24px;
        line-height: normal;
    }

    .footer-mobile-logo {
        margin-top: 20px;
    }
}