/**
 * Customer Reviews Block Styles
 */

@font-face {
  font-family: 'mdi-textmagic';
  src: url('/wp-content/themes/textmagic-new/assets/fonts/mdi-textmagic/fonts/mdi-textmagic.eot?82avqb');
  src: url('/wp-content/themes/textmagic-new/assets/fonts/mdi-textmagic/fonts/mdi-textmagic.eot?82avqb#iefix') format('embedded-opentype'),
       url('/wp-content/themes/textmagic-new/assets/fonts/mdi-textmagic/fonts/mdi-textmagic.ttf?82avqb') format('truetype'),
       url('/wp-content/themes/textmagic-new/assets/fonts/mdi-textmagic/fonts/mdi-textmagic.woff?82avqb') format('woff'),
       url('/wp-content/themes/textmagic-new/assets/fonts/mdi-textmagic/fonts/mdi-textmagic.svg?82avqb#mdi-textmagic') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* Icon font styles - required for mditm icons */
[class^="mditm-"], [class*=" mditm-"] {
  font-family: 'mdi-textmagic' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mditm-star:before { content: "\e9da"; }
.mditm-star_border:before { content: "\e9dc"; }

.customer-experience__wrapper {
    position: relative;
    z-index: 10;
    border: 0;
    border-style: solid;
    box-sizing: border-box;
    padding: 0;
    margin: 0px 0 32px 0;
    background: transparent !important;
    @media (max-width: 992px) {
        gap: 18px 12px;
    }
    @media(max-width: 768px) {
        margin: 48px 0 32px;
    }
    .container {
        @media(max-width: 992px) {
            padding: 0 10px;
        }
    }

    .mditm-star::before,
    .mditm-star_border::before {
        color: #f0c54c !important;
    }
}

.customer-experience__reviews {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    max-width: 100% !important;
}

.customer-experience__reviews__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 1px 32px;
    border-radius: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
    &::after,
    &::before {
        display: none !important;
    }
}

.customer-experience__reviews__image {
    height: 27.45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.customer-experience__reviews__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.star-rating__wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.customer-experience__rating {
    display: flex;
    gap: 1.5px;
    align-items: flex-start;
    position: relative;
    flex-shrink: 0;
    line-height: 0;
}

.customer-experience__rating__stars--empty,
.customer-experience__rating__stars--full {
    display: flex;
    gap: 1.5px;
}

.customer-experience__rating__stars--empty {
    color: #e0e0e0;
}

.customer-experience__rating__stars--full {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffc107;
    overflow: hidden;
    white-space: nowrap;
}

.customer-experience__rating__stars--empty span,
.customer-experience__rating__stars--full span {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 1;
    position: relative;
    flex-shrink: 0;
    @media(max-width: 768px) {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
    @media (max-width: 540px) {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }
}

.customer-experience__reviews__text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #475467;
    text-align: center;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}
