html {
  scroll-behavior: smooth; }

.site-title {
  font-size: 1.25rem;
  line-height: 2.5rem; }

.nav-link {
  padding: 0;
  font-size: 1.25rem;
  line-height: 2.5rem;
  color: rgba(0, 0, 0, 0.5); }

.nav-link:hover,
.nav-link:focus,
.active .nav-link {
  color: rgba(0, 0, 0, 0.8); }

.nav-item + .nav-item {
  margin-left: 1rem; }

.cover {
  border-radius: 10px; }

.cover-bg {
  background-color: #4A89DC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-radius: 10px 10px 0 0; }

.avatar {
  max-width: 216px;
  max-height: 216px;
  margin-top: 20px;
  text-align: center;
  margin-left: auto;
  margin-right: auto; }

.avatar img {
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%); }

footer a:not(.nav-link) {
  color: inherit;
  border-bottom: 1px dashed;
  text-decoration: none;
  cursor: pointer; }

@media (min-width: 48em) {
  .site-title {
    float: left; }
  .site-nav {
    float: right; }
  .avatar {
    margin-bottom: -80px;
    margin-left: 0; } }

/* ---- PDF single-page mode ---- */
.pdf-summary { display: none; }

body.pdf-mode .cover {
  font-size: 9pt;
  border-radius: 0;
  box-shadow: none !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body.pdf-mode .cover-bg {
  padding: 0.9rem 1.4rem !important;
  border-radius: 0;
}

body.pdf-mode .cover-bg .col-lg-4 {
  flex: 0 0 82px !important;
  max-width: 82px !important;
}

body.pdf-mode .cover-bg .col-lg-8 {
  flex: 1 !important;
  max-width: calc(100% - 82px) !important;
}

body.pdf-mode .avatar {
  max-width: 68px;
  max-height: 68px;
  margin-top: 4px;
  margin-bottom: 0;
}

body.pdf-mode .avatar img {
  width: 64px !important;
  height: 64px !important;
}

body.pdf-mode .h1 {
  font-size: 1.15rem !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

body.pdf-mode .cover-bg p {
  font-size: 0.78rem;
  margin-bottom: 2px;
}

body.pdf-mode .cover-bg .mt-3 { margin-top: 4px !important; }
body.pdf-mode .cover-bg .gap-3 { gap: 0.3rem !important; font-size: 0.75rem; }
body.pdf-mode .cover-bg .gap-2 { display: none !important; }

body.pdf-mode .about-section { display: none !important; }

body.pdf-mode .page-break {
  display: none !important;
  padding: 0 !important;
}

body.pdf-mode .work-experience-section,
body.pdf-mode .education-section {
  padding: 0.45rem 1.4rem 0.2rem !important;
}

body.pdf-mode .h3 {
  font-size: 0.88rem !important;
  margin-bottom: 0.3rem !important;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid #dee2e6;
}

body.pdf-mode .timeline { margin-bottom: 0; }

body.pdf-mode .timeline-card {
  margin-bottom: 0.28rem !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.09) !important;
}

body.pdf-mode .card-body {
  padding: 0.32rem 0.55rem !important;
}

body.pdf-mode .h5 {
  font-size: 0.78rem !important;
  margin-bottom: 1px !important;
}

body.pdf-mode .text-muted.text-small {
  font-size: 0.68rem !important;
  margin-bottom: 0.1rem !important;
}

body.pdf-mode .justifycontent { display: none !important; }

body.pdf-mode .pdf-summary {
  display: block;
  font-size: 0.7rem;
  color: #555;
  line-height: 1.35;
}

body.pdf-mode .card-ae,
body.pdf-mode .card-rabaud,
body.pdf-mode .card-communes { display: none !important; }

body.pdf-mode .card-edu3 { display: none !important; }
