/* YourMediafy widgets — color wall (Option A "Maroon Blocks"), awards slider, makeover grid.
 * Wired into real pages 2026-07-28 from the 05-review design-options reference.
 * Text uses the site's body-copy default (Poppins); maroon #800000 is the CTA brand color. */

/* ============ COLOR WALL (deck / roofing / siding) ============ */
.ym-wall{--ym-maroon:#800000;background:#fff;border:1px solid #e6e8eb;border-top:5px solid var(--ym-maroon);
  padding:26px;margin:18px auto;max-width:1267px;width:100%;color:#1c1e21;
  font-family:'Poppins',sans-serif}
.ym-wall,.ym-wall *{box-sizing:border-box}
.ym-wall__bar{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  border-bottom:2px solid #efe6e6;padding-bottom:14px;margin-bottom:16px}
.ym-wall__bn{font-size:23px;font-weight:700;font-style:normal;line-height:1.1;margin:0}
.ym-wall__bc{font-size:13px;color:#6b7280;font-weight:500}
.ym-wall__chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.ym-wall__chips button{font-family:inherit;font-size:12px;font-weight:700;text-transform:uppercase;
  letter-spacing:.05em;padding:9px 15px;border:2px solid var(--ym-maroon);background:#fff;
  color:var(--ym-maroon);border-radius:0;cursor:pointer;transition:.15s;line-height:1.1}
.ym-wall__chips button[aria-pressed=true],.ym-wall__chips button:hover{background:var(--ym-maroon);color:#fff}
.ym-wall__grid{display:grid;gap:14px;grid-template-columns:repeat(5,1fr)}
.ym-cell{display:block;min-width:0;margin:0}                 /* figure UA margin reset */
.ym-cell__sw{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#eee;border:1px solid #e2dede}
.ym-cell__sw img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.ym-cell:hover .ym-cell__sw img{transform:scale(1.06)}
.ym-cell__cap{display:flex;justify-content:space-between;align-items:baseline;gap:8px;
  font-size:12.5px;font-weight:700;font-style:normal;text-transform:uppercase;letter-spacing:.03em;
  color:#1c1e21;margin-top:9px;line-height:1.25}
.ym-cell__name{min-width:0}
.ym-cell__price{color:#9aa0a6;font-weight:700;white-space:nowrap;font-size:11.5px;letter-spacing:.02em}
.ym-cell.ym-hide{display:none}
@media(max-width:960px){.ym-wall__grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:720px){.ym-wall__grid{grid-template-columns:repeat(3,1fr);gap:12px}}
@media(max-width:520px){.ym-wall__grid{grid-template-columns:repeat(2,1fr)}}

/* ============ AWARDS ROTATING SLIDER (about page) ============ */
.ym-slider{--ym-maroon:#800000;width:100%;max-width:1180px;margin:10px auto;
  font-family:'Poppins',sans-serif}
.ym-slider,.ym-slider *{box-sizing:border-box}
.ym-slider__row{display:flex;align-items:flex-start;gap:8px}
.ym-slider__vp{overflow:hidden;flex:1;min-width:0}
.ym-slider__track{display:flex;transition:transform .5s ease}
.ym-slide{flex:0 0 auto;padding:0 12px;text-align:center}
.ym-slide img{width:100%;max-width:120px;aspect-ratio:1/1;object-fit:contain;margin:0 auto;display:block;cursor:pointer}
.ym-slide figure{cursor:pointer}
.ym-slide figcaption{font-size:12px;font-weight:600;font-style:normal;color:#1c1e21;line-height:1.25;margin-top:8px}
.ym-arrow{flex:0 0 auto;width:30px;height:30px;margin-top:45px;border-radius:0;border:2px solid var(--ym-maroon);
  background:#fff;color:var(--ym-maroon);font-size:16px;line-height:1;cursor:pointer;font-weight:700;transition:.15s;
  display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
/* hover only on real hover devices — else the maroon fill sticks after a tap ("pink overlay") */
@media(hover:hover){.ym-arrow:hover{background:var(--ym-maroon);color:#fff}}
.ym-arrow:focus{outline:none}
.ym-arrow:focus-visible{outline:2px solid var(--ym-maroon);outline-offset:2px}
.ym-dots{display:flex;gap:8px;justify-content:center;margin-top:20px}
.ym-dots button{width:9px;height:9px;border-radius:99px;border:0;background:#dccccc;cursor:pointer;padding:0;transition:.2s}
.ym-dots button[aria-current=true]{background:var(--ym-maroon);width:22px}
.ym-slide figure{margin:0}

/* ---- Awards lightbox (built by ym-widgets.js; enlarged badge + caption, prev/next) ---- */
.ym-lb{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.82);
  display:flex;align-items:center;justify-content:center;padding:26px;
  font-family:'Poppins',sans-serif}
.ym-lb[hidden]{display:none}
.ym-lb__fig{margin:0;max-width:min(560px,92vw);text-align:center}
.ym-lb__img{max-width:100%;max-height:70vh;object-fit:contain;background:#fff;border-radius:6px;padding:22px;box-sizing:border-box}
.ym-lb__cap{color:#fff;font-size:17px;font-weight:600;margin-top:18px;line-height:1.3}
.ym-lb__x{position:absolute;top:16px;right:22px;width:46px;height:46px;border:0;background:transparent;
  color:#fff;font-size:38px;line-height:1;cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
.ym-lb__nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;
  border:2px solid #fff;background:rgba(0,0,0,.28);color:#fff;font-size:26px;font-weight:700;
  cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
.ym-lb__prev{left:16px}.ym-lb__next{right:16px}
@media(hover:hover){.ym-lb__nav:hover{background:var(--ym-maroon,#800000);border-color:var(--ym-maroon,#800000)}
  .ym-lb__x:hover{color:#e0b4b4}}
@media(max-width:560px){.ym-lb__nav{width:42px;height:42px}.ym-lb__prev{left:6px}.ym-lb__next{right:6px}}

/* ============ MAKEOVER ICON GRID (home page — Option A even grid 4→2) ============ */
.ym-mkgrid{--ym-maroon:#800000;display:grid;gap:20px;grid-template-columns:repeat(4,1fr);
  width:100%;margin:0 auto;
  font-family:'Poppins',sans-serif}
.ym-mkgrid,.ym-mkgrid *{box-sizing:border-box}
.ym-mkgrid .ym-mkit{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;
  padding:18px 10px;border:1px solid #e6e8eb;border-radius:12px;
  text-decoration:none;color:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.ym-mkgrid .ym-mkicon{width:42px;height:42px;flex:0 0 auto}
.ym-mkgrid .ym-mkicon svg{width:100%;height:100%;display:block}
.ym-mkgrid .ym-mkicon svg,.ym-mkgrid .ym-mkicon svg *{fill:#1c1e21;transition:fill .15s}
.ym-mkgrid .ym-mklab{font-weight:700;font-size:14.5px;color:#1c1e21;transition:color .15s}
/* hover: whole card fills maroon with white icon + label (real hover devices only) */
@media(hover:hover){
  .ym-mkgrid .ym-mkit:hover{background:var(--ym-maroon);border-color:var(--ym-maroon)}
  .ym-mkgrid .ym-mkit:hover .ym-mklab{color:#fff}
  .ym-mkgrid .ym-mkit:hover .ym-mkicon svg,.ym-mkgrid .ym-mkit:hover .ym-mkicon svg *{fill:#fff}
}
.ym-mkgrid .ym-mkit:focus-visible{outline:2px solid var(--ym-maroon);outline-offset:2px}
@media(max-width:640px){.ym-mkgrid{grid-template-columns:repeat(2,1fr);gap:14px}}

/* ============================================================
 * "Other Locations We Serve" — linkable city pills.
 * Replaces the old split icon-lists (a 3-item + 4-item pair per
 * breakpoint that wrapped awkwardly). ONE flex-wrap row now flows
 * cleanly at every width. Sits on the dark photo section, so pills
 * are light-outlined with white text and fill brand maroon on hover.
 * ============================================================ */
.ym-locpills-wrap { width: 100%; }
.ym-locpills {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; max-width: 1000px;
}
.ym-locpills li { margin: 0; padding: 0; }
.ym-locpills a {
  display: inline-block; text-decoration: none; white-space: nowrap;
  font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 500; line-height: 1;
  color: #fff; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px; padding: 11px 22px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.ym-locpills a:hover,
.ym-locpills a:focus-visible {
  background: #800000; border-color: #800000; color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .ym-locpills { gap: 9px; }
  .ym-locpills a { font-size: 15px; padding: 9px 16px; }
}
