/* Match the service-page photo layout while keeping the repair contact callout. */
.repair-page .inspection-hero-panel {
  --service-slate-film: linear-gradient(180deg, rgb(37 42 48 / 6%) 0%, rgb(37 42 48 / 20%) 18%, rgb(37 42 48 / 44%) 40%, rgb(37 42 48 / 62%) 72%, rgb(37 42 48 / 100%) 100%);
  background-image: var(--service-slate-film), url('assets/iggy-roof-leak-panorama-v2.webp');
  background-position: center, center 65%;
}
.repair-page .inspection-next-panel {
  background-color: #252a30;
  background-image: var(--service-slate-film), url('assets/service-roof-repair-generated-v1.webp');
  background-position: center, center 10%;
  box-shadow: 0 10px 30px rgb(37 42 48 / 12%);
}
.repair-page .inspection-next h2 { font-size: clamp(36px, 4.2vw, 58px); text-shadow: var(--service-title-shadow); }
.repair-page .inspection-next { padding-bottom: 28px; }
.repair-page .inspection-next-copy > p { max-width: 660px; text-shadow: 0 1px 2px rgb(9 15 22 / 95%), 0 2px 6px rgb(9 15 22 / 85%); }
.repair-page .repair-leak-question {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 600;
}
.repair-page .inspection-next .inspection-phone { margin-top: 6px; }
.repair-page .inspection-next .inspection-language { margin-top: 8px; font-size: 18px; }
.repair-page .inspection-cta { white-space: normal; text-wrap: balance; }
.repair-photo-portrait img { object-position: center 40%; }
.repair-note { padding-top: 0; }
.repair-note-inner {
  padding: 28px 32px;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background-color: #e4f4ff;
  background-image: linear-gradient(110deg, rgb(231 247 255 / 93%), rgb(215 239 255 / 84%)), url('assets/roofing-outline-pattern-blue-tiles-v2.webp');
  background-size: auto, 690px 460px;
  background-position: center, center top;
}
.repair-page main .repair-note h2 {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
  text-shadow: var(--type-shadow-heading);
}
.repair-note p { max-width: 95ch; margin-top: 10px; color: #364154; font-size: 17px; line-height: 1.75; }
.repair-note-inner > p {
  --type-shadow-copy: 0 1px 0 rgb(2 10 34 / 18%), 0 2px 2px rgb(2 10 34 / 14%);
  color: #142335;
  text-shadow: var(--type-shadow-copy);
}
.repair-note strong { color: #142335; font-weight: 600; }
.repair-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.repair-resource {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 26px;
  border: 1px solid #e0e4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(24 35 55 / 4%);
}
.repair-resource-brand { display: flex; align-items: center; min-height: 88px; width: 100%; }
.repair-fema-name { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; color: var(--blue); }
.repair-fema-name > strong { color: inherit; font-size: clamp(42px, 5vw, 54px); font-weight: 700; line-height: 1; letter-spacing: .025em; text-shadow: none; }
.repair-fema-name > span { color: #364154; font-size: 12px; line-height: 1.4; text-shadow: none; }
.repair-guide-mark { gap: 15px; color: var(--blue); }
.repair-guide-icon { width: 72px; height: 72px; flex: none; }
.repair-guide-wordmark { font-size: 23px; font-weight: 900; line-height: 1.05; letter-spacing: -.025em; text-shadow: none; }
.repair-guide-wordmark > span { display: block; margin-top: 7px; color: #9b3500; font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: .1em; }
.repair-resource-copy { flex: 1; margin: 22px 0 20px; }
.repair-note .repair-resource-provider { margin: 0 0 10px; color: var(--blue); font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: .025em; text-shadow: none; }
.repair-page .repair-resource h3 { color: #142335; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; text-shadow: none; }
.repair-page .repair-resource-link {
  width: 100%;
  min-height: 60px;
  padding: 16px 20px;
  gap: 10px;
  color: #142335;
  background: var(--orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}
.repair-resource-format { padding: 2px 6px; border: 1px solid currentColor; border-radius: 3px; font-size: 10px; line-height: 1.4; }
.repair-page .repair-resource-link:is(:hover, :focus-visible, :active) { background: var(--blue); color: #fff; }
@media (max-width: 800px) {
  .repair-resources { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 680px) {
  .repair-page .inspection-hero-panel { background-position: center, 88% center; }
  .repair-page .inspection-next-panel { background-position: center, 40% center; }
  .repair-page .inspection-next h2 { font-size: clamp(34px, 10vw, 46px); }
  .repair-page .inspection-next-copy > p { max-width: 30ch; }
  .repair-page .repair-leak-question { font-size: 21px; }
  .repair-page main .inspection-cta { font-size: 15px; padding-inline: 16px; }
  .repair-page .inspection-next { padding-bottom: 24px; }
  .repair-note-inner { padding: 22px 20px; }
  .repair-note p { font-size: 16px; line-height: 1.7; }
  .repair-note .repair-resource-provider { font-size: 15px; }
  .repair-resource { padding: 22px 18px; }
  .repair-page .repair-resource-link { padding-inline: 14px; }
}
@media (max-width: 370px) {
  .repair-note-inner { padding-inline: 14px; }
  .repair-resource { padding-inline: 14px; }
  .repair-guide-mark { gap: 10px; }
  .repair-guide-icon { width: 52px; height: 52px; }
  .repair-guide-wordmark { font-size: 20px; }
  .repair-guide-wordmark > span { font-size: 9px; }
  .repair-page .repair-resource-link { font-size: 12px; padding-inline: 10px; }
}
@media (forced-colors: active) {
  .repair-page .inspection-tinted-panel, .repair-note-inner { background: Canvas; }
  .repair-page .inspection-next-panel { box-shadow: none; }
  .repair-page .inspection-next h2, .repair-page .inspection-next-copy > p { text-shadow: none; }
  .repair-note-inner { border: 1px solid CanvasText; }
  .repair-page main .repair-note :is(h2, p, strong) { color: CanvasText; }
  .repair-resource { background: Canvas; border-color: CanvasText; }
  .repair-guide-mark, .repair-fema-name, .repair-fema-name > span, .repair-page .repair-resource h3, .repair-guide-wordmark > span { color: CanvasText; }
  .repair-page .repair-resource-link { background: ButtonFace; color: LinkText; border: 1px solid LinkText; }
}
