.otm-category-stories { position:relative; min-width:0; width:100%; margin-block:12px 16px; }
.otm-category-stories__track {
  display:flex; align-items:stretch; gap:12px; flex-wrap:nowrap;
  overflow-x:auto; overflow-y:hidden; scrollbar-width:thin;
  padding:5px 3px 9px; scroll-padding-inline:3px; scroll-snap-type:x proximity;
}
.otm-category-stories__track > a.otm-category-story {
  --story-light:#467c85; --story-dark:#102b3f; --story-accent:#b2ebdc;
  position:relative; isolation:isolate; display:flex; flex:0 0 clamp(128px,15vw,176px);
  flex-direction:column; justify-content:flex-end; min-width:0; aspect-ratio: 2/3;
  overflow:hidden; padding:13px; border:1px solid #15364d36; border-radius:15px;
  background:radial-gradient(ellipse at 84% 8%,var(--story-light),var(--story-dark) 95%);
  color:#fff !important; text-decoration:none; scroll-snap-align:start; box-shadow:0 3px 8px #18334e26;
}
.otm-category-stories__track > a.otm-category-story--1 { --story-light:#5f698c; --story-dark:#252b58; --story-accent:#ded9ff; }
.otm-category-stories__track > a.otm-category-story--2 { --story-light:#6f8b71; --story-dark:#253e32; --story-accent:#d9f0c7; }
.otm-category-stories__track > a.otm-category-story--3 { --story-light:#a46d4d; --story-dark:#57382c; --story-accent:#ffe0a8; }
.otm-category-stories__track > a.otm-category-story--4 { --story-light:#985f78; --story-dark:#522b47; --story-accent:#ffcee3; }
.otm-category-story::after { content:''; position:absolute; inset:42% 0 0; z-index:-1; background:linear-gradient(transparent,#101a29e8); pointer-events:none; }
.otm-category-story__art { position:absolute; z-index:-2; inset:17% 8% 21%; display:grid; place-items:center; color:var(--story-accent); }
.otm-category-story__art svg { width:76%; height:auto; max-height:100%; opacity:.87; transform:rotate(-9deg); }
.otm-category-story__art img { display:block; width:100% !important; height:100% !important; max-height:100%; object-fit:contain; filter:drop-shadow(0 8px 12px #0e162759); }
.otm-category-story__mark { position:absolute; inset:11px auto auto 12px; width:34px; height:34px; display:grid; place-items:center; background:#16283c; color:#fff; border:2px solid var(--story-accent); border-radius:10px; }
.otm-category-story__mark svg { width:18px; height:18px; }
.otm-category-story__name { font-size:clamp(.91rem,1.3vw,1.06rem); line-height:1.24; font-weight:760; overflow-wrap:anywhere; }
.otm-category-stories__track > a.otm-category-story:hover { border-color:var(--story-accent); }
.otm-category-stories__track > a.otm-category-story:is(:focus-visible,[aria-current]) { outline:3px solid var(--story-accent); outline-offset:-5px; }
.otm-category-stories .otm-category-stories__arrow {
  position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center;
  z-index:2; width:42px; height:42px; padding:0; border:1px solid #d9e5ed; border-radius:12px;
  color:#163b56; background:#fff; box-shadow:0 3px 12px #172b4052; cursor:pointer;
}
.otm-category-stories__arrow[data-category-prev] { left:8px; }
.otm-category-stories__arrow[data-category-next] { right:8px; }
.otm-category-stories__arrow svg { width:20px; height:20px; }
.otm-category-stories .otm-category-stories__arrow[hidden] { display:none !important; }
@media(pointer:coarse) { .otm-category-stories .otm-category-stories__arrow { display:none; } }
