/* =========================================================
   RINO Clinic — stylesheet i vetëm
   Paleta dhe tipografia janë marrë 1:1 nga faqja ekzistuese.
   ========================================================= */

/* ---------- Fontet (self-hosted, pa Google Fonts) ----------
   Të ndara në nënbashkësi latine — shkarkohet vetëm ajo që përdoret.
   Si te faqja origjinale, Open Sans vjen vetëm në peshën 400.        */
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-400-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-400-latin-ext.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-700-latin.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-700-latin-ext.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Fontet rezervë me metrika të përputhura ----------
   Pa këto, teksti shfaqet fillimisht me Arial/Georgia dhe pastaj
   "kërcen" kur mbërrin fonti i vërtetë. Metrikat e mëposhtme janë
   llogaritur nga vetë skedarët, që hapësira të jetë pothuajse
   e njëjtë dhe ndërrimi të mos vihet re.                          */
@font-face {
  font-family: 'Open Sans Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 106.71%;
  ascent-override: 100.16%;
  descent-override: 27.45%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Playfair Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Liberation Serif');
  size-adjust: 102.02%;
  ascent-override: 106.06%;
  descent-override: 24.60%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --c-accent:      #29d8db;
  --c-accent-dark: #20bfc1;
  --c-blue:        #01578c;
  --c-navy:        #243673;
  --c-text:        #767676;   /* teksti i faqes live është #7a7a7a; #767676 kalon kontrastin AA */
  --c-heading:     #4a4a4a;   /* titujt e faqes origjinale janë gri, jo navy */
  --c-muted:       #7a7a7a;
  --c-bg:          #ffffff;
  --c-bg-soft:     #f6f9f9;
  --c-bg-tint:     #fbfcff;
  --c-border:      #e3e9ec;

  --font-body: 'Open Sans', 'Open Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Playfair Display', 'Playfair Fallback', Georgia, 'Times New Roman', serif;

  --container: 1200px;
  --container-narrow: 750px;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(36, 54, 115, .06);
  --shadow-md: 0 6px 24px rgba(36, 54, 115, .10);

  --header-h: 96px;

  /* ---- Libraria e tipografisë ----
     Një shkallë e vetme për gjithë sajtin, marrë nga cilësimet globale
     të faqes live (Playfair 800: 54/42/36/25, Open Sans 16/24).
     Asnjë komponent nuk cakton madhësi të vetën — të gjithë marrin nga këtu. */
  --t-display: clamp(2.125rem, 1.45rem + 2.5vw, 3.375rem);  /* H1 faqeje      54px */
  --t-h2:      clamp(1.75rem, 1.2rem + 2.05vw, 2.625rem);   /* Seksion        42px */
  --t-h3:      clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);      /* Nënseksion     36px */
  --t-h4:      clamp(1.25rem, 1.1rem + .55vw, 1.5625rem);   /* Titull karte   25px */
  --t-h5:      1.25rem;                                     /* Titull i vogël 20px */
  --t-lead:    clamp(1.125rem, 1rem + .45vw, 1.3125rem);    /* Paragraf hyrës 21px */
  --t-body:    1rem;                                        /* Tekst normal   16px */
  --t-small:   .875rem;                                     /* Meta, etiketa  14px */
  --t-label:   .8125rem;                                    /* Eyebrow        13px */

  --lh-display: 1.4;   /* si H1 live: 75.6/54 */
  --lh-head:    1.3;   /* si H2/H3 live */
  --lh-tight:   1.2;   /* H4 e më të vegjël */
  --lh-body:    1.5;   /* 24/16 si live */

  --sp-p:  1.5em;      /* pas paragrafit — një rresht */
  --sp-h:  1.15em;     /* para titullit të seksionit */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, picture, video, iframe, embed { max-width: 100%; }
img, video { height: auto; display: block; }

