section .wrapper {
    max-width: 1530px;
    width: 100%;
    margin: 0 auto;
}

section p, section h1, section h2, section h3 {
    color: #414042;
}

/* section.bonavita--reviews .review--summary span.gray-full {
    background-color: white;
} */

section h1 {
    color: #AF272F;;
    text-transform: uppercase;
    margin-bottom: 100px;
}

section.bonavita--reviews .review--summary {
    margin-bottom: 100px;
}

section.bonavita--reviews .review--card .review--card-header {
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: #AF272F;
    box-shadow: -1px 1px 15px 0 rgba(0, 0, 0, 0.05);
    padding: 23px 89px; 
}

section.bonavita--reviews .review--card .review--card-header * {
    color: white;
}

section.bonavita--reviews h2 {
    margin-bottom: 30px;
    text-transform: capitalize;
}

section.bonavita--reviews .review--card .review--card-header h4 {
    color: #fff;
    margin-bottom: 10px;
}

section.bonavita--reviews .review--card .review--card-header small {
    color: #212529;
    font-size: 16px;
    font-family: 'Catamaran', sans-serif;
}

section.bonavita--reviews .review--card .review--card-title p {
    color: #212529;
    font-weight: 600;
    font-size: 22px !important;
    line-height: 35px !important;
    margin-bottom: 10px !important;
}

section.bonavita--reviews .review--card .review--card-content {
    margin-bottom: 0;
    padding: 59px 89px;
}

section.bonavita--reviews .review--card-header img {
    width: 75px;
    height: 75px;
}

section.bonavita--reviews .review--card {
    border-radius: 20px;
    background: #FFF;
    box-shadow: -1px 1px 15px 0 rgba(0, 0, 0, 0.05);
     max-width: 100%;
    width: 100%;
    padding: 0;
}

section.bonavita--reviews .review--card:last-child {
    margin-bottom: 0;
}

section.bonavita--reviews .more--reviews {
    background-color: #000;
    color: white;
    text-transform: capitalize;
}

section.bonavita--reviews .more--reviews:hover {
    background-color: #fff;
    color: #AF272F;
}

/* section.bonavita--reviews.__hanabishi .review--summary {
    max-width: 1206px;
    width: 100%;
    margin-inline: auto;
    margin-bottom: 60px;
    justify-content: space-between;
    display: flex;
} */

section.bonavita--reviews.__hanabishi .stars_container {
    align-items: unset;
    gap: 20px;
}

section.bonavita--reviews .review--summary span.green-full {
    background: #F3BF00;
}

section.bonavita--reviews  .review--card-container {
    margin-bottom: 100px;
    gap: 40px;
    justify-content: unset;
}

section.bonavita--reviews .review--card-name {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

section.bonavita--reviews .review--star-rating img {
    width: 30px;
    height: 30px;
    margin: 0;
}

section.bonavita--reviews .review--card-name .review {
    display: flex;
    align-items: center;
    gap: 10px;
}

section.bonavita--reviews .review--card-name h4 {
    margin-bottom: 10px;
}

section.bonavita--reviews .review--card-content p {
    margin-bottom: 0 !important;
}

section.bonavita--reviews .review--card span {
    font-family: "Sora", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 35px;
}

section.bonavita--reviews .custom-pagination ul.page-numbers {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}

section.bonavita--reviews .custom-pagination .next {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 70px;
}

section.bonavita--reviews .custom-pagination .prev {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 70px;
}

section.bonavita--reviews .custom-pagination .next, section.bonavita--reviews .custom-pagination .prev {
    color: #212529;
    font-family: "Sora", sans-serif;;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    text-decoration: none;
}

section.bonavita--reviews .custom-pagination li .page-numbers.current {
    padding: 12px 20px;
    color: #FFF;
    font-family: "Sora", sans-serif;
    font-size: 20px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 35px;
    background: #AF272F;
    border: 1px solid transparent;
    box-shadow: none;
    margin: 0;
    border-radius: 0;
}

section.bonavita--reviews .custom-pagination li .page-numbers:not(.current, .next, .prev) {
    padding: 12px 20px;
    color: #212529;
    font-family: "Sora";
    font-size: 20px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 35px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    margin: 0;
    border-radius: 0;
    text-decoration: none;
}

section.bonavita--reviews .review--summary h3.h4 {
    font-family: 'Catamaran', sans-serif; 
    font-style: normal;
    font-weight: 700;
    font-size: 22px !important;
    line-height: 35px;
    color: #414042;
    margin-bottom: 0;
}

section.bonavita--reviews .review--card h2.h4 {
    font-family: 'Catamaran', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 22px !important;
    line-height: 32px;
    color: #FFF;
    margin-bottom: 10px;
    text-align: left;
}

section.bonavita--reviews .stars_container span.h4 {
    font-family: 'Catamaran', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 22px !important;
    line-height: 35px;
    color: #414042;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    section.bonavita--reviews .review--summary, section.bonavita--reviews .review--card-container {
        margin-bottom: 70px;
    }

    section h1 {
        margin-bottom: 70px;
    }
}

@media (max-width: 767px) {
    section.bonavita--reviews .review--summary, section.bonavita--reviews .review--card-container {
        margin-bottom: 50px;
    }
    section.bonavita--reviews .review--card .review--card-header {
        padding: 23px 30px;
    }

    section.bonavita--reviews .review--card .review--card-content {
        padding: 30px;
    }

    section.bonavita--reviews .pagination .next {
        margin-left: 0;
    }

    section.bonavita--reviews .pagination .prev {
        margin-right: 0;
    }

    section h1 {
        margin-bottom: 50px;
    }
}

@media (max-width: 575px) {
    section.bonavita--reviews .review--card-name .review {
        align-items: unset;
    }

    section.bonavita--reviews .pagination {
        align-items: center !important;
        flex-wrap: wrap;
    }

     section.bonavita--reviews .pagination .prev, section.bonavita--reviews .pagination .next {
        align-items: center !important;
     }
}