/* Страница «Отзывы» /reviews/
   Фильтры — как вкладки и чипы каталога типовых, карточки и пагинация — как пресс-центр. */

.breadcrumbs {
    display: none !important;
}

.rv-page {
    --rv-purple: #a16aac;
    --rv-purple-dark: #722082;
    --rv-orange: #ff6600;
    --rv-text: #2c2c2c;
    --rv-muted: #999999;
    --rv-border: #d9d9d9;
    --rv-font: EvrazSans, "Segoe UI", system-ui, sans-serif;

    margin: 0;
    padding: 32px 0 80px;
    background: #F9F9F9;
    color: var(--rv-text);
    font-family: var(--rv-font);
}

/* custom.css делает вложенный main прозрачным — иначе фон сливается с белым body */
body:has(> .esb-hdr) > main.rv-page,
body:has(> .esb-hdr) > main > main.rv-page {
    padding-top: 29px;
    background: #F9F9F9;
}

/* ========== Детальная страница отзыва (только свои классы) ========== */
.rv-detail {
    --rv-purple: #a16aac;
    --rv-purple-dark: #722082;
    --rv-orange: #ff6600;
    --rv-text: #2c2c2c;
    --rv-muted: #999999;
    --rv-border: #d9d9d9;
    --rv-font: EvrazSans, "Segoe UI", system-ui, sans-serif;

    margin: 0;
    padding: 0 0 80px;
    display: flow-root;
    background: #F9F9F9;
    color: var(--rv-text);
    font-family: var(--rv-font);
}

.rv-detail *,
.rv-detail *::before,
.rv-detail *::after {
    box-sizing: border-box;
}

body:has(> .esb-hdr) > main:has(.rv-detail),
body:has(> .esb-hdr) > main > main:has(.rv-detail) {
    padding-top: 0;
    background: #F9F9F9;
}

.rv-detail__wrap {
    width: 100%;
    max-width: 1330px;
    margin-inline: auto;
}

.rv-detail-crumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;
    min-width: 0;
    padding: 32px 0;
    color: var(--rv-muted);
    font-size: 15px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
}

.rv-detail-crumbs__item {
    position: relative;
    flex: none;
    color: var(--rv-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.rv-detail-crumbs__item:hover {
    color: #f9b72a;
}

.rv-detail-crumbs__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -19px;
    width: 8px;
    height: 0.5px;
    background: var(--rv-muted);
    transform: translateY(-50%);
}

.rv-detail-crumbs__item--current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--rv-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rv-detail-crumbs__item--current:hover {
    color: #f9b72a;
}

.rv-article {
    display: flex;
    flex-direction: column;
}

.rv-article__layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 34px;
}

.rv-article__main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    padding: 0;
}

.rv-article__head {
    margin-bottom: 27px;
}

.rv-article__title {
    margin: 0 0 30px;
    color: var(--rv-text);
    font-family: var(--rv-font);
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0.01em;
    text-align: start;
    text-transform: none;
}

.rv-article__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rv-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
}

.rv-article__tag {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-right: 4px;
    padding: 6px 12px;
    border: 1px solid var(--rv-border);
    border-radius: 2px;
    background: #fff;
    color: var(--rv-text);
    font-size: 15px;
    line-height: 1.2;
}

.rv-article__tag.is-active {
    margin-right: 32px;
    border-color: var(--rv-purple);
    background: var(--rv-purple);
    color: #fff;
}

.rv-article__date {
    flex: none;
    color: var(--rv-muted);
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
}

.rv-article__body {
    display: flex;
    flex-direction: column;
    padding: 32px 48px;
    background: #fff;
}

.rv-article__content {
    display: block;
    margin-top: 64px;
    color: #616161;
    font-size: 18px;
    line-height: 28px;
}

.rv-article__content > *:first-child {
    margin-top: 0;
}

.rv-article__content p,
.rv-article__content ul,
.rv-article__content ol,
.rv-article__content blockquote {
    margin: 0 0 16px;
}

