/* --- Hero sekcija --- */
.hero--news {
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), 
              url("../images/news/opening-kopaonik-hero.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 1rem 3rem;
}

.hero--news .hero-inner h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero--news .hero-inner p {
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* --- Meta info (datum, lokacija, tip) --- */
.news-meta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 2rem 0;
}

.news-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  background: #f9f9f9;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.news-meta .meta-item .icon {
  width: 18px;
  height: 18px;
  fill: var(--accent-color, #e67e22);
  flex-shrink: 0;
}

.news-meta .label {
  font-weight: 600;
  color: #333;
}


/* --- Article body --- */
.news-article {
  line-height: 1.7;
  font-size: 1rem;
  margin: 2rem 0;
}

.news-article .section {
  margin-bottom: 2.5rem;
}

.news-article h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color, #e67e22);
}

.news-article ul,
.news-article ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

/* --- Gallery integration --- */
.news-article .gallery {
  margin: 2rem 0;
}

/* --- Tags --- */
.tags {
  margin-top: 2rem;
}

.tags a {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.tags a:hover {
  background: var(--accent-color, #e67e22);
  color: #fff;
}

/* Navigacija kroz news */
.lesson-nav {
  margin: 2.5rem 0 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.lesson-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.lesson-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  background: #ffefe6;          /* diskretni akcenat */
  border-color: #ffd3bc;
  color: #111827;
}

.lesson-nav .prev::before {
  content: "←";
  font-size: 1.2rem;
  line-height: 1;
}

.lesson-nav .next::after {
  content: "→";
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 520px) {
  .lesson-nav { gap: 0.5rem; }
  .lesson-nav a { padding: 0.5rem 0.9rem; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-nav {
    flex-direction: column;
    gap: 1rem;
  }
}
