.invest-types {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: #ffffff;
}

.invest-types__container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.invest-types__list {
  display: flex;
  flex-direction: column;
}

.invest-types__item {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid #f0f2f5;
  align-items: flex-start;
}

.invest-types__item:last-child {
  border-bottom: none;
}

.invest-types__icon-wrapper {
  flex-shrink: 0;
}

.invest-types__icon {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 14px; /* Added internal padding for SVG sizing */
  justify-content: center;
  align-items: center;
  flex-shrink: 0;

  border-radius: 10px;
  background: #009689;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  color: #ffffff; /* Default color for currentColor SVGs */
}

.invest-types__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.invest-types__content {
  flex: 1;
}

.invest-types__title {
  margin: 0 0 0.75rem;
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #17202a;
}

.invest-types__description {
  color: #5f6b7a;
  line-height: 1.6;
  font-size: 1rem;
  max-width: 52rem;
}

.invest-types__description p {
  margin: 0;
}

@media (max-width: 640px) {
  .invest-types__item {
    flex-direction: column;
    gap: 1.25rem;
  }

  .invest-types__icon {
    width: 48px;
    height: 48px;
    padding: 10px;
  }
}
