/* import fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* Global settings - scoped to content area */
#quarto-content {
  font-family: 'Source Sans 3', sans-serif;
  text-align: left;
}

/* Right alignment of job location and date text */
.cvloc, .cvdate {
  float: right;
  font-style: italic;
}

/* Settings for print-only test (not visible in HTML) */
.print-only {
  display: none;
}

/* Contact block settings */
.print-only.contact-block img,
.print-only.contact-block a,
.print-only.contact-block span {
  margin: 0 5px; /* Adjusts spacings */
}

/* Table related settings */
.left-column {
  padding-right: 25px; /* Adjust as needed */
}

table {
  width: 100%;
  margin: auto; /* Sets adaptable sizing */
  color: #555555; /* Table text color */
}

/* Aligns text to the right in the first table column */
table td:first-child, table th:first-child {
  text-align: right;
}

/* Add line under headers */
#quarto-content h2, #quarto-content h3,
h2, h3 {
  border-bottom: 2px solid #000;
  padding-bottom: 0.5em;
  font-weight: 900;
}

/* Header styles */
header {
  margin-bottom: 5em;
}

header h1.title {
  display: none;
}

/* Text elements */
p {
  font-size: 1em;
  text-align: justify;
  margin-bottom: 0;
}

div.references, div.references p, div.references ul li {
  font-size: 0.85em;
  text-align: left;
  margin-bottom: 0;
  color: #555555;
}

a {
  text-decoration: none;
  color: #36a7e9;
}

/* Styling for bullet points - scoped to content area only */
#quarto-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}

#quarto-content ul li {
  position: relative;
  margin-left: 20px;
  padding-left: 15px;
  margin-top: 0;
  color: #555555;
  font-size: 0.9em;
}

#quarto-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 0.9em;
  color: black;
}

/* This CSS rule hides the content for print media */
@media print {
  .content-visible {
    display: none;
  }
}

/* CV header — hidden on screen, shown in print */
.cv-header {
  display: none;
}

@media print {
  .cv-header {
    display: block;
    text-align: center;
    padding-bottom: 6pt;
    margin-bottom: 8pt;
  }
  .cv-header-name {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 28pt;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.02em;
    margin: 0 0 4pt 0;
  }
  .cv-header-position {
    font-size: 9.5pt;
    font-weight: 400;
    color: #333;
    margin: 2pt 0;
  }
  .cv-header-address {
    font-size: 8.5pt;
    font-style: italic;
    color: #888;
    margin: 1pt 0 4pt 0;
  }
  .cv-header-rule {
    border: none;
    border-top: 1.5pt solid #000;
    width: 100%;
    margin: 6pt 0;
  }
  .cv-header-contacts {
    font-size: 8.5pt;
    font-weight: 400;
    color: #333;
    margin: 4pt 0 0 0;
  }
  .cv-contact-item {
    display: inline;
    vertical-align: middle;
  }
  .cv-contact-item svg {
    vertical-align: middle;
    margin-right: 2pt;
    color: #333;
  }
  .cv-contact-sep {
    color: #bbb;
    margin: 0 6pt;
  }
  .cv-header-contacts a {
    color: #333;
    text-decoration: none;
  }

  #quarto-content {
    font-size: 12px;
  }
  #quarto-content ul li {
    font-size: 11px;
  }
  #quarto-content ul li::before {
    font-size: 15px;
  }
  div.references, div.references p, div.references ul li {
    font-size: 11px;
  }
  @page {
    size: a4 portrait;
	margin-top: 1cm;
	margin-bottom: 1cm;
	margin-left: 1.47cm;
	margin-right: 1.47cm;
  }
  .no-print {
    display: none;
  }
  .print-only {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
  }
  header .author {
    display: none;
  }
}
