/* ================================================
   StudentskiPoslovi.ba — Frontend CSS
   Bijela pozadina • Tamnoplava • Manrope font
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Paleta boja */
  --navy:        #1a2f4e;
  --navy-deep:   #0f1e33;
  --navy-mid:    #243b5a;
  --navy-light:  #2e4d74;
  --navy-pale:   #e8eef6;
  --navy-xpale:  #f3f6fb;

  --white:       #ffffff;
  --gray-50:     #f8f9fb;
  --gray-100:    #f1f3f7;
  --gray-200:    #e4e8f0;
  --gray-300:    #cdd4de;
  --gray-400:    #9aaabb;
  --gray-500:    #6b7a8d;
  --gray-600:    #4a5568;
  --gray-700:    #2d3748;
  --gray-900:    #1a202c;

  --accent:      #2563eb;
  --accent-lt:   #dbeafe;
  --green:       #059669;
  --green-lt:    #d1fae5;
  --red:         #dc2626;
  --red-lt:      #fee2e2;
  --amber:       #d97706;
  --amber-lt:    #fef3c7;
  --purple:      #7c3aed;
  --purple-lt:   #ede9fe;

  /* Oznake */
  --badge-popular:  #ef4444;
  --badge-featured: #2563eb;
  --badge-quick:    #059669;
  --badge-urgent:   #dc2626;
  --badge-remote:   #7c3aed;
  --badge-weekend:  #d97706;
  --badge-student:  #0891b2;

  /* Tipografija */
  --font: 'Manrope', -apple-system, sans-serif;

  /* Sjene */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.14);

  /* Ostalo */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --transition: 0.2s ease;
  --border:     1px solid var(--gray-200);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-xs);
}

.header-wrap {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.logo-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1;
}

.logo-tld {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.main-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--navy);
  background: var(--gray-50);
}

