/* ============================================================
   OFTK – Oda e Fizioterapeutëve të Kosovës
   Design System v2 – Modern Institutional
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand teal (#4EC3CF) is for accents/decoration only — it's too light for
     text or white-on-teal buttons. --primary-dark is the accessible teal
     (4.9:1 on white) used for links, buttons and filled sections. */
  --primary:          #4EC3CF;
  --primary-dark:     #0E7C86;
  --primary-deep:     #0B5A63;
  --primary-light:    #7FE3E8;
  --primary-tint:     #E8F7F8;
  --primary-rgb:      78, 195, 207;
  --primary-dark-rgb: 14, 124, 134;

  --ink:     #0B2A30;

  --dark:    #0f1923;
  --dark-2:  #1a2636;
  --dark-3:  #243347;

  --white:    #ffffff;
  --gray-50:  #F7F8FA;
  --gray-100: #EDEEF2;
  --gray-200: #D8DAE3;
  --gray-300: #B8BCCA;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --shadow-sm: 0 1px 2px rgba(11,42,48,0.06);
  --shadow:    0 2px 8px rgba(11,42,48,0.07);
  --shadow-md: 0 8px 24px -6px rgba(11,42,48,0.14);
  --shadow-lg: 0 18px 40px -12px rgba(11,42,48,0.22);

  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  --nav-h: 48px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-dark); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}
h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4rem 0; }

.section--news       { padding: 1.25rem 0 3rem; }
@media (min-width: 768px) { .section--news { padding: 1.5rem 0 3.5rem; } }

.page-hero:has(+ .section--news)       { padding-bottom: 1.25rem; }
.page-hero:has(+ .section--historiku)  { padding: 1.5rem 0 1rem; }
.section--historiku  { padding: 0 0 2.5rem; }
.historiku-prose--oftk .historiku-of-single { white-space: pre-line; }
@media (min-width: 768px) { .section--historiku { padding-bottom: 3rem; } }

.page-hero:has(+ .section--dita-botrore) { padding: 1.5rem 0 1rem; }
.section--dita-botrore { padding: 0 0 2.5rem; }
@media (min-width: 768px) { .section--dita-botrore { padding-bottom: 3rem; } }
.section--dita-botrore .historiku-prose p:empty { display: none; }
.dita-botrore-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.dita-botrore-year-heading {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin-top: 1.35rem;
  margin-bottom: 0;
  color: var(--gray-800);
  font-family: var(--font-display);
}

.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: 0.4rem; }
.section-title p { color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* ── Top bar (hidden) ───────────────────────────────────────── */
.top-bar { display: none; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.top-bar-tagline { opacity: 0.92; font-weight: 500; }
.top-bar-links { display: flex; gap: 1.25rem; align-items: center; }
.top-bar-links a { color: var(--white); opacity: 0.95; transition: opacity 0.2s; }
.top-bar-links a:hover { opacity: 1; }
@media (max-width: 600px) {
  .top-bar-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Language switcher ──────────────────────────────────────── */
.lang-switcher { position: relative; display: inline-flex; align-items: center; }
.lang-switcher--dropdown { position: relative; display: inline-block; }

.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.lang-switcher__trigger:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}
.lang-switcher__trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.lang-switcher__caret {
  display: inline-block;
  font-size: 0.55rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
.lang-switcher--dropdown.is-open .lang-switcher__caret { transform: rotate(180deg); }

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 9rem;
  padding: 0.3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
}
.lang-switcher__menu[hidden] { display: none !important; }
.lang-switcher__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.7rem;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray-800);
  font-size: 0.87rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.lang-switcher__option:hover { background: var(--gray-50); color: var(--primary-dark); }
.lang-switcher__option.is-active {
  background: rgba(var(--primary-dark-rgb), 0.08);
  color: var(--primary-dark);
  font-weight: 700;
}
.lang-switcher__option:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: -2px; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  overflow: visible;
  box-shadow: 0 1px 0 var(--gray-100), 0 6px 24px -12px rgba(11,42,48,0.18);
}

/* Top strip — logo */
.navbar-top {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.navbar-top .header-inner {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  justify-content: flex-start;
}
.navbar-top .header-inner.navbar-top-inner {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* Phones: one compact row (logo · title · ERWCPT badge). The header is sticky,
   so a stacked 110px logo used to eat a third of the screen. */
@media (max-width: 767px) {
  .navbar-top .header-inner.navbar-top-inner {
    flex-wrap: nowrap;
    gap: 0.6rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  .site-header .navbar-top .navbar-top-logo .logo-img { width: 40px; height: 40px; }
  .navbar-top-title { min-width: 0; flex: 1 1 auto; }
  .navbar-top .navbar-top-title .logo-text { white-space: normal; }
  .navbar-top .navbar-top-title .logo-text h2 { font-size: 0.95rem; line-height: 1.2; }
  .navbar-top .logo-erwcpt .logo-img-erwcpt { max-width: 96px; max-height: 30px; }
}

/* Bottom strip — navigation */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow: visible;
}

.site-header > .header-inner {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  max-width: none;
  padding-left: calc((100% - 1240px) / 2 + 1.5rem);
  padding-right: calc((100% - 1240px) / 2 + 1.5rem);
  min-height: var(--nav-h);
}
@media (max-width: 1272px) {
  .site-header > .header-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  flex-shrink: 0;
  text-decoration: none;
}
.logo:hover { color: var(--primary-dark); }
.logo svg { width: 40px; height: 40px; flex-shrink: 0; }
.logo .logo-img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; display: block; }
.logo-text { line-height: 1.2; white-space: nowrap; display: inline-block; }
.logo-text span { display: block; font-size: 0.72rem; font-weight: 500; color: var(--gray-500); letter-spacing: 0; }

.navbar-top .logo { color: var(--primary-dark); gap: 0.85rem; }
.navbar-top .logo:hover { color: var(--primary); }
.navbar-top .logo .logo-img { width: 44px; height: 44px; }
.navbar-top .logo-text h2 {
  margin: 0;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.navbar-top .logo .logo-img {
  filter: contrast(1.1) saturate(1.1);
}

.logo-erwcpt {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  text-decoration: none;
  line-height: 0;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.logo-erwcpt:hover { opacity: 1; }
.logo-img-erwcpt {
  width: auto;
  max-width: min(280px, 50vw);
  height: auto;
  max-height: 54px;
  object-fit: contain;
  display: block;
}
.site-footer .logo .logo-img { width: 38px; height: 38px; }

/* ── Desktop nav ────────────────────────────────────────────── */
.nav-desktop { display: none; flex-shrink: 1; min-width: 0; }
@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    height: var(--nav-h);
  }
}

.nav-desktop .nav-link {
  display: flex;
  align-items: center;
  height: 36px;
  margin: 0 1px;
  padding: 0 0.8rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-desktop .nav-link:hover,
.nav-item:focus-within > .nav-link {
  color: var(--primary-dark);
  background: var(--gray-50);
}
.nav-desktop .nav-link.active {
  color: var(--primary-dark);
  background: var(--primary-tint);
  font-weight: 600;
}

.nav-link--trigger { cursor: default; }
a.nav-link--trigger { cursor: pointer; }
.nav-link--trigger::after {
  content: '';
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: 0.2em;
  opacity: 0.6;
}

/* Dropdowns */
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.4rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 200;
}
.nav-item.dropdown--wide .dropdown { min-width: 260px; }
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item .dropdown { margin-top: 0; }

.dropdown a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--primary-tint); color: var(--primary-dark); }

.dropdown-sub { padding: 0.2rem 0 0; margin-top: 0.2rem; border-top: 1px solid var(--gray-100); }
.dropdown-sub-title {
  display: block;
  padding: 0.45rem 1.1rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}
.dropdown-sub a { padding: 0.45rem 1.1rem 0.45rem 1.35rem; font-size: 0.85rem; }

.dropdown-item-with-sidedrop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius);
  cursor: default;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.dropdown-item-with-sidedrop .dropdown-link-label { padding: 0; }
.dropdown-item-with-sidedrop .dropdown-link-label:hover { background: transparent; }
.dropdown-item-with-sidedrop:hover,
.dropdown-item-with-sidedrop:focus-within { background: var(--primary-tint); color: var(--primary-dark); }
.dropdown-arrow { margin-left: 0.5rem; opacity: 0.5; font-size: 1rem; }
.dropdown-sidedrop {
  position: absolute;
  left: 100%;
  top: -0.4rem;
  min-width: 260px;
  padding: 0.4rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 201;
}
.dropdown-item-with-sidedrop:hover .dropdown-sidedrop,
.dropdown-item-with-sidedrop:focus-within .dropdown-sidedrop { opacity: 1; visibility: visible; }
.dropdown-sidedrop a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius);
  background: transparent;
}
.dropdown-sidedrop a:hover { background: var(--primary-tint); color: var(--primary-dark); }

/* ── Navbar search trigger ──────────────────────────────────── */
.nav-search-trigger {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem 0.35rem 0.75rem;
  border: 1.5px solid var(--gray-200); border-radius: 20px;
  background: var(--gray-50); color: var(--gray-500);
  font-size: 0.82rem; font-family: var(--font-sans); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap; line-height: 1; min-width: 220px;
}
.nav-search-trigger:hover {
  border-color: var(--primary); background: rgba(var(--primary-rgb),0.06);
  color: var(--primary-dark); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1);
}
.nav-search-trigger svg { flex-shrink: 0; }
@media (max-width: 991px) { .nav-search-trigger { display: none; } }
.nav-search-trigger-text { display: inline; }
/* Narrow desktops: collapse search to an icon so it doesn't run under the language switcher */
@media (min-width: 992px) and (max-width: 1279px) {
  .nav-search-trigger { min-width: 0; padding: 0.45rem; margin-left: 0.25rem; }
  .nav-search-trigger-text { display: none; }
}

