/* Final request fixes */
.ge-banner-roof-shape{
  display:block !important;
  max-width:520px !important;
  width:100% !important;
  height:auto !important;
  margin:0 auto 12px auto !important;
  object-fit:contain !important;
}
.ge-faq-section .u-accordion-item{
  border:3px solid #f9b800 !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#fff !important;
  margin-bottom:14px !important;
  box-shadow:none !important;
}
.ge-faq-section .u-accordion-link{
  border-bottom:2px solid #f9b800 !important;
  padding:18px 22px !important;
  font-weight:700 !important;
}
.ge-faq-section .u-accordion-pane{
  border-top:0 !important;
}
.ge-faq-section h2{
  border:4px solid #f9b800 !important;
  border-radius:14px !important;
  padding:16px 26px !important;
  display:inline-block !important;
  background:#fff !important;
}
img[src$="FREEROOFProgram-1.png"],
img[src$="InsuranceClaimRoofInspection.png"]{
  object-fit:cover !important;
  filter:none !important;
}
/* keep the main free roof/insurance image crisp and proportional */
.u-image-2[src$="FREEROOFProgram-1.png"],
.u-image-2[src$="InsuranceClaimRoofInspection.png"]{
  width:100% !important;
  max-width:560px !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
}

/* Roof Insurance Claim final fixes */
body .u-section-3 .u-image-1{
  background-image: none !important;
  background-color:#ffffff !important;
}
body .u-section-3 .ge-banner-roof-shape{
  display:block !important;
  width:100% !important;
  max-width:760px !important;
  height:auto !important;
  object-fit:contain !important;
  margin:0 auto 10px auto !important;
}
body .u-section-3 img[src$="MissingShinglesFREEROOFInsuranceClaimAssistance.png"]{
  width:100% !important;
  max-width:760px !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  filter:none !important;
  display:block !important;
  margin:28px auto 0 auto !important;
}
body .u-section-3 .u-text-1.ge-low-interest-banner-text{
  color:#111 !important;
  text-align:center !important;
  font-family:Arial, sans-serif !important;
  font-weight:400 !important;
  margin:0 auto 8px auto !important;
}
body .u-section-3 .u-btn-1, body .u-section-3 .u-btn-2{
  background:#f9b800 !important;
  color:#061b36 !important;
}
@media (max-width: 991px){
  body .u-section-3 img[src$="MissingShinglesFREEROOFInsuranceClaimAssistance.png"]{max-width:100% !important;}
}


/* Insurance page layout redo: match home page spacing and push promo/content up */
body.insurance-claim-page .u-section-3 .u-sheet-1{min-height:3439px!important;}
body.insurance-claim-page .u-section-3 .u-layout-wrap-1{margin-top:57px!important;margin-bottom:60px!important;}
body.insurance-claim-page .u-section-3 .u-layout-cell-1{min-height:3285px!important;}
body.insurance-claim-page .u-section-3 .u-image-1{height:auto!important;min-height:0!important;margin:0 57px!important;width:calc(100% - 114px)!important;display:block!important;object-fit:contain!important;object-position:center top!important;}
body.insurance-claim-page .u-section-3 .ge-low-interest-banner-text{margin:-457px 133px 0 auto!important;position:relative!important;z-index:8!important;width:auto!important;max-width:580px!important;text-align:center!important;line-height:1.2!important;}
body.insurance-claim-page .u-section-3 .u-image-2{height:472px!important;width:671px!important;max-width:100%!important;margin:6px 0 0 auto!important;object-fit:cover!important;object-position:center center!important;}
body.insurance-claim-page .u-section-3 .u-btn-1{margin:16px auto 0 26px!important;}
body.insurance-claim-page .u-section-3 .u-btn-2{margin:-94px 0 0 auto!important;}
body.insurance-claim-page .u-section-3 .u-text-2{margin:33px 0 0!important;}
body.insurance-claim-page .u-section-2 .u-sheet-1{min-height:220px!important;}
body.insurance-claim-page .u-section-2{background-size:cover!important;background-position:center center!important;}
@media(max-width:1199px){
 body.insurance-claim-page .u-section-3 .u-image-1{margin:0 30px!important;width:calc(100% - 60px)!important;}
 body.insurance-claim-page .u-section-3 .ge-low-interest-banner-text{margin-top:-390px!important;margin-right:auto!important;}
 body.insurance-claim-page .u-section-3 .u-image-2{height:auto!important;width:100%!important;}
}
@media(max-width:767px){
 body.insurance-claim-page .u-section-3 .u-image-1{margin:0!important;width:100%!important;}
 body.insurance-claim-page .u-section-3 .ge-low-interest-banner-text{margin-top:-255px!important;width:88%!important;}
 body.insurance-claim-page .u-section-3 .u-btn-1,body.insurance-claim-page .u-section-3 .u-btn-2{display:block!important;margin:12px auto!important;width:90%!important;}
}

