/* Three reasons | round photo | three reasons */
.why__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;

  @media (min-width: 1024px) {
    grid-template-columns: 1fr 400px 1fr;
  }
}

.why__col {
  display: grid;
  gap: 2.5rem;

  @media (min-width: 1024px) {
    gap: 3.1rem;
  }
}

.why__item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

/* Left column mirrors on desktop only; HTML order stays the same */
@media (min-width: 1024px) {
  .why__col--left {
    text-align: right;
  }

  .why__col--left .why__item {
    flex-direction: row-reverse;
  }
}

.why__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-accent);

  & svg { width: 22px; height: 22px; }
}

.why__title {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}

.why__text {
  font-size: 0.95rem;
}

.why__photo {
  order: -1;
  width: min(300px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 18px var(--color-soft), 0 0 0 19px var(--color-line);

  @media (min-width: 1024px) {
    order: 0;
    width: 400px;
  }
}

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