
/* Roof cost banner: photo background + real editable HTML text */
.ge-roof-cost-html-section.u-section-11 {
  background-image: url('images/RoofCost-clean-photo-only.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  min-height: 670px;
  position: relative;
  overflow: hidden;
}
.ge-roof-cost-card-wrap {
  width: min(1180px, 92vw);
  min-height: 670px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 58px 0;
}
.ge-roof-cost-yellow-shape {
  position: absolute;
  left: -35px;
  top: 64px;
  width: 440px;
  height: 290px;
  background: #f7b500;
  border-radius: 48px;
  z-index: 1;
}
.ge-roof-cost-card {
  position: relative;
  z-index: 2;
  width: 520px;
  max-width: 92vw;
  background: #fff;
  border-radius: 36px;
  padding: 44px 44px 38px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}
.ge-roof-cost-pill {
  background: #071c38;
  color: #fff;
  display: inline-block;
  border-radius: 13px;
  padding: 16px 42px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 24px 48px;
}
.ge-roof-cost-card h2 {
  font-size: 50px;
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 900;
  color: #000;
}
.ge-roof-cost-sub, .ge-roof-cost-card p {
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 20px;
  color: #000;
}
.ge-roof-cost-line {
  width: 70px;
  height: 4px;
  background: #f7b500;
  margin: 0 0 24px;
}
@media (max-width: 900px) {
  .ge-roof-cost-html-section.u-section-11 { min-height: auto; }
  .ge-roof-cost-card-wrap { min-height: auto; padding: 36px 0; }
  .ge-roof-cost-card { width: 100%; padding: 30px 24px; border-radius: 28px; }
  .ge-roof-cost-yellow-shape { left: -15px; top: 28px; width: 70%; height: 210px; }
  .ge-roof-cost-pill { margin-left: 0; font-size: 21px; padding: 13px 24px; }
  .ge-roof-cost-card h2 { font-size: 38px; }
  .ge-roof-cost-sub, .ge-roof-cost-card p { font-size: 18px; }
}


/* Final photo-swap fit adjustment: keep the new roofer photo framed correctly with HTML text card */
.ge-roof-cost-html-section {
  background-image: url('images/RoofCost-clean-photo-only.png') !important;
  background-size: cover !important;
  background-position: 62% center !important;
  background-repeat: no-repeat !important;
  min-height: 670px !important;
}
.ge-roof-cost-card-wrap {
  box-sizing: border-box !important;
  min-height: 670px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}
.ge-roof-cost-card {
  box-sizing: border-box !important;
  max-height: none !important;
}
.ge-roof-cost-card h2,
.ge-roof-cost-card p,
.ge-roof-cost-sub {
  overflow-wrap: normal !important;
  word-break: normal !important;
}
@media (min-width: 1200px) {
  .ge-roof-cost-card-wrap { width: 1180px !important; }
  .ge-roof-cost-card { width: 520px !important; }
}
@media (max-width: 900px) {
  .ge-roof-cost-html-section {
    background-position: 68% center !important;
  }
  .ge-roof-cost-card-wrap {
    align-items: flex-start !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
}


/* Clean photo-only roof cost banner: HTML card provides all text/box, background has no baked text/card */
.ge-roof-cost-html-section,
.ge-roof-cost-html-section.u-section-11 {
  background-image: url('images/RoofCost-clean-photo-only.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 0 !important;
  height: 0 !important;
  padding-bottom: 37.27% !important; /* aspect ratio 3354:1250 */
  position: relative !important;
}
.ge-roof-cost-card-wrap {
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
}
/* The new banner image already contains the card + text baked in — hide the HTML overlay. */
.ge-roof-cost-card,
.ge-roof-cost-yellow-shape {
  display: none !important;
}
