:root {
  color-scheme: light;
  font-family: Arial, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: #272d32;
  background: #edf0f3;
  --blue: #064f80;
  --blue-deep: #043d65;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
.resume {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  width: min(1040px, calc(100% - 48px));
  margin: 30px auto;
  border: 1px solid #dce2e7;
  background: #fff;
  font-size: 13px;
  line-height: 1.6;
}
.resume-sidebar { min-width: 0; background: var(--blue); color: #e3edf5; }
.sidebar-top { display: flex; justify-content: center; align-items: center; padding: 32px 24px 25px; }
.initials { display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid #c5d8e5; border-radius: 4px; background: #fff; color: var(--blue); font-size: 30px; font-weight: 600; letter-spacing: .02em; }
.resume-sidebar section { margin: 0 0 28px; padding-inline: 24px; }
.resume-sidebar h2 { display: block; margin: 0 -24px 14px; padding: 8px 24px; border: 0; color: #fff; background: var(--blue-deep); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .025em; text-transform: uppercase; }
.resume-sidebar .contact { color: #e3edf5; font-size: 13px; }
.resume-sidebar a { color: #fff; }
.resume-sidebar p { font-size: 12px; line-height: 1.8; }
.skills { margin: 0; }
.skill-row + .skill-row { margin-top: 17px; }
dt { margin: 0 0 4px; color: #fff; font-size: 12px; font-weight: 600; }
dd { margin: 0; color: #d3e3ef; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.resume-content { min-width: 0; padding: 34px 34px 36px; background: #fff; }
.resume-header { margin-bottom: 24px; }
.mobile-contact { display: none; }
h1 { margin: 0 0 9px; color: #171d22; font-size: 27px; line-height: 1.25; font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; overflow-wrap: anywhere; }
.position { margin: 0; color: #333d45; font-size: 14px; line-height: 1.6; }
a { color: #1c597e; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.resume-content section { margin-top: 25px; }
.resume-content section:first-of-type { margin-top: 0; }
.resume-content h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; color: #205d84; font-size: 12px; line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.resume-content h2 > span:first-child { flex-shrink: 0; }
.section-rule { height: 1px; flex: 1; background: #90aabb; }
.section-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 27px; height: 27px; border: 1px solid #bdceda; border-radius: 50%; }
.section-icon svg { width: 15px; height: 15px; stroke: #205d84; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
p { margin: 0; overflow-wrap: anywhere; }
.experience-item + .experience-item { margin-top: 18px; }
.experience-heading { position: relative; padding-left: 104px; }
h3 { margin: 0; font-size: 13px; line-height: 1.5; font-weight: 700; }
.period { position: absolute; top: 1px; left: 0; width: 90px; color: #64717b; font-size: 11px; line-height: 1.65; }
ul { margin: 7px 0 0; padding-left: 17px; }
li { padding-left: 1px; overflow-wrap: anywhere; }
li + li { margin-top: 4px; }
.experience-item > ul { margin-left: 104px; padding-left: 15px; }
.projects { margin: 0; padding: 0; list-style: none; }
.projects li { padding: 0; }
.projects li + li { margin-top: 11px; }
strong { font-weight: 700; }
@media (max-width: 1000px) and (min-width: 701px) {
  .resume { grid-template-columns: 230px minmax(0, 1fr); width: calc(100% - 32px); }
  .resume-content { padding-inline: 26px; }
  .resume-sidebar section { padding-inline: 20px; }
  .resume-sidebar h2 { margin-inline: -20px; padding-inline: 20px; }
  .experience-heading { padding-left: 0; }
  .period { position: static; width: auto; margin-top: 2px; }
  .experience-item > ul { margin-left: 0; }
}
@media (max-width: 700px) {
  :root { background: #fff; }
  .resume { grid-template-columns: minmax(0, 1fr); width: 100%; margin: 0; border: 0; font-size: 13px; }
  .resume-content { grid-row: 1; padding: 25px 23px 30px; }
  .resume-sidebar { grid-row: 2; padding-block: 25px 3px; }
  .sidebar-top { display: none; }
  .resume-sidebar section { margin-bottom: 24px; }
  .resume-sidebar h2 { padding-block: 9px; }
  .resume-sidebar p, .resume-sidebar dd, .resume-sidebar dt { font-size: 13px; }
  .resume-header { margin-bottom: 24px; }
  .mobile-contact { display: block; margin-top: 12px; font-size: 12px; }
  .resume-sidebar section[aria-labelledby="contact-title"] { display: none; }
  h1 { font-size: 25px; }
  .position { font-size: 13px; }
  .experience-heading { padding-left: 0; }
  .period { position: static; width: auto; margin-top: 2px; }
  .experience-item > ul { margin-left: 0; }
  .skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .skill-row + .skill-row { margin-top: 0; }
}
@media (max-width: 400px) {
  .resume-content { padding-inline: 18px; }
  .resume-sidebar section { padding-inline: 18px; }
  .resume-sidebar h2 { margin-inline: -18px; padding-inline: 18px; }
  h1 { font-size: 23px; }
  .skills { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media print {
  @page { size: A4; margin: 10mm; }
  :root, body { background: #fff; }
  .resume { width: 100%; max-width: none; grid-template-columns: 57mm minmax(0, 1fr); margin: 0; border: 0; font-size: 9pt; line-height: 1.4; }
  .resume-sidebar { grid-row: auto; padding-block: 0; background: var(--blue); color: #e3edf5; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .sidebar-top { display: flex; padding: 22px 15px; }
  .resume-sidebar section { padding-inline: 15px; }
  .resume-sidebar h2 { margin-inline: -15px; padding-inline: 15px; font-size: 9pt; }
  .resume-sidebar p, .resume-sidebar dd, .resume-sidebar dt { font-size: 8pt; }
  .skills { display: block; }
  .skill-row + .skill-row { margin-top: 13px; }
  .resume-content { grid-row: auto; padding: 22px 20px; }
  h1 { font-size: 19pt; }
  .position { font-size: 10pt; }
  h2 { break-after: avoid; }
  .experience-heading { display: block; padding-left: 0; }
  .period { position: static; width: auto; }
  .experience-item > ul { margin-left: 0; }
  .experience-heading, .skill-row, .project-item { break-inside: avoid; }
  a { color: inherit; }
}

