/* v1.5: Atomic edge-to-edge Elementor widget. No individual Elementor wrappers
   or generated layout gaps can exist between these five nested sections. */
.elementor-widget-ygc_full_page,
.elementor-widget-ygc_full_page > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}
section.ygc-full-page.ygc-fullbleed {
  background: #090a0e;
  padding: 0 !important;
  border: 0 !important;
  display: flow-root !important;
  line-height: normal;
}
.ygc-full-page, .ygc-full-page * { box-sizing: border-box; }
/* Sections are part of one document flow; full-width offset applies ONLY to
   the parent. Remove margins imposed by either CSS theme or Elementor. */
.ygc-full-page > section.ygc-full-page__section {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  transform: none !important;
  clear: none !important;
  float: none !important;
  border: 0 !important;
  z-index: auto;
}
/* Prevent theme from injecting sibling gaps. Internal spacing of each section
   is intentionally retained to keep content readable. */
.ygc-full-page > section.ygc-full-page__section + section.ygc-full-page__section {
  margin-top: 0 !important;
}
/* Force last incomplete roster row to center even when theme/Elementor
   overrides generic article, grid or flex rules on the public site. */
.ygc-full-page .ygc-players__grid,
.ygc-players .ygc-players__grid {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  margin-inline: auto !important;
}
.ygc-full-page .ygc-players__grid > .ygc-player,
.ygc-players .ygc-players__grid > .ygc-player {
  display: block !important;
  flex: 0 0 calc((100% - 64px) / 5) !important;
  width: calc((100% - 64px) / 5) !important;
  max-width: calc((100% - 64px) / 5) !important;
  min-width: 0 !important;
  margin: 0 !important;
}
@media (max-width: 1120px) {
  .ygc-full-page .ygc-players__grid > .ygc-player, .ygc-players .ygc-players__grid > .ygc-player {
    flex-basis: calc((100% - 48px) / 4) !important;
    width: calc((100% - 48px) / 4) !important;
    max-width: calc((100% - 48px) / 4) !important;
  }
}
@media (max-width: 850px) {
  .ygc-full-page .ygc-players__grid > .ygc-player, .ygc-players .ygc-players__grid > .ygc-player {
    flex-basis: calc((100% - 32px) / 3) !important;
    width: calc((100% - 32px) / 3) !important;
    max-width: calc((100% - 32px) / 3) !important;
  }
}
@media (max-width: 600px) {
  .ygc-full-page .ygc-players__grid, .ygc-players .ygc-players__grid { gap: 10px !important; }
  .ygc-full-page .ygc-players__grid > .ygc-player, .ygc-players .ygc-players__grid > .ygc-player {
    flex-basis: calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
  }
}