/* ── Command-palette modal ──────────────────────────────────── */
.nav-search-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(5vh, 10vh, 12vh) 1rem 1rem;
}
.nav-search-modal[hidden] { display: none; }
.nav-search-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,25,35,0.55);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.nav-search-modal-box {
  position: relative; width: 100%; max-width: 580px;
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
  animation: nsIn 0.18s cubic-bezier(.22,.61,.36,1);
}
@keyframes nsIn {
  from { opacity: 0; transform: scale(0.96) translateY(-10px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Form row */
.nav-search-modal-form {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.9rem 1rem; border-bottom: 1px solid var(--gray-100);
}
.nav-search-modal-icon { color: var(--gray-400); flex-shrink: 0; display: flex; }
.nav-search-modal-input {
  flex: 1; border: 0; outline: none;
  font-size: 1.05rem; font-family: var(--font-sans);
  color: var(--gray-900); background: transparent; min-width: 0;
}
.nav-search-modal-input::placeholder { color: var(--gray-300); }
.nav-search-modal-esc {
  flex-shrink: 0; padding: 0.12rem 0.48rem;
  border: 1px solid var(--gray-200); border-radius: 5px;
  font-size: 0.72rem; color: var(--gray-400); cursor: pointer;
  background: var(--gray-50); font-family: var(--font-sans);
  transition: border-color 0.15s, color 0.15s;
}
.nav-search-modal-esc:hover { border-color: var(--gray-300); color: var(--gray-700); }

/* Results */
.nav-search-modal-results {
  max-height: min(58vh, 430px); overflow-y: auto; overscroll-behavior: contain;
}
.nav-search-group {
  padding: 0.5rem 1rem 0.18rem; font-size: 0.63rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400);
  position: sticky; top: 0; background: rgba(255,255,255,0.96);
  backdrop-filter: blur(2px); border-bottom: 1px solid var(--gray-50);
  z-index: 1;
}
.nav-search-result {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.58rem 1rem; color: var(--gray-800); text-decoration: none;
  transition: background 0.08s; border-left: 2.5px solid transparent;
  cursor: pointer;
}
.nav-search-result:hover,
.nav-search-result.is-active {
  background: rgba(var(--primary-rgb),0.06);
  border-left-color: var(--primary); color: var(--gray-900);
}
.nav-search-result-icon {
  width: 32px; height: 32px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-search-result-icon--news { background: rgba(var(--primary-rgb),0.12); color: var(--primary-dark); }
.nav-search-result-icon--doc  { background: rgba(202,138,4,0.10);          color: #b45309; }
.nav-search-result-icon--page { background: var(--gray-100);               color: var(--gray-500); }
.nav-search-result-body { flex: 1; min-width: 0; }
.nav-search-result-title { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.nav-search-result-title mark {
  background: rgba(var(--primary-rgb),0.18); color: var(--primary-dark);
  border-radius: 2px; padding: 0 2px; font-style: normal;
}
.nav-search-result-excerpt {
  font-size: 0.775rem; color: var(--gray-500); margin-top: 0.1rem;
  line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-search-result-excerpt mark {
  background: rgba(var(--primary-rgb),0.1); color: var(--primary-dark);
  border-radius: 2px; padding: 0 1px; font-style: normal;
}
.nav-search-result-arrow { flex-shrink: 0; color: var(--gray-300); opacity: 0; transition: opacity 0.1s; display: flex; }
.nav-search-result:hover .nav-search-result-arrow,
.nav-search-result.is-active .nav-search-result-arrow { opacity: 1; color: var(--primary); }

/* Empty state */
.nav-search-empty {
  padding: 2.5rem 1rem; text-align: center; color: var(--gray-400); font-size: 0.9rem;
}
.nav-search-empty strong { display: block; font-size: 1rem; color: var(--gray-600); margin-bottom: 0.3rem; }

/* Footer */
.nav-search-footer {
  padding: 0.48rem 1rem; font-size: 0.68rem; color: var(--gray-400);
  border-top: 1px solid var(--gray-100); background: var(--gray-50);
  display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap;
}
.nav-search-footer span { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-search-footer kbd {
  display: inline-block; padding: 0.08rem 0.35rem;
  border: 1px solid var(--gray-200); border-radius: 3px;
  font-size: 0.64rem; background: var(--white); color: var(--gray-500);
  font-family: var(--font-sans); line-height: 1.5;
}

/* Header actions */
.header-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 0.85rem; flex-shrink: 0; }
.header-user { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-right: 0.2rem; }
@media (max-width: 991px) { .header-user { display: none; } }

/* Menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  flex-shrink: 0;
}
@media (min-width: 992px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 991px) {
  .site-header > .header-inner .header-actions { margin-left: auto; }
  .site-header > .header-inner .menu-toggle { margin-left: 0; }
}

/* ── Mobile nav ─────────────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  backdrop-filter: blur(2px);
}
.nav-mobile.is-open { opacity: 1; visibility: visible; }

.nav-mobile-inner {
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: var(--white);
  padding: 4.5rem 1.5rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  border-left: 3px solid var(--primary);
}
.nav-mobile.is-open .nav-mobile-inner { transform: translateX(0); }

.mobile-close {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--gray-700);
  font-size: 1.3rem;
  transition: background 0.15s;
}
.mobile-close:hover { background: var(--gray-200); }

.nav-mobile .nav-link {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile .nav-link:last-of-type { border-bottom: none; }

.nav-mobile-accordion { border-bottom: 1px solid var(--gray-100); }
.nav-mobile-accordion:last-of-type { border-bottom: none; }
.nav-mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 0;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--gray-800);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  line-height: 1.3;
}
.nav-mobile-accordion-trigger::after {
  content: '\203A';
  flex-shrink: 0;
  margin-left: 0.5rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gray-400);
  line-height: 1;
  transition: transform 0.2s;
}
.nav-mobile-accordion-trigger[aria-expanded='true']::after { transform: rotate(90deg); }
.nav-mobile-accordion-panel { padding: 0 0 0.5rem; }
.nav-mobile-accordion-panel[hidden] { display: none !important; }

.nav-mobile-accordion-top {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nav-mobile-accordion-top span.nav-link { cursor: pointer; }
.nav-mobile-accordion-top .nav-link {
  flex: 1;
  margin: 0;
  border-bottom: none;
  padding-right: 0.35rem;
  display: flex;
  align-items: center;
}
.nav-mobile-accordion-trigger--compact {
  width: auto;
  min-width: 2.5rem;
  flex-shrink: 0;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  justify-content: center;
  border-bottom: none;
}
.nav-mobile-subtitle {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  padding: 0.45rem 0 0.2rem;
  margin-top: 0.1rem;
}
.nav-mobile .nav-link--sub {
  padding: 0.5rem 0 0.5rem 0.9rem;
  font-size: 0.92rem;
  border-bottom: none;
  color: var(--gray-700);
}
.nav-mobile .nav-link--deep {
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--gray-600);
  border-bottom: none;
}
.nav-mobile-inner .header-actions {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  gap: 0.6rem;
}
.nav-mobile-inner .header-actions .lang-switcher--dropdown { width: 100%; }
.nav-mobile-inner .header-actions .lang-switcher__trigger {
  width: 100%;
  justify-content: center;
  background: var(--gray-50);
  border-color: var(--gray-200);
  color: var(--gray-800);
}
.nav-mobile-inner .header-actions .lang-switcher__trigger:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--white);
}
.nav-mobile-inner .header-actions .lang-switcher__menu {
  left: auto; right: 0;
  width: auto; min-width: 9.75rem;
  top: calc(100% + 0.35rem); bottom: auto;
}
.nav-mobile-inner .header-actions .btn { width: 100%; justify-content: center; text-align: center; }
.nav-mobile-inner .header-user { display: block; font-size: 0.87rem; font-weight: 600; color: var(--gray-600); text-align: center; padding: 0.25rem 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { box-shadow: 0 6px 16px -6px rgba(11,42,48,0.35); transform: translateY(-1px); }
.btn:active { box-shadow: none; transform: none; }

.btn-primary { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline:hover { background: var(--primary-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); border-color: transparent; }
.btn-white:hover { background: var(--gray-50); color: var(--dark); }

/* organet dropdown */
.organet-page-dropdown { position: relative; display: inline-block; margin-bottom: 0.5rem; }
.organet-page-dropdown .organet-dropdown-trigger { display: inline-flex; padding: 0.55rem 1rem; background: var(--primary); color: var(--white); border-radius: var(--radius); border: none; font-weight: 600; cursor: pointer; }
.organet-page-dropdown .organet-dropdown-trigger:hover { background: var(--primary-dark); color: var(--white); }
.organet-page-dropdown .dropdown { min-width: 240px; }

/* ── Hyrje page ─────────────────────────────────────────────── */
.hyrje-page .hyrje-landing {
  background: var(--gray-50);
  padding: 2.5rem 0 3rem;
  min-height: calc(100vh - 200px);
}
.hyrje-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: min(100%, 36rem);
  margin: 0 auto;
  padding: 0;
}
@media (min-width: 400px) { .hyrje-grid { max-width: min(100%, 42rem); gap: 1.1rem; } }
@media (min-width: 520px) { .hyrje-grid { max-width: min(100%, 50rem); } }
@media (min-width: 680px) { .hyrje-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: min(100%, 56rem); } }
@media (min-width: 900px) { .hyrje-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: min(100%, 76rem); } }

.hyrje-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.75rem;
  padding: 1.4rem 1.3rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-800);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hyrje-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(var(--primary-dark-rgb), 0.12);
  transform: translateY(-2px);
}
.hyrje-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(var(--primary-rgb), 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.hyrje-card-icon svg { width: 24px; height: 24px; }
.hyrje-card-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); line-height: 1.25; margin: 0; font-family: var(--font-display); letter-spacing: -0.01em; flex: 1; text-align: center; }
.hyrje-card-sub { font-size: 0.82rem; color: var(--gray-500); line-height: 1.4; margin: 0; }
.hyrje-card-arrow { display: flex; align-items: center; margin-top: auto; color: var(--primary-dark); font-size: 1.15rem; }

