body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 40px auto;
  max-width: 1100px; /* ✅ 기존 800 → 1100으로 확대 */
  background-color: #fff;
  color: #222;
  line-height: 1.7;
  padding: 0 40px; /* ✅ 양쪽 여백 추가 */
}

a {
  color: #1E88E5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  margin-bottom: 40px;
}

header h1 {
  margin: 0;
  font-size: 2.4em;
}

header p {
  margin: 5px 0;
}

h2 {
  border-bottom: 2px solid #1E88E5;
  padding-bottom: 4px;
  margin-top: 50px;
  font-size: 1.6em;
}

/* ✅ 프로젝트 섹션 */
.project {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
  gap: 40px; /* ✅ 이미지와 텍스트 사이 여백 추가 */
}

/* ✅ Author 이름 스타일 */
.authors {
  font-size: 0.9em; /* 글자 약간 작게 */
  color: #444;
  margin: 6px 0;
  line-height: 1.4;
}

/* ✅ GIF 스타일 */
.project img {
  flex-shrink: 0;
  width: 480px;            /* 기존 260 → 360 (더 큼) */
  height: 270px;           /* 16:9 비율 유지 (360 * 9 / 16) */
  object-fit: cover;       /* 이미지 꽉 채우기 */
  border-radius: 8px;
  background-color: #b0c4de;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ✅ 텍스트 부분 */
.project-info {
  flex: 1;
}

.project-info p {
  margin: 6px 0;
  font-size: 1.05em;
  line-height: 1.5;
}

/* ✅ 목록 */
ul {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 1.05em;
}

/* ✅ Footer */
footer {
  text-align: center;
  margin-top: 60px;
  color: #666;
  font-size: 0.9em;
}

.social-icons {
  margin-top: 12px;
}

.social-icons a {
  color: #1E88E5;
  font-size: 1.8em;
  margin-right: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #0d47a1;
  transform: scale(1.2);
}

#press {
  margin-top: 60px;
}

.press-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

.press-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0;
}

.press-container::-webkit-scrollbar {
  display: none; /* 스크롤바 숨김 */
}

/* ✅ 카드 전체가 링크 */
.press-card {
  flex: 0 0 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.press-content strong {
  color: #1E88E5;
  display: block;
  margin-bottom: 6px;
}

.press-content p {
  font-size: 0.9em;
  margin: 0;
  line-height: 1.4;
}

.press-content strong {
  color: #1E88E5;
  display: block;
  margin-bottom: 6px;
}

.press-content p {
  font-size: 0.9em;
  margin: 0;
  line-height: 1.4;
}

.press-btn {
  background: #1E88E5;
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 1.2em;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}

.press-btn:hover {
  background: #0d47a1;
}

/* ✅ Education Section */
#education {
  margin-top: 60px;
}

.edu-entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.edu-left {
  max-width: 70%;
  font-size: 1em;
  line-height: 1.6;
}

.edu-left strong {
  font-size: 1.1em;
  color: #000;
}

.edu-left em {
  font-style: italic;
  color: #555;
}

.edu-left a {
  color: #1E88E5;
  text-decoration: none;
}

.edu-left a:hover {
  text-decoration: underline;
}

.edu-left .thesis {
  display: block;
  margin-top: 4px;
  font-size: 0.95em;
  color: #666;
}

.edu-right {
  text-align: right;
  font-size: 0.95em;
  color: #444;
  min-width: 250px;
}


/* ✅ Header with profile image */
header {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

.profile-photo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;       /* 크기 고정 후 중앙 자르기 */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 50px;        /* ✅ 살짝 아래로 내림 (70px → 20px) */
}
/* 오른쪽 텍스트 부분 */
.header-right {
  flex: 1;
}

/* 이름 강조 */
.header-right h1 {
  margin: 0 0 10px 0;
  font-size: 2.4em;
}

/* 자기소개 문단 */
.header-right p {
  margin: 5px 0;
  line-height: 1.6;
}
