.fp-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 350px;
}

.fp-hero .hero-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px;
    background: #0072ce;
    color: #fff;
}

.fp-hero .hero-image {
    background-image: url("/frontend/template/assets/images/site/hero_banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fp-institutions {
    display: flex;
    justify-content: center;
    max-width: 1450px;
    margin-inline: auto;
    padding: 30px;
    column-gap: 50px;
}

.fp-institutions .card {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.fp-institutions .card .image {
    width: 200px;
    height: 200px;
    border-radius: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.fp-institutions .card .image.kindergartens {
    background-image: url("/frontend/template/assets/images/site/kindergartens.jpg");
}

.fp-institutions .card .image.schools {
    background-image: url("/frontend/template/assets/images/site/schools.jpg");
}

.fp-institutions .card .image.hobby-schools {
    background-image: url("/frontend/template/assets/images/site/hobby_schools.jpg");
}

.fp-institutions .card .title {
    font-size: 1.5rem;
    font-weight: bold;
}

.fp-institutions .card .links {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 10px;
    font-size: 0.875rem;
    text-decoration: underline 1px solid #000;
}

.fp-institutions .card .links a {
    color: #000;
    padding-right: 10px;
    border-right: 1px solid #cce3f5;
}

.fp-institutions .card .links a:last-child {
    border-right: none;
}

@media all and (max-width: 992px) {
    .fp-hero {
        display: flex;
        flex-direction: column-reverse;
        min-height: unset;
    }

    .fp-hero .hero-text-container {
        padding: 10px 15px;
    }

    .fp-hero .hero-image {
        height: clamp(260px, 32vh, 295px);
    }

    .fp-institutions {
        padding: 20px 15px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .fp-institutions .card {
        width: 100%;
    }
}

@media all and (max-width: 768px) {
    .fp-hero .hero-image {
        height: clamp(205px, 25vh, 235px);
    }
}
