﻿/* Records 首页 RecordsIndex */
.ri-page {
    background: #fff;
    color: #1a1a1a;
    font-family: "HarmonyOS Sans";
}

.ri-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===== Hero ===== */
.ri-hero {
    position: relative;
    background: #0b1f3a center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.ri-hero__mask {
    position: absolute;
    inset: 0;
    /* 左侧加深保证文案可读，右侧尽量透出背景图中的卡片 */
    background: linear-gradient(90deg, rgba(8, 24, 48, 0.88) 0%, rgba(8, 24, 48, 0.55) 48%, rgba(8, 24, 48, 0.12) 72%, rgba(8, 24, 48, 0.05) 100%);
    pointer-events: none;
}

.ri-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    /* 底部预留约半张搜索卡高度，便于卡片跨 Hero / 内容区分界 */
    padding: 72px 0 120px;
    min-height: 420px;
}

.ri-hero__left {
    flex: 0 1 720px;
    max-width: 720px;
}

.ri-hero__title-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    max-width: 100%;
}

.ri-hero__title {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.ri-hero__title-icon-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    line-height: 0;
}

.ri-hero__title-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    line-height: 0;
    cursor: pointer;
}

.ri-hero__title-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ri-hero__tip {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
    z-index: 3;
    box-sizing: border-box;
    width: 350px;
    max-width: 350px;
    padding: 10px 12px;
    background: #f5f5f5;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    white-space: normal;
    word-wrap: break-word;
}

.ri-hero__title-icon-wrap:hover .ri-hero__tip {
    display: block;
}

.ri-hero__desc {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}

.ri-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0060ff;
    color: #fff !important;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ri-hero__cta:hover {
    background: #3e86fd;
    color: #fff !important;
}

.ri-hero__cta:active {
    transform: scale(0.98);
}

.ri-hero__features {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 28px;
    width: 100%;
}

.ri-hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid rgba(215, 234, 255, 0.45);
    border-radius: 10px;
    background: #1e2c43;
    box-sizing: border-box;
}

.ri-hero__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    line-height: 0;
}

.ri-hero__feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ri-hero__feature-text {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    color: #D7EAFF;
}

/* ===== Search bar（悬浮在 Hero 与内容区之间，上下各叠一半，避免中间多一条白底） ===== */
.ri-search-wrap {
    position: relative;
    z-index: 2;
    margin-top: -80px;
    margin-bottom: -80px;
}

.ri-search-wrap > .ri-container {
    max-width: 1300px;
}

.ri-search {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    height: 160px;
    min-height: 160px;
    padding: 0 58px;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    box-shadow: 0 0 62.4px rgba(167, 170, 179, 0.3);
}

.ri-search__field {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.ri-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    color: #b0b0b0;
    pointer-events: none;
}

