/* insight-item.css */
/* Stilovi za pojedinačne "insight" stranice (Ski zanimljivosti) */

.article-zanimljivost {
  max-width: 820px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1f2937;
}

.article-zanimljivost h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: #111827;
  font-weight: 700;
}

.article-zanimljivost p {
  margin: 1rem 0;
}

.article-zanimljivost .intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 2rem;
}

/* Figure / ilustracije */
.article-zanimljivost figure {
  margin: 2rem 0;
  text-align: center;
}

.article-zanimljivost figure img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.article-zanimljivost figure figcaption {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Fun fact blok */
.fun-fact {
  background: #f0f9ff;
  border-left: 5px solid #0ea5e9;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.fun-fact strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #0369a1;
  font-weight: 700;
}

/* Navigacija između zanimljivosti */
.article-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.article-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #1f2937;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-nav a:hover {
  background: #0ea5e9;
  color: #fff;
}

.article-nav .prev::before {
  content: "←";
  font-size: 1.2rem;
}

.article-nav .next::after {
  content: "→";
  font-size: 1.2rem;
}
/* Navigacija kroz članke (zanimljivosti) */
.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; }
}
/* Showcase modernih skija */
.modern-showcase {
  max-width: 1000px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
}

.modern-showcase h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

.modern-showcase .showcase-intro {
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.showcase-grid figure {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: transform .12s ease, box-shadow .2s ease;
}

.showcase-grid figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.showcase-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-grid figcaption {
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  color: #374151;
}

@media (max-width: 960px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .showcase-grid { grid-template-columns: 1fr; }
}
/* --- Panorama: ~40% manja (tj. 60% širine sadržaja) --- */
.panorama {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}
.panorama img {
  width: 60%;          /* 40% manja od pune širine */
  height: auto;
  display: block;
}
.panorama figcaption {
  text-align: center;
  margin-top: .5rem;
  font-size: .95rem;
  color: var(--text-muted, #6b7280);
}

/* --- Dve slike pored sebe na velikim ekranima --- */
.image-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

/* default (mobilno/tablet): jedna ispod druge */
.image-grid figure {
  margin: 0;
}
.image-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* desktop i šire: dve kolone */
@media (min-width: 1024px) {
  .image-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