.rv-article__content p {
    margin: 0;
}

.rv-article__content ul,
.rv-article__content ol {
    padding-left: 22px;
}

.rv-article__content img,
.rv-article__content video,
.rv-article__content iframe {
    max-width: 100%;
    height: auto;
}

.rv-article__content a {
    color: var(--rv-orange);
}

.rv-article__content h2 {
    margin: 40px 0 16px;
    color: var(--rv-text);
    font-family: var(--rv-font);
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    text-transform: none;
}

.rv-article__content h3 {
    margin: 28px 0 12px;
    color: var(--rv-text);
    font-family: var(--rv-font);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
}

.rv-article__side {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 308px;
    gap: 48px;
    position: sticky;
    top: 140px;
}

.rv-article__missing {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 24px;
}

.rv-side {
    display: flex;
    flex-direction: column;
    padding: 32px 16px;
    background: #fff;
}

.rv-side__title {
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #D9D9D9;
    color: var(--rv-text);
    font-family: var(--rv-font);
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-align: start;
    text-transform: none;
}

.rv-side-rubrics {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rv-rubric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-height: 42px;
    padding: 10px 16px;
    border-bottom: 1px solid #D9D9D9;
    color: #616161;
    font-family: var(--rv-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    text-decoration: none;
}

.rv-rubric:hover {
    color: var(--rv-purple);
}

.rv-rubric.is-active {
    background: #F6F0F7;
}

.rv-rubric.is-active::after {
    content: "";
    flex: none;
    width: 13px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='9' viewBox='0 0 13 9' fill='none'%3E%3Cpath d='M0.601562 3.39998L4.72656 7.59998L11.6016 0.599976' stroke='%23722082' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rv-back-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.rv-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 218px;
    height: 60px;
    margin-top: 64px;
    padding: 0 24px;
    border: 1px solid #999999;
    max-width: 218px;
    color: #2C2C2C;
    font-family: var(--rv-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
}

.rv-back:hover {
    color: var(--rv-text);
}

.rv-back__icon {
    flex: none;
    width: 16px;
    height: 16px;
    color: #999999;
}

.rv-hero {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.rv-hero--letter {
    width: 100%;
    overflow: visible;
    background: transparent;
}

.rv-hero img {
    display: block;
    width: 600px;
    max-width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}

.rv-hero--letter img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 815px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
    background: #fff;
    box-shadow: 0 0 10px 0 #0000001A;
}

.rv-hero .rv-card__play {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 3;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #a16aac;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    transform: translate(-50%, -50%);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.rv-hero__placeholder {
    display: block;
    height: 360px;
    background: #f5f5f5;
}

.rv-hero__frame {
    display: block;
    width: 600px;
    max-width: 100%;
    height: 360px;
    border: 0;
    background: #f5f5f5;
}


.rv-page *,
.rv-page *::before,
.rv-page *::after,
.rv-modal,
.rv-modal *,
.rv-zoom,
.rv-zoom * {
    box-sizing: border-box;
}

.rv-wrap {
    width: 100%;
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 24px;
}

.rv-crumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 32px;
    overflow: hidden;
    color: var(--rv-muted);
    font-size: 15px;
    line-height: 22px;
    white-space: nowrap;
}

.rv-crumbs a {
    color: inherit;
    text-decoration: none;
}

.rv-crumbs a:hover {
    color: var(--rv-text);
}

.rv-title {
    margin: 0 0 48px;
    font-family: var(--rv-font);
    font-weight: 500;
    font-size: 40px;
    line-height: 28px;
    color: var(--rv-text);
    text-align: start;
    text-transform: none;
}

.rv-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.rv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    border: 1px solid var(--rv-border);
    background: #fff;
    max-height: 40px;
}

