/* form.com 2026 redesign (Tasker WEB) — video and product-tour embeds on WEB 2026 pages. See w26-video.php. */

/* Navattic product tours: the size and frame of the design's tour placeholder (.w26-tour-box: 1018/592, 1px white
   border, 20px radius; 326/190 and 10px at <=1024px). Navattic's embed code sets an inline height:100% and
   border:none; with no sized parent that height falls back to 150px, so both need !important here. */
body.w26-page .elementor .w26 iframe[src*="navattic.com"] { display: block; width: 100%; max-width: 100%; height: auto !important; aspect-ratio: 1018 / 592; border: 1px solid #fff !important; border-radius: 20px; background: #13192a; }
@media (max-width: 1024px) {
body.w26-page .elementor .w26 iframe[src*="navattic.com"] { aspect-ratio: 326 / 190; border-radius: 10px; }
}
/* Phones: Navattic switches to its swipe-through "Mobile version" (screenshot + caption per step), which needs a
   portrait box; at 326/190 its title and captions are cut off. */
@media (max-width: 767px) {
body.w26-page .elementor .w26 iframe[src*="navattic.com"] { aspect-ratio: 3 / 4; }
}

/* Plain embeds (no cover: other markup, or before w26-video.php ran): full container width at 16:9. Without
   width/height attributes an iframe falls back to 300x150, and height:auto alone keeps it at 150px. */
body.w26-page .elementor .w26 .w26-video-wrap iframe, body.w26-page .elementor .w26 .w26-video-wrap video, body.w26-page .elementor .w26 .w26-video-wrap wistia-player, body.w26-page .elementor .w26 iframe[src*="player.vimeo.com"], body.w26-page .elementor .w26 iframe[src*="wistia."] { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; }

/* Click-to-play cover: the design's video box (.w26-video: dark, 1px black border, 20px radius) at 16:9,
   thumbnail underneath, the design's triangle play button in the middle. */
body.w26-page .w26-vf { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #000; border-radius: 20px; background: var(--w26-dark-bg, #0d1424); cursor: pointer; }
body.w26-page .w26-vf .w26-vf-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; }
body.w26-page .w26-vf .w26-vf-play, body.w26-page .w26-vf .w26-vf-play:hover, body.w26-page .w26-vf .w26-vf-play:focus { position: absolute; z-index: 1; left: 50%; top: 50%; width: 56px; height: 64px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; transform: translate(-40%, -50%); background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 74%22%3E%3Cpath fill=%22%23ddf2ff%22 d=%22M60.5 31.8c4 2.3 4 8.1 0 10.4L9 72C5 74.3 0 71.4 0 66.8V7.2C0 2.6 5-.3 9 2z%22/%3E%3C/svg%3E") center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); cursor: pointer; transition: transform .2s ease; }
body.w26-page .w26-vf:hover .w26-vf-play { transform: translate(-40%, -50%) scale(1.08); }
body.w26-page .w26-vf .w26-vf-play:focus-visible { outline: 2px solid #ddf2ff; outline-offset: 10px; }
body.w26-page .w26-vf.is-playing { cursor: auto; }
body.w26-page .w26-vf.is-playing .w26-vf-play { display: none; }
body.w26-page .elementor .w26 .w26-vf iframe { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }

@media (max-width: 1024px) {
body.w26-page .elementor .w26 .w26-video-wrap iframe, body.w26-page .elementor .w26 .w26-video-wrap video, body.w26-page .elementor .w26 .w26-video-wrap wistia-player, body.w26-page .elementor .w26 iframe[src*="player.vimeo.com"], body.w26-page .elementor .w26 iframe[src*="wistia."] { border-radius: 10px; }
body.w26-page .w26-vf { border-radius: 10px; }
body.w26-page .w26-vf .w26-vf-play, body.w26-page .w26-vf .w26-vf-play:hover, body.w26-page .w26-vf .w26-vf-play:focus { width: 24px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
body.w26-page .w26-vf .w26-vf-play { transition: none; }
}
