.im-clc-section {
  width: 100%;
  padding: 56px 20px;
  overflow: hidden;
}

.im-clc-header {
  max-width: 980px;
  margin: 0 auto 32px;
  text-align: center;
}

.im-clc-title {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.15;
}

.im-clc-subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.6;
}

.im-clc-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
}

.im-clc-viewport {
  overflow: hidden;
  width: 100%;
}

.im-clc-track {
  display: flex;
  gap: 18px;
  transition: transform 350ms ease;
  will-change: transform;
}

.im-clc-slide {
  flex: 0 0 calc((100% - 72px) / 5);
  min-width: 0;
}

.im-clc-logo-card {
  height: 118px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.im-clc-logo-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.im-clc-logo-img {
  display: block;
  max-width: 100%;
  max-height: 74px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.im-clc-logo-card:hover .im-clc-logo-img,
.im-clc-logo-card:focus-within .im-clc-logo-img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}

.im-clc-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: inherit;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.im-clc-nav:hover,
.im-clc-nav:focus-visible {
  transform: translateY(-1px);
}

.im-clc-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.im-clc-empty {
  padding: 18px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  text-align: center;
}

@media (max-width: 1024px) {
  .im-clc-slide {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 767px) {
  .im-clc-section {
    padding: 42px 16px;
  }

  .im-clc-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .im-clc-slide {
    flex-basis: calc((100% - 18px) / 2);
  }

  .im-clc-logo-card {
    height: 96px;
    padding: 16px;
    border-radius: 13px;
  }

  .im-clc-logo-img {
    max-height: 58px;
  }

  .im-clc-nav {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .im-clc-carousel {
    grid-template-columns: 1fr;
  }

  .im-clc-nav {
    display: none;
  }

  .im-clc-slide {
    flex-basis: 72%;
  }
}
