/* Blu: blue header band + timeline rail. */
:root {
  --rs-accent: #0277bd;
  --rs-ink: #17212b;
  --rs-text: #37424d;
  --rs-muted: #78838e;
  --rs-line: #e3ebf1;
  --jo-accent: #0277bd;
  --cv-max: 1000px;
  --cv-backdrop: #e3edf4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15.5px/1.6 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif; color: var(--rs-text); background: #fff; }
h1, h2, p { margin: 0; }
a { color: var(--rs-accent); }

/* header band */
.bl-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 40px 52px; color: #fff;
  background: linear-gradient(120deg, #0288d1 0%, #0277bd 45%, #01579b 100%);
}
.bl-photo { width: 150px; height: 188px; object-fit: cover; object-position: center top; border-radius: 10px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); }
.bl-name { font-size: 2.6rem; line-height: 1.05; font-weight: 300; letter-spacing: -.01em; }
.bl-name b { font-weight: 700; }
.bl-headline { margin-top: .4rem; font-size: 1.15rem; font-weight: 600; color: #e1f2fc; }
.bl-head .rs-contact { margin-top: 1.1rem; color: #fff; }
.bl-head .rs-contact span { color: rgba(255, 255, 255, .7); }
.bl-head .rs-contact a { color: #fff; }

/* sections */
.bl-body { padding: 8px 52px 36px; }
.bl-sec { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; padding: 26px 0; border-top: 1px solid var(--rs-line); }
.bl-sec:first-child { border-top: 0; }
.bl-sec > .rs-label { padding-top: .2rem; }
.bl-sec > .rs-label::before { content: ''; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--rs-accent); margin-bottom: .55rem; }
.bl-about { white-space: pre-wrap; font-size: 1.02rem; }

/* timeline rail (signature of Blu) */
.bl-timeline { --rail: 2px; --gap: 26px; --dot: 12px; position: relative; padding-left: var(--gap); border-left: var(--rail) solid #b3d9f0; }
.bl-timeline .rs-item { position: relative; }
/* dot centred on the rail, and on the first line of the title */
.bl-timeline .rs-item::before {
  content: ''; position: absolute; box-sizing: border-box; width: var(--dot); height: var(--dot); border-radius: 50%;
  left: calc(-1 * var(--gap) - var(--rail) / 2 - var(--dot) / 2);
  top: calc(1.05rem * 1.35 / 2 - var(--dot) / 2);
  background: #fff; border: 2px solid var(--rs-accent);
}
.bl-timeline .rs-item:first-child::before { background: var(--rs-accent); }

.bl-sec-contact .jo-contact { margin: 0; padding: 0; max-width: none; }
.bl-sec-contact .jo-contact-title { display: none; }

@media screen and (max-width: 720px) {
  .bl-head { grid-template-columns: 1fr; gap: 18px; padding: 28px 20px; }
  .bl-photo { width: 112px; height: 140px; }
  .bl-name { font-size: 2.1rem; }
  .bl-body { padding: 4px 20px 24px; }
  .bl-sec { grid-template-columns: 1fr; gap: .8rem; padding: 22px 0; }
}

/* PDF */
.is-print { font-size: 10.5pt; }
.is-print .bl-head { padding: 22px 26px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.is-print .bl-photo { width: 104px; height: 130px; }
.is-print .bl-name { font-size: 22pt; }
.is-print .bl-body { padding: 0 26px; }
.is-print .bl-sec { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 14px 0; }
