.bio-section {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  justify-content: space-between;
  align-content: start;
  gap: 32px;
  width: 100%;
  height: calc(100vh - 40px);
  overflow-y: auto;
}

.language-options {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  position: sticky;
  top: 0;
  align-self: start;
  background: white;
}

.language-options button {
  padding: 0;
  border: 0;
  background: none;
  color: black;
  font: 16px Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.language-options button:hover,
.language-options button[aria-pressed="true"] {
  color: rgb(255, 0, 0);
}

.bio-section h2 {
  margin: 0 0 22px;
  color: rgb(255, 0, 0);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
}

.bio-section p {
  margin: 0 0 30px 0;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bio-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: calc(100vh - 64px);
    padding: 16px 8px 32px;
  }

  .language-options {
    order: -1;
    align-self: flex-end;
  }

  .bio-section h2 {
    font-size: 24px;
  }
}
