/* Secondary portfolio rail. All selectors stay inside this landing page. */
.mg-limassol-page .film-rail{padding:0 0 clamp(40px,5vw,72px);background:var(--white)}
.mg-limassol-page .film-rail__head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.mg-limassol-page .film-rail__head .h2{font-size:clamp(26px,3vw,40px)}
.mg-limassol-page .film-rail__actions{display:flex;align-items:center;gap:24px;flex-shrink:0}
.mg-limassol-page .film-rail__pause{width:44px;height:44px;border:1px solid #D5D5DA;border-radius:50%;background:transparent;color:var(--ink);font:600 16px var(--f-body);cursor:pointer}
.mg-limassol-page .film-rail__pause[hidden]{display:none}
.mg-limassol-page .film-rail__viewport{overflow-x:auto;overflow-y:hidden;padding:4px var(--pad,4vw) 8px;scrollbar-width:thin;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
.mg-limassol-page .film-rail__line,.mg-limassol-page .film-rail__group{display:flex;width:max-content;gap:16px}
.mg-limassol-page .film-rail__group{flex:none}
.mg-limassol-page .film-rail__card{display:block;flex:0 0 clamp(260px,27vw,360px);width:clamp(260px,27vw,360px);scroll-snap-align:start;color:var(--ink);border-radius:16px;outline-offset:4px}
.mg-limassol-page .film-rail__visual{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;border-radius:16px;background:#151515;isolation:isolate}
.mg-limassol-page .film-rail__visual>img{display:block;width:100%;height:100%;object-fit:cover}
.mg-limassol-page .film-rail__play{position:absolute;z-index:2;top:12px;right:12px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#111;font-size:11px}
.mg-limassol-page .film-rail__caption{display:flex;flex-direction:column;gap:5px;padding:13px 2px 0}
.mg-limassol-page .film-rail__title{font:600 15px/1.35 var(--f-head);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.mg-limassol-page .film-rail__category{font:400 11px/1.4 var(--f-body);color:var(--mut)}
.mg-limassol-page .film-rail[data-moving="true"] .film-rail__viewport{overflow-x:hidden;scroll-snap-type:none}
.mg-limassol-page .film-preview{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 160ms var(--ease)}
.mg-limassol-page .film-preview>iframe,.mg-limassol-page .film-preview>video{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0}
.mg-limassol-page .film-preview>video{width:100%;height:100%;object-fit:cover}
.mg-limassol-page .is-previewing .film-preview{opacity:1}
.mg-limassol-page .card--film.is-previewing>.card__play,.mg-limassol-page .is-previewing .film-rail__play{opacity:0;pointer-events:none}
.mg-limassol-page .card--film .film-preview{border-radius:inherit}
.mg-limassol-page .lb__stage>video{width:100%;height:100%;object-fit:contain;background:#000}
@media(max-width:640px){
 .mg-limassol-page .film-rail__head{gap:16px;align-items:flex-start;margin-bottom:20px}
 .mg-limassol-page .film-rail__actions{gap:12px;padding-top:4px}
 .mg-limassol-page .film-rail__head .tlink{font-size:12px;white-space:nowrap}
 .mg-limassol-page .film-rail__card{width:76vw;flex-basis:76vw;max-width:340px}
 .mg-limassol-page .film-rail__viewport{padding-left:20px;padding-right:20px}
 .mg-limassol-page .film-rail__line,.mg-limassol-page .film-rail__group{gap:12px}
}
@media(prefers-reduced-motion:reduce){.mg-limassol-page .film-preview{transition:none}}

/* Requested compact height: preserve the existing container widths and type. */
.mg-limassol-page{--sec:clamp(56px,5.6vw,80px);--section-content-gap:clamp(24px,2.8vw,40px)}
.mg-limassol-page .hero{padding-top:40px;padding-bottom:32px}
@media(min-width:1001px){
 .mg-limassol-page .hero__visual .hero__frame{aspect-ratio:16/10}
 .mg-limassol-page #mglim-workGrid>.card:nth-child(n){aspect-ratio:16/9}
 .mg-limassol-page #mglim-workGrid>.card:nth-child(-n+2){aspect-ratio:2/1}
}
@media(max-width:640px){
 .mg-limassol-page .hero{padding-top:24px;padding-bottom:24px}
 .mg-limassol-page #mglim-workGrid>.card:nth-child(n){aspect-ratio:16/10}
 .mg-limassol-page #mglim-workGrid>.card:nth-child(1),.mg-limassol-page #mglim-workGrid>.card:nth-child(8){aspect-ratio:16/9}
}
