/* ===== 图文视频列表卡片（video-feature-list）===== */
.f-video-feature-list__grid {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    align-items: stretch;
}

/* 左侧文字区：垂直内边距由内容列承担（右侧视频不受分区上下内边距影响） */
.f-video-feature-list__content {
    min-width: 0;
    padding-top: var(--section-padding-top, 50px);
    padding-bottom: var(--section-padding-bottom, 50px);
    padding-right: 40px;
}

/* 各容器类型下，左侧文字对齐容器框（右侧视频始终占满视口右半） */
.f-video-feature-list--container .f-video-feature-list__content {
    padding-left: 15px;
}

@media screen and (min-width: 1280px) {
    .f-video-feature-list--container .f-video-feature-list__content {
        padding-left: calc(max(0px, (100vw - var(--container-width, 1280px)) / 2) + 15px);
    }
}

.f-video-feature-list--container_fluid .f-video-feature-list__content {
    padding-left: 15px;
}

@media screen and (min-width: 1280px) {
    .f-video-feature-list--container_fluid .f-video-feature-list__content {
        padding-left: calc(max(0px, (100vw - (var(--fluid-container-width, 1620px) + var(--fluid-container-offset, 60px) * 2)) / 2) + var(--fluid-container-offset, 60px));
    }
}

.f-video-feature-list--w_full .f-video-feature-list__content {
    padding-left: 15px;
}

@media screen and (min-width: 1280px) {
    .f-video-feature-list--w_full .f-video-feature-list__content {
        padding-left: var(--fluid-container-offset, 60px);
    }
}

/* 副标题 */
.f-video-feature-list__subheading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 700;
    color: rgb(var(--color-button));
}

.f-video-feature-list__heading {
    margin: 0 0 18px;
    max-width: 620px;
    line-height: 1.15;
    color: rgb(var(--color-heading));
}

.f-video-feature-list__description {
    margin: 0 0 32px;
    max-width: 560px;
    line-height: 1.7;
    color: rgb(var(--color-foreground-secondary));
    word-break: normal;
    overflow-wrap: break-word;
}

/* Block 列表 */
.f-video-feature-list__blocks {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* 装修模式 sectionblock 包装器兜底 */
.f-video-feature-list__blocks > [class^="section_block_id_"] {
    display: contents;
}

.f-video-feature-list__block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.f-video-feature-list__block-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
}

.f-video-feature-list__block-image .f-image,
.f-video-feature-list__block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.f-video-feature-list__block-content {
    min-width: 0;
}

.f-video-feature-list__block-title {
    margin: 0 0 6px;
    color: rgb(var(--color-heading));
}

.f-video-feature-list__block-description {
    margin: 0;
    line-height: 1.6;
    color: rgb(var(--color-foreground-secondary));
    word-break: normal;
    overflow-wrap: break-word;
}

.f-video-feature-list__block-button {
    margin-top: 12px;
}

/* 右侧视频区：占满右侧上下，延伸到视口右边缘 */
.f-video-feature-list__media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.f-video-feature-list__cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.f-video-feature-list__cover--empty {
    background: rgb(var(--color-background-secondary));
}

/* 播放按钮 */
.f-video-feature-list__play-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.f-video-feature-list__play {
    position: relative;
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(var(--color-button));
    color: rgb(var(--color-button-text));
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.f-video-feature-list__play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.f-video-feature-list__play:hover {
    opacity: 0.88;
    transform: scale(1.05);
}

/* 播放按钮脉冲光圈（围绕按钮中心扩散） */
.f-video-feature-list__play::before {
    content: "";
    position: absolute;
    inset: -6px;
    z-index: -1;
    border-radius: 50%;
    background: rgb(var(--color-button));
    animation: f-video-feature-list-pulse 1500ms ease-out infinite;
}

@keyframes f-video-feature-list-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 播放按钮 360° 旋转文字 */
.f-video-feature-list__play-rotate {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    height: 190px;
    margin: -95px 0 0 -95px;
    overflow: visible;
    pointer-events: none;
    animation: f-video-feature-list-rotate 18s linear infinite;
}

.f-video-feature-list__play-ring {
    fill: rgba(255, 255, 255, 0.55);
}

.f-video-feature-list__play-rotate-text {
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@keyframes f-video-feature-list-rotate {
    to {
        transform: rotate(360deg);
    }
}

/* 移动端：上下排列（文字在上、视频在下） */
@media screen and (max-width: 989px) {
    .f-video-feature-list__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .f-video-feature-list__content {
        order: 1;
        padding: var(--section-padding-top, 50px) 15px var(--section-padding-bottom, 50px);
    }

    .f-video-feature-list--container .f-video-feature-list__content,
    .f-video-feature-list--container_fluid .f-video-feature-list__content,
    .f-video-feature-list--w_full .f-video-feature-list__content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .f-video-feature-list__media {
        order: 2;
        min-height: 0;
        aspect-ratio: 4 / 3;
        margin: 0 15px var(--section-padding-bottom, 50px);
        border-radius: var(--blocks-radius, 14px);
    }

    .f-video-feature-list__play {
        width: 64px;
        height: 64px;
    }

    .f-video-feature-list__play svg {
        width: 22px;
        height: 22px;
    }

    .f-video-feature-list__play-rotate {
        width: 160px;
        height: 160px;
        margin: -80px 0 0 -80px;
    }
}
