* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #e9eef3;
  color: #333;
  line-height: 1.6;
  padding: 32px 16px;
}

.cv {
  display: flex;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sidebar {
  width: 300px;
  background: #1f3a5f;
  color: #fff;
  padding: 32px 24px;
}

.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #4f8cd6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  border: 4px solid rgba(255, 255, 255, 0.4);
}

.sidebar h1 {
  text-align: center;
  font-size: 24px;
}

.job {
  text-align: center;
  color: #b9cde6;
  margin-bottom: 24px;
}

.sidebar section {
  margin-top: 24px;
}

.sidebar h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  font-size: 14px;
  margin-bottom: 8px;
  word-break: break-word;
}

.skills li::before {
  content: "▪ ";
  color: #4f8cd6;
}

.content {
  flex: 1;
  padding: 32px 36px;
}

.content section {
  margin-bottom: 28px;
}

.content h2 {
  color: #1f3a5f;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 6px;
  margin-bottom: 14px;
  border-bottom: 2px solid #4f8cd6;
}

.item {
  margin-bottom: 16px;
}

.item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.item h3 {
  font-size: 16px;
}

.time {
  color: #4f8cd6;
  font-weight: 600;
  font-size: 14px;
}

.item ul {
  padding-left: 20px;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .cv {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .content {
    padding: 24px 20px;
  }
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .cv {
    box-shadow: none;
    border-radius: 0;
  }

  .sidebar {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
