/* ========== 📦 Reusable Layout Rules ========== */

.bio {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {
  .bio {
    display: block;       /* ✅ allow normal flow */
    height: auto;         /* ✅ let it grow */
  }
}

/* Outer box (desktop only) */
.content-wrapper {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
}

/* Inner scrollable and padded content */
.content-inner {
  height: 90%;
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  overflow-y: auto;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
.content-inner::-webkit-scrollbar {
  display: none;
}

/* Typography */
.content-inner h2 {
  font-size: 26px;
  font-weight: 600;
  text-align: left;
  color: white;
}

.content-inner p {
  color: #eaeaea;
  text-align: left;
  margin-bottom: 0;
}

/* 🔽 MOBILE LAYOUT ADJUSTMENTS */
@media (max-width: 768px) {
  .bg-overlay {
    display: block;
  }

  .content-wrapper {
    height: auto !important;  /* ✅ allow content height */
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .content-inner {
    width: 100% !important;
    height: auto !important;
    /* padding: 25px !important; */
    overflow-y: visible !important;
  }
}

@media (max-width: 480px) {
  .content-inner {
   /* padding: 15px !important; */
  }
}