/* Moving frames: full photographs, intact original stories, no automatic motion. */
.story-showcase{--ink:#f4f3ef;--muted:#bfc4c9;--accent:#4baccf;--line:#f4f3ef30;background:#17191c;color:var(--ink);max-width:none;padding-top:72px;padding-bottom:72px;overflow:hidden}
.story-inner{max-width:1560px;margin:auto;min-width:0}
.story-showcase .section-top{margin-bottom:34px}
.story-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;grid-gap:28px;margin-bottom:32px}
.story-showcase h2[data-heading]{font-size:64px;line-height:1.15}
.story-heading>p{color:var(--muted);max-width:310px;font-size:17px}
.story-categories{display:flex;flex-wrap:wrap;gap:6px 20px;grid-gap:6px 20px;padding:6px 0 19px;border-bottom:1px solid var(--line)}
.story-categories button{font-size:15px;min-height:44px;padding:8px 2px;border-bottom:2px solid transparent;color:var(--muted)}
.story-categories button[aria-pressed=true]{color:#4baccf;border-color:#4baccf}
.story-categories button:hover{color:var(--ink)}
.story-stage{position:relative;height:460px;perspective:1200px;touch-action:pan-y;user-select:none;direction:ltr;isolation:isolate;margin-top:25px}
.story-stage:after{content:'';pointer-events:none;position:absolute;bottom:7px;left:15%;width:70%;height:58px;background:#0006;border-radius:50%;filter:blur(22px)}
.story-frame{position:absolute;top:50%;left:50%;width:76%;max-width:820px;height:370px;padding:10px;background:#eeede8;box-shadow:0 24px 50px #0006;transform:translate(-50%,-50%);transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s,opacity .45s;transform-origin:50% 85%;transform-style:preserve-3d;z-index:3;will-change:transform}
.story-frame:focus-visible{outline:3px solid #4baccf;outline-offset:6px}
.story-frame[data-position=previous]{transform:translate(calc(-50% - 43px),calc(-50% - 14px)) translateZ(-80px) rotate(-7deg);z-index:1;filter:brightness(.65)}
.story-frame[data-position=next]{transform:translate(calc(-50% + 43px),calc(-50% - 14px)) translateZ(-80px) rotate(7deg);z-index:2;filter:brightness(.72)}
.story-frame[data-position=front]{transform:translate(-50%,-50%) rotateX(var(--story-tilt-x,0deg)) rotateY(var(--story-tilt-y,0deg))}
.story-frame-content{height:100%;width:100%;display:flex;justify-content:center;align-items:center;gap:8px;grid-gap:8px;pointer-events:none}
.story-frame-content img{height:100%;width:100%;min-width:0;min-height:0;object-fit:contain;pointer-events:none;user-select:none}
.story-frame-content.is-composition{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;grid-gap:8px}
.story-frame-content.is-composition img{background:#e3e2dc}
.story-frame-content.is-composition.has-two{grid-template-rows:minmax(0,1fr)}
.story-frame-content.is-composition.has-three img:first-child{grid-row:span 2}
.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:36px;grid-gap:36px;position:relative;z-index:4;margin-top:10px}
.story-caption{min-width:0;max-width:560px}
.story-caption h3{font-family:"AmpleSoft Pro",Zain,sans-serif;font-size:32px;line-height:1.3;font-weight:500;letter-spacing:0}
.story-caption p{color:var(--muted);font-size:16px;margin-top:10px;line-height:1.7}
.story-count{color:#4baccf;font-size:13px;display:block;margin-bottom:7px}
.story-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;grid-gap:20px;flex-shrink:0}
.story-nav{display:flex;gap:8px;grid-gap:8px;align-items:center;direction:ltr}
.story-nav button{width:46px;height:46px;border:1px solid #f4f3ef66;border-radius:50%;font-family:"AmpleSoft Pro",sans-serif;font-size:24px}
.story-nav button:hover{background:#4baccf24;border-color:#4baccf}
.story-progress{font-family:"AmpleSoft Pro",sans-serif;font-size:13px;min-width:48px;text-align:center;color:var(--muted)}
.story-link{display:inline-flex;align-items:center;gap:26px;grid-gap:26px;min-height:46px;border-bottom:1px solid #4baccf;font-size:17px}
.story-link span:last-child{color:#4baccf;font-size:24px}
.story-hint{color:var(--muted);font-size:13px;margin-top:24px}
.story-dragging .story-frame{transition:none}
.story-flat .story-frame{transition:none;transform:translate(-50%,-50%)!important;filter:none}
.story-flat .story-frame:not([data-position=front]){display:none}
html[lang=ar] .story-heading>p{font-size:22px}
html[lang=ar] .story-categories button{font-size:21px}
html[lang=ar] .story-caption h3{font-family:Zain,"AmpleSoft Pro",sans-serif;font-weight:700;font-size:38px}
html[lang=ar] .story-caption p{font-size:21px}
html[lang=ar] .story-link{font-size:22px}
html[lang=ar] .story-count{font-size:17px}
html[lang=ar] .story-hint{font-size:18px}
.tv-layout .story-stage{perspective:none}.tv-layout .story-frame{transform:translate(-50%,-50%)!important;filter:none}.tv-layout .story-frame:not([data-position=front]){display:none}
.tv-layout .story-categories{display:block}.tv-layout .story-categories button{display:inline-block;margin:0 12px 8px}
@media(min-width:1800px){.story-stage{height:520px}.story-frame{height:420px;max-width:940px}}
@media(max-width:900px){.story-bottom{align-items:start}.story-actions{flex-direction:column;align-items:flex-end;gap:14px;grid-gap:14px}.story-stage{height:405px}.story-frame{height:325px}.story-showcase h2[data-heading]{font-size:53px}}
@media(max-width:600px){
 .story-showcase{padding-top:48px;padding-bottom:48px}.story-showcase .section-top{margin-bottom:25px}
 .story-heading{display:block;margin-bottom:22px}.story-showcase h2[data-heading]{font-size:45px}.story-heading>p{margin-top:18px;max-width:none;font-size:16px}
 html[lang=ar] .story-heading>p{font-size:21px}.story-categories{gap:1px 16px;grid-gap:1px 16px;padding-bottom:14px}.story-categories button{font-size:14px}html[lang=ar] .story-categories button{font-size:19px}
 .story-stage{height:330px;margin-top:17px}.story-frame{width:87%;height:275px;padding:7px}.story-frame[data-position=previous]{transform:translate(calc(-50% - 13px),calc(-50% - 10px)) translateZ(-50px) rotate(-5deg)}.story-frame[data-position=next]{transform:translate(calc(-50% + 13px),calc(-50% - 10px)) translateZ(-50px) rotate(5deg)}
 .story-frame-content.is-composition{gap:5px;grid-gap:5px}.story-bottom{display:block;margin-top:14px}.story-caption h3{font-size:28px}html[lang=ar] .story-caption h3{font-size:34px}.story-caption p{font-size:16px}html[lang=ar] .story-caption p{font-size:20px}.story-actions{flex-direction:row;justify-content:space-between;align-items:center;margin-top:24px;gap:14px;grid-gap:14px}.story-link{font-size:16px;gap:17px;grid-gap:17px}html[lang=ar] .story-link{font-size:21px}.story-nav button{width:42px;height:44px}.story-progress{min-width:40px;font-size:12px}.story-hint{font-size:12px;margin-top:20px}html[lang=ar] .story-hint{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.story-frame{transition:none!important}.story-frame[data-position=front]{transform:translate(-50%,-50%)!important}}
