/* ==========================================================================
   Putokosveta.com — Modern Editorial CSS
   Paleta: Prestižna tamnoplava, jasna kobalt plava, topla bela, diskretni ćilibar akcenti
   Tipografija: Savremeni, čitki, smisleni Sans-Serif sistem sa jasnom hijerarhijom
   ========================================================================== */

:root {
  --color-navy-dark: #091224;
  --color-navy: #0f1e3d;
  --color-navy-surface: #132448;
  --color-primary: #1e3a8a;
  --color-primary-hover: #1e40af;
  --color-blue: #2563eb;
  --color-blue-light: #3b82f6;
  --color-blue-subtle: #eff6ff;
  --color-amber: #d97706;
  --color-amber-light: #f59e0b;
  --color-amber-subtle: #fef3c7;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-muted: #f1f5f9;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 6px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 12px 24px -4px rgb(15 23 42 / 0.12), 0 4px 8px -2px rgb(15 23 42 / 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --max-width: 1240px;
  --content-width: 820px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

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

/* ==========================================================================
   Smislena, moderna tipografija
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 1.6rem;
  margin-bottom: 0.65rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1.025rem;
  line-height: 1.7;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #334155;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  font-weight: 700;
  color: #0f172a;
}

.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 0.875rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.75rem; }

/* ==========================================================================
   Header & Navigacija (Visok nivo estetike)
   ========================================================================== */

.site-header {
  background: var(--color-navy-dark);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px -2px rgba(9, 18, 36, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.site-logo:hover {
  text-decoration: none;
}

.logo-icon-badge {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-transform: lowercase;
}

.logo-highlight {
  color: #fbbf24;
}

.logo-dot {
  color: #fbbf24;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.nav-link.active {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-header-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================================================
   Hero Sekcija (Upečatljiva, čitka i dostojanstvena)
   ========================================================================== */

.hero {
  background: linear-gradient(140deg, #07101f 0%, #0c1a36 45%, #17326b 100%);
  color: #ffffff;
  padding: 4.5rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fef3c7;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.hero-title .accent-text {
  color: #f59e0b;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   Dugmad (Buttons)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: #f59e0b;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: #fbbf24;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Struktura stranice & Sekcije
   ========================================================================== */

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  width: 100%;
  flex: 1;
}

.page-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 780px;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #475569;
  max-width: 780px;
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.75rem;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.article-content {
  font-size: 1.075rem;
  line-height: 1.8;
  color: #334155;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.article-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.75;
  margin-bottom: 2rem;
  border-left: 3px solid #2563eb;
  padding-left: 1.25rem;
}

/* ==========================================================================
   Kartice (Cards)
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-image-wrap {
  position: relative;
  width: calc(100% + 3.2rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: -1.6rem -1.6rem 1.25rem -1.6rem;
  background: #0f1e3d;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.article-hero-image-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  background: #0f1e3d;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.image-caption {
  padding: 0.65rem 1rem;
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  font-style: italic;
}

.page-hero-banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.25rem;
  position: relative;
  background: #0f1e3d;
}

.page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.card-tag.tag-vikend { background: #eef2ff; color: #4338ca; border: 1px solid #e0e7ff; }
.card-tag.tag-region { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
.card-tag.tag-let { background: #f0fdfa; color: #0f766e; border: 1px solid #ccfbf1; }
.card-tag.tag-dalje { background: #fffbeb; color: #b45309; border: 1px solid #fef3c7; }
.card-tag.tag-daleko { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }
.card-tag.tag-svet { background: #faf5ff; color: #7e22ce; border: 1px solid #f3e8ff; }
.card-tag.tag-priprema { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.card-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.card-title a {
  color: var(--color-navy);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.meta-budget {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   Kutije, Pozivi i Tabele
   ========================================================================== */

.callout {
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  border-left: 4px solid;
}

.callout h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.callout-warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #78350f;
}

.callout-warning h3, .callout-warning strong {
  color: #78350f;
}

.callout-info {
  background: var(--color-blue-subtle);
  border-color: var(--color-blue);
  color: #1e3a8a;
}

.highlight-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  margin: 1.75rem 0;
}

.highlight-box h3, .highlight-box h4 {
  margin-top: 0;
  color: var(--color-navy);
}

.tip-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #166534;
}

.formula-box {
  background: var(--color-navy);
  color: #ffffff;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  margin: 1.25rem 0;
}

.formula-box strong {
  color: var(--color-amber-light);
}

/* ==========================================================================
   Responzivne tabele (Responsive Data Tables)
   ========================================================================== */

.table-wrapper {
  overflow-x: auto;
  max-inline-size: 100%;
  margin: 1.75rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

thead {
  background: var(--color-bg-muted);
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}

th {
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

tbody tr:hover {
  background-color: var(--color-blue-subtle);
}

/* ==========================================================================
   Table of Contents (Sadržaj članka)
   ========================================================================== */

.toc-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.25rem;
}

.toc-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-link {
  color: var(--color-blue);
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
}

.toc-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Sidebar: Naši šampioni
   ========================================================================== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.champions-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.champion-item {
  margin-bottom: 0;
}

.champion-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-bg-alt);
  border: 1px solid transparent;
  transition: var(--transition);
}

.champion-link:hover {
  background: var(--color-blue-subtle);
  border-color: #bfdbfe;
  color: var(--color-primary);
  text-decoration: none;
  transform: translateX(3px);
}

.champion-link svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* ==========================================================================
   Filteri na /vodici/ (Interactive Filtering)
   ========================================================================== */

.filter-section {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.25rem;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3rem;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
  background: #ffffff;
}

.search-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.filter-group {
  margin-bottom: 1.15rem;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.55rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.filter-pill:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.filter-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
}

.filter-disclaimer {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
}

.empty-results {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-lg);
  margin-top: 1.75rem;
}

.empty-results-text {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #060c18;
  color: #cbd5e1;
  margin-top: auto;
  padding: 4rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Gornji blok: Brend & Navigacija */
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 520px;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.footer-logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1;
}

.footer-logo .logo-highlight,
.footer-logo .logo-dot {
  color: #fbbf24;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 0.775rem;
  font-weight: 600;
}

/* Navigacija u podnožju */
.footer-navigation {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.footer-nav-heading {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
}

.footer-nav-link {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-nav-link::before {
  content: "›";
  color: #fbbf24;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.footer-nav-link:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

/* Srednji blok: Još sadržaja (18 eksternih linkova) */
.footer-external-block {
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-block-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-block-badge {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.footer-block-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 0;
}

.footer-block-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.external-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.65rem 0.85rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.external-link-card {
  margin: 0;
}

.external-link-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.external-link-card a:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 191, 36, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.ext-link-icon {
  opacity: 0.45;
  flex-shrink: 0;
  transition: all 0.2s ease;
  color: #94a3b8;
}

.external-link-card a:hover .ext-link-icon {
  opacity: 1;
  color: #fbbf24;
  transform: translate(2px, -2px);
}

/* Donja traka (Bottom) */
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-copy strong {
  color: #94a3b8;
  font-weight: 600;
}

.footer-bottom-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
}

/* ==========================================================================
   Responzivnost (Media Queries)
   ========================================================================== */

@media (max-width: 960px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar {
    margin-top: 2rem;
    border-top: 2px solid var(--color-border);
    padding-top: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #091224;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .page-wrapper {
    padding: 2rem 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Štamparski stilovi (Print CSS)
   ========================================================================== */

@media print {
  .site-header, .site-footer, .filter-section, .btn, .sidebar, .header-actions {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .page-wrapper {
    max-width: 100%;
    padding: 0;
  }

  .table-wrapper {
    overflow: visible;
    border: 1px solid #000;
  }

  table {
    font-size: 10pt;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}
