.stm-catalog-video-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    max-width: 100%;
    padding: 8px 13px;
    border: 1px solid #07508a;
    border-radius: 6px;
    background: #0b609f;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.stm-catalog-video-link:hover,
.stm-catalog-video-feature:hover .stm-catalog-video-feature-action {
    background: #084a80;
}

.stm-catalog-video-link:focus-visible,
.stm-oi .stm-catalog-video-feature:focus-visible {
    outline: 2px solid #268fe0;
    outline-offset: 3px;
}

.stm-catalog-video-play {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: none;
    border: 1px solid #fff7;
    border-radius: 50%;
    background: #ffffff24;
    color: #fff;
    font-size: 11px;
}

.stm-catalog-video-play :is(i,svg) {
    margin-inline-start: 1px;
    font-size: inherit;
}

.stm-catalog-video-duration {
    color: #d8eefb;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.stm-catalog-video-highlight {
    margin-top: 13px;
}

.stm-catalog-video-preview {
    display: inline-grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    width: min(100%, 280px);
    padding: 5px 12px 5px 5px;
}

.stm-catalog-video-thumb {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 3px;
    background: #082a43;
}

.stm-catalog-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stm-catalog-video-thumb .stm-catalog-video-play,
.stm-catalog-video-poster .stm-catalog-video-play {
    position: absolute;
    background: #071f33d9;
}

.stm-catalog-video-label {
    display: grid;
    justify-items: start;
    gap: 2px;
}

.stm-product-video-actions {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-block: calc(12px + var(--stm-hero-video-offset, 0px)) 14px;
}

.su-hero > .stm-product-video-actions {
    width: var(--stm-content-width, 92%);
    max-width: var(--stm-content-max, none);
    margin-inline: auto;
}

.stm-product-video-actions .stm-catalog-video-hero {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: min(39%, 120px) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: min(100%, 320px);
    min-height: 96px;
    padding: 10px 12px;
    border: 1px solid #b7d1e6;
    border-radius: 8px;
    background: #f9fcfff7;
    color: #142e47;
    box-shadow: 0 3px 12px #123c5e1c;
    transition: border-color .22s ease, box-shadow .22s ease, translate .22s ease;
}

.stm-product-video-actions .stm-catalog-video-hero:is(:hover,:focus-visible) {
    border-color: #187dcc;
    background: #fff;
    box-shadow: 0 6px 18px #135d9633;
}

.stm-catalog-video-hero .stm-catalog-video-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    background: #0d304a;
}