.hyrje-page .site-header { position: static; }
.hyrje-page-title {
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 0 1rem;
}
.hyrje-page-title h1 {
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.hyrje-page-title p { color: var(--gray-500); font-size: clamp(0.9rem, 2.5vw, 1.1rem); }

/* ── Hero news (ballina) ────────────────────────────────────── */
/* Split layout: text on a deep-teal panel, image on the right. Keeps titles
   readable whatever the photo is (the default OFTK stamp used to sit right
   under the headline). Stacks image-over-text on phones. */
.hero.hero-news {
  background: var(--gray-50);
  box-shadow: none;
  padding: 1.5rem 0 1.75rem;
}
.hero-news-shell { position: relative; }
.hero-news-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--primary-deep);
}
.hero-news-slide {
  --hero-panel: var(--primary-deep);
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--primary-rgb), 0.35) 0%, transparent 55%),
    var(--hero-panel);
  animation: hero-fade 0.5s ease;
}
@keyframes hero-fade { from { opacity: 0.35; } to { opacity: 1; } }

.hero-image-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  background: rgba(255, 255, 255, 0.06);
}
/* OFTK stamp (default image): show the whole logo on white, not cropped. */
.hero-slide-logo .hero-image-bg {
  object-fit: contain;
  background: var(--white);
  padding: 2rem;
}
/* Soft seam between panel and photo. */
.hero-news-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44%;
  width: 14%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--hero-panel) 0%, rgba(11, 90, 99, 0) 100%);
}
.hero-slide-logo .hero-news-overlay { display: none; }

.hero-news-content-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46%;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 2.25rem 2rem 6rem 3.5rem;
}
.hero-news-content {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}
.hero-news-logo { display: none; }
.hero-news-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
}
.hero-news-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.14;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-news-excerpt {
  margin: 0 0 1.6rem;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-news-content .btn {
  align-self: flex-start;
  background: var(--white);
  color: var(--primary-deep);
  border-color: var(--white);
  font-size: 0.92rem;
  padding: 0.65rem 1.5rem;
}
.hero-news-content .btn:hover {
  background: var(--primary-tint);
  border-color: var(--primary-tint);
  color: var(--primary-deep);
}

/* Controls live in the text panel, bottom-left: ‹ › and a countdown bar. */
.hero-news-nav {
  position: absolute;
  bottom: 1.5rem;
  z-index: 4;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  padding-bottom: 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.hero-news-nav:hover { background: var(--white); color: var(--primary-deep); border-color: var(--white); }
.hero-news-nav-prev { left: calc(1.5rem + 3.5rem); }
.hero-news-nav-next { left: calc(1.5rem + 3.5rem + 48px); }

.hero-news-progress {
  position: absolute;
  left: calc(1.5rem + 3.5rem + 108px);
  bottom: calc(1.5rem + 19px);
  z-index: 3;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.hero-news-progress-line {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hero-news-progress-line.is-running { animation: hero-countdown 6s linear forwards; }
.hero-news-shell:hover .hero-news-progress-line,
.hero-news-shell:focus-within .hero-news-progress-line { animation-play-state: paused; }
@keyframes hero-countdown { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .hero.hero-news { padding: 0; }
  .container.hero-news-shell { padding: 0; max-width: none; }
  .hero-news-slider { border-radius: 0; box-shadow: none; }
  .hero-news-slide { height: auto; display: flex; flex-direction: column; }
  .hero-image-bg {
    position: relative;
    width: 100%;
    height: 230px;
    flex-shrink: 0;
  }
  .hero-slide-logo .hero-image-bg { padding: 1rem; }
  .hero-news-overlay { display: none; }
  .hero-news-content-wrap {
    position: relative;
    width: 100%;
    padding: 1.35rem 1.25rem 2.25rem;
  }
  .hero-news-content { max-width: none; }
  .hero-news-kicker { margin-bottom: 0.7rem; }
  .hero-news-title { font-size: clamp(1.3rem, 5.5vw, 1.7rem); margin-bottom: 1rem; -webkit-line-clamp: 3; }
  .hero-news-excerpt { display: none; }
  .hero-news-content .btn { padding: 0.55rem 1.3rem; }
  .hero-news-content-wrap { padding-bottom: 4.5rem; }
  .hero-news-nav { bottom: 1.1rem; width: 38px; height: 38px; font-size: 1.4rem; }
  .hero-news-nav-prev { left: 1.25rem; }
  .hero-news-nav-next { left: calc(1.25rem + 46px); }
  .hero-news-progress { left: calc(1.25rem + 104px); bottom: calc(1.1rem + 18px); }
}

/* ── Hero variant: magazine (1 big story + 2 side stories) ───────── */
[data-hero-variant="magazine"] .hero-news-nav,
[data-hero-variant="magazine"] .hero-news-progress { display: none; }
[data-hero-variant="magazine"] .hero-news-slider {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.hero-mag {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1rem;
  height: 470px;
  animation: hero-fade 0.5s ease;
}
.hero-mag-main {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--primary-deep);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  isolation: isolate;
}
.hero-mag-media, .hero-mag-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-mag-media img {
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-mag-main:hover .hero-mag-media img { transform: scale(1.04); }
/* Default OFTK stamp: whole logo on white, text on the teal band below it. */
.hero-mag-media.is-logo { background: var(--white); }
.hero-mag-main:hover .hero-mag-media.is-logo img { transform: none; }
/* Stories without a photo (default OFTK stamp): logo band on top, text panel below. */
.hero-mag-main--logo {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(90% 90% at 0% 100%, rgba(var(--primary-rgb), 0.3) 0%, transparent 60%),
    var(--primary-deep);
}
.hero-mag-main--logo .hero-mag-media { position: relative; inset: auto; height: 30%; flex-shrink: 0; }
.hero-mag-main--logo .hero-mag-media img { object-fit: contain; padding: 0.9rem; }
.hero-mag-main--logo .hero-mag-shade { display: none; }
.hero-mag-main--logo .hero-mag-body { position: relative; flex: 1; justify-content: center; padding: 1.25rem 2.25rem 1.5rem; }
.hero-mag-main--logo .hero-mag-title { font-size: clamp(1.35rem, 2.1vw, 1.9rem); }
.hero-mag-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(8, 44, 49, 0.96) 0%, rgba(8, 44, 49, 0.86) 42%, rgba(8, 44, 49, 0.45) 62%, rgba(8, 44, 49, 0) 80%);
}
.hero-mag-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 2.25rem 2rem;
}
.hero-mag-body .hero-news-kicker { margin-bottom: 0.8rem; }
.hero-mag-title {
  margin: 0 0 0.6rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-mag-excerpt {
  max-width: 62ch;
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-mag-cta {
  display: inline-flex;
  padding: 0.55rem 1.2rem;
  border-radius: 10px;
  background: var(--white);
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s;
}
.hero-mag-main:hover .hero-mag-cta { background: var(--primary-tint); }
.hero-mag-main:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.hero-mag-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 0;
}
.hero-mag-item {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  color: var(--gray-800);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hero-mag-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.5);
  color: var(--gray-800);
}
.hero-mag-thumb { position: relative; overflow: hidden; background: var(--gray-100); }
.hero-mag-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-mag-item:hover .hero-mag-thumb img { transform: scale(1.05); }
.hero-mag-thumb.is-logo { background: var(--gray-50); }
.hero-mag-thumb.is-logo img { object-fit: contain; padding: 0.35rem; }
.hero-mag-item:hover .hero-mag-thumb.is-logo img { transform: none; }
.hero-mag-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 1.1rem 1.2rem;
}
.hero-mag-date {
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-mag-item-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.hero-mag-item:hover .hero-mag-item-title { color: var(--primary-dark); }
.hero-mag-item-cta { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--primary-dark); }

@media (max-width: 900px) {
  .hero.hero-news[data-hero-variant="magazine"] { padding: 1rem 0 1.5rem; }
  [data-hero-variant="magazine"] .container.hero-news-shell { padding: 0 1rem; }
  .hero-mag { grid-template-columns: 1fr; height: auto; }
  .hero-mag-main { height: 380px; }
  .hero-mag-body { padding: 1.25rem 1.25rem 1.4rem; }
  .hero-mag-excerpt { display: none; }
  .hero-mag-main.hero-mag-main--logo { height: auto; }
  .hero-mag-main--logo .hero-mag-media { height: 150px; }
  .hero-mag-side { grid-template-rows: none; }
  .hero-mag-item { grid-template-columns: 36% minmax(0, 1fr); min-height: 118px; }
  .hero-mag-item-body { padding: 0.85rem 1rem; }
  .hero-mag-item-title { font-size: 0.95rem; -webkit-line-clamp: 3; }
}

/* ── Hero variant: welcome (who OFTK is + actions, latest-news card) ── */
.hero.hero-news[data-hero-variant="welcome"] {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.25rem);
  background:
    radial-gradient(38rem 26rem at 88% 8%, rgba(var(--primary-rgb), 0.28) 0%, transparent 70%),
    radial-gradient(30rem 22rem at 0% 100%, rgba(var(--primary-rgb), 0.16) 0%, transparent 70%),
    linear-gradient(180deg, var(--primary-tint) 0%, #F4FAFB 100%);
}
/* Soft rings echoing the OFTK stamp. */
.hero.hero-news[data-hero-variant="welcome"]::before,
.hero.hero-news[data-hero-variant="welcome"]::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb), 0.28);
  pointer-events: none;
}
.hero.hero-news[data-hero-variant="welcome"]::before { width: 520px; height: 520px; right: -140px; top: -200px; }
.hero.hero-news[data-hero-variant="welcome"]::after { width: 320px; height: 320px; right: -40px; top: -100px; border-style: dashed; }
[data-hero-variant="welcome"] .hero-news-nav,
[data-hero-variant="welcome"] .hero-news-progress { display: none; }
[data-hero-variant="welcome"] .hero-news-slider {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.hero-wel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  animation: hero-fade 0.5s ease;
}
.hero-wel-intro { max-width: 600px; }
.hero-wel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.hero-wel-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.22);
}
/* .hero h1 (older rule) forces white text — this hero is light. */
.hero .hero-wel-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-wel-lead {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: var(--gray-600);
}
.hero-wel-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.4rem; }
.hero-wel-btn { padding: 0.8rem 1.4rem; font-size: 0.95rem; }
.hero-wel-actions .btn-outline { background: var(--white); }
.hero-wel-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-600);
}
.hero-wel-trust svg { color: var(--primary-dark); flex-shrink: 0; }

