/* POSCREAM CMS 25.36.36 – photo alignment, fitted videos and clean player. */
body.pcm-managed-page main.pcm-page-our-team .pcm26-team-section{max-width:1080px!important;padding:0 18px!important;}
body.pcm-managed-page main.pcm-page-our-team .pcm26-team-figure{max-width:900px!important;width:100%!important;}
body.pcm-managed-page main.pcm-page-our-team .pcm26-team-photo{max-width:100%!important;max-height:530px!important;width:auto!important;height:auto!important;object-fit:contain!important;box-shadow:none!important;border-radius:12px!important;}
body.pcm-managed-page .pcm35-team-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;gap:18px;align-items:stretch;}
body.pcm-managed-page .pcm35-team-gallery figure{width:100%;min-width:0;overflow:hidden;border-radius:12px;background:#f1e8df;}
body.pcm-managed-page .pcm35-team-gallery figure:first-child:nth-last-child(3){grid-column:1/-1;aspect-ratio:16/8;}
body.pcm-managed-page .pcm35-team-gallery figure:not(:first-child:nth-last-child(3)){aspect-ratio:4/3;}
body.pcm-managed-page .pcm35-team-gallery figure:last-child:nth-child(odd):not(:nth-child(3)){grid-column:1/-1;}
body.pcm-managed-page .pcm35-team-gallery figure:nth-child(3):last-child{grid-column:auto;}
body.pcm-managed-page .pcm35-team-gallery img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center 68%!important;border-radius:0!important;}
body.pcm-managed-page .pcm35-team-gallery figure:first-child:nth-last-child(3) img{object-position:center 78%!important;}
body.pcm-managed-page .pcm35-team-gallery figure:nth-child(3):last-child img{object-position:center 76%!important;}
.pcm35-videos .pcm35-video-card{display:flex;flex-direction:column;min-width:0;height:100%;border:1px solid #efded2;border-radius:13px;box-shadow:none;}
.pcm35-videos .pcm35-video-cover{display:grid;aspect-ratio:16/10;background:#241c18;width:100%;flex:none;}
.pcm35-videos-home .pcm35-video-cover{aspect-ratio:9/14;}
.pcm35-videos .pcm35-video-cover img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;}
.pcm35-videos .pcm35-video-card h3{font-size:15px!important;font-weight:750;line-height:1.45!important;min-height:66px;overflow-wrap:anywhere;padding:14px 16px!important;}
.pcm35-videos .pcm35-play{width:54px;height:54px;background:#da5042;border:2px solid #fff;transition:transform .2s ease;}
.pcm35-video-cover:hover .pcm35-play,.pcm35-video-cover:focus-visible .pcm35-play{transform:scale(1.08);}
.pcm35-videos-home .pcm35-video-list{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:0;scroll-behavior:smooth;}
.pcm35-videos-home .pcm35-video-list::-webkit-scrollbar{display:none;width:0;height:0;}
/* Keep keyboard access and native touch swipes; the visible controls are arrows. */
.pcm35-video-controls button{background:#da5042;color:white;border:0;box-shadow:none;}
.pcm35-video-controls button:disabled{opacity:.28;}
body.pcm-managed-page .pcm35-video-dialog{width:min(1000px,calc(100vw - 32px))!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;padding:0!important;border-radius:16px!important;background:#201916!important;color:#fff!important;box-shadow:0 24px 90px #0009!important;}
body.pcm-managed-page .pcm35-video-dialog.pcm36-portrait{width:min(490px,calc(100vw - 24px))!important;}
.pcm35-video-dialog::backdrop{background:rgba(19,13,10,.83);backdrop-filter:blur(5px);}
.pcm35-video-dialog .pcm35-dialog-top{padding:12px 16px;margin:0!important;min-height:60px;gap:16px;}
.pcm35-video-dialog .pcm35-dialog-top strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere;}
.pcm35-video-dialog .pcm35-dialog-top button{background:#ffffff13;color:white;border:1px solid #ffffff35;width:36px;height:36px;flex:0 0 36px;font-size:25px;}
.pcm35-video-dialog .pcm36-player-stage{width:100%;aspect-ratio:16/9;max-height:calc(100dvh - 145px);min-height:200px;background:#000;}
.pcm35-video-dialog.pcm36-portrait .pcm36-player-stage{aspect-ratio:9/16;height:min(67dvh,700px);max-height:calc(100dvh - 145px);}
.pcm35-video-dialog .pcm36-player-stage iframe{display:block!important;height:100%!important;min-height:200px!important;width:100%!important;border:0!important;}
.pcm36-dialog-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;color:#d7c6bd;font-size:12px;}
.pcm35-video-dialog .pcm36-dialog-bottom a{color:#ffd1be;margin:0!important;text-decoration:none;text-align:right;font-size:12px;}
@media(max-width:900px){body.pcm-managed-page .pcm35-team-gallery{gap:12px;}.pcm35-videos-home .pcm35-video-cover{aspect-ratio:9/13;}}
@media(max-width:540px){body.pcm-managed-page .pcm35-team-gallery{grid-template-columns:1fr;}body.pcm-managed-page .pcm35-team-gallery figure:nth-child(n){grid-column:auto;aspect-ratio:4/3;}body.pcm-managed-page .pcm35-team-gallery figure:last-child:nth-child(3){aspect-ratio:5/6;}body.pcm-managed-page main.pcm-page-our-team .pcm26-team-section{padding-inline:4px!important;}.pcm35-videos-home .pcm35-video-cover{aspect-ratio:9/12;}.pcm35-video-dialog .pcm35-dialog-top{padding:9px 12px;}.pcm36-dialog-bottom{padding:10px 12px;}}
@media(prefers-reduced-motion:reduce){.pcm35-videos-home .pcm35-video-list{scroll-behavior:auto;}.pcm35-videos .pcm35-play{transition:none;}}

@media(max-width:540px){body.pcm-managed-page .pcm35-team-gallery figure:first-child:nth-last-child(3){grid-column:auto;aspect-ratio:4/3;}}
