*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #931f22;
  --red-dk: #6e1518;
  --gold:   #c8a96e;
  --dark:   #1a1a1a;
  --mid:    #555;
  --light:  #f5f5f5;
  --white:  #ffffff;
  --nav-h:  72px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ─── NAVIGATION (identično naslovnoj) ──────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: background var(--transition), box-shadow var(--transition);
}
nav.transparent { background: transparent; }
nav.solid {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
/* left sidebar menu: undo the fixed top-bar styles above */
.sidebar nav {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  left: auto; right: auto;
  z-index: auto;
  height: auto;
  display: block;
  padding: 0;
  background: none;
  box-shadow: none;
}

.nav-logo img {
  height: 48px;
  transition: height var(--transition), filter var(--transition);
}
nav.transparent .nav-logo img { filter: brightness(0) invert(1); }
nav.solid .nav-logo img { height: 40px; filter: none; }

.nav-menu {
  display: flex;
  list-style: none;
  margin-left: auto;
  gap: 0;
  align-items: center;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 0 11px;
  line-height: var(--nav-h);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

nav.transparent .nav-menu > li > a { color: rgba(255,255,255,0.92); }
nav.solid .nav-menu > li > a { color: var(--dark); }
nav.transparent .nav-menu > li > a:hover { color: var(--gold); }
nav.solid .nav-menu > li > a:hover { color: var(--red); }

.nav-menu > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  margin-top: -2px;
}
nav.solid .nav-menu > li > a:hover::after,
nav.solid .nav-menu > li.active > a::after { transform: scaleX(1); }

.dropdown { display: none; }
.nav-menu > li:hover .dropdown {
  display: block;
  position: absolute;
  top: calc(var(--nav-h) - 4px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-top: 3px solid var(--red);
  animation: fadeDown 0.2s ease;
  z-index: 2000;
}

.dropdown ul { list-style: none; }
.dropdown ul li { position: relative; }
.dropdown ul li a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.dropdown ul li a:hover {
  background: var(--light);
  color: var(--red);
  padding-left: 26px;
}

.sub-dropdown { display: none; }
.dropdown ul li:hover .sub-dropdown {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 210px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-top: 3px solid var(--red);
  animation: fadeDown 0.2s ease;
  z-index: 2001;
}
.sub-dropdown ul li a { padding: 11px 20px; }
.sub-dropdown ul li a:hover { padding-left: 26px; }

.lang-toggle {
  display: flex;
  align-items: center;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-toggle a {
  text-decoration: none;
  padding: 0 5px;
  transition: color var(--transition);
}
.lang-toggle span { opacity: 0.35; }
nav.transparent .lang-toggle a { color: rgba(255,255,255,0.7); }
nav.transparent .lang-toggle a:hover { color: #fff; }
nav.solid .lang-toggle a { color: #999; }
nav.solid .lang-toggle a:hover { color: var(--red); }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
} to { opacity:1; transform:translateY(0); } }

/* ── PAGE HERO ──────────────────────────────────────── */
.page-hero {
  height: 320px; position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background-size: cover; background-position: center; margin-top: 0; padding-top: var(--nav-h);
}
.page-hero-content { position: relative; z-index: 1; padding: 0 60px 40px; color: #fff; }
.page-hero-content h1 { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; }
.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 8px;
}

/* ── ARTICLE HERO ───────────────────────────────────── */
.article-hero {
  height: 480px; position: relative; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; padding-top: var(--nav-h);
}
.article-hero-content {
  position: relative; z-index: 1; padding: 0 60px 48px; color: #fff; max-width: 900px;
}
.article-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.25;
}
.article-meta { margin-top: 14px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.article-cat {
  background: var(--red); color: #fff; padding: 3px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.article-date { font-size: 13px; opacity: 0.75; }
.article-author { font-size: 13px; opacity: 0.7; font-style: italic; }

/* no-image article hero */
.article-hero-plain {
  background: var(--dark); padding: var(--nav-h) 60px 48px;
}
.article-hero-plain .article-hero-content { padding: 0; }
.article-hero-plain .article-hero-content h1 { margin-top: 32px; }

/* ── ARTICLE BODY ───────────────────────────────────── */
.article-wrap { max-width: 820px; margin: 0 auto; padding: 56px 40px 80px; }

.article-body p {
  font-size: 1.05rem; line-height: 1.88; color: var(--mid); margin-bottom: 22px; text-align: justify;
}
.article-body h2, .article-body h3 {
  font-family: 'Playfair Display', serif; color: var(--dark);
  margin: 36px 0 16px; line-height: 1.3;
}
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.2rem; }
.article-body ul, .article-body ol { margin: 0 0 22px 28px; }
.article-body li { font-size: 1.05rem; line-height: 1.75; color: var(--mid); margin-bottom: 6px; }
.article-body strong { color: var(--dark); }
.article-body a { color: var(--red); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.article-body a:hover { border-color: var(--red); }

.article-divider { width: 56px; height: 3px; background: var(--red); margin: 0 0 40px; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none;
  letter-spacing: 0.05em; margin-bottom: 32px; transition: gap var(--transition);
}
.back-link:hover { gap: 12px; }

/* ── NEWS LIST ─────────────────────────────────────── */
.news-list-wrap { padding: 60px 40px 80px; }
.news-list-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }

.news-list-card {
  display: grid; grid-template-columns: 300px 1fr;
  border-bottom: 1px solid #ebebeb; padding: 36px 0;
  transition: background var(--transition);
}
.news-list-card:first-child { border-top: 1px solid #ebebeb; }

.card-img-link { display: block; overflow: hidden; height: 200px; }
.card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-list-card:hover .card-img-link img { transform: scale(1.05); }

.card-img-placeholder {
  width: 100%; height: 100%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.card-img-placeholder span {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: rgba(255,255,255,0.7);
}

.card-body { padding: 0 0 0 36px; display: flex; flex-direction: column; justify-content: center; }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.card-body h2 { font-family: 'Playfair Display', serif; font-size: 1.25rem; line-height: 1.4; margin-bottom: 14px; }
.card-body h2 a { text-decoration: none; color: var(--dark); transition: color var(--transition); }
.card-body h2 a:hover { color: var(--red); }
.card-excerpt { font-size: 0.95rem; line-height: 1.7; color: #777; margin-bottom: 20px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; }
.card-date { font-size: 12px; color: #aaa; }
.card-readmore { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none; letter-spacing: 0.04em; transition: letter-spacing var(--transition); }
.card-readmore:hover { letter-spacing: 0.08em; }

/* ── FOOTER ─────────────────────────────────────────── */
footer { background: #111; color: rgba(255,255,255,0.7); padding: 60px 40px 30px; }
.footer-grid {
  max-width: 1140px; margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { max-width: 1140px; margin: 26px auto 0; font-size: 12px; color: rgba(255,255,255,0.3); }

@media (max-width: 860px) {
  .article-hero { height: 360px; }
  .article-hero-content { padding: 0 24px 36px; }
  .article-wrap { padding: 40px 20px 60px; }
  .news-list-card { grid-template-columns: 1fr; }
  .card-img-link { height: 220px; }
  .card-body { padding: 20px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 20px; }
  .page-hero-content { padding: 0 24px 32px; }
}
