/* ── BLOG ── (koristi iste promenljive i tipografiju kao ostatak sajta) */

/* Hero: lista i tekst */
.blog-post-hero { height: 62vh; min-height: 480px; }
.blog-post-hero .page-hero-title {
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 1000px;
}
.blog-post-hero .page-hero-sub,
.blog-list-hero .page-hero-sub { max-width: 620px; }
.blog-post-hero .page-hero-sub {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,237,245,0.75);
}
.blog-sep { color: var(--blue-light); margin: 0 6px; }
.page-hero-breadcrumb .cur { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50vw; }

/* Zajednicki naslovi sekcija (isti stil kao na FAQ/O brendu) */
.blog-eyebrow { font-size: 9px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 12px; display: block; }
.blog-rule { width: 40px; height: 2px; background: var(--blue); margin: 0 0 18px; }
.blog-section-head { margin-bottom: 40px; }
.blog-section-head h2,
.blog-cta h2 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(26px, 2.8vw, 42px); font-weight: 700;
  text-transform: uppercase; color: var(--white); line-height: 1.05; margin-bottom: 14px;
}

/* Lista */
.blog-list, .blog-related { background: var(--dark-2); padding: 90px 60px 110px; }
.blog-related { background: var(--dark); padding-top: 90px; }
/* Kartice i mreza su u blog-cards.css (koristi ih i pocetna strana) */
.blog-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 60px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,114,206,0.25); color: var(--cream); text-decoration: none;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; transition: all 0.3s;
}
.blog-pagination a:hover { border-color: var(--blue); color: var(--white); background: rgba(0,114,206,0.12); }
.blog-pagination .cur { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Tekst */
.blog-article { background: var(--dark-2); padding: 80px 24px 70px; }
.blog-content, .blog-article-footer { max-width: 760px; margin: 0 auto; }
.blog-content { font-size: 17px; line-height: 1.85; color: var(--silver-light); }
.blog-content > * + * { margin-top: 1.3em; }
.blog-content h2, .blog-content h3, .blog-content h4 {
  font-family: 'Montserrat', sans-serif; color: var(--white); line-height: 1.2; font-weight: 700;
}
.blog-content h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 2.2em; padding-top: 0.2em; }
.blog-content h2::before { content: ''; display: block; width: 40px; height: 2px; background: var(--blue); margin-bottom: 18px; }
.blog-content h3 { font-size: 22px; margin-top: 1.9em; }
.blog-content h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-light); margin-top: 1.8em; }
.blog-content p { margin-bottom: 0; }
.blog-content strong, .blog-content b { color: var(--white); font-weight: 600; }
.blog-content a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(46,144,218,0.45); transition: color 0.3s; }
.blog-content a:hover { color: var(--white); }
.blog-content ul, .blog-content ol { padding-left: 1.3em; }
.blog-content li + li { margin-top: 0.5em; }
.blog-content ul li::marker { color: var(--blue-light); }
.blog-content ol li::marker { color: var(--blue-light); font-weight: 600; }
.blog-content blockquote {
  border-left: 2px solid var(--blue); padding: 6px 0 6px 28px; margin: 2em 0;
  font-family: 'Montserrat', sans-serif; font-style: italic; font-weight: 300; font-size: 21px; line-height: 1.6; color: var(--white);
}
.blog-content img { display: block; width: 100%; height: auto; }
.blog-content figure { margin: 2.2em 0; }
.blog-content figcaption { font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted); margin-top: 10px; text-align: center; }
.blog-content hr { border: 0; height: 1px; background: rgba(0,114,206,0.2); margin: 2.5em 0; }
.blog-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
.blog-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.blog-content th, .blog-content td { border: 1px solid rgba(0,114,206,0.15); padding: 10px 14px; text-align: left; }
.blog-content th { background: var(--dark-4); color: var(--white); font-weight: 500; }

.blog-article-footer {
  margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(0,114,206,0.15);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.blog-back, .blog-share a, .blog-share span { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; text-decoration: none; }
.blog-back { color: var(--blue-light); transition: color 0.3s; }
.blog-back:hover { color: var(--white); }
.blog-share { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.blog-share span { color: var(--text-muted); }
.blog-share a { color: var(--silver); transition: color 0.3s; }
.blog-share a:hover { color: var(--blue-light); }

/* CTA */
.blog-cta { background: var(--dark-3); padding: 90px 24px; text-align: center; border-top: 1px solid rgba(0,114,206,0.1); border-bottom: 1px solid rgba(0,114,206,0.1); }
.blog-cta .blog-rule { margin: 0 auto 18px; }
.blog-cta p { font-size: 14px; line-height: 1.8; color: var(--silver); max-width: 520px; margin: 0 auto 30px; }

/* Pregled nacrta (samo u adminu) */
.blog-preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: #b7791f; color: #fff; text-align: center; padding: 10px; font-size: 11px; letter-spacing: 0.2em; }

@media (max-width: 1100px) {
  .blog-list, .blog-related { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 900px) {
  .page-hero-content { left: 24px; right: 24px; bottom: 40px; }
  .blog-post-hero { height: auto; min-height: 520px; }
  .blog-list, .blog-related { padding: 60px 24px 80px; }
  .blog-article { padding: 56px 24px 50px; }
  .blog-content { font-size: 16px; }
  .blog-cta { padding: 70px 24px; }
}
@media (max-width: 640px) {
  .blog-content blockquote { font-size: 18px; padding-left: 20px; }
  .page-hero-breadcrumb .cur { max-width: 40vw; }
}

/* Hero sa uspravnom naslovnom slikom */
.page-hero.is-fit .page-hero-img { object-fit: contain; }
.page-hero.is-fit .img-blur-bg { z-index: 0; }