.main-nav a.active {
  color: var(--navy);
  background: var(--navy-xpale);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn-install {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: var(--border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-install:hover { border-color: var(--navy); color: var(--navy); }
.btn-install.show { display: flex; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-600);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== PAGE HERO (za unutarnje stranice) ===== */
.page-hero {
  background: var(--navy);
  padding: 48px 0 44px;
  color: white;
}

.page-hero-sm {
  background: var(--navy);
  padding: 32px 0;
  color: white;
}

.page-hero h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-hero p {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 10px; }

/* ===== HERO (početna) ===== */
.hero {
  background: var(--navy);
  padding: 72px 0 64px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* Dekorativni krug */
.hero-bg-circle {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.hero-bg-circle::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-content {
  max-width: 680px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.hero-eyebrow i { color: rgba(255,255,255,0.6); font-size: 11px; }

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
}

.hero-lead {
  font-size: 16.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-search-box {
  display: flex;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 560px;
}

.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--gray-900);
  background: transparent;
}
.hero-search-box input::placeholder { color: var(--gray-400); }

.hero-search-box button {
  background: var(--navy);
  color: white;
  border: none;
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}
.hero-search-box button:hover { background: var(--navy-light); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.hero-stat strong { color: white; font-size: 17px; font-weight: 700; }
.hero-stat i { font-size: 14px; color: rgba(255,255,255,0.35); }
.hero-divider { color: rgba(255,255,255,0.15); }

/* ===== SEKCIJE ===== */
.section {
  padding: 60px 0;
}
.section-lg { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-gray { background: var(--gray-50); }
.section-pale { background: var(--navy-xpale); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head-left {}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy-xpale);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.section-label i { font-size: 11px; }

.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 5px;
}

/* ===== KATEGORIJE ===== */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: white;
  border: var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.cat-chip:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.cat-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.cat-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.cat-chip:not(.active) .cat-chip-icon {
  background: var(--navy-xpale);
  color: var(--navy);
}
.cat-chip.active .cat-chip-icon {
  background: rgba(255,255,255,0.15);
  color: white;
}

.cat-chip-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.cat-chip-count {
  font-size: 11.5px;
  color: var(--gray-400);
  margin-top: 2px;
}
.cat-chip.active .cat-chip-count { color: rgba(255,255,255,0.55); }

/* ===== JOB CARD ===== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.job-card {
  background: white;
  border: var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.job-card.is-featured {
  border-left: 3px solid var(--navy);
}

.job-card-head {
  padding: 18px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.badge-popular  { background: #fee2e2; color: #dc2626; }
.badge-featured { background: #dbeafe; color: #1d4ed8; }
.badge-quick    { background: #d1fae5; color: #059669; }
.badge-urgent   { background: #fef3c7; color: #d97706; }
.badge-remote   { background: #ede9fe; color: #6d28d9; }
.badge-weekend  { background: #fce7f3; color: #be185d; }
.badge-student  { background: #e0f2fe; color: #0369a1; }
.badge-new      { background: var(--navy-xpale); color: var(--navy); }

.job-type-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}

.job-card-body {
  padding: 14px 20px;
  flex: 1;
}

.job-advertiser {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.adv-logo-sm {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.adv-name {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 600;
}

.job-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  display: block;
}
.job-title:hover { color: var(--navy-light); }

.job-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.job-attr {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--gray-500);
}
.job-attr i { color: var(--navy); font-size: 11.5px; width: 13px; }

.job-salary {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 5px;
}
.job-salary i { color: var(--green); font-size: 13px; }

.job-card-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deadline-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-400);
}
.deadline-chip.urgent { color: var(--red); font-weight: 600; }
.deadline-chip i { font-size: 11px; }

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-view:hover { background: var(--navy-light); color: white; }

/* ===== FEATURED STRIP (posebni oglasi) ===== */
.featured-strip {
  background: var(--navy);
  padding: 48px 0;
  color: white;
}

.featured-strip .section-label {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.featured-strip .section-title { color: white; margin-bottom: 28px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.featured-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.fc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.fc-adv {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adv-logo-white {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.fc-adv-name { font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 600; }
.fc-adv-loc { font-size: 11.5px; color: rgba(255,255,255,0.4); }

.fc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.fc-title {
  font-size: 15.5px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  display: block;
}
.fc-title:hover { color: rgba(255,255,255,0.8); }

.fc-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fc-attr {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.fc-attr i { font-size: 11px; color: rgba(255,255,255,0.35); }

.fc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.fc-salary {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.btn-view-white {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: white;
  color: var(--navy);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-view-white:hover { background: var(--gray-100); }

/* ===== DETALJI OGLASA ===== */
.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 48px 0;
}
@media (max-width: 900px) { .job-detail-grid { grid-template-columns: 1fr; } }

.job-detail-main {
  background: white;
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.jd-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-pale);
  margin-bottom: 16px;
  margin-top: 28px;
}
.jd-section-title:first-child { margin-top: 0; }

.jd-text {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.8;
}
.jd-text p { margin-bottom: 12px; }
.jd-text ul { padding-left: 20px; list-style: disc; }
.jd-text li { margin-bottom: 6px; }

.jd-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.jd-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.jd-tag i { color: var(--navy); width: 16px; text-align: center; font-size: 14px; }
.jd-tag-label { font-size: 11.5px; color: var(--gray-400); display: block; }
.jd-tag-value { font-size: 13.5px; font-weight: 600; color: var(--gray-800); }

.sidebar-sticky { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }

.sidebar-card {
  background: white;
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sc-head {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-head i { font-size: 13px; color: rgba(255,255,255,0.6); }

.sc-body { padding: 18px; }

.sc-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
}
.sc-row:last-child { border-bottom: none; }
.sc-row i { color: var(--navy); width: 16px; text-align: center; margin-top: 2px; font-size: 13px; }
.sc-row-label { font-size: 11px; color: var(--gray-400); display: block; }
.sc-row-value { font-weight: 600; color: var(--gray-800); }

.deadline-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: white;
  text-align: center;
}
.dl-days { font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.dl-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.dl-date { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.dl-date i { font-size: 12px; color: rgba(255,255,255,0.4); }

.adv-card-body {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.adv-logo-lg {
  width: 50px;
  height: 50px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.adv-detail-name { font-weight: 700; font-size: 15px; color: var(--navy); }
.adv-detail-loc { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ===== PRIJAVA FORMA ===== */
.apply-section {
  background: var(--gray-50);
  border-top: var(--border);
  padding: 48px 0;
}

.apply-card {
  max-width: 720px;
  background: white;
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.apply-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: var(--border);
}
.apply-head-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-xpale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
}
.apply-head h2 { font-size: 20px; font-weight: 800; color: var(--navy); }
.apply-head p { font-size: 13.5px; color: var(--gray-500); margin-top: 3px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fg.full { grid-column: 1 / -1; }

.fg label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.fg input, .fg select, .fg textarea {
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray-900);
  background: white;
  outline: none;
  transition: var(--transition);
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,47,78,0.08);
}
.fg textarea { min-height: 110px; resize: vertical; }
.fg .helper { font-size: 11.5px; color: var(--gray-400); }

/* ===== ZAVRŠENI OGLASI ===== */
.completed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.completed-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.ci-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.ci-title { font-weight: 700; font-size: 13.5px; color: var(--navy); }
.ci-sub { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.ci-date { font-size: 12px; color: var(--green); font-weight: 600; margin-top: 3px; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: white;
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.blog-thumb {
  height: 190px;
  object-fit: cover;
  width: 100%;
}
.blog-thumb-ph {
  height: 190px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 36px;
}

.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 12px; color: var(--gray-400); margin-bottom: 8px; }
.blog-title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.blog-title:hover { color: var(--navy-light); }
.blog-excerpt { font-size: 13.5px; color: var(--gray-500); line-height: 1.65; flex: 1; }
.blog-read { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 5px; }
.blog-read:hover { color: var(--navy-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-light); color: white; }
.btn-outline { background: white; border: var(--border); color: var(--gray-600); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }

/* ===== ALERTS ===== */
.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: var(--green-lt); color: #064e3b; border-left: 3px solid var(--green); }
.alert-error { background: var(--red-lt); color: #7f1d1d; border-left: 3px solid var(--red); }
.alert-info { background: var(--accent-lt); color: #1e3a8a; border-left: 3px solid var(--accent); }

/* ===== PAGINACIJA ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 32px 0 0;
}
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  background: white;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.page-btn:hover, .page-btn.active { background: var(--navy); border-color: var(--navy); color: white; }

/* ===== TOAST ===== */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}
.toast {
  background: var(--gray-900);
  color: white;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  animation: toastIn .25s ease;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: white;
  border: var(--border);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 100;
}
.scroll-top:hover { background: var(--navy); color: white; border-color: var(--navy); }
.scroll-top.show { display: flex; }

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 64px 20px;
  color: var(--gray-400);
  grid-column: 1/-1;
}
.no-results i { font-size: 40px; margin-bottom: 14px; display: block; }
.no-results h3 { font-size: 18px; color: var(--gray-600); margin-bottom: 6px; }
.no-results p { font-size: 13.5px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  padding: 52px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .logo-name { color: white; font-size: 17px; }
.footer-brand .logo-mark { background: rgba(255,255,255,0.1); }
.footer-desc {
  font-size: 13.5px;
  line-height: 1.75;
  margin-top: 14px;
  color: rgba(255,255,255,0.45);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: white; padding-left: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

/* ===== PUSH BANNER ===== */
.push-banner {
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13.5px;
}
.push-banner.show { display: flex; }
.push-banner i { font-size: 14px; color: rgba(255,255,255,0.6); }
.push-btn {
  background: white;
  color: var(--navy);
  border: none;
  padding: 5px 14px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  font-family: var(--font);
}
.push-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: var(--border);
    box-shadow: var(--shadow-md);
    z-index: 199;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }

  .hero { padding: 48px 0 44px; }
  .hero h1 { letter-spacing: -0.8px; }
  .hero-meta { gap: 16px; }

  .jobs-grid, .featured-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .job-detail-grid { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .jd-tags-grid { grid-template-columns: 1fr; }

  .section { padding: 40px 0; }
  .featured-strip { padding: 36px 0; }
}

@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-search-box { flex-direction: column; border-radius: var(--radius-sm); }
  .hero-search-box input { padding: 12px 16px; }
  .hero-search-box button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); justify-content: center; }
  .job-detail-main { padding: 20px; }
  .apply-card { padding: 20px; }
}

@media print {
  .site-header, .site-footer, .apply-section, .push-banner, .scroll-top { display: none !important; }
  .job-detail-grid { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
}
