.portofino-videos { margin: 22px 0 32px; scroll-margin-top: 110px; }
.portofino-video-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; max-width: 510px; }
.portofino-video-card { position: relative; display: block; width: 100%; min-width: 0; padding: 0; overflow: hidden; border: 1px solid rgba(197,168,128,.45); border-radius: 14px; background: #0b192c; color: white; cursor: pointer; isolation: isolate; aspect-ratio: 9/13; }
.portofino-video-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .2s ease; }
.portofino-video-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%,rgba(4,12,24,.8)); z-index: 1; }
.portofino-video-card:hover img { transform: scale(1.025); }
.portofino-video-play { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 52px; height: 52px; padding-left: 3px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(11,25,44,.55); font-size: 21px; z-index: 2; }
.portofino-video-label { position: absolute; left: 18px; bottom: 15px; font: 600 21px/1.2 'Montserrat',sans-serif; z-index: 2; }
.portofino-video-card:focus-visible,.portofino-video-tabs button:focus-visible { outline: 3px solid #c5a880; outline-offset: 4px; }
.portofino-video-dialog { position: fixed; inset: 0; margin: auto; padding: 0; width: min(600px,calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border: 1px solid rgba(197,168,128,.4); border-radius: 18px; background: #0b192c; color: #fff; box-shadow: 0 24px 90px #0007; overflow: auto; overscroll-behavior: contain; }
.portofino-video-dialog::backdrop { background: rgba(4,12,24,.88); }
.portofino-video-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.portofino-video-header h2 { margin: 0; color: #fff; font: 500 29px/1.2 'Cormorant Garamond',Georgia,serif; }
.portofino-video-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #c5a88088; border-radius: 50%; background: transparent; color: #fff; font-size: 30px; cursor: pointer; }
.portofino-video-close:hover,.portofino-video-close:focus-visible { background: #c5a880; color: #0b192c; }
.portofino-video-picker { padding: 4px 18px 18px; }
.portofino-video-picker .portofino-video-cards { max-width: none; }
.portofino-video-tabs { display: flex; justify-content: center; gap: 10px; padding: 0 16px 12px; }
.portofino-video-tabs button { min-width: 86px; min-height: 40px; border: 1px solid #c5a88099; border-radius: 24px; background: transparent; color: #fff; font: 500 14px/1.2 'Montserrat',sans-serif; cursor: pointer; }
.portofino-video-tabs button[aria-pressed=true] { background: #c5a880; color: #0b192c; }
.portofino-video-dialog video { display: block; margin: 0 auto; width: auto; max-width: 100%; height: min(72dvh,760px); max-height: calc(100dvh - 160px); aspect-ratio: 9/16; object-fit: contain; background: #000; }
.portofino-video-dialog [hidden] { display: none !important; }
.portofino-video-error { margin: 12px 18px 18px; color: #fff; font-size: 14px; }
.portofino-video-retry { color: #e5c59a; background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; }
body.portofino-video-open { overflow: hidden; }
@media(max-width:600px) { .portofino-video-cards { gap: 12px; } .portofino-video-label { left: 13px; bottom: 13px; font-size: 18px; } .portofino-video-play { width: 46px; height: 46px; font-size: 18px; } .portofino-video-dialog { border-radius: 14px; } }
@media(prefers-reduced-motion:reduce) { .portofino-video-card img { transition: none; } }
