/* =========================================
   WIR.SCHLADMING – FOOTER PARTNERS
========================================= */

/* =========================================
   REPEATER WRAPPER
========================================= */

.ws-footer .ws-footer-partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;

  width: 100%;
  max-width: 100%;

  margin: 28px 0 0;
  padding: 0;

  list-style: none;
}

/* =========================================
   PARTNER ITEM
========================================= */

.ws-footer .ws-footer-partners-item {
  display: block;

  width: 100%;
  max-width: 100%;

  margin: 0;
  padding: 0;

  list-style: none;
}

/* =========================================
   PARTNER WRAPPER
========================================= */

.ws-footer .ws-footer-partner {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;

  max-width: 100%;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;
  color: var(--cream-soft);

  text-decoration: none;

  transition: opacity 0.25s ease;
}

/* =========================================
   LOGO VARIANTE
========================================= */

.ws-footer .ws-footer-partner--logo {
  width: 160px;
  max-width: 100%;

  border: 0;
  background: transparent;

  color: var(--cream-soft);
}

/* =========================================
   LOGO IMAGE – EINHEITLICHE GRÖSSE
========================================= */

.ws-footer .ws-footer-partner-image {
  display: block;

  width: 160px;
  height: 65px;

  max-width: 100%;

  object-fit: contain;
  object-position: left center;

  background: transparent;
}

/* =========================================
   NUR TEXT VARIANTE
========================================= */

.ws-footer .ws-footer-partner--text {
  width: auto;
  min-height: 0;

  padding: 0;

  border: 0;
  background: transparent;

  color: var(--cream-soft);
}

/* =========================================
   OPTIONALER TEXT
========================================= */

.ws-footer .ws-footer-partner-label {
  display: block;

  max-width: 100%;
  margin: 0;
  padding: 0;

  color: inherit;
  text-align: left;

  overflow-wrap: break-word;
}

/* =========================================
   LINKS
========================================= */

.ws-footer a.ws-footer-partner,
.ws-footer a.ws-footer-partner:visited {
  color: var(--cream-soft);
  text-decoration: none;
}

/* =========================================
   HOVER
========================================= */

@media (hover: hover) {
  .ws-footer a.ws-footer-partner:hover {
    opacity: 0.7;
    color: var(--cream-soft);
    text-decoration: none;
  }
}

/* =========================================
   FOCUS
========================================= */

.ws-footer a.ws-footer-partner:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
  .ws-footer .ws-footer-partners {
    gap: 16px;
    margin-top: 24px;
  }

  .ws-footer .ws-footer-partner--logo {
    width: 145px;
  }

  .ws-footer .ws-footer-partner-image {
    width: 145px;
    height: 60px;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .ws-footer .ws-footer-partner {
    transition: none;
  }
}