.ri-search__input {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    height: 50px;
    padding: 0 16px 0 42px;
    border: 1px solid #DEDEDE;
    border-radius: 4px;
    background: #FFFFFF;
    font-family: "HarmonyOS Sans";
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
    text-align: left;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.ri-search__trigger {
    overflow: hidden;
}

.ri-search__placeholder {
    color: #b8b8b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ri-search__summary {
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ri-search__input:hover,
.ri-search__input:focus {
    border-color: #0060FF;
    box-shadow: 0 0 0 3px rgba(0, 96, 255, 0.12);
}

.ri-search__input::placeholder {
    color: #b8b8b8;
}

.ri-search__btn {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 172px;
    height: 50px;
    padding: 1px 18px 1px 0;
    border: none;
    border-radius: 6px;
    background: #0060FF;
    color: #FFFFFF;
    font-family: "HarmonyOS Sans";
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease-out;
}

.ri-search__btn-arrow {
    flex: none;
    width: 16px;
    height: 16px;
}

.ri-search__btn:hover {
    background: #3e86fd;
}

.ri-search__btn:active {
    background: #80b0ff;
}

/* 搜索卡下半部落在下一区块背景上，标题与卡片底部留出间距 */
.ri-search-wrap + .ri-section,
.ri-search-wrap + .ri-filter + .ri-section {
    padding-top: 116px;
}

/* ===== Filter modal（对齐 Figma 772×837） ===== */
body.ri-filter-open {
    overflow: hidden;
}

.ri-filter {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 72px 24px;
    box-sizing: border-box;
}

.ri-filter[hidden] {
    display: none !important;
}

.ri-filter__mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.ri-filter__panel-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 772px;
    overflow: visible;
    /* 相对原尺寸等比缩小为 80% */
    zoom: 0.8;
}

@supports not (zoom: 1) {
    .ri-filter__panel-wrap {
        transform: scale(0.8);
        transform-origin: center center;
        margin: -10% 0;
    }
}

.ri-filter__close {
    position: absolute;
    top: -49px;
    right: -53px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    line-height: 0;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.ri-filter__close svg {
    display: block;
    width: 48px;
    height: 48px;
}

.ri-filter__close:hover {
    opacity: 0.85;
}

.ri-filter__close:active {
    transform: scale(0.96);
}

.ri-filter__panel {
    box-sizing: border-box;
    width: 100%;
    min-height: 837px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.ri-filter__body {
    flex: 1 1 auto;
    padding: 38px 34px 0;
}

.ri-filter__section {
    margin-bottom: 26px;
}

.ri-filter__section:last-child {
    margin-bottom: 0;
}

.ri-filter__heading {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    margin: 0 0 19px;
    padding: 0 16px;
    background: #E9EFFF;
    border-radius: 8px;
    color: #0060FF;
    font-family: "HarmonyOS Sans";
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
}

.ri-filter__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 19px;
}

.ri-filter__opt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.ri-filter__opt input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ri-filter__check {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    background: #fff;
    position: relative;
}

.ri-filter__opt input:checked + .ri-filter__check {
    border-color: #0060FF;
    background: #0060FF;
}

.ri-filter__opt input:checked + .ri-filter__check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ri-filter__text {
    font-family: "HarmonyOS Sans";
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    color: #515151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ri-filter__text[title] {
    cursor: help;
}

.ri-filter__opt.is-dimmed {
    cursor: not-allowed;
}

.ri-filter__opt.is-dimmed .ri-filter__text {
    color: #C8C8C8;
}

.ri-filter__opt.is-dimmed .ri-filter__check {
    border-color: #E0E0E0;
    background: #F7F7F7;
}

.ri-filter__footer {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    padding: 36px 34px 40px;
}

.ri-filter__submit {
    box-sizing: border-box;
    width: 114px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: #0060FF;
    color: #FFFFFF;
    font-family: "HarmonyOS Sans";
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease-out;
}

.ri-filter__submit:hover {
    background: #3e86fd;
}

.ri-filter__submit:active {
    background: #80b0ff;
}

/* ===== Section common ===== */
.ri-section {
    padding: 64px 0;
}

.ri-section--alt {
    background: #ffffff;
}

.ri-section--featured {
    background: #ffffff;
}

.ri-section--browse {
    background: #ffffff;
}

.ri-section--reviews {
    background: #f7f7f7;
}

.ri-section__title {
    margin: 0 0 12px;
    text-align: center;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    color: #1a1a1a;
}

.ri-section__subtitle {
    margin: 0 auto 36px;
    max-width: 720px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.ri-section__title + .ri-featured-grid,
.ri-section__title + .ri-browse,
.ri-section__title + .insights-records {
    margin-top: 36px;
}

/* ===== Featured ===== */
.ri-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ri-featured-card {
    display: flex;
    align-items: stretch;
    gap: 18px;
    min-height: 200px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.ri-featured-card__media {
    flex: 0 0 42%;
    max-width: 42%;
    border-radius: 10px;
    background: #f3f5f8;
    overflow: hidden;
}

.ri-featured-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ri-featured-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 4px 2px 0;
    min-width: 0;
}

.ri-featured-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.ri-featured-card__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ri-featured-card__actions {
    margin-top: 16px;
}

.ri-featured-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #0060ff;
    border-radius: 6px;
    background: transparent;
    color: #0060ff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.ri-featured-card__btn:hover {
    background: #0060ff;
    color: #fff !important;
}

/* Case / Reviews / Video 区块底部 CTA（Figma 描边按钮） */
.ri-section-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.ri-section-cta {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto;
    min-width: 0;
    height: 50px;
    padding: 1px 18px;
    border: 1px solid #0060FF;
    border-radius: 6px;
    background: transparent;
    color: #0060FF !important;
    font-family: "HarmonyOS Sans";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease-out, color 0.15s ease-out;
}

.ri-section-cta__arrow {
    flex: none;
    display: block;
}

.ri-section-cta__text {
    display: inline-flex;
    align-items: center;
}

.ri-section-cta:hover {
    background: rgba(0, 96, 255, 0.06);
    color: #0060FF !important;
}

.ri-section-cta:active {
    background: rgba(0, 96, 255, 0.12);
    color: #0060FF !important;
}

/* Reviews 区块 CTA / 评价卡片：填充色与模块灰底一致，避免白底浮块 */
.ri-page .ri-section--reviews .ri-section-cta {
    background-color: #f7f7f7 !important;
}

.ri-page .ri-section--reviews .ri-section-cta:hover {
    background-color: rgba(0, 96, 255, 0.06) !important;
}

.ri-page .ri-section--reviews .ri-section-cta:active {
    background-color: rgba(0, 96, 255, 0.12) !important;
}

.ri-page .ri-section--reviews .feedback-index__review-card {
    background: #f7f7f7;
}

.ri-featured-card__links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.ri-featured-card__link {
    font-size: 13px;
    color: #888 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ri-featured-card__link:hover {
    color: #0060ff !important;
}

/* ===== Latest table ===== */
.ri-page .ri-section--latest {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.ri-page .ri-section--latest::before,
.ri-page .ri-section--latest::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 201, 255, 0.51);
    pointer-events: none;
    z-index: 0;
}

/* Figma Ellipse 431 - 左侧光晕 */
.ri-page .ri-section--latest::before {
    width: 1105px;
    height: 736px;
    left: -168px;
    top: 50%;
    transform: translateY(-50%);
    filter: blur(225px);
}

/* Figma Ellipse 432 - 右侧光晕 */
.ri-page .ri-section--latest::after {
    width: 1181px;
    height: 623px;
    right: -200px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    filter: blur(250px);
}

.ri-page .ri-section--latest > .ri-container {
    position: relative;
    z-index: 1;
}

.ri-page .insights-records {
    margin-bottom: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(40, 70, 120, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
}

.ri-page .insights-records__table {
    margin: 0;
    background: #fff;
    border-radius: 0;
    min-width: 960px;
    table-layout: fixed;
}

.ri-page .insights-records__table th,
.ri-page .insights-records__table td {
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none;
}

.ri-page .insights-records__table th {
    background-color: #F7F7F7;
    color: #333333;
    font-weight: 500;
    text-align: left;
    padding: 16px 14px;
    white-space: nowrap;
}

.ri-page .insights-records__table th:first-child,
.ri-page .insights-records__table th:last-child {
    border-radius: 0;
}

.ri-page .insights-records__table td {
    background: #fff;
    color: #555;
    text-align: left;
    padding: 16px 14px;
}

.ri-page .insights-records__table td:first-child,
.ri-page .insights-records__table td:nth-child(3),
.ri-page .insights-records__table td:nth-child(7),
.ri-page .insights-records__table td:last-child {
    white-space: nowrap;
}

.ri-page .insights-records__table tbody tr:nth-child(even) td {
    background: #fff;
}

.ri-page .insights-records__table tr:last-child td:first-child,
.ri-page .insights-records__table tr:last-child td:last-child {
    border-radius: 0;
}

.ri-page .insights-records__empty {
    text-align: center;
    color: #888;
    padding: 24px;
}

.ri-page .insights-records__link {
    color: #0060ff !important;
    text-decoration: none !important;
}

.ri-page .insights-records__link:hover {
    color: #3e86fd !important;
    text-decoration: underline !important;
}

/* ===== Browse accordion ===== */
.ri-browse {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 4px 50px rgba(167, 170, 179, 0.2);
    border-radius: 10px;
    padding: 28px 36px 12px;
}

.ri-browse__item {
    border-bottom: none;
}

.ri-browse__item + .ri-browse__item {
    margin-top: 8px;
}

.ri-browse__head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 0 14px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
    text-align: left;
}

/* 分割线颜色：与图标顺序 1–6 对应（Figma） */
.ri-browse__item--1 .ri-browse__head { border-bottom-color: #6FA987; }
.ri-browse__item--2 .ri-browse__head { border-bottom-color: #F6B08B; }
.ri-browse__item--3 .ri-browse__head { border-bottom-color: #C79C7D; }
.ri-browse__item--4 .ri-browse__head { border-bottom-color: #9D6757; }
.ri-browse__item--5 .ri-browse__head { border-bottom-color: #73BEB8; }
.ri-browse__item--6 .ri-browse__head { border-bottom-color: #B0C87A; }

.ri-browse__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 24px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f5;
}

.ri-browse__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ri-browse__name {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.ri-browse__line {
    flex: 1 1 auto;
    height: 1px;
    background: transparent;
    margin: 0;
}

.ri-browse__chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #B0B0B0;
}

.ri-browse__item.is-collapsed .ri-browse__chevron {
    transform: rotate(90deg);
}

.ri-browse__body {
    padding: 18px 0 22px 48px;
}

.ri-browse__item.is-collapsed .ri-browse__body {
    display: none;
}

.ri-browse__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ri-browse__grid a {
    position: relative;
    display: block;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.15s ease-out;
}

.ri-browse__grid a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c5c9d2;
    transition: background 0.15s ease-out;
}

.ri-browse__grid a:hover,
.ri-browse__grid a:active,
.ri-browse__grid a:focus {
    color: #0060ff !important;
}

.ri-browse__grid a:hover::before,
.ri-browse__grid a:active::before,
.ri-browse__grid a:focus::before {
    background: #0060ff;
}

/* ===== Cases ===== */
.ri-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.ri-case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f4;
}

.ri-case-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #f3f5f8;
    overflow: hidden;
}

.ri-case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ri-case-card__tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.ri-case-card__body {
    padding: 18px 18px 20px;
}

.ri-case-card__title {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a !important;
    line-height: 1.35;
    text-decoration: none !important;
}

.ri-case-card__title:hover {
    color: #0060ff !important;
}

.ri-case-card__date {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #999;
}

.ri-case-card__desc {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ri-case-card__more {
    color: #0060ff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.ri-case-card__more:hover {
    text-decoration: underline !important;
}

/* ===== Reviews ===== */
.ri-page .feedback-index__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ===== Videos（对齐 Video/Index 横排长视频卡片） ===== */
/* 覆盖 insights.css 的 a:hover svg { transform: translateX(12px) }，避免卡片内图标位移 */
.ri-page a:hover svg {
    transform: none;
}

/* 与 .video-page__jp 一致：1300px，保证封面图展示尺寸与视频首页一致 */
.ri-page .ri-videos-container {
    max-width: 1300px;
}

.ri-page .ri-section--videos .video-page {
    background: transparent;
    color: inherit;
}

.ri-page .ri-section--videos .video-page__card-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ri-page .ri-section--videos .video-page__card-row-item {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.ri-page .ri-section--videos .video-page__card {
    width: 100%;
    max-width: none;
    flex: none;
    margin: 0;
    border-radius: 16px;
    background-color: #fff;
    border: 1px solid #E8E8E8;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.ri-page .ri-section--videos .video-page__card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 2px 17.7px rgba(89, 114, 179, 0.15);
}

.ri-page .ri-section--videos .video-page__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: inherit;
    overflow: hidden;
}

/* 封面：与 video/index.css .video-page__thumb--card 一致（高度 200px） */
.ri-page .ri-section--videos .video-page__thumb--card {
    position: relative;
    overflow: hidden;
    background-color: #e8e8e8;
    padding-top: 200px;
    border-radius: 12px 12px 0 0;
}

.ri-page .ri-section--videos .video-page__thumb--card img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ri-page .ri-section--videos .video-page__card-body {
    padding: 16px 8px 20px;
}

.ri-page .ri-section--videos .video-page__card-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    height: 43px;
    color: #000;
}

.ri-page .ri-section--videos .video-page__card:hover .video-page__card-title {
    color: #0060FF;
}

@media screen and (max-width: 1200px) {
    .ri-page .ri-section--videos .video-page__card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 560px) {
    .ri-page .ri-section--videos .video-page__card-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Bottom CTA ===== */
.ri-bottom-cta {
    padding: 72px 0 80px;
    text-align: center;
    background-color: #fff;
    background-image: url("https://aivon.obs.la-north-2.myhuaweicloud.com/aivon/articlecover/2026/7/28/1tjezr-compress.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.ri-bottom-cta__title {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
    color: #1a1a1a;
}

.ri-bottom-cta__subtitle {
    margin: 0 auto 28px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #666666;
}

.ri-bottom-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    padding: 14px 28px;
    background: #0060ff;
    color: #fff !important;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    transition: background 0.15s ease-out;
}

.ri-bottom-cta__btn:hover {
    background: #3e86fd;
    color: #fff !important;
}

.ri-bottom-cta__btn:active {
    background: #80b0ff;
    color: #fff !important;
}

@media (max-width: 1024px) {
    .ri-hero__inner {
        padding: 48px 0 40px;
    }

    .ri-hero__left {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .ri-featured-grid,
    .ri-cases-grid,
    .ri-browse__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ri-page .feedback-index__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ri-hero__title {
        font-size: 28px;
    }

    .ri-bottom-cta__title {
        font-size: 28px;
    }

    .ri-search-wrap {
        margin-top: -40px;
        margin-bottom: -40px;
    }

    .ri-search-wrap + .ri-section,
    .ri-search-wrap + .ri-filter + .ri-section {
        padding-top: 72px;
    }

    .ri-search {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        height: auto;
        min-height: 0;
        padding: 24px 16px;
    }

    .ri-search__input {
        max-width: none;
        border-radius: 4px;
    }

    .ri-search__btn {
        width: 100%;
        padding: 1px 18px;
        border-radius: 6px;
    }

    .ri-filter {
        padding: 56px 20px 16px;
        align-items: flex-start;
    }

    .ri-filter__panel-wrap {
        max-width: 100%;
        margin-top: 0;
        zoom: 1;
        transform: none;
        margin: 0;
    }

    .ri-filter__panel {
        min-height: 0;
        border-radius: 14px;
    }

    .ri-filter__close {
        top: -52px;
        right: 0;
        width: 40px;
        height: 40px;
    }

    .ri-filter__close svg {
        width: 40px;
        height: 40px;
    }

    .ri-filter__body {
        padding: 24px 16px 0;
    }

    .ri-filter__heading {
        height: 44px;
        margin-bottom: 14px;
        font-size: 15px;
    }

    .ri-filter__grid {
        column-gap: 12px;
        row-gap: 14px;
    }

    .ri-filter__opt {
        max-width: calc(50% - 6px);
    }

    .ri-filter__text {
        white-space: normal;
    }

    .ri-filter__footer {
        padding: 24px 16px 28px;
    }

    .ri-filter__submit {
        width: 114px;
    }

    .ri-hero__features {
        flex-wrap: wrap;
    }

    .ri-hero__feature {
        flex: 1 1 100%;
    }

    .ri-featured-grid,
    .ri-cases-grid,
    .ri-browse__grid {
        grid-template-columns: 1fr;
    }

    .ri-featured-card {
        flex-direction: column;
        gap: 14px;
    }

    .ri-featured-card__media {
        max-width: none;
        flex-basis: auto;
        height: 180px;
    }

    .ri-featured-card__body {
        padding: 0;
    }

    .ri-browse__body {
        padding-left: 0;
    }

    .ri-page .feedback-index__grid {
        grid-template-columns: 1fr;
    }
}
