.hb-pro-room-review-summary {
    align-items: center;
    color: var(--hb-room-list-muted, #66736e);
    display: inline-flex;
    font-size: .78rem;
    gap: 5px;
    white-space: nowrap;
}

.hb-pro-room-review-summary__star {
    color: #d8960b;
    font-size: 1rem;
    line-height: 1;
}

.hb-pro-room-review-summary strong {
    color: var(--hb-room-list-ink, #17231f);
}

.hb-room-detail__reviews {
    --hb-review-ink: var(--hb-detail-ink, #13221b);
    --hb-review-muted: var(--hb-detail-muted, #68766f);
    --hb-review-line: var(--hb-detail-line, #dce5df);
    --hb-review-soft: var(--hb-detail-soft, #f4f7f5);
    --hb-review-accent: var(--hb-detail-accent, #196647);
    --hb-review-success: var(--hb-detail-success, #1d724f);
    background: #f8faf8;
    border: 1px solid var(--hb-review-line);
    border-radius: 24px;
    margin-top: clamp(36px, 6vw, 66px);
    padding: clamp(24px, 4vw, 42px);
}

.hb-room-detail__reviews,
.hb-room-detail__reviews * {
    box-sizing: border-box;
}

.hb-room-reviews__heading {
    align-items: end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 26px;
}

.hb-room-reviews__heading span {
    color: var(--hb-review-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hb-room-reviews__heading h2 {
    color: var(--hb-review-ink);
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 5px 0 0;
}

.hb-room-reviews__heading p {
    color: var(--hb-review-muted);
    font-size: 13px;
    margin: 0;
}

.hb-room-reviews__empty {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd8d0;
    border-radius: 16px;
    display: flex;
    gap: 17px;
    padding: 26px;
}

.hb-room-reviews__empty > span {
    color: #d49a12;
    font-size: 38px;
}

.hb-room-reviews__empty h3,
.hb-room-reviews__empty p { margin: 0; }

.hb-room-reviews__empty p {
    color: var(--hb-review-muted);
    margin-top: 4px;
}

.hb-room-reviews__summary {
    background: var(--hb-review-ink);
    border-radius: 18px;
    color: #fff;
    display: grid;
    gap: clamp(24px, 5vw, 60px);
    grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
    padding: clamp(22px, 3vw, 32px);
}

.hb-room-reviews__overall {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hb-room-reviews__overall > span {
    color: #c5d2cb;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hb-room-reviews__overall > strong {
    font-size: clamp(56px, 9vw, 80px);
    font-weight: 650;
    letter-spacing: -.07em;
    line-height: 1;
    margin: 3px 0;
}

.hb-room-reviews__overall > small {
    color: #b8c8bf;
    font-size: 11px;
    margin-top: 8px;
}

.hb-room-reviews__stars {
    color: #617168;
    display: flex;
    font-size: 18px;
    gap: 3px;
}

.hb-room-reviews__stars .is-filled { color: #f2b72b; }

.hb-room-reviews__criteria {
    align-content: center;
    display: grid;
    gap: 15px;
    margin: 0;
}

.hb-room-reviews__criteria > div {
    align-items: center;
    display: grid;
    gap: 15px;
    grid-template-columns: minmax(90px, 130px) minmax(0, 1fr);
}

.hb-room-reviews__criteria dt {
    color: #e7eee9;
    font-size: 13px;
}

.hb-room-reviews__criteria dd {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 32px;
    margin: 0;
}

.hb-room-reviews__criteria dd strong {
    color: #fff;
    font-size: 13px;
    text-align: right;
}

.hb-room-reviews__bar {
    background: #3f5047;
    border-radius: 99px;
    display: block;
    height: 7px;
    overflow: hidden;
}

.hb-room-reviews__bar i {
    background: #e7ad26;
    border-radius: inherit;
    display: block;
    height: 100%;
}

.hb-room-reviews__list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.hb-room-review-public {
    background: #fff;
    border: 1px solid var(--hb-review-line);
    border-radius: 17px;
    padding: clamp(20px, 3vw, 28px);
}

.hb-room-review-public__header {
    align-items: start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.hb-room-review-public__header > div {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.hb-room-review-public__header > div > strong {
    color: var(--hb-review-ink);
    font-size: 17px;
    width: 100%;
}

.hb-room-review-public__header > div > span {
    color: var(--hb-review-muted);
    font-size: 12px;
}

.hb-room-review-public__verified {
    color: var(--hb-review-success) !important;
    font-weight: 750;
}

.hb-room-review-public__score {
    background: #e9f3ed;
    border-radius: 10px;
    color: var(--hb-review-accent);
    flex: none;
    font-size: 21px;
    line-height: 1;
    padding: 8px 11px;
}

.hb-room-review-public__score small { font-size: 11px; }

.hb-room-review-public__content {
    color: #35443d;
    line-height: 1.7;
    margin: 18px 0;
}

.hb-room-review-public__content p { margin: 0; }

.hb-room-review-public__criteria {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 18px 0 0;
}

.hb-room-review-public__criteria > div {
    background: var(--hb-review-soft);
    border-radius: 9px;
    padding: 10px;
    text-align: center;
}

.hb-room-review-public__criteria dt {
    color: var(--hb-review-muted);
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hb-room-review-public__criteria dd {
    color: var(--hb-review-ink);
    font-size: 14px;
    font-weight: 800;
    margin: 3px 0 0;
}

.hb-room-reviews__pagination { margin-top: 24px; }

.hb-room-reviews__pagination ul.page-numbers {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hb-room-reviews__pagination a,
.hb-room-reviews__pagination span {
    background: #fff;
    border: 1px solid var(--hb-review-line);
    border-radius: 9px;
    color: var(--hb-review-ink);
    display: inline-grid;
    min-height: 38px;
    min-width: 38px;
    padding: 7px 11px;
    place-items: center;
    text-decoration: none;
}

.hb-room-reviews__pagination .current {
    background: var(--hb-review-accent);
    border-color: var(--hb-review-accent);
    color: #fff;
}

@container hb-room-detail (max-width: 900px) {
    .hb-room-review-public__criteria {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@container hb-room-detail (max-width: 620px) {
    .hb-room-reviews__heading,
    .hb-room-review-public__header {
        align-items: start;
        flex-direction: column;
    }

    .hb-room-reviews__summary { grid-template-columns: 1fr; }

    .hb-room-reviews__criteria > div {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .hb-room-review-public__criteria {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
