
:root {
  --po-primary: #1d6aa5;
  --po-horizon: #e4eef6;
  --po-search: #e8eef6;
  --po-blue: #163e66;
  --po-text: #3c4654;
  --po-border: #e3e8ee;
  --po-ink: #1c2838;
  --po-nav: #163e66;
  --font: "Open Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font); color: var(--po-text); background: #f5f7fa;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: var(--po-blue); }
img { max-width: 100%; display: block; }

.site-navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: var(--po-nav);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.navbar-container {
  max-width: 1400px; margin: 0 auto; padding: 11px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.navbar-brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.navbar-brand img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 6px; padding: 3px; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { color: rgba(255,255,255,.92); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .01em; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #f2c14e; padding-bottom: 2px; }
.nav-links a.nav-cta {
  background: #fff; color: var(--po-nav);
  border-radius: 999px; padding: 7px 14px; box-shadow: none;
}
.nav-links a.nav-cta:hover { background: #e7f3fb; color: var(--po-nav); }
.cta-short { display: none; }
.lang-switch { display: inline-flex; align-items: center; gap: .9rem; }
.lang-switch a { color: #fff; }

.homepage__cover { background: var(--po-horizon); padding: 68px 16px 10px; }
.map-stage {
  position: relative;
  width: min(100%, 540px, 50vh);
  margin: 0 auto;
  aspect-ratio: 1000 / 1026;
}
#map { height: 100%; width: 100%; overflow: hidden; }
.kosovo-svg { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.kosovo-svg:active { cursor: grabbing; }
.region { stroke: rgba(255,255,255,.92); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.muni { stroke: rgba(62, 54, 46, .78); stroke-width: 1.35; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.country { fill: none; stroke: #7d8793; stroke-width: 5.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.place circle { fill: #8eafc8; stroke: #fff; stroke-width: 1.5; }
.city-dot { cursor: pointer; }
.city-dot circle { fill: #1d6aa5; stroke: #fff; stroke-width: 2; }
.city-count { fill: #fff; font-size: 16px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.city-label {
  fill: #0b1f38; font-size: 23px; font-weight: 700;
  dominant-baseline: central; pointer-events: none;
  stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round; paint-order: stroke fill;
}
.place:not(.city-dot) .city-label { fill: #1a3654; font-weight: 700; font-size: 21px; }
.zoom-ui {
  position: absolute; right: 16px; bottom: 16px; z-index: 6;
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #d7dee6; border-radius: 999px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(22, 62, 102, .12);
}
.zoom-ui button {
  width: 36px; height: 36px; border: 0; background: #fff; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--po-nav);
}
.zoom-ui button:hover { background: #e7f3fb; }
.zoom-ui button + button { border-top: 1px solid #e6ebf1; }
.map-note {
  position: absolute; left: 16px; top: 16px; z-index: 6;
  background: rgba(255,255,255,.96); color: var(--po-blue);
  font-weight: 600; font-size: .86rem; padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 6px 18px rgba(28, 48, 72, .08);
}
.map-note p { margin: 0; }
.map-note ul {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px;
  font-size: .82rem; font-weight: 600;
}
.map-note li { display: flex; align-items: center; gap: 6px; }
.map-note i {
  width: 13px; height: 13px; border-radius: 2px; flex: none;
  border: 1px solid rgba(0,0,0,.15);
}
.sw-mitrovice { background: #e4eeb0; }
.sw-peje { background: #cfe3bf; }
.sw-gjakove { background: #d4c6e6; }
.sw-prizren { background: #e6d3a4; }
.sw-ferizaj { background: #f6efc0; }
.sw-prishtine { background: #f3c99a; }
.sw-gjilan { background: #f6e0d2; }
.map-note-foot { margin-top: 6px !important; font-size: .78rem; font-weight: 600; }

.search__box {
  max-width: 1180px; margin: 12px auto 0; position: relative; z-index: 500;
  background: #fff; border-radius: 10px;
  border: 1px solid #dce4ee;
  box-shadow: 0 8px 24px rgba(28, 48, 72, .06);
  padding: 16px 18px 6px;
}
.filters {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 14px;
}
.filters label { display: grid; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6d7c8f; }
.filters input, .filters select {
  font: inherit; font-weight: 400; font-size: .92rem; color: var(--po-ink);
  border: 1px solid #d5dee8; border-radius: 6px; padding: 9px 11px; background: #fbfcfd; width: 100%;
}
.filters input:focus, .filters select:focus {
  outline: none; border-color: #1d6aa5; background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 106, 165, .18);
}
.filter-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 0 8px; gap: 1rem;
}
.results-counter { font-weight: 600; color: var(--po-blue); font-size: .95rem; margin: 0; }
.reset {
  background: var(--po-primary); color: #fff; border: 0;
  border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer;
}
.reset:hover { background: #15588a; }

.homepage__main { max-width: 1400px; margin: 0 auto; padding: 16px 20px 48px; }
.h3-title { margin: 0 0 18px; color: var(--po-ink); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.h3-title::before,
.profile-sheet h2::before,
.bar-block h4::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 8px;
  background: #1d6aa5;
  border-radius: 2px;
  vertical-align: 1px;
}
.main-row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card-wrapper[hidden] { display: none; }
.card {
  height: 100%; border: 1px solid var(--po-border); border-top: 3px solid #1d6aa5; border-radius: 8px;
  background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(28, 48, 72, .04);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 10px 24px rgba(22, 62, 102, .1); border-color: #c5d7e8; border-top-color: #163e66; transform: translateY(-2px); }
.card__content { padding: 0 0 16px; display: flex; flex-direction: column; flex: 1; }
.card__header {
  display: flex; align-items: center; gap: 14px;
  margin: 0; padding: 16px;
  min-height: 120px;
  background: #eef5fb; border-bottom: 1px solid #e3eef6; border-radius: 5px 5px 0 0;
}
.card__header > a:first-child { flex: none; }
.card__logo {
  width: 84px; height: 84px; max-width: none; object-fit: contain;
  background: #fff; border: 1px solid #e6ebf1; border-radius: 8px; padding: 6px;
}
.card__header a { text-decoration: none; }
.card__header a:last-child { min-width: 0; flex: 1; }
.card__title {
  margin: 0; font-size: 1.08rem; font-weight: 600; color: var(--po-blue); line-height: 1.3;
  min-height: calc(1.3em * 2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__row:not(.card__row--split)::before {
  content: "Adresa";
  display: block; margin: 14px 16px 0;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a97a6;
}
.card__excerpt {
  margin: 3px 16px 0; font-size: .9rem; line-height: 1.4; color: #3c4654;
  height: calc(1.4em * 2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__row--split { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 16px 0; }
.card__row__col6 { min-width: 0; }
.card__stat { min-height: 38px; }
.stat__label { font-size: .7rem; color: #8a97a6; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.stat__value {
  font-size: .9rem; color: var(--po-ink); margin-top: 3px; line-height: 1.35; font-weight: 400;
  height: 1.35em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card__tags {
  margin: auto 16px 0; padding-top: 12px; border-top: 1px solid #eef2f6;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 36px;
}
.card__tags .stat__label, .card__tags .stat__colors { display: none; }
.card__tags .stat__colors-pink { display: inline-block; flex: none; }
.stat__colors {
  border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 700;
  color: var(--po-blue); background: #e7f1fb; border: 0;
}
.stat__colors-pink { background: #fde7f0; color: #9b3d66; }
.stat__colors-blue { background: #e7f1fb; color: #1d4e89; }
.stat__colors-blue-label { background: #e8f0f7; color: #163e66; }
.site-link { font-size: .84rem; font-weight: 600; text-decoration: none; line-height: 1.2; }
.card__web {
  margin-left: auto; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
}
.card__tags .site-link {
  margin: 0; color: #5d6d80; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card__tags .site-link:hover { text-decoration: underline; }
.socials { display: flex; gap: 5px; }
.social {
  width: 24px; height: 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e7f1fb; color: #163e66; text-decoration: none;
}
.social svg { width: 13px; height: 13px; display: block; }
.social:hover { background: #1d6aa5; color: #fff; }
.profile-titleblock .socials { margin-top: 10px; }
.profile-titleblock .social { width: 30px; height: 30px; }
.profile-titleblock .social svg { width: 15px; height: 15px; }

.profile-cover { background: var(--po-horizon); padding: 92px 24px 36px; }
.profile-sheet { background: #fff; padding: 8px 24px 80px; border-top: 1px solid #e6edf4; }
.profile-inner { max-width: 1080px; margin: 0 auto; }
.crumb { margin: 0 0 20px; font-size: .9rem; font-weight: 600; }
.crumb a { color: var(--po-blue); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: #7d8da0; }
.profile-titleblock {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border-radius: 12px; padding: 22px 24px;
  border: 1px solid #e3e8ee;
  box-shadow: 0 10px 28px rgba(22, 62, 102, .08);
}
.profile-titleblock img {
  width: 120px; height: 120px; max-width: none; object-fit: contain; flex: none;
  background: #fff; border-radius: 10px; padding: 14px;
  border: 1px solid #e6ebf1;
  box-shadow: 0 4px 16px rgba(28, 48, 72, .08);
}
.profile-titleblock h1 {
  margin: 0 0 6px; color: var(--po-ink); font-size: 2.15rem; line-height: 1.15; font-weight: 600;
  letter-spacing: -.02em;
}
.profile-url { font-size: .98rem; font-weight: 600; word-break: break-all; text-decoration: none; color: var(--po-primary); }
.profile-url:hover { text-decoration: underline; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.profile-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  margin-top: 8px;
}
.profile-about { margin-top: 32px; }
.profile-about p {
  margin: 12px 0 0;
  max-width: 78ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--po-ink);
}
.profile-about p.is-placeholder {
  padding: 14px 16px;
  background: #f4f8fc;
  border: 1px solid #e3eef6;
  border-radius: 10px;
  color: #5d6c7c;
}
.profile-legal { margin-top: 36px; }
.profile-legal .stat-board { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.profile-sheet h2 {
  display: flex; align-items: center;
  margin: 0 0 6px; padding-bottom: 0;
  border-bottom: 0;
  color: var(--po-ink); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em;
}
.stat-board { margin-top: 0; }
.stat-cell { padding: 14px 0; border-bottom: 1px solid #eef2f6; }
.stat-cell .k {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #8a97a6;
}
.stat-cell .v { margin-top: 4px; font-size: 1.05rem; line-height: 1.5; color: var(--po-ink); overflow-wrap: anywhere; }
.stat-cell .v a { text-decoration: none; font-weight: 600; }
.stat-cell .v a:hover { text-decoration: underline; }
.profile-source { margin: 18px 0 0; }
.profile-note { margin: 12px 0 0; font-size: .92rem; line-height: 1.55; color: #6d7b8c; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.profile-actions a {
  display: inline-block; border-radius: 999px; padding: 10px 18px;
  font-weight: 700; text-decoration: none; font-size: .92rem;
}
.profile-actions .back { color: #fff; border: 0; background: var(--po-primary); }
.profile-actions .back:hover { background: #15588a; }
@media (max-width: 800px) {
  .profile-cover { padding: 108px 12px 20px; }
  .profile-sheet { padding: 8px 14px 48px; }
  .profile-titleblock { align-items: flex-start; gap: 14px; padding: 16px; }
  .profile-titleblock img { width: 72px; height: 72px; padding: 8px; }
  .profile-titleblock h1 { font-size: 1.45rem; }
  .profile-split, .profile-legal .stat-board { grid-template-columns: 1fr; gap: 20px; }
  .profile-about p { overflow-wrap: anywhere; }
}

.sidebar__header {
  background: #fff; color: var(--po-ink); border: 1px solid var(--po-border); border-top: 3px solid #1d6aa5; border-radius: 8px;
  min-height: 64px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(28, 48, 72, .04);
}
.sidebar__header h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.side-count { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 6px; }
.side-count strong { color: var(--po-blue); font-size: 1.75rem; font-weight: 600; line-height: 1; }
.side-note { margin: 0 0 18px; font-size: .86rem; color: #667588; }
.bar-block { margin-bottom: 18px; }
.bar-block h4 { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6d7c8f; }
.bar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; font-size: .82rem; color: var(--po-ink); }
.bar span { line-height: 1.3; }
.bar i { display: block; height: 6px; background: #e6eef5; border-radius: 3px; overflow: hidden; }
.bar i b { display: block; height: 100%; background: var(--po-primary); }
.pager { display: flex; justify-content: center; gap: 6px; margin: 24px 0 8px; flex-wrap: wrap; }
.pager button {
  min-width: 34px; height: 34px; border: 1px solid #c9d7e6; background: #fff; border-radius: 999px;
  font: inherit; font-weight: 700; color: var(--po-blue); cursor: pointer;
}
.pager button:hover { background: #e7f3fb; }
.pager button[aria-current="page"] { background: var(--po-primary); border-color: var(--po-primary); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.site-footer { border-top: 1px solid var(--po-border); background: #fff; padding: 20px 20px 32px; font-size: .84rem; color: #7a8794; line-height: 1.55; }
.site-footer .inner { max-width: 1400px; margin: 0 auto; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .main-row { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: 8px 12px;
  }
  .navbar-brand span, .nav-home { display: none; }
  .navbar-brand { flex: none; }
  .nav-links {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .45rem;
  }
  .lang-switch { gap: .35rem; margin: 0; flex: none; }
  .nav-links a { font-size: .75rem; white-space: nowrap; }
  .cta-long { display: none !important; }
  .cta-short { display: inline !important; }
  .nav-links a.nav-cta { padding: 5px 8px; flex: none; }
  .zoom-ui button { width: 44px; height: 44px; font-size: 22px; }
  .homepage__cover { padding: 64px 10px 8px; }
  .profile-cover { padding: 72px 12px 20px; }
  .map-stage { width: min(100%, 420px); }
  .search__box { margin: 8px 10px 0; padding: 12px 12px 4px; }
  .filters { gap: 10px; }
  .homepage__main { padding: 12px 12px 40px; }
  .grid, .filters, .card__row--split { grid-template-columns: 1fr; }
  .main-row { gap: 18px; }
  .card__web { max-width: 100%; }
}
