/* 배너 */
.banner {
  width: 100%;
  height: 350px;
  background: url('../img/cover.jpg');
  background-size: cover; /* 이미지가 영역을 꽉 채우도록 확대/축소 */
  background-position: center;
  flex-shrink: 0; /* flex 컨테이너 내에서 줄어들지 않게 고정 */
}

/* 메인 (사이드바를 제외한 전체) */
.content {
  display: flex; 
  flex-direction: column; /* 자식 요소를 세로 방향으로 정렬 */
  align-items: center; /* 자식 요소를 가로 가운데 정렬 */
  padding: 0;
  margin: 0;
  width: 100%; /* 가로 전체 */
  height: 100vh; /* 세로 전체 */
}

/* 프로필 카드 */
.profile-card {
  display: flex;
  flex-direction: column; /* 자식 요소를 세로 방향으로 정렬 */
  max-width: 850px; /* 가로 너비 제한 */
  width: 70%; /* 부모 요소 기준 70% 까지 늘어남 */
  margin: -150px auto 0; /* 위로 -150px 이동 + 좌우 가운데 정렬(auto) */
  background: white;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  position: relative; /* z-index 적용을 위한 기준 좌표 설정 */
  z-index: 10; /* 다른 요소보다 위에 보이게 레이어 올림 */
  border-radius: 12px; /* 모서리를 둥글게 */
}

/* 프로필 카드 내 이미지 + 텍스트 */
.profile-main {
  display: flex;
  width: 100%; /* 부모(.profile-card) 전체 너비 사용 */
}

/* 프로필 사진 */
.profile-left {
  flex: 0 0 350px; /* 늘어나거나 죽어들지 않음 + 기본 너비 350px 고정 */
}

.profile-left img {
  width: 100%; /* 부모(.profile-card) 전체 너비 사용 */
  height: 100%; /* 부모(.profile-card) 전체 높이 사용 */
  display: block; /* 기본 inline 요소를 블록 요소로 변경 */
  object-fit: contain; /* img 비율 유지하면서 전체가 다 보이도록 */
}

/* 프로필 텍스트 */
.profile-right {
  flex: 1; /* 남는 공간을 전부 차지 (왼쪽 350px 제외 나머지) */
  padding: 40px 50px; /* 위아래 40px, 좌우 50px 여백 */
  display: flex;
  flex-direction: column; /* 내부 요소를 세로 방향으로 배치 */
  justify-content: center; /* 내부 요소 가운데 정렬 */
  background: #fdfdfd;
}

.profile-right h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: #333;
}

.title {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 30px;
}

/* 상세 정보 */
.info {
  list-style: none;
  padding: 0;
}

.info li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #444;
}

.info li strong {
  display: inline-block;
  width: 80px;
  color: #222;
}

/* 링크 스타일 */
.info li a {
  color: #444;
  text-decoration: none;
  cursor: pointer;
}

.info li a:hover {
  text-decoration: underline;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .content {
    height: auto;
    overflow: visible;
  }
  
  .banner {
    height: 250px;
  }

  .profile-card {
    margin: -120px auto 30px;
  }

  .profile-main {
    flex-direction: column;
  }

  .profile-left {
    flex: 0 0 auto;
    height: 200px;
  }

  .profile-right {
    padding: 30px;
    text-align: center;
  }

  .info li {
    display: flex;
    justify-content: center;
  }
}