/* === SADARBĪBA (sadarbiba.html) ===
   Virsraksts, pogas — style.css */

.prt-wrap {
  max-width: 1365px;
  margin: 32px auto 56px;
  padding: 0 24px;
}

/* ── SKAITĻI ─────────────────────────────────────────── */
.prt-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.prt-stat {
  min-width: 150px;
  text-align: center;
  background: var(--light-bg);
  border-radius: 12px;
  padding: 14px 20px;
}

.prt-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.1;
}

.prt-stat span { font-size: 12px; color: var(--muted); }

/* ── FILTRI ──────────────────────────────────────────── */
.prt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.prt-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.prt-chip {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all .15s;
}

.prt-chip:hover { border-color: var(--blue); color: var(--blue); }
.prt-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.prt-chip .count { opacity: .7; font-weight: 500; margin-left: 2px; }

.prt-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;
  box-shadow: 0 1px 2px rgba(2, 2, 2, .1);
}

.prt-search svg { color: var(--muted); flex-shrink: 0; }

.prt-search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  padding: 9px 0;
  width: 100%;
  background: transparent;
}

/* ── GRUPAS (2 kolonnas, katra grupa — kartīte ar sarakstu) ── */
.prt-list { columns: 2; column-gap: 20px; }

.prt-group {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.prt-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.prt-group-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2fa;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prt-group-head h2 { font-size: 16px; font-weight: 600; color: #111; }
.prt-group-head .count { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ── PARTNERA RINDA ──────────────────────────────────── */
.prt-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  border-top: 1px solid #eef0f4;
}

.prt-rows .prt-row:first-child { border-top: none; }

/* ja redzama tikai viena grupa (filtrs/meklēšana) — pa visu platumu, partneri 2 kolonnās */
.prt-list.single { columns: 1; }
.prt-list.single .prt-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.prt-list.single .prt-rows .prt-row:nth-child(2) { border-top: none; }

/* logo: media/partneri/<k>.png — ja nav, rāda saīsinājumu */
.prt-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #eef2fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prt-logo:has(img) { background: #fff; border: 1px solid #eef0f4; }

.prt-logo img {
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .2s, opacity .2s;
}

.prt-row:hover .prt-logo img { filter: none; opacity: 1; }
.prt-logo:has(img) .prt-mono { display: none; }

.prt-mono {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--blue);
}

.prt-row-name {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  transition: color .15s;
}

.prt-country {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.prt-row-dom {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.prt-row svg { color: #b0b7c6; flex-shrink: 0; transition: color .15s, transform .15s; }
.prt-row:hover .prt-row-name { color: var(--blue); }
.prt-row:hover svg { color: var(--blue); transform: translate(2px, -2px); }

.prt-empty {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding: 40px 0;
}

/* ── AICINĀJUMS ──────────────────────────────────────── */
.prt-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, #1565c0 0%, #0d3b8c 60%, var(--navy) 100%);
  border-radius: 14px;
  padding: 28px 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.prt-cta h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.prt-cta p { font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 620px; line-height: 1.5; }

.prt-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}

.prt-cta a:hover { background: #eef2fa; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1000px) {
  .prt-list { columns: 1; }
  .prt-list.single .prt-rows { grid-template-columns: 1fr; }
  .prt-list.single .prt-rows .prt-row:nth-child(2) { border-top: 1px solid #eef0f4; }
}

@media (max-width: 600px) {
  .prt-wrap { padding: 0 16px; }
  .prt-search { width: 100%; }
  .prt-stat { min-width: 0; flex: 1; }
  .prt-cta { padding: 22px; }
  .prt-row-dom { display: none; }
}
