/* WMF / PKM Project v159
   Current, device-specific footer navigation. */

.wmf-footer-nav-v159--mobile {
  display: none;
}

@media (min-width: 992px) {
  .wmf-footer .wmf-footer-main {
    grid-template-columns: minmax(350px, 1.25fr) minmax(0, 2.75fr) !important;
  }

  .wmf-footer-nav-v159--desktop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }

  .wmf-footer-group-v159 {
    min-width: 0;
    padding: 40px 24px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wmf-footer-group-v159:last-child {
    border-right: 0;
  }

  .wmf-footer-group-v159 h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 680;
    line-height: 1.15;
  }

  .wmf-footer-group-v159 a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    color: #abb0b2;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .wmf-footer-group-v159 a:last-child {
    border-bottom: 0;
  }

  .wmf-footer-group-v159 a span:last-child {
    color: #c7956e;
    font-size: 15px;
    text-align: right;
    opacity: 0.76;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .wmf-footer-group-v159 a:hover,
  .wmf-footer-group-v159 a:focus-visible {
    padding-left: 6px;
    color: #fff;
  }

  .wmf-footer-group-v159 a:hover span:last-child,
  .wmf-footer-group-v159 a:focus-visible span:last-child {
    opacity: 1;
    transform: translateX(3px);
  }
}

@media (max-width: 991px) {
  .wmf-footer .wmf-footer-main {
    display: block !important;
  }

  .wmf-footer-nav-v159--desktop {
    display: none !important;
  }

  .wmf-footer-nav-v159--mobile {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wmf-footer-nav-v159--mobile details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .wmf-footer-nav-v159--mobile summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 720;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
  }

  .wmf-footer-nav-v159--mobile summary::-webkit-details-marker {
    display: none;
  }

  .wmf-footer-nav-v159--mobile summary::after {
    content: "+";
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(199, 149, 110, 0.35);
    border-radius: 50%;
    color: #c7956e;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
  }

  .wmf-footer-nav-v159--mobile details[open] summary::after {
    content: "−";
  }

  .wmf-footer-mobile-links-v159 {
    display: grid;
    padding: 0 4px 14px;
  }

  .wmf-footer-mobile-links-v159 a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 10px;
    align-items: center;
    min-height: 47px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    color: #b8bcbe;
    font-size: 15px;
    line-height: 1.3;
    text-decoration: none;
  }

  .wmf-footer-mobile-links-v159 a span:last-child {
    color: #c7956e;
    text-align: right;
  }

  .wmf-footer-mobile-links-v159 a:active {
    color: #fff;
  }
}

@media (max-width: 560px) {
  .wmf-footer-nav-v159--mobile {
    margin-top: 4px;
  }
}
