/* =========================================================================
   Self-hosted Inter (variable). Replaces the former Google Fonts request.
   latin + latin-ext subsets — latin-ext carries the Serbian glyphs (č ć ž š đ).
   ========================================================================= */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   FTNZZ Figma redesign — plain CSS port
   Scoped under .fz to avoid clashes with the legacy Bootstrap theme.
   ========================================================================= */

   html {
    font-size: 16px;
   }

.fz {
  --fz-green: #0d7c66;
  --fz-green-dark: #0a6353;
  --fz-green-50: #f0fdf4;
  --fz-green-100: #dcfce7;
  --fz-gray-50: #f9fafb;
  --fz-gray-100: #f3f4f6;
  --fz-gray-200: #e5e7eb;
  --fz-gray-300: #d1d5db;
  --fz-gray-400: #9ca3af;
  --fz-gray-500: #6b7280;
  --fz-gray-600: #4b5563;
  --fz-gray-700: #374151;
  --fz-gray-800: #1f2937;
  --fz-gray-900: #111827;
  --fz-radius: 8px;
  --fz-radius-lg: 12px;
  --fz-radius-xl: 16px;
  --fz-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --fz-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --fz-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --fz-shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --fz-shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
}

/* The redesign uses a clean, modern sans. */
.fz, .fz * {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.fz {
  color: var(--fz-gray-900);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.fz a { 
  text-decoration: none; 
  color: inherit; 
  /*transition: color 0.2s ease, gap 0.2s ease;*/
  transition: all 0.2s ease;
}
.fz a:hover{ color: var(--fz-green);}
.fz a:focus, .fz a:focus-visible, .fz a:active { outline: none; }
.fz img { max-width: 100%; display: block; }
.fz h1, .fz h2, .fz h3, .fz h4, .fz p { margin: 0; }
.fz ul { margin: 0; padding: 0; list-style: none; }

/* ---- Layout helpers ---- */
.fz-container {
  max-width: 1280px;          /* max-w-7xl */
  margin-inline: auto;
  padding-inline: 16px;
  width: 100%;
}
@media (min-width: 640px)  { .fz-container { padding-inline: 24px; } }
@media (min-width: 1024px) { .fz-container { padding-inline: 32px; } }
.fz-container--narrow { max-width: 896px; }   /* max-w-4xl */

.fz-section { padding-block: 80px; }          /* py-20 */
.fz-section--sm { padding-block: 64px; }      /* py-16 */
.fz-bg-white { background: #fff; }
.fz-bg-gray  { background: var(--fz-gray-50); }
.fz-center { text-align: center; }

.fz-section-head { text-align: center; max-width: 672px; margin: 0 auto 48px; }
.fz-section-head h2 {
  font-size: clamp(30px, 22.4px + 1.6vw, 36px);
  font-weight: 700; color: var(--fz-gray-900); margin-bottom: 16px;
}
.fz-section-head p { font-size: 20px; color: var(--fz-gray-600); }

/* ---- Buttons / links ---- */
.fz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; border-radius: var(--fz-radius);
  font-weight: 500; cursor: pointer; transition: all .2s ease; border: 2px solid transparent;
}
.fz-btn .ic { width: 20px; height: 20px; }
.fz .fz-btn-primary { background: var(--fz-green); color: #fff !important; }
.fz .fz-btn-primary:hover { background: var(--fz-green-dark); }
.fz .fz-btn-white { background: #fff; color: var(--fz-green); }
.fz .fz-btn-white:hover { background: var(--fz-green-50); }
.fz .fz-btn-outline { background: transparent; border-color: #fff; color: #fff !important; }
.fz .fz-btn-outline:hover { background: rgba(255,255,255,.1); }

.fz .fz-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fz-green); font-weight: 500; transition: gap .2s ease;
}
.fz-link:hover { gap: 12px; }
.fz-link .ic { width: 20px; height: 20px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.fz-header {
  background: #fff; box-shadow: var(--fz-shadow-sm);
  position: sticky; top: 0; z-index: 50;
}
.fz-header__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 16px; gap: 20px;
}
.fz-header__logo img { max-height: 56px; width: auto; }
.fz-header__right { display: flex; align-items: center; gap: 12px; }
.fz-nav { display: none; align-items: center; gap: 4px; }
.fz-nav a {
  padding: 8px 12px; border-radius: var(--fz-radius);
  font-size: 16px; color: var(--fz-gray-700); transition: background .2s, color .2s;
  white-space: nowrap; font-weight: 500;
}
@media (max-width: 1260px) {
  .fz-nav a{
    font-size: 15px;
  }
 
}
@media (max-width: 1150px) {
  .fz-nav a{
    font-size: 14px;
    padding: 7px 10px;
  }
}
@media (min-width: 1024px) and (max-width: 1150px) {
  .fz-header .fz-container{
    padding-inline: 24px;
  }
}
.fz-nav a:hover { background: var(--fz-gray-100); }
.fz-nav a.is-active { background: var(--fz-green); color: #fff; }

/* Dropdown (menu items with children) */
.fz-nav__item { position: relative; }
.fz-nav__item > a { display: inline-flex; align-items: center; gap: 4px; }
.fz-nav__caret { width: 14px; height: 14px; }
.fz-nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--fz-gray-200); border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow-lg); padding: 6px; margin-top: 4px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60;
}
.fz-nav__item:hover > .fz-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.fz-nav__sub a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px;
  color: var(--fz-gray-700); white-space: nowrap;
}
.fz-nav__sub a:hover { background: var(--fz-gray-100); }

/* Mobile submenu: indent children */
.fz-mobile-nav .fz-mobile-sub a { padding-left: 32px; font-size: 14px; color: var(--fz-gray-600); }

.fz-burger {
  display: inline-flex; padding: 8px; border-radius: var(--fz-radius);
  background: transparent; border: 0; cursor: pointer; color: var(--fz-gray-700);
}
.fz-burger:hover { background: var(--fz-gray-100); }
.fz-burger .ic { width: 24px; height: 24px; }

/* Language switcher */
.fz-lang {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: var(--fz-radius);
  border: 1px solid var(--fz-gray-200);
}
.fz-lang__icon { width: 16px; height: 16px; color: var(--fz-gray-500); }
.fz-lang__opt {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--fz-gray-500); padding: 2px 4px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.fz-lang__opt:hover { color: var(--fz-green); }

