/* r18: requested final copy, risk rationale and subsidy color adjustment. */

/* Keep the existing banner layout, background image, spacing and proportions. */
.support-banner--after-hero {
  background-color: #f5d24d;
  background-image: linear-gradient(90deg, rgba(250, 217, 77, .94), rgba(250, 217, 77, .88)), url('../images/subsidy-planning-generated.webp');
  background-blend-mode: normal, normal;
  color: #14243c;
}
.support-banner--after-hero :is(h2, .support-banner-kicker, .support-banner-action p) {
  color: #14243c;
  text-shadow: none;
}
.support-banner--after-hero .support-banner-kicker span {
  background: #fff;
  color: #143c87;
}
.support-banner--after-hero .support-banner-action > a {
  background: #0b3e95;
  color: #fff;
}
.support-banner--after-hero .support-banner-action > a::before {
  background: #075ac0;
}
.support-banner--after-hero .support-banner-action > a:is(:hover, :focus-visible) {
  color: #fff;
}

/* Put the reason to investigate immediately after each service heading. */
.work-detail-head .work-purpose { margin-bottom: 12px; }
.work-detail-head .work-risk {
  margin: 0;
  max-width: 78ch;
  color: #272d36;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .01em;
}
.work-risk__label {
  margin-right: .75em;
  color: #a82637;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .03em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .rail .rail-contact {
    box-sizing: border-box;
    width: max-content;
    min-width: 84px;
    max-width: calc(50vw - 32px);
    padding-inline: 8px;
    font-size: .8125rem;
  }
  .quick-actions { grid-template-columns: minmax(0, 1fr) 102px; }
  .quick-actions__phone { padding-inline: 4px; }
  .quick-actions__phone span { text-align: center; line-height: 1.2; }
  .work-detail-head .work-risk { font-size: 1rem; line-height: 1.65; }
}
@media (max-width: 359px) {
  .quick-actions { grid-template-columns: minmax(0, 1fr) 94px; }
  .quick-actions__phone { font-size: .75rem !important; }
}
