/* Tutorial films on the free-tool pages and /pro/ (5 Nov 2026).
   Same click-to-load player as js/video.js: our own still and a play button,
   nothing from YouTube until someone presses play. Scoped to .tut so the
   older miracue.css .vid-frame rules on the tool pages don't leak in. */
.tut{margin:0 0 clamp(32px,5vw,48px);max-width:760px}
.tut[hidden]{display:none}
.tut .vid-frame{position:relative;display:block;width:100%;padding:0;border:1px solid var(--line);
  border-radius:var(--r);overflow:hidden;line-height:0;background:var(--ink);cursor:pointer;box-shadow:none}
.tut .vid-frame:hover{transform:none}
.tut .vid-frame img,.tut .vid-frame iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0}
.tut .vid-frame.is-playing{cursor:default}
.tut .vid-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:68px;height:68px;border-radius:50%;background:rgba(255,255,255,.94);
  box-shadow:0 2px 16px rgba(0,0,0,.30);display:flex;align-items:center;justify-content:center;
  transition:transform .2s ease}
.tut .vid-frame:hover .vid-play{transform:translate(-50%,-50%) scale(1.05)}
.tut .vid-frame:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.tut .vid-play svg{width:24px;height:24px;margin-left:4px;fill:var(--ink)}
.tut figcaption{display:flex;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;
  margin-top:10px;font-size:15px;line-height:1.4;color:var(--ink-2)}
.tut figcaption b{font-weight:600;color:var(--ink)}
.tut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,36px);max-width:1080px;margin-inline:auto}
.tut-grid .tut{margin:0;max-width:none}
.tut-grid .tut.wide{grid-column:1/-1;max-width:760px;width:100%;justify-self:center}
.tut-sec[hidden]{display:none}
@media (max-width:720px){
  .tut-grid{grid-template-columns:1fr}
  .tut .vid-play{width:56px;height:56px}
  .tut .vid-play svg{width:20px;height:20px}
}
/* The small link under the hero's main button: second to the tool, never a rival to it. */
.tut-link{display:inline-flex;align-items:center;gap:10px;margin:14px 0 0;font-size:15px;font-weight:600;
  color:inherit;text-decoration:none}
.tut-link[hidden]{display:none}
.ft-copy .tut-link{display:flex;width:max-content}
.ft-copy .tut-link[hidden]{display:none}
.tut-link span:last-child{font-weight:400;opacity:.72}
.tut-link:hover{text-decoration:underline;text-underline-offset:4px}
.tut-link-ico{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:50%;border:1.5px solid currentColor;flex:none}
.tut-link-ico svg{width:12px;height:12px;margin-left:2px;fill:currentColor}
#tut{scroll-margin-top:90px}
@media print{.tut,.tut-sec{display:none!important}}
