/*
 * Phase Two SEO template fixes.
 * Headings that were demoted from <h1>/<h2> to plain elements (SOW W3/W4)
 * keep exactly the look they had, so the public design does not change.
 */

/* Homepage carousel slide titles (were <h1>; mirrors .page-title h1) */
.page-title .slider-title{
  position:relative;
  color:#ffffff;
  font-size:36px;
  font-weight:700;
  line-height:1.2em;
  margin-bottom:90px;
  text-transform:capitalize;
  font-family:'Raleway',sans-serif;
}
@media only screen and (max-width:767px){ .page-title .slider-title{ margin-bottom:100px; } }
@media only screen and (max-width:599px){ .page-title .slider-title{ font-size:30px; } }

/* The one homepage H1, styled like the section kicker it replaces (.sec-title .title) */
.sec-title h1.home-h1{
  position:relative;
  color:#fbb908;
  font-size:18px;
  font-weight:700;
  line-height:1.4em;
  margin:0 0 15px;
  text-transform:capitalize;
}

/* Detail pages: record name under the image (was a duplicate <h2>) */
.service-single .inner-box .lower-content .detail-name-heading{
  position:relative;
  font-weight:700;
  font-size:30px;
  line-height:1.2em;
  color:#222222;
  margin-bottom:15px;
  font-family:'Raleway',sans-serif;
}

/* Cards print the full name; long names are clamped visually (W11) */
.services-block-two .inner-box h3 a,
.services-block-three .inner-box .lower-content h3 a,
.project-block .inner-box .overlay-box h3,
.products-section .inner-box h3 a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Enquiry CAPTCHA code (was an <h1>, SOW W3) */
.consult-form .captcha-code{
  color:#ffffff;
  font-size:36px;
  font-weight:700;
  letter-spacing:4px;
  line-height:1.2em;
  user-select:none;
}

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* ---- M3 content sections (P2-SECT-01). Matches the detail-page text style. ---- */
.ucpi-sections-wrap{padding:60px 0 30px}
.ucpi-sections{margin-top:10px}
.ucpi-section{margin-bottom:34px}
.ucpi-section h2.ucpi-section-title{color:#222222;font-size:28px;font-weight:700;line-height:1.3em;margin:0 0 16px;font-family:'Raleway',sans-serif}
.ucpi-section h3.ucpi-section-title{color:#222222;font-size:22px;font-weight:700;line-height:1.3em;margin:0 0 14px;font-family:'Raleway',sans-serif}
.ucpi-section-body,.ucpi-section-body p,.ucpi-list li,.ucpi-faq-answer,.ucpi-cta p,.ucpi-links li{color:#777777;font-size:16px;line-height:1.8em}
.ucpi-section-body p{margin-bottom:16px}
.ucpi-section-body h3,.ucpi-section-body h4{color:#222222;font-weight:700;margin:18px 0 10px}
.ucpi-section-body h3{font-size:20px}
.ucpi-section-body h4{font-size:18px}
.ucpi-section-body ul,.ucpi-section-body ol{margin:0 0 16px 22px}
.ucpi-section-body ul{list-style:disc}
.ucpi-section-body ol{list-style:decimal}
.ucpi-section-body a,.ucpi-links a{color:#fbb908;font-weight:600}
.ucpi-section-body a:hover,.ucpi-links a:hover{text-decoration:underline}
.ucpi-section-body table{width:100%;border-collapse:collapse;margin:0 0 16px}
.ucpi-section-body th,.ucpi-section-body td{border:1px solid #e5e5e5;padding:8px 12px;text-align:left}
.ucpi-section-body th{background:#f7f7f7;color:#222222}
.ucpi-section-body img{max-width:100%;height:auto}
.ucpi-list{margin:0;padding:0;list-style:none}
.ucpi-list li{position:relative;padding-left:24px;margin-bottom:8px}
.ucpi-list li:before{content:'';position:absolute;left:4px;top:12px;width:8px;height:8px;border-radius:50%;background:#fbb908}
.ucpi-list--check li:before{content:'\2713';background:none;width:auto;height:auto;top:0;left:0;color:#fbb908;font-weight:700}
.ucpi-faq-item{border:1px solid #e5e5e5;margin-bottom:10px;background:#ffffff}
.ucpi-faq-item summary{cursor:pointer;padding:14px 18px;color:#222222;font-weight:700;font-size:17px;list-style:none;position:relative;padding-right:44px}
.ucpi-faq-item summary::-webkit-details-marker{display:none}
.ucpi-faq-item summary:after{content:'+';position:absolute;right:18px;top:10px;font-size:22px;color:#fbb908}
.ucpi-faq-item[open] summary:after{content:'\2212'}
.ucpi-faq-item summary:focus-visible{outline:2px solid #fbb908;outline-offset:2px}
.ucpi-faq-answer{padding:0 18px 16px}
.ucpi-cta{background:#f7f7f7;border-left:4px solid #fbb908;padding:24px 26px}
.ucpi-cta p{margin-bottom:14px;color:#444444}
.ucpi-cta .ucpi-cta-btn{display:inline-block}
.ucpi-media{display:flex;gap:24px;align-items:flex-start}
.ucpi-media-img{width:42%;max-width:420px;height:auto;flex:0 0 auto}
.ucpi-media .ucpi-section-body{flex:1 1 auto}
@media only screen and (max-width:767px){
  .ucpi-media{display:block}
  .ucpi-media-img{width:100%;max-width:none;margin-bottom:16px}
  .ucpi-section h2.ucpi-section-title{font-size:24px}
}
.ucpi-links{margin:0;padding:0;list-style:none}
.ucpi-links li{margin-bottom:6px}
.ucpi-links li:before{content:'\2192';color:#fbb908;margin-right:8px}
