/* parkerroofing.co.com overrides — loaded LAST, after all template CSS.
   Written against .xh* demotion classes (see prep_css.py) and .pr-* content
   layout classes used by the generated interior pages. */

/* ---- generic fixes ---- */
.xh1, .xh2, .xh3, .xh4 { display: block; }
p.xh2, p.xh3, p.xh4 { margin-bottom: 0; }

/* page-header title rendered as H1 via class="xh2" — kill bootstrap h1 base */
.page-header__inner h1.xh2 { margin: 0; }

/* hero eyebrow: readable over dark photos at every width */
.main-slider__sub-title.xh4 {
  color: #ffb38a !important;
  font-size: 15px;
  letter-spacing: 1px;
}
@media (max-width: 575px) {
  .main-slider__sub-title.xh4 { font-size: 13px; }
}

/* hollow outline text -> solid (HR-build precedent: no lines-through fonts) */
.main-slider__title-two,
.main-slider--banner .main-slider__title-two {
  -webkit-text-stroke: 0 !important;
  color: #fff !important;
}

/* hero H1 carries both title lines */
.main-slider h1.pr-hero-title { margin: 0; }
.main-slider .pr-hero-title .main-slider__title,
.main-slider .pr-hero-title .main-slider__title-two {
  display: block;
}
/* template title sizing assumed one short word; our keyword lines are longer */
.main-slider .pr-hero-title .main-slider__title {
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1.02;
}
.main-slider .pr-hero-title .main-slider__title-two {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.15;
  margin-top: 6px;
}
@media (min-width: 1200px) {
  .main-slider__content { max-width: 58%; }
}

/* hail event cards: template styles card text orange + capitalized; ours are sentences */
.highlight-one__single-content p {
  text-transform: none !important;
  color: #6e6e6e !important;
}

/* ---- interior content layout ---- */
.pr-content { padding: 100px 0; }
.pr-content .container { max-width: 1000px; }
.pr-content h2 { font-size: 30px; line-height: 1.25; margin: 42px 0 18px; }
.pr-content h3 { font-size: 22px; line-height: 1.3; margin: 30px 0 14px; }
.pr-content h2:first-child { margin-top: 0; }
.pr-content p { margin-bottom: 16px; }
.pr-content ul.pr-list { margin: 0 0 18px; padding: 0; list-style: none; }
.pr-content ul.pr-list li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
}
.pr-content ul.pr-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; background: #f96014; border-radius: 2px;
}
.pr-lede { font-size: 19px; line-height: 1.6; }

/* fact/note callout */
.pr-note {
  background: #f5f2ec; border-left: 4px solid #f96014;
  padding: 22px 26px; margin: 26px 0;
}
.pr-note p { margin-bottom: 0; }
.pr-note p + p { margin-top: 10px; }

/* data table (hail history, cost ranges) */
.pr-table-wrap { overflow-x: auto; margin: 24px 0; }
table.pr-table { width: 100%; border-collapse: collapse; min-width: 480px; }
table.pr-table th, table.pr-table td {
  border: 1px solid #e3ddd2; padding: 11px 14px; text-align: left;
  font-size: 15px;
}
table.pr-table th { background: #1a1a1a; color: #fff; font-weight: 600; }
table.pr-table tr:nth-child(even) td { background: #faf8f4; }

/* two-column info cards on service pages */
.pr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0; }
.pr-card { background: #faf8f4; border: 1px solid #e9e3d8; padding: 24px 26px; }
.pr-card .pr-card-title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.pr-card p { margin-bottom: 0; font-size: 15px; }
@media (max-width: 767px) { .pr-cards { grid-template-columns: 1fr; } }

/* inline CTA band on content pages */
.pr-cta {
  background: #1a1a1a; color: #fff; padding: 34px 38px; margin: 36px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.pr-cta .pr-cta-text { font-size: 20px; font-weight: 700; color: #fff; margin: 0; }
.pr-cta .pr-cta-sub { font-size: 14px; color: #cfc9be; margin: 4px 0 0; }

/* neighborhoods chip cloud (replaces old inline styles) */
.pr-chips { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 30px; }
.pr-chips span, .pr-chips a {
  background: #1a1a1a; color: #fff; padding: 6px 16px; border-radius: 4px;
  font-size: 14px; display: inline-block;
}
.pr-chips a:hover { background: #f96014; color: #fff; }
.pr-chips .pr-chip-alt { background: #c8a96e; }

/* breadcrumb + banner keyword subtext */
.page-header__inner .pr-banner-sub {
  color: #f1ede5; font-size: 17px; margin: 12px auto 0; max-width: 720px;
}

/* footer cleanups: demoted headings keep template look via .xh4/.xh2 */
.footer-widget-one__contact-text2 p a { word-break: break-word; }

/* home: local knowledge cards inside testimonial shell */
.pr-knowledge .testimonial-one__single { padding: 30px 32px; }
.pr-knowledge .pr-know-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: #1a1a1a; }

/* process steps (insurance claim walkthrough) */
.pr-steps { counter-reset: prstep; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 30px 0 10px; }
.pr-step { background: #faf8f4; border: 1px solid #e9e3d8; padding: 26px 24px; position: relative; }
.pr-step::before {
  counter-increment: prstep; content: "0" counter(prstep);
  display: block; font-size: 30px; font-weight: 800; color: #f96014; margin-bottom: 12px;
}
.pr-step .pr-step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #1a1a1a; }
.pr-step p { font-size: 14px; margin-bottom: 0; }
@media (max-width: 1199px) { .pr-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .pr-steps { grid-template-columns: 1fr; } }

/* hero form: keep the capture card compact with 4 fields */
.main-slider__form .form-group { margin-bottom: 12px; }

/* kill custom cursor on touch devices (it can float mid-screen) */
@media (max-width: 991px) {
  .custom-cursor__cursor, .custom-cursor__cursor-two { display: none; }
}
