/* V27: isolated Heating Repair photo treatment; all other pages use V26 unchanged. */
body[data-page="heat"] .v27-heating-panel {
  display:grid;
  grid-template-columns:minmax(0,40%) minmax(0,60%);
  gap:0;
  align-items:center;
  min-height:365px;
  padding:0;
  background:#eff5fa;
}
/* Disable both old background-image layers to prevent a duplicate or a baked-in vignette. */
body[data-page="heat"] .v27-heating-panel::before,
body[data-page="heat"] .v27-heating-panel::after {
  content:none;display:none;background:none;
}
body[data-page="heat"] .v27-heating-copy {
  min-width:0;padding:22px 20px 22px 30px;position:relative;z-index:1;
}
body[data-page="heat"] .v27-heating-panel .repair-v11-detail-title,
body[data-page="heat"] .v27-heating-panel .repair-v11-detail-body {
  width:100%;max-width:none;
}
body[data-page="heat"] .v27-heating-panel .repair-v11-detail-title {
  margin:0 0 14px;padding-left:16px;
}
body[data-page="heat"] .v27-heating-panel .repair-v11-detail-title h2 {
  font-size:clamp(1.95rem,2.5vw,2.2rem);
}
body[data-page="heat"] .v27-heating-panel .repair-v11-detail-body {
  padding:0 0 0 20px;
}
body[data-page="heat"] .v27-heating-panel .repair-v11-detail-body p {line-height:1.5;}
body[data-page="heat"] .v27-heating-photo {
  min-width:0;position:relative;overflow:hidden;align-self:end;line-height:0;
  aspect-ratio:2.75;
}
body[data-page="heat"] .v27-heating-photo img {
  display:block;width:100%;max-width:100%;height:100%;
  /* Uniform scale, not a stretched raster. Crop only spare window/sofa space on the left. */
  object-fit:cover;object-position:right center;
}
body[data-page="heat"] .v27-heating-photo::after {
  content:"";position:absolute;inset:0 auto 0 0;width:5%;
  background:linear-gradient(90deg,#eff5fa,rgba(239,245,250,0));pointer-events:none;
}
@media(max-width:1050px) {
  body[data-page="heat"] .v27-heating-panel {grid-template-columns:1fr;min-height:0;}
  body[data-page="heat"] .v27-heating-copy {padding:28px 28px 24px;}
  body[data-page="heat"] .v27-heating-photo {width:100%;aspect-ratio:1196 / 347;}
  body[data-page="heat"] .v27-heating-photo img {
    height:auto;aspect-ratio:1196 / 347;object-fit:contain;
  }
  body[data-page="heat"] .v27-heating-photo::after {display:none;}
}
@media(max-width:560px) {
  body[data-page="heat"] .v27-heating-copy {padding:24px 20px;}
  body[data-page="heat"] .v27-heating-panel .repair-v11-detail-title {padding-left:12px;}
  body[data-page="heat"] .v27-heating-panel .repair-v11-detail-body {padding-left:16px;}
}

/* V28: reveal the entire original family photo at its natural proportions. */
@media(min-width:1051px){
 body[data-page="heat"] .v27-heating-photo{
  align-self:center;aspect-ratio:1196 / 347;background:#eff5fa;
 }
 body[data-page="heat"] .v27-heating-photo img{
  width:100%;height:100%;object-fit:contain;object-position:center center;
 }
}
