/* Nicepage Reviews Carousel — isolated styles, prefixed with nprc- */
.nprc-section,
.nprc-all-reviews {
    --nprc-navy: #252b48;
    --nprc-red: #d84455;
    --nprc-blue: #6e9ac4;
    --nprc-text: #262626;
    box-sizing: border-box;
    width: 100%;
    font-family: inherit;
}
.nprc-section *,
.nprc-all-reviews * { box-sizing: border-box; }
.nprc-section {
    width: 100%;
    padding: 20px 0 24px;
    background: var(--nprc-navy);
    color: #fff;
}
.nprc-section__inner {
    max-width: 1280px;
    padding: 0 46px;
    margin: 0 auto;
}
.nprc-section__heading { margin: 0 0 28px; }
.nprc-section__title {
    margin: 0;
    padding: 0;
    font-size: clamp(25px, 3.2vw, 43px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
}
.nprc-red { color: #ffcc00; }
.nprc-white { color: #fff; }
.nprc-carousel { position: relative; width: 100%;}
.nprc-carousel__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    outline: none;
}
.nprc-carousel__viewport::-webkit-scrollbar { display: none; }
.nprc-carousel__track {
    display: flex;
    align-items: stretch;
    gap: var(--nprc-card-gap, 14px);
    width: 100%;
}
.nprc-carousel__item {
    flex: 0 0 var(--nprc-desktop-basis, calc((100% - 28px) / 3));
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
}
.nprc-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 296px;
    padding: 14px 14px 18px;
    border: 0;
    border-radius: var(--nprc-card-radius, 10px);
    background: #fff;
    color: var(--nprc-text);
    text-align: left;
    box-shadow: none;
}
.nprc-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    margin-bottom: 12px;
}
.nprc-card__person {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1 1 auto;
}
.nprc-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background: #eef0f4;
}
.nprc-card__avatar-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nprc-card__avatar-fallback {
    color: #fff;
    background: #858fa8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
}
.nprc-card__person-info { min-width: 0; }
.nprc-card__author {
    color: #181818;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.nprc-card__source {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #969696;
    font-size: 11px;
    line-height: 1.2;
}
.nprc-card__source-label { white-space: nowrap; }
.nprc-source-mark-link {
    display: inline-flex;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    text-decoration: none !important;
    outline-offset: 2px;
}
.nprc-source-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    overflow: hidden;
    border-radius: 4px;
    line-height: 1;
    vertical-align: middle;
}
.nprc-source-mark svg,
.nprc-source-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.nprc-source-mark-link:hover,
.nprc-source-mark-link:focus-visible {
    opacity: .82;
    transform: translateY(-1px);
}
.nprc-card__rating-date {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    padding-top: 1px;
    white-space: nowrap;
}
.nprc-card__stars { display: flex; gap: 0; font-family: Arial, sans-serif; font-size: 23px; line-height: 1; letter-spacing: -1px; }
.nprc-card__stars .is-filled { color: #ffcc00; }
.nprc-card__stars .is-empty { color: #d6d6d6; }
.nprc-card__date { color: #969696; font-size: 10px; line-height: 1.2; }
.nprc-card__text {
    min-width: 0;
    color: #303030;
    font-size: 13px;
    line-height: 1.48;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.nprc-card:not(.nprc-card--full) .nprc-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}
.nprc-card--full { min-height: 0; }
.nprc-card--full .nprc-card__text { display: block; white-space: normal; }
.nprc-carousel__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: var(--nprc-blue);
    color: #1e2940;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .18s ease, opacity .18s ease;
    box-shadow: none;
}
.nprc-carousel__arrow:hover { background: #8db5d8; }
.nprc-carousel__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nprc-carousel__arrow:disabled { opacity: .42; cursor: default; }
.nprc-carousel__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nprc-carousel__arrow--prev { left: -38px; }
.nprc-carousel__arrow--next { right: -38px; }
.nprc-section__more { margin: 44px 0 0; text-align: center; }
.nprc-section__more a {
    display: inline-block;
    color: var(--nprc-red);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}
.nprc-section__more a:hover { color: #f16a79; }
.nprc-all-reviews { width: 100%; }
.nprc-all-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nprc-empty { padding: 18px; border: 1px solid #ddd; }

@media (min-width: 651px) {.nprc-carousel {padding: 0 20px;}}

@media (max-width: 1050px) {
    .nprc-section__inner { padding: 0 42px; }
    .nprc-carousel__item { flex-basis: var(--nprc-tablet-basis, calc((100% - 14px) / 2)); }
    .nprc-card { min-height: 270px; }
    .nprc-card__author { font-size: 15px; }
    .nprc-card__stars { font-size: 21px; }
    .nprc-all-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .nprc-section { padding: 22px 0 26px; }
    .nprc-section__inner { padding: 0 32px; }
    .nprc-section__heading { margin-bottom: 21px; }
    .nprc-section__title { font-size: clamp(24px, 6vw, 32px); line-height: 1.16; }
    .nprc-carousel__item { flex-basis: 100%; }
    .nprc-card { min-height: 260px; padding: 15px; }
    .nprc-card__header { gap: 6px; }
    .nprc-card__person { gap: 9px; }
    .nprc-card__avatar { flex-basis: 42px; width: 42px; height: 42px; }
    .nprc-card__author { font-size: 15px; }
    .nprc-card__stars { font-size: 20px; }
    .nprc-card__source { font-size: 10px; }
    .nprc-card__text { font-size: 13px; }
    .nprc-carousel__arrow { width: 32px; height: 32px; }
    .nprc-carousel__arrow svg { width: 19px; height: 19px; }
    .nprc-carousel__arrow--prev { left: calc(-32px - var(--nprc-arrow-offset, 12px)); }
    .nprc-carousel__arrow--next { right: calc(-32px - var(--nprc-arrow-offset, 12px)); }
    .nprc-all-reviews__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
