/* === PAR ZRKAC (par-zrkac.html) ===
   Sānjosla, virsraksts, pogas — style.css */

/* ── SADAĻA ──────────────────────────────────────────── */
.pz-section {
  scroll-margin-top: 105px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.pz-section:first-of-type { border-top: none; padding-top: 0; }

.pz-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.pz-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2fa;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pz-section-title { font-size: 21px; font-weight: 600; color: #111; }

.pz-text { font-size: 14.5px; line-height: 1.7; color: var(--text); max-width: 860px; margin-bottom: 14px; }
.pz-text strong { font-weight: 600; }

.pz-subtitle { font-size: 15px; font-weight: 600; color: #111; margin: 26px 0 12px; }

/* ── SKAITĻI ─────────────────────────────────────────── */
.pz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0 8px;
}

.pz-stat {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 16px 18px;
}

.pz-stat strong { display: block; font-size: 26px; font-weight: 600; color: var(--blue); line-height: 1.1; }
.pz-stat span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* ── BALVA ───────────────────────────────────────────── */
.pz-award {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #1565c0 0%, #0d3b8c 60%, var(--navy) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 20px 0 6px;
}

.pz-award-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f9c84a;
}

.pz-award h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.pz-award p { font-size: 13.5px; color: rgba(255, 255, 255, .82); line-height: 1.55; }

.pz-award-years { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }

.pz-award-years span {
  font-size: 13px;
  font-weight: 700;
  background: #f9c84a;
  color: var(--navy);
  border-radius: 20px;
  padding: 5px 12px;
}

/* ── VĒSTURE (laika josla) ───────────────────────────── */
.pz-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 6px;
}

.pz-timeline::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--border);
}

.pz-step { position: relative; padding: 0 16px 0 0; }

.pz-step::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
  box-sizing: border-box;
  position: relative;
  margin-bottom: 12px;
}

.pz-step:last-child::before { background: var(--blue); }

.pz-step strong { display: block; font-size: 18px; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.pz-step p { font-size: 13px; line-height: 1.55; color: var(--text); }

/* ── DOKUMENTI ───────────────────────────────────────── */
.pz-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.pz-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.pz-doc:hover { border-color: var(--blue); box-shadow: 0 2px 8px rgba(26, 92, 176, .1); }

.pz-doc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  background: var(--muted);
}

.pz-doc-icon.pdf  { background: #d93838; }
.pz-doc-icon.doc  { background: #2b5fb4; }
.pz-doc-icon.web  { background: var(--navy); }

.pz-doc-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.4; }
.pz-doc-name small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pz-doc > svg { color: var(--blue); flex-shrink: 0; }

/* ── DARBĪBAS JOMA ───────────────────────────────────── */
.pz-mission {
  border-left: 4px solid var(--red);
  background: var(--light-bg);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #111;
  margin-bottom: 18px;
  max-width: 860px;
}

.pz-list { list-style: none; max-width: 860px; }

.pz-list > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.pz-list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eef2fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a5cb0' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
}

.pz-sublist {
  list-style: none;
  margin: 8px 0 2px;
  padding-left: 4px;
}

.pz-sublist li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 13.5px;
  color: var(--text);
}

.pz-sublist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.pz-depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.pz-dept {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.pz-dept-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.pz-dept h4 { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 6px; }
.pz-dept p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ── PUBLIKĀCIJAS ────────────────────────────────────── */
.pz-pub-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pz-pub-tools p { font-size: 13px; color: var(--muted); }

.pz-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0 12px;
  width: 300px;
  max-width: 100%;
  background: #fff;
}

.pz-search svg { color: var(--muted); flex-shrink: 0; }
.pz-search input { border: none; outline: none; font-family: inherit; font-size: 13px; padding: 9px 0; width: 100%; background: transparent; }

.pz-year {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.pz-year summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  transition: background .15s;
}

.pz-year summary::-webkit-details-marker { display: none; }
.pz-year summary:hover { background: var(--light-bg); }

.pz-year summary .count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--light-bg);
  border-radius: 20px;
  padding: 2px 10px;
}

