


/* flex as default */
:root {
  --short-providers-list-items-padding: 0px;
}
/* non-flex */
[data-partner="aegonro"],
[data-partner="bulstradbg"],
[data-partner="globalassistancesk"],
[data-partner="iraoge"],
[data-partner="kpsk"],
[data-partner="liam"],
[data-partner="plaz"],
[data-partner="taslifeua"],
[data-partner="tbsk"],
[data-partner="ucbcz"],
[data-partner="ucbsk"],
[data-partner="uniqacz"],
[data-partner="uniqask19"],
[data-partner="winnermk"],
[data-partner="placeholder-for-partner"] {
  --short-providers-list-items-padding: 30px;
  /* 2 x 15px */
}
[data-partner="nnsk"] {
  --short-providers-list-items-padding: calc(2 * 18px);
}
[data-providers-list="short"] {
  /* mobile */
  /* desktop */
}
[data-providers-list="short"] .row > div:nth-last-child(-n+1) {
  /* last item */
  /* quick fix for flex versions like the aluz partner with a standard height of image */
  height: 130px;
  overflow: hidden;
}
[data-providers-list="short"] .row > div:nth-last-child(-n+1) .provider {
  /* hide the description */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}
[data-providers-list="short"] .row > div:nth-last-child(-n+1) .provider .card-row:not(.desc)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  /* allows clicks through the overlay */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 33%, #ffffff 100%);
  /* because of partners like Globalassistancesk, Iraoge, Kpsk, Liam, ... */
  /* It created the linear on the padding of the column on non-white background */
  width: calc(100% - var(--short-providers-list-items-padding));
  margin: 0 auto;
}
[data-providers-list="short"] .row > div:nth-last-child(-n+1) .provider .desc {
  display: none;
}
@media (min-width: 768px) {
  [data-providers-list="short"] .row > div:nth-last-child(-n+3) {
    /* last three items */
    /* quick fix for flex versions like the aluz partner with a standard height of image */
    height: 130px;
    overflow: hidden;
  }
  [data-providers-list="short"] .row > div:nth-last-child(-n+3) .provider {
    /* hide the description */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
  }
  [data-providers-list="short"] .row > div:nth-last-child(-n+3) .provider .card-row:not(.desc)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    /* allows clicks through the overlay */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 33%, #ffffff 100%);
    /* because of partners like Globalassistancesk, Iraoge, Kpsk, Liam, ... */
    /* It created the linear on the padding of the column on non-white background */
    width: calc(100% - var(--short-providers-list-items-padding));
    margin: 0 auto;
  }
  [data-providers-list="short"] .row > div:nth-last-child(-n+3) .provider .desc {
    display: none;
  }
}
[data-partner="nnsk"] [data-providers-list="short"] {
  /* mobile */
  /* desktop */
}
[data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+2) {
  /* last two items including clearfix */
  /* quick fix for flex versions like the aluz partner with a standard height of image */
  height: 130px;
  overflow: hidden;
}
[data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+2) .provider {
  /* hide the description */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}
[data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+2) .provider .card-row:not(.desc)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  /* allows clicks through the overlay */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 33%, #ffffff 100%);
  /* because of partners like Globalassistancesk, Iraoge, Kpsk, Liam, ... */
  /* It created the linear on the padding of the column on non-white background */
  width: calc(100% - var(--short-providers-list-items-padding));
  margin: 0 auto;
}
[data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+2) .provider .desc {
  display: none;
}
[data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+2).clearfix {
  display: none;
}
@media (min-width: 768px) {
  [data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+4) {
    /* last four items including clearfix */
    /* quick fix for flex versions like the aluz partner with a standard height of image */
    height: 130px;
    overflow: hidden;
  }
  [data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+4) .provider {
    /* hide the description */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
  }
  [data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+4) .provider .card-row:not(.desc)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    /* allows clicks through the overlay */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 33%, #ffffff 100%);
    /* because of partners like Globalassistancesk, Iraoge, Kpsk, Liam, ... */
    /* It created the linear on the padding of the column on non-white background */
    width: calc(100% - var(--short-providers-list-items-padding));
    margin: 0 auto;
  }
  [data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+4) .provider .desc {
    display: none;
  }
  [data-partner="nnsk"] [data-providers-list="short"] .row > div:nth-last-child(-n+4).clearfix {
    display: none;
  }
}
[data-partner="ucbcz"] [data-providers-list="short"],
[data-partner="ucbsk"] [data-providers-list="short"] {
  margin-bottom: 25px !important;
}
[data-partner="asiromro"] {
  /*
   * Asiromro partner uses Vite for CSS compilation instead of LESS.
   * The short providers list styles are implemented in:
   * src/www/media/partner-asiromro/asiromro.css
   *
   * This partner is not using the LESS mixin approach due to build system differences.
   */
}