a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--c-accent-dark); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Tipografia ----------
   Vlerat janë marrë nga faqja ekzistuese: Playfair 800, ngjyra #4a4a4a
   (jo navy), H1 54px/1.4, H2 42px/1.3.                                */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-heading);
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: var(--t-display); line-height: var(--lh-display); }
h2 { font-size: var(--t-h2);      line-height: var(--lh-head); }
h3 { font-size: var(--t-h3);      line-height: var(--lh-head); }
h4 { font-size: var(--t-h4);      line-height: var(--lh-tight); }
h5 { font-size: var(--t-h5);      line-height: var(--lh-tight); }
h6 { font-size: var(--t-body);    line-height: var(--lh-tight); }
h1, h2, h3, h4 { text-wrap: balance; }

p { margin: 0 0 var(--sp-p); }

/* Paragrafi hyrës — i njëjti rol që në faqen live luante një H3 i gjatë */
.lead {
  font-size: var(--t-lead); line-height: 1.5;
  color: var(--c-heading); margin-bottom: 1.4em;
}
ul, ol { margin: 0 0 var(--sp-p); padding-left: 1.4em; }
li { margin-bottom: .5em; }
li::marker { color: var(--c-accent); }

blockquote {
  margin: 1.75em 0; padding: 1.25em 1.5em;
  border-left: 4px solid var(--c-accent);
  background: var(--c-bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--c-navy);
}
blockquote p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5em 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; }
th, td { padding: .75em 1em; border: 1px solid var(--c-border); text-align: left; }
th { background: var(--c-bg-soft); color: var(--c-navy); font-weight: 600; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em; background: var(--c-bg-soft); padding: .15em .4em; border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(48px, 6vw, 88px); }
.section-soft { background: var(--c-bg-soft); }

/* Ballina merr pak më shumë ajër se faqet e brendshme, por jo aq sa
   të krijojë boshllëqe: 150/200 px e temës së vjetër linin gjysmë ekrani bosh. */
#perne     { padding-block: clamp(48px, 5.5vw, 88px) clamp(32px, 3.5vw, 56px); }
#sherbimet { padding-block: clamp(48px, 5.5vw, 88px); }

/* Elementi i fundit brenda një seksioni s'ka pse shton margjinë:
   ajo mblidhet me paddingun e seksionit dhe krijon boshllëk. */
.section > .container > *:last-child,
.cta-band > .container > *:last-child { margin-bottom: 0; }

