/**
 * HELkom Text Duo Styles
 */

.smort-helkom-text-duo {
  width: 100%;
  padding: 2.5rem 0;
}

.smort-helkom-text-duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}

.smort-helkom-text-duo__column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);

  border-radius: var(--border-raduis-smort);
  background: #eef1eb;
}

.smort-helkom-text-duo__copy {
  flex: 1;
  min-width: 0;
}

.smort-helkom-text-duo__title {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: var(--h3-sm-size);
  font-weight: 600;
  line-height: var(--h3-sm-height);
}

.smort-helkom-text-duo__text {
  color: var(--text, #1f2328);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.smort-helkom-text-duo__text > :first-child {
  margin-top: 0;
}

.smort-helkom-text-duo__text > :last-child {
  margin-bottom: 0;
}

.smort-helkom-text-duo__image {
  width: 100%;
  margin-top: 1rem;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--border-raduis-smort);
  background: #eef1eb;
}

.smort-helkom-text-duo__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .smort-helkom-text-duo {
    padding: 4rem 0;
  }

  .smort-helkom-text-duo__title {
    font-size: var(--h3-lg-size);
    line-height: var(--h3-lg-height);
  }
}

@media (max-width: 767px) {
  .smort-helkom-text-duo {
    padding: 1.75rem 0;
  }

  .smort-helkom-text-duo__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .smort-helkom-text-duo__column {
    gap: 1.25rem;
  }

  .smort-helkom-text-duo__title {
    font-size: var(--h3-sm-size);
  }
}
