/*
 * Legacy resume layout preserved for version switching.
 */
@import url(/static/css/mobile.css) screen and (max-device-width: 48rem);
@import url(/static/css/laptop.css) all and (min-device-width: 48rem);

html {
  width: 100%;
  font-size: 14px;
}

body.resume-legacy-page {
  width: 100%;
  margin: 0;
  color: #495057;
  text-align: center;
  font-family: system-ui, "Noto Sans", "Segoe UI", Roboto, Helvetica, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}

.resume-legacy-page a {
  color: inherit;
  text-decoration: none;
}

.resume-legacy-page a:hover {
  text-decoration: underline;
}

.resume-legacy-shell {
  max-width: 55rem;
  margin: 0 auto;
  padding: 1rem 0 0;
}

.resume-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.resume-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.resume-version-switch,
.resume-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7b8794;
}

.resume-toplink,
.resume-version-switch a,
.resume-lang-switch a {
  color: inherit;
}

.resume-version-switch .is-current,
.resume-lang-switch .is-current {
  font-weight: 700;
  color: #1f2d3d;
}

.nav,
.nav .nav-lang,
.nav .nav-index {
  display: none;
}

.container {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  max-width: 55rem;
  text-align: left;
}

.section-title {
  font-weight: bolder;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 0.1rem solid #adb5bd;
}

.block:last-child {
  margin-bottom: 0;
}

.block-title,
.block-subtitle {
  font-weight: bold;
}

.block-content {
  white-space: pre-line;
}

footer {
  color: #adb5bd;
  line-height: 1.5rem;
}

@media (max-width: 48rem) {
  .resume-legacy-shell {
    padding: 0.8rem 0.4rem 0;
  }

  .resume-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .resume-topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media print {
  .resume-topbar {
    display: none;
  }

  footer {
    display: none;
  }
}
