/* 전체 레이아웃 설정 */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f9;
  color: #333;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* 헤더 스타일 */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: #007bff;
  color: #fff;
}

.back-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.title {
  font-size: 18px;
  margin: 0;
  flex-grow: 1;
  text-align: center;
}

/* 이미지 컨테이너 */
.image-container {
  width: 100%;
  height: 25vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 메인 콘텐츠 */
.main-content {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

/* 상세정보 컨테이너 */
.detail-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row {
  display: flex;
  flex-direction: column; /* 타이틀과 내용을 세로로 배치 */
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.detail-row strong {
  font-size: 14px;
  margin-bottom: 5px; /* 타이틀 아래 간격 */
}

.detail-row .content {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  white-space: pre-wrap; /* 줄바꿈 및 공백 유지 */
}

.detail-row a {
  color: #007bff;
  text-decoration: none;
}

.detail-row a:hover {
  text-decoration: underline;
}
