/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1B2A4A;
  --navy-mid:  #243560;
  --blue-left: #D6E4F0;
  --accent:    #1B2A4A;
  --white:     #ffffff;
  --text:      #222222;
  --gray:      #444444;
  --soft:      #777777;
  --rule:      #cccccc;
  --font:      'Open Sans', Arial, sans-serif;
  --left-w:    240px;
}

body {
  background: #d0d0d0;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Page ─────────────────────────────────────────────── */
.page {
  max-width: 820px;
  margin: 32px auto;
  background: var(--white);
  box-shadow: 0 4px 40px rgba(0,0,0,0.22);
}

/* ══════════════════════════════════════════════════════
   TOP BAR — navy with photo + name
══════════════════════════════════════════════════════ */
.top-bar {
  background: var(--navy);
  display: flex;
  align-items: stretch;
  min-height: 120px;
}

/* Photo box — square, same width as left column */
.photo-box {
  width: var(--left-w);
  flex-shrink: 0;
  overflow: hidden;
  background: #ccc;
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Name block */
.top-name {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 36px;
}

.top-name h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.top-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Thin separator line below header */
.page::after {
  content: '';
  display: block;
}

/* ══════════════════════════════════════════════════════
   BODY — two columns
══════════════════════════════════════════════════════ */
.body {
  display: flex;
  align-items: stretch;
}

/* ── LEFT COLUMN ──────────────────────────────────────── */
.left {
  width: var(--left-w);
  flex-shrink: 0;
  background: var(--blue-left);
  padding: 0;
}

.left-section {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.left-section:last-child { border-bottom: none; }

.left-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Contact list */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  color: var(--gray);
  line-height: 1.45;
  word-break: break-word;
}

.ico {
  color: var(--navy);
  font-size: 10px;
  min-width: 14px;
  text-align: center;
  padding-top: 2px;
  flex-shrink: 0;
}

/* Bullet list */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bullet-list li {
  font-size: 11.5px;
  color: var(--gray);
  padding-left: 12px;
  position: relative;
  line-height: 1.45;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--navy);
}

/* Language */
.lang-native {
  font-size: 11.5px;
  color: var(--gray);
  margin-bottom: 10px;
}

.lang-item {
  margin-bottom: 8px;
}

.lang-header {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--gray);
  margin-bottom: 3px;
}

.lang-level {
  font-weight: 700;
  color: var(--navy);
}

.lang-bar {
  height: 7px;
  background: rgba(0,0,0,0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2px;
}

.lang-fill {
  height: 100%;
  background: var(--navy);
  border-radius: 4px;
}

.lang-label {
  font-size: 10px;
  color: var(--soft);
}

/* ── RIGHT COLUMN ─────────────────────────────────────── */
.right {
  flex: 1;
  padding: 0;
  background: var(--white);
}

.right-section {
  padding: 20px 32px;
  border-bottom: 1px solid var(--rule);
}

.right-section:last-child { border-bottom: none; }

.right-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--navy);
}

.right-text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray);
}

/* Entry */
.entry {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
}

.entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.entry-head {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.4;
}

.entry-org {
  font-size: 11.5px;
  color: var(--navy);
  margin-bottom: 6px;
}

.entry-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.entry-list li {
  font-size: 11.5px;
  color: var(--gray);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.entry-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--navy);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 620px) {
  .top-bar { flex-direction: column; }
  .photo-box { width: 100%; height: 200px; }
  .body { flex-direction: column; }
  .left { width: 100%; }
  .right-section { padding: 16px 20px; }
  .top-name h1 { font-size: 26px; }
}

/* ── Print ────────────────────────────────────────────── */
@media print {
  @page { margin: 0; size: A4 portrait; }

  body { background: none; }
  .page { margin: 0; max-width: 100%; box-shadow: none; }

  .top-bar  { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .left     { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .top-name h1   { font-size: 28px; }
  .left-section  { padding: 14px 16px; }
  .right-section { padding: 14px 24px; }
  .right-title   { font-size: 11.5px; margin-bottom: 7px; }
  .entry         { margin-bottom: 8px; padding-bottom: 8px; }
  .entry-list li { font-size: 10.5px; }
  .entry-head    { font-size: 11px; }
  .right-text    { font-size: 11px; }
  .bullet-list li { font-size: 10.5px; }
  .contact-list li { font-size: 10px; }
}
