.page-id-858 #content.site-content .col-full {
    max-width: 100%;
    padding: 0 !important;
    background-color: #faf5f3;
}

.bdl-reviews-intro {
    max-width: 1440px;
    margin: 75px auto 0;
    padding: 0 15px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.bdl-reviews-intro h2,
.bdl-review-modal__header h2 {
    margin: 0;
    color: #000000;
}

.bdl-reviews-eyebrow {
    margin: 0 0 8px;
    color: #d11e47;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.bdl-review-modal-trigger,
.bdl-review-modal .wpmtst_submit_testimonial {
    border: 0;
    border-radius: 999px;
    background-color: #d11e47;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 17px 30px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bdl-review-modal-trigger:hover,
.bdl-review-modal-trigger:focus,
.bdl-review-modal .wpmtst_submit_testimonial:hover,
.bdl-review-modal .wpmtst_submit_testimonial:focus {
    background-color: #b8183b;
    color: #ffffff;
    transform: translateY(-1px);
}

.bdl-review-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.bdl-review-modal.is-open {
    display: flex;
}

.bdl-review-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.bdl-review-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.22);
    outline: 0;
}

.bdl-review-modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #faf5f3;
    color: #000000;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    text-align: center;
}

.bdl-review-modal__header {
    margin-bottom: 30px;
    padding-right: 35px;
}

.bdl-review-modal__header p:last-child {
    margin: 12px 0 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
}

.bdl-review-modal .strong-view {
    margin: 0;
}

.bdl-review-modal .form-field {
    margin-bottom: 18px;
}

.bdl-review-modal label {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
}

.bdl-review-modal input[type="text"],
.bdl-review-modal input[type="email"],
.bdl-review-modal input[type="url"],
.bdl-review-modal textarea {
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #ffffff;
}

.bdl-review-modal textarea {
    min-height: 140px;
}

body.bdl-review-modal-open {
    overflow: hidden;
}

#bdl-reviews-container {
    margin-top: 45px;
    margin-bottom: 45px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
#bdl-reviews-container .testimonial {
    background: #FFFFFF;
    border-radius: 15px 15px 15px 15px;
    width: calc(33% - 15px);
    padding: 50px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}
.test_content {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    text-align: center;
    overflow-wrap: break-word;
}

.test_client .test_client_name {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #000000;
    z-index: 1;
    text-transform: uppercase;
}

.test_client .test_client_separator,
.test_client .test_client_location {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #999999;
    z-index: 1;
    text-transform: uppercase;
}


.test_client {
    padding-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    
}


.test_client:before {
    position: absolute;
    display: block;
    content: "";
    background: transparent;
    width: 120px;
    height: 50px;
    font-family: "bookory-icon";
    content: "";
    -webkit-font-smoothing: antialiased;
    font-size: 50px;
    line-height: 1;
    text-align: center;
    z-index: 0;
    color: #EEEEEE;
}

#bdl-load-more {
    display: block;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 75px;
}

 

.elementor-widget-bookory-testimonials .inner {
    min-height: 440px;
}
.elementor-widget-bookory-testimonials  .slick-dots {
    position: relative;
}

@media screen and (max-width: 1280px ){
    .elementor-widget-bookory-testimonials .inner {
        padding: 20px !important;
    }
    .elementor-widget-bookory-testimonials .content {
        font-size: 14px !important;
    }
    .elementor-widget-bookory-testimonials  .slick-dots {
        top: -78px !important;
    }
}

@media screen and (max-width: 768px ) { 
    .bdl-reviews-intro {
        margin-top: 50px;
        padding-left: 30px;
        padding-right: 30px;
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .bdl-review-modal {
        padding: 18px;
        align-items: flex-start;
    }

    .bdl-review-modal__dialog {
        max-height: calc(100vh - 36px);
        margin-top: 0;
        padding: 35px 24px 28px;
        border-radius: 16px;
    }

    .bdl-review-modal__header {
        padding-right: 28px;
    }

    #bdl-reviews-container { 
        margin-top: 35px;
        padding-left: 30px;
        padding-right: 30px;
    }
    #bdl-reviews-container .testimonial {
        width: calc(50% - 15px);
        padding: 35px;
    }
    .test_client .test_client_name ,
    .test_client .test_client_separator,
    .test_client .test_client_location {
        font-size: 11px;
        line-height: 1;
    }

    .test_content {
        font-size: 14px; 
    }
    #bdl-load-more { 
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 500px ){
    .bdl-reviews-intro {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bdl-review-modal-trigger {
        width: 100%;
    }

    .elementor-widget-bookory-testimonials .slick-dots {
        top: 0 !important;
    }
    .elementor-widget-bookory-testimonials .slick-list {
        margin-top: 50px;
    }
    .elementor-widget-bookory-testimonials .content {
        font-size: 16px !important;
    }

    #bdl-reviews-container .testimonial {
        width: 100%;
    }

    #bdl-load-more {
        margin-bottom: 0;
    }
    .page-id-858   #main {
        padding-bottom: 30px;
    }
    .elementor-widget-bookory-testimonials .inner {
        min-height: 320px;
    }
}
