.hp-content:has(.hp-shingle-page) {
  max-width:1240px;
  padding-block:clamp(1rem,3vw,2.25rem) 4rem;
}
.hp-content:has(.hp-shingle-page) .wp-block-post-content,
.hp-content .wp-block-post-content .hp-shingle-page {
  width:100%; max-width:none; margin:0;
}
.hp-shingle-page {color:#102641;}
.hp-shingle-page *, .hp-shingle-page *::before {box-sizing:border-box;}
.hp-shingle-page figure, .hp-shingle-page p {margin:0;}
.hp-shingle-page p {line-height:1.55; max-width:62ch;}
.hp-shingle-hero {
  display:grid; grid-template-columns:minmax(0,.94fr) minmax(0,1.12fr);
  align-items:stretch; background:#0b213c; border-radius:6px; overflow:hidden;
}
.hp-shingle-intro {align-self:center; padding:clamp(1.6rem,4vw,3.8rem);}
.hp-content .hp-shingle-intro h1 {
  color:#fff; margin:0 0 1rem; font-size:clamp(2.45rem,4.35vw,4.3rem);
  line-height:1.03; letter-spacing:-.045em; text-wrap:balance;
}
.hp-shingle-intro p {color:#edf2f8; max-width:43ch; margin:0 0 1.5rem;}
.hp-shingle-page .hp-shingle-roof {width:100%; height:100%; min-height:0; display:block; object-fit:cover; object-position:50% 53%;}
.hp-shingle-page .hp-shingle-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:.85rem;
  min-height:44px; background:#b81e30; color:white; border-radius:4px;
  padding:.8rem 1.15rem; text-decoration:none; font-weight:700; line-height:1.3;
}
.hp-shingle-page .hp-shingle-cta:hover {background:#961725;}
.hp-shingle-page a:focus-visible {outline:3px solid #5495d3; outline-offset:3px;}
.hp-content .hp-shingle-page h2 {
  color:#102641; font-size:clamp(1.75rem,3.05vw,2.65rem); line-height:1.12;
  letter-spacing:-.035em; text-wrap:balance; margin:0 0 .8rem;
}
.hp-shingle-profile, .hp-shingle-joint {
  display:grid; align-items:center; gap:clamp(1.3rem,4.6vw,4.5rem);
  margin-top:clamp(2.35rem,5vw,4.6rem);
}
.hp-shingle-profile {grid-template-columns:minmax(0,.82fr) minmax(0,1.2fr); scroll-margin-top:7rem;}
.hp-shingle-page .hp-shingle-sample {
  background:#e8edf0; border-radius:5px; padding:clamp(1rem,3.2vw,2.6rem);
  text-align:center;
}
.hp-shingle-sample img {display:block; width:100%; height:auto;}
.hp-shingle-sample figcaption {color:#384b5c; font-size:.92rem; margin:.65rem 0 0;}
.hp-shingle-joint {grid-template-columns:minmax(0, .82fr) minmax(0,1.2fr);}
.hp-shingle-joint figure {border-radius:5px; overflow:hidden;}
.hp-shingle-joint img {display:block; width:100%; height:auto; aspect-ratio:2.6; object-fit:cover; object-position:50% 49%;}
.hp-shingle-warranty {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:1.45rem 3rem; padding:clamp(1.4rem,3.5vw,3rem);
  margin-top:clamp(2.35rem,5vw,4.6rem); border-left:5px solid #b81e30;
  border-radius:4px; background:#0b213c; color:#edf2f8;
}
.hp-shingle-warranty div {flex:1 1 36rem;}
.hp-content .hp-shingle-warranty h2 {color:#fff;}
.hp-shingle-related {display:flex; align-items:baseline; flex-wrap:wrap; gap:.6rem 1.2rem; margin:2rem 0 0; font-size:.95rem;}
.hp-shingle-related a {color:#173f68; text-underline-offset:3px;}
@media(max-width:720px) {
  .hp-shingle-hero,.hp-shingle-profile,.hp-shingle-joint {grid-template-columns:minmax(0,1fr);}
  .hp-shingle-page .hp-shingle-roof {height:auto; aspect-ratio:1.75;}
  .hp-shingle-joint figure {order:2;}
  .hp-shingle-related strong {flex-basis:100%;}
  .hp-shingle-warranty .hp-shingle-cta {justify-self:start;}
}
