/* Общий фон для внутренних страниц */
.inner-page-body {
  background-color: #1a1a1a; /* Темный цвет фона */
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Контейнер по центру */
.profile-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Ссылка возврата на главную */
.back-link {
  display: inline-block;
  color: #00bfa5; 
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Заголовки на внутренней странице */
.profile-container .page-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.profile-container .page-subtitle {
  color: #aaaaaa;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Сетка-обертка */
.profile-grid {
  display: flex;
  flex-direction: column;  
  align-items: center;    
  gap: 40px;             
  width: 100%;            
}

/* Сама карточка */
.profile-card {
  background: #242424; /* Темный фон карточки */
  border-radius: 16px;
  border: 1px solid #333333;
  display: flex; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Блок для фотографии */
.profile-img-wrap {
  width: 350px;
  min-width: 350px;
  height: 450px;
  background-color: #333333;
}

/* Стилизация картинки */
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center top;
}

/* Текстовая часть внутри карточки */
.profile-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-tag {
  align-self: flex-start;
  background: rgba(0, 191, 165, 0.2);
  color: #00bfa5;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.profile-name {
  color: #ffffff;
  font-size: 2.2rem;
  margin: 0 0 10px 0;
}

.profile-status {
  color: #00bfa5;
  font-size: 1.1rem;
  margin: 0 0 20px 0;
}

.profile-desc {
  color: #cccccc;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Адаптация под телефоны */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
  }
  .profile-img-wrap {
    width: 100%;
    min-width: 100%;
    height: 300px;
  }
}