/* Standalone stage candidate; load after current styles. Activate only through guarded JS. */
@media (max-width:700px) {
  body.postid-701 .n5-hero-materialpurchase .dmrd-hero.dmf20-material-ready {
    display:grid;grid-template-columns:minmax(0,1fr);min-height:0;
  }
  body.postid-701 .n5-hero-materialpurchase .dmf20-material-ready > .dmrd-hero__photo {
    grid-area:1/1;position:relative;inset:auto;order:initial;
    width:100%;height:100%;min-height:450px;object-fit:cover;object-position:68% center;z-index:0;
  }
  body.postid-701 .n5-hero-materialpurchase .dmf20-material-ready > .dmrd-hero__inner {
    display:contents;min-height:0;padding:0;
  }
  body.postid-701 .n5-hero-materialpurchase .dmf20-material-ready .dmrd-hero__copy {
    grid-area:1/1;position:relative;z-index:1;order:initial;align-self:stretch;
    min-height:450px;width:100%;box-sizing:border-box;padding:28px 20px 90px;
    background:linear-gradient(90deg,rgba(250,248,242,.98),rgba(250,248,242,.85) 54%,rgba(250,248,242,.1));
  }
  body.postid-701 .n5-hero-materialpurchase .dmf20-material-ready .dmrd-form-card {
    grid-area:2/1;order:initial;align-self:start;width:calc(100% - 40px);margin:16px 20px 26px;
  }
  body.postid-701 .dmf20-materials-ready .n3-card {
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;min-height:0;
  }
  body.postid-701 .dmf20-materials-ready .n3-card > img {
    width:100%;height:auto;min-height:0;aspect-ratio:1.7;object-fit:cover;object-position:center;
  }
  body.postid-701 .dmf20-materials-ready .n3-card-body {
    display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:5px 12px;align-items:center;padding:12px;
  }
  body.postid-701 .dmf20-materials-ready .n3-card-body > h3 {
    grid-column:1;grid-row:1;font-size:18px;margin:0;
  }
  body.postid-701 .dmf20-materials-ready .n3-card-body > p {
    grid-column:1;grid-row:2;font-size:12px;line-height:1.4;margin:0;
  }
  body.postid-701 .dmf20-materials-ready .n3-card-body > a.ds-button {
    grid-column:2;grid-row:1/3;justify-self:end;min-width:36px;width:36px;min-height:36px;height:36px;
    box-sizing:border-box;padding:0;margin:0;border:1px solid #b8b49c;border-radius:50%;
    background:transparent;color:#77795d;font-size:0;line-height:1;
  }
  body.postid-701 .dmf20-materials-ready .n3-card-body > a.ds-button:after {
    content:'›';display:block;font-size:25px;line-height:30px;
  }
  body.postid-2480 #c4-hero.c4-stairs-hero .c4-form-row form .input-row.dmf20-mobile-form-ready {
    display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:stretch;
  }
  body.postid-2480 #c4-hero.c4-stairs-hero .c4-form-row form .dmf20-mobile-form-ready > * {
    display:block;min-width:0;width:100%;max-width:none;flex:0 0 auto;box-sizing:border-box;
  }
  body.postid-2480 #c4-hero.c4-stairs-hero .c4-form-row form .dmf20-mobile-form-ready :is(input[type="tel"],input[type="text"],input[type="submit"],button[type="submit"]) {
    width:100%;min-width:0;max-width:none;box-sizing:border-box;margin-inline:0;
  }
}

/* Only groups explicitly installed by the candidate mapping. Keep existing icon box/stroke. */
svg.dmf20-board-icon > .dmf20-icon-mobile{display:none}
@media(max-width:700px){
  svg.dmf20-board-icon > .dmf20-icon-desktop{display:none}
  svg.dmf20-board-icon > .dmf20-icon-mobile{display:inline}
}

