/* ===== IQ HOUSE Works — image cards (strengths-style, 1:1) ===== */
.iqWorks {
  width: 100%;
  padding: 56px 0 64px;
  background: #ffffff;
  box-sizing: border-box;
}

.iqWorks__head {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  text-align: center;
}

.iqWorks__title {
  margin: 0 0 10px;
  color: #12161d;
  font-family: var(--iq-font);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.3;
}

.iqWorks__desc {
  margin: 0 auto;
  max-width: 680px;
  color: #5a6573;
  font-family: var(--iq-font);
  font-size: 16px;
  line-height: 1.7;
}

.iqWorks__slider {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 0 12px;
  overflow: hidden;
  position: relative;
}

/* Continuous marquee — no stepped slide easing */
.iqWorks__slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

.iqWorks__card {
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.iqWorks__link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

/* Square image like strengths cards, but 1:1 */
.iqWorks__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0c1a36;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(7, 18, 46, 0.12);
}

.iqWorks__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.45s ease;
}

.iqWorks__link:hover .iqWorks__media img,
.iqWorks__link:focus .iqWorks__media img {
  transform: scale(1.04);
}

.iqWorks__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 46%;
  padding: 56px 14px 14px;
  background: linear-gradient(
    180deg,
    rgba(7, 18, 46, 0) 0%,
    rgba(7, 18, 46, 0.28) 32%,
    rgba(7, 18, 46, 0.82) 100%
  );
  color: #fff;
  text-align: left;
}

.iqWorks__name {
  margin: 0;
  height: 2.7em;
  color: #fff;
  font-family: var(--iq-font);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.iqWorks__meta {
  margin: 6px 0 0;
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--iq-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iqWorks__nav {
  position: absolute;
  inset: 42% 0 auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
  padding: 0 16px;
  box-sizing: border-box;
}

.iqWorks__prev,
.iqWorks__next {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(20, 17, 16, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
}

.iqWorks__prev::before,
.iqWorks__next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #222;
  border-right: 2px solid #222;
}

.iqWorks__prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.iqWorks__next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

.iqWorks__pagination {
  display: none;
}

.iqWorks__more {
  margin-top: 18px;
  text-align: center;
}

.iqWorks__more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16305a 0%, #0c1a36 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--iq-font);
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .iqWorks {
    padding: 40px 0 48px;
  }

  .iqWorks__nav {
    display: none;
  }
}
