* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f4f6;
  color: #0f172a;
  line-height: 1.65;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sidebar {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(0, 0, 0, 0.06);
}
.photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
  margin: 0 auto 12px;
}
.sidebar h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 8px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.sidebar h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f172a;
  margin: 20px 0 8px;
  text-decoration: underline;
}
.contact {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  color: #475569;
  overflow-wrap: anywhere;
}
.contact li {
  margin: 8px 0;
}
.contact b {
  color: #0f172a;
  font-weight: 600;
}
.sidebar p {
  margin-top: 12px;
  color: #475569;
}

.content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 36px;
  flex: 1;
  max-width: 856px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.08);
}
.content h2 {
  font-size: 1.5rem;
  margin: 30px 0 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}
.content h3 {
  font-size: 1.15rem;
  margin: 14px 0 6px;
}
.content section p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.95rem;
}
.content em {
  color: #0f172a;
}
.content ul {
  margin: 0 0 18px 18px;
}
.content ul li {
  margin: 6px 0;
}
.content section + section {
  margin-top: 32px;
}

@media (max-width: 991px) {
  .page {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .sidebar {
    position: static;
    width: 100%;
  }
  .content {
    width: 100%;
    max-width: 100%;
    padding: 28px;
  }
}
@media (min-width: 992px) {
  .sidebar h1 {
    white-space: nowrap;
  }
}
@media (max-width: 576px) {
  .content {
    padding: 22px;
  }
  .sidebar h1 {
    font-size: 1.6rem;
  }
}
