.tv-managed-video{display:block;width:100%;height:100%;object-fit:contain;background:#0d0d0d}
.bio-screen:has(>.tv-managed-video),.ig-restructure-screen:has(>.tv-managed-video){position:relative;padding:0!important;contain:size;aspect-ratio:9/19.5;overflow:auto}
.bio-screen>.tv-managed-video,.ig-restructure-screen>.tv-managed-video{position:absolute;inset:0}
.format-art>.tv-managed-video{position:absolute;inset:0}
.tv-video-screen{position:absolute;inset:0;z-index:3;background:#0d0d0d;border-radius:inherit;overflow:hidden}
.tv-video-screen video{display:block;width:100%;height:100%;object-fit:contain}
[data-mockup].tv-has-video{position:relative}
.institutional-screen video,.institutional-mobile>video,.custom-mobile-screen video,.ig-phone-screen video{width:100%;height:100%;object-fit:contain;display:block}
.tv-restructure-pair .ig-restructure-phone{width:100%;max-width:218px;height:auto;min-height:0;zoom:1!important;transform:none!important;margin:0 auto}
.tv-restructure-pair .ig-restructure-screen{position:relative;box-sizing:border-box;aspect-ratio:9/19.5;min-height:0;height:auto;max-height:none;overflow:auto;scrollbar-width:none}
.tv-restructure-pair .ig-restructure-screen:has(>.tv-managed-image){padding:0;contain:size}
.tv-restructure-pair .ig-restructure-screen>.tv-managed-image{width:100%;height:auto;object-fit:contain}
.tv-mockup-placeholder{display:flex;min-height:100%;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px 14px;color:#786443;font-size:12px;gap:16px;background:#f3eee2}
.tv-mockup-placeholder strong{font-size:22px;color:#4d4433}
@media(min-width:1101px) and (max-height:800px){.tv-restructure-pair .ig-restructure-phone{max-width:185px}}
@media(max-width:420px){.tv-restructure-pair .ig-restructure-phone{max-width:228px}}
/* Only the Content & Video project showcase. */
body[data-content-video-catalog] #portfolio>.container{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:24px 42px;align-items:center}
body[data-content-video-catalog] #portfolio #serviceProjects{display:grid;grid-template-columns:repeat(2,minmax(0,210px));justify-content:center;align-items:start;gap:22px;width:100%;max-width:500px;justify-self:end;grid-column:2;grid-row:1/3}
body[data-content-video-catalog] #portfolio .pf-card{width:100%;min-width:0;margin:0;gap:0;overflow:hidden;border-radius:16px;background:#0d0d0d}
body[data-content-video-catalog] #portfolio .pf-card-media.is-video{width:100%;height:auto!important;aspect-ratio:9/16;min-height:0;max-height:none;margin:0;border-radius:0}
body[data-content-video-catalog] #portfolio .pf-card-media.is-video video{width:100%;height:100%;object-fit:contain;background:#0d0d0d}
body[data-content-video-catalog] #portfolio .pf-card-body{padding:14px!important;gap:5px;min-height:175px}
body[data-content-video-catalog] #portfolio .pf-card-body h3{font-size:21px;line-height:1.25;margin:0}
body[data-content-video-catalog] #portfolio .pf-card-meta{gap:4px;margin:0}
body[data-content-video-catalog] #portfolio .pf-card-meta .tag{font-size:9px;padding:3px 5px}
body[data-content-video-catalog] #portfolio .pf-card-service{font-size:11px;margin:0}
body[data-content-video-catalog] #portfolio .pf-card-link{font-size:12px;margin-top:6px}
@media(max-width:900px){body[data-content-video-catalog] #portfolio>.container{grid-template-columns:minmax(0,1fr)}body[data-content-video-catalog] #portfolio #serviceProjects{grid-column:1;grid-row:auto;justify-self:center}body[data-content-video-catalog] #portfolio .pf-more{grid-column:1}}
@media(max-width:480px){body[data-content-video-catalog] #portfolio #serviceProjects{grid-template-columns:minmax(0,240px)} }

.service-media>video,.hero-art>video,.sp-hero-visual>video{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.page-hero-media>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* Portfolio information style, scoped to the Content & Video showcase. */
body[data-content-video-catalog] #portfolio .pf-card-body{min-height:140px;gap:8px}
body[data-content-video-catalog] #portfolio .pf-card-kicker{margin:0;color:#d4af7c;font-size:10px;line-height:1.6;letter-spacing:.08em;text-transform:uppercase}
body[data-content-video-catalog] #portfolio .pf-card-title{margin:0;color:#f7f3ea}
/* Same phone shell and media renderer; configuration renders one or two real nodes. */
body.hero-system main [data-tv-hero] .tv-cv-pair{max-width:460px}
.tv-cv-models{display:flex;justify-content:center;align-items:flex-start;gap:0;width:100%;padding:12px 8px}
.tv-cv-pair .tv-cv-phone{flex:none;max-height:none;height:auto;box-sizing:border-box}
.tv-cv-pair .tv-cv-phone--front{order:2;width:218px;max-width:218px;margin:28px 0 0 -12px;z-index:2;position:relative}
.tv-cv-pair .tv-cv-phone--rear{order:1;width:185px;max-width:185px;margin:0;z-index:1;position:relative}
.tv-cv-pair .tv-cv-screen{position:relative;aspect-ratio:9/19.5;contain:size;padding:0!important;min-height:0;height:auto;background:#10110f;overflow:auto}
.tv-cv-screen>.tv-managed-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.tv-cv-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:22px;color:#d4af7c;padding:22px;background:linear-gradient(145deg,#181a16,#0d0d0d)}
.tv-cv-placeholder>span{font-size:44px;font-weight:300}.tv-cv-placeholder>small{font-size:11px;line-height:1.7}
.tv-cv-pair[data-cv-count="1"] .tv-cv-phone--front{order:initial;width:228px;max-width:228px;margin:0}
@media(min-width:1101px) and (max-height:800px){.tv-cv-pair .tv-cv-phone--front{width:185px;max-width:185px}.tv-cv-pair .tv-cv-phone--rear{width:160px;max-width:160px}}
@media(max-width:520px){.tv-cv-models{flex-direction:column;align-items:center;gap:28px}.tv-cv-pair .tv-cv-phone--front{order:1;width:228px;max-width:228px;margin:0}.tv-cv-pair .tv-cv-phone--rear{order:2;width:208px;max-width:208px;margin:0}}