.fz-mobile-nav { display: none; border-top: 1px solid var(--fz-gray-200); padding: 16px 0; }
.fz-mobile-nav.open { display: block; }
.fz-mobile-nav a {
  display: block; padding: 12px 16px; border-radius: var(--fz-radius);
  margin-bottom: 4px; color: var(--fz-gray-700);
}
.fz-mobile-nav a:hover { background: var(--fz-gray-100); }
.fz-mobile-nav a.is-active { background: var(--fz-green); color: #fff; }

@media (min-width: 1024px) {
  .fz-nav { display: flex; }
  .fz-burger { display: none; }
  .fz-mobile-nav { display: none !important; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.fz-hero { position: relative; min-height: 600px; background: var(--fz-gray-900); overflow: hidden; }
.fz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.fz-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,124,102,.95), rgba(13,124,102,.6));
}
.fz-hero__inner {
  position: relative; min-height: 600px; display: flex; align-items: center; padding-block: 64px;
}
.fz-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; width: 100%; align-items: center; }
.fz-hero__text { color: #fff; }
.fz-hero__text h1 {
  font-size: clamp(36px, 24px + 2.8vw, 48px); font-weight: 700;
  line-height: 1.15; margin-bottom: 24px;
  color: #fff;
}
.fz-hero__text > p { font-size: 20px; margin-bottom: 32px; color: var(--fz-green-100); }
.fz-hero__cta { display: flex; flex-direction: column; gap: 16px; }

@media (min-width: 640px)  { .fz-hero__cta { flex-direction: row; } }
@media (min-width: 1024px) { .fz-hero__grid { grid-template-columns: 1fr 1fr; } }

/* News carousel card */
.fz-newscard {
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-radius: var(--fz-radius-xl); padding: 32px; box-shadow: var(--fz-shadow-2xl);
}
.fz-newscard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fz-newscard__head h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); }
.fz-newscard__nav { display: flex; gap: 8px; }
.fz-iconbtn {
  padding: 8px; border-radius: var(--fz-radius); background: var(--fz-gray-100);
  border: 0; cursor: pointer; transition: background .2s; color: var(--fz-gray-700);
}
.fz-iconbtn:hover { background: var(--fz-gray-200); }
.fz-iconbtn .ic { width: 20px; height: 20px; }
.fz-newscard__body { min-height: 180px; }
.fz-newscard__date { font-size: 14px; color: var(--fz-green); font-weight: 500; margin-bottom: 8px; }
.fz-newscard__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.fz-newscard__meta .fz-newscard__date { margin-bottom: 0; }
.fz-newscard__body h4 { font-size: 18px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 12px; }
.fz-newscard__body p { color: var(--fz-gray-600); line-height: 1.65; }
.fz-newscard__slide { display: none; }
.fz-newscard__slide.active { display: block; }
.fz-dots { display: flex; gap: 8px; margin-top: 16px; justify-content: center; }
.fz-dot {
  height: 8px; width: 8px; border-radius: 9999px; border: 0; cursor: pointer;
  background: var(--fz-gray-300); transition: all .3s ease;
}
.fz-dot:hover { background: var(--fz-gray-400); }
.fz-dot.active { width: 32px; background: var(--fz-green); }
.fz-newscard__more { margin-top: 24px; text-align: center; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.fz-about__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.fz-about__text h2 { font-size: clamp(30px,22.4px+1.6vw,36px); font-weight: 700; margin-bottom: 24px; }
.fz-about__text p { font-size: 18px; color: var(--fz-gray-600); margin-bottom: 16px; }
.fz-about__images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fz-about__images img { width: 100%; height: 256px; object-fit: cover; border-radius: var(--fz-radius-lg); }
.fz-about__images img:nth-child(2) { margin-top: 32px; }
@media (min-width: 1024px) { .fz-about__grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   CARD GRIDS (programs / research / quick links / projects)
   ========================================================================= */
.fz-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.fz-grid--3 { gap: 32px; }
.fz-grid--4 { gap: 24px;  }
@media (min-width: 400px) {
  .fz-article__foot .fz-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 600px) {
  .fz-article__foot .fz-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .fz-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .fz-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .fz-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fz-article__foot .fz-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .fz-grid--research { grid-template-columns: repeat(3, 1fr); }
  .fz-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .fz-article__foot .fz-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.fz-icon-box {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--fz-green-100); border-radius: var(--fz-radius-lg);
  transition: background .2s; margin-bottom: 16px;
}
.fz-icon-box .ic { color: var(--fz-green); transition: color .2s; }
.fz-icon-box--lg { width: 56px; height: 56px; }
.fz-icon-box--lg .ic { width: 28px; height: 28px; }
.fz-icon-box--md { width: 48px; height: 48px; }
.fz-icon-box--md .ic { width: 24px; height: 24px; }

/* program card */
.fz-card {
  background: #fff; border-radius: var(--fz-radius-xl); padding: 32px; transition: box-shadow .2s;
}
.fz-card:hover { box-shadow: var(--fz-shadow-xl); }
.fz-card:hover .fz-icon-box { background: var(--fz-green); }
.fz-card:hover .fz-icon-box .ic { color: #fff; }
.fz-card h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 12px; }
.fz-card p { color: var(--fz-gray-600); }

/* research card */
.fz-rcard {
  background: #fff; border: 1px solid var(--fz-gray-200); border-radius: var(--fz-radius-xl);
  padding: 24px; transition: box-shadow .2s;
}
.fz-rcard:hover { box-shadow: var(--fz-shadow-lg); }
.fz-rcard:hover .fz-icon-box { background: var(--fz-green); }
.fz-rcard:hover .fz-icon-box .ic { color: #fff; }
.fz-rcard h3 { font-size: 18px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-active-projects .fz-rcard h3,
.fz-active-projects .fz-rcard h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-active-projects .fz-rcard h3 a { color: inherit; text-decoration: none; }
.fz-active-projects .fz-rcard h3 a:hover { color: var(--fz-green); }
.fz-rcard p { color: var(--fz-gray-600); }
.fz-grid--research-images .fz-rcard {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fz-grid--research-images .fz-rcard__img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  transition: transform .3s ease;
}
.fz-grid--research-images .fz-rcard:hover .fz-rcard__img { transform: scale(1.05); }
.fz-grid--research-images .fz-rcard__body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.fz-grid--research-images .fz-rcard p { /*margin-top: auto;*/ }

/* quick-link card */
.fz-qcard {
  display: block; background: #fff; border: 2px solid var(--fz-gray-200);
  border-radius: var(--fz-radius-xl); padding: 24px; transition: all .2s;
}
.fz-qcard:hover { border-color: var(--fz-green); box-shadow: var(--fz-shadow-lg); }
.fz-qcard:hover .fz-icon-box { background: var(--fz-green); }
.fz-qcard:hover .fz-icon-box .ic { color: #fff; }
.fz-qcard h3 { font-size: 18px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-qcard p { font-size: 14px; color: var(--fz-gray-600); }

/* project card */
.fz-pcard {
  background: #fff; border-radius: var(--fz-radius-xl); overflow: hidden;
  box-shadow: var(--fz-shadow-lg); transition: box-shadow .2s;
  display: flex; flex-direction: column;
}
.fz-pcard:hover { box-shadow: var(--fz-shadow-2xl); }
.fz-pcard__img { width: 100%; height: 192px; object-fit: cover; transition: transform .3s ease; }
.fz-pcard__img--default { object-fit: contain; padding: 24px; background: var(--fz-white); }
.fz-pcard:hover .fz-pcard__img { transform: scale(1.05); }
.fz-pcard__body { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.fz-badge {
  display: inline-block; padding: 4px 12px; background: var(--fz-green-100);
  color: var(--fz-green); font-size: 12px; font-weight: 500; border-radius: 9999px; margin-bottom: 12px;
  align-self: flex-start;
}
.fz-pcard__body h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 12px; }
.fz-pcard__body h3 a { color: inherit; text-decoration: none; }
.fz-pcard__body h3 a:hover { color: var(--fz-green); }
.fz-pcard__body h3,
.fz-pcard__body h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-pcard__body p {
  color: var(--fz-gray-600);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-pcard__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fz-gray-500); margin-top: auto; }
.fz-pcard__meta .ic { width: 16px; height: 16px; }
.fz-pcard__meta a { color: inherit; text-decoration: none; }
.fz-pcard__meta a:hover { color: var(--fz-green); }

.fz-grid-foot { text-align: center; margin-top: 48px; }

.fz-projects-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) {
  .fz-projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .fz-projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   STATS BAND
   ========================================================================= */
.fz-stats { background: var(--fz-green); }
.fz-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 3%; }
.fz-stat { text-align: center; color: #fff; }
.fz-stat__num { font-size: 36px; font-weight: 700; margin-bottom: 8px; }
.fz .fz-stat__num {margin-bottom: 8px;}
.fz-stat__label { color: var(--fz-green-100); }
@media (max-width: 800px) { .fz-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 15%; } }

/* =========================================================================
   INNER PAGE: "O departmanu" (About)
   ========================================================================= */
/* Shorter hero variant for inner pages */
.fz-hero--sm, .fz-hero--sm .fz-hero__inner { min-height: 400px; }
.fz-hero--sm .fz-hero__overlay {
  background: linear-gradient(to right, rgba(13,124,102,.9), rgba(13,124,102,.5));
}
.fz-hero--sm .fz-hero__text h1 { font-size: clamp(36px, 24px + 2.8vw, 48px); margin-bottom: 16px; }

/* Two-column text/image blocks */
.fz-prose { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; align-items: start; }
.fz-prose:last-child { margin-bottom: 0; }
.fz-prose h2 { font-size: 30px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 24px; }
.fz-prose p { font-size: 18px; color: var(--fz-gray-600); line-height: 1.7; margin-bottom: 24px; }
.fz-prose-img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--fz-radius-xl); box-shadow: var(--fz-shadow-lg); }
@media (min-width: 1024px) {
  .fz-prose { grid-template-columns: 1fr 1fr; }
  .fz-prose--rev .fz-prose__media { order: 1; }
  .fz-prose--rev .fz-prose__text  { order: 2; }
}

/* Mission bullet points */
.fz-points li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.fz-points__dot {
  width: 24px; height: 24px; border-radius: 9999px; background: var(--fz-green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px;
}
.fz-points__dot span { width: 8px; height: 8px; border-radius: 9999px; background: #fff; display: block; }
.fz-points span.fz-points__text { color: var(--fz-gray-700); }

/* Values cards (centered, round icon) */
.fz-values-title, h2.fz-values-title { font-size: 30px; font-weight: 700; color: var(--fz-gray-900); text-align: center; margin-bottom: 48px; }
.fz-value { text-align: center; }
.fz-value__icon {
  width: 64px; height: 64px; border-radius: 9999px; background: var(--fz-green-100);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.fz-value__icon .ic { width: 32px; height: 32px; color: var(--fz-green); }
.fz-value h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-value p { color: var(--fz-gray-600); }

/* =========================================================================
   INNER PAGE: "Studijski programi" (Programs)
   ========================================================================= */
/* Solid green page header band */
.fz-pagehead { background: var(--fz-green); padding-block: 64px; }
.fz-pagehead__inner { /* max-width: 48rem; */ max-width: 90%; color: #fff; }
@media (max-width: 860px) {
  .fz-pagehead__inner{
      max-width: 100%;
  }
}
.fz-pagehead h1 { font-size: clamp(32px, 14px + 2.8vw, 48px); font-weight: 700; margin-bottom: 16px; color: #fff; line-height: 1.2;}
.fz-pagehead p { font-size: 20px; color: var(--fz-green-100); }


/* Program block (two-column, icon + heading + lists) */
.fz-prog { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; margin-bottom: 80px; }
.fz-prog:last-child { margin-bottom: 0; }
.fz-prog__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fz-prog__head .fz-icon-box { margin-bottom: 0; }
.fz-prog__head h2 { font-size: 30px; font-weight: 700; color: var(--fz-gray-900); }
.fz-prog__duration { font-size: 18px; color: var(--fz-green); font-weight: 500; margin-bottom: 24px; }
.fz-prog__text > p { font-size: 18px; color: var(--fz-gray-600); margin-bottom: 24px; line-height: 1.7; }
.fz-prog__text h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 16px; }
.fz-prog__text .fz-checklist { margin-bottom: 32px; }
.fz-prog__text .fz-checklist:last-child { margin-bottom: 0; }
.fz-checklist li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.fz-checklist .ic { width: 20px; height: 20px; color: var(--fz-green); flex-shrink: 0; margin-top: 2px; }
.fz-checklist li span { color: var(--fz-gray-700); }
.fz-prog-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--fz-radius-xl); box-shadow: var(--fz-shadow-lg); }
.fz-prog-img--lg { height: 384px; min-height: 0; margin-bottom: 24px; }
.fz-prog-img--sm { height: 256px; min-height: 0; }
@media (min-width: 1024px) {
  .fz-prog { grid-template-columns: 1fr 1fr; }
  .fz-prog--rev .fz-prog__media { order: 1; }
  .fz-prog--rev .fz-prog__text  { order: 2; }
}

/* =========================================================================
   INNER PAGE: "Istraživanje" (Research)
   ========================================================================= */
.fz-img-tile { width: 100%; height: 256px; object-fit: cover; border-radius: var(--fz-radius); box-shadow: var(--fz-shadow-lg); }
.fz-projcard__year { font-size: 14px; color: var(--fz-green); font-weight: 500; margin-bottom: 8px; }
.fz-statstack { display: flex; flex-direction: column; gap: 16px; }
.fz-statbox { background: var(--fz-gray-50); border-radius: var(--fz-radius-lg); padding: 24px; }
.fz-statbox__num { font-size: 30px; font-weight: 700; color: var(--fz-green); margin-bottom: 8px; }
.fz-statbox p { color: var(--fz-gray-700); }

/* =========================================================================
   INNER PAGE: "Za studente" (Students)
   ========================================================================= */
.fz-res-desc { font-size: 14px; color: var(--fz-gray-600); margin-bottom: 12px; }
.fz-access { display: inline-flex; align-items: center; gap: 4px; color: var(--fz-green); font-size: 14px; font-weight: 500; }
.fz-access .ic { width: 16px; height: 16px; }

/* Important-info card (icon left, text, external icon right) */
.fz-infocard {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border-radius: var(--fz-radius-xl); padding: 24px; transition: box-shadow .2s;
}
.fz-infocard:hover { box-shadow: var(--fz-shadow-lg); }
.fz-infocard:hover .fz-icon-box { background: var(--fz-green); }
.fz-infocard:hover .fz-icon-box .ic { color: #fff; }
.fz-infocard__body { flex: 1; }
.fz-infocard__body h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-infocard__body p { color: var(--fz-gray-600); }
.fz-infocard .fz-ext { width: 20px; height: 20px; color: var(--fz-gray-400); flex-shrink: 0; margin-top: 4px; }

/* Organization card */
.fz-org__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fz-org__head .fz-icon-box { margin-bottom: 0; }
.fz-org__head h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); }
.fz-org__contact p { font-size: 14px; color: var(--fz-gray-700); margin-bottom: 8px; }
.fz-org__contact a { color: var(--fz-green); }
.fz-org__contact a:hover { text-decoration: underline; }

.fz-btn--sm { padding: 12px 24px; }

/* =========================================================================
   INNER PAGE: "Saradnja sa privredom" (Industry)
   ========================================================================= */
.fz-projmeta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fz-projmeta__client { font-size: 14px; color: var(--fz-green); font-weight: 500; }
.fz-projmeta__sep, .fz-projmeta__year { font-size: 14px; color: var(--fz-gray-500); }
.fz-partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fz-partner {
  background: #fff; border: 1px solid var(--fz-gray-200); border-radius: var(--fz-radius-lg);
  padding: 24px; text-align: center; transition: box-shadow .2s;
}
.fz-partner:hover { box-shadow: var(--fz-shadow); }
.fz-partner .ic { width: 32px; height: 32px; color: var(--fz-green); margin: 0 auto 8px; }
.fz-partner p { font-size: 14px; font-weight: 500; color: var(--fz-gray-900); }
@media (min-width: 768px)  { .fz-partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .fz-partners { grid-template-columns: repeat(6, 1fr); } }

/* Green CTA band with buttons */
.fz-greencta { background: var(--fz-green); text-align: center; }
.fz-greencta__btns--wrap { flex-wrap: wrap; }

/* =========================================================================
   INNER PAGE: "Osoblje" (Staff)
   ========================================================================= */
.fz-person {
  background: #fff; border: 1px solid var(--fz-gray-200); border-radius: var(--fz-radius-xl);
  padding: 24px; text-align: center; transition: box-shadow .2s;
}
.fz-person:hover { box-shadow: var(--fz-shadow-lg); }
.fz-person__avatar {
  width: 80px; height: 80px; border-radius: 9999px; background: var(--fz-green-100);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.fz-person__avatar span { font-size: 24px; font-weight: 700; color: var(--fz-green); }
.fz-person__photo { width: 96px; height: 96px; border-radius: 9999px; object-fit: cover; object-position: top; margin: 0 auto 16px; display: block; background: var(--fz-green-100); }
.fz-person h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-person h3 a { color: inherit; }
.fz-person:hover h3 a { color: var(--fz-green); }
.fz-person__area { font-size: 14px; color: var(--fz-green); }
.fz-person__fn { font-size: 14px; color: var(--fz-gray-600); margin-top: 4px; }
.fz-filterbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-block: 16px; flex-wrap: wrap; }
.fz-filterbar__select { width: auto; min-width: 220px; }
.fz-filterbar .fz-filterbar__select { width: auto; }
.fz-person__email {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
  color: var(--fz-gray-600); margin-top: 12px; transition: color .2s;
}
.fz-person__email:hover { color: var(--fz-green); }
.fz-person__email .ic { width: 16px; height: 16px; }

/* =========================================================================
   SINGLE EMPLOYEE ("Zaposleni — profil")
   ========================================================================= */
/* Pagehead: text on the left, portrait on the right */
.fz-pagehead--profile {
  display: grid; 
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center; 
  max-width: 100%;

}
/* Back link sits outside .fz-pagehead__inner now, so set its colour explicitly */
.fz-pagehead .fz-pagehead__back { color: #fff; }
.fz-pagehead__photo {
  width: 200px; 
  height: 200px; 
  object-fit: cover; 
  object-position: top;
  border-radius: 50%;
  /*box-shadow: var(--fz-shadow-xl);*/
  /*border: 4px solid rgba(255, 255, 255, .25);*/
  background: var(--fz-green-100); 
  justify-self: end;
  margin-right: 15%;
}
/* Department line above the name; role + function combined below it */
.fz-pagehead--profile .fz-pagehead__fn { font-size: 16px; color: var(--fz-green-100); margin-bottom: 8px; }
.fz-pagehead--profile .fz-pagehead__role { font-size: 20px; color: var(--fz-green-100); }
.fz-pagehead--profile  h1{ margin-bottom: 10px; }

@media (max-width: 1024px) {
  .fz-pagehead__photo {
    width: 160px; 
    height: 160px; 
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .fz-pagehead__photo {
    width: 140px; 
    height: 140px; 
  }
  .fz-pagehead--profile{
    gap:20px;
  }
  .fz-pagehead--profile .fz-pagehead__role{
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .fz-pagehead--profile { grid-template-columns: 1fr;  gap: 20px; order: 1; }
  .fz-pagehead__photo { justify-self: center; order: 1; }
  .fz-pagehead__profile-text { order: 2; text-align: center;}
  .fz-pagehead__photo {
    width: 200px; 
    height: 200px;
    margin-top: 20px;
  }
}



/* Body: two-column layout with a sticky contact sidebar */
.fz-profile-layout {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  max-width: 1180px; margin: 0 auto; align-items: start;
}
.fz-profile-aside { display: flex; flex-direction: column; gap: 24px; }
/* Explicit size so the contact labels don't pick up Bootstrap's larger h3 */
.single_employee .fz-cinfo h3 { font-size: 18px; }

/* Courses list */
.fz-profile-courses { display: flex; flex-direction: column; gap: 4px; }
.fz-profile-courses a {
  display: flex; align-items: center; gap: 10px; padding: 12px 4px;
  border-bottom: 1px solid var(--fz-gray-200); color: var(--fz-gray-700);
  font-size: 16px; transition: color .2s, padding .2s;
}
.fz-profile-courses a:last-child { border-bottom: 0; }
.fz-profile-courses a:hover { color: var(--fz-green); padding-left: 8px; }
.fz-profile-courses .ic { width: 18px; height: 18px; color: var(--fz-green); flex-shrink: 0; }

@media (min-width: 1024px) {
  .fz-profile-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
  .fz-profile-aside { position: sticky; top: 112px; }
}

/* =========================================================================
   INNER PAGE: "Kontakt" (Contact)
   ========================================================================= */
.fz-contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .fz-contact-grid { grid-template-columns: 1fr 2fr; } }

.fz-cinfo-block h2 { font-size: 24px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 24px; }
.fz-cinfo-list { display: flex; flex-direction: column; gap: 24px; }
.fz-cinfo { display: flex; align-items: flex-start; gap: 16px; }
.fz-cinfo .fz-icon-box { margin-bottom: 0; }
.fz-cinfo h3 { font-weight: 700; color: var(--fz-gray-900); margin-bottom: 0px; }
.fz-cinfo p { color: var(--fz-gray-600); }
.fz-cinfo a { color: var(--fz-gray-600); transition: color .2s; }
.fz-cinfo a:hover { color: var(--fz-green); }

/* Form card */
.fz-formcard { background: var(--fz-gray-50); border-radius: var(--fz-radius-xl); padding: 32px; }
.fz-formcard h2 { font-size: 24px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-formcard > p { color: var(--fz-gray-600); margin-bottom: 24px; }
.fz-form-row { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media (min-width: 768px) { .fz-form-row--2 { grid-template-columns: 1fr 1fr; } }
.fz-label { display: block; font-size: 14px; font-weight: 500; color: var(--fz-gray-700); margin-bottom: 8px; }
.fz-input, .fz-select, .fz-textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--fz-radius); border: 1px solid var(--fz-gray-300);
  font-size: 16px; font-family: inherit; color: var(--fz-gray-900); background: #fff;
}
.fz-input:focus, .fz-select:focus, .fz-textarea:focus {
  outline: none; border-color: var(--fz-green); box-shadow: 0 0 0 2px rgba(13, 124, 102, .3);
}
.fz-textarea { resize: vertical; min-height: 150px; }
.fz .fz-btn--block { width: 100%; padding-block: 16px; }
.fz-form-note { font-size: 14px; color: var(--fz-gray-500); text-align: center; margin-top: 16px; }

/* Form validation */
.fz-input.is-invalid, .fz-select.is-invalid, .fz-textarea.is-invalid {
  border-color: #dc2626; box-shadow: 0 0 0 2px rgba(220, 38, 38, .25);
}
.fz-field-error { display: none; margin-top: 6px; font-size: 13px; color: #dc2626; }
.fz-field-error.is-visible { display: block; }

/* Success screen (after a submitted contact form) */
.fz-form-success { text-align: center; padding: 24px 8px; }
.fz-form-success__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 16px;
  border-radius: 9999px; background: var(--fz-green-100); color: var(--fz-green);
}
.fz-form-success__icon svg { width: 32px; height: 32px; }
.fz-form-success h2 { font-size: 24px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 8px; }
.fz-form-success p { color: var(--fz-gray-600); margin-bottom: 24px; }

/* Map */
.fz-map { background: #fff; border-radius: var(--fz-radius-xl); overflow: hidden; box-shadow: var(--fz-shadow-lg); }
.fz-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* =========================================================================
   SINGLE NEWS ARTICLE ("Vest")
   ========================================================================= */
.fz-pagehead__back {
  display: inline-flex; align-items: center; gap: 6px; color: var(--fz-green-100);
  font-size: 14px; font-weight: 500; margin-bottom: 20px; transition: gap .2s ease;
}
a.fz-pagehead__back:hover { gap: 10px; color: #fff; }
.fz-pagehead__back .ic { width: 16px; height: 16px; }
.fz-pagehead__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.fz-pagehead__date { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fz-green-100); }
.fz-pagehead__date .ic { width: 16px; height: 16px; }
.fz-pagehead__badge {
  padding: 4px 12px; background: rgba(255,255,255,.18); color: #fff;
  font-size: 14px; font-weight: 500; border-radius: 9999px;
}

.news_article .fz-section, .single_employee .fz-section, .studies .fz-section{
  padding-top: 50px;
}
.news_article .fz-pagehead, .single_employee .fz-pagehead{
  padding-block: 40px;
}
.fz-news-detail-layout { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; align-items: start; }
.fz-news-detail-layout .fz-article { max-width: none; margin: 0; }
/* .fz-news-detail-layout .fz-article__foot { max-width: none; } */
.fz-news-sidebar { display: flex; flex-direction: column; gap: 24px; }
.fz-sidecard {
  background: #fff; border: 1px solid var(--fz-gray-200); border-radius: var(--fz-radius-xl);
  padding: 24px; box-shadow: var(--fz-shadow-sm);
}
.fz-sidecard h2 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 16px; }
.fz-sidecats, .fz-sidelist { display: flex; flex-direction: column; gap: 8px; }
.fz-sidecat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: var(--fz-radius); color: var(--fz-gray-700);
  font-size: 15px; transition: background .2s, color .2s;
}
.fz-sidecat:hover { background: var(--fz-gray-100); color: var(--fz-gray-900); }
.fz-sidecat.is-active { background: var(--fz-green-100); color: var(--fz-green); font-weight: 600; }
.fz-sidecat span:last-child {
  min-width: 28px; padding: 2px 8px; border-radius: 9999px; background: var(--fz-gray-100);
  color: var(--fz-gray-600); font-size: 13px; text-align: center;
}
.fz-sidecat.is-active span:last-child { background: #fff; color: var(--fz-green); }
.fz-sidelist a { display: block; padding-block: 12px; border-bottom: 1px solid var(--fz-gray-200); }
.fz-sidelist a:last-child { border-bottom: 0; padding-bottom: 0; }
.fz-sidelist span { display: block; color: var(--fz-green); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.fz-sidelist strong { display: block; color: var(--fz-gray-900); font-size: 15px; line-height: 1.45; transition: color .2s; }
.fz-sidelist a:hover strong { color: var(--fz-green); }
.fz-project-facts { display: flex; flex-direction: column; gap: 18px; }
.fz-project-facts span { display: block; color: var(--fz-gray-500); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.fz-project-facts strong,
.fz-project-facts a { color: var(--fz-gray-900); font-size: 15px; font-weight: 700; line-height: 1.45; }
.fz-project-facts a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.fz-project-facts a:hover { color: var(--fz-green); }
.fz-project-facts a .ic { width: 16px; height: 16px; }
@media (min-width: 860px) {
  .fz-news-detail-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
}
@media (min-width: 1024px) {
  .fz-news-detail-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; }
  .fz-news-sidebar { position: sticky; top: 112px; }
}

.fz-article { max-width: 800px; margin: 0 auto; }
.fz-article__img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--fz-radius-xl); /*box-shadow: var(--fz-shadow-lg);*/ margin-bottom: 32px; }
.fz-article__body { color: var(--fz-gray-700); font-size: 18px; line-height: 1.8; }
.fz-article__body > *:first-child { margin-top: 0; }
.fz-article__body p { margin-bottom: 20px !important; text-align: left !important; }
.fz-article__body p,
.fz-article__body p *,
.fz-article__body li,
.fz-article__body li * {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: var(--fz-gray-700) !important;
}
.fz-article__body h2 { font-size: 24px; font-weight: 700; color: var(--fz-gray-900); margin: 36px 0 16px; }
.fz-article__body h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin: 28px 0 12px; }
.fz-article__body ul, .fz-article__body ol { margin: 0 0 20px; padding-left: 24px; }
.fz-article__body ul { list-style: disc; }
.fz-article__body ol { list-style: decimal; }
.fz-article__body li { margin-bottom: 8px; }
.fz-article__body a { color: var(--fz-green); text-decoration: underline; }
.fz-article__body img { max-width: 100%; height: auto; border-radius: var(--fz-radius-lg); margin: 24px 0; }
.fz-article__body blockquote {
  border-left: 4px solid var(--fz-green); padding: 4px 0 4px 20px; margin: 24px 0;
  color: var(--fz-gray-600); font-style: italic;
}
.fz-article__foot { /*max-width: 800px;*/ margin: 40px auto 0; padding-top: 32px; border-top: 1px solid var(--fz-gray-200); }
.fz-gallery-link { display: block; }
.fz-gallery-link:focus, .fz-gallery-link:focus-visible { outline: none; }
.fz-gallery-thumb { /*width: 100%; height: 140px; object-fit: cover;*/ border-radius: var(--fz-radius); margin:auto;}
.fz-gallery-link h3 { font-size: 12px; font-weight: 400; color: var(--fz-gray-500); margin-top: 8px; text-align: center; }

/* Article + sidebar layout */
.fz-article-layout { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.fz-article-layout .fz-article { max-width: none; margin: 0; }
.fz-article-layout .fz-article__foot { max-width: none; margin-left: 0; margin-right: 0; }
@media (min-width: 1024px) {
  .fz-article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* =========================================================================
   NEWS LISTING ("Vesti")
   ========================================================================= */
/* Category filter bar */
.fz-catbar { background: #fff; border-bottom: 1px solid var(--fz-gray-200); }
.fz-catbar__inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 16px; }
.fz .fz-cat {
  display: inline-block; padding: 8px 16px; border-radius: var(--fz-radius); white-space: nowrap;
  background: var(--fz-gray-100); color: var(--fz-gray-700); border: 0; cursor: pointer;
  font-size: 16px; transition: background .2s, color .2s;
}
.fz .fz-cat:hover { background: var(--fz-gray-200); }
.fz .fz-cat.is-active { background: var(--fz-green); color: #fff; }

.fz-newslist { display: grid; grid-template-columns: 1fr; gap: 32px; }
.fz-newsitem {
  background: #fff; border-radius: var(--fz-radius-xl); overflow: hidden;
  box-shadow: var(--fz-shadow-sm); transition: box-shadow .2s;
  display: grid; grid-template-columns: 1fr;
}
.fz-newsitem:hover { box-shadow: var(--fz-shadow-lg); }
.fz-newsitem__img { width: 100%; height: 256px; object-fit: cover; }
.fz-newsitem__body { padding: 24px; }
.fz-newsitem__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.fz-newsitem__date { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fz-gray-600); }
.fz-newsitem__date .ic { width: 16px; height: 16px; }
.fz-newsitem__badge {
  padding: 4px 12px; background: var(--fz-green-100); color: var(--fz-green);
  font-size: 14px; font-weight: 500; border-radius: 9999px;
}
.fz-newsitem__badge--muted { background: var(--fz-gray-100); color: var(--fz-gray-600); }
.fz-newsitem__body h2 { font-size: 24px; font-weight: 700; color: var(--fz-gray-900); margin-bottom: 12px; }
.fz-newsitem__body h2 a { color: inherit; transition: color .2s; }
.fz-newsitem:hover .fz-newsitem__body h2 a { color: var(--fz-green); }
.fz-newsitem__body p { color: var(--fz-gray-600); margin-bottom: 16px; line-height: 1.65; }
.fz-newsitem__img--broken { object-fit: contain; padding: 32px; }
@media (min-width: 768px) {
  .fz-newsitem { grid-template-columns: 1fr 2fr; }
  .fz-newsitem__img { height: 100%; min-height: 240px; }
  .fz-newsitem__body { padding: 32px; }
}

/* Simple pagination */
.fz-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.fz-pagination a, .fz-pagination span {
  padding: 8px 16px; border-radius: var(--fz-radius); font-weight: 500; font-size: 14px;
  background: #fff; color: var(--fz-gray-700); border: 1px solid var(--fz-gray-200); transition: background .2s;
}
.fz-pagination a:hover { background: var(--fz-gray-100); }
.fz-pagination .is-active { background: var(--fz-green); color: #fff; border-color: var(--fz-green); }
.fz-pagination .is-disabled { opacity: .45; }
.fz-greencta h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.fz-greencta p { font-size: 20px; color: var(--fz-green-100); margin: 0 auto 32px; max-width: 42rem; }
.fz-greencta__btns { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 640px) { .fz-greencta__btns { flex-direction: row; } }

/* =========================================================================
   CTA
   ========================================================================= */
.fz-cta { text-align: center; }
.fz-cta h2 { font-size: clamp(24px,19.2px+1.2vw,30px); font-weight: 700; color: var(--fz-gray-900); margin-bottom: 16px; }
.fz-cta p { font-size: 20px; color: var(--fz-gray-600); margin-bottom: 32px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.fz-footer { background: var(--fz-gray-900); color: var(--fz-gray-300); }
.fz-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.fz-footer h3 {
  color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.fz-footer h3 .ic { width: 20px; height: 20px; }
.fz-footer p { font-size: 14px; }
.fz-footer ul li { margin-bottom: 8px; }
.fz-footer a { font-size: 14px; transition: color .2s; }
.fz-footer a:hover { color: #fff; }
.fz-footer__contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.fz-footer__contact .ic { width: 16px; height: 16px; flex-shrink: 0; color: var(--fz-green); margin-top: 2.4px; }
.fz-footer__bottom { border-top: 1px solid var(--fz-gray-800); margin-top: 32px; padding-top: 32px; }
.fz-footer__bottom-row {
  display: flex; flex-direction: column; align-items: center; gap: 16px; justify-content: space-between;
}
.fz-footer__bottom p { font-size: 14px; text-align: center; }
.fz-footer__legal { display: flex; gap: 16px; font-size: 14px; }
@media (min-width: 768px)  { .fz-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .fz-footer__grid { grid-template-columns: repeat(4, 1fr); }
  .fz-footer__bottom-row { flex-direction: row; }
  .fz-footer__bottom p { text-align: left; }
}




@media (max-width: 768px) {
  .fz-pagehead { padding-block: 40px; }
  .fz-section {
    padding-block: 40px;
  }
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.fz-breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    margin-bottom: 16px; font-size: 16px; font-weight: 500;
}
.fz-breadcrumb a {
    color: rgba(255,255,255,.7); transition: color .15s;
}
.fz-breadcrumb a:hover { color: #fff; }
.fz-breadcrumb__sep {
    color: rgba(255,255,255,.35); font-size: 16px; line-height: 1;
}
.fz-breadcrumb__current { color: #fff; }

/* Breadcrumb bar variant — sits below the hero on the white page */
.fz-breadcrumb-bar {
    /*background: var(--fz-gray-50);*/
    border-bottom: 1px solid var(--fz-gray-200);
    padding: 20px 0;
}
.fz-breadcrumb-bar .fz-breadcrumb {
    margin-bottom: 0;
}
.fz-breadcrumb-bar .fz-breadcrumb a {
    color: var(--fz-gray-500);
}
.fz-breadcrumb-bar .fz-breadcrumb a:hover {
    color: var(--fz-green);
}
.fz-breadcrumb-bar .fz-breadcrumb__sep {
    color: var(--fz-gray-300);
}
.fz-breadcrumb-bar .fz-breadcrumb__current {
    color: var(--fz-gray-700);
}

/* =========================================================================
   STUDIJE — Study programmes directory
   study/show.blade.php · study/level.blade.php
   ========================================================================= */

/* Intro text */
.fz-studije-intro {
    font-size: 18px; color: var(--fz-gray-600); line-height: 1.75;
    margin-bottom: 48px;
}
.fz-studije-intro p { margin-bottom: 12px; }
.fz-studije-intro p:last-child { margin-bottom: 0; }

/* Two-column layout (content + sticky sidebar) */
.fz-studije-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 1024px) {
    .fz-studije-layout {
        grid-template-columns: 1fr 240px;
        gap: 48px;
        align-items: start;
    }
}

/* Sidebar */
.fz-studije-sidebar { display: none; }
@media (min-width: 1024px) {
    .fz-studije-sidebar { display: block; position: sticky; top: 112px; }
}
.fz-studije-sidebar__block { margin-bottom: 24px; }
.fz-studije-sidebar__block:last-child { margin-bottom: 0; }
.fz-studije-sidebar__divider { height: 1px; background: var(--fz-gray-200); margin: 16px 0; }
.fz-studije-sidebar h4 {
    font-size: 12px; font-weight: 700; color: var(--fz-gray-400);
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 10px; padding: 0 10px;
}
.fz-studije-sidebar ul { display: flex; flex-direction: column; gap: 2px; }
.fz-studije-sidebar li a {
    display: block; padding: 8px 10px; border-radius: var(--fz-radius);
    font-size: 15px; color: var(--fz-gray-700);
    transition: background .2s, color .2s;
}
.fz-studije-sidebar li a:hover { background: var(--fz-gray-100); color: var(--fz-gray-900); }
.fz-studije-sidebar li a.is-active { background: var(--fz-green-100); color: var(--fz-green); font-weight: 600; }

/* Study level block (show page) */
.fz-studije-level { margin-bottom: 56px; scroll-margin-top: 80px; }
.fz-studije-level:last-child { margin-bottom: 0; }
.fz-studije-level__head {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 24px;
    background: var(--fz-gray-50);
    border: 1px solid var(--fz-gray-200);
    border-radius: var(--fz-radius-xl);
    margin-bottom: 16px;
}
.fz-studije-level__head .fz-icon-box { flex-shrink: 0; margin-bottom: 0; }
.fz-studije-level__info { flex: 1; min-width: 0; }
.fz-studije-level__info h2 { font-size: 22px; font-weight: 700; color: var(--fz-gray-900); }
.fz-studije-level__info h2 a { color: inherit; transition: color .15s; }
.fz-studije-level__info h2 a:hover { color: var(--fz-green); }
.fz-studije-level__info p { font-size: 15px; color: var(--fz-gray-500); margin-top: 3px; }
.fz-studije-level__link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px; border-radius: var(--fz-radius);
    background: var(--fz-green); color: #fff !important;
    font-size: 14px; font-weight: 600;
    white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.fz-studije-level__link:hover { background: var(--fz-green-dark); }
.fz-studije-level__link .ic { width: 14px; height: 14px; }
@media (max-width: 640px) {
    .fz-studije-level__link span { display: none; }
    .fz-studije-level__link .ic { width: 16px; height: 16px; }
    .fz-studije-level__link { padding: 8px 10px; }
}

/* Section caption above the program list */
.fz-studije-layout .fz-studije-caption {
    font-size: 22px; font-weight: 700; color: var(--fz-gray-900);
    margin-bottom: 30px;
}

/* Program card */
.fz-studije-program {
    background: #fff; border: 1px solid var(--fz-gray-200);
    border-radius: var(--fz-radius-xl); margin-bottom: 24px;
    overflow: hidden; box-shadow: var(--fz-shadow-sm);
    scroll-margin-top: 112px;
}
.fz-studije-program:last-child { margin-bottom: 0; }
/* Tighter gap when programs are nested inside a level section */
.fz-studije-level .fz-studije-program { margin-bottom: 8px; }
.fz-studije-level .fz-studije-program:last-child { margin-bottom: 0; }

.fz-studije-program__bar {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px;
    background: var(--fz-gray-50);
    border-bottom: 1px solid var(--fz-gray-200);
}
.fz-studije-program__title { flex: 1; min-width: 0; }
.fz-studije-program__title h3 { font-size: 18px; font-weight: 600; color: var(--fz-gray-900); }
.fz-studije-program__title h3 a { color: inherit; transition: color .15s; }
.fz-studije-program__title h3 a:hover { color: var(--fz-green); }
.fz-studije-program__title p { font-size: 14px; color: var(--fz-gray-500); margin-top: 3px; }

/* Accordion toggle button */
.fz-studije-toggle {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--fz-gray-200); border-radius: var(--fz-radius);
    background: #fff; color: var(--fz-gray-500);
    cursor: pointer; transition: background .15s, color .15s;
}
.fz-studije-toggle:hover { background: var(--fz-gray-100); color: var(--fz-gray-700); }
.fz-studije-toggle .ic {
    width: 24px; height: 24px;
    transition: transform .25s ease;
    transform: rotate(180deg); /* up = expanded */
}
.fz-studije-program.is-collapsed .fz-studije-toggle .ic { transform: rotate(0deg); /* down = collapsed */ }

/* Courses body */
.fz-studije-body { 
  padding: 4px 20px 20px; 
  overflow: hidden; 
  transition: height .25s ease, padding .25s ease; 
}

.is-collapsed .fz-studije-body{
  height: 0;
  padding-top:0;
  padding-bottom: 0;
}

.is-collapsed .fz-studije-program__bar{
  border-bottom: none;
}
/* Year heading */
.fz-studije-year { margin-top: 20px; }
.fz-studije-year__head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--fz-green);
    margin-bottom: 4px;
}
.fz-studije-year__head h4 {
    font-size: 13px; font-weight: 700; color: var(--fz-green);
    text-transform: uppercase; letter-spacing: .07em;
}

/* Elective group label */
.fz-studije-elective { display: flex; align-items: center; gap: 8px; padding: 10px 8px 4px; }
.fz-studije-elective__label {
    font-size: 13px; font-weight: 600; color: var(--fz-gray-500);
    text-transform: uppercase; letter-spacing: .05em;
}
.fz-studije-elective__note {
    font-size: 12px; color: var(--fz-gray-600);
    background: var(--fz-gray-100); padding: 2px 8px; border-radius: 9999px;
}

/* Course row */
.fz-studije-course {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 8px;
    border-bottom: 1px solid var(--fz-gray-100);
    color: var(--fz-gray-700); font-size: 16px;
    border-radius: var(--fz-radius);
    transition: color .15s, background .15s, padding-left .15s;
}
.fz-studije-course:last-child { border-bottom: 0; }
.fz-studije-course:hover { color: var(--fz-green); background: var(--fz-green-50); padding-left: 14px; }
.fz-studije-course .ic { width: 15px; height: 15px; color: var(--fz-green); flex-shrink: 0; }
.fz-studije-course--elective { padding-left: 20px; }


/* ============================================================
   Course detail (predmet) — teachers + information
   ============================================================ */

/* Teachers block (reuses .fz-person from zaposleni) */
.fz-course-teachers { margin-bottom: 40px; }
.fz-course-teachers .fz-course-teachers__title {
    display: flex; align-items: center; gap: 8px;
    font-size: 22px; font-weight: 700; color: var(--fz-gray-900);
    margin-bottom: 30px;
}
.fz-course-teachers__icon { display: inline-flex; color: var(--fz-green); }
.fz-course-teachers__icon .ic { width: 22px; height: 22px; }

/* Course description / rich text */
.fz-course-desc { font-size: 16px; color: var(--fz-gray-700); line-height: 1.7; margin-bottom: 50px;}
.fz-course-desc > :first-child { margin-top: 0; }
.fz-course-desc p { margin-bottom: 16px; }
.fz-course-desc h2 { font-size: 24px; font-weight: 700; color: var(--fz-gray-900); margin: 28px 0 14px; }
.fz-course-desc h3 { font-size: 20px; font-weight: 700; color: var(--fz-gray-900); margin: 24px 0 12px; }
.fz-course-desc h4 { font-size: 17px; font-weight: 700; color: var(--fz-gray-900); margin: 20px 0 10px; }
.fz-course-desc ul,
.fz-course-desc ol { margin: 0 0 16px 20px; }
.fz-course-desc li { margin-bottom: 6px; }
.fz-course-desc a { color: var(--fz-green); text-decoration: underline; }
.fz-course-desc img { max-width: 100%; height: auto; border-radius: var(--fz-radius-lg); }
