/* WMF / PKM Project v152
   Hero branding, KPI refresh and restored trust dialog action. */

/* Equal logo boxes in the desktop header. The source PKM PNG is transparent. */
.wmf-header-brand > img:first-of-type,
.wmf-header-brand > img.wmf-header-partner {
  width: 66px !important;
  height: 66px !important;
  min-width: 66px !important;
  flex: 0 0 66px !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wmf-site-header.is-compact .wmf-header-brand > img:first-of-type,
.wmf-site-header.is-compact .wmf-header-brand > img.wmf-header-partner {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  flex-basis: 42px !important;
}

/* KPI cards: white figures and a restrained translucent border on both layouts. */
#top .wmf-hero-stat {
  border-color: rgba(255, 255, 255, 0.32) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.14) !important;
}

#top .wmf-hero-stat b {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.12) !important;
}

#top .wmf-hero-stat span {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Restored action under the client logo groups. */
.wmf-clients-v152__actions {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 24px;
}

.wmf-clients-v152__actions .wmf-trust-why-btn {
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid rgba(202, 153, 111, 0.72);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(185, 128, 83, 0.94), rgba(141, 92, 57, 0.94));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  font: inherit;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wmf-clients-v152__actions .wmf-trust-why-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 186, 148, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.wmf-clients-v152__actions .wmf-trust-why-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.wmf-trust-dialog[open] {
  z-index: 2147483000;
}

html.dialog-lock,
html.dialog-lock body {
  overflow: hidden !important;
}

@media (max-width: 920px) {
  .wmf-header-brand > img:first-of-type,
  .wmf-header-brand > img.wmf-header-partner {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex-basis: 42px !important;
  }

  .wmf-site-header.is-compact .wmf-header-brand > img:first-of-type,
  .wmf-site-header.is-compact .wmf-header-brand > img.wmf-header-partner {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-basis: 36px !important;
  }

  .wmf-mobile-menu-top > img:first-of-type,
  .wmf-mobile-menu-top > img.wmf-mobile-menu-partner {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    flex: 0 0 52px !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 820px) {
  .wmf-hero-mobile-subtitle p,
  .wmf-hero-mobile-subtitle p:first-child {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 450 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
  }

  .wmf-hero-mobile-subtitle {
    display: grid;
    gap: 9px;
  }

  #top .wmf-hero-stat {
    min-height: 76px;
    border-color: rgba(255, 255, 255, 0.36) !important;
  }

  #top .wmf-hero-stat span {
    line-height: 1.2 !important;
  }

  .wmf-clients-v152__actions {
    padding-top: 18px;
  }

  .wmf-clients-v152__actions .wmf-trust-why-btn {
    width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 390px) {
  .wmf-hero-mobile-subtitle p,
  .wmf-hero-mobile-subtitle p:first-child {
    font-size: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wmf-clients-v152__actions .wmf-trust-why-btn {
    transition: none;
  }
}
