/* WMF / PKM PROJECT v179
   1) uniform section-heading accent lines on every viewport;
   2) compact legal-only footer after contacts on mobile. */

/* Keep every existing line's length and colour, but remove tapered ends. */
.qa-accent,
.hero-accent,
.network-accent,
.about-accent,
.clients-accent,
.cases-accent,
.why-accent,
.guarantees-accent,
.svc-accent,
.cc-accent,
.wmf-hero-line,
.contact-country-line i,
.wmf-trust-head i {
  height: 2px !important;
  border-radius: 0 !important;
  background-image: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  clip-path: none !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.qa-accent,
.hero-accent,
.network-accent,
.about-accent,
.clients-accent,
.cases-accent,
.why-accent,
.svc-accent,
.cc-accent,
.wmf-hero-line,
.contact-country-line i,
.wmf-trust-head i {
  background-color: #c7956e !important;
}

.guarantees-accent {
  background-color: #b6783e !important;
}

/* Also neutralise a tapered pseudo-line if a section uses one. */
.wmf-clients-v146__eyebrow::after,
.wmf-mobile-catalog-eyebrow::after,
.wmf-msr-eyebrow::after,
.qa-eyebrow::after,
.business-eyebrow::after,
.about-eyebrow::after,
.why-eyebrow::after,
.why-kicker::after,
.g24-eyebrow::after,
.svc-eyebrow::after,
.cc-eyebrow::after,
.cat-kicker::after,
.imp-eyebrow::after,
.faq-eyebrow::after,
.contact-eyebrow::after {
  border-radius: 0 !important;
  background-image: none !important;
  background-color: currentColor !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  clip-path: none !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.wmf-trust-dialog .wmf-trust-dialog-head > span::before {
  background: #d0a17e !important;
}

@media (max-width: 991px) {
  /* The compact contacts card is followed immediately by the legal line. */
  #contacts.wmf-contacts {
    padding-bottom: 14px !important;
  }

  .wmf-footer {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .wmf-footer .wmf-footer-shell {
    width: calc(100% - 28px) !important;
    margin: 0 auto !important;
    padding: 0 0 94px !important;
  }

  .wmf-footer .wmf-footer-main,
  .wmf-footer .wmf-footer-contactbar {
    display: none !important;
  }

  .wmf-footer .wmf-footer-bottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 18px 6px 24px !important;
    border-top: 1px solid rgba(255, 255, 255, .1) !important;
  }

  .wmf-footer .wmf-footer-bottom p {
    max-width: 100% !important;
    margin: 0 !important;
    color: #85898d !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .wmf-footer .wmf-footer-bottom > div {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    color: #aeb1b4 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
  }

  .wmf-footer .wmf-footer-bottom > div i {
    width: 42px !important;
    height: 1px !important;
    background: rgba(199, 149, 110, .58) !important;
  }
}