.hero-wel-news {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hero-wel-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: hero-fade 0.45s ease;
}
.hero-wel-card[hidden] { display: none; }
.hero-wel-card:hover { transform: translateY(-3px); color: var(--gray-800); box-shadow: 0 24px 48px -16px rgba(11, 42, 48, 0.3); }
.hero-wel-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--gray-100);
}
.hero-wel-card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-wel-card:hover .hero-wel-card-media img { transform: scale(1.04); }
.hero-wel-card-media.is-logo { background: var(--white); border-bottom: 1px solid var(--gray-100); }
.hero-wel-card-media.is-logo img { object-fit: contain; padding: 0.75rem; }
.hero-wel-card:hover .hero-wel-card-media.is-logo img { transform: none; }
.hero-wel-card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.4rem 1.35rem; }
.hero-wel-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.hero-wel-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--gray-900);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.hero-wel-card:hover .hero-wel-card-title { color: var(--primary-dark); }
.hero-wel-card-cta { font-size: 0.86rem; font-weight: 700; color: var(--primary-dark); }
.hero-wel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero-wel-arrow {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(var(--primary-dark-rgb), 0.25);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.hero-wel-arrow:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.hero-wel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}
.hero-wel-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(var(--primary-dark-rgb), 0.25);
  cursor: pointer;
  transition: width 0.25s, background 0.2s;
}
.hero-wel-dot:hover { background: rgba(var(--primary-dark-rgb), 0.5); }
.hero-wel-dot.is-active { width: 26px; background: var(--primary-dark); }
.hero-wel-all {
  position: absolute;
  right: 0.25rem;
  bottom: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero.hero-news[data-hero-variant="welcome"] { padding: 2rem 0 2.25rem; }
  [data-hero-variant="welcome"] .container.hero-news-shell { padding: 0 1.1rem; }
  .hero-wel { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-wel-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-wel-actions .btn { flex: 1 1 auto; }
  .hero-wel-all { position: static; align-self: center; }
  .hero.hero-news[data-hero-variant="welcome"]::before { width: 300px; height: 300px; right: -120px; top: -120px; }
  .hero.hero-news[data-hero-variant="welcome"]::after { display: none; }
}

/* Welcome hero on the dark background (same as "Kërkim" / "Lajmet").
   Toggle: data-hero-theme="dark" on the hero section in Ballina.html. */
.hero.hero-news[data-hero-variant="welcome"][data-hero-theme="dark"] {
  background:
    radial-gradient(40rem 28rem at 90% -10%, rgba(var(--primary-rgb), 0.32) 0%, transparent 65%),
    radial-gradient(30rem 22rem at -5% 110%, rgba(var(--primary-rgb), 0.2) 0%, transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, #0C3B42 55%, var(--primary-deep) 100%);
}
.hero.hero-news[data-hero-variant="welcome"][data-hero-theme="dark"]::before {
  width: auto; height: auto;
  inset: 0;
  right: 0; top: 0;
  border: none;
  border-radius: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hero.hero-news[data-hero-variant="welcome"][data-hero-theme="dark"]::after { border-color: rgba(255, 255, 255, 0.1); }
[data-hero-theme="dark"] .hero-wel-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--primary-light);
  box-shadow: none;
}
.hero[data-hero-theme="dark"] .hero-wel-title { color: var(--white); }
[data-hero-theme="dark"] .hero-wel-lead { color: rgba(255, 255, 255, 0.75); }
[data-hero-theme="dark"] .hero-wel-actions .btn-primary { background: var(--white); border-color: var(--white); color: var(--primary-deep); }
[data-hero-theme="dark"] .hero-wel-actions .btn-primary:hover { background: var(--primary-tint); border-color: var(--primary-tint); }
[data-hero-theme="dark"] .hero-wel-actions .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
[data-hero-theme="dark"] .hero-wel-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
[data-hero-theme="dark"] .hero-wel-trust { color: rgba(255, 255, 255, 0.7); }
[data-hero-theme="dark"] .hero-wel-trust svg { color: var(--primary-light); }
[data-hero-theme="dark"] .hero-wel-card { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6); }
[data-hero-theme="dark"] .hero-wel-arrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); color: var(--white); box-shadow: none; }
[data-hero-theme="dark"] .hero-wel-arrow:hover { background: var(--white); border-color: var(--white); color: var(--primary-deep); }
[data-hero-theme="dark"] .hero-wel-dot { background: rgba(255, 255, 255, 0.3); }
[data-hero-theme="dark"] .hero-wel-dot:hover { background: rgba(255, 255, 255, 0.55); }
[data-hero-theme="dark"] .hero-wel-dot.is-active { background: var(--primary); }
[data-hero-theme="dark"] .hero-wel-all { color: var(--primary-light); }
[data-hero-theme="dark"] .hero-wel-all:hover { color: var(--white); }

/* ── Hero variant: search (dark, registry search inside the hero) ── */
.hero.hero-news[data-hero-variant="search"] {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(40rem 28rem at 85% -10%, rgba(var(--primary-rgb), 0.35) 0%, transparent 65%),
    radial-gradient(32rem 24rem at -5% 110%, rgba(var(--primary-rgb), 0.22) 0%, transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, #0C3B42 55%, var(--primary-deep) 100%);
}
/* Faint dot grid for texture. */
.hero.hero-news[data-hero-variant="search"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
[data-hero-variant="search"] .hero-news-nav,
[data-hero-variant="search"] .hero-news-progress { display: none; }
[data-hero-variant="search"] .hero-news-slider { background: none; box-shadow: none; border-radius: 0; overflow: visible; }

.hero-src {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
  animation: hero-fade 0.5s ease;
}
.hero-src-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-src-eyebrow {
  margin-bottom: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--primary-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .hero-src-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
}
.hero-src-lead {
  max-width: 58ch;
  margin: 0 0 1.75rem;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.hero-src-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 640px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.08);
  color: var(--gray-500);
}
.hero-src-form:focus-within { box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(var(--primary-rgb), 0.45); }
.hero-src-form svg { flex-shrink: 0; }
.hero-src-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 1.02rem;
  color: var(--gray-900);
}
.hero-src-form input::placeholder { color: var(--gray-400); }
.hero-src-form .btn { height: 48px; padding: 0 1.6rem; border-radius: 12px; font-size: 0.98rem; }
.hero-src-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.1rem; }
.hero-src-chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.hero-src-chip:hover { background: var(--white); border-color: var(--white); color: var(--primary-deep); }

.hero-src-news { width: 100%; }
.hero-src-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero-src-news-head a { color: var(--primary-light); text-transform: none; letter-spacing: 0; font-size: 0.86rem; }
.hero-src-news-head a:hover { color: var(--white); }
.hero-src-news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.hero-src-news-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-src-news-item:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(var(--primary-rgb), 0.6); transform: translateY(-2px); color: var(--white); }
.hero-src-news-item time { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-light); }
.hero-src-news-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero.hero-news[data-hero-variant="search"] { padding: 2.25rem 0 2rem; }
  [data-hero-variant="search"] .container.hero-news-shell { padding: 0 1.1rem; }
  .hero-src-news-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-src-form { padding: 0.35rem 0.35rem 0.35rem 0.85rem; }
  .hero-src-form .btn { padding: 0 1rem; }
  .hero-src-form svg { display: none; }
}

/* ── Hero variant: spotlight (news only — featured story + story tabs) ── */
.hero.hero-news[data-hero-variant="spotlight"] {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(40rem 28rem at 90% -10%, rgba(var(--primary-rgb), 0.32) 0%, transparent 65%),
    radial-gradient(30rem 22rem at -5% 110%, rgba(var(--primary-rgb), 0.2) 0%, transparent 65%),
    linear-gradient(160deg, var(--ink) 0%, #0C3B42 55%, var(--primary-deep) 100%);
}
.hero.hero-news[data-hero-variant="spotlight"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}
[data-hero-variant="spotlight"] .hero-news-nav,
[data-hero-variant="spotlight"] .hero-news-progress { display: none; }
[data-hero-variant="spotlight"] .hero-news-slider { background: none; box-shadow: none; border-radius: 0; overflow: visible; }

.hero-spot { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.25rem); }
.hero-spot-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: 340px;
}
.hero-spot-text { animation: hero-fade 0.45s ease; }
.hero-spot-text .hero-news-kicker { margin-bottom: 1rem; }
.hero .hero-spot-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-spot-excerpt {
  margin: 0 0 1.5rem;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-spot-actions { display: flex; align-items: center; gap: 0.6rem; }
.hero-spot-btn {
  margin-right: 0.4rem;
  background: var(--white);
  color: var(--primary-deep);
  border-color: var(--white);
}
.hero-spot-btn:hover { background: var(--primary-tint); border-color: var(--primary-tint); color: var(--primary-deep); }
.hero-spot-arrow {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.hero-spot-arrow:hover { background: var(--white); border-color: var(--white); color: var(--primary-deep); }

.hero-spot-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  animation: hero-fade 0.5s ease;
}
.hero-spot-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-spot-media:hover img { transform: scale(1.04); }
.hero-spot-media.is-logo { background: var(--white); }
.hero-spot-media.is-logo img { object-fit: contain; padding: 1rem; }
.hero-spot-media.is-logo:hover img { transform: none; }

.hero-spot-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-spot-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hero-spot-tab:hover { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.9); }
.hero-spot-tab.is-active {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.hero-spot-tab time {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.hero-spot-tab-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Countdown bar on the active tab (matches the 6.5s auto-advance). */
.hero-spot-bar {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hero-spot-tab.is-active .hero-spot-bar { animation: hero-countdown 6.5s linear forwards; }
.hero-news-shell:hover .hero-spot-tab.is-active .hero-spot-bar,
.hero-news-shell:focus-within .hero-spot-tab.is-active .hero-spot-bar { animation-play-state: paused; }

@media (max-width: 900px) {
  .hero.hero-news[data-hero-variant="spotlight"] { padding: 1.25rem 0 1.5rem; }
  [data-hero-variant="spotlight"] .container.hero-news-shell { padding: 0 1rem; }
  .hero-spot-feature { grid-template-columns: 1fr; gap: 1.25rem; min-height: 0; }
  .hero-spot-media { order: -1; aspect-ratio: 16 / 9; }
  .hero .hero-spot-title { font-size: clamp(1.35rem, 6vw, 1.8rem); -webkit-line-clamp: 3; }
  .hero-spot-excerpt { display: none; }
  .hero-spot-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
  }
  .hero-spot-tab { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Spotlight (news only) on the light "Mirëseardhje" background.
   Toggle: data-hero-theme="light" on the hero section in Ballina.html. */
.hero.hero-news[data-hero-variant="spotlight"][data-hero-theme="light"] {
  background:
    radial-gradient(38rem 26rem at 88% 8%, rgba(var(--primary-rgb), 0.28) 0%, transparent 70%),
    radial-gradient(30rem 22rem at 0% 100%, rgba(var(--primary-rgb), 0.16) 0%, transparent 70%),
    linear-gradient(180deg, var(--primary-tint) 0%, #F4FAFB 100%);
}
.hero.hero-news[data-hero-variant="spotlight"][data-hero-theme="light"]::before {
  inset: auto;
  width: 520px; height: 520px;
  right: -140px; top: -200px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb), 0.28);
  background: none;
  mask-image: none;
  -webkit-mask-image: none;
}
.hero.hero-news[data-hero-variant="spotlight"][data-hero-theme="light"]::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  right: -40px; top: -100px;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--primary-rgb), 0.28);
  pointer-events: none;
}
[data-hero-theme="light"] .hero-spot-text .hero-news-kicker {
  background: var(--white);
  border-color: rgba(var(--primary-rgb), 0.35);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}
.hero[data-hero-theme="light"] .hero-spot-title { color: var(--ink); }
[data-hero-theme="light"] .hero-spot-excerpt { color: var(--gray-600); }
[data-hero-theme="light"] .hero-spot-btn { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
[data-hero-theme="light"] .hero-spot-btn:hover { background: var(--primary-deep); border-color: var(--primary-deep); color: var(--white); }
[data-hero-theme="light"] .hero-spot-arrow {
  background: var(--white);
  border-color: rgba(var(--primary-dark-rgb), 0.25);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}
[data-hero-theme="light"] .hero-spot-arrow:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
[data-hero-theme="light"] .hero-spot-media {
  background: var(--white);
  outline: 1px solid rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-lg);
}
[data-hero-theme="light"] .hero-spot-tabs { border-top-color: rgba(var(--primary-dark-rgb), 0.15); }
[data-hero-theme="light"] .hero-spot-tab { color: var(--gray-600); }
[data-hero-theme="light"] .hero-spot-tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--gray-900); }
[data-hero-theme="light"] .hero-spot-tab.is-active {
  background: var(--white);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
[data-hero-theme="light"] .hero-spot-tab time { color: var(--primary-dark); }
[data-hero-theme="light"] .hero-spot-bar { background: var(--primary-dark); }
@media (max-width: 900px) {
  .hero.hero-news[data-hero-variant="spotlight"][data-hero-theme="light"]::before { width: 300px; height: 300px; right: -120px; top: -120px; }
  .hero.hero-news[data-hero-variant="spotlight"][data-hero-theme="light"]::after { display: none; }
}

/* ── Conference CTA ─────────────────────────────────────────── */
.hero-conference-cta {
  background: linear-gradient(135deg, #f0f7fa 0%, #e8f4f8 50%, #f5f5f5 100%);
  padding: 2.5rem 1rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}
.hero-conference-cta .container { max-width: 1200px; }
.hero-conference-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.hero-conference-banner-link {
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-conference-banner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
}
.hero-conference-banner { display: block; width: 100%; height: auto; }
.hero-conference-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: 50px;
  transition: background 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
}
.hero-conference-cta-link:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
@media (min-width: 768px) { .hero-conference-cta { padding: 3rem 2rem 3.5rem; } }

/* ── Services strip ─────────────────────────────────────────── */
.services-strip {
  background: var(--gray-50);
  padding: 2.5rem 0;
}
.services-strip-inner { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .services-strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-strip-inner { grid-template-columns: repeat(3, 1fr); } }

.service-strip-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
  text-decoration: none;
  color: var(--gray-800);
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.service-strip-card::after {
  content: '\2192';
  margin-left: auto;
  padding-left: 0.5rem;
  color: var(--gray-300);
  font-size: 1.1rem;
  transition: color 0.15s, transform 0.2s;
}
.service-strip-card:hover {
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--primary-dark);
}
.service-strip-card:hover::after { color: var(--primary-dark); transform: translateX(3px); }
@media (min-width: 600px) { .service-strip-card { padding: 1.25rem 1.4rem; } }
.service-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary-tint), rgba(var(--primary-rgb), 0.22));
  border-radius: var(--radius-lg);
  color: var(--primary-dark);
  flex-shrink: 0;
}
@media (min-width: 600px) { .service-strip-icon { width: 50px; height: 50px; } }
.service-strip-card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
@media (min-width: 600px) { .service-strip-card h3 { font-size: 0.98rem; } }
.service-strip-sub { display: block; font-size: 0.72rem; font-weight: 600; color: var(--gray-500); margin-top: 0.1rem; }

/* Akreditim: light feature card (the teal CTA band sits right above it). */
.services-accredit-section { display: block; }
.services-strip-accredit {
  background: var(--white);
  padding: clamp(2rem, 5vw, 3.25rem) 1.5rem;
}
.service-strip-card--accredit {
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(var(--primary-rgb), 0.18) 0%, transparent 60%),
    var(--primary-tint);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  border-radius: var(--radius-xl);
  box-shadow: none;
}
.service-strip-card--accredit::after { display: none; }
.service-strip-card--accredit:hover {
  color: var(--gray-800);
  border-color: rgba(var(--primary-rgb), 0.6);
  box-shadow: var(--shadow-md);
  transform: none;
}
.service-strip-card--accredit .service-strip-icon {
  width: 60px; height: 60px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 16px;
}
.service-strip-card-body { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; min-width: 0; }
.service-strip-card--accredit h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.2; color: var(--ink); }
.service-strip-card-desc {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 600px;
}
.service-strip-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  padding: 0.7rem 1.5rem;
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.15s;
}
.service-strip-card-cta::after { content: '\2192'; transition: transform 0.2s; }
.service-strip-card--accredit:hover .service-strip-card-cta { background: var(--primary-deep); color: var(--white); }
.service-strip-card--accredit:hover .service-strip-card-cta::after { transform: translateX(3px); }

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(var(--primary-rgb), 0.45) 0%, transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(var(--primary-rgb), 0.25) 0%, transparent 60%),
    linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  border-top: none;
}
.section.cta-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.cta-section h2 { color: var(--white); margin-bottom: 0.6rem; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 1.6rem; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-section .btn-white { color: var(--primary-deep); font-weight: 700; border-color: transparent; }
.cta-section .btn-white:hover { color: var(--primary-deep); background: var(--primary-tint); }

/* ── Home Tri Cards ─────────────────────────────────────────── */
.home-tri--mosaic {
  --tri-accent: var(--primary-dark);
  --tri-accent-soft: rgba(var(--primary-dark-rgb), 0.1);
  --tri-glow: rgba(var(--primary-dark-rgb), 0.15);
  background: var(--gray-50);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--gray-100);
}
.home-tri--mosaic::before { display: none; }
.home-tri--mosaic .container { position: relative; }
.home-tri-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 900px) { .home-tri-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.home-tri-col[data-tri-theme='oftk']    { --tri-accent: var(--primary-dark); --tri-accent-soft: rgba(var(--primary-dark-rgb),0.1); --tri-glow: rgba(var(--primary-dark-rgb),0.2); }
.home-tri-col[data-tri-theme='wcpt']    { --tri-accent: #0d9488; --tri-accent-soft: rgba(13,148,136,0.1); --tri-glow: rgba(13,148,136,0.2); }
.home-tri-col[data-tri-theme='members'] { --tri-accent: #b45309; --tri-accent-soft: rgba(180,83,9,0.1); --tri-glow: rgba(180,83,9,0.18); }

.home-tri-card {
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-tri-card:hover {
  border-color: var(--tri-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.home-tri-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  outline: none;
}
.home-tri-card-link:focus-visible { outline: 2px solid var(--tri-accent); outline-offset: -6px; }

.home-tri-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gray-100);
}
.home-tri-card-media--brand {
  aspect-ratio: auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.home-tri-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tri-accent);
  background: var(--tri-accent-soft);
  border: 1px solid rgba(0,0,0,0.06);
}
.home-tri-badge--overlay {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  z-index: 2;
  max-width: calc(100% - 1.7rem);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-color: rgba(255,255,255,0.7);
}
.home-tri-img-frame { position: absolute; inset: 0; }
.home-tri-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.home-tri-card:hover .home-tri-img-frame img { transform: scale(1.04); }
.home-tri-card-media::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.28) 100%);
}
.home-tri-card-media--brand::after { display: none; }