.pz-year summary svg { margin-left: auto; color: var(--muted); transition: transform .2s; }
.pz-year[open] summary svg { transform: rotate(180deg); }
.pz-year[open] summary { border-bottom: 1px solid #eef0f4; }

.pz-pub {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border-top: 1px solid #f1f3f6;
  transition: background .15s;
}

.pz-pub:first-of-type { border-top: none; }
.pz-pub:hover { background: #fafbfd; }

.pz-pub-title { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--text); transition: color .15s; }
.pz-pub:hover .pz-pub-title { color: var(--blue); }

.pz-src {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
  border-radius: 4px;
  padding: 3px 8px;
  background: var(--light-bg);
  color: var(--navy);
}

.pz-src.jv    { background: #fdecee; color: var(--red); }
.pz-src.epale { background: #e8f0fb; color: var(--blue); }
.pz-src.zz    { background: #e8f5e9; color: var(--tag); }

.pz-pub > svg { color: #b0b7c6; flex-shrink: 0; transition: color .15s; }
.pz-pub:hover > svg { color: var(--blue); }

.pz-empty { text-align: center; font-size: 13px; color: var(--muted); font-style: italic; padding: 24px 0; }

/* ── VAKANCES ────────────────────────────────────────── */
.pz-vak {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: #fff;
}
.pz-vak-body { flex: 1; min-width: 0; }
.pz-vak h3 { font-size: 16px; font-weight: 600; color: #111; margin-bottom: 4px; }
.pz-vak-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: var(--muted); }
.pz-vak-meta strong { color: var(--red); font-weight: 600; }
.pz-vak p { font-size: 13.5px; line-height: 1.6; margin-top: 8px; color: var(--text); }
.pz-vak-empty {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ── VIEGLI LASĪT ────────────────────────────────────── */
.pz-easy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.pz-easy-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--light-bg);
  border-radius: 14px;
  padding: 20px;
}

.pz-easy-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pz-easy-card h3 { font-size: 18px; font-weight: 600; color: #111; margin-bottom: 6px; }
.pz-easy-card p { font-size: 16px; line-height: 1.6; color: var(--text); }
.pz-easy-card a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .pz-stats { grid-template-columns: repeat(2, 1fr); }
  .pz-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-award { flex-wrap: wrap; }
  .pz-award-years { margin-left: 0; }
}

@media (max-width: 900px) {
  .pz-section { scroll-margin-top: 150px; }
  .pz-timeline { grid-template-columns: 1fr; gap: 16px; }
  .pz-timeline::before { top: 9px; bottom: 9px; left: 9px; right: auto; width: 2px; height: auto; }
  .pz-step { padding-left: 34px; }
  .pz-step::before { position: absolute; left: 0; top: 0; margin: 0; }
  .pz-docs, .pz-easy { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .pz-depts { grid-template-columns: minmax(0, 1fr); }
  .pz-src { display: none; }
  .pz-vak { flex-direction: column; align-items: flex-start; }
}
/* ── teksts no admin redaktora (.pz-rich) — tāds pats izskats kā iepriekš ── */
.pz-rich p { margin-bottom: 14px; }
.pz-rich p:last-child { margin-bottom: 0; }
.pz-rich h3 { font-size: 16px; font-weight: 600; margin: 18px 0 8px; }
.pz-rich a { color: var(--blue); text-decoration: underline; }
.pz-rich ol { padding-left: 22px; margin-bottom: 14px; }
.pz-rich > ul { list-style: none; max-width: 860px; margin-bottom: 14px; }
.pz-rich > ul > li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.pz-rich > ul > li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #eef2fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a5cb0' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; }
.pz-rich ul ul { list-style: none; margin: 8px 0 2px; padding-left: 4px; }
.pz-rich ul ul li { position: relative; padding-left: 16px; margin-bottom: 4px; font-size: 13.5px; }
.pz-rich ul ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pz-docs + .pz-docs, .pz-vak-empty + .pz-docs, .pz-vak-text + .pz-docs { margin-top: 16px; }
.pz-doc-icon.xls  { background: #1f7a45; }
.pz-doc-icon.ppt  { background: #d0612b; }
.pz-doc-icon.img  { background: #7a4bc4; }
.pz-doc-icon.zip  { background: #6b7280; }
/* ── bloki no admin vides ── */
.pz-pubs .pz-pub-search { margin-bottom: 14px; }
.pz-ievads { color: var(--muted); font-size: 13.5px; }
.pz-rich h4 { font-size: 14.5px; font-weight: 600; margin: 14px 0 6px; }
.pz-rich blockquote { border-left: 3px solid var(--blue); background: var(--light-bg); padding: 10px 16px; margin: 0 0 14px; border-radius: 0 8px 8px 0; }
.pz-rich hr { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.pz-rich table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13.5px; }
.pz-rich th, .pz-rich td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.pz-rich th { background: var(--light-bg); font-weight: 600; }
@media (max-width: 600px) { .pz-rich table { display: block; overflow-x: auto; } }