/* The user guide page (guides.php): loaded on that page only, so the rest of the website stays within its budget.
   Logical properties throughout, so Arabic and Urdu mirror; the website's own tokens give both themes. */
.w-guides__first, .w-guides__grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .w-guides__first { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.w-guides__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.w-vcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--w-line); border-radius: var(--w-r); background: var(--w-surface); box-shadow: var(--w-shadow); }
.w-vcard__media { position: relative; aspect-ratio: 16 / 9; background: var(--w-night); overflow: hidden; }
.w-vcard__media img, .w-vcard__media video { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.w-vcard__media video { object-fit: contain; background: #000; }
.w-vcard__play { position: absolute; inset: 0; display: block; color: inherit; }
.w-vcard__play:focus-visible { outline: 3px solid var(--w-focus); outline-offset: -3px; }
/* On the poster's empty right side (a fixed English picture, its title on the left), whatever the page's direction. */
.w-vcard__btn { position: absolute; inset: 0 8% 0 auto; margin: auto 0; inline-size: 60px; block-size: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--w-primary); color: var(--w-on-primary); box-shadow: 0 10px 30px -8px rgba(15, 19, 41, 0.6); }
.w-vcard--big .w-vcard__btn { inline-size: 76px; block-size: 76px; }
.w-vcard__btn .w-icon { inline-size: 26px; block-size: 26px; margin-inline-start: 3px; }
.w-vcard__len { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(15, 19, 41, 0.82); color: #fff; font-size: 13px; font-weight: 600; direction: ltr; unicode-bidi: isolate; pointer-events: none; }
.w-vcard__body { display: grid; align-content: start; gap: 6px; padding: 16px 18px 20px; }
.w-vcard__body .w-h4, .w-vcard__body .w-small { margin: 0; }
.w-vcard__n { justify-self: start; min-inline-size: 28px; padding: 2px 9px; border-radius: 999px; background: var(--w-primary-soft); color: var(--w-primary); font-size: 13px; font-weight: 600; text-align: center; }
.w-guides__pdf { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 22px; }
.w-guides__pdf .w-h3, .w-guides__pdf .w-text, .w-guides__pdf .w-small { margin: 0; }
@media (max-width: 640px) { .w-guides__pdf { grid-template-columns: minmax(0, 1fr); } }
/* The sign-up guide under the home page's tour (on the dark tour band): one card, the video beside its words. */
.w-tour__next { max-inline-size: 1000px; margin: 40px auto 0; display: grid; gap: 16px; }
.w-tour__next .w-h3 { margin: 0; color: #fff; text-align: center; text-wrap: balance; }
.w-tour__next ul { margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) {
  .w-vcard--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: none; }
  .w-vcard--wide .w-vcard__body { align-content: center; padding: 22px 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .w-vcard__btn { transition: transform 0.2s var(--w-ease); }
  .w-vcard__play:hover .w-vcard__btn { transform: scale(1.07); }
}
