.lx-image-accordion {
  display: flex;
  width: 100%;
  height: var(--lx-ia-height, 540px);
  overflow: hidden;
  background: #111;
}

.lx-ia__item {
  position: relative;
  flex: 1 1 0%;
  min-width: 90px;
  height: 100%;
  overflow: hidden;
  transition: flex 0.45s ease;
  cursor: pointer;
}

.lx-image-accordion.has-active .lx-ia__item {
  flex: 0.7 1 0%;
}

.lx-image-accordion.has-active .lx-ia__item.is-active {
  flex: 3 1 0%;
}

.lx-ia__bg,
.lx-ia__overlay,
.lx-ia__collapsed,
.lx-ia__content-wrap,
.lx-ia__trigger {
  position: absolute;
  inset: 0;
}

.lx-ia__bg {
  background-size: cover;
  background-position: center;
  filter: grayscale(0%);
  transform: scale(1.02);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.lx-ia__item.is-active .lx-ia__bg,
.lx-ia__item:hover .lx-ia__bg {
  filter: grayscale(100%);
  transform: scale(1.06);
}

.lx-ia__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 48%, rgba(0,0,0,.08) 100%);
  transition: background 0.35s ease;
  z-index: 1;
}

.lx-ia__item.is-active .lx-ia__overlay,
.lx-ia__item:hover .lx-ia__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 48%, rgba(0,0,0,.12) 100%);
}

.lx-ia__collapsed {
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 14px;
}

.lx-ia__labels {
  width: 100%;
  text-align: center;
}

.lx-ia__label-image {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lx-ia__collapsed .lx-ia__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0;
}

.lx-ia__collapsed .lx-ia__subtitle {
  display: none !important;
}

.lx-ia__content-wrap {
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 42px 38px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lx-ia__item.is-active .lx-ia__content-wrap {
  opacity: 1;
  visibility: visible;
}

.lx-ia__content-inner {
  max-width: 440px;
  color: #fff;
}

.lx-ia__content-header {
  margin-bottom: 18px;
}

.lx-ia__content-header .lx-ia__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 6px;
}

.lx-ia__content-logo {
  display: block;
  max-width: 260px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.lx-ia__content-header .lx-ia__subtitle {
  font-size: 15px;
  opacity: .92;
  display: block;
  margin-bottom: 0;
}

.lx-ia__content {
  font-size: 16px;
  line-height: 1.55;
}

.lx-ia__content p:last-child {
  margin-bottom: 0;
}

.lx-ia__actions {
  margin-top: 20px;
}

.lx-ia__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.8);
  color: #fff;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.lx-ia__btn:hover {
  background: #fff;
  color: #111;
}

.lx-ia__trigger,
.lx-ia__trigger:hover,
.lx-ia__trigger:focus,
.lx-ia__trigger:active {
  z-index: 4;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lx-ia__trigger::before,
.lx-ia__trigger::after {
  content: none !important;
  display: none !important;
}

.lx-ia__item.is-active .lx-ia__collapsed {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

@media (max-width: 767px) {
  .lx-image-accordion {
    flex-direction: column;
    height: auto;
    background: transparent;
  }

  .lx-ia__item,
  .lx-image-accordion.has-active .lx-ia__item,
  .lx-image-accordion.has-active .lx-ia__item.is-active {
    flex: none;
    height: 110px;
    min-width: 100%;
    transition: height .35s ease;
  }

  .lx-ia__item.is-active {
    height: 360px;
  }

  .lx-ia__collapsed {
    justify-content: flex-start;
    padding: 20px;
  }

  .lx-ia__labels {
    text-align: left;
  }

  .lx-ia__label-image {
    max-height: 38px;
  }

  .lx-ia__content-wrap {
    padding: 24px 20px;
  }

  .lx-ia__content-header .lx-ia__title {
    font-size: 26px;
  }

  .lx-ia__content-logo {
    max-width: 180px;
    max-height: 52px;
  }
}
