/* mini badge */
.blocklab-trustpilot {
    pointer-events: none !important;
}

.trustpilot-mini-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    margin: 10px 0;
    gap: 5px;
}

.trustpilot-mini-badge > .logo img {
    height: 30px;
    pointer-events: none;
    cursor: default;
    margin-bottom: 5px;
}

.trustpilot-mini-badge > .trustpilot-rating img {
    height: 25px;
    pointer-events: none !important;
    cursor: default !important;
}

.trustpilot-mini-badge > .info {
    font-size: 17px !important;
    line-height: 28px !important;
    color: rgb(17, 17, 17) !important;
    word-break: normal !important;
    font-family: 'Manrope', Helvetica, Arial, sans-serif !important;
    text-decoration: none !important;
}

.trustpilot-mini-badge > .info:hover{
    text-decoration: underline !important;
}

/* Carousel */
.trustpilot-carousel {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

/* Carousel - Overall */
.trustpilot-carousel > .overall {
    word-break: normal !important;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    border: 1px solid transparent;
    height: 160px;
    width: 20%;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: black !important;
}

.trustpilot-carousel > .overall > .rating img,
.trustpilot-carousel > .overall > .logo img {
    height: 25px;
    margin-bottom: 5px;
}

.trustpilot-carousel > .overall > .count {
    text-decoration: none;
    font-size: 16px;

    a {
        text-decoration: none !important;
        color: black !important;
        font-size: 16px;
    }
}

/* Carousel - Carousel */
.trustpilot-carousel > .swiper {
    width: 100%;
}

.trustpilot-carousel > .swiper > .swiper-wrapper > .swiper-slide {
    margin: 20px 0;
    word-break: normal !important;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    border-radius: 8px;
    border: 1px solid transparent;
    height: 160px;
}

.trustpilot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.trustpilot-header > .rating {
    width: 100px;
}

.trustpilot-header > .date {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

.trustpilot-review-information {
    height: 100%;
}

.trustpilot-review-information > .title {
    font-weight: bold !important;
    font-size: 16px !important;
    text-decoration: none !important;
    color: black !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.trustpilot-review-information > .title:hover {
    text-decoration: underline !important;
}

.trustpilot-review-information > .text {
    text-align: start !important;
    text-size-adjust: 100% !important;
    font-size: 16px !important;
    line-height: 26px !important;
    color: rgb(17, 17, 17) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 60%; /* Adjust to fit design */
}

.review-name {
    margin-top: auto; /* Pushes the name to the bottom */
    font-weight: bold;
    color: black;
    font-size: 16px !important;
    line-height: 25px !important;
}

.swiper-button-next-trustpilot {
    right: 0;
    margin-right: -13px;
}

.swiper-button-prev-trustpilot {
    left: 0;
    margin-left: -13px;
}

.swiper-button-next-trustpilot, .swiper-button-prev-trustpilot {
    font-size: x-large;
    width: 4rem;
    height: 4rem;
    position: absolute;
    align-content: center;
    z-index: 10;
    top: 70px;
    color: #00b67a;
    text-align: center;
}

.swiper-trustpilot-pagination {
    position: relative !important;
    margin-top: 20px;
}

@media only screen {
    .trustpilot-carousel > .swiper-button-next-trustpilot:hover, .trustpilot-carousel > .swiper-button-prev-trustpilot:hover {
        background-color: rgba(77, 77, 77, 0.2);
        border-radius: 100%;
    }
}

@media(max-width: 500px) {

    .trustpilot-carousel {
        flex-direction: column !important;
        align-items: center;
    }

    .trustpilot-carousel > .overall > .count {
        text-wrap: nowrap;
    }
}


/* Micro */
.trustpilot-micro {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    background: #fff;
    text-decoration: none !important;
    cursor: pointer;
    color: black !important;
    gap: 10px;
}

.trustpilot-micro > .rating img {
    height: 22px;
}

.trustpilot-micro > .count {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-wrap: nowrap !important;
    font-size: 17px;

    img {
        height: 25px;
    }
}

@media(max-width: 500px) {

    .trustpilot-micro {
        flex-direction: column !important;
        align-items: center;
    }
}