.rv-tab {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 32px;
    margin: 0;
    padding: 0 13px;
    border: 0;
    border-radius: 2px;
    background: #fff;
    color: var(--rv-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.rv-tab:hover {
    background: #f0f0f0;
}

.rv-tab:focus,
.rv-tab:active {
    outline: none;
    box-shadow: none;
}

.rv-tab.is-active,
.rv-tab.is-active:hover {
    background: var(--rv-purple);
    color: #fff;
}

.rv-types {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.rv-chip {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--rv-border);
    border-radius: 2px;
    background: #fff;
    color: var(--rv-text);
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.rv-chip:hover,
.rv-chip:focus-visible {
    border-color: var(--rv-purple);
}

.rv-chip.is-active {
    border: 2px solid var(--rv-purple-dark);
    padding: 0 11px;
}

.rv-clear {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 40px;
    gap: 8px;
    margin: 0 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.rv-clear:hover {
    opacity: 0.75;
}

.rv-clear__icon {
    display: block;
    width: 20px;
    height: 20px;
}

.rv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.rv-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    min-height: 550px;
    max-height: 550px;
}

.rv-card[hidden] {
    display: none !important;
}

.rv-card__badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 8px 12px;
    background: var(--rv-purple-dark);
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
}

.rv-card--text {
    position: relative;
    padding: 0 24px 24px;
}

.rv-card--text .rv-card__badge {
    position: absolute;
    top: 0;
    left: 0;
}

.rv-card--text .rv-card__author {
    margin-top: 80px;
}

.rv-card__author {
    margin: 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    text-align: start;
    text-transform: none;
}

.rv-card__text {
    margin: 24px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;
    flex-shrink: 0;
    max-height: 324px;
    overflow: hidden;
    color: var(--rv-text);
    font-size: 18px;
    line-height: 26px;
    text-align: start;
    color: #616161;
}

.rv-card__more {
    margin: 24px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rv-orange);
    font: inherit;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.rv-card__more:hover,
.rv-card__more:focus {
    color: #e65c00;
}

.rv-card__more.is-off {
    visibility: hidden;
    pointer-events: none;
}

.rv-card__date {
    margin-top: auto;
    padding-top: 24px;
    color: var(--rv-muted);
    font-size: 14px;
    line-height: 24px;
}

.rv-card__media {
    position: relative;
    display: block;
    width: 100%;
    min-height: 253px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f5f5f5 center / cover no-repeat;
    overflow: hidden;
    color: inherit;
    font: inherit;
    text-align: inherit;
    text-decoration: none;
    cursor: pointer;
}

.rv-card__media img {
    display: block;
    width: 100%;
    height: 253px;
    object-fit: cover;
}

.rv-card__frame {
    display: block;
    width: 100%;
    height: 253px;
    border: 0;
    pointer-events: none;
    background: #f5f5f5;
}


.rv-card__hit {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.rv-card__media--letter,
.rv-card__media--letter img {
    background-color: #CBD1D8;
}

.rv-card__media--letter {
    height: 253px;
}

.rv-card__media--letter::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 40px;
    background: linear-gradient(to bottom, rgba(203, 209, 216, 0) 0%, rgba(203, 209, 216, 0.7) 100%);
    pointer-events: none;
}

.rv-card__media--letter img {
    width: 62%;
    height: auto;
    margin: 32px auto 0;
    object-fit: initial;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rv-card__media .rv-card__badge,
.rv-card__media .rv-card__play,
.rv-card__media .rv-card__zoom,
.rv-hero .rv-card__zoom {
    z-index: 3;
    pointer-events: none;
}

.rv-card__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    color: #fff;
    box-shadow: none;
}

button.rv-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: inherit;
    cursor: zoom-in;
}

.rv-card__media .rv-card__badge {
    position: absolute;
    top: 0;
    left: 0;
}

.rv-card__play {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--rv-purple);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.rv-card__play svg {
    margin-left: 2px;
}

.rv-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px;
}

.rv-card__title {
    margin: 0;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    text-align: start;
    text-transform: none;
}

.rv-card__title a {
    color: inherit;
    text-decoration: none;
}

