/* feature.css - Feature highlight component */

.feature {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.feature__item {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.feature__image {
  flex: 1 1 40%;
  display: flex;
}

.feature__image img {
  height: 100%;
  object-fit: cover;
}

.feature__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
  position: relative;
  flex: 1 1 60%;
  padding: var(--space-lg);
}

.feature__title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feature__text .point {
  flex: 0 0 auto;
  font-size: var(--fz-5xl);
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.2;
}

.feature__text h3 {
  flex: 1 1 auto;
  font-size: var(--fz-xl);
  line-height: 1.5;
  color: var(--color-primary);
}

.feature__text p {
  margin-bottom: 0;
  font-size: var(--fz-rg);
  line-height: 1.6;
  color: var(--color-text-light);
}

@media (max-width: 767px) {
  .feature {
    flex-direction: column;
  }

  .feature__item {
    flex-direction: column;
  }

  .feature__text h3 {
    font-size: var(--fz-md);
  }

  .feature__text p {
    margin: 0;
  }

  .feature__image img {
    height: 180px;
  }
}