.smw-video {
    --smw-ink:#23251f;
    --smw-muted:#555a4f;
    --smw-accent:#46513d;
    --smw-paper:#f5f3ec;
    --smw-columns:3;
    --smw-gap:clamp(12px, 2vw, 22px);
    position:relative;
    width:100%;
    max-width:100vw;
    min-width:0;
    color:var(--smw-ink);
    background:var(--smw-paper);
    font-family:inherit;
}
.smw-video *, .smw-video *::before, .smw-video *::after {box-sizing:border-box}
.smw-video [hidden] {display:none!important}
.smw-video__shell {box-sizing:border-box;width:calc(100% - 64px);max-width:1440px;margin:0 auto;padding:48px 20px}
.smw-video__header {display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:20px}
.smw-video .smw-video__eyebrow {margin:0 0 8px;color:var(--smw-muted);font-size:11px;font-weight:700;letter-spacing:.16em}
.smw-video h2 {margin:0;color:inherit;font-size:clamp(22px,4.5vw,36px);line-height:1.15;font-weight:650;text-transform:none}
.smw-video__controls {display:flex;gap:8px;flex-shrink:0}
.smw-video .smw-video__arrow {display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #72786b;border-radius:50%;background:transparent;color:inherit;font:22px/1 system-ui;cursor:pointer}
.smw-video .smw-video__arrow:disabled {opacity:.38;cursor:default}
.smw-video .smw-video__track {display:flex;align-items:stretch;gap:var(--smw-gap);margin:0 -3px;padding:4px 3px 12px;overflow:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:3px;list-style:none;scrollbar-width:thin;scrollbar-color:#858977 transparent}
.smw-video__item {width:calc((100% - var(--smw-gap) * (var(--smw-columns) - 1)) / var(--smw-columns));min-width:0;flex:none;scroll-snap-align:start}
.smw-video[data-smw-count="2"] {--smw-columns:2}
.smw-video[data-smw-count="1"] {--smw-columns:1}
.smw-video .smw-video__card {display:block;height:100%;background:#fff;color:var(--smw-ink);border-radius:12px;overflow:hidden;text-decoration:none;border:1px solid #deded4;outline-offset:2px}
.smw-video__poster {position:relative;display:block;overflow:hidden;aspect-ratio:16/9;background:#353c2e}
.smw-video__poster img {display:block;width:100%;height:100%;object-fit:cover}
.smw-video__item--short .smw-video__poster img {object-fit:contain}
.smw-video__play {position:absolute;display:grid;place-items:center;inset:50% auto auto 50%;width:46px;height:46px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(22,28,18,.77)}
.smw-video__play::after {content:"";margin-left:3px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid white}
.smw-video__badge {position:absolute;right:7px;bottom:7px;padding:4px 6px;border-radius:4px;background:rgba(20,24,19,.85);color:#fff;font-size:11px;line-height:1}
.smw-video__title {display:block;padding:11px 12px 13px;font-size:16px;font-weight:650;line-height:1.4;overflow-wrap:normal;word-break:normal;min-height:68px}
.smw-video .smw-video__channel, .smw-video .smw-video__external {display:inline-flex;min-height:44px;align-items:center;gap:7px;color:var(--smw-accent);font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:.2em}
.smw-video :is(a,button):focus-visible {outline:2px solid #426635;outline-offset:3px}
.smw-video__dialog {position:fixed;z-index:100002;inset:0;width:min(900px,calc(100% - 24px));max-width:none;max-height:calc(100% - 24px);margin:auto;padding:14px;border:0;border-radius:14px;background:var(--smw-paper);color:var(--smw-ink);overflow:auto}
.smw-video__dialog::backdrop {background:rgba(18,20,16,.78)}
.smw-video__dialog-bar {display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px}
.smw-video__dialog-bar h3 {margin:0;font-size:clamp(15px,3vw,21px);line-height:1.25;color:inherit}
.smw-video__dialog-bar form {margin:0}
.smw-video__player {width:100%;aspect-ratio:16/9;background:#1a1e17;margin:0 auto}
.smw-video__dialog--short {width:min(480px,calc(100% - 24px))}
.smw-video__dialog--short .smw-video__player {width:min(100%,calc((100dvh - 166px) * 9 / 16));aspect-ratio:9/16}
.smw-video__player iframe {display:block;width:100%;height:100%;border:0}
@media(max-width:440px){
    .smw-video__header {align-items:start;flex-wrap:wrap;gap:8px;margin-bottom:10px}
    .smw-video__controls {margin-left:auto}
    .smw-video__shell {padding-inline:18px}
}

@media(min-width:768px) and (max-width:1023px){
 .smw-video{--smw-columns:2}
 .smw-video__shell{width:calc(100% - 40px);padding:36px 0}
}
@media(max-width:767px){
 .smw-video__shell{width:100%;padding:30px 18px}
 .smw-video .smw-video__item{width:86%;max-width:360px}
 .smw-video[data-smw-count="1"] .smw-video__item{width:100%;max-width:none}
 .smw-video__title{font-size:14px;min-height:62px}
}

.smw-video__browse{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}
.smw-video__filters{display:flex;gap:8px;flex-wrap:wrap}
.smw-video__filters button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #b9bfb1;border-radius:24px;background:transparent;color:var(--smw-ink);font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer}
.smw-video__filters button[aria-pressed="true"]{background:#46513d;color:white;border-color:#46513d}
.smw-video__position{font-size:13px;color:#555a4f;white-space:nowrap}
.smw-video__filters button:focus-visible{outline:2px solid #426635;outline-offset:3px}
@media(max-width:440px){.smw-video__filters{gap:6px}.smw-video__filters button{padding:10px 14px;font-size:13px}.smw-video__browse{gap:10px;margin-bottom:12px}}
