.a24pm-magazine,.a24pm-magazine *{box-sizing:border-box}
.a24pm-magazine{
    --a24pm-stage-bg:#f4f4f2;
    position:relative;
    left:50%;
    width:100vw;
    max-width:100vw;
    margin-left:-50vw;
    background:transparent;
    min-height:0;
    padding:18px clamp(10px,2.2vw,30px) 86px;
    overflow:hidden;
    outline:none;
    display:block;
}
.a24pm-desktop-experience,.a24pm-mobile-experience{width:100%}
/* Desktop size is controlled ONLY by the configured max width / viewport width.
   No viewport-height cap: the magazine itself stays the same size. We only
   trim the empty block above and below it. */
.a24pm-desktop-experience{
    position:relative;
    width:min(94vw,var(--a24pm-max-width,1180px));
    max-width:100%;
    aspect-ratio:1.48;
    height:auto;
    min-height:0;
    margin:0 auto;
}
.a24pm-mobile-experience{display:none}
.a24pm-stage,.a24pm-desktop-cover-stage{width:100%;max-width:100%}
.a24pm-stage{margin:0;position:absolute;inset:0}
.a24pm-cover-card,.a24pm-cover-prompt,.a24pm-arrow,.a24pm-click-zone,.a24pm-mobile-nav{font:inherit}
.a24pm-cover-card,.a24pm-cover-prompt{appearance:none;border:0;background:none;padding:0;cursor:pointer}

