/* =====================
   Rich KC page add-ons (Pool Heaters, Salt Systems).
   Loaded after kc-article.css. Everything here is opt-in through a class,
   so pages that do not use these classes (Valves & Plumbing) are untouched.
   ===================== */

/* Photo placeholders: any photo slot marked .kc-ph shows the striped
   "Photo" frame from the mockups until a real photo replaces it. */
.showcase-photo.kc-ph,
.type-photo.kc-ph {
  background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 12px, #e7ebf2 12px, #e7ebf2 24px);
}
.showcase-photo.kc-ph::after,
.type-photo.kc-ph::after {
  content: "Photo";
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
}
.kc-photo-band.kc-ph,
.kc-body div.kc-photo-band.kc-ph {
  display: flex;
  background: repeating-linear-gradient(45deg, #2a3547, #2a3547 12px, #313d52 12px, #313d52 24px);
}
.kc-photo-band.kc-ph::after {
  content: "Photo";
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
/* Real-element fallback for the band label (some setups suppress ::after). */
.kc-photo-band .kc-ph-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.kc-photo-band.kc-ph:has(.kc-ph-label)::after { content: none; }

/* Showcase breakout (Pool Heaters): card area widens past the 760px column. */
.showcase-wide.is-breakout {
  width: min(1080px, calc(100vw - 96px));
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Three-across brand grid (Salt Systems). */
.showcase-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Brand group labels and the note under the cards. */
.showcase-group-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 56px 0 20px;
}
.showcase-group-label:first-of-type { margin-top: 8px; }
.showcase-foot {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 28px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .showcase-wide.is-breakout {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .showcase-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
