/* Animate Accordion Bottom Grid */
.accordion-css__item-bottom {
    transition: grid-template-rows 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

[data-accordion-status="active"] .accordion-css__item-bottom {
    grid-template-rows: 1fr;
}

/* Animate Icon */
.accordion-css__item-icon {
    transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

[data-accordion-status="active"] .accordion-css__item-icon {
    transform: rotate(0.001deg);
}

#hd .sec-vid .hd-content {
    background: #000;
}

.w-embed:before,
.w-embed:after {
    display: none;
}

:root {
    --swiper-scrollbar-bottom: auto;
    --swiper-scrollbar-top: 0px;
    --swiper-scrollbar-sides-offset: 0px;
    --swiper-scrollbar-drag-bg-color: rgba(255, 255, 255, 0.3);
    --swiper-scrollbar-bg-color: rgba(255, 255, 255, 0.3);
}

#hd .feature-list,
.rn-highlights,
.rn-single-highlight {
    font-size: 0.8em;
}

.r-mark {
    font-size: 0.6em;
    position: relative;
    top: -0.8em;
    display: inline-block;
    background: inherit;
    /* 繼承父元素背景 */
    -webkit-background-clip: text;
    /* 套用到子元素 */
    -webkit-text-fill-color: transparent;
}

[data-animation="fast"] .rng-letter span {
    display: block;
    transform: translateY(0%);
}

[data-animation] {
    opacity: 0;
}

.wf-design-mode [data-animation] {
    opacity: 1;
}

.wf-design-mode .swiper {
    overflow-x: auto;
}

[data-animation="vivid"] {
    background-image: linear-gradient(90deg, rgb(89, 187, 255), rgb(190, 65, 255), rgb(255, 152, 234), rgb(89, 187, 255), rgb(190, 65, 255), rgb(255, 152, 234), rgb(89, 187, 255), rgb(190, 65, 255), rgb(255, 152, 234));
    background-position: 0px center;
    -webkit-background-clip: text;
    color: transparent;
    background-size: 300%;
}

#hd .sec-fast .vid-wrapper.vid-wrapper--v2 {
    width: 67.5%;
    top: 6.5%;
}

#hd .sec-fast .vid-wrapper.vid-wrapper--v2 .vid-container {
    padding-bottom: 62.6%;
}

#hd .sec-vivid .vid-wrapper {
    width: 70.25%;
    top: 5.3%;
    perspective: 225vw;
}

#hd .sec-vivid .vid-container {
    padding-bottom: 72.25%;
}

#hd .color-gradient,
.color-gradient {
    background-image: linear-gradient(115deg, #ff1414, #d108fe);
}

#hd p {
    color: rgba(255, 255, 255, 0.85);
}

.clear-style .no-clear .rn-fill-fig {
    height: 100%;
}

.clear-style .no-clear .rn-hdr-fig {
    max-width: none;
    height: 100%;
}

#hd .sec-vivid .no-transform .vid-container {
    transform: none;
}

#hd .sec-vivid .no-transform figure {
    margin: 0;
}

img::selection {
    background: none;
}

.splitter-handle__center::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100em;
    opacity: 1;
    border: 1px solid white;
    transition: all 0.4s cubic-bezier(0.35, 1, 0.6, 1);
}

.splitter-handle:hover .splitter-handle__center::after {
    width: 130%;
    height: 130%;
    opacity: 0.5;
}

.preview-follower__inner,
.preview-follower__label {
    transition: opacity 0.1s ease, transform 0.6s cubic-bezier(0.65, 0.1, 0, 1);
}

/* html:not(.wf-design-mode) */
.preview-follower__inner {
    opacity: 0;
    transform: scale(0);
}

/* html:not(.wf-design-mode) */
.preview-follower__label {
    opacity: 0;
    transform: translate(0px, 100%);
}

.preview-follower [data-follower-visual] {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
}

@media screen and (min-width: 992px) {
    .rn-hdr-block:hover .rn-hdr-fig {
        transform: scale(1.1);
    }

    .rn-hdr-block:hover .rnh-top {
        transform: translateY(-100px);
    }

    .rn-hdr-block:hover .rnh-bottom {
        transform: translateY(100px);
    }

    .rn-hdr-block:hover .rnh-mask,
    .rn-hdr-block:hover .rn-hdr-fig {
        opacity: 1;
    }

    .preview-item:last-of-type {
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }
}

@media (hover: hover) and (min-width: 992px) {
    body:has([data-follower-collection]: hover) .preview-follower__inner {
        opacity: 1;
        transform: scale(1);
    }

    body:has([data-follower-collection]:hover) .preview-follower__label {
        opacity: 1;
        transform: translate(0px, 0%);
    }

    body:has(.preview-item:hover) .preview-item:not(:hover) {
        opacity: 0.5;
    }
}

@media screen and (max-width: 991px) {
    #hd .sec-spec tbody th.rn-spec-section-title {
        width: 6em;
        padding-right: 1em;
    }

    #hd .sec-spec .hd-container {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    #hd .sec-spec tbody th.rn-spec-section-title {
        width: 100%;
        padding-right: 0;
        font-size: 1.5em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        line-height: 1.2;
    }

    #hd .sec-spec tbody th.rn-spec-group-title {
        opacity: 0.8;
        font-size: 0.875rem !important;
        padding-top: 1em;
        padding-bottom: 1em;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    #hd .sec-spec tbody th strong {
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-image: linear-gradient(115deg, #ff1414, #d108fe);
    }

    #hd .sec-spec tbody th {
        text-align: center;
    }

    #hd .sec-spec tbody td {
        padding: 0.5em 0;
    }

    .r-mark {
        top: -0.2em;
    }
}

@media screen and (max-width: 478px) {
    #hd .sec-kv .vid-container {
        aspect-ratio: 9 / 16;
        height: auto;
    }

    #hd .sec-vivid figure {
        width: 100%;
        margin: -8.5% 0 -32.5% 0;
    }

    #hd .sec-kv .vid-container video {
        height: 100%;
        top: 0%;
    }
}

/*mars fix*/
[dir] a.link-block-2 {
    background-color: #e7e7e7;
}
[dir] .disclaimer-new a,
[dir] .accordion-css a {
    color: inherit;
}
.accordion-css__item-top {
    text-decoration: none;
}


.preview-item__visual-img {
    background: #000;
}

@media screen and (min-width: 2560px) {
    #hd {
        font-size:18px
    }
}

@media screen and (min-width: 3000px) {
    #hd {
         font-size:20px; 
    }
}

#hd .sec-vivid figure {
    margin-top: -16.5%;
}

#hd .sec-vid,
#hd .sec-spec th {
    line-height: 1.2;
}

#hd .sec-fast {
    background: #090b11;
}

#hd h2.rng-title { font-size: 3.5em; line-height: 1.2; }
@media screen and (max-width: 1024px) {
    #hd h2.rng-title {
        font-size: 3em;
    }
}
@media screen and (max-width: 480px) {
    #hd h2.rng-title {
        font-size: 2em;
    }
}

#hd { background: #000; }

@media screen and (max-width: 479px) {
    .sec-vivid {
        background-color: #000;
    }
}

#hd .sec-vid .hd-content i {
    display: none;
}

.rnh-slide-title {
    font-family: TradeGothicLTPro, Roboto, "Segoe UI", Arial, "PingFang TC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
    font-size: 1.4em;
    font-weight: 700;
}