.rv-card__title a:hover {
    color: inherit;
}

.rv-card__lead {
    margin: 24px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    max-height: 120px;
    overflow: hidden;
    color: #616161;
    font-size: 16px;
    line-height: 24px;
}

.rv-empty {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 24px;
    color: #616161;
}

.rv-empty[hidden],
.rv-pagination[hidden] {
    display: none !important;
}

.rv-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
}

.rv-pagination__nav {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #999999;
    font: inherit;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.rv-pagination__nav.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.rv-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rv-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid var(--rv-border);
    background: #fff;
    color: var(--rv-text);
    font: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.rv-pagination__page:hover {
    border-color: var(--rv-purple);
}

.rv-pagination__page.is-active,
.rv-pagination__page.is-active:hover {
    border-color: var(--rv-purple);
    background: var(--rv-purple);
    color: #fff;
}

.rv-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: var(--rv-font, EvrazSans, "Segoe UI", system-ui, sans-serif);
}

.rv-modal[hidden],
.rv-zoom[hidden] {
    display: none !important;
}

.rv-zoom {
    position: fixed;
    inset: 0;
    z-index: 3100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px 24px;
}

.rv-zoom__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}

.rv-zoom__dialog {
    position: relative;
    z-index: 1;
    max-width: min(960px, 100%);
    max-height: 100%;
}

