/**
$max: fontsize for desktop in px
$lineHeight: lineheight for desktop in px
$min: fontsize for mobile in px
$marginBottom: factor of the bottommargin to the base of 40px on desktop --> ist umgestellt, war vorher marginTop
*/
.mono_textcard {
  flex: 1 1 50%;
  width: 100%;
  border-bottom: 1px solid;
  padding: 24px;
  position: relative;
  margin-bottom: 10px;
}
.mono_textcard a {
  text-decoration: none;
}
.mono_textcard__icon {
  display: flex;
  justify-content: end;
  transition: transform 250ms;
}
.mono_textcard__icon:hover {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .mono_textcard {
    width: 100%;
    margin-bottom: 0;
    border-left: 1px solid;
    border-bottom: none;
  }
  .mono_textcard:nth-child(-n+2) {
    border-bottom: 1px solid;
  }
  .mono_textcard:nth-last-child(-n+2) {
    border-bottom: none !important;
  }
}
@media (min-width: 1024px) {
  .mono_textcard {
    border-bottom: none !important;
    flex: 1 1 25%;
  }
}
@media (min-width: 568px) {
  .mono_textcard.no-image:last-child {
    border-bottom: none;
  }
}
.mono_textcard__image {
  width: 100%;
  height: fit-content;
}
.mono_textcard__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mono_textcard__long {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--grey_dark);
  font-family: Archivo, sans-serif;
}
.mono_textcard__long .mono_textcard__title {
  padding-bottom: 16px;
}
.mono_textcard__long p {
  font-size: 17px;
  font-size: clamp(0.85rem, calc( 0.0520833333vw  + 1rem), 1.0625rem);
  line-height: 120%;
  line-height: 1.3;
}
.mono_textcard__title {
  display: block;
  font-size: 24px;
  font-size: clamp(1.2rem, calc( 0.4166666667vw  + 1rem), 1.5rem);
  line-height: 120%;
  font-family: Archivo, sans-serif;
  color: var(--black);
  padding-top: 10px;
  letter-spacing: 0.2px;
}
.mono_textcard:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .mono_textcard:nth-child(2n) {
    border-right: none !important;
  }
}
@media (max-width: 1024px) {
  .mono_textcard:nth-child(2n) {
    border-right: 1px solid;
  }
}
@media (min-width: 768px) {
  .mono_textcard:nth-child(4n) {
    border-right: 1px solid !important;
  }
}