/* Pardeh Monsef — video posts / watch pages (inc/video-posts.php, single.php). */

/* The video is the page: compact heading, then the player above the fold. */
.pm-article-shell.pm-watch-shell{max-width:1180px;padding-top:34px}
.pm-watch-header{max-width:900px;margin:0 auto 18px;text-align:center}
.pm-watch-header>span{display:flex;align-items:center;justify-content:center;gap:8px;color:#218b8c;font-size:11px;font-weight:700}
.pm-watch-header>span i{color:#ff2aa1;font-size:7px;font-style:normal}
.pm-watch-header h1{margin:8px 0 0;font-size:clamp(24px,3vw,38px);line-height:1.45}

.pm-watch-player{position:relative;margin:0 auto;overflow:hidden;border-radius:24px;background:#101c1d;box-shadow:0 22px 60px rgba(24,41,43,.18);aspect-ratio:var(--pm-video-ratio,16 / 9);
	/* As wide as possible while the whole frame still fits on screen; portrait phone videos stay narrow. */
	width:min(100%,calc((100svh - 300px) * var(--pm-video-ar,1.7778)));min-width:min(100%,300px)}
.pm-watch-player video,.pm-watch-player iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;object-fit:contain;background:#101c1d}

.pm-watch-meta{display:flex;align-items:center;justify-content:center;gap:16px;margin:16px 0 0;color:#7c8583;font-size:11px}
.pm-watch-meta b{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.pm-watch-meta b::before{content:"";width:0;height:0;border-block:5px solid transparent;border-inline-end:8px solid currentColor}

.pm-watch-products{margin:46px auto 10px}
.pm-watch-products h2{margin:0 0 18px;font-size:22px;text-align:center}
.pm-watch-products .pm-native-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,250px));justify-content:center;gap:24px 16px}

.pm-watch .pm-article-content{margin-top:40px}

@media(max-width:760px){
	.pm-article-shell.pm-watch-shell{padding-top:18px}
	.pm-watch-header{margin-bottom:12px}
	.pm-watch-header h1{font-size:22px}
	/* Full-bleed player on phones. */
	/* Edge to edge on phones (portrait videos up to 78% of the screen height). */
	.pm-watch-player{width:min(100vw,calc((100svh - 290px) * var(--pm-video-ar,1.7778)));min-width:0;margin:0;position:relative;left:50%;transform:translateX(-50%);border-radius:0;box-shadow:none}
	.pm-watch-player.is-portrait{border-radius:16px}
	.pm-watch-products{margin-top:34px}
	.pm-watch-products h2{font-size:18px}
	.pm-watch-products .pm-native-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Magazine cards: play badge on video posts. */
.pm-post-card.pm-has-video .pm-post-card-image{position:relative}
.pm-post-card.pm-has-video .pm-post-card-image::after{content:"";position:absolute;inset:50% auto auto 50%;width:58px;height:58px;transform:translate(-50%,-50%);border-radius:50%;background:rgba(16,28,29,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50%/30px no-repeat;box-shadow:0 0 0 3px rgba(255,255,255,.85);pointer-events:none}
