/* Video tutorials (/guides/videos/): the sporty look of the app on the public
   guide pages. Builds on landing/welcome.css tokens and sporty-public.css. */

.vt-page { background: #F3F5F9; }
.vt-wrap { max-width: 1120px; }

/* Header: EN / BM switch beside Home */
.share-top-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.vt-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: #E8ECF3; margin: 0; }
.vt-lang button {
    border: 0; background: transparent; color: #475569; cursor: pointer;
    font: 800 13px/1 var(--sx-font-sport, inherit); letter-spacing: .06em;
    padding: 8px 12px; border-radius: 999px; min-width: 40px;
}
.vt-lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.vt-lang button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }

/* Hero: dark band, diagonal stripes, green accent line */
.vt-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px),
        linear-gradient(135deg, #0B1F3A 0%, #102a4c 55%, #0f3b3a 100%);
    padding: 28px 0 30px;
    border-bottom: 4px solid #10b981;
}
.vt-hero::after {
    content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 260px;
    border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.28), transparent 70%);
    pointer-events: none;
}
.vt-hero .container { position: relative; z-index: 1; }
.vt-crumb { display: inline-block; color: #A7F3D0; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.vt-crumb:hover { color: #fff; }
.vt-kicker {
    margin: 0 0 6px; color: #F5B301; font: 700 13px/1.2 var(--sx-font-sport, inherit);
    letter-spacing: .14em; text-transform: uppercase;
}
html.sx-public .vt-title {
    margin: 0; color: #fff; font-size: clamp(34px, 8vw, 56px); text-transform: uppercase;
    overflow-wrap: anywhere;
}
.vt-lead { margin: 10px 0 0; max-width: 640px; color: #CBD5E1; font-size: 16px; line-height: 1.5; }
.vt-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vt-stats span {
    padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14); color: #E2E8F0; font-size: 13px; font-weight: 600;
}
.vt-stats strong { color: #fff; font: 800 15px/1 var(--sx-font-sport, inherit); }
.vt-search { position: relative; margin-top: 18px; max-width: 560px; }
.vt-search input {
    width: 100%; padding: 14px 16px 14px 46px; border-radius: 14px; border: 2px solid transparent;
    background: #fff; color: #0f172a; font-size: 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5);
}
.vt-search input:focus { outline: none; border-color: #10b981; }
.vt-search-ico {
    position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%);
    fill: none; stroke: #64748B; stroke-width: 2.4; stroke-linecap: round;
}
.vt-hero-sm { padding-bottom: 24px; }
.vt-hero-sm .vt-title { font-size: clamp(30px, 7vw, 48px); }

/* Role chips: one scrolling row on phones, stays under the header */
.vt-roles {
    position: sticky; top: 60px; z-index: 15; background: rgba(243,245,249,.94);
    backdrop-filter: blur(8px); border-bottom: 1px solid #E2E8F0;
}
.vt-roles .container {
    display: flex; gap: 8px; padding-top: 10px; padding-bottom: 10px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vt-roles .container::-webkit-scrollbar { display: none; }
.vt-roles a {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #E2E8F0;
    color: #0f172a; font: 700 14px/1 var(--sx-font-sport, inherit); letter-spacing: .04em; text-transform: uppercase;
}
.vt-roles a span { padding: 2px 7px; border-radius: 999px; background: #EEF2FF; color: #4338CA; font-size: 12px; }
.vt-roles a:hover { border-color: #10b981; color: #047857; }

/* Groups and cards */
.vt-main { padding-top: 8px; padding-bottom: 56px; }
.vt-group { margin-top: 28px; scroll-margin-top: 130px; }
html.sx-public .vt-group-title {
    display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
    color: #0B1F3A; font-size: 24px; text-transform: uppercase;
}
.vt-group-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: #10b981; transform: skewX(-14deg); }
.vt-group-title span { font: 700 13px/1 var(--sx-font-body, inherit); font-style: normal; color: #64748B; padding: 4px 8px; border-radius: 999px; background: #E2E8F0; }
.vt-topic + .vt-topic { margin-top: 18px; }
.vt-topic-title {
    margin: 0 0 10px; color: #475569; font: 700 13px/1.2 var(--sx-font-body, inherit);
    letter-spacing: .08em; text-transform: uppercase;
}
.vt-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vt-card {
    --aud: #10b981;
    position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; height: 100%;
    padding: 14px 14px 14px 18px; border-radius: 14px; background: #fff; color: #0f172a;
    border: 1px solid #E2E8F0; overflow: hidden;
    box-shadow: 0 1px 2px rgba(15,23,42,.05);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.vt-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--aud); }
.vt-card:hover { transform: translateY(-2px); border-color: var(--aud); box-shadow: 0 12px 24px -14px rgba(15,23,42,.35); color: #0f172a; }
.vt-play {
    flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, #0B1F3A, #1e3a5f); box-shadow: inset 0 -3px 0 var(--aud);
}
.vt-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.vt-card-text { flex: 1 1 auto; min-width: 0; }
.vt-card-text strong {
    display: block; font: 800 19px/1.15 var(--sx-font-sport, inherit); text-transform: uppercase;
    letter-spacing: .01em; overflow-wrap: anywhere;
}
.vt-card-text small {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: 4px; color: #64748B; font-size: 14px; line-height: 1.4;
}
.vt-go { flex: 0 0 auto; color: #94A3B8; font-size: 26px; line-height: 1; }
.vt-aud-hq { --aud: #8b5cf6; }
.vt-aud-staff { --aud: #0ea5e9; }
.vt-aud-coach { --aud: #f97316; }
.vt-aud-parent { --aud: #ec4899; }
.vt-aud-trainee { --aud: #eab308; }
.vt-aud-member { --aud: #2563eb; }
.vt-none { margin: 24px 0 0; color: #64748B; }
.vt-main [hidden] { display: none !important; }

/* Player */
.vt-player {
    position: relative; margin-top: 20px; aspect-ratio: 16 / 9; background: #0B1F3A;
    border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(11,31,58,.7);
    border: 3px solid #0B1F3A;
}
.vt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vt-player-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
.vt-player-bar p { margin: 0; flex: 1 1 260px; color: #64748B; font-size: 14px; }
.vt-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 12px;
    background: #10b981; color: #fff; font: 800 15px/1 var(--sx-font-sport, inherit); letter-spacing: .06em; text-transform: uppercase;
}
.vt-btn:hover { background: #059669; color: #fff; }

.vt-main .guides-cta { margin-top: 40px; }

@media (min-width: 680px) {
    .vt-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .vt-hero { padding: 36px 0 38px; }
}
@media (min-width: 1000px) {
    .vt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
    .share-top .brand-name { display: none; }
    .vt-card { padding: 12px 10px 12px 16px; gap: 12px; }
    .vt-play { flex-basis: 42px; height: 42px; }
    .vt-card-text strong { font-size: 17px; }
    .vt-player-bar .vt-btn { width: 100%; }
}