/* DESKTOP COVER */
.a24pm-desktop-cover-stage{
    position:absolute;inset:0;aspect-ratio:1.48;transform:none;
    perspective:3400px;transform-style:preserve-3d;z-index:20
}
.a24pm-cover-card-desktop{
    position:absolute;left:25%;top:0;width:50%;height:100%;transform-style:preserve-3d;transform-origin:left center;
    filter:drop-shadow(0 20px 25px rgba(0,0,0,.19));transition:transform .28s cubic-bezier(.35,.02,.2,1),filter .35s ease,opacity .12s ease;
    z-index:5;will-change:transform,opacity
}
.a24pm-cover-face{
    position:absolute;inset:0;display:grid;place-items:center;background:#fefefe;overflow:hidden;
    backface-visibility:hidden;-webkit-backface-visibility:hidden;border:1px solid rgba(0,0,0,.08);
    box-shadow:inset -12px 0 18px rgba(0,0,0,.045),inset 0 0 30px rgba(0,0,0,.018)
}
.a24pm-cover-face:before{content:"";position:absolute;left:0;top:0;bottom:0;width:15px;z-index:2;background:linear-gradient(to right,rgba(0,0,0,.14),rgba(0,0,0,.035) 38%,transparent)}
.a24pm-cover-face:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,rgba(255,255,255,.13),transparent 20%,transparent 76%,rgba(0,0,0,.045));mix-blend-mode:multiply;opacity:.72}
.a24pm-cover-face img{width:100%;height:100%;display:block;object-fit:cover}
.a24pm-cover-fallback{font-size:clamp(23px,2.2vw,38px);line-height:.92;letter-spacing:.08em;font-weight:300;text-align:center;color:#181818}
.a24pm-cover-pages{position:absolute;z-index:-1;inset:4px -8px -8px 5px;background:repeating-linear-gradient(to right,#fafafa 0,#fafafa 2px,#dedede 3px,#fff 4px);border:1px solid rgba(0,0,0,.09);box-shadow:7px 9px 15px rgba(0,0,0,.14)}
.a24pm-cover-prompt-desktop{position:absolute;left:82%;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:10px;color:var(--a24pm-desktop-arrow,#111);z-index:7;transition:opacity .18s ease}
.a24pm-prompt-text{font-size:clamp(11px,.92vw,15px);font-weight:600;letter-spacing:.18em;white-space:nowrap}
.a24pm-prompt-arrow{position:relative;display:block;color:currentColor;flex:0 0 auto}
.a24pm-prompt-arrow-right,.a24pm-prompt-arrow-left{width:18px;height:28px;border:0;display:grid;place-items:center}
.a24pm-prompt-arrow-right:after,.a24pm-prompt-arrow-left:after{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;border-top:2px solid currentColor;transform-origin:center}
.a24pm-prompt-arrow-right:after{border-right:2px solid currentColor;transform:translate(-62%,-50%) rotate(45deg)}
.a24pm-prompt-arrow-left:after{border-left:2px solid currentColor;transform:translate(-38%,-50%) rotate(-45deg)}
.a24pm-close-prompt-desktop{position:absolute;left:1.8%;top:50%;transform:translateY(-50%);z-index:70;display:flex;align-items:center;gap:10px;appearance:none;border:0;background:transparent;padding:0;margin:0;color:var(--a24pm-desktop-arrow,#111);font:inherit;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s linear .2s}
.a24pm-magazine.is-desktop-open.a24pm-on-first-spread .a24pm-close-prompt-desktop{opacity:.9;visibility:visible;pointer-events:auto;transition:opacity .2s ease}
.a24pm-close-prompt-desktop:hover{opacity:1!important}
.a24pm-magazine.is-desktop-transitioning .a24pm-cover-prompt-desktop,
.a24pm-magazine.is-desktop-transitioning .a24pm-close-prompt-desktop{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.a24pm-magazine.is-desktop-open .a24pm-desktop-cover-stage{display:none}

/* DESKTOP OPEN MAGAZINE */
.a24pm-desktop-stage{position:absolute;inset:0;opacity:0;visibility:hidden;transform:none;clip-path:inset(0 25% 0 25%);pointer-events:none}
.a24pm-magazine.is-desktop-transitioning .a24pm-desktop-stage,.a24pm-magazine.is-desktop-open .a24pm-desktop-stage{opacity:1;visibility:visible;pointer-events:auto}
.a24pm-magazine.is-desktop-open .a24pm-desktop-stage{clip-path:inset(0 0 0 0)}
.a24pm-book{position:relative;width:100%;aspect-ratio:1.48;perspective:3400px;transform-style:preserve-3d;filter:drop-shadow(0 22px 27px rgba(0,0,0,.16));user-select:none;-webkit-user-select:none;touch-action:pan-y}
.a24pm-book:before,.a24pm-book:after{content:"";position:absolute;left:.35%;right:.35%;height:6px;border-radius:1px;background:repeating-linear-gradient(to bottom,#fff 0,#fff 1px,#d9d9d9 2px,#f8f8f8 3px);z-index:0;box-shadow:0 3px 5px rgba(0,0,0,.08)}
.a24pm-book:before{bottom:-5px}.a24pm-book:after{bottom:-9px;left:1%;right:1%;opacity:.68}
.a24pm-spread{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;z-index:1}
.a24pm-spread.is-current{opacity:1;visibility:visible;z-index:3}
.a24pm-spread-canvas{position:absolute;inset:0;overflow:hidden;border-radius:1px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.045)}
.a24pm-spread-canvas:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.34;background:radial-gradient(circle at 18% 16%,rgba(0,0,0,.025),transparent 28%),radial-gradient(circle at 76% 65%,rgba(0,0,0,.018),transparent 31%),linear-gradient(90deg,rgba(255,255,255,.04),rgba(0,0,0,.012),rgba(255,255,255,.03))}
.a24pm-paper{position:absolute;top:0;bottom:0;width:50%;background:linear-gradient(90deg,#fff 0,#fefefe 72%,#fafafa 100%)}
.a24pm-theme-dark .a24pm-paper,.a24pm-theme-dark.a24pm-spread-canvas{background:#111}
.a24pm-paper-left{left:0}.a24pm-paper-right{right:0;transform:scaleX(-1)}
.a24pm-paper-left:after,.a24pm-paper-right:after{content:"";position:absolute;top:0;bottom:0;right:0;width:56px;pointer-events:none;background:linear-gradient(to left,rgba(0,0,0,.15),rgba(0,0,0,.052) 24%,rgba(0,0,0,.014) 48%,transparent 84%)}
.a24pm-page-edge{position:absolute;top:.3%;bottom:.3%;width:4px;z-index:7;background:repeating-linear-gradient(to right,#fff 0,#e6e6e6 1px,#fff 2px);opacity:.95}
.a24pm-page-edge-left{left:0}.a24pm-page-edge-right{right:0}
.a24pm-gutter{position:absolute;z-index:8;top:0;bottom:0;left:50%;width:3px;transform:translateX(-1.5px);background:linear-gradient(to right,rgba(0,0,0,.2),rgba(255,255,255,.5),rgba(0,0,0,.16));box-shadow:-20px 0 28px rgba(0,0,0,.07),20px 0 28px rgba(0,0,0,.06)}
.a24pm-gutter:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:24px;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(0,0,0,.07),transparent 68%);opacity:.55}
.a24pm-artwork{position:absolute;inset:0;z-index:4}
.a24pm-frame{position:absolute;overflow:hidden;background:#ececec;box-shadow:0 0 0 1px rgba(0,0,0,.025)}
.a24pm-frame img{width:100%;height:100%;display:block;object-fit:cover}
.a24pm-ratio-16x9{aspect-ratio:16/9}.a24pm-ratio-9x16{aspect-ratio:9/16}.a24pm-ratio-4x3{aspect-ratio:4/3}.a24pm-ratio-3x4{aspect-ratio:3/4}.a24pm-ratio-4x5{aspect-ratio:4/5}.a24pm-ratio-5x4{aspect-ratio:5/4}.a24pm-ratio-1x1{aspect-ratio:1/1}

.a24pm-layout-wide_center .f-wide-center{left:15%;top:21%;width:70%}
.a24pm-layout-left_large_right_stack .f-left-large{left:8%;top:11%;width:35%;max-height:78%}.a24pm-layout-left_large_right_stack .f-right-top{left:57%;top:13%;width:29%;max-height:33%}.a24pm-layout-left_large_right_stack .f-right-bottom{left:57%;bottom:13%;width:29%;max-height:33%}
.a24pm-layout-left_full_right_stack .f-left-full{left:0;top:0;width:50%;height:100%;aspect-ratio:auto}.a24pm-layout-left_full_right_stack .f-right-top-wide{left:57%;top:12%;width:34%;max-height:35%}.a24pm-layout-left_full_right_stack .f-right-bottom-wide{left:57%;bottom:12%;width:34%;max-height:35%}
.a24pm-layout-right_large_left_stack .f-left-top{left:8%;top:12%;width:34%;max-height:35%}.a24pm-layout-right_large_left_stack .f-left-bottom{left:8%;bottom:12%;width:34%;max-height:35%}.a24pm-layout-right_large_left_stack .f-right-large{left:57%;top:11%;width:35%;max-height:78%}
.a24pm-layout-two_equal .f-left-equal{left:8%;top:16%;width:34%;max-height:68%}.a24pm-layout-two_equal .f-right-equal{left:58%;top:16%;width:34%;max-height:68%}
.a24pm-layout-left_single .f-left-single{left:9%;top:13%;width:34%;max-height:74%}.a24pm-layout-right_single .f-right-single{left:57%;top:13%;width:34%;max-height:74%}
.a24pm-layout-three_editorial .f-editorial-one{left:8%;top:15%;width:36%;max-height:65%}.a24pm-layout-three_editorial .f-editorial-two{left:58%;top:10%;width:29%;max-height:31%}.a24pm-layout-three_editorial .f-editorial-three{left:62%;bottom:14%;width:29%;max-height:37%}
.a24pm-layout-full_spread .f-full-spread{left:0;top:0;width:100%;height:100%;aspect-ratio:auto}
.a24pm-caption{position:absolute;z-index:10;right:3.2%;bottom:3%;max-width:30%;text-align:right;font-size:clamp(8px,.64vw,11px);line-height:1.38;letter-spacing:.025em;color:#161616}.a24pm-theme-dark .a24pm-caption{color:#f4f4f4}
.a24pm-counter{position:absolute;left:0;bottom:-27px;font-size:11px;line-height:1;letter-spacing:.08em;color:#222}
.a24pm-click-zone{position:absolute;z-index:58;top:0;bottom:0;width:30%;appearance:none;border:0;background:transparent;cursor:pointer;padding:0}.a24pm-click-prev{left:0}.a24pm-click-next{right:0}
.a24pm-arrow{position:absolute;z-index:60;top:50%;width:24px;height:42px;transform:translateY(-50%);appearance:none;border:0;background:transparent;color:#111;cursor:pointer;opacity:.22;transition:opacity .2s ease,transform .2s ease;display:grid;place-items:center;padding:0;box-shadow:none}
.a24pm-arrow span{font-size:30px;line-height:1;margin:0;display:block;transform:translateY(-1px)}.a24pm-arrow-prev{left:4px}.a24pm-arrow-next{right:4px}.a24pm-book:hover .a24pm-arrow{opacity:.72}.a24pm-arrow:disabled{opacity:0!important;pointer-events:none}

/* Desktop page turn: two real 90° phases instead of one fragile
   front/back 180° card. The swap happens while the sheet is edge-on, so
   the incoming left/right page appears during the turn instead of popping
   in after it. */
.a24pm-turn-base{position:absolute;inset:0;z-index:20;pointer-events:none;overflow:hidden}
.a24pm-turn-base-half{position:absolute;top:0;width:50%;height:100%;overflow:hidden}.a24pm-turn-base-left{left:0}.a24pm-turn-base-right{right:0}
.a24pm-turn-slice{position:absolute!important;top:0!important;width:200%!important;height:100%!important;bottom:auto!important;right:auto!important}
.a24pm-turn-slice.slice-left{left:0!important}.a24pm-turn-slice.slice-right{left:-100%!important}
.a24pm-turn-sheet{position:absolute;top:0;width:50%;height:100%;z-index:42;overflow:hidden;transform-style:preserve-3d;backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;filter:drop-shadow(0 9px 13px rgba(0,0,0,.16));background:#fff}
.a24pm-turn-sheet-left{left:0;transform-origin:right center}.a24pm-turn-sheet-right{right:0;transform-origin:left center}
.a24pm-turn-sheet:before{content:"";position:absolute;inset:0;z-index:50;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.20),rgba(0,0,0,.045) 15%,transparent 44%,rgba(255,255,255,.16) 78%,rgba(0,0,0,.04));mix-blend-mode:multiply;opacity:.48}
.a24pm-turn-sheet-left:after,.a24pm-turn-sheet-right:after{content:"";position:absolute;z-index:51;top:0;bottom:0;width:48px;pointer-events:none}
.a24pm-turn-sheet-left:after{right:0;background:linear-gradient(to left,rgba(0,0,0,.23),transparent)}
.a24pm-turn-sheet-right:after{left:0;background:linear-gradient(to right,rgba(0,0,0,.23),transparent)}
.a24pm-turn-sheet-slice{position:absolute!important;top:0!important;width:200%!important;height:100%!important;bottom:auto!important;right:auto!important}
.a24pm-turn-sheet-slice.slice-left{left:0!important}.a24pm-turn-sheet-slice.slice-right{left:-100%!important}
.a24pm-turn-sheet .a24pm-caption{pointer-events:none}.a24pm-magazine.is-turning .a24pm-click-zone,.a24pm-magazine.is-turning .a24pm-arrow{pointer-events:none}
.a24pm-empty{padding:20px;border:1px dashed #bbb;background:#fafafa}

/* MOBILE – one portrait page, not a squeezed two-page spread */
@media(max-width:767px){
    .a24pm-magazine{left:50%;width:100vw;margin-left:-50vw;min-height:100svh;padding:18px 6px 24px;align-items:center}
    .a24pm-desktop-experience{display:none}.a24pm-mobile-experience{display:block;width:100%;position:relative;height:min(88svh,760px);min-height:520px}
    .a24pm-mobile-cover-stage,.a24pm-mobile-stage{position:absolute;left:50%;top:50%;width:min(88vw,400px,calc(78svh * .8));aspect-ratio:4/5;transform:translate(-50%,-50%);perspective:3200px;transform-style:preserve-3d;overflow:visible}
    .a24pm-mobile-cover-stage{z-index:20}
    .a24pm-cover-card-mobile{position:absolute;inset:0;width:100%;height:100%;transform-style:preserve-3d;transform-origin:left center;filter:drop-shadow(0 18px 22px rgba(0,0,0,.2));transition:transform .18s ease,filter .35s ease,opacity .12s ease;z-index:5;will-change:transform,opacity}
    .a24pm-cover-card-mobile .a24pm-cover-face:before{left:0;top:0;bottom:0;width:13px;background:linear-gradient(to right,rgba(0,0,0,.14),rgba(0,0,0,.035) 40%,transparent)}
    .a24pm-cover-card-mobile .a24pm-cover-pages{inset:4px -7px -8px 4px}
    .a24pm-cover-prompt-mobile{position:absolute;left:50%;bottom:-82px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--a24pm-mobile-arrow,#111);transition:opacity .13s ease;z-index:7}
    .a24pm-cover-prompt-mobile .a24pm-prompt-text{font-size:10px;letter-spacing:.17em}
    .a24pm-prompt-arrow-up{width:25px;height:50px;border-left:2px solid currentColor}.a24pm-prompt-arrow-up:after{content:"";position:absolute;left:-1px;top:0;width:15px;height:15px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:translateX(-7.5px) rotate(45deg);transform-origin:center}
    .a24pm-magazine.is-mobile-shifting .a24pm-cover-card-mobile{transform:translateY(-5%)}
    .a24pm-magazine.is-mobile-shifting .a24pm-cover-prompt-mobile,.a24pm-magazine.is-mobile-opening .a24pm-cover-prompt-mobile{opacity:0;pointer-events:none}
    .a24pm-magazine.is-mobile-opening .a24pm-cover-card-mobile{transform:translateY(-5%) rotateY(-178deg);transition:transform .62s cubic-bezier(.62,.02,.22,1),filter .5s ease,opacity .1s linear .49s;filter:drop-shadow(-12px 13px 16px rgba(0,0,0,.1));opacity:0}
    .a24pm-magazine.is-mobile-open .a24pm-mobile-cover-stage{display:none}
    .a24pm-mobile-stage{opacity:0;visibility:hidden;transition:opacity .13s ease;pointer-events:none}
    .a24pm-magazine.is-mobile-opening .a24pm-mobile-stage,.a24pm-magazine.is-mobile-open .a24pm-mobile-stage{opacity:1;visibility:visible;pointer-events:auto}
    .a24pm-mobile-book{position:absolute;inset:0;perspective:3000px;transform-style:preserve-3d;filter:drop-shadow(0 17px 20px rgba(0,0,0,.16));user-select:none;-webkit-user-select:none;touch-action:pan-y;overflow:visible}
    .a24pm-mobile-book:before,.a24pm-mobile-book:after{content:"";position:absolute;top:.7%;bottom:.7%;width:5px;z-index:0;background:repeating-linear-gradient(to right,#fff 0,#fff 1px,#dedede 2px,#f8f8f8 3px);box-shadow:2px 0 4px rgba(0,0,0,.07)}.a24pm-mobile-book:before{right:-5px}.a24pm-mobile-book:after{right:-9px;opacity:.7}
    .a24pm-mobile-page{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;z-index:1}.a24pm-mobile-page.is-current{opacity:1;visibility:visible;z-index:3}.a24pm-mobile-page.is-under{opacity:1;visibility:visible;z-index:2}
    .a24pm-mobile-page-canvas{position:absolute;inset:0;background:#fff;overflow:hidden;border:1px solid rgba(0,0,0,.07);border-radius:1px;box-shadow:inset 0 0 28px rgba(0,0,0,.018)}
    .a24pm-mobile-page-canvas:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle at 22% 17%,rgba(0,0,0,.024),transparent 30%),linear-gradient(90deg,rgba(0,0,0,.02),transparent 7%,transparent 93%,rgba(0,0,0,.018));opacity:.42}
    .a24pm-theme-dark.a24pm-mobile-page-canvas{background:#111}.a24pm-mobile-paper{position:absolute;inset:0;background:linear-gradient(90deg,#fff 0,#fefefe 78%,#fafafa 100%)}.a24pm-theme-dark .a24pm-mobile-paper{background:#111}
    .a24pm-mobile-paper:after{content:"";position:absolute;left:0;top:0;bottom:0;width:34px;background:linear-gradient(to right,rgba(0,0,0,.11),rgba(0,0,0,.025) 36%,transparent 82%)}
    .a24pm-mobile-artwork{position:absolute;inset:0;z-index:4}.a24pm-mobile-artwork .a24pm-frame{position:absolute}

    .a24pm-layout-mobile_full .mf-full{left:4%;top:5%;width:92%;height:84%;aspect-ratio:auto}
    .a24pm-layout-mobile_editorial .mf-editorial{left:9%;top:11%;width:82%;max-height:62%}
    .a24pm-layout-mobile_portrait .mf-portrait{left:17%;top:9%;width:66%;max-height:70%}
    .a24pm-layout-mobile_square .mf-square{left:12%;top:13%;width:76%}
    .a24pm-layout-mobile_two_horizontal .mf-two-top{left:9%;top:9%;width:82%;max-height:31%}.a24pm-layout-mobile_two_horizontal .mf-two-bottom{left:9%;top:47%;width:82%;max-height:31%}
    .a24pm-layout-mobile_big_detail .mf-big{left:8%;top:8%;width:76%;max-height:59%}.a24pm-layout-mobile_big_detail .mf-detail{right:8%;bottom:15%;width:35%;max-height:31%}
    .a24pm-layout-mobile_diptych .mf-dip-left{left:7%;top:20%;width:40%;max-height:55%}.a24pm-layout-mobile_diptych .mf-dip-right{right:7%;top:20%;width:40%;max-height:55%}
    .a24pm-layout-mobile_art .mf-art-one{left:7%;top:10%;width:59%;max-height:48%}.a24pm-layout-mobile_art .mf-art-two{right:8%;top:16%;width:27%;max-height:29%}.a24pm-layout-mobile_art .mf-art-three{left:31%;bottom:16%;width:48%;max-height:31%}
    .a24pm-mobile-caption{position:absolute;z-index:10;right:6%;bottom:4.5%;max-width:60%;text-align:right;font-size:9px;line-height:1.34;letter-spacing:.02em;color:#151515}.a24pm-theme-dark .a24pm-mobile-caption{color:#f5f5f5}
    .a24pm-mobile-page-number{position:absolute;z-index:10;left:6%;bottom:4.5%;font-size:9px;line-height:1;letter-spacing:.1em;color:#222}.a24pm-theme-dark .a24pm-mobile-page-number{color:#f5f5f5}
    .a24pm-mobile-nav{position:absolute;z-index:70;top:50%;width:28px;height:44px;transform:translateY(-50%);border:0;background:rgba(255,255,255,.72);color:#111;display:grid;place-items:center;padding:0;box-shadow:0 2px 7px rgba(0,0,0,.07);backdrop-filter:blur(3px);cursor:pointer;opacity:.55}.a24pm-mobile-nav span{font-size:26px;line-height:1;margin-top:-2px}.a24pm-mobile-prev{left:-8px}.a24pm-mobile-next{right:-8px}.a24pm-mobile-nav:disabled{opacity:.12;pointer-events:none}

    .a24pm-mobile-turn-sheet{position:absolute;inset:0;z-index:45;transform-style:preserve-3d;will-change:transform;transition:transform .46s cubic-bezier(.58,.01,.22,1);filter:drop-shadow(0 8px 12px rgba(0,0,0,.14))}
    .a24pm-mobile-turn-sheet.is-next{transform-origin:left center}.a24pm-mobile-turn-sheet.is-prev{transform-origin:right center}
    .a24pm-mobile-turn-face{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#fff}
    .a24pm-mobile-turn-face:after{content:"";position:absolute;inset:0;z-index:60;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.17),rgba(0,0,0,.03) 16%,transparent 45%,rgba(255,255,255,.17) 78%,rgba(0,0,0,.035));opacity:.55}
    .a24pm-mobile-turn-back{transform:rotateY(180deg)}.a24pm-mobile-turn-face .a24pm-mobile-page-canvas{position:absolute;inset:0}
    .a24pm-magazine.is-mobile-turning .a24pm-mobile-nav{pointer-events:none}
}

@media(min-width:768px) and (max-width:980px){.a24pm-magazine{padding-top:14px;padding-bottom:82px}.a24pm-desktop-experience{width:min(93vw,var(--a24pm-max-width,1180px))}.a24pm-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){.a24pm-turn-sheet,.a24pm-mobile-turn-sheet,.a24pm-cover-card-desktop,.a24pm-cover-card-mobile{transition-duration:.01ms!important}}

/* v1.5.4 – uživatelské velikosti desktopového časopisu */
.a24pm-size-controls{
    position:absolute;left:50%;top:calc(100% + 16px);transform:translateX(-50%);z-index:120;
    display:flex;align-items:center;justify-content:center;gap:6px;width:max-content;max-width:94vw;padding:0;color:#111;white-space:nowrap;
}
.a24pm-size-label{margin-right:4px;font-size:10px;line-height:1;font-weight:600;letter-spacing:.15em;opacity:.55}
.a24pm-size-button{appearance:none;border:1px solid rgba(0,0,0,.18);background:rgba(255,255,255,.72);color:#111;min-width:42px;height:28px;padding:0 8px;border-radius:999px;font:inherit;font-size:10px;line-height:26px;font-weight:600;letter-spacing:.04em;text-align:center;cursor:pointer;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.a24pm-size-button:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.45)}
.a24pm-size-button.is-active{background:#111;color:#fff;border-color:#111}
.a24pm-size-button:focus-visible{outline:2px solid #111;outline-offset:2px}
@media(max-width:767px){.a24pm-size-controls{display:none!important}}

/* MOBILE 1.4 — Tim-Walker-inspired horizontal magazine rows */
.a24pm-ratio-3x2{aspect-ratio:3/2}.a24pm-ratio-2x3{aspect-ratio:2/3}
@media(max-width:767px){
  .a24pm-magazine{
    left:50%;width:100vw;margin-left:-50vw;min-height:0;
    padding:20px 0 42px;background:transparent;overflow:hidden;display:block;
  }
  .a24pm-desktop-experience{display:none!important}
  .a24pm-mobile-experience{display:block!important;width:100%;height:auto!important;min-height:0!important;position:relative}
  .a24pm-mobile-strip{position:relative;width:100%;padding:0 0 24px;margin:0 0 18px}
  .a24pm-mobile-strip+.a24pm-mobile-strip{padding-top:6px}
  .a24pm-mobile-rail{
    display:flex;align-items:center;gap:14px;width:100%;overflow-x:auto;overflow-y:hidden;
    padding:8px 7vw 12px;scroll-padding-inline:7vw;scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
    scrollbar-width:none;cursor:grab;
  }
  .a24pm-mobile-rail::-webkit-scrollbar{display:none}
  .a24pm-mobile-rail:active{cursor:grabbing}
  .a24pm-mobile-card{position:relative;flex:0 0 auto;margin:0;overflow:hidden;background:#fff;scroll-snap-align:start;box-shadow:0 10px 28px rgba(0,0,0,.10)}
  .a24pm-mobile-card img{display:block;width:100%;height:100%;object-fit:cover}
  .a24pm-mobile-cover-card{
    width:min(68vw,330px);aspect-ratio:4/5;overflow:visible;background:#fff;
    box-shadow:0 14px 30px rgba(0,0,0,.16);z-index:2;
  }
  .a24pm-mobile-cover-card img{position:relative;z-index:2;overflow:hidden}
  .a24pm-mobile-cover-card:after{content:"";position:absolute;z-index:3;left:0;top:0;bottom:0;width:10px;background:linear-gradient(to right,rgba(0,0,0,.16),rgba(0,0,0,.035) 45%,transparent);pointer-events:none}
  .a24pm-mobile-cover-pages{position:absolute;z-index:0;inset:4px -7px -7px 5px;background:repeating-linear-gradient(to right,#fff 0,#fff 1px,#ddd 2px,#fafafa 3px);border:1px solid rgba(0,0,0,.08);box-shadow:6px 8px 14px rgba(0,0,0,.09)}
  .a24pm-mobile-photo-card{height:auto;max-height:62svh;box-shadow:none;background:transparent}
  .a24pm-mobile-photo-card.a24pm-ratio-16x9,.a24pm-mobile-photo-card.a24pm-ratio-3x2,.a24pm-mobile-photo-card.a24pm-ratio-5x4,.a24pm-mobile-photo-card.a24pm-ratio-4x3,.a24pm-mobile-photo-card.a24pm-ratio-1x1{width:min(84vw,520px)}
  .a24pm-mobile-photo-card.a24pm-ratio-4x5{width:min(64vw,360px)}
  .a24pm-mobile-photo-card.a24pm-ratio-3x4{width:min(61vw,350px)}
  .a24pm-mobile-photo-card.a24pm-ratio-2x3{width:min(57vw,330px)}
  .a24pm-mobile-photo-card.a24pm-ratio-9x16{width:min(48vw,285px)}
  .a24pm-mobile-strip-caption{padding:0 7vw;margin-top:1px;font-size:11px;line-height:1.35;letter-spacing:.03em;color:#161616;max-width:34em}
}

/* 1.4.4: on the first spread the dedicated ZAVŘÍT control replaces the bare previous arrow. */
.a24pm-magazine.is-desktop-open.a24pm-on-first-spread .a24pm-arrow-prev{opacity:0!important;pointer-events:none!important}

/* v1.5.0 – úvodní textová dvoustrana */
.a24pm-intro-spread{position:absolute;inset:0;z-index:5;display:grid;grid-template-columns:1fr 1fr;color:#111;font-family:inherit}
.a24pm-intro-page{position:relative;min-width:0;overflow:hidden}
.a24pm-intro-page-left{padding:8% 9% 8% 9%}
.a24pm-intro-page-right{padding:8% 8% 8% 9%}
.a24pm-intro-logo{display:block;max-width:58%;max-height:18%;width:auto;height:auto;object-fit:contain;object-position:left top;margin:0 0 8%}
.a24pm-intro-links{display:flex;flex-direction:column;align-items:flex-start;gap:1.25em;font-size:clamp(10px,1vw,17px);line-height:1.1;text-transform:uppercase;letter-spacing:.12em}
.a24pm-intro-links a,.a24pm-intro-links span{color:inherit;text-decoration:none;border-bottom:1px solid transparent;padding-bottom:.12em}
.a24pm-intro-links a:hover{border-color:currentColor}
.a24pm-intro-copy{position:absolute;left:9%;top:8%;width:48%;max-height:42%;overflow:hidden}
.a24pm-intro-copy h2{margin:0 0 .5em;font-size:clamp(18px,2vw,34px);line-height:1;font-weight:500;letter-spacing:.01em}
.a24pm-intro-about{font-size:clamp(9px,.9vw,15px);line-height:1.45;white-space:normal}
.a24pm-intro-photo{position:absolute;right:7%;top:8%;width:32%;height:34%;object-fit:cover;display:block}
.a24pm-intro-social{position:absolute;left:10%;bottom:8%;width:40%;font-size:clamp(9px,.85vw,14px);line-height:1.5;text-transform:uppercase;letter-spacing:.08em}
.a24pm-intro-info{position:absolute;right:7%;bottom:8%;width:28%;font-size:clamp(8px,.75vw,13px);line-height:1.35;text-align:right}
@media(max-width:980px){.a24pm-intro-spread-article{display:none!important}}

/* v1.5.3 – fotografie vždy v původním poměru stran, bez ořezu */
.a24pm-frame{background:transparent}
.a24pm-frame img{width:100%;height:100%;object-fit:contain!important;object-position:center center}

@media(max-width:767px){
  .a24pm-mobile-photo-card{
    width:auto!important;
    height:auto!important;
    max-width:84vw;
    max-height:62svh;
    background:transparent;
    overflow:hidden;
  }
  .a24pm-mobile-photo-card img{
    display:block;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center center;
  }
}

/* v1.5.5 – desktop: původní poměr nebo uživatelem zvolený ořez */
.a24pm-frame.a24pm-no-crop img{object-fit:contain!important}
.a24pm-frame.a24pm-is-cropped{overflow:hidden}
.a24pm-frame.a24pm-is-cropped img{width:100%;height:100%}

/* v1.5.5 – telefon: vždy původní poměr, přebal je dominantnější než běžné fotografie */
@media(max-width:767px){
  .a24pm-mobile-cover-card{
    width:min(72vw,360px)!important;
    max-height:68svh;
    background:transparent;
  }
  .a24pm-mobile-cover-card img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  .a24pm-mobile-photo-card{
    width:auto!important;
    max-width:min(64vw,330px)!important;
    max-height:56svh!important;
  }
  .a24pm-mobile-photo-card.a24pm-mobile-photo-tall{
    max-width:min(54vw,300px)!important;
    max-height:68svh!important;
  }
  .a24pm-mobile-photo-card img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
}
