/* fonts */
@font-face {
    font-family: 'Roboto Flex';
    src: url('../../fonts/roboto-flex/RobotoFlex.woff2') format('woff2');
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* google-widget */
.rw-wall-google-widget {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px;
    font-family: 'Roboto Flex', sans-serif;
    color: #000;
    background-color: #fff;
}

.rw-wall-google-widget__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.rw-wall-google-widget__title {
    font-size: 28px;
    line-height: 32px;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 600;
}

.rw-wall-google-widget__arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rw-wall-google-widget__arrow-prev.swiper-button-prev,
.rw-wall-google-widget__arrow-next.swiper-button-next {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
    background-color: #f7f7f7;
}

.rw-wall-google-widget__arrow-prev.swiper-button-prev::after,
.rw-wall-google-widget__arrow-next.swiper-button-next::after {
    display: none;
}

.rw-wall-google-widget__arrow-prev.swiper-button-prev svg,
.rw-wall-google-widget__arrow-next.swiper-button-next svg {
    width: 24px;
    height: 24px;
}

.rw-wall-google-widget__arrow-next {
    transform: rotate(180deg);
}

.rw-wall-google-widget__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 20px 24px;
    border-radius: 12px;
    background-color: #f7f7f7;
}

.rw-wall-google-widget__info-item {
    display: flex;
    gap: 16px;
}

.rw-wall-google-widget__average-rating {
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
}

.rw-wall-google-widget__subtitle {
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 600;
}

.rw-wall-google-widget__total-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rw-wall-google-widget__stars {
    display: flex;
    align-items: center;
}

.rw-wall-google-widget__star {
    display: block;
    width: 24px;
    height: 24px;
}

.rw-wall-google-widget__star svg {
    width: 100%;
    height: 100%;
}

.rw-wall-google-widget__total {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #838384;
}

.rw-wall-google-widget__link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 32px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #fff;
    background-color: #1a7bff;
    transition: all 0.3s ease-out 0s;
}

.rw-wall-google-widget__link:hover {
    color: #fff;
    background-color: #156ae0;
}

.rw-wall-google-widget__swiper .swiper-slide {
    height: auto;
}

.rw-wall-google-card {
    height: 100%;
    padding: 20px;
    background-color: #f7f7f7;
}

.rw-wall-google-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.rw-wall-google-card__photo {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.rw-wall-google-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-wall-google-card__author {
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
}

.rw-wall-google-card__rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rw-wall-google-card__rating svg {
    width: 18px;
    height: 18px;
}

.rw-wall-google-card__content {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.rw-wall-google-card__read-more {
    color: #1a7bff;
    font-weight: 500;
    transition: all 0.3s ease-out 0s;
}

.rw-wall-google-card__read-more:hover {
    color: #156ae0;
    text-decoration: underline;
}

/* mobile */
@media (max-width: 767px) {
    .rw-wall-google-widget__title {
        font-size: 22px;
        line-height: 26px;
    }

    .rw-wall-google-widget__info {
        flex-direction: column;
        align-items: flex-start;
    }

    .rw-wall-google-widget__link {
        width: 100%;
        text-align: center;
    }
}

/* mobile small */
@media (max-width: 480px) {
    .rw-wall-google-widget__total-item {
        flex-direction: column;
        align-items: flex-start;
    }
}