/* =========================================================================
   SZABLON NR 4: EXECUTIVE WORD PRO ("Cholernie dobrze wyglądający Word")
   ========================================================================= */
.theme-word {
  --bg-page: #ffffff;
  --bg-card: transparent;
  --text-main: #1f2937;
  --text-muted: #374151;
  --text-soft: #6b7280;
  --accent: #1e3a8a; /* Szlachetny, głęboki granat korporacyjny (Executive Navy) */
  --accent-soft: rgba(30, 58, 138, 0.08);
  --border-line: #1e3a8a;
  --border-subtle: #e5e7eb;

  background-color: var(--bg-page);
  color: var(--text-main);
  padding: 14mm 16mm;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Wariant ciemny dla Word Pro: Elegancki grafitowy gabinet */
.theme-word.dark-mode {
  --bg-page: #111827;
  --bg-card: transparent;
  --text-main: #f9fafb;
  --text-muted: #e5e7eb;
  --text-soft: #9ca3af;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --border-line: #3b82f6;
  --border-subtle: #374151;
}

.theme-word .rich-text b,
.theme-word .rich-text strong {
  font-weight: 700;
  color: var(--text-main);
}
.theme-word .rich-text mark {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}

/* --- NAGŁÓWEK GŁÓWNY (STRONA 1) --- */
.theme-word .word-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--border-line);
}

.theme-word .word-header-main {
  flex: 1;
}

.theme-word .word-name {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.1;
  color: var(--text-main);
  text-transform: uppercase;
}
.theme-word .word-name span {
  color: var(--accent);
}

.theme-word .word-role {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-word .word-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
}
.theme-word .word-contacts li:not(:last-child)::after {
  content: "•";
  margin-left: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}

/* Klasyczny, nienarzucający się portret */
.theme-word .word-avatar {
  width: 7.8rem;
  height: 8.4rem;
  border: 1px solid var(--border-subtle);
  padding: 3px;
  background: var(--bg-page);
  flex-shrink: 0;
}
.theme-word .word-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nagłówek dla Strony 2 i 3 */
.theme-word .word-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.6rem;
  margin-bottom: 1.3rem;
  border-bottom: 1.5px solid var(--border-line);
  font-size: 1rem;
  color: var(--text-soft);
}
.theme-word .word-sub-header strong {
  color: var(--text-main);
  text-transform: uppercase;
}

/* --- UKŁAD STRONY --- */
.theme-word .page-flow {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex: 1;
}

.theme-word .cv-grid-chunk {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 10mm;
  align-items: start;
}

.theme-word .col-main,
.theme-word .col-side {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.theme-word .cv-full-chunk {
  width: 100%;
}

/* --- NAGŁÓWKI SEKCJI: CZYSTY WORD EXECUTIVE --- */
.theme-word .sec-heading {
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  padding-bottom: 0.3rem;
  margin-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--border-line);
  display: flex;
  align-items: center;
}

/* --- DOŚWIADCZENIE (KLASYCZNA TYPOGRAFIA DOKUMENTU) --- */
.theme-word .exp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.theme-word .job-item {
  position: relative;
}

.theme-word .job-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.15rem;
}

.theme-word .job-company {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-main);
}

.theme-word .job-period {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
}

.theme-word .job-role {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.theme-word .job-lead {
  font-size: 1.02rem;
  line-height: 1.46;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.theme-word .job-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.theme-word .job-bullets li {
  font-size: 0.98rem;
  line-height: 1.46;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.2rem;
}
.theme-word .job-bullets li::before {
  content: "▪";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

/* --- PROFIL / O MNIE --- */
.theme-word .about-p {
  font-size: 1.02rem;
  line-height: 1.52;
  color: var(--text-muted);
}

/* --- KOMPETENCJE (ZERO KAPSUŁEK: CZYSTA, BIZNESOWA LISTA TEKSTOWA) --- */
.theme-word .word-skills-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.theme-word .word-skill-row {
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.theme-word .word-skill-row::before {
  content: "–";
  color: var(--accent);
  font-weight: 700;
}
.theme-word .word-skill-row.highlight {
  font-weight: 700;
  color: var(--text-main);
}
.theme-word .word-skill-row.highlight span {
  color: var(--accent);
}

.theme-word .skill-notes {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dotted var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.theme-word .skill-notes p {
  font-size: 0.94rem;
  line-height: 1.42;
  color: var(--text-soft);
}

/* --- CERTYFIKATY --- */
.theme-word .word-certs-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.theme-word .word-cert-item {
  font-size: 0.98rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.theme-word .word-cert-item::before {
  content: "✔";
  color: var(--accent);
  font-size: 0.85rem;
}
.theme-word .word-cert-item.highlight {
  font-weight: 700;
  color: var(--text-main);
}

/* --- EDUKACJA (PROSTY, RZETELNY UKŁAD DOKUMENTU) --- */
.theme-word .edu-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.theme-word .edu-card {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}
.theme-word .edu-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.theme-word .edu-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}
.theme-word .edu-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}
.theme-word .edu-period {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
}
.theme-word .edu-desc {
  font-size: 0.98rem;
  line-height: 1.46;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.theme-word .edu-meta {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-soft);
}

/* --- PROJEKTY --- */
.theme-word .project-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.theme-word .project-card {
  padding-bottom: 0.65rem;
  border-bottom: 1px dotted var(--border-subtle);
}
.theme-word .project-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.theme-word .project-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.theme-word .project-desc {
  font-size: 0.98rem;
  line-height: 1.46;
  color: var(--text-muted);
}

/* --- ZAINTERESOWANIA (ZERO KAPSUŁEK / KAFELKÓW) --- */
.theme-word .word-hobby-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.theme-word .word-hobby-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted);
}
.theme-word .word-hobby-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* --- STOPKA RODO --- */
.theme-word .rodo-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-soft);
}