/* ===== Arctic Code — Blog ===== */
.blog-wrap { padding-top: 8.5rem; min-height: 70vh; }

/* Buttons (lokalno, brend) */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .95rem; padding: .85rem 1.6rem; border-radius: var(--radius-pill); transition: transform .25s, box-shadow .25s, border-color .25s; }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; box-shadow: 0 8px 28px rgba(0,200,255,.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,200,255,.42); }
.btn--ghost { border: 1px solid var(--border-hover); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-border); color: var(--accent); }

/* ── Blog hero (lista) ── */
.blog-hero { padding: 1rem 0 2.5rem; }
.blog-hero .container { width: var(--container); margin-inline: auto; }
.blog-hero__eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.blog-hero__title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.blog-hero__sub { color: var(--text-dim); font-size: 1.08rem; max-width: 60ch; margin-top: 1.1rem; }

/* ── Grid kartica ── */
.blog-list { width: var(--container); margin: 0 auto 5rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--accent-border); box-shadow: var(--shadow-card); }
.post-card__cover { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg2); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .6rem; }
.post-card__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.22rem; line-height: 1.25; }
.post-card__excerpt { color: var(--text-dim); font-size: .92rem; margin-top: .7rem; flex: 1; }
.post-card__more { color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: 1.1rem; }

/* ── Članak ── */
.article__container { width: var(--container); margin-inline: auto; }
.article { max-width: 100%; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.8rem; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .3rem; }
.breadcrumb__current { color: var(--text-dim); }

.article__head { max-width: 800px; }
.article__cat { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.article__title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.article__meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--text-muted); font-size: .9rem; margin-top: 1.2rem; }
.article__meta .dot { opacity: .5; }

.article__lede { font-size: 1.2rem; line-height: 1.7; color: var(--text); max-width: 760px; margin: 2rem 0 1rem; font-weight: 400; }

.article__body { max-width: 760px; font-size: 1.06rem; line-height: 1.85; color: var(--text-dim); }
.article__body h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: var(--text); line-height: 1.2; margin: 2.6rem 0 1rem; letter-spacing: -.01em; }
.article__body h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text); margin: 1.8rem 0 .7rem; }
.article__body p { margin: 0 0 1.2rem; }
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { color: var(--text); }
.article__body strong { color: var(--text); font-weight: 600; }
.article__body ul, .article__body ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.article__body li { margin-bottom: .55rem; }
.article__body ul li { list-style: none; position: relative; padding-left: 1.2rem; }
.article__body ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.article__body ol { list-style: decimal; }
.article__body blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 3px solid var(--accent); background: var(--glass); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); font-style: italic; }
.article__body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .96rem; }
.article__body th, .article__body td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); }
.article__body th { color: var(--text); font-family: 'Syne', sans-serif; font-weight: 600; }
.article__body h2:first-child { margin-top: 0; }

/* FAQ */
.article__faq { max-width: 760px; margin: 3rem 0 0; }
.article__faq > h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.6rem; margin-bottom: 1.2rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 0; margin-bottom: .7rem; background: var(--glass); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.3rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__a { padding: 0 1.3rem 1.2rem; color: var(--text-dim); line-height: 1.75; }

/* CTA box */
.article__cta { max-width: 760px; margin: 3rem 0; padding: 2.2rem; border-radius: var(--radius-lg); border: 1px solid var(--accent-border); background: linear-gradient(135deg, rgba(0,200,255,.07), rgba(0,119,182,.04)); }
.article__cta h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--text); }
.article__cta p { color: var(--text-dim); margin: .7rem 0 1.4rem; }
.article__cta-btns { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Related */
.article__related { margin: 3.5rem 0 4rem; }
.related__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 1.3rem; }
.article__related .post-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.blog-404 { font-family: 'Syne', sans-serif; font-size: 5rem; font-weight: 800; color: var(--accent); }

@media (max-width: 600px) {
  .blog-wrap { padding-top: 7rem; }
  .article__cta { padding: 1.6rem; }
}
