/* V2.7.6 — A single centered content width on every template, consistent with the header logo.
   Loaded last to override historical widths/paddings and prevent clipped grids. */
:root{--vlp-site-max:1320px;--vlp-site-gutters:clamp(32px,7.2vw,96px)}
html{max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
body{max-width:100%;min-width:0;overflow-x:clip}
body .shell,
body.home .tour-section .shell,
body.home .services-section .shell,
body.home .featured-section .shell,
body.home .vl-rankings-section .shell,
body.home .vl-news-section .shell,
body.home .partner-section .shell,
body .site-header .header-inner,
body .site-footer .shell,
body .page-intro .shell,
body .section .shell,
body .arena-section .shell{
  width:calc(100% - var(--vlp-site-gutters))!important;
  max-width:var(--vlp-site-max)!important;
  min-width:0!important;
  padding-left:0!important;
  padding-right:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
/* When a content wrapper is intentionally narrower, preserve readable article line length. */
body .content-shell{max-width:min(100% - var(--vlp-site-gutters),1100px)!important}
body .site-header .header-inner{display:flex;align-items:center;min-width:0;gap:clamp(9px,1.3vw,20px)}
body .site-header .brand{flex:0 0 auto;min-width:0}
body .site-header .primary-nav{min-width:0;flex:1 1 auto}
body .site-header .nav-list{display:flex;align-items:center;justify-content:center;gap:clamp(7px,.95vw,16px);min-width:0}
body .site-header .nav-list a{font-size:clamp(10px,.86vw,13px);white-space:nowrap}
body .site-header .header-tools{min-width:0;flex:0 1 auto}
body .site-header .header-player-search{min-width:0;width:clamp(130px,12vw,210px)}
body .site-header .header-player-search input{min-width:0;width:100%}
/* Children may shrink but must not make their parent wider than the logo-aligned shell. */
body .arena-section,body .section,body .page-intro,body .site-footer,body #site-main{min-width:0;max-width:100%}
body .arena-section .shell>*,body .section .shell>*,body .site-footer .shell>*,body .page-intro .shell>*{max-width:100%;min-width:0}
body.home .tour-grid,body.home .service-grid,body.home .vl-player-grid,body.home .vl-rank-grid,body.home .vl-news-grid,
body .card-grid,body .featured-grid,body .dual-grid,body .footer-grid,body .footer-bottom-inner,
body .vlp-contact-layout{width:100%;max-width:100%;min-width:0;margin-left:0;margin-right:0}
body.home .tour-grid,body.home .service-grid,body.home .vl-player-grid,body.home .vl-rank-grid,body.home .vl-news-grid{display:grid;gap:clamp(9px,1vw,14px)!important}
body.home .tour-grid,body.home .service-grid,body.home .vl-news-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.home .vl-player-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.home .vl-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.home :is(.tour-card,.service-tile,.athlete-card,.vl-news-card,.vl-rank-card){max-width:100%;min-width:0;width:100%;margin-left:0;margin-right:0}
body.home .vl-player-grid .athlete-card{min-width:0!important}
body.home .vl-player-grid .athlete-meta{max-width:100%;min-width:0}
body.home .vl-player-grid .athlete-meta strong{overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap!important}
body.home .vl-rank-card{display:grid;grid-template-columns:minmax(0,34%) minmax(0,1fr)!important;min-width:0!important}
body.home .vl-rank-card>*,body.home .vl-rank-info,body.home .vl-rank-table{min-width:0!important;max-width:100%}
body.home .vl-rank-head,body.home .vl-rank-row{grid-template-columns:20px 22px minmax(0,1fr) 55px!important;gap:4px!important;min-width:0;max-width:100%}
body.home .vl-rank-head>*:nth-child(3),body.home .vl-rank-row>*:nth-child(3){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.home .vl-rank-head>*:last-child,body.home .vl-rank-row>*:last-child{min-width:0;text-align:right;white-space:nowrap}
body .arena-section-title{min-width:0;max-width:100%}
body .arena-section-title>div{min-width:0}
body .arena-section-title .more-link{flex-shrink:0}
body .site-footer .footer-grid{max-width:100%;min-width:0}
body .site-footer .footer-grid>*{min-width:0}
body .site-footer .footer-bottom-inner{max-width:100%;min-width:0}
body .site-footer .footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 0;min-width:0}
body .wpk-table-wrap,body .table-wrap,body .wpk-lux-bracket-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
body img,body video,body iframe{max-width:100%}
@media(max-width:1250px){
 body .site-header .header-player-search{display:none}
 body.home .vl-player-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.home .vl-rank-grid{grid-template-columns:1fr!important}
}
@media(max-width:1080px){
 :root{--vlp-site-gutters:clamp(28px,5vw,64px)}
 body .site-header .header-inner{flex-wrap:wrap}
 body .site-header .primary-nav{display:none;order:5;flex:0 0 100%;width:100%;margin:0}
 body .site-header .primary-nav.is-open{display:block}
 body .site-header .nav-list{align-items:stretch;flex-direction:column;gap:3px;justify-content:flex-start}
 body .site-header .nav-list a{font-size:14px;padding:10px 12px}
 body .site-header .header-tools{margin-left:auto}
 body .site-header .nav-toggle{display:block;order:4}
 body.home .tour-grid,body.home .service-grid,body.home .vl-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .site-footer .footer-grid{flex-wrap:wrap!important}
}
@media(max-width:700px){
 :root{--vlp-site-gutters:28px}
 body.home .vl-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.home .vl-rank-grid{grid-template-columns:1fr!important}
 body.home .vl-rank-card{grid-template-columns:minmax(0,31%) minmax(0,1fr)!important}
 body.home .arena-section-title{align-items:flex-start!important;flex-wrap:wrap}
 body.home .arena-section-title .more-link{font-size:12px!important;white-space:normal!important}
 body .site-footer .footer-bottom-inner{display:flex!important;flex-wrap:wrap;justify-content:center;text-align:center}
 body .site-footer .footer-bottom-inner>*{max-width:100%;min-width:0}
 body .site-footer .footer-bottom-inner>span:last-child{display:block;text-align:center}
 body .vlp-contact-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
}
@media(max-width:480px){
 :root{--vlp-site-gutters:24px}
 body.home .tour-grid,body.home .service-grid,body.home .vl-news-grid{grid-template-columns:1fr!important}
 body.home .vl-player-grid{gap:8px!important}
 body.home .vl-rank-info{padding:8px 5px!important}
 body.home .vl-rank-head,body.home .vl-rank-row{grid-template-columns:16px 19px minmax(0,1fr) 44px!important;gap:2px!important;font-size:10px!important}
 body .site-header .header-cta{font-size:10px;padding:7px 9px}
}
