/* CV Styles - Dark Theme matching bastiangruber.ca */

/* Inter - modern, highly readable font for CVs */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

html {
  color: #f1f5f9;
  background-color: #1a1f29;
}

body {
  margin: 0 auto;
  max-width: 900px;
  padding: 40px 50px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background-color: #1a1f29;
  color: #f1f5f9;
  color-scheme: dark;
}

@media (max-width: 600px) {
  body { font-size: 16px; padding: 20px; }
}

@media print {
  body { max-width: none; padding: 20px; font-size: 11pt; background: white; color: black; }
}

/* Name header */
.cmbx-12 {
  font-size: 32px;
  font-weight: 600;
  display: block;
  text-align: center;
  margin-bottom: 5px;
  color: #fbbf24;
}

/* Hide empty rows in name table */
.resume > .tabular:first-child table tr:not(:first-child) {
  display: none;
}

/* Contact info */
.center-addresses {
  width: 100%;
  margin: 10px 0 15px 0;
  border-collapse: collapse;
}

.center-addresses td {
  padding: 0 20px;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.5;
}

.first-address {
  text-align: right;
  border-right: 1px solid #374151;
  width: 50%;
}

.second-address {
  text-align: left;
  width: 50%;
}

@media (max-width: 600px) {
  .center-addresses td {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border: none;
  }
  .first-address {
    border-right: none;
    border-bottom: 1px solid #374151;
  }
}

.center-addresses .cmbx-10 {
  font-weight: 600;
  color: #fbbf24;
  display: block;
  margin-bottom: 3px;
}

/* Section headers */
.sectionHead {
  margin: 20px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #fbbf24;
}

.sectionHead .centerline {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fbbf24;
}

/* Section content */
div.section {
  margin-left: 0;
}

/* Job titles */
.cmsl-10 {
  font-weight: 600;
  font-style: normal;
  color: #fbbf24;
  font-size: 1.05em;
}

/* Company names */
.company {
  font-weight: 600;
  color: #f8fafc;
}

/* Position blocks - add spacing between jobs */
div.section > p.noindent {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #2d3748;
}

div.section > p.noindent:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Bold text */
.cmbx-10 {
  font-weight: 600;
}

/* Lists */
ul.itemize1 {
  margin: 8px 0 25px 0;
  padding-left: 20px;
}

li.itemize {
  margin-bottom: 5px;
  color: #cbd5e1;
}

/* Paragraphs */
p {
  margin: 0 0 8px 0;
}

p.noindent {
  margin-bottom: 12px;
}

/* Remove extra spacing from tables */
.tabular {
  margin: 0;
}

table.tabular {
  margin: 0 auto;
}

/* Links */
a {
  color: #fbbf24;
  text-decoration: none;
  transition: all 200ms linear;
}

a:hover {
  text-decoration: underline;
  color: #fde047;
}

/* Line breaks styling */
br.newline {
  display: block;
  margin-bottom: 2px;
}
