/*
Theme Name: Dunk Your Junk Demolition Child
Template: generatepress
Description: GeneratePress child theme for Dunk Your Junk - Demolition (DFW). Visual design is in the dyjd-extras plugin (dyjd-modern.css).
Version: 1.0.1
*/

:root{
  --dyjd-red:#B42624;
  --dyjd-red-dark:#961e1c;
  --dyjd-blue:#1E4195;
  --dyjd-blue-dark:#153172;
  --dyjd-navy:#153172;
  --dyjd-black:#1C1C1C;
  --dyjd-gray:#5b5e63;
  --dyjd-gray-light:#F1F1F1;
  --dyjd-border:#E7E7E7;
}

/* Sticky mobile call / quote bar (also styled by dyjd-modern.css). */
.dyjd-mobile-bar{display:none}
@media(max-width:768px){
  body{padding-bottom:64px}
  .dyjd-header-call,.dyjd-hdr-quote{display:none}
  .dyjd-mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:999;box-shadow:0 -2px 10px rgba(0,0,0,.2)}
  .dyjd-mobile-bar a{flex:1;text-align:center;padding:16px 8px;font-weight:800;text-decoration:none;font-size:17px;color:#fff}
  .dyjd-mobile-bar .call{background:var(--dyjd-red)}
  .dyjd-mobile-bar .quote{background:var(--dyjd-blue)}
}


/* 1.0.1 — layout fixes (nav bar, featured image, full-width sections, footer) */

/* Hide GeneratePress featured images; the hero / page photos are in the content. */
.featured-image,
.page-header-image,
.page-header-image-single,
.post-image {
  display: none !important;
}

/* Page shell must be full viewport width so bands and the nav can span edge-to-edge. */
#page,
#page.grid-container,
.site,
.site.grid-container,
#content,
#content.grid-container,
.site-content,
.site-content.grid-container {
  max-width: none;
  width: 100%;
}

/* Force the primary nav into a full-width blue bar (overrides nav-float-right). */
#site-navigation,
.main-navigation {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  background: #1E4195;
}

@media (min-width: 769px) {
  .main-navigation .main-nav > ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
  }
  .main-navigation .main-nav > ul > li {
    float: none;
    display: block;
  }

  /* If GP still prints the nav inside .inside-header, put it on its own full-bleed row. */
  .inside-header > #site-navigation,
  .inside-header > .main-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    justify-self: stretch;
  }
}

.dyjd-footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
