/* PVPGRAM.COM V2 - identical header / stable ad placement across navigation.
   Only visual styles and placement; no ad data, account, PP, or database changes. */
/* Header width is the same on the homepage, forums and server listings. */
body.v51-home > header.site-header > .header-inner.wrap,
body.v51-home > nav.main-nav > .nav-inner.wrap,
body.v51-home > footer.footer .wrap {
  width: min(1170px, calc(100% - 40px));
}
/* Consistent and slightly more compact branding on every desktop page. */
.site-header .header-inner .brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
}
.site-header .header-inner .brand-icon {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
}
.site-header .header-inner .brand strong {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.7px;
}
.site-header .header-inner .brand small {
  display: block;
  font-size: 10px;
  line-height: 1.35;
}
/* Hide rails until the geometry code has finished measuring.
   Prevents jumping/overlapping rails during load and page transitions. */
.v18-rail {visibility: hidden !important;}
html.pg-v2-rails-ready .v18-rail:not(.v49-rail-past-footer):not(.v21-rail-unavailable) {
  visibility: visible !important;
}
html.pg-v2-rails-ready .v18-rail.v49-rail-past-footer,
html.pg-v2-rails-ready .v18-rail.v21-rail-unavailable {
  visibility: hidden !important;
}
/* Two exact 625x90 creatives need 1262px inside main; in between
   desktop widths hide the SAME side rails on all pages, not home alone. */
@media (min-width: 1320px) and (max-width: 1530px) {
  .v18-rail {display: none !important;}
}
@media (max-width: 720px) {
  body.v51-home > header.site-header > .header-inner.wrap,
  body.v51-home > nav.main-nav > .nav-inner.wrap,
  body.v51-home > footer.footer .wrap {width: calc(100% - 24px);}
  .site-header .header-inner .brand-icon {width: 46px;height: 46px;flex-basis:46px;}
  .site-header .header-inner .brand strong {font-size: 23px;}
}
@media (max-width: 420px) {
  .site-header .header-inner .brand-icon {width: 40px;height: 40px;flex-basis:40px;}
  .site-header .header-inner .brand strong {font-size: 20px;}
  .site-header .header-inner .brand small {font-size: 9px;}
}
