.oanh-reviews {
    display: grid;
    grid-template-columns: repeat(var(--reviews-columns, 3), minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.oanh-reviews .oanh-review {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 16px;
    position: relative;
    margin: 0;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #f0f3f6;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgb(3 42 93 / 7%);
    min-width: 0;
}

.oanh-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    width: 32px;
    height: 3px;
    background: var(--color-01, #dc0920);
}

.oanh-review__avatar {
    flex: 0 0 72px;
}

.oanh-review .oanh-review__photo,
.oanh-review__placeholder {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}

.oanh-review__placeholder {
    padding: 12px;
    background: #f1f4f8;
    color: var(--color-02, #032a5d);
}

.oanh-review__placeholder svg {
    width: 100%;
    height: 100%;
}

.oanh-review__body {
    min-width: 0;
    overflow-wrap: break-word;
}

.oanh-review .oanh-review__quote {
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    color: #73808c;
    font-size: 14px;
    font-style: normal;
    line-height: 1.45;
}

.oanh-review__quote::before {
    content: '“';
}

.oanh-review__quote::after {
    content: '”';
}

.oanh-review__name {
    display: block;
    color: var(--color-02, #032a5d);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.oanh-review__course {
    display: block;
    color: #73808c;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 849px) {
    .oanh-reviews {
        grid-template-columns: repeat(var(--reviews-tablet, 2), minmax(0, 1fr));
    }
}

@media (max-width: 549px) {
    .oanh-reviews {
        grid-template-columns: repeat(var(--reviews-mobile, 1), minmax(0, 1fr));
    }

    .oanh-reviews .oanh-review {
        flex-wrap: wrap;
        gap: 12px;
    }

    .oanh-review__body {
        flex: 1 1 120px;
    }
}

.oanh-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.oanh-reviews-header:empty {
    display: none;
}

.oanh-reviews-header .oanh-reviews-title {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: var(--color-02, #032a5d);
    text-transform: uppercase;
    line-height: 1.3;
}

.oanh-reviews-title::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 5px;
    background: var(--color-01, #dc0920);
}

.oanh-reviews-section .oanh-review::before {
    display: none;
}

.oanh-reviews-nav {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.oanh-reviews-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    min-width: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f7fa;
    color: var(--color-02, #032a5d);
    font-size: 26px;
    line-height: 1;
}

.oanh-reviews-nav button:disabled {
    opacity: .3;
    cursor: default;
}

.oanh-reviews-nav button:focus-visible,
.is-slider .oanh-reviews:focus-visible {
    outline: 2px solid var(--color-01, #dc0920);
    outline-offset: 3px;
}

.oanh-reviews-section {
    --reviews-visible: var(--reviews-columns, 3);
}

.is-slider .oanh-reviews {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--reviews-visible) - 1) * 16px) / var(--reviews-visible));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.is-slider .oanh-reviews::-webkit-scrollbar {
    display: none;
}

.is-slider .oanh-review {
    scroll-snap-align: start;
}

@media (max-width: 849px) {
    .oanh-reviews-section {
        --reviews-visible: var(--reviews-tablet, 2);
    }
}

@media (max-width: 549px) {
    .oanh-reviews-section {
        --reviews-visible: var(--reviews-mobile, 1);
    }
}