/* Seksioni i shërbimeve ka foto sfondi te origjinali. */
#sherbimet {
  background-color: var(--c-bg-soft);
  background-image: url('/uploads/2022/08/procedures-section-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Prerjet diagonale sipër dhe poshtë seksionit të kontaktit.
   Forma është e njëjta që përdor faqja aktuale. Lartësia e pjerrësisë
   i shtohet paddingut të seksionit, përndryshe trekëndëshi i bardhë
   shtrihet mbi përmbajtje (harta dilte e prerë). */
.section-wedge {
  position: relative;
  --wedge-h: clamp(36px, 4.5vw, 72px);
  padding-block: calc(clamp(44px, 5vw, 76px) + var(--wedge-h) * .55);
}
.section-wedge::before,
.section-wedge::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: var(--wedge-h);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.section-wedge::before {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,6V0h1000v100L0,6z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.section-wedge::after {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,6V0h1000v100L0,6z' fill='%23ffffff'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); }
.section-head p { color: var(--c-muted); margin-bottom: 0; }

/* Vija dekorative nën titull (si te dizajni ekzistues) */
.rule {
  width: 78px; height: 2px; background: var(--c-accent);
  border: 0; margin: 20px auto 24px;
}

.eyebrow {
  font-family: var(--font-head);
  color: var(--c-accent);
  font-size: var(--t-h4);
  margin: 0 0 .35em;
  font-weight: 700;
}

/* ---------- Butonat ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 32px;
  background: var(--c-accent); color: #fff;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  border: 2px solid var(--c-accent); border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover {
  background: var(--c-accent-dark); border-color: var(--c-accent-dark);
  color: #fff; text-decoration: none; transform: translateY(-1px);
}
.btn-outline { background: transparent; color: var(--c-navy); border-color: var(--c-accent); }
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-light { background: #fff; color: var(--c-navy); border-color: #fff; }
.btn-light:hover { background: var(--c-bg-soft); border-color: var(--c-bg-soft); color: var(--c-navy); }
.btn .icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { flex: none; display: block; }
.brand img { width: auto; height: 62px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; margin: 0; }

.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; white-space: nowrap;
  color: var(--c-text); font-size: 1rem; font-weight: 400;
  transition: color .15s ease;
}
/* Si te origjinali: vetëm ngjyra ndryshon, pa sfond. */
.nav-link:hover, .nav-link.is-current { color: var(--c-accent); text-decoration: none; }

.submenu-toggle {
  display: none; /* vetëm në mobil */
  background: none; border: 0; cursor: pointer; color: var(--c-text);
  padding: 10px; line-height: 0;
}
.submenu-toggle svg { width: 12px; height: 8px; transition: transform .2s ease; }

/* Shigjeta e nënmenusë — brenda lidhjes, që të rrijë në një rresht. */
.nav-caret {
  width: 11px; height: 7px; flex: none;
  transition: transform .2s ease;
}
.nav-item:hover > .nav-link .nav-caret { transform: rotate(180deg); }

/* Telefoni në header: tekst turkez, pa sfond (si te dizajni ekzistues) */
.nav-phone {
  color: var(--c-accent); font-size: 1rem; font-weight: 400;
  white-space: nowrap; padding: 10px 4px;
  transition: color .15s ease;
}
.nav-phone:hover { color: var(--c-accent-dark); text-decoration: none; }

.submenu {
  position: absolute; top: 100%; left: 0; z-index: 20;
  min-width: 250px; margin: 0; padding: 10px 0; list-style: none;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { margin: 0; }
.submenu-link {
  display: block; padding: 10px 20px;
  color: var(--c-text); font-size: .94rem;
}
.submenu-link:hover, .submenu-link.is-current {
  background: var(--c-bg-soft); color: var(--c-accent-dark); text-decoration: none;
}


.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0;
  background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; margin-inline: auto;
  background: var(--c-navy); border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--c-navy) center/cover no-repeat;
  color: #fff;
  padding-block: clamp(56px, 7vw, 104px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(36,54,115,.88) 0%, rgba(1,87,140,.72) 55%, rgba(1,87,140,.45) 100%);
}
.hero > .container { position: relative; }

.hero-grid {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
}

.hero-copy .eyebrow { color: var(--c-accent); }
.hero-copy h1 { color: #fff; margin-bottom: .4em; }
.hero-copy p { color: rgba(255,255,255,.9); font-size: 1.075rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Forma e terminit ---------- */
.appointment-card {
  background: var(--c-bg-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px) clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
}
.appointment-card h2 {
  text-align: center; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem); margin-bottom: 0;
}

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; margin-bottom: 6px;
  font-size: .875rem; font-weight: 600; color: var(--c-navy);
}
.form-field .req { color: #d64545; }

.form-control {
  width: 100%; padding: 13px 14px;
  font-family: inherit; font-size: 1rem; color: var(--c-text);
  background: #fff; border: 1px solid #d7d7d7; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control::placeholder { color: #93a1a8; }
.form-control:focus {
  outline: none; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(41, 216, 219, .18);
}
textarea.form-control { min-height: 118px; resize: vertical; }

.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }

/* Honeypot — i fshehur nga njerëzit, i dukshëm për botët */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-note { margin: 14px 0 0; font-size: .8125rem; color: var(--c-muted); text-align: center; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: .95rem; }
.alert-success { background: #e6f8f8; color: #0f6d6f; border: 1px solid #a9e8e9; }
.alert-error   { background: #fdecec; color: #9b2c2c; border: 1px solid #f5c2c2; }

/* ---------- Kartat e shërbimeve ---------- */
.card-grid {
  display: grid; gap: clamp(20px, 2.4vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
/* Te origjinali kartat jane transparente dhe te qendruara —
   pa sfond, pa bordure, pa hije. Ikona eshte imazh 41x41. */
.service-card {
  display: flex; flex-direction: column;
  padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  text-align: center;
}
.service-icon {
  display: grid; place-items: center;
  width: 41px; height: 41px; margin: 0 auto 18px;
  background: none; border-radius: 0;
  color: var(--c-accent);
}
.service-icon img { width: 41px; height: 41px; object-fit: contain; }
.service-icon svg { width: 34px; height: 34px; }
.service-card h3 { font-size: var(--t-h4); margin-bottom: .55em; }
.service-card p { color: var(--c-muted); margin-bottom: 1.1em; }
.service-card .card-link {
  margin-top: auto; font-weight: 600; color: var(--c-accent-dark);
  display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start;
}
.service-card .card-link::after { content: ' →'; }

/* ---------- Seksioni CTA ---------- */
.cta-band {
  background: #fff;
  color: var(--c-text); text-align: center;
  padding-block: clamp(36px, 4vw, 56px);
}
.cta-band h2 { color: var(--c-heading); }
.cta-band p { color: var(--c-muted); max-width: 60ch; margin-inline: auto; }
.cta-band .btn { margin-top: 22px; }

/* ---------- Përmbajtja e faqeve (WYSIWYG) ---------- */
.page-hero {
  background: var(--c-bg-soft);
  padding-block: clamp(30px, 3.5vw, 52px);
  border-bottom: 1px solid var(--c-border);
}
.page-hero h1 { margin-bottom: .25em; }
.page-hero p { color: var(--c-muted); margin-bottom: 0; max-width: 70ch; }

.breadcrumbs { font-size: var(--t-small); color: var(--c-muted); margin-bottom: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: #c3ced4; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-accent-dark); }

.prose { max-width: 820px; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-top: var(--sp-h); }
.prose h3 { margin-top: 1.2em; }
.prose h4 { margin-top: 1.25em; }
.prose h2 + h3, .prose h3 + h4 { margin-top: .4em; }
.prose img { border-radius: var(--radius-lg); margin-block: 1.75em; }
.prose figure { margin: 1.75em 0; }
.prose figcaption { font-size: var(--t-small); color: var(--c-muted); text-align: center; margin-top: .75em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
/* Numri i telefonit brenda tekstit merr zonë prekjeje më të madhe në telefon. */
.prose a[href^="tel:"]:not(.btn) { display: inline-block; padding-block: 5px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-lg); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; }
.table-scroll > table { margin: 0; min-width: 480px; }

/* ---------- Libraria e komponentëve të përmbajtjes ----------
   Blloqe që redaktori i përdor brenda tekstit (klasa të lejuara nga Sanitizer).
   Të gjitha marrin madhësitë nga tokens — asnjë vlerë e vetme.               */
.prose .btn, .prose .link-cloud a { text-decoration: none; }
.prose .btn { color: #fff; }
.prose .btn-outline { color: var(--c-navy); }
.prose .btn-outline:hover { color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 2.25em; }

.stat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 0 2.5em;
}
.stat {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: var(--t-h5); line-height: var(--lh-tight); color: var(--c-navy); margin-bottom: .3em;
}
.stat span { display: block; color: var(--c-muted); font-size: var(--t-small); line-height: 1.45; }

.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 2.5em; }
.link-cloud a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  color: var(--c-navy); font-size: var(--t-small); font-weight: 600;
}
.link-cloud a:hover { border-color: var(--c-accent); color: var(--c-accent-dark); background: #fff; }

.cta-box {
  background: var(--c-bg-soft); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); margin-top: 2.5em;
}
.cta-box > h2, .cta-box > h3 { margin-top: 0; font-size: var(--t-h4); }
.cta-box > p:last-child { margin-bottom: 0; }

.content-layout {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
  padding-block: clamp(30px, 3.5vw, 52px);
}
@media (min-width: 1000px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
}

/* Pa shirit anësor: përmbajtja merr gjithë gjerësinë e kontejnerit. */
.content-wide {
  padding-block: clamp(30px, 3.5vw, 52px);
}
/* Pa kufi, rreshti arrinte 137 karaktere; 75 është kufiri i rehatshëm i leximit.
   Blloqet e gjera (galeri, karta, harta) e marrin vetë gjerësinë e plotë. */
.content-wide > .prose { max-width: 940px; margin-inline: auto; }
.content-wide > .prose > .gallery,
.content-wide > .prose > .stat-grid,
.content-wide > .prose > .timeline { max-width: none; }

/* Artikujt e ngjashëm kur s'ka shirit anësor */
.related-strip {
  padding-top: 32px; border-top: 1px solid var(--c-border);
}
.related-strip h2 { font-size: var(--t-h4); margin-bottom: .6em; }
.related-strip ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.related-strip li { margin: 0; }
.related-strip a {
  display: block; padding: 14px 18px;
  background: var(--c-bg-soft); border-radius: var(--radius);
  font-weight: 600; color: var(--c-navy);
  transition: background-color .18s ease, color .18s ease;
}
.related-strip a:hover { background: #fff; color: var(--c-accent-dark); text-decoration: none;
  box-shadow: var(--shadow-sm); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.widget {
  background: var(--c-bg-soft); border-radius: var(--radius-lg); padding: 26px 24px;
}
.widget h2 { font-size: var(--t-h5); margin-bottom: .75em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin-bottom: .6em; }
.widget li:last-child { margin-bottom: 0; }

/* ---------- Pyetjet e shpeshta (akordeon pa JS) ---------- */
.faq-header { text-align: center; margin-bottom: 2em; }
.faq-header h1 { margin-bottom: .3em; }
.faq-subtitle { color: var(--c-muted); font-size: var(--t-lead); max-width: 62ch; margin-inline: auto; }

.faq-note {
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin-bottom: 2.5em;
  font-size: var(--t-body); color: var(--c-text);
}
.faq-note strong { color: var(--c-navy); }

/* Titujt e kategorive — VETËM brenda faqes së pyetjeve.
   Pa kufizimin me :has() këto do të preknin çdo faqe të sajtit. */
.prose:has(.faq-header) > h2 {
  margin-top: var(--sp-h); padding-bottom: .35em;
  border-bottom: 2px solid var(--c-border);
}
.prose:has(.faq-header) > h3 {
  margin-top: 1.5em; font-size: var(--t-h5); color: var(--c-accent-dark);
  text-transform: uppercase; letter-spacing: .04em;
  font-family: var(--font-body); font-weight: 700;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item:hover { border-color: #c9dde0; }
.faq-item[open] { border-color: var(--c-accent); box-shadow: var(--shadow-sm); }

.faq-item > summary {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--c-navy); font-size: var(--t-body); line-height: 1.45;
  transition: background-color .15s ease, color .15s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ''; }
.faq-item > summary:hover { background: var(--c-bg-soft); color: var(--c-accent-dark); }
.faq-item[open] > summary { background: var(--c-bg-soft); color: var(--c-accent-dark); }

/* Shenja +/− në të djathtë */
.faq-item > summary::after {
  content: ''; flex: none; margin-left: auto;
  width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.faq-answer { padding: 4px 20px 18px; color: var(--c-text); }
.faq-answer > *:last-child { margin-bottom: 0; }
.faq-answer p { margin-bottom: .9em; }
.faq-answer ul, .faq-answer ol { margin-bottom: .9em; }

/* ---------- Blog ---------- */
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--t-small); color: var(--c-muted); }
.post-meta .cat-pill { min-height: 36px; display: inline-flex; align-items: center;
  background: var(--c-accent); color: #fff; padding: 3px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
a.cat-pill:hover { background: var(--c-accent-dark); color: #fff; text-decoration: none; }

.post-grid {
  display: grid; gap: clamp(22px, 2.5vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-img { aspect-ratio: 16 / 10; background: var(--c-bg-soft); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.post-card h3 { font-size: var(--t-h5); margin-bottom: .5em; }
.post-card h3 a { color: var(--c-navy); }
.post-card h3 a:hover { color: var(--c-accent-dark); text-decoration: none; }
.post-card p { color: var(--c-muted); font-size: var(--t-small); }
.post-card .post-meta { margin-top: auto; padding-top: 14px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 14px;
  border: 1px solid var(--c-border); border-radius: var(--radius);
  color: var(--c-navy); font-weight: 600; font-size: .95rem;
}
.pagination a:hover { background: var(--c-bg-soft); border-color: var(--c-accent); text-decoration: none; }
.pagination .is-current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-soft); color: var(--c-muted); margin-top: auto; }

.footer-grid {
  display: grid; gap: clamp(28px, 3vw, 44px);
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding-block: clamp(48px, 5.5vw, 80px);
}

.footer-brand img { height: 74px; width: auto; }

.footer-title {
  font-family: var(--font-head);
  color: var(--c-navy);
  font-size: var(--t-h5);
  font-weight: 700;
  margin: 0 0 1em;
}

.site-footer p { margin-bottom: 1.4em; font-size: 1rem; line-height: 1.6; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: var(--c-muted); display: inline-block; padding-block: 6px; }
.site-footer a:hover { color: var(--c-accent-dark); text-decoration: none; }

/* Ikonat sociale: katrorë të rrumbullakosur turkez, si te dizajni ekzistues */
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--c-accent); border-radius: 6px; color: #fff;
  transition: background-color .18s ease, transform .18s ease;
}
.social-links a:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-block: 26px;
  text-align: center;
}
.footer-copy { margin: 0 0 .6em; color: var(--c-navy); font-size: 1rem; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  font-size: .95rem; color: var(--c-accent-dark);
}
.footer-legal a { color: var(--c-accent-dark); }
.footer-legal a:hover { color: var(--c-navy); text-decoration: underline; }
.footer-legal span { color: var(--c-muted); }

/* ---------- Butoni "kthehu në krye" ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 89;
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--c-accent); color: #fff; border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: background-color .18s ease, transform .18s ease;
}
.to-top:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
.to-top[hidden] { display: none; }
#site-header:focus { outline: none; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px;
  background: #25d366; color: #fff; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.07); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Harta ---------- */
/* Harta rri si kartë e ngritur mbi sfond, jo e ngjitur në faqe.
   Korniza e bardhë e ndan nga sfondi i çelët i seksionit. */
.map-frame {
  position: relative;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow:
    0 1px 2px rgba(36, 54, 115, .06),
    0 8px 24px rgba(36, 54, 115, .10),
    0 24px 48px rgba(36, 54, 115, .06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.map-frame:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 2px rgba(36, 54, 115, .07),
    0 12px 30px rgba(36, 54, 115, .13),
    0 30px 60px rgba(36, 54, 115, .08);
}

.map-embed {
  width: 100%; aspect-ratio: 16 / 7; min-height: 320px;
  border: 0; border-radius: 8px; display: block;
}

@media (max-width: 600px) {
  .map-frame { padding: 5px; border-radius: 10px; }
  .map-embed { aspect-ratio: 4 / 3; min-height: 260px; }
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(64px, 9vw, 130px); }
.error-code {
  font-family: var(--font-head); font-size: clamp(4.5rem, 3rem + 8vw, 9rem);
  line-height: 1; color: var(--c-accent); margin: 0;
}

/* ---------- Ndihmëse ---------- */
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 991px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: flex; }
  .brand img { height: 50px; }

  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 auto;
    width: min(360px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 22px 40px;
    background: #fff;
    border-left: 1px solid var(--c-border);
    box-shadow: -8px 0 30px rgba(36,54,115,.12);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .26s ease, visibility .26s;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }

  html.nav-open, html.nav-open body { overflow: hidden; height: 100%; }
  html.nav-open body::after {
    content: ''; position: fixed; inset: 0; z-index: 99;
    background: rgba(36, 54, 115, .35);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--c-border); }
  .nav-item.has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav-link { padding: 15px 4px; font-size: 1.02rem; border-radius: 0; }
  .nav-link:hover, .nav-link.is-current { background: transparent; }

  .submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    grid-column: 2; min-width: 44px; min-height: 44px;
  }
  .submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-caret { display: none; }   /* në mobil e zëvendëson butoni */
  .nav-phone { margin-top: 20px; font-size: 1.05rem; }

  .submenu {
    position: static; grid-column: 1 / -1;
    min-width: 0; margin: 0 0 10px; padding: 0 0 0 14px;
    border: 0; border-left: 2px solid var(--c-accent); border-radius: 0;
    box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .submenu.is-open { display: block; }
  .nav-item:hover > .submenu { display: none; }
  .nav-item:hover > .submenu.is-open { display: block; }
  .submenu-link { padding: 11px 6px; }


  .sidebar { position: static; }

  /* Footer-i kalon në 2 kolona para se të bëhet një */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .hero-actions .btn { width: 100%; }
  .whatsapp-float { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
  .to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .whatsapp-float, .skip-link, .sidebar { display: none !important; }
  body { color: #000; }
  .container { max-width: none; padding: 0; }
}

/* ---------- Navigimi mes artikujve ----------
   Lidh çdo postim me atë para dhe pas, që asnjë të mos mbetet
   pa lidhje hyrëse. */
.post-nav {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.post-nav__item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--c-border); border-radius: var(--radius);
  background: var(--c-bg-soft);
  transition: border-color .18s ease, background-color .18s ease;
}
.post-nav__item:hover { border-color: var(--c-accent); background: #fff; text-decoration: none; }
.post-nav__next { text-align: right; }
.post-nav__label {
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-muted);
}
.post-nav__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.02rem; line-height: 1.35; color: var(--c-navy);
}
.post-nav__item:hover .post-nav__title { color: var(--c-accent-dark); }

@media (max-width: 600px) {
  .post-nav__next { text-align: left; }
}

/* ---------- Vija kohore me mbushje gjatë skrollimit ----------
   Vija gri mbushet me ngjyrë ndërsa lexuesi zbret; shenjat
   ndizen kur mbushja i arrin. Pa JavaScript shfaqet e mbushur. */
.timeline {
  --tl-color: var(--c-accent);
  --tl-track: #e4e7ea;
  --tl-dot: 52px;
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  margin: clamp(24px, 3vw, 40px) 0;
  padding: 4px 0;
}

/* Shina gri dhe mbushja me ngjyrë */
.timeline__track {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; margin-left: -2px;
  background: var(--tl-track);
  border-radius: 2px;
}
.timeline__fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0; background: var(--tl-color); border-radius: 2px;
  transition: height .18s linear;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr var(--tl-dot) 1fr;
  align-items: center;
  column-gap: clamp(14px, 2.5vw, 26px);
}

/* Karta e ngjarjes */
.timeline__card {
  grid-column: 1;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.8vw, 34px) clamp(24px, 3vw, 38px);
  text-align: right;
  position: relative;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.timeline__card h3 {
  margin: 0 0 .4em;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.625rem);
  line-height: 1.25; color: var(--c-navy);
  letter-spacing: -.01em;
}
.timeline__card p { margin: 0; color: var(--c-muted); font-size: 1rem; line-height: 1.6; }
.timeline__card p strong { color: var(--c-text); font-weight: 600; }

/* Ngjarja e arritur ngrihet lehtë dhe merr ngjyrën e vijës */
.timeline__item.is-reached .timeline__card {
  border-color: var(--tl-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* Cepi që tregon nga vija */
.timeline__card::after {
  content: ''; position: absolute; top: 50%; margin-top: -9px;
  right: -9px; width: 0; height: 0;
  border: 9px solid transparent; border-left-color: #fff;
  transition: border-color .3s ease;
}

.timeline__date {
  grid-column: 3;
  color: var(--c-muted); font-size: .95rem; white-space: nowrap;
  font-weight: 600; letter-spacing: .02em;
  transition: color .3s ease;
}
.timeline__item.is-reached .timeline__date { color: var(--c-accent-dark); }

/* Rreshtat çift: karta kalon djathtas, data majtas */
.timeline__item:nth-child(even) .timeline__card { grid-column: 3; text-align: left; }
.timeline__item:nth-child(even) .timeline__card::after {
  right: auto; left: -9px;
  border-left-color: transparent; border-right-color: #fff;
}
.timeline__item:nth-child(even) .timeline__date { grid-column: 1; text-align: right; }

/* Shenja rrethore me ikonë kalendari */
.timeline__marker {
  grid-column: 2;
  position: relative; z-index: 2;
  width: var(--tl-dot); height: var(--tl-dot);
  border-radius: 50%;
  background: var(--tl-track);
  box-shadow: 0 0 0 6px var(--c-bg);
  display: grid; place-items: center;
  transition: background-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.timeline__marker::before {
  content: ''; width: 20px; height: 20px;
  background: #fff;
  -webkit-mask: var(--tl-icon) center / contain no-repeat;
  mask: var(--tl-icon) center / contain no-repeat;
  opacity: .55; transition: opacity .3s ease;
}
.timeline {
  --tl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v3M17 2v3M3.5 9h17M5 4.5h14a1.5 1.5 0 0 1 1.5 1.5v13A1.5 1.5 0 0 1 19 20.5H5A1.5 1.5 0 0 1 3.5 19V6A1.5 1.5 0 0 1 5 4.5z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3Crect x='6.6' y='12' width='2.6' height='2.6' rx='.5' fill='%23000'/%3E%3Crect x='11' y='12' width='2.6' height='2.6' rx='.5' fill='%23000'/%3E%3Crect x='15.4' y='12' width='2.6' height='2.6' rx='.5' fill='%23000'/%3E%3C/svg%3E");
}
.timeline__marker.is-active {
  background: var(--tl-color);
  transform: scale(1.08);
  box-shadow: 0 0 0 6px var(--c-bg), 0 4px 14px rgba(41, 216, 219, .35);
}
.timeline__marker.is-active::before { opacity: 1; }

/* Pa JavaScript ose me lëvizje të reduktuar: gjithçka e ndezur */
.timeline:not([data-tl-ready]) .timeline__fill { height: 100%; }
.timeline:not([data-tl-ready]) .timeline__marker { background: var(--tl-color); }
.timeline:not([data-tl-ready]) .timeline__marker::before { opacity: 1; }
.timeline:not([data-tl-ready]) .timeline__card { border-color: var(--tl-color); }
.timeline:not([data-tl-ready]) .timeline__date { color: var(--c-accent-dark); }

@media (prefers-reduced-motion: reduce) {
  .timeline__fill, .timeline__marker { transition: none; }
}

/* Në ekran të ngushtë: vija majtas, gjithçka në një kolonë */
@media (max-width: 720px) {
  .timeline { --tl-dot: 38px; }
  .timeline__track { left: calc(var(--tl-dot) / 2); margin-left: -2px; }
  .timeline__item {
    grid-template-columns: var(--tl-dot) 1fr;
    align-items: start; row-gap: 6px;
  }
  .timeline__marker { grid-column: 1; grid-row: 1 / span 2; }
  .timeline__date,
  .timeline__item:nth-child(even) .timeline__date {
    grid-column: 2; grid-row: 1; text-align: left; margin-left: 14px;
  }
  .timeline__card,
  .timeline__item:nth-child(even) .timeline__card {
    grid-column: 2; grid-row: 2; text-align: left; margin-left: 14px;
  }
  .timeline__card::after,
  .timeline__item:nth-child(even) .timeline__card::after { display: none; }
}

/* ---------- Filtri i kategorive te blogu ---------- */
.cat-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: 22px; border-bottom: 1px solid var(--c-border);
}
.cat-filter a {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--c-bg-soft); color: var(--c-text);
  font-size: .95rem; font-weight: 600;
  transition: background-color .18s ease, color .18s ease;
}
.cat-filter a span { font-weight: 400; color: var(--c-muted); font-size: .85em; }
.cat-filter a:hover { background: #e8f0f1; color: var(--c-accent-dark); text-decoration: none; }
.cat-filter a.is-active { background: var(--c-accent); color: #fff; }
.cat-filter a.is-active span { color: rgba(255,255,255,.8); }

/* ---------- Galeria e imazheve ----------
   Imazhet e njëpasnjëshme shfaqen si rrjetë katrore, si te faqja
   origjinale — jo të stivosura njëra mbi tjetrën në gjerësi të plotë. */
.gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
  margin: clamp(20px, 3vw, 32px) 0;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
  background: var(--c-bg-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; } }

/* ---------- Njoftimi i cookies (shumë i vogël, jo bllokues) ---------- */
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--c-navy); color: #fff;
  padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--shadow-md);
  font-size: var(--t-small); line-height: 1.4;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; flex: 1 1 220px; }
.cookie-notice a { color: var(--c-accent); text-decoration: underline; }
.cookie-notice__ok {
  flex: 0 0 auto; border: 0; cursor: pointer;
  background: var(--c-accent); color: var(--c-navy); font-weight: 700;
  padding: 7px 16px; border-radius: 999px; font-size: var(--t-small);
}
.cookie-notice__ok:hover { background: var(--c-accent-dark); }
@media (max-width: 480px) {
  .cookie-notice { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
}
