/* Video guides (videos.html). Loaded only by that page, after site.css; uses its tokens and its .card. */
.marketing .video-groups { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.marketing .video-groups a { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--site-line); border-radius: 999px; color: var(--site-ink); font-size: .9375rem; line-height: 1.4; font-weight: 700; text-decoration: none; }
.marketing .video-groups a:hover { border-color: var(--site-orange); color: var(--site-orange-ink); }
.marketing .video-groups a span { margin-left: 8px; color: var(--site-muted); font-weight: 600; }

.marketing .video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.marketing .video-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; scroll-margin-top: calc(var(--site-header) + 24px); }
.marketing .video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-bottom: 1px solid var(--site-line); background: #0b1220; cursor: pointer; overflow: hidden; }
.marketing .video-play img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.marketing .video-play:hover img, .marketing .video-play:focus-visible img { transform: scale(1.025); }
.marketing .video-play-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 2px solid #fff; border-radius: 50%; background: #17222bc7; box-shadow: 0 8px 24px -8px #0009; transition: background .2s ease, transform .2s ease; }
.marketing .video-play-icon::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.marketing .video-play:hover .video-play-icon, .marketing .video-play:focus-visible .video-play-icon { background: var(--site-orange); transform: scale(1.06); }
.marketing .video-duration { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 5px; background: #0d151bd9; color: #fff; font-size: .8125rem; line-height: 1.5; font-weight: 750; font-variant-numeric: tabular-nums; }
.marketing .video-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 26px; }
.marketing .video-card-body h3 { font-size: 1.15rem; line-height: 1.4; }
.marketing .video-card-body p { margin-top: 10px; color: var(--site-muted); }
.marketing .video-card-body .text-link { align-self: flex-start; margin-top: auto; padding-top: 18px; border-bottom: 0; }
.marketing .video-card-body .text-link span { border-bottom: 1px solid var(--site-orange); padding-bottom: 4px; }

.video-modal .modal-card { width: min(1320px,96vw); max-width: none; max-height: 96dvh; }
.video-modal .modal-card-head, .video-modal .modal-card-foot { padding: 16px 24px; }
.video-modal .modal-card-title { font-size: 1rem; line-height: 1.5; text-transform: none !important; } /* the kit's .is-capitalized would title-case every word */
.video-modal .modal-card-body { padding: 0; overflow: auto; }
.video-modal video { display: block; width: 100%; height: auto; max-height: calc(96dvh - 150px); aspect-ratio: 16 / 9; background: #0b1220; }
.video-modal-info { padding: 20px 24px 24px; font-family: "Manrope",sans-serif; line-height: 1.7; }
.video-modal-info > p { max-width: 900px; color: var(--site-muted, #52616d); }
.video-modal-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.video-modal-links .text-link { margin-top: 14px; }
.video-transcript { margin-top: 18px; border-top: 1px solid var(--site-line, #d8e0e5); }
.video-transcript > summary { padding: 14px 0 4px; cursor: pointer; font-weight: 750; }
.video-transcript > p { max-width: 900px; margin-top: 10px; color: var(--site-muted, #52616d); }

@media (max-width: 960px) {
  .marketing .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .marketing .video-grid { grid-template-columns: 1fr; gap: 18px; }
  .marketing .video-groups { gap: 8px; margin-top: 26px; }
  .marketing .video-groups a { padding: 6px 11px; font-size: .8125rem; }
  .marketing .video-groups a span { margin-left: 6px; }
  .video-modal .modal-card { width: 100vw; max-height: 100dvh; border-radius: 0; }
  .video-modal .modal-card-head, .video-modal .modal-card-foot { padding: 12px 16px; }
  .video-modal-info { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing .video-play img, .marketing .video-play-icon { transition: none; }
  .marketing .video-play:hover img, .marketing .video-play:focus-visible img { transform: none; }
}