/* ===== DEFINITIVE: "GET A FREE QUOTE" banner button -> blue bg, white text ===== */
body .ge-safety-banner a.u-btn.u-custom-color-1,
body .ge-safety-banner a.u-button-style.u-custom-color-1,
body section.ge-safety-banner a.u-btn {
  background-color: #0d1b30 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body .ge-safety-banner a.u-btn.u-custom-color-1:hover,
body .ge-safety-banner a.u-btn.u-custom-color-1:focus,
body .ge-safety-banner a.u-btn.u-custom-color-1:active {
  background-color: #16294a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ===== Copper roof image on the right of the Hiring section (all pages) ===== */
.ge-hiring-section .u-image-1 {
  background-image: url('images/Roofing-Company.png') !important;
  background-size: cover !important;
  background-position: 50% 0% !important;
  background-repeat: no-repeat !important;
  min-height: 536px !important;
  vertical-align: top !important;
}

/* Broader fallback: any image cell inside the Hiring section gets the copper roof */
.ge-hiring-section .u-layout-cell.u-image,
.ge-hiring-section div.u-image.u-container-style {
  background-image: url('images/Roofing-Company.png') !important;
  background-size: cover !important;
  background-position: 50% 0% !important;
  background-repeat: no-repeat !important;
}

/* ===== Roof estimate tool: make payment term + amount + thank-you BLUE (were invisible white) ===== */
.ge-pay-card .ge-pay-term,
#estimateResult .ge-pay-term {
  color: #0d1b30 !important;
  -webkit-text-fill-color: #0d1b30 !important;
}
.ge-pay-card .ge-pay-amt,
#estimateResult .ge-pay-amt {
  color: #0d1b30 !important;
  -webkit-text-fill-color: #0d1b30 !important;
}
.ge-pay-card .ge-pay-per,
#estimateResult .ge-pay-per {
  color: #51607a !important;
  -webkit-text-fill-color: #51607a !important;
}
/* Thank-you confirmation line -> blue (instead of pale green/white) */
#estimateResult > div[style*="27ae60"],
#leadCaptureStatus,
.lead-capture-status {
  color: #0d1b30 !important;
  -webkit-text-fill-color: #0d1b30 !important;
}

/* ===== 10-review auto-scroll testimonial marquee ===== */
.ge-rv-host {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 100% !important;
}
.ge-rv-viewport {
  overflow: hidden;
  width: 100%;
  display: block;
  position: relative;
}
.ge-rv-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 18px;
  animation: ge-rv-scroll-right 60s linear infinite;
}
.ge-rv-viewport:hover .ge-rv-track { animation-play-state: paused; }
/* The track holds two identical halves; animating from -50% to 0 makes the
   content drift to the RIGHT and loop seamlessly. */
@keyframes ge-rv-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.ge-rv-card {
  flex: 0 0 320px;
  width: 320px;
  box-sizing: border-box;
  background: #0d1b30 !important;
  border-radius: 14px;
  overflow: hidden;
}
.ge-rv-layout { padding: 20px 22px !important; height: auto !important; }
.ge-rv-name {
  color: #ffffff !important; -webkit-text-fill-color:#ffffff !important;
  font-weight: 700; font-size: 1.12rem; margin: 0 0 8px;
}
.ge-rv-stars { margin: 0 0 10px; line-height: 0; white-space: nowrap; }
.ge-rv-stars .ge-rv-star { display:inline-block; margin-right:2px; }
.ge-rv-stars .ge-rv-star img { width: 17px; height: 17px; display:inline-block; }
.ge-rv-text {
  color: #eaf0f8 !important; -webkit-text-fill-color:#eaf0f8 !important;
  font-size: .96rem; line-height: 1.5; margin: 0;
}

/* Hide leftover decorative quote/circle icon on the rebuilt review cards */
.ge-rv-card .u-icon-circle,
.ge-rv-card .u-icon:not(.ge-rv-star) { display: none !important; }

/* Hide the old manual carousel arrows in the testimonials (now auto-scrolling) */
.ge-rv-host .u-gallery-nav,
.u-section-4 .u-gallery-nav,
#block-14 .u-gallery-nav,
.ge-rv-viewport ~ .u-gallery-nav { display: none !important; }

/* ===== Nav dropdown (SERVICES): single column, one item per line ===== */
.u-nav-popup {
  min-width: 240px !important;
}
.u-nav-popup > .u-nav,
.u-nav-popup ul.u-nav {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
  column-count: 1 !important;
}
.u-nav-popup .u-nav-item {
  display: block !important;
  width: 100% !important;
  float: none !important;
}
.u-nav-popup .u-nav-item > .u-nav-link {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;     /* keep each label on ONE line */
  text-align: left !important;
  box-sizing: border-box !important;
}
