/* Project overrides on top of the terminus theme. */

/* Wider content column for desktop. Terminus defaults to 864px. */
body.layout-left,
body.layout-center,
body.layout-full-width {
  max-width: 1100px;
}

/* ============================================================
   Resume page
   (Lives here, not in a <style> block — the theme's CSP blocks
   inline <style> elements, so page-template styles must be in
   an external, same-origin stylesheet like this one.)
   ============================================================ */

.resume {
  max-width: 46rem;
  margin-inline: auto;
}

.resume-title {
  margin-bottom: 0.4rem;
}

.resume-intro {
  margin: 0 0 2.5rem;
  color: var(--footnote-color);
  line-height: 1.65;
}
.resume-intro p { margin: 0; }

.resume-section {
  margin: 0 0 2.75rem;
}
.resume-section:last-child { margin-bottom: 0; }

.resume-section-title {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-color);
  border-bottom: 1px solid var(--code-border);
  padding-bottom: 0.45rem;
}

.resume-entry {
  margin: 0 0 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid var(--code-border);
}
.resume-entry:last-child { margin-bottom: 0; }

.resume-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 1.5rem;
}

.resume-role {
  font-weight: 700;
}

.resume-dates {
  color: var(--footnote-color);
  font-size: 0.82em;
  white-space: nowrap;
}

.resume-org {
  margin-top: 0.15rem;
  color: var(--accent-color);
  font-size: 0.95em;
}
.resume-org a { color: inherit; text-decoration: none; }
.resume-org a:hover { text-decoration: underline; }

.resume-detail {
  margin: 0.55rem 0 0;
  color: var(--footnote-color);
  font-size: 0.94em;
  line-height: 1.65;
}

/* Skills */
.resume-skillgroup { margin-bottom: 1.35rem; }
.resume-skillgroup:last-child { margin-bottom: 0; }

.resume-skill-label {
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footnote-color);
}

.resume-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.resume-tag {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 0.84em;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--text-color);
  background: color-mix(in srgb, var(--text-color) 6%, transparent);
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.12s ease, color 0.12s ease;
}
a.resume-tag:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
