#om-oss {
  display: flex;
  width: 100dvw;
  min-height: 100dvh;
  background-color: var(--background-color-primary);
  color: var(--font-color-secondary);
  overflow-x: hidden;
  padding-top: 0;
}

.cards-container {
  margin-top: 8vh;
}

.om-oss-text {
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  font-style: oblique;
  margin-bottom: 80px;
  height: max-content;
  width: 750px;
  position: relative;
  margin-top: 20vh;
  text-align: left;
}

.om-oss-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  padding-bottom: 2rem;
  touch-action: pan-y;
  overflow-y: visible;
}

.om-oss-header {
  width: 100vw;
  height: 100vh;
  height: calc(100vh - env(safe-area-inset-top));
  margin-bottom: 100px;
}

.cards-container {
  display: flex;
  flex-direction: column;
}

.person-card-charlotte {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  height: auto;
  min-height: 60vh;
  margin-bottom: 4rem;
}

.person-card-embla {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  text-align: center;
  height: auto;
  min-height: 60vh;
  margin-bottom: 4rem;
}

.person-image {
  width: 450px;
  height: auto;
  margin-right: 40px;
  margin-left: 40px;
  touch-action: pan-y;
  pointer-events: auto;
  user-select: none;
}

.person-text h2 {
  font-size: clamp(1rem, 2vw, 2rem);
  margin-bottom: 10px;
  text-align: left;
}

.person-text h4 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 10px;
  margin-top: 0;
  text-align: left;
}

.person-text p {
  font-size: clamp(0.5rem, 2vw, 1.2rem);
  line-height: 1.5;
  word-wrap: normal;
  max-width: 30vw;
  text-align: left;
  align-items: center;
}

/* Mobile and Tablet Responsive Styles */

/* Tablet styles (768px and below) */
@media screen and (max-width: 768px) {
  /* Main container */
  #om-oss {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .om-oss-container {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .om-oss-text {
    font-size: 0.7rem;
    width: 320px;
    margin-bottom: 0;
    text-align: left;
  }

  /* Cards container - stack vertically on tablet */
  .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 320px;
  }

  .person-card-charlotte {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 50vh;
    margin-bottom: 3rem;
  }

  .person-card-embla {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 50vh;
    margin-bottom: 3rem;
  }

  .person-image {
    width: 320px;
    height: auto;
    touch-action: pan-y;
    pointer-events: auto;
    user-select: none;
  }

  .person-text {
    width: 320px;
  }

  .person-text h2 {
    font-size: 1.3rem;
  }

  .person-text p {
    font-size: 0.9rem;
    max-width: 320px;
  }
}

@media screen and (min-width: 3000px) {
  .om-oss-text {
  }

  .person-card-charlotte,
  .person-card-embla {
    width: 30vw;
  }
}
