/* Start custom CSS for html, class: .elementor-element-2c8b488 */#content-wrapper #page-content > .container,
#content-wrapper article.block,
#content-wrapper #content,
#content-wrapper #main {
    background: transparent !important;
}

#content-wrapper article.block > header,
#content-wrapper .article-hr-end,
.elementor-229 > .elementor-section[data-id="7522f6c"] {
    display: none !important;
}

.md-preschool {
    width: 100%;
    padding: 0 18px 32px;
    position: relative;
    z-index: 10;
}

.md-preschool * {
    box-sizing: border-box;
}

.md-preschool-hero {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(250, 247, 240, .9);
    border: 1px solid rgba(216, 195, 165, .58);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(61, 60, 58, .09);
    padding: 36px;
}

.md-preschool-hero span,
.md-preschool-label,
.md-preschool-heading span,
.md-preschool-extra span {
    display: inline-flex;
    color: #C98568;
    background: rgba(201, 133, 104, .1);
    border: 1px solid rgba(201, 133, 104, .22);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.md-preschool-hero h1 {
    color: #3D3C3A;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 12px;
}

.md-preschool-hero p {
    color: #5F625C;
    font-size: 17px;
    line-height: 1.62;
    font-weight: 400;
    max-width: 650px;
    margin: 0;
}

.md-preschool-hero a {
    min-width: 220px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #A8B8A0;
    color: #fff;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(127, 150, 120, .24);
    transition: all .22s ease;
    white-space: nowrap;
}

.md-preschool-hero a:hover {
    background: #C98568;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.md-preschool-card {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 34px;
    align-items: center;
    background: rgba(250, 247, 240, .9);
    border: 1px solid rgba(216, 195, 165, .58);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(61, 60, 58, .09);
    padding: 36px;
    overflow: hidden;
}

.md-preschool-content h2,
.md-preschool-heading h2,
.md-preschool-extra h2 {
    color: #3D3C3A;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 16px;
}

.md-preschool-content p,
.md-preschool-extra p {
    color: #555852;
    font-size: 17px;
    line-height: 1.68;
    font-weight: 400;
    margin: 0 0 13px;
}

.md-preschool-content strong,
.md-preschool-extra strong {
    color: #3D3C3A;
    font-weight: 800;
}

.md-preschool-quote {
    color: #6F8068;
    background: linear-gradient(145deg, rgba(168, 184, 160, .24), rgba(250, 247, 240, .9));
    border: 1px solid rgba(168, 184, 160, .38);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
    text-align: center;
    margin-top: 20px;
}

.md-preschool-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(61, 60, 58, .14);
    background: rgba(216, 195, 165, .25);
}

.md-preschool-image:before {
    content: "";
    display: block;
    padding-top: 72%;
}

.md-preschool-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(.94) contrast(.97) brightness(1.03);
    transition: all .35s ease;
}

.md-preschool-card:hover .md-preschool-image img {
    transform: scale(1.025);
}

.md-preschool-activities {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 22px;
    background: rgba(250, 247, 240, .88);
    border: 1px solid rgba(216, 195, 165, .58);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(61, 60, 58, .08);
    padding: 34px;
}

.md-preschool-heading {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}

.md-preschool-heading p {
    color: #5F625C;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.md-preschool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.md-preschool-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, .5), rgba(250, 247, 240, .92));
    border: 1px solid rgba(216, 195, 165, .48);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 22px rgba(61, 60, 58, .05);
    transition: all .22s ease;
}

.md-preschool-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(61, 60, 58, .1);
    border-color: rgba(168, 184, 160, .65);
}

.md-preschool-item span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #A8B8A0;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(127, 150, 120, .2);
    margin-bottom: 14px;
}

.md-preschool-item:nth-child(2n) span {
    background: #D8C3A5;
}

.md-preschool-item:nth-child(3n) span {
    background: #C98568;
}

.md-preschool-item h3 {
    color: #3D3C3A;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 10px;
}

.md-preschool-item p {
    color: #4E504C;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    margin: 0;
}

.md-preschool-extra {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 22px;
    background: linear-gradient(145deg, rgba(168, 184, 160, .22), rgba(250, 247, 240, .9));
    border: 1px solid rgba(216, 195, 165, .58);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(61, 60, 58, .08);
    padding: 34px;
    text-align: center;
}

.md-preschool-extra p {
    max-width: 820px;
    margin: 0 auto;
}

.md-preschool-cta {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(145deg, rgba(168, 184, 160, .28), rgba(216, 195, 165, .32));
    border: 1px solid rgba(216, 195, 165, .58);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(61, 60, 58, .08);
    padding: 28px 34px;
}

.md-preschool-cta h2 {
    color: #3D3C3A;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 8px;
}

.md-preschool-cta p {
    color: #5F625C;
    font-size: 17px;
    line-height: 1.45;
    margin: 0;
}

.md-preschool-cta a {
    min-width: 170px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C98568;
    color: #fff;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(201, 133, 104, .24);
    transition: all .22s ease;
    white-space: nowrap;
}

.md-preschool-cta a:hover {
    background: #A8B8A0;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .md-preschool {
        padding: 0 14px 28px;
    }

    .md-preschool-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 26px;
    }

    .md-preschool-hero h1 {
        font-size: 32px;
    }

    .md-preschool-hero a {
        width: 100%;
    }

    .md-preschool-card {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 28px;
    }

    .md-preschool-grid {
        grid-template-columns: 1fr;
    }

    .md-preschool-cta {
        flex-direction: column;
        text-align: center;
        padding: 26px;
    }
}

@media (max-width: 575px) {
    .md-preschool {
        padding: 0 12px 24px;
    }

    .md-preschool-hero,
    .md-preschool-card,
    .md-preschool-activities,
    .md-preschool-extra,
    .md-preschool-cta {
        border-radius: 12px;
        padding: 22px;
    }

    .md-preschool-hero h1 {
        font-size: 28px;
    }

    .md-preschool-content h2,
    .md-preschool-heading h2,
    .md-preschool-extra h2 {
        font-size: 26px;
    }

    .md-preschool-hero p,
    .md-preschool-content p,
    .md-preschool-heading p,
    .md-preschool-extra p,
    .md-preschool-cta p {
        font-size: 16px;
    }

    .md-preschool-image:before {
        padding-top: 78%;
    }

    .md-preschool-item {
        padding: 17px;
    }

    .md-preschool-cta h2 {
        font-size: 24px;
    }

    .md-preschool-cta a {
        width: 100%;
    }
}/* End custom CSS */