/*
 Daily Prize Games critical chrome sheet. Printed last in wp_head so it wins
 over any Astra inline block, including the header builder customizer output.
 Carries only the load-bearing overrides; the full design language lives in
 style.css at the theme root.
*/

/* Astra compatibility: one content measure, no parent grid constraints */
.site-content .ast-container,
.site-content .ast-row {
  max-width: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

#primary,
.site-main,
.entry-content {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* The one measure contract leaves no room for a sidebar column */
#secondary,
.ast-separate-container #secondary,
.widget-area {
  display: none;
}

/* Hide the empty parent masthead shell the removed actions leave behind */
.main-header-bar,
.ast-breadcrumbs-wrapper {
  display: none;
}

/* Header and footer bands share the sheet measure */
.dpg-mast-in,
.dpg-menu,
.dpg-foot-grid,
.dpg-foot-strip > div {
  max-width: var(--dpg-measure, 72rem);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* Load-bearing board and dropdown guards, repeated for specificity */
.dpg-board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dpg-drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 901;
  visibility: hidden;
  opacity: 0;
}

.dpg-item:hover > .dpg-drop,
.dpg-item:focus-within > .dpg-drop,
.dpg-item.dpg-open > .dpg-drop {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 1099px) {
  .dpg-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .dpg-board__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none;
    animation: none;
    scroll-behavior: auto;
  }
}