@charset "UTF-8";

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.4;
}
.resume { max-width: 920px; margin: 42px auto 60px; padding: 0 36px; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
header { text-align: center; margin-bottom: 21px; }
h1 { font-size: 32px; line-height: 1.2; margin-bottom: 8px; }
.contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 8px; font-size: 15px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.download { margin-top: 7px; font-size: 14px; }
section + section { margin-top: 22px; }
h2 { font-size: 21px; font-weight: 400; font-variant: small-caps; border-bottom: 1px solid #000; margin-bottom: 8px; line-height: 1.3; }
h3 { font-size: inherit; font-weight: 700; }
article + article { margin-top: 12px; }
.entry-heading, .entry-subheading { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 20px; }
.entry-heading > :first-child, .entry-subheading > :first-child { min-width: 0; }
.entry-heading > span, .date { flex-shrink: 0; }
ul { margin: 5px 0 0; padding-left: 20px; }
li { padding-left: 2px; margin-bottom: 4px; }
li:last-child { margin-bottom: 0; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 8px; background: #fff; }
.skip-link:focus { top: 8px; }

@media (max-width: 600px) {
  .resume { margin: 26px auto 36px; padding-inline: 20px; }
  body { font-size: 16px; line-height: 1.45; }
  h1 { font-size: 29px; }
  .contact { flex-direction: column; gap: 3px; font-size: 14px; }
  .contact > span { display: none; }
  .download { margin-top: 10px; }
  .entry-heading, .entry-subheading { flex-direction: column; align-items: flex-start; gap: 0; }
  .entry-heading > span, .date { font-size: 14px; }
  h2 { font-size: 21px; }
  ul { padding-left: 18px; }
  li { margin-bottom: 7px; }
}

@media print {
  @page { margin: 14mm; }
  body { font-size: 10.5pt; line-height: 1.2; }
  .resume { max-width: none; padding: 0; margin: 0; }
  header { margin-bottom: 12px; }
  h1 { font-size: 22pt; }
  .contact { font-size: 10pt; }
  .download, .skip-link { display: none; }
  h2 { font-size: 13pt; margin-bottom: 5px; break-after: avoid; }
  h3, .entry-heading, .entry-subheading { break-after: avoid; }
  section + section { margin-top: 12px; }
  article + article { margin-top: 8px; }
  li { margin-bottom: 3px; break-inside: avoid; }
  a { text-decoration: none; }
}
