/* ===== Basit akademik site stili ===== */

:root {
  --text: #222;
  --muted: #666;
  --link: #1a5276;
  --border: #ddd;
  --bg: #fdfdfd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Header */
.header {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.header-text h1 {
  margin: 0 0 4px;
  font-size: 28px;
}

.title {
  margin: 0 0 2px;
  color: var(--muted);
}

.affiliation {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

.links a {
  color: var(--link);
  text-decoration: none;
  font-size: 15px;
}

.links a:hover {
  text-decoration: underline;
}

/* Nav */
.nav {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom: 1px solid var(--text);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0 32px;
}

/* Sections */
section {
  margin-bottom: 40px;
}

h2 {
  font-size: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 16px;
}

h3 {
  font-size: 16px;
  margin-top: 24px;
}

ul {
  padding-left: 20px;
}

.entry {
  margin-bottom: 20px;
}

.entry-title {
  font-weight: bold;
  margin: 0 0 2px;
}

.entry-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 6px;
}

.placeholder-note {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 8px;
}

.news-date {
  color: var(--muted);
  font-size: 14px;
  display: inline-block;
  width: 90px;
}

/* Education timeline */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 26px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--link);
}

.timeline-date {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 4px;
}

.timeline-title {
  font-weight: bold;
  margin: 0 0 2px;
  font-size: 17px;
}

.timeline-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 8px 0 12px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12.5px;
  line-height: 1.3;
}

a {
  color: var(--link);
}

.footer {
  margin-top: 60px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Mobile */
@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}
