/* Tomasz Kowalski profile page — small additions on top of adakowalska.css + refresh.css. */

.profile-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 4px;
}

.profile-cta-link.profile-cta-secondary {
  font-size: 18px;
  margin-top: 18px;
  opacity: .8;
  border-bottom-width: 1px;
}

.profile-cta-link.profile-cta-secondary:hover {
  opacity: 1;
}

.exp-list {
  margin-top: 40px;
}

.stat-number {
  white-space: nowrap;
}

/* ---- v2: full experience, skills, education & languages (data/tomasz_kowalski.yml) ---- */
.tk-exp {
  width: 100%;
  margin-top: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 40px);
}

.tk-job {
  border-left: 2px solid var(--ink);
  padding: 2px 0 2px clamp(14px, 1.6vw, 22px);
  max-width: 980px;
}

.tk-job-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
  flex-wrap: wrap;
}

.tk-job-title {
  font-family: Montserrat, sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.tk-job-org {
  font-weight: 400;
  color: var(--ink-mute);
}

.tk-job-dates,
.tk-job-stack {
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  white-space: nowrap;
}

.tk-job-stack {
  white-space: normal;
  margin-top: 10px;
}

.tk-job-stack b,
.tk-private b {
  color: var(--ink);
  font-weight: 600;
}

.tk-job-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin-top: 6px;
}

.tk-job-sub {
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 18px 0 4px;
}

.tk-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.tk-list li {
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.tk-earlier {
  max-width: 980px;
}

.tk-earlier summary {
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
  list-style-position: inside;
}

.tk-earlier[open] summary {
  margin-bottom: 20px;
}

.tk-earlier .tk-job + .tk-job {
  margin-top: 22px;
}

.tk-skills {
  width: 100%;
  max-width: 980px;
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.tk-skill {
  display: contents;
}

.tk-skill-label,
.tk-skill-items {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: 15px;
  line-height: 1.55;
}

.tk-skill-label {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  color: var(--ink);
  padding-right: 20px;
}

.tk-skill-items {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink-mute);
}

.tk-twocol {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(24px, 4vw, 64px);
}

.tk-twocol .cred-list {
  grid-template-columns: 1fr;
}

.tk-private {
  margin-top: clamp(28px, 3vw, 44px);
}

@media screen and (max-width: 640px) {
  .tk-skills {
    grid-template-columns: 1fr;
  }
  .tk-skill-label {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .tk-skill-items {
    padding-top: 4px;
  }
  .tk-twocol {
    grid-template-columns: 1fr;
  }
  .tk-job-dates {
    white-space: normal;
  }
}
