.hcr-reviews {
    --hcr-primary: #197278;
    --hcr-highlight: #ffc33d;
    --hcr-ink: #17231f;
    --hcr-muted: #66716b;
    --hcr-line: #d9ddd3;
    --hcr-panel: #f0eee9;
    display: grid;
    gap: 28px;
    width: 100%;
    max-width: none;
    color: var(--hcr-ink);
}

.hcr-slider-shell {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    gap: 24px;
    align-items: center;
    width: 100%;
}

.hcr-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.hcr-card {
    box-sizing: border-box;
    background: var(--hcr-panel);
    border: 1px solid var(--hcr-line);
    border-radius: 8px;
}

.hcr-reply p {
    margin: 0;
}

.hcr-reply p {
    color: var(--hcr-muted);
}

.hcr-grid {
    display: flex;
    gap: 18px;
    width: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

.hcr-card {
    flex: 0 0 calc((100% - 36px) / 3);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 22px;
}

.hcr-card-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hcr-primary-meta,
.hcr-reviewer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hcr-rating,
.hcr-author,
.hcr-flag,
.hcr-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hcr-rating {
    color: var(--hcr-ink);
    background: var(--hcr-highlight);
}

.hcr-author {
    gap: 8px;
    color: var(--hcr-primary);
    background: transparent;
    border: 1px solid rgba(25, 114, 120, 0.24);
}

.hcr-review-date {
    color: var(--hcr-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: lowercase;
}

.hcr-flag {
    justify-content: center;
    min-width: auto;
    min-height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    line-height: 1;
}

.hcr-tag {
    color: var(--hcr-primary);
    background: rgba(25, 114, 120, 0.1);
}

.hcr-slider-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--hcr-primary);
    background: #fff;
    border: 1px solid var(--hcr-line);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
}

.hcr-slider-button[disabled] {
    opacity: 0.4;
    cursor: default;
}

.hcr-slider-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.hcr-slider-dots {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hcr-slider-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--hcr-line);
    cursor: pointer;
}

.hcr-slider-dot.is-current {
    background: var(--hcr-highlight);
    box-shadow: none;
}

.hcr-slider-count {
    grid-column: 3;
    justify-self: end;
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(23, 35, 31, 0.8);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.hcr-card blockquote {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.hcr-review-copy {
    display: grid;
    gap: 10px;
}

.hcr-review-copy.is-collapsed blockquote {
    overflow: hidden;
    max-height: 7.7em;
}

.hcr-copy-toggle {
    justify-self: start;
    padding: 0;
    color: var(--hcr-primary);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.hcr-reply {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hcr-line);
}

.hcr-reply strong {
    display: block;
    margin-bottom: 6px;
    color: var(--hcr-primary);
    font-size: 13px;
}

.hcr-reviews.is-static-grid .hcr-slider-shell {
    grid-template-columns: minmax(0, 1fr);
}

.hcr-reviews.is-static-grid .hcr-slider-button,
.hcr-reviews.is-static-grid .hcr-slider-dots {
    display: none;
}

.hcr-reviews.is-static-grid .hcr-slider-footer {
    grid-template-columns: 1fr;
}

.hcr-reviews.is-static-grid .hcr-slider-count {
    grid-column: 1;
    justify-self: end;
}

@media (max-width: 980px) {
    .hcr-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 640px) {
    .hcr-slider-shell {
        grid-template-columns: 1fr;
    }

    .hcr-slider-button {
        display: none;
    }

    .hcr-card {
        flex-basis: 100%;
    }

    .hcr-slider-footer {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hcr-slider-dots,
    .hcr-slider-count {
        grid-column: 1;
        justify-self: center;
    }
}
