/* Advoke CV — Resume Section Headings */

.resume-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0 0 4px;
  font-family: var(--resume-font-heading);
  font-size: calc(var(--resume-base-size) * 1.05);
  font-weight: var(--resume-heading-weight);
  line-height: 1.2;
  color: var(--resume-ink);
  text-transform: uppercase;
  letter-spacing: var(--resume-heading-tracking);
  border-bottom: 1px solid var(--resume-ink);
  position: relative;
}

.resume-section-heading::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 0;
}

.resume-section-heading__text {
  flex: 0 0 auto;
}

.resume-section-heading__count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  color: var(--resume-accent-text);
  background-color: var(--resume-accent);
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}

.resume-section-heading--accent {
  border-bottom-color: var(--resume-accent);
  color: var(--resume-accent);
}

.resume-section-heading--thick {
  border-bottom-width: 2px;
  padding-bottom: 5px;
}

.resume-section-heading--double {
  border-bottom: none;
  padding-bottom: 6px;
  position: relative;
}

.resume-section-heading--double::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-top: 2px solid var(--resume-ink);
  border-bottom: 1px solid var(--resume-ink);
}

.resume-section-heading--nodash {
  border-bottom: none;
  padding-bottom: 4px;
}

.resume-section-heading--nodash::after {
  display: none;
}

.resume-section-heading--filled {
  background-color: var(--resume-ink);
  color: #FFFFFF;
  padding: 5px 10px;
  border-bottom: none;
  border-radius: 2px;
}

.resume-section-heading--filled.resume-section-heading--accent {
  background-color: var(--resume-accent);
  color: var(--resume-accent-text);
}

.resume-section-heading--side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-bottom: none;
  padding-bottom: 2px;
  border-left: 3px solid var(--resume-accent);
  padding-left: 10px;
}

.resume-section-heading--side .resume-section-heading__text {
  display: block;
}

.resume--ats .resume-section-heading {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom-color: var(--resume-ink);
}

.resume--ats .resume-section-heading__count {
  display: none;
}

.resume-entry-title {
  font-family: var(--resume-font-heading);
  font-size: calc(var(--resume-base-size) * 1.02);
  font-weight: 600;
  line-height: 1.3;
  color: var(--resume-ink);
  letter-spacing: -0.005em;
  margin: 0;
}

.resume-entry-title--accent {
  color: var(--resume-accent-text);
}

.resume-entry-subtitle {
  font-family: var(--resume-font-body);
  font-size: var(--resume-base-size);
  font-weight: 500;
  line-height: 1.35;
  color: var(--resume-ink-soft);
  margin: 1px 0 0;
}

.resume-entry-meta {
  font-size: calc(var(--resume-base-size) * 0.92);
  color: var(--resume-muted);
  font-weight: 400;
  font-style: normal;
  line-height: 1.35;
  white-space: nowrap;
}