/* The soccer design language, scoped to the three requested sites. */
body.virds-unified-design { color:#102d31; }
body.virds-unified-design .entry-body { overflow-wrap:break-word; }
body.virds-unified-design :is(.vsa,.virds-page,.virds-local-page,.vg,.virds-hub-refresh,.virds-native-home) { --ink:#102d31; --navy:#123d34; --green:#176b48; --lime:#176b48; --accent:#176b48; --gold:#bce7cf; --muted:#41564d; --line:#d8e5dd; }
body.virds-unified-design .vsa .vud-intro-photo { width:100%!important; max-width:none!important; margin:0!important; border-radius:18px; overflow:hidden; }
body.virds-unified-design .vsa .vud-intro-photo img { display:block; width:100%!important; height:auto!important; aspect-ratio:4/3; object-fit:cover; }
body.virds-unified-design .vsa .vud-intro-copy { min-width:0; }
body.virds-unified-design :is(.vsa-copy,.vp-copy,.vl-lead,.virds-native-lead) { font-size:clamp(16px,1.3vw,19px)!important; line-height:1.95!important; }
body.virds-unified-design :is(.vsa-six-card,.vh-training-card,.vsa-why,.vsa-expertise-card) p { font-size:16px!important; line-height:1.85!important; }
body.virds-unified-design :is(.vsa-flow>li,.vsa-step) { min-width:0; height:auto!important; padding:24px!important; }
body.virds-unified-design .virds-home-media-intro .vhi-name { font-size:clamp(22px,2.4vw,32px)!important; color:var(--vsd-deep)!important; line-height:1.6!important; }
body.virds-unified-design .virds-home-media-intro h2 { font-size:clamp(20px,2vw,26px)!important; line-height:1.6!important; }
body.virds-unified-design .virds-home-media-intro .vih-overview { max-width:680px; margin:24px auto!important; }
body.virds-unified-design .virds-home-media-intro .vih-overview img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:16px; }
body.virds-unified-design .virds-social-compact .virds-social-cards { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; }
body.virds-unified-design .virds-social-compact .virds-social-card { display:flex!important; flex-direction:column!important; position:relative; overflow:hidden; min-width:0; background:#fff!important; color:#102d31!important; }
body.virds-unified-design .virds-social-compact .virds-social-card::before { display:none!important; }
body.virds-unified-design .virds-social-compact .virds-social-card__icon { position:absolute!important; z-index:1; top:12px; left:12px; width:38px; height:38px; margin:0!important; display:grid; place-items:center; border-radius:10px; background:#fff; color:#176b48; }
body.virds-unified-design .virds-social-compact .virds-social-card--youtube .virds-social-card__icon { color:#d90000; }
body.virds-unified-design .virds-social-compact .virds-social-card--instagram .virds-social-card__icon { color:#b72c71; }
body.virds-unified-design .virds-social-compact .virds-social-card__body { display:flex; flex-direction:column; flex:1; width:100%; box-sizing:border-box; color:#41564d!important; }
body.virds-unified-design .virds-social-compact .virds-social-card__body strong { color:#102d31!important; }
body.virds-unified-design .virds-social-compact .virds-social-card__arrow { position:static!important; align-self:flex-end; margin:0 18px 14px!important; color:#176b48!important; font-size:22px; }
body.virds-unified-design .vud-social-visual { display:block; position:relative; width:100%; aspect-ratio:4/3; background:#e4efe8; overflow:hidden; }
body.virds-unified-design .vud-social-visual>img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 35%; }
body.virds-unified-design .vud-social-visual>img.vud-channel-icon { position:absolute; bottom:12px; right:12px; width:64px; height:64px; border-radius:50%; border:3px solid #fff; }
body.virds-unified-design .vud-social-pending { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:#fff; background:#183e35; }
body.virds-unified-design .vud-social-pending>span { font-size:54px; font-weight:500; line-height:1; }
body.virds-unified-design .vud-social-pending small { font-size:14px; }
body.virds-unified-design .virds-social-card--pending .virds-social-card__icon { display:none!important; }
body.virds-unified-design .virds-sticky-trial { position:fixed!important; left:50%!important; right:auto!important; bottom:max(16px,env(safe-area-inset-bottom))!important; transform:translateX(-50%)!important; width:max-content!important; max-width:calc(100vw - 110px)!important; min-height:50px!important; padding:12px 28px!important; font-size:16px!important; line-height:1.6!important; text-align:center!important; }
body.virds-unified-design .virds-local-faq p { font-size:16px!important; line-height:1.9!important; }
body.virds-unified-design .entry-body .virds-location-venue { font-size:clamp(19px,2vw,24px)!important; line-height:1.6!important; color:#102d31!important; }
body.virds-unified-design .entry-body .virds-annual-activity-note p { font-size:16px!important; }
/* Preserve native WordPress blocks on the newer overall homepage. */
body.vud-site-overall .virds-hub-refresh { --ink:#102d31; --navy:#123d34; --muted:#41564d; --line:#d8e5dd; --gold:#bce7cf; }
body.vud-site-overall .virds-hub-refresh .vh-section { padding-block:clamp(52px,6vw,88px); }
body.vud-site-overall .virds-hub-refresh .vh-button a,
body.vud-site-overall .vg-btn,
body.vud-site-overall .entry-body>.wp-block-buttons .wp-block-button__link { border-radius:999px!important; background:#176b48!important; border-color:#176b48!important; color:#fff!important; min-height:48px; }
body.vud-site-overall .virds-hub-refresh .vh-outline a { background:transparent!important; color:#176b48!important; border-color:#91b6a0!important; }
body.vud-site-overall .virds-hub-refresh :is(.vh-hero,.vh-philosophy,.vh-final) .vh-outline a { color:#fff!important; border-color:#ffffff90!important; }
body.vud-site-overall .virds-hub-refresh :is(.vh-hero,.vh-final) .vh-button:not(.vh-outline) a { background:#fff!important; border-color:#fff!important; color:#123d34!important; }
body.vud-site-overall .virds-hub-refresh .vh-hero::after { background:linear-gradient(90deg,#123d34 2%,#123d34f5 31%,#123d34bf 49%,#123d3410 85%); }
body.vud-site-overall .virds-hub-refresh :is(.vh-academy,.vh-resource,.vh-step,.vh-channel-tile,.vh-media-banner),
body.vud-site-overall :is(.vg-academy,.vg-resource,.vg-youtube-card,.vg-channel) { border-radius:18px!important; border-color:#d8e5dd!important; box-shadow:0 4px 16px #123d3409!important; overflow:hidden; }
body.vud-site-overall .virds-hub-refresh .vh-academy { --sport:#176b48; }
body.vud-site-overall .virds-hub-refresh :is(.vh-soccer,.vh-baseball) { --sport:#176b48; }
body.vud-site-overall .virds-hub-refresh .vh-text-link a { background:transparent!important; color:#176b48!important; border:0!important; }
body.vud-site-overall .virds-hub-refresh :is(.vh-report,.vh-final) { background:#123d34!important; border-color:#bce7cf!important; }
body.vud-site-overall .virds-hub-refresh .vh-report .vh-text-link a { color:#bce7cf!important; }
body.vud-site-overall .virds-hub-refresh :is(.vh-trial,.vh-media-banner) { background:#edf6f1!important; }
body.vud-site-overall .virds-hub-refresh .vh-step-number { background:#176b48!important; color:#fff!important; }
body.vud-site-overall .virds-hub-refresh p { font-size:clamp(16px,1.25vw,18px)!important; line-height:1.9!important; }
body.vud-site-overall .virds-hub-refresh :is(.vh-channel-summary,.vh-card-tag,.vh-kicker) { font-size:14px!important; }
body.vud-site-overall .virds-hub-refresh .vh-channels .vh-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
body.vud-site-overall .global-nav-list>li:last-child>a { background:#176b48!important; color:#fff!important; border-radius:999px!important; }
/* Earlier overall pages retain their content and receive the same surfaces. */
body.vud-site-overall :is(.vg,.vg-site,.vg-page) { --navy:#123d34; --ink:#102d31; --green:#176b48; --gold:#bce7cf; }
body.vud-site-overall :is(.vg-hero,.vg-final,.vg-philosophy,.vg-dark) { background-color:#123d34!important; }
body.vud-site-overall .entry-body> :is(p,ul,ol),body.vud-site-overall .entry-body>.wp-block-group:not(.virds-hub-refresh) p { font-size:clamp(16px,1.3vw,18px); line-height:1.9; }
body.vud-site-overall :is(.vg-academy-link,.vg-link) { color:#176b48!important; }
body.virds-unified-design .virds-academy-name { font-size:clamp(20px,1.8vw,27px)!important; line-height:1.5!important; }
@media(min-width:1200px) { body.virds-unified-design .virds-academy-name { white-space:nowrap; } }
@media(max-width:767px) {
 body.virds-unified-design .virds-social-compact .virds-social-card__icon { top:6px; left:6px; width:25px; height:25px; border-radius:7px; }
 body.virds-unified-design .virds-social-compact .virds-official-social__icon { width:16px; height:16px; }
 body.virds-unified-design .vud-social-visual>img.vud-channel-icon { width:30px; height:30px; bottom:5px; right:5px; border-width:2px; }
 body.virds-unified-design .vud-social-pending>span { font-size:30px; }
 body.virds-unified-design .vud-social-pending small { font-size:11px; }
 body.virds-unified-design .virds-social-compact .virds-social-card__arrow { margin:0 9px 9px!important; font-size:18px; }
 body.virds-unified-design .virds-sticky-trial { min-height:48px!important; padding:10px 22px!important; font-size:15px!important; }
 body.virds-unified-design .vsa .vud-intro-photo { grid-column:1; }
 body.vud-site-overall .virds-hub-refresh .vh-channel-summary { font-size:12px!important; }
}
@media(max-width:600px) {
 body.vud-site-overall .virds-hub-refresh .vh-hero::after { background:linear-gradient(180deg,#123d340d,#123d341a 150px,#123d34 320px); }
 body.vud-site-overall .virds-hub-refresh .vh-hero .vh-kicker { font-size:12px!important; }
}
@media(prefers-reduced-motion:reduce) { body.virds-unified-design :is(a,button,img) { transition:none!important; } }
/* Strong contrast in timetable cells and recognisable social logos. */
body.virds-unified-design .entry-body .virds-fee-schedule :is(.virds-fee-schedule-label,.virds-fee-schedule-value) { color:#234b3d!important; }
body.virds-unified-design .virds-social-compact .virds-social-card--youtube .virds-social-card__icon { background:#d90000!important; color:#fff!important; }
body.virds-unified-design .virds-social-compact .virds-social-card--instagram .virds-social-card__icon { background:#b72c71!important; color:#fff!important; }
body.virds-unified-design .virds-social-compact .virds-social-card__icon svg { color:#fff!important; }
/* The older overall pages use plain native blocks rather than the homepage classes. */
body.vud-site-overall:not(.home) .main-section { width:100%!important; float:none!important; max-width:1100px!important; margin-inline:auto!important; }
body.vud-site-overall:not(.home) .sub-section { display:none!important; }
body.vud-site-overall:not(.home) .entry-body> :is(h1,h2,h3,h4),
body.vud-site-overall:not(.home) .entry-body>.wp-block-group:not(.vg):not(.virds-hub-refresh) :is(h2,h3,h4) { background:none!important; color:#102d31!important; border:0!important; padding:0!important; box-shadow:none!important; line-height:1.55!important; }
body.vud-site-overall:not(.home) .entry-body>h2 { font-size:clamp(25px,2.6vw,34px)!important; margin:56px 0 22px!important; padding-bottom:18px!important; border-bottom:1px solid #d8e5dd!important; }
body.vud-site-overall:not(.home) .entry-body>h3 { font-size:clamp(21px,2vw,26px)!important; margin:32px 0 16px!important; }
body.vud-site-overall:not(.home) .entry-body> :is(h2,h3,h4)::after { display:none!important; }
body.vud-site-overall .entry-body> :is(p,ul,ol) { font-size:18px!important; line-height:1.95!important; }
body.vud-site-overall .entry-body .wp-block-table { overflow-x:auto; border:1px solid #d8e5dd; border-radius:16px; padding:10px; }
body.vud-site-overall .entry-body .wp-block-table :is(td,th) { padding:16px; border-color:#d8e5dd; line-height:1.8; }
body.vud-site-overall .entry-body>.wp-block-buttons .wp-block-button__link { padding:14px 24px!important; }
body.vud-site-overall .vg :is(.vg-eyebrow,.vg-academy-no,.vg-academy-sport) { display:none!important; }
body.vud-site-overall .vg :is(.vg-heading,.vg-academy h3) { color:#102d31; }
body.vud-site-overall .vg .vg-school-hero { background:#123d34!important; }
body.vud-site-overall .vg .vg-school-hero .vg-heading { color:#fff!important; }
body.vud-site-overall .vg .vg-school-note { background:#edf6f1!important; }
body.vud-site-overall .vud-overall-next { margin:64px 0 0; padding:32px; border-radius:20px; border:1px solid #d8e5dd; background:#edf6f1; }
body.vud-site-overall .vud-overall-next h2 { margin:0 0 22px!important; padding:0!important; border:0!important; background:none!important; font-size:28px!important; color:#102d31!important; }
body.vud-site-overall .vud-overall-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
body.vud-site-overall .vud-overall-card { display:flex; flex-direction:column; overflow:hidden; border-radius:16px; border:1px solid #d8e5dd; background:#fff; color:#102d31; text-decoration:none; }
body.vud-site-overall .vud-overall-card img { width:100%; aspect-ratio:16/9; object-fit:cover; }
body.vud-site-overall .vud-overall-card strong { display:block; font-size:21px; line-height:1.5; padding:20px 20px 8px; }
body.vud-site-overall .vud-overall-card span { font-size:16px; line-height:1.85; padding:0 20px 20px; }
body.vud-site-overall .vud-overall-card small { display:block; font-size:15px; padding:12px 18px; margin:0 16px 18px; border-radius:999px; background:#176b48; color:white; text-align:center; }
@media(max-width:767px) {
 body.vud-site-overall .entry-body> :is(p,ul,ol) { font-size:16px!important; }
 body.vud-site-overall .vud-overall-next { margin-top:44px; padding:24px 18px; }
 body.vud-site-overall .vud-overall-grid { grid-template-columns:1fr; }
}
body.vud-site-overall .vud-youtube-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
body.vud-site-overall .vud-youtube { background:#123d34; }
body.vud-site-overall .vud-youtube h2 { color:white!important; }
body.vud-site-overall .vud-youtube-grid .vud-overall-card img { aspect-ratio:16/9; object-fit:contain; background:#f4f8f5; padding:12px; box-sizing:border-box; }
body.vud-site-overall .vud-youtube-grid .vud-overall-card small { margin-top:auto; }
@media(max-width:767px) {
 body.vud-site-overall .vud-youtube-grid { gap:8px; }
 body.vud-site-overall .vud-youtube-grid .vud-overall-card { border-radius:10px; }
 body.vud-site-overall .vud-youtube-grid .vud-overall-card img { aspect-ratio:1; padding:0; }
 body.vud-site-overall .vud-youtube-grid .vud-overall-card strong { padding:12px 8px 8px; font-size:13px; }
 body.vud-site-overall .vud-youtube-grid .vud-overall-card span { padding:0 8px 12px; font-size:12px; line-height:1.7; }
 body.vud-site-overall .vud-youtube-grid .vud-overall-card small { padding:8px 4px; margin:0 5px 10px; font-size:11px; }
}
body.virds-unified-design .virds-sticky-trial { display:flex!important; align-items:center!important; justify-content:center!important; }
body.virds-unified-design .site-footer { background:#123d34!important; color:#eef7f1!important; border-top:1px solid #315c4c; }
body.virds-unified-design .site-footer :is(a,p,h3,h4) { color:#eef7f1!important; }
body.virds-unified-design .site-footer-copyright { background:#102d31!important; color:#eef7f1!important; }
/* Older school templates use accent2 for the hero; some lack a valid saved style block. */
body.virds-unified-design .virds-local-page { --accent2:#1b5545; --gold:#bce7cf; }
body.virds-unified-design .vl-hero { background-color:#123d34!important; color:#fff; }
body.virds-unified-design .vl-hero :is(h1,h2,p) { color:#fff!important; }
body.virds-unified-design .vl-hero .vl-kicker { color:#bce7cf!important; }
body.virds-unified-design .virds-native-home { --virds-primary:#176b48; --virds-accent:#176b48; }
body.virds-unified-design .virds-native-home :is(.virds-native-soft,.virds-native-card) { background:#edf6f1!important; }
body.virds-unified-design .virds-native-home .wp-block-button:not(.is-style-outline)>.wp-block-button__link { background:#176b48!important; border-color:#176b48!important; color:#fff!important; border-radius:999px!important; }
body.vud-site-overall .page-header { background:#123d34!important; color:#fff!important; }
body.vud-site-overall .page-header :is(h1,h2,p) { color:#fff!important; }
body.vud-site-overall .entry-body .virds-native-home :is(.virds-native-dark,.virds-native-hero) { background:#123d34!important; color:white!important; }
body.vud-site-overall .entry-body .virds-native-home :is(.virds-native-dark,.virds-native-hero) :is(h1,h2,h3,p) { color:white!important; }
body.vud-site-overall .entry-body .wp-block-button:not(.vh-button):not(.is-style-outline)>.wp-block-button__link { background:#176b48!important; border-color:#176b48!important; color:white!important; border-radius:999px!important; }
body.vud-site-overall .entry-body>.wp-block-group[style*="background:#0b1f36"],
body.vud-site-overall .entry-body>.wp-block-group[style*="background-color:#0b1f36"] { background:#123d34!important; border-radius:18px!important; }

/* The stretched link must use the card radius, not the pill-shaped button radius. */
body.vud-site-overall .virds-hub-refresh .vh-linked a::after { border-radius:12px!important; }
body.virds-unified-design .vl-hero h1 { line-break:strict; word-break:normal; overflow-wrap:normal; text-wrap:balance; }
body.vud-site-overall .vg-hero em { color:#bce7cf!important; }
@media(max-width:600px) { body.virds-unified-design .vl-hero h1 { font-size:30px!important; line-height:1.45!important; } }