.stm-catalog-video-hero .stm-catalog-video-thumb > :is(img,video) {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.stm-catalog-video-hero .stm-catalog-video-play {
    position: relative;
    width: 42px;
    height: 42px;
    border: 2px solid #ffffffc2;
    background: #fff;
    color: #0868b7;
    box-shadow: 0 2px 8px #051d4566;
    font-size: 16px;
    transition: transform .22s ease;
}

.stm-catalog-video-hero .stm-catalog-video-play svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.stm-catalog-video-hero .stm-catalog-video-label {
    min-width: 0;
    gap: 3px;
}

.stm-catalog-video-hero .stm-catalog-video-label strong {
    color: #153650;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.stm-catalog-video-hero .stm-catalog-video-subject {
    max-width: 100%;
    color: #34536b;
    font-size: 13px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.stm-catalog-video-hero .stm-catalog-video-duration {
    color: #326084;
    line-height: 1.3;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .stm-product-video-actions .stm-catalog-video-hero:hover { translate: 0 -2px; }
    .stm-catalog-video-hero:hover .stm-catalog-video-play { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
    .stm-product-video-actions .stm-catalog-video-hero,
    .stm-catalog-video-hero .stm-catalog-video-play { transition: none; }
}

@media (max-width: 760px) {
    .stm-product-video-actions { justify-content: flex-start; }
}

.stm-ps-video-actions,
.stm-pc-video-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
}

.stm-pc-video-links { margin: 0 0 16px; }
[data-pc-group="stm-sensing"] > .stm-pc-video-links {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,218px),1fr));
    align-items: stretch;
    gap: 8px 12px;
}
[data-pc-group="stm-sensing"] .stm-pc-video-links .stm-catalog-video-link {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    width: 100%;
    height: 100%;
    gap: 7px;
    padding-inline: 9px;
}
@media (max-width: 600px) {
    [data-pc-group="stm-sensing"] > .stm-pc-video-links {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    [data-pc-group="stm-sensing"] .stm-pc-video-links .stm-catalog-video-link {
        grid-template-columns: auto minmax(0,1fr);
        padding: 7px;
        row-gap: 2px;
        font-size: 12px;
    }
    [data-pc-group="stm-sensing"] .stm-pc-video-links .stm-catalog-video-play {
        width: 23px;
        height: 23px;
        grid-row: span 2;
    }
    [data-pc-group="stm-sensing"] .stm-pc-video-links .stm-catalog-video-duration {
        grid-column: 2;
        font-size: 11px;
    }
}
@media (max-width: 360px) {
    [data-pc-group="stm-sensing"] > .stm-pc-video-links {
        grid-template-columns: minmax(0,1fr);
    }
}
.dc-hero .stm-catalog-video-link { margin-top: 8px; }

.stm-oi .stm-catalog-video-feature {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: center;
    max-width: 920px;
    margin-top: clamp(20px, 3vw, 40px);
    border: 1px solid #c5dfed;
    border-radius: 8px;
    overflow: hidden;
    background: #edf6fb;
    color: #12344d;
}

.stm-catalog-video-poster {
    position: relative;
    display: grid;
    place-items: center;
    background: #061e31;
}

.stm-catalog-video-poster > img { display: block; width: 100%; height: auto; }
.stm-catalog-video-poster .stm-catalog-video-play {
    width: 48px;
    height: 48px;
    font-size: 19px;
}
.stm-catalog-video-feature:hover .stm-catalog-video-poster .stm-catalog-video-play { background: #075d95; }
.stm-catalog-video-copy { display: grid; justify-items: start; gap: 10px; padding: 18px 22px; }
.stm-catalog-video-copy strong { font-size: clamp(16px, 1.65vw, 22px); }
.stm-catalog-video-feature-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 7px 14px;
    border-radius: 5px;
    background: #0b609f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.stm-catalog-video-dialog {
    box-sizing: border-box;
    width: min(94vw, 1180px);
    max-width: none;
    max-height: 94dvh;
    padding: 0;
    overflow: auto;
    border: 1px solid #557b93;
    border-radius: 8px;
    background: #082438;
    color: #f2f8fc;
}

.stm-catalog-video-dialog::backdrop { background: #041724e3; }
.stm-catalog-video-dialog[data-presentation="hero"] {
    width: min(94vw, 960px, max(230px, calc(167dvh - 128px)));
}
.stm-catalog-video-dialog > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
}
.stm-catalog-video-dialog h2 {
    margin: 0;
    color: #f2f8fc;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.45;
}
.stm-catalog-video-dialog button {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #819bae;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.stm-catalog-video-dialog button:is(:hover,:focus) {
    background: #145173;
    color: #fff;
}
.stm-catalog-video-dialog video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(94dvh - 84px);
    background: #030b12;
}
.stm-catalog-video-dialog p { padding: 8px 16px; margin: 0; color: #dcebf4; font-size: 14px; }
.stm-catalog-video-dialog a { color: #bce5fe; text-decoration: underline; }
.stm-catalog-video-dialog :is(button,a):focus-visible { outline: 2px solid #ace0ff; outline-offset: 2px; }
.stm-catalog-video-dialog [hidden], .stm-pc-video-links [hidden], .stm-pc-video-links[hidden] { display: none !important; }

@layer stm-chinese {
    html[lang^="zh"] body .stm-catalog-video-link:not(.stm-catalog-video-hero),
    html[lang^="zh"] body.stm-reference-home .stm-rh .stm-ps-video-actions .stm-catalog-video-link {
        color: #fff !important;
        text-decoration: none !important;
    }

    html[lang^="zh"] body .stm-catalog-video-dialog h2 {
        margin: 0 !important;
        color: #f2f8fc !important;
        font-size: clamp(17px, 1.55vw, 22px) !important;
        line-height: 1.4 !important;
    }

    html[lang^="zh"] body .stm-catalog-video-dialog button:is(:hover,:focus) {
        background: #145173 !important;
        color: #fff !important;
    }
}

@media (max-width: 767px) {
    .stm-oi .stm-catalog-video-feature { grid-template-columns: 1fr; }
    .stm-catalog-video-copy { padding: 12px 16px 16px; }
    .stm-ps-video-actions { row-gap: 12px; }
}
