/* Only enqueued on the soccer homepage. Original links remain the no-JS fallback. */
body .vsa nav.vhpn { background:#f4f6f5; padding:38px 0 44px; border-bottom:1px solid #e3e9e6; }
body .vsa .vhpn-inner { width:min(1200px, calc(100% - 64px)); margin-inline:auto; }
body .vsa .vhpn-heading { margin:0 0 22px; padding:0; border:0; background:none; color:#163c34; font-size:22px; font-weight:800; line-height:1.5; letter-spacing:.02em; }
body .vsa .vhpn-heading::before,body .vsa .vhpn-heading::after { display:none; }
body .vsa .vhpn-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body .vsa a.vhpn-card { position:relative; display:flex; flex-direction:column; justify-content:flex-end; min-height:246px; overflow:hidden; isolation:isolate; padding:84px 25px 26px; border:1px solid #dce5e0; border-radius:18px; background:#fff; color:#122b25!important; text-decoration:none!important; box-shadow:0 3px 10px #0c32200a; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
body .vsa a.vhpn-card::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#fff 0%,#fffffff5 24%,#ffffffc9 45%,#ffffff35 75%),linear-gradient(0deg,#fffffff2 0%,#ffffff00 58%); pointer-events:none; }
body .vsa img.vhpn-photo { position:absolute; inset:0; z-index:-2; display:block; width:100%!important; height:100%!important; max-width:none; margin:0; object-fit:cover; object-position:64% center; border:0; border-radius:0; filter:saturate(.87); transition:transform .3s ease; }
body .vsa .vhpn-icon { position:absolute; top:22px; left:25px; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#e3eee5; color:#245e42; }
body .vsa .vhpn-icon svg { width:23px; height:23px; }
body .vsa .vhpn-copy { position:relative; display:block; max-width:88%; }
body .vsa .vhpn-title { display:block; margin:0 0 12px; font-size:clamp(20px,1.8vw,27px); font-weight:850; line-height:1.35; letter-spacing:.01em; }
body .vsa .vhpn-description { display:block; max-width:220px; padding-right:12px; color:#3e514b; font-size:15px; font-weight:500; line-height:1.65; }
body .vsa .vhpn-arrow { position:absolute; right:17px; bottom:22px; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; color:#18563a; background:#fff; border:1px solid #dce5de; box-shadow:0 3px 8px #173b2010; }
body .vsa .vhpn-arrow svg { width:21px; height:21px; }
body .vsa .vhpn-card[data-card=calendar] { border-color:#8daf99; }
body .vsa .vhpn-card[data-card=calendar] .vhpn-icon,body .vsa .vhpn-card[data-card=calendar] .vhpn-arrow { color:#fff; background:#1c6845; border-color:#1c6845; }
body .vsa .vhpn-card:focus-visible { outline:3px solid #267851; outline-offset:4px; }
@media(hover:hover) { body .vsa .vhpn-card:hover { transform:translateY(-3px); border-color:#81a893; box-shadow:0 10px 24px #0c322015; } body .vsa .vhpn-card:hover img { transform:scale(1.035); } }
/* Keep the established hero words and photo; leave more of the training scene visible. */
body.vhpn-ready .vsa .vsa-hero { background-image:linear-gradient(90deg,rgba(4,14,27,.9),rgba(4,14,27,.72) 40%,rgba(4,14,27,.16) 100%),url("/wp-content/plugins/virds-photo-navigation/photos/hero.webp")!important; background-position:center,center 56%!important; }
body.vhpn-ready .vsa .vsa-chips { gap:8px!important; }
body.vhpn-ready .vsa .vsa-chip { background:#ffffff10!important; border-color:#ffffff42!important; }
@media(min-width:768px) and (max-width:1023px) {
 body .vsa .vhpn-inner { width:calc(100% - 40px); }
 body .vsa .vhpn-grid { gap:12px; }
 body .vsa a.vhpn-card { padding:77px 18px 20px; min-height:263px; }
 body .vsa .vhpn-icon { left:18px; top:20px; }
 body .vsa .vhpn-copy { max-width:100%; }
 body .vsa .vhpn-title { font-size:22px; }
 body .vsa .vhpn-description { padding-right:24px; font-size:14px; }
 body .vsa .vhpn-arrow { width:30px; height:30px; right:12px; bottom:17px; }
}
@media(max-width:767px) {
 body .vsa nav.vhpn { padding:26px 0 30px; }
 body .vsa .vhpn-inner { width:calc(100% - 32px); }
 body .vsa .vhpn-heading { font-size:17px; margin-bottom:16px; letter-spacing:0; }
 body .vsa .vhpn-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 body .vsa a.vhpn-card { min-height:252px; padding:102px 14px 15px; border-radius:14px; justify-content:flex-start; }
 body .vsa img.vhpn-photo { height:116px!important; object-position:center 45%; }
 body .vsa a.vhpn-card::after { background:linear-gradient(180deg,#ffffff00 65px,#ffffffd9 96px,#fff 113px); }
 body .vsa .vhpn-icon { top:13px; left:12px; width:32px; height:32px; background:#fffffff2; box-shadow:0 1px 6px #00000010; }
 body .vsa .vhpn-icon svg { width:20px; height:20px; }
 body .vsa .vhpn-copy { max-width:100%; }
 body .vsa .vhpn-title { font-size:20px; line-height:1.35; margin-bottom:8px; letter-spacing:-.02em; }
 body .vsa .vhpn-description { max-width:none; padding-right:0; font-size:13px; line-height:1.65; padding-bottom:24px; }
 body .vsa .vhpn-arrow { width:28px; height:28px; right:12px; bottom:12px; }
 body .vsa .vhpn-arrow svg { width:17px; height:17px; }
 body.vhpn-ready .vsa .vsa-hero { background-image:linear-gradient(180deg,rgba(4,14,27,.83),rgba(4,14,27,.52) 50%,rgba(4,14,27,.90)),url("/wp-content/plugins/virds-photo-navigation/photos/hero.webp")!important; background-position:center,60% center!important; }
 body.vhpn-ready .vsa .vsa-chip { font-size:12px!important; padding:7px 11px!important; }
}
@media(max-width:359px) {
 body .vsa .vhpn-inner { width:calc(100% - 24px); }
 body .vsa .vhpn-grid { gap:10px; }
 body .vsa a.vhpn-card { padding:98px 11px 14px; }
 body .vsa img.vhpn-photo { height:112px!important; }
 body .vsa .vhpn-title { font-size:17px; }
 body .vsa .vhpn-description { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { body .vsa a.vhpn-card,body .vsa img.vhpn-photo { transition:none; } }

/* Keep the theme menu control clear of the left-aligned page headings. */
@media(max-width:991px) {
 body.vhpn-ready #vk-mobile-nav-menu-btn { position:absolute; left:auto; right:12px; top:12px; width:44px; height:44px; border:1px solid #d9e2dd; border-radius:12px; background-color:#fff; box-shadow:0 3px 12px #10291c1c; }
 body.vhpn-ready.admin-bar #vk-mobile-nav-menu-btn { top:58px; }
}