.home-tri-img-wrap {
  position: relative; z-index: 1;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.home-tri-img-wrap--round { width: 112px; height: 112px; }
.home-tri-img-wrap--round.home-tri-img-wrap--news img { object-fit: cover; border-radius: 50%; padding: 0; }
.home-tri-img-wrap--round img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; display: block; }

.home-tri-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.25rem 1.25rem;
  gap: 0;
}
.home-tri-date {
  order: -1;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--tri-accent);
  margin: 0 0 0.6rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--tri-accent-soft);
}
.home-tri-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin: 0 0 0.6rem;
  transition: color 0.2s;
  letter-spacing: -0.02em;
}
.home-tri-card-link:hover .home-tri-featured-title { color: var(--tri-accent); }
.home-tri-excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-tri-card-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tri-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.01em;
  transition: gap 0.2s;
}
.home-tri-card-link:hover .home-tri-card-cta { gap: 0.5rem; }

.home-tri-footer-link { text-align: center; margin: 2rem 0 0; }
.home-tri-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.home-tri-more-btn::after { content: '\2192'; font-size: 1em; transition: transform 0.2s; }
.home-tri-more-btn:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb), 0.04);
}
.home-tri-more-btn:hover::after { transform: translateX(4px); }

.home-tri-page-title {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Kongresi ────────────────────────────────────────────────── */
.kongresi-lead { font-size: clamp(1rem, 2.2vw, 1.18rem); font-weight: 600; color: var(--primary-dark); margin: 0.5rem 0 0; }
.kongresi-page { max-width: 900px; margin: 0 auto; }
.kongresi-banner-wrap { margin-bottom: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.kongresi-banner-img { display: block; width: 100%; height: auto; }
.kongresi-card { margin-bottom: 1.5rem; }
.kongresi-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .kongresi-grid { grid-template-columns: 1fr 1fr; } }
.kongresi-card-lead { font-weight: 600; color: var(--gray-800); margin-bottom: 0.5rem; }
.kongresi-card-note { font-size: 0.93rem; color: var(--gray-600); margin: 0; line-height: 1.5; }
.kongresi-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: stretch; margin: 0 0 1.75rem; }
.kongresi-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  background: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  transition: background 0.15s, box-shadow 0.15s;
  max-width: 100%;
}
.kongresi-action-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.kongresi-program-title { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--gray-800); }
.kongresi-program-list { list-style: none; padding: 0; }
.kongresi-program-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.93rem; color: var(--gray-700); line-height: 1.5; }
.kongresi-program-list li:last-child { border-bottom: none; }
.kongresi-session-time { font-weight: 700; color: var(--primary-dark); margin-right: 0.5rem; }
.kongresi-session-title { font-weight: 500; }
.kongresi-speaker-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.kongresi-speaker-list li { font-size: 0.85rem; color: var(--gray-600); padding: 0.25rem 0; }

/* ── News article ─────────────────────────────────────────────── */
.news-article-page { max-width: 760px; margin: 0 auto; }
.news-article-back { display: inline-block; margin-bottom: 1.25rem; font-weight: 600; }
.news-article-header { margin-top: 0; }
.news-article-title { font-size: clamp(1.65rem, 4vw, 2.35rem); margin: 0 0 1rem; line-height: 1.18; letter-spacing: -0.03em; }
.news-article-meta { color: var(--gray-500); font-size: 0.9rem; margin: 0 0 0.35rem; }
.news-article-image {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  background: var(--gray-100);
}
.news-article-body { line-height: 1.75; color: var(--gray-700); }
.news-article-body p { margin-bottom: 1.1rem; }

/* ── Hero (general sections) ──────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.5rem 1.5rem;
  width: 100%;
}
.hero-inner { width: 100%; max-width: 560px; text-align: left; }
@media (min-width: 768px) { .hero-container { grid-template-columns: 1fr 320px; gap: 1.25rem; padding: 3rem 1.5rem; } }
@media (min-width: 992px) { .hero-container { grid-template-columns: 1fr 360px; gap: 1.5rem; min-height: 420px; } }

.hero-right-news { display: flex; flex-direction: column; gap: 0.9rem; width: 100%; }
@media (min-width: 768px) {
  .hero-right-news { flex-direction: row; gap: 0.75rem; align-items: stretch; }
  .hero-main-news { flex: 1 1 auto; }
  .hero-extra-news-wrap { flex: 0 0 240px; padding: 0 !important; margin: 0; display: flex; align-items: stretch; justify-content: flex-start; width: 300px; height: 100%; }
  .hero-extra-news-grid { flex-direction: row !important; gap: 0.6rem !important; align-items: stretch; height: 100%; }
}

.hero h1 { color: var(--white); font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.75rem; }
.hero .slogan { font-size: clamp(1rem, 2vw, 1.2rem); opacity: 0.85; margin-bottom: 0.5rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.hero-slogan-small { font-size: 0.93rem !important; margin-top: -0.25rem; margin-bottom: 1.25rem !important; }
.hero .btn { margin-top: 0.5rem; }

.hero-main-news {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  min-height: 160px;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .hero-main-news { min-height: 240px; } }
.hero-main-news-label {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary-light);
  padding: 0.55rem 1rem 0.3rem;
  background: rgba(255,255,255,0.04);
}
.hero-main-news-link { display: block; flex: 1; text-decoration: none; color: var(--white); }
.hero-main-news-image {
  width: 100%; height: 100%; min-height: 120px;
  object-fit: cover; display: block;
}
@media (min-width: 768px) { .hero-main-news-image { min-height: 180px; } }
.hero-main-news-caption {
  display: block;
  padding: 0.85rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10,20,35,0.92) 0%, rgba(10,20,35,0.5) 60%, transparent 100%);
  position: relative;
}
.hero-main-news-caption .hero-main-news-meta { display: block; font-size: 0.72rem; opacity: 0.8; margin-bottom: 0.3rem; font-weight: 500; }
.hero-main-news-caption .hero-main-news-title, .hero-main-news-inner .hero-main-news-title {
  display: block; font-size: 0.93rem; font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: -0.01em;
}
.hero-main-news-inner .hero-main-news-meta { display: block; font-size: 0.72rem; opacity: 0.8; margin-bottom: 0.25rem; }
.hero-main-news-inner .hero-main-news-excerpt { font-size: 0.83rem; opacity: 0.85; line-height: 1.4; margin: 0; }
.hero-main-news-placeholder { font-size: 0.88rem; opacity: 0.85; margin: 0; padding: 1rem; }

.hero-extra-news-wrap { display: flex; flex-direction: column; gap: 0.9rem; padding: 0 1rem 1rem; }
.hero-extra-news-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 0.75rem; width: 100%; height: 100%; }
@media (min-width: 768px) { .hero-extra-news-grid { grid-template-columns: 1fr; } }
.hero-extra-news-item {
  display: flex; flex-direction: column; height: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.hero-extra-news-item:hover { background: rgba(255,255,255,0.09); }
.hero-extra-news-item.is-updating { opacity: 0; transform: translateY(10px); }
.hero-extra-news-meta { display: block; font-size: 0.72rem; opacity: 0.8; margin-bottom: 0.25rem; color: var(--white); }
.hero-extra-news-title { font-size: 0.92rem; font-weight: 700; line-height: 1.3; color: var(--white); margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.hero-extra-news-link { font-size: 0.82rem; font-weight: 600; color: var(--primary-light); text-decoration: none; letter-spacing: 0.01em; }
.hero-extra-news-link:hover { text-decoration: underline; }

/* Activity sections */
.activity-sections { background: var(--white); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(var(--primary-rgb), 0.5); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .card-image { transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.card:hover .card-image { transform: scale(1.03); }
.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--gray-100);
}
.card-body { padding: 1.35rem; }
.card-title { font-size: 1.05rem; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.card-meta { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: 0.5rem; }
.card p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 0.7rem; }
.card .link { font-size: 0.88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.25rem; }

.news-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

/* Gallery */
.gallery-card .gallery-card-image-wrap { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; font: inherit; }
.gallery-card .gallery-card-image-wrap .card-image { display: block; width: 100%; }
.section--gallery-page .gallery-root { display: flex; flex-direction: column; gap: 2.25rem; }
@media (min-width: 768px) { .section--gallery-page .gallery-root { gap: 2.75rem; } }
.gallery-album__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.gallery-album__grid.news-grid { margin: 0; }
/* Shigjetat < > rrinë anash, të vendosura mbi skajet e grid-it (jo si kolona të veçanta),
   që grid-i të ketë gjithmonë gjerësi të plotë dhe të rreshtohet njësoj me albumet pa pager. */
.gallery-album__pager { position: relative; width: 100%; }
.gallery-pager__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.6rem; min-width: 2.6rem; height: 2.6rem;
  padding: 0; border-radius: var(--radius);
  border: 1.5px solid var(--primary);
  background: var(--white); color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 1.1rem; font-weight: 700; line-height: 1; cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.gallery-pager__btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.gallery-pager__btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.gallery-pager__btn:disabled { border-color: var(--gray-200); color: var(--gray-300); box-shadow: none; cursor: not-allowed; }
.gallery-pager__prev { left: -1.3rem; }
.gallery-pager__next { right: -1.3rem; }
@media (max-width: 480px) {
  .gallery-pager__btn { width: 2.2rem; min-width: 2.2rem; height: 2.2rem; font-size: 0.95rem; }
  .gallery-pager__prev { left: -1.1rem; }
  .gallery-pager__next { right: -1.1rem; }
}
.gallery-album__empty { grid-column: 1 / -1; margin: 0; padding: 0.5rem 0 1rem; }

