.cms-form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.montessori-cms-form-shell {
    margin: 30px 0;
}

.montessori-cms-form-title {
    margin-bottom: 18px;
    font-size: 26px;
    font-weight: 600;
}

.montessori-cms-form-description {
    margin-bottom: 20px;
}

.montessori-cms-form-field {
    margin-bottom: 20px;
}

.montessori-cms-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #2d292f;
    font-weight: 500;
}

.montessori-cms-form input,
.montessori-cms-form textarea,
.montessori-cms-form select {
    display: block;
    width: 100%;
    border: 1px solid #e5e5e5;
    min-height: 56px;
    padding: 12px 18px;
    background: #fff;
    color: #2d292f;
}

.montessori-cms-form textarea {
    min-height: 150px;
}

.montessori-cms-choice {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.montessori-cms-choice input {
    width: auto;
    min-height: 0;
    margin-top: 5px;
}

.montessori-cms-form-message {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 4px;
    background: #eef8f2;
    color: #245b37;
}

.montessori-cms-form-message.is-error {
    background: #fff0f0;
    color: #9f2828;
}

.montessori-cms-form-error {
    margin-top: 6px;
    color: #9f2828;
    font-size: 13px;
}

.montessori-cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .18);
}

.montessori-cookie-banner p {
    margin: 0;
}

.montessori-cookie-banner .thm-btn {
    padding: 8px 18px;
}

.montessori-cookie-reject {
    border: 0;
    background: transparent;
    color: #2d292f;
    padding: 8px 14px;
    cursor: pointer;
}

.post-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.post-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #2d292f;
    font-weight: 600;
}

.post-pagination a.active {
    background: #54a275;
    color: #fff;
}

.montessori-blog-filters {
    margin-top: 30px;
}

.montessori-blog-search {
    display: flex;
    gap: 12px;
    max-width: 560px;
}

.montessori-blog-search input {
    flex: 1;
    min-height: 54px;
    border: 1px solid #e5e5e5;
    padding: 0 16px;
}

.montessori-related-posts {
    padding-top: 40px;
}

.page-wrapper img {
    max-width: 100%;
}

.page-wrapper .blog-one__image > img,
.page-wrapper .course-one__image > img,
.page-wrapper .course-details__content img,
.page-wrapper .blog-one__text img,
.page-wrapper .responsive-content img {
    height: auto;
}

.page-wrapper .blog-one__image > img,
.page-wrapper .course-one__image > img {
    display: block;
}

.page-wrapper .about-two__image > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.page-wrapper .new_icons img,
.page-wrapper .pdf-image img {
    height: auto;
}

.page-wrapper .brand-one__carousel img {
    width: auto !important;
    max-width: 180px;
    max-height: 96px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    opacity: .85;
}

.page-wrapper .brand-one__carousel img:hover {
    opacity: 1;
}

.footer-widget__media {
    margin-bottom: 18px;
}

.footer-widget__media img {
    max-width: 190px;
    height: auto;
}

@media (max-width: 767px) {
    .montessori-cookie-banner,
    .montessori-blog-search {
        flex-direction: column;
        align-items: stretch;
    }

    .montessori-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
