@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

p {
    margin: 0;
}

.rswidget * {
    font-family: 'Figtree', sans-serif !important;
}

.rswidget--headline {
    border: 1px solid #D0D4D5;
    background-color: #FFFFFF;
    border-radius: 8px;
    max-width: 1376px;
}

.slider-container {
    margin-bottom: 20px;
}

.rswidget-headline-2 .slider-container {
    background: #FFFFFF;
    padding-inline: 32px;
    border-radius: 12px;
    padding-bottom: 32px;
}

.rswidget-headline-3 .slider-container {
    background: #FFFFFF;
    padding-inline: 32px;
    border-radius: 12px;
    padding-bottom: 32px;
}

.rswidget--headline__footer {
    background-color: var(--rs-headline-widget-primary-colour);
    color: var(--rs-headline-widget-text-colour);
    padding: 16px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 0 0 8px 8px;
    font-size: 18px;
}

/*52px is the gap.*/
.rswidget--headline__slider__slide {
    min-width: 170px;
    padding: 12px;
    display: flex;
    min-height: 250px;
}


.rswidget--headline__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #D0D4D5;
    padding: 24px;
}

@media screen and (max-width: 768px) {
    .rswidget--headline__header {
        padding: 16px;
    }
}

.rswidget--headline__header-top,
.rswidget--headline__header-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rswidget--headline__title {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
}

.rswidget-headline-2 .rswidget--headline__title {
    font-size: 24px;
    font-weight: 600;
}

.rswidget-headline-3 .rswidget--headline__title {
    font-size: 24px;
    font-weight: 500;
}

.rswidget-headline-2 .rswidget--headline__header,
.rswidget-headline-3 .rswidget--headline__header {
    margin-bottom: 20px;
}



.rswidget--headline__buttons {
    display: flex;
    gap: 16px;
    margin-left: auto;
    justify-content: flex-end;
}

.rswidget--headline__buttons button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #DFE1E680;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rswidget-headline-2 .rswidget--headline__buttons button {
    background: #FFFFFF;
}

.rswidget--headline__buttons button:hover {
    background: #DFE1E6;
}

.rswidget--headline__buttons button img {
    width: 10px;
    height: 16px;
}

.slider__btn-next img {
    transform: rotate(180deg);
}

.slider-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-card-rating img {
    width: 111px;
    height: 22px;
}

.slider-card-rating-stars {
    width: 111px;
    height: 22px;
}

.slider-card-rating-point {
    font-weight: 700;
    color: #13130A;
}

.slider-card-rating-current-point {
    font-size: 20px;
}

.slider-card-rating-total-point {
    font-size: 16px;
}

.slider-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 10px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-card-content {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.slider-card-content__gapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slider-card-text {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 0 16px 0;
}

.slider-work-area-pill {
    background: #DBDEE2;
    color: #000000;
    padding: 5px 12px;
    border-radius: 4px;
    width: fit-content;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.slider-signature {
    color: #7E7E7E;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
}

.slider-signature__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rswidget-headline-2 .slider-signature {
    display: flex;
    flex-direction: column;
}

.rswidget-headline-2 .slider-signature .by {
    display: none;
}

.rswidget-headline-2 .slider-signature .on {
    display: none;
}

.slider-signature-name {
    color: #000000;
    font-weight: 700;
    font-size: 16px;
}

.rswidget--headline__footer-rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rswidget--headline__footer-rating-stars-current {
    font-size: 31px;
    font-weight: 500;
}

.rswidget--headline__footer-rating-stars-total {
    font-size: 24px;
    font-weight: 500;
}

.rswidget--headline__footer-rating-stars,
.rswidget--headline__footer-rating-stars img {
    width: 166px;
    height: 33px;
}

.rswidget--headline__footer-rating-total-reviews {
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--rs-headline-widget-secondary-colour);
    text-decoration-line: underline;
}

.slider-review__avatar {
    width: 50px;
    border-radius: 50%;
}

.rswidget-headline-2 {
    background: var(--rs-headline-widget-secondary-colour);
    border: 1px solid var(--rs-headline-widget-secondary-colour);
}

.rswidget-headline-3 {
    background: #08AA4E;
}

.rswidget-headline-2 .rswidget--headline__footer,
.rswidget-headline-3 .rswidget--headline__footer {
    justify-content: center;
    gap: 16px;
}

.rswidget-headline-3 .rswidget--headline__footer {
    background: #FFFFFF;
    font-size: 18px;
    color: #000000;
}

.rswidget--headline__slider-container {
    padding: 24px;
}

@media screen and (max-width: 768px) {
    .rswidget--headline__slider-container {
        padding: 16px;
    }
}