.section--gallery-page .gallery-single-hero {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: transparent;
}
.section--gallery-page .gallery-single-hero__zoom { display: block; width: auto; max-width: 100%; margin: 0; padding: 0; border: none; cursor: zoom-in; background: transparent; font: inherit; line-height: 0; border-radius: var(--radius-lg); overflow: hidden; }
.section--gallery-page .gallery-single-hero__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
}
.section--gallery-page .gallery-single-hero__zoom:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.section--gallery-page .gallery-single-hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; margin: 0; padding: 0;
  border: 1.5px solid var(--primary); border-radius: var(--radius);
  background: rgba(255,255,255,0.95); color: var(--primary-dark);
  font-size: 1.5rem; font-weight: 600; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background 0.12s, transform 0.12s;
}
.section--gallery-page .gallery-single-hero__nav:hover { background: rgba(var(--primary-rgb),0.1); transform: translateY(-50%) scale(1.04); }
.section--gallery-page .gallery-single-hero__nav--prev { left: -3.5rem; }
.section--gallery-page .gallery-single-hero__nav--next { right: -3.5rem; }
@media (max-width: 480px) {
  .section--gallery-page .gallery-single-hero__nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .section--gallery-page .gallery-single-hero__nav--prev { left: -2.75rem; }
  .section--gallery-page .gallery-single-hero__nav--next { right: -2.75rem; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-backdrop { position: absolute; inset: 0; z-index: 0; margin: 0; padding: 0; border: none; background: transparent; cursor: pointer; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 2.4rem; height: 2.4rem; border: none; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: var(--radius); transition: background 0.15s; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-panel { position: relative; z-index: 1; max-width: min(96vw,1200px); max-height: 92vh; display: flex; flex-direction: column; align-items: stretch; pointer-events: none; }
.lightbox-panel > * { pointer-events: auto; }
.lightbox-toolbar { display: flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 0.35rem 0 0.65rem; flex-shrink: 0; }
.lightbox-zoom-btn { min-width: 2.4rem; height: 2.1rem; padding: 0 0.6rem; border: none; border-radius: var(--radius); background: rgba(255,255,255,0.15); color: #fff; font-size: 1rem; font-weight: 600; line-height: 1; cursor: pointer; }
.lightbox-zoom-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-zoom-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-zoom-reset { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; }
.lightbox-nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 3rem; height: 3rem; border: none; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; font-size: 2rem; line-height: 1; padding: 0 0 0.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.lightbox-nav[hidden] { display: none; }
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-nav--prev { left: 1rem; }
.lightbox-nav--next { left: calc(100% - 4rem); }
@media (max-width: 640px) { .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; background: rgba(0,0,0,0.45); } }
.lb-counter { color: rgba(255,255,255,0.8); font-size: 0.85rem; font-variant-numeric: tabular-nums; margin-left: 0.5rem; }
.lightbox-inner { overflow: hidden; width: min(96vw, 1280px); height: min(82vh, calc(100vh - 6rem)); display: flex; align-items: center; justify-content: center; cursor: grab; position: relative; touch-action: none; }
.lightbox-inner.is-dragging { cursor: grabbing; }
.lightbox-zoom-root { line-height: 0; flex-shrink: 0; }
.lightbox-zoom-img { display: block; max-width: min(94vw, 1240px); max-height: min(80vh, calc(100vh - 6.5rem)); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center center; will-change: transform; pointer-events: none; }
.lb-zoom-level { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.7); min-width: 3rem; text-align: center; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }

/* ── Sections (misc) ─────────────────────────────────────────── */
.section-title-h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--gray-800); letter-spacing: -0.02em; }
.section-intro { color: var(--gray-600); margin-bottom: 2rem; }

.member-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .member-grid { grid-template-columns: repeat(4, 1fr); } }

.member-card {
  padding: 1.15rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.member-card h3 { font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--gray-800); }
.member-card p { font-size: 0.83rem; color: var(--gray-600); margin: 0; }
.member-card p + p { margin-top: 0.3rem; }
.member-card .member-contact { font-size: 0.78rem; color: var(--gray-500); }
.member-card .member-contact a { color: var(--primary-dark); }
.member-card--with-photo { padding: 0; overflow: hidden; text-align: center; }
.member-card--with-photo .member-card__photo { aspect-ratio: 1; max-height: 300px; margin: 0 auto; background: var(--gray-200); }
.member-card--with-photo .member-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.member-card--with-photo .member-card__body { padding: 1rem 1.15rem 1.15rem; text-align: left; }
@media (min-width: 576px) { .member-grid--kryesia { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 992px) { .member-grid--kryesia { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.commission-group { margin-bottom: 2.5rem; }
.commission-group:last-of-type { margin-bottom: 0; }
.commission-group-title { font-size: 1.2rem; margin-bottom: 1rem; color: var(--gray-800); letter-spacing: -0.02em; }
.commission-group-subtitle { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 1rem; }

.about-preview { background: var(--gray-50); }
.about-preview-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .about-preview-inner { grid-template-columns: 1fr 1fr; } }
.about-preview-text h2 { margin-bottom: 1rem; }
.about-preview-text p { color: var(--gray-600); margin-bottom: 1rem; }
.about-preview-visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 3rem;
  box-shadow: var(--shadow-md);
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: #4EC3CF;
  color: var(--white);
  padding: 3.25rem 0 1.25rem;
  border-top: none;
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-oftk { grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-oftk { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-oftk h4 { font-size: 0.85rem; }
.footer-oftk p { font-size: 0.87rem; margin-bottom: 0.5rem; }
.footer-oftk small { opacity: 0.72; }
.footer-brand .logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand .logo:hover { color: var(--white); opacity: 0.85; }
.footer-brand p { font-size: 0.87rem; max-width: 280px; margin-bottom: 1rem; opacity: 0.92; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.5);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.site-footer a:hover { color: var(--white); text-decoration-color: currentColor; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 0.85rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  font-weight: normal;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.footer-social a:hover { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.footer-social a svg { width: 20px; height: 20px; flex-shrink: 0; }
.footer-bottom {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.35);
  text-align: center;
  font-size: 0.82rem;
  color: var(--white);
}

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  position: relative;
  background:
    radial-gradient(45% 140% at 100% 0%, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%),
    linear-gradient(180deg, var(--primary-tint) 0%, var(--gray-50) 100%);
  border-bottom: 1px solid var(--gray-100);
  padding: 2.75rem 0 2.5rem;
}
.page-hero h1 { margin-bottom: 0.4rem; color: var(--ink); }
.page-hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 2px;
  background: var(--primary);
}
.page-hero p { color: var(--gray-600); font-size: 0.95rem; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--gray-700); font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 0.6rem 0.95rem;
  font-size: 0.97rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-dark-rgb), 0.12); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 576px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ── Registry / Table ────────────────────────────────────────── */
.registry-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.registry-search { flex: 1; min-width: 200px; max-width: 420px; position: relative; }
.registry-search input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  font-size: 0.97rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s;
}
.registry-search input:focus { outline: none; border-color: var(--primary); }
.registry-search::before {
  content: '';
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center;
}
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead { background: var(--gray-50); }
th { text-align: left; padding: 0.8rem 1rem; font-weight: 700; color: var(--gray-700); border-bottom: 1px solid var(--gray-200); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
tbody tr:hover { background: var(--gray-50); }
tbody tr:last-child td { border-bottom: none; }

/* ── Documents ───────────────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 0.6rem; }
.doc-empty { padding: 1.5rem 1.25rem; border: 1px dashed var(--gray-200); border-radius: var(--radius-lg); background: var(--gray-50); color: var(--gray-600); text-align: center; }
.legj-section-title { font-size: 1.05rem; margin-bottom: 0.75rem; padding-top: 0.5rem; color: var(--primary-dark); font-weight: 700; letter-spacing: -0.01em; }
.legj-back-link { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.legj-back-link:hover { text-decoration: underline; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-800);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.doc-item:hover { border-color: var(--primary); box-shadow: 0 2px 10px rgba(var(--primary-dark-rgb), 0.1); color: var(--gray-900); }
.doc-item-icon { color: var(--primary-dark); flex-shrink: 0; }
.doc-item-name { font-size: 0.93rem; font-weight: 600; }
.doc-item-meta { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.1rem; }
.doc-item-content { flex: 1; min-width: 0; }
.doc-item-title { font-size: 0.95rem; font-weight: 600; color: var(--gray-900); }
.doc-item-actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; }
.doc-item-download {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  background: var(--white);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.doc-item-download:hover { background: var(--primary-tint); color: var(--primary-deep); }
.doc-item-download[download] { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.doc-item-download[download]:hover { background: var(--primary-deep); border-color: var(--primary-deep); }

/* ── Legislation ─────────────────────────────────────────────── */
.legj-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.legj-nav a {
  display: inline-block;
  padding: 0.42rem 0.9rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.legj-nav a:hover, .legj-nav a.active { border-color: var(--primary); color: var(--primary-dark); background: rgba(var(--primary-rgb), 0.05); }

/* ── Registri fshirë ─────────────────────────────────────────── */
.fshire-page .fshire-table-wrap { margin-top: 1.25rem; }
.fshire-info { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }

/* ── Akreditimi / Anetaresimi ────────────────────────────────── */
.accredit-section, .anetaresimi-section { max-width: 760px; margin: 0 auto; }
.accredit-steps { counter-reset: step; }
.accredit-step {
  display: flex; gap: 1.25rem; margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}
.accredit-step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  font-family: var(--font-display);
}
.accredit-step-body h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.accredit-step-body p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ── Trajnime ─────────────────────────────────────────────────── */
.trajnim-card {
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: border-color 0.15s;
}
.trajnim-card:hover { border-color: var(--primary); }
.trajnim-card-header { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0.6rem; }
.trajnim-badge {
  flex-shrink: 0;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-dark);
}
.trajnim-card h3 { font-size: 1rem; margin: 0; letter-spacing: -0.01em; }
.trajnim-card-meta { font-size: 0.82rem; color: var(--gray-500); }

