.guest-reviews {
    background: #f7f6f3;
    color: #14171c;
    padding: 4rem 1rem;
}

.guest-reviews__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.guest-reviews__header {
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.guest-reviews__header h2 {
    margin: 0 0 0.75rem;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
}

.guest-reviews__header p,
.guest-reviews__state {
    color: #6c6a64;
    font-size: 1rem;
    line-height: 1.6;
}

.guest-reviews__state {
    margin: 0 auto;
    max-width: 42rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(20, 23, 28, 0.12);
    background: #fff;
    text-align: center;
}

.guest-reviews__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.guest-review {
    display: flex;
    min-width: 0;
    flex-direction: column;

    box-sizing: border-box;
    height: 480px;

    padding: 1.5rem;
    border: 1px solid rgba(20, 23, 28, 0.12);
    background: #fff;
    overflow: hidden;
}

.guest-review__source-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.guest-review__property {
    margin: 0 0 0.5rem;
    color: #14171c;
    font-size: 1.25rem;
    line-height: 1.2;
}

.guest-review__source {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0;
    color: #14171c;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration-color: #cf9c56;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.guest-review__source:hover {
    color: #35373b;
}

.guest-review__source:focus-visible {
    outline: 3px solid #14171c;
    outline-offset: 4px;
}

.guest-review__rating {
    flex: 0 0 auto;
    padding: 0.5rem 0.75rem;
    background: #cf9c56;
    color: #14171c;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}

.guest-review__body {
    color: #35373b;
    font-size: 1rem;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;

    overflow: hidden;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.guest-review__review-title {
    display: block;
    margin-bottom: 0.75rem;
    color: #14171c;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
}

.guest-review__more {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    min-height: 44px;
    align-items: center;

    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0;

    border: none;
    background: transparent;

    color: #a77935;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;

    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;

    transition: color 0.2s ease;
}

.guest-review__more[hidden] {
    display: none !important;
}

.guest-review__more:hover {
    color: #14171c;
}

.guest-review__more:focus-visible {
    outline: 2px solid #14171c;
    outline-offset: 4px;
}

.guest-review__guest {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1rem;

    margin-top: auto;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(20, 23, 28, 0.12);
}

.guest-review__avatar {
    display: inline-flex;
    width: 48px;
    aspect-ratio: 1;
    flex: 0 0 48px;

    align-items: center;
    justify-content: center;
    overflow: hidden;

    border-radius: 9999px;
    background: #cf9c56;
    color: #14171c;

    font-family: "Optima nova LT W04 Regular",
        Georgia, Cambria, "Times New Roman", Times, serif;

    font-size: 1.25rem;
}

.guest-review__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}

.guest-review__identity {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.25rem;

    color: #6c6a64;
    font-size: 0.875rem;
    line-height: 1.4;
}

.guest-review__identity strong {
    color: #14171c;
    font-size: 1rem;
    font-weight: 500;
}

.guest-review-modal {
    box-sizing: border-box;
    position: fixed;

    width: calc(100% - 2rem);
    max-width: 600px;
    max-height: 80vh;
    max-height: 80dvh;

    margin: auto;
    padding: 0;

    border: 1px solid rgba(20, 23, 28, 0.12);
    background: #fff;
    color: #14171c;

    overflow-y: auto;
    overscroll-behavior: contain;

    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
}

.guest-review-modal::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

.guest-review-modal__content {
    position: relative;
    padding: 2.5rem;
}

.guest-review-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: none;
    background: transparent;
    color: #14171c;

    font-size: 2rem;
    line-height: 1;
    cursor: pointer;

    appearance: none;
}

.guest-review-modal__close:hover {
    color: #a77935;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.guest-review-modal__close:focus-visible {
    outline: 2px solid #14171c;
    outline-offset: 4px;
    box-shadow: none !important;
}

.guest-review-modal__source-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.guest-review-modal__source {
    color: #14171c;
    font-size: 0.875rem;
    font-weight: 500;

    text-decoration: underline;
    text-decoration-color: #cf9c56;
    text-underline-offset: 4px;
}

.guest-review-modal__source:hover {
    color: #a77935;
}

.guest-review-modal__rating {
    flex: 0 0 auto;

    padding: 0.5rem 0.75rem;
    background: #cf9c56;
    color: #14171c;

    font-size: 0.875rem;
    font-weight: 500;
}

.guest-review-modal__title {
    margin: 0 0 1.5rem;
    color: #14171c;

    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.guest-review-modal__body {
    display: block;

    color: #35373b;
    font-size: 1rem;
    line-height: 1.8;

    overflow: visible;
    overflow-wrap: anywhere;
    white-space: normal;
}

.guest-review-modal__guest {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-top: 2rem;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(20, 23, 28, 0.12);
}

.guest-review-modal__avatar {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    align-items: center;
    justify-content: center;
    overflow: hidden;

    border-radius: 50%;
    background: #cf9c56;
    color: #14171c;

    font-size: 1.25rem;
    font-family: "Optima nova LT W04 Regular",
        Georgia, Cambria, "Times New Roman", Times, serif;
}

.guest-review-modal__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.guest-review-modal__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.25rem;

    color: #6c6a64;
    font-size: 0.875rem;
    line-height: 1.4;
}

.guest-review-modal__identity strong {
    color: #14171c;
    font-size: 1rem;
    font-weight: 500;
}

.guest-review-modal__stay[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .guest-review {
        height: 380px;
    }

    .guest-review-modal__content {
        padding: 2rem 1.5rem;
    }

    .guest-review-modal__title {
        font-size: 1.5rem;
    }

    .guest-review-modal__body {
        font-size: 0.9375rem;
    }
}

@media (min-width: 768px) {
    .guest-reviews {
        padding: 4rem 2rem;
    }

    .guest-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .guest-review:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .guest-reviews__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .guest-review:first-child {
        grid-column: auto;
    }

    .guest-reviews__header h2 {
        font-size: 3rem;
    }

    .guest-review {
        padding: 2rem;
    }
}

.platform-ratings {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.platform-ratings__header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.platform-ratings__header h2,
.platform-ratings__header h3 {
    margin: 0 0 0.5rem;
    color: #14171c;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.platform-ratings__header p {
    margin: 0;
    color: #6c6a64;
    font-size: 1rem;
    line-height: 1.6;
}

.platform-ratings__grid {
    display: grid;
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
    gap: 1rem;
}

.platform-rating {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid rgba(20, 23, 28, 0.12);
    background: #fff;
    color: #14171c;
}

.platform-rating__source {
    align-self: flex-start;
    padding: 0.875rem 0;
    color: #6c6a64;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;
}

.platform-rating__source:hover,
.platform-rating__detail:hover {
    color: #cf9c56;
}

.platform-rating__source:focus-visible,
.platform-rating__detail:focus-visible {
    outline: 3px solid #14171c;
    outline-offset: 3px;
}

.platform-rating__property {
    margin-top: 0.25rem;
    font-size: 1.25rem;
    line-height: 1.2;
}

.platform-rating__score {
    margin-top: 1rem;
    color: #14171c;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
}

.platform-rating__score small {
    color: #6c6a64;
    font-family: "Graphik Web", Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
}

.platform-rating__stars,
.platform-rating__verdict {
    margin-top: 0.75rem;
    color: #cf9c56;
    font-size: 1rem;
    line-height: 1.4;
}

.platform-rating__verdict {
    font-weight: 500;
}

.platform-rating__count {
    margin-top: 0.25rem;
    color: #6c6a64;
    font-size: 0.875rem;
    line-height: 1.4;
}

.platform-rating__details {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(20, 23, 28, 0.12);
}

.platform-rating__detail {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(20, 23, 28, 0.08);
    color: #35373b;
    font-size: 0.875rem;
    line-height: 1.4;
    text-decoration: none;
}

.platform-rating__detail span:last-child {
    color: #6c6a64;
    text-align: right;
}

.platform-rating__detail--static {
    flex-direction: column;
    gap: 0.375rem;
}

.platform-rating__detail--static span:last-child {
    text-align: left;
}

@media (min-width: 760px) {
    .platform-ratings__grid {
        grid-template-columns: repeat(2, minmax(0, 420px));
    }
}

@media (min-width: 900px) {
    .platform-ratings {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

@media (min-width: 1050px) {
    .platform-ratings__grid {
        grid-template-columns: repeat(3, minmax(0, 420px));
    }
}

button.guest-review__more:focus-visible,
button.guest-review-modal__close:focus-visible {
    outline: 2px solid #cf9c56;
    outline-offset: 3px;
}

.guest-review-modal[open] {
    animation: reviewSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reviewSlideUp {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guest-review-modal[open]::backdrop {
    background: rgba(0, 0, 0, 0.65);
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .guest-review-modal[open] {
        animation: none;
    }
}

.platform-rating {
    height: 100%;
}

.platform-rating__details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.platform-rating__detail:last-child {
    margin-bottom: 0;
}

.platform-rating--booking .platform-rating__detail--static {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.platform-rating--booking .platform-rating__detail--static span:last-child {
    text-align: left;
}

.guest-reviews__all,
.platform-ratings__all {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.reviews-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: #cf9c56;
    color: #14171c;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.reviews-link:hover {
    background: #b8843f;
    color: #14171c;
}

.reviews-link:focus-visible {
    outline: 3px solid #14171c;
    outline-offset: 3px;
}

.site-header--white #bgw-site-header-email {
    color: #000;
}

.site-header--white #bgw-site-header-email:hover {
    color: #d3b298;
}

.reviews-hero .bgw-hero__fix-position {
    transform: translateY(1.75rem);
}

@media (min-width: 1024px) {
    .reviews-hero .bgw-hero__fix-position {
        transform: translateY(0.75rem);
    }
}

.reviews-page {
    padding: 4rem 1rem;
    background: #f7f6f3;
    color: #14171c;
}

.reviews-page__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.reviews-page__header {
    margin-bottom: 2rem;
}

.review-accordions {
    display: grid;
    gap: 1rem;
}

.review-accordion {
    border: 1px solid rgba(20, 23, 28, 0.12);
    background: #fff;
    scroll-margin-top: 7rem;
}

.reviews-platform__group {
    scroll-margin-top: 7rem;
}

.review-accordion__summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: #14171c;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.review-accordion__summary::-webkit-details-marker {
    display: none;
}

.review-accordion__summary::before {
    content: "";
    width: 0.625rem;
    height: 0.625rem;
    flex: 0 0 auto;
    border-right: 2px solid #14171c;
    border-bottom: 2px solid #14171c;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.review-accordion[open] > .review-accordion__summary::before {
    transform: rotate(-135deg);
}

.review-accordion__summary:hover {
    background: #f7f6f3;
}

.review-accordion__summary:focus-visible {
    outline: 3px solid #14171c;
    outline-offset: -3px;
}

.review-accordion__summary > .font-head {
    margin-right: auto;
    font-size: 1.5rem;
    line-height: 1.2;
}

.review-accordion__count {
    color: #6c6a64;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: right;
}

.review-accordion__content {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(20, 23, 28, 0.12);
}

.review-accordion__intro {
    max-width: 46rem;
    margin: 0 0 2rem;
    color: #35373b;
    font-size: 1rem;
    line-height: 1.6;
}

.reviews-platform__group + .reviews-platform__group {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(20, 23, 28, 0.12);
}

.reviews-platform__title {
    margin: 0 0 1.5rem;
    color: #14171c;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
}

.reviews-page .guest-review:first-child {
    grid-column: auto;
}

.booking-review-summary {
    max-width: 42rem;
}

.booking-review-summary__score {
    margin: 0 0 1rem;
    color: #14171c;
    font-size: 2.25rem;
    line-height: 1;
}

.booking-review-summary p:not(.booking-review-summary__score) {
    margin: 0 0 1.5rem;
    color: #35373b;
    font-size: 1rem;
    line-height: 1.6;
}

.reviews-platform__source-link {
    margin-top: 2rem;
}

.reviews-page__updated {
    margin: 1.5rem 0 0;
    color: #6c6a64;
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: right;
}

@media (min-width: 768px) {
    .reviews-page {
        padding: 4rem 2rem;
    }

    .review-accordion__summary {
        padding: 1.25rem 2rem;
    }

    .review-accordion__content {
        padding: 2rem;
    }
}
