/* Our Legacy & Profile - Figma node 1153:3316 */

.ir-legacy {
  padding: 64px 0;
}

.ir-legacy__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ir-legacy__photo {
  flex: 1 1 608px;
  min-width: 0;
  position: relative;
  height: 347px;
  border-radius: 32px;
  overflow: hidden;
  background: #f5f8fb;
}

.ir-legacy__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ir-legacy__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(58deg, #000 1.5%, transparent 59%);
}

.ir-legacy__tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ir-legacy__tag img {
  width: 36px;
  height: 32px;
}

.ir-legacy__tag span {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.24px;
  color: var(--grey-pure-white);
}

.ir-legacy__text {
  flex: 1 1 604px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ir-legacy__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--grey-dark-charcoal);
}

.ir-legacy__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-dark-grey);
}

@media (max-width: 1023px) {
  .ir-legacy__inner {
    flex-direction: column;
    gap: 32px;
  }

  .ir-legacy__photo,
  .ir-legacy__text {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 639px) {
  .ir-legacy {
    padding: 40px 0;
  }

  .ir-legacy__photo {
    height: 260px;
  }

  .ir-legacy__title {
    font-size: 30px;
  }
}