.rv-zoom__dialog img {
    display: block;
    max-width: min(960px, 92vw);
    max-height: calc(100vh - 96px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.rv-zoom__close {
    position: absolute;
    top: -44px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.rv-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.rv-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(80vh, 720px);
    overflow: auto;
    padding: 64px;
    background: #fff;
}

.rv-modal__close {
    position: absolute;
    top: 31px;
    right: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9a9a9a;
    cursor: pointer;
}

.rv-modal__close:hover {
    color: #2c2c2c;
}

.rv-modal__author {
    margin: 0;
    padding-right: 60px;
    font-weight: 500;
    font-size: 28px;
    line-height: 20px;
    text-align: start;
    text-transform: none;
}

.rv-modal__date {
    margin: 32px 0 0;
    color: #999999;
    font-size: 16px;
    line-height: 24px;
}

.rv-modal__text {
    margin: 32px 0 0;
    color: #2c2c2c;
    font-size: 18px;
    line-height: 26px;
    white-space: pre-wrap;
}

@media (max-width: 1020px) {
    .rv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px !important;
    }
}


@media (max-width: 991px) {
    .rv-article__layout {
        flex-wrap: wrap;
        gap: 32px;
    }

    .rv-article__main {
        flex: 1 1 100%;
        width: 100%;
    }

    .rv-article__side {
        display: none;
    }

    .rv-article__title {
        margin-bottom: 0px;
        font-size: 24px;
        line-height: 30px;
    }

    .rv-article__head {
        margin-bottom: 8px;
        padding: 0 16px 24px;
    }

    .rv-detail-crumbs {
        gap: 20px;
        padding: 20px 16px 0;
    }

    .rv-detail-crumbs__item:not(:last-child)::after {
        right: -14px;
    }

    .rv-article__tag.is-active {
        margin-right: 0;
    }

    .rv-article__date {
        margin-top: 10px;
        color: #999999;
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 680px) {
    .rv-page,
    body:has(> .esb-hdr) > main.rv-page,
    body:has(> .esb-hdr) > main > main.rv-page {
        padding: 16px 0 48px;
    }

    .rv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px !important;
    }

    .rv-wrap {
        padding: 0 16px;
    }

    .rv-detail-crumbs {
        font-size: 15px;
        line-height: 22px;
        padding: 19px 16px 0 16px;
    }

    .rv-article__title {
        padding:  24px 0 30px 0;
        line-height: 28px;
    }

    .rv-crumbs {
        margin-bottom: 24px !important;
        font-size: 14px !important;
    }

    .rv-chip {
        font-size: 16px !important;
    }

    .rv-filters {
        margin-bottom: 30px !important;
    }

    .rv-card {
        min-height: 530px;
        max-height: 530px;
    }

    .rv-title {
        margin: 0 0 30px !important; 
        line-height: 28px !important;
    }

    .rv-crumbs {
        gap: 6px;
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 22px;
    }

    .rv-detail-crumbs {
        font-size: 15px;
        line-height: 22px;
    }

    .rv-title {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 32px;
    }

    .rv-filters {
        gap: 12px;
        margin-bottom: 20px;
    }

    .rv-tabs {
        flex-wrap: nowrap;
        width: calc(100% + 16px);
        max-width: none;
        margin-right: -16px;
        overflow-x: auto;
        border-right: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rv-tabs::-webkit-scrollbar {
        display: none;
    }

    .rv-tab {
        flex: none;
        height: 32px;
        padding: 0 20px;
        white-space: nowrap;
    }

    .rv-types {
        gap: 4px;
    }

    .rv-chip {
        height: 40px;
        padding: 0 18px;
        font-size: 15px;
    }

    .rv-chip.is-active {
        padding: 0 17px;
    }

    .rv-clear {
        height: 40px;
        margin-left: 12px;
        color: var(--rv-text);
        font-size: 15px;
    }

    .rv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rv-card__media img,
    .rv-card__frame {
        height: 215px;
    }

    .rv-card__media,
    .rv-card__media--letter {
        min-height: 215px;
        height: 215px;
    }

    .rv-card__media--letter img {
        height: auto;
    }

    .rv-card__body {
        padding: 24px 16px;
    }

    .rv-card--text {
        padding: 0 20px 20px;
    }

    .rv-card--text .rv-card__author {
        margin-top: 55px;
    }

    .rv-card__text {
        -webkit-line-clamp: 9;
        max-height: 203px;
        line-height: 22px;
    }

    .rv-card__lead {
        -webkit-line-clamp: 5;
        max-height: 131px;
    }

    .rv-card__title {
        font-size: 22px;
        line-height: 28px;
        font-weight: 400;
    }

    .rv-pagination {
        justify-content: center;
        margin-top: 24px;
    }

    .rv-pagination__nav {
        display: none;
    }

    .rv-back-wrap {
        width: 100%;
    }

    .rv-back {
        width: 100%;
        max-width: none;
        height: 60px;
    }

    .rv-pagination__pages {
        gap: 8px;
    }

    .rv-pagination__page {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .rv-article__content {
        padding: 0;
        margin-top: 48px;
        font-size: 16px;
    }

    .rv-modal {
        align-items: stretch;
        padding: 0;
    }

    .rv-modal__dialog {
        width: 100%;
        max-height: none;
        height: 100%;
        padding: 56px 16px 32px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rv-modal__close {
        top: 16px;
        right: 16px;
    }

    .rv-modal__author {
        padding-right: 0;
        font-size: 18px;
        line-height: 26px;
    }

    .rv-modal__date {
        margin-top: 24px;
        font-size: 16px;
        line-height: 26px;
    }

    .rv-modal__text {
        margin-top: 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .rv-zoom {
        padding: 56px 12px 12px;
    }

    .rv-article__body {
        padding: 24px 16px;
    }

    .rv-hero {
        width: 100%;
        padding: 0;
    }

    .rv-hero img {
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 360;
        object-fit: cover;
        object-position: center;
    }

    .rv-hero--letter img {
        /* width: 80%; */
        margin: 0 auto;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
        box-shadow: 0 0 10px 0 #0000001A;
    }

    .rv-hero .rv-card__play {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;
        width: 56px;
        height: 56px;
        background: rgba(255, 255, 255, 0.75);
        color: #a16aac;
        box-shadow: none;
        transform: translate(-50%, -50%);
    }

    .rv-hero .rv-card__zoom {
        right: 28px;
        bottom: 12px;
    }

    .rv-hero .rv-hero__frame {
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 360;
    }
}
