/* Faqet e institucioneve dhe qyteteve - gjeneruar nga generate-eduroam-pages.sh.
   Mos e ndrysho me dore: rishkruhet ne cdo ekzekutim te skriptes. */
/* Nderruesi i gjuhes ne header. Ballina perdor <button> me JS; keto faqe jane
   statike, prandaj perdorin <a> - pamja duhet te mbetet identike. */
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 32px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.language-switch a:hover { color: #fff; }
.language-switch a[aria-current="page"] { background: #fff; color: #071323; }

@media (max-width: 900px) {
  .language-switch a { min-width: 32px; min-height: 28px; font-size: 0.76rem; }
  /* Ballina e fsheh nderruesin ne mobil sepse e dyfishon brenda menyse.
     Keto faqe nuk e kane ate dyfishim, prandaj mbetet ne header. */
  .header-tools > .static-language-switch { display: inline-flex; }
}

.breadcrumb {
  padding: 12px clamp(18px, 7vw, 96px);
  background: #f3f7fb;
  border-bottom: 1px solid #e4ecf4;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
}
.breadcrumb a { color: var(--brand-strong); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero {
  padding: clamp(40px, 6vw, 80px) clamp(18px, 7vw, 96px) clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, #f3f7fb 0%, #eef4f8 100%);
  border-bottom: 1px solid #d8e3ef;
}
.page-hero h1 {
  margin: 0 0 16px;
  max-width: 22ch;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -.015em;
}
.page-hero .lead { margin: 0; max-width: 64ch; color: var(--muted); font-size: 1.05rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .85rem; font-weight: 700;
}
.pill code { color: var(--brand-strong); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tight { padding-top: clamp(38px, 5vw, 64px); padding-bottom: clamp(38px, 5vw, 64px); }
.section > h2:first-child { margin-top: 0; }
/* Kutia e identitetit - pjesa qe studenti gabon me shpesh, prandaj eshte e theksuar. */
.identity-card {
  display: grid; gap: 14px;
  max-width: 720px; padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 8px; background: #fff; box-shadow: var(--shadow);
}
.identity-card .identity-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700; color: var(--brand-strong); word-break: break-all;
}
.identity-card p { margin: 0; color: var(--muted); }
.identity-card code { padding: 2px 6px; border-radius: 4px; background: var(--soft); font-size: .92em; }
/* Rrjeti i institucioneve - zevendeson listen <ul> te thjeshte. */
.inst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.inst-card {
  display: grid; gap: 6px; align-content: start;
  min-height: 108px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.inst-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.inst-card strong { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.inst-card span { color: var(--muted); font-size: .84rem; font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.inst-card em { color: var(--brand-strong); font-size: .82rem; font-style: normal; font-weight: 800; }
/* Kartat e problemeve - shirit i holle ne krye qe te dallohen nga kartat e tjera. */
.feature-card.check { border-top: 3px solid var(--accent); }
/* Banda e rivendosjes se fjalekalimit. */
.cta-band {
  display: grid; gap: 18px; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(135deg, #04263c 0%, #0a3f63 100%);
  color: #fff;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.1; }
.cta-band p { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, .78); }
.cta-band .button.primary { white-space: nowrap; }
/* Pikat e qasjes ne faqet e qyteteve. */
.venue-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.venue-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.venue-list strong { display: block; font-size: .95rem; line-height: 1.3; }
.venue-list small { color: var(--muted); font-weight: 600; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.city-card {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 800;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.city-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.city-card span { color: var(--muted); font-size: .82rem; font-weight: 700; }
@media (max-width: 1080px) {
  .inst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .inst-grid { grid-template-columns: 1fr; }
}