/* ── Kontakt ──────────────────────────────────────────────────── */
.kontakt-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .kontakt-grid { grid-template-columns: 1fr 1.4fr; } }
.kontakt-info { padding: 1.5rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.kontakt-info h3 { margin-bottom: 1rem; }
.kontakt-info p { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 0.6rem; }

/* ── Regjistri search result ──────────────────────────────────── */
.regjistri-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-500); }
.regjistri-count { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1rem; }

/* ── Historiku prose ──────────────────────────────────────────── */
.historiku-prose { max-width: 780px; }
.historiku-prose p { margin-bottom: 1.1rem; color: var(--gray-700); line-height: 1.75; }
.historiku-prose h2, .historiku-prose h3 { margin-top: 1.75rem; margin-bottom: 0.6rem; }
.historiku-of-single p { color: var(--gray-700); line-height: 1.75; }

/* ── Organet ──────────────────────────────────────────────────── */
.organet-section { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.organet-section-title {
  font-size: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.6rem;
  letter-spacing: -0.02em;
}

/* ── Konkurse ─────────────────────────────────────────────────── */
.konkurs-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1.1rem;
  transition: border-color 0.15s;
}
.konkurs-card:hover { border-color: var(--primary); }
.konkurs-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.konkurs-card-meta { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.konkurs-form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; margin-top: 2rem; }
.konkurs-form h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }

/* ── Regjistri page ───────────────────────────────────────────── */
.regjistri-hero { background: var(--dark); padding: 2.5rem 0; }
.regjistri-hero h1 { color: var(--white); }
.regjistri-hero p { color: rgba(255,255,255,0.72); }

/* ── Fizioterapeutet e fshire ─────────────────────────────────── */
.fshire-notice {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-dark-rgb), 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ── Nav search (mobile hidden) ──────────────────────────────── */
.nav-desktop-tools { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* ── Home Lajmet section ──────────────────────────────────────── */
.home-lajmet {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.home-lajmet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.home-lajmet-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin: 0;
}
.home-lajmet-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.home-lajmet-all:hover { color: var(--primary); }
.home-lajmet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .home-lajmet-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .home-lajmet-grid { grid-template-columns: repeat(2, 1fr); } }

.home-lajmet-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-lajmet-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.home-lajmet-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.home-lajmet-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.home-lajmet-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.home-lajmet-card:hover .home-lajmet-img-wrap img { transform: scale(1.04); }
.home-lajmet-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: var(--primary-dark);
}
.home-lajmet-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1.25rem;
}
.home-lajmet-date {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary-dark);
  background: rgba(var(--primary-rgb),0.1);
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
}
.home-lajmet-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-lajmet-card:hover .home-lajmet-card-title { color: var(--primary-dark); }
.home-lajmet-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-lajmet-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: auto;
  transition: gap 0.2s;
}
.home-lajmet-card:hover .home-lajmet-cta { text-decoration: underline; }

/* Loading skeletons */
.home-lajmet-card--loading { pointer-events: none; }
.home-lajmet-card--loading .home-lajmet-img-wrap { background: var(--gray-200); }
.home-lajmet-skeleton {
  height: 1rem;
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 4px;
  margin-bottom: 0.65rem;
  width: 85%;
}
.home-lajmet-skeleton--sm { width: 55%; height: 0.8rem; }
@keyframes skeleton-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Dropdown teal theme ─────────────────────────────────────── */
.dropdown--teal { border-top-color: var(--primary); }

/* ── Utility spacing ──────────────────────────────────────────── */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }

/* ── Kontakt page ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.contact-info-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.contact-info-card p {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.contact-info-card p:last-child { margin-bottom: 0; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.contact-info-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  stroke-width: 2;
}
.contact-info-item a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.contact-info-item a:hover { text-decoration: underline; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.map-container {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.map-sticky {
  position: sticky;
  top: 1.5rem;
}
.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary, #0b6b53);
  text-decoration: none;
}
.map-open-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .map-container { height: 320px; }
  .map-sticky { position: static; }
}

/* ── Documents hub: legislation categories ─────────────────────── */
.legj-cat-heading { font-size: 1.2rem; margin: 0 0 1rem; color: var(--ink); }
.legj-cat-heading ~ .legj-cat-heading { margin-top: 2.5rem; }
.legj-cat-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .legj-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .legj-cat-grid { grid-template-columns: repeat(4, 1fr); } }
.legj-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.93rem;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s, color 0.15s;
}
.legj-cat-card:hover { border-color: rgba(var(--primary-rgb), 0.6); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--primary-dark); }
.legj-cat-arrow { color: var(--gray-300); transition: color 0.15s, transform 0.2s; }
.legj-cat-card:hover .legj-cat-arrow { color: var(--primary-dark); transform: translateX(3px); }

/* ══════════════════════════════════════════════════════════════
   v3 – Motion & interactive components
   ══════════════════════════════════════════════════════════════ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Compact header after scrolling ── */
.navbar-top {
  max-height: 140px;
  transition: max-height 0.3s ease, opacity 0.2s ease, border-color 0.3s;
}
.site-header.is-scrolled .navbar-top {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom-color: transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
}
.site-header.is-scrolled > .header-inner { background: transparent; }
.hyrje-page .site-header.is-scrolled .navbar-top { max-height: 140px; opacity: 1; }

/* ── Scroll reveal (class added by JS only, so no-JS stays visible) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* Hover lift must not wait for the reveal delay. */
[data-reveal].is-visible:hover { transition-delay: 0ms; }
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .back-to-top, .reading-progress, .share-bar { display: none !important; }
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--gray-100);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background 0.15s, color 0.15s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary-dark); color: var(--white); }

/* ── Homepage: OFTK në shifra ── */
.stats-band {
  background: var(--gray-50);
  padding: 0 0 2.75rem;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .stats-band-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--gray-700);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.stat-tile::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}
.stat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), 0.5); color: var(--gray-700); }
.stat-tile-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-tile-label { font-size: 0.88rem; font-weight: 500; color: var(--gray-600); }

/* ── Registry: filters, count, status pills, sortable headers ── */
.registry-toolbar { align-items: stretch; }
.registry-search input { border-radius: 10px; min-height: 44px; }
.registry-search input:focus { box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2); }
.registry-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.registry-filter select {
  min-height: 44px;
  padding: 0.5rem 2.2rem 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white) 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='%236B7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.registry-filter select:hover { border-color: var(--gray-300); }
.registry-filter select:focus { outline: none; border-color: var(--primary-dark); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2); }
.registry-reset {
  min-height: 44px;
  padding: 0 0.9rem;
  border: none;
  background: none;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border-radius: 10px;
}
.registry-reset:hover { background: var(--primary-tint); }
.registry-count { margin: -0.5rem 0 1rem; font-size: 0.88rem; color: var(--gray-500); min-height: 1.3em; }
.registry-more-wrap { display: flex; justify-content: center; margin-top: 1.5rem; }
.registry-more-wrap .btn[hidden] { display: none; }
.registry-loading td { text-align: center; padding: 2rem 1rem; color: var(--gray-500); }
th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
th[data-sort]:hover { color: var(--primary-dark); }
th[data-sort]::after { content: '\2195'; margin-left: 0.35rem; opacity: 0.3; font-size: 0.9em; }
th.is-sorted-asc::after { content: '\2191'; opacity: 0.9; color: var(--primary-dark); }
th.is-sorted-desc::after { content: '\2193'; opacity: 0.9; color: var(--primary-dark); }
td mark, .nav-search-result mark { background: rgba(var(--primary-rgb), 0.28); color: inherit; border-radius: 3px; padding: 0 1px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--po { background: #E7F7EE; color: #177245; }
.status-pill--jo { background: var(--gray-100); color: var(--gray-600); }
.status-pill--pezulluar { background: #FFF4E0; color: #9A5B00; }
.table-wrapper { box-shadow: var(--shadow-sm); border-color: var(--gray-100); }

/* Phones: rows become cards instead of a sideways-scrolling table. */
@media (max-width: 700px) {
  .registry-filters { width: 100%; }
  .registry-filter { flex: 1 1 45%; }
  .registry-filter select { width: 100%; }
  .table-wrapper { border: none; box-shadow: none; overflow: visible; }
  .table-wrapper table, .table-wrapper tbody, .table-wrapper tr, .table-wrapper td { display: block; width: 100%; }
  .table-wrapper thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .table-wrapper tbody tr {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }
  .table-wrapper td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border: none; text-align: right; }
  .table-wrapper td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
    text-align: left;
  }
  .table-wrapper tr.registry-loading td { justify-content: center; }
  .table-wrapper tr.registry-loading td::before { display: none; }
}

/* ── News list: search + year chips ── */
.news-toolbar { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.25rem; }
.news-search { max-width: 520px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--primary-dark); color: var(--primary-dark); }
.chip.is-active { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.chip-count { font-size: 0.72rem; opacity: 0.7; font-weight: 700; }
.news-empty { grid-column: 1 / -1; text-align: center; color: var(--gray-500); padding: 2rem 0; }

/* ── News article: progress, meta, share, related ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.news-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.news-article-dot { opacity: 0.5; }
.news-article-image { border-radius: var(--radius-lg); }
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}
.share-bar-label { font-size: 0.85rem; font-weight: 700; color: var(--gray-600); margin-right: 0.25rem; }
.share-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); }
.share-btn-toast {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  pointer-events: none;
}
.share-btn-toast:empty { display: none; }
.related-news { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-100); }
.related-news-title { font-size: 1.35rem; margin-bottom: 1.25rem; color: var(--ink); }
.card-cover-link { display: block; overflow: hidden; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--primary-dark); }

/* ── Accessibility ───────────────────────────────────────────── */
/* Visible keyboard focus everywhere (zero-specificity so component styles
   such as .form-control:focus still win). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.75);
  outline-offset: 2px;
}
.nav-link--trigger[tabindex] { cursor: pointer; }
::selection { background: rgba(var(--primary-rgb), 0.3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
