/* Bezbednost na delu – Blog. Isti vizuelni jezik kao nalog, registar, oglasi i kalendar. */
.bndb-wrap { --bndb-navy: #0F3B61; --bndb-navy-2: #0B2F4E; --bndb-red: #C8232B; --bndb-red-2: #A81B22; --bndb-ink: #1B2733; --bndb-muted: #5B6B7B; --bndb-line: #DDE3EA; --bndb-soft: #F4F7FA; --bndb-green: #1E8E5A; --bndb-radius: 14px;
    max-width: 1240px; margin: 0 auto; padding: 24px 20px 64px; font-family: Poppins, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.55; color: var(--bndb-ink); -webkit-font-smoothing: antialiased; }
.bndb-wrap *, .bndb-wrap *::before, .bndb-wrap *::after { box-sizing: border-box; }
.bndb-wrap h1, .bndb-wrap h2, .bndb-wrap h3, .bndb-wrap h4, .bndb-wrap p, .bndb-wrap ul, .bndb-wrap ol { margin: 0; padding: 0; }
.bndb-wrap h1, .bndb-wrap h2, .bndb-wrap h3, .bndb-wrap h4 { font-family: inherit; color: var(--bndb-ink); letter-spacing: -.01em; line-height: 1.25; text-transform: none; }
.bndb-wrap h2 { font-size: 22px; font-weight: 700; }
.bndb-wrap h3 { font-size: 17px; font-weight: 600; }
.bndb-wrap a { color: var(--bndb-navy); text-decoration: none; }
.bndb-wrap a:hover { color: var(--bndb-red); }
.bndb-wrap [hidden] { display: none !important; }
.bndb-wrap button, .bndb-wrap input, .bndb-wrap textarea, .bndb-wrap select { font-family: inherit; }
.bndb-wrap svg { flex: 0 0 auto; }
.bndb-muted { color: var(--bndb-muted); }
.bndb-small { font-size: 13.5px; }
.bndb-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bndb-red); margin-bottom: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons & pills */
.bndb-wrap .bndb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 11px; border: 1.5px solid transparent; font-weight: 600; font-size: 14.5px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.bndb-wrap .bndb-btn:active { transform: translateY(1px); }
.bndb-wrap .bndb-btn-red, .bndb-wrap .bndb-btn-red:focus { background: var(--bndb-red) !important; border-color: var(--bndb-red) !important; color: #fff !important; }
.bndb-wrap .bndb-btn-red:hover { background: var(--bndb-red-2) !important; border-color: var(--bndb-red-2) !important; color: #fff !important; }
.bndb-wrap .bndb-btn-navy, .bndb-wrap .bndb-btn-navy:focus { background: var(--bndb-navy) !important; border-color: var(--bndb-navy) !important; color: #fff !important; }
.bndb-wrap .bndb-btn-navy:hover { background: var(--bndb-navy-2) !important; color: #fff !important; }
.bndb-wrap .bndb-btn-ghost, .bndb-wrap .bndb-btn-ghost:focus { background: #fff !important; border-color: var(--bndb-line) !important; color: var(--bndb-navy) !important; }
.bndb-wrap .bndb-btn-ghost:hover { border-color: var(--bndb-navy) !important; }
.bndb-wrap .bndb-btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13.5px; border-radius: 9px; }
.bndb-wrap .bndb-btn[disabled] { opacity: .55; cursor: wait; }
.bndb-wrap button.bndb-linkbtn { display: inline; padding: 0; margin: 0; border: 0; background: none; color: var(--bndb-navy); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bndb-wrap button.bndb-linkbtn:hover { color: var(--bndb-red); }
.bndb-wrap button.bndb-linkbtn.is-red { color: var(--bndb-red); }
.bndb-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.bndb-pill-green { background: #E8F6EF; color: var(--bndb-green); }
.bndb-pill-warn { background: #FFF6E0; color: #9A6200; }
.bndb-pill-muted { background: #EEF1F4; color: var(--bndb-muted); }
.bndb-pill-navy { background: #EAF1F8; color: var(--bndb-navy); }
.bndb-pill-red { background: #FBE9EA; color: var(--bndb-red); }
.bndb-banner { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; margin: 0 0 18px; border-radius: 12px; font-size: 14.5px; border: 1px solid transparent; }
.bndb-banner-warn { background: #FFF6E0; color: #7A4D00; border-color: #F4DFA8; }
.bndb-banner-green { background: #E8F6EF; color: #14653F; border-color: #C9EBD8; }
.bndb-banner-red { background: #FBE9EA; color: #8A171D; border-color: #F3C9CB; }
.bndb-banner a { text-decoration: underline; color: inherit; }

/* Avatars */
.bndb-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; background: var(--bndb-navy); color: #fff; font-weight: 600; letter-spacing: .02em; }
.bndb-avatar.is-admin { background: var(--bndb-red); }
.bndb-avatar-sm { width: 36px; height: 36px; font-size: 13px; }
.bndb-avatar-md { width: 48px; height: 48px; font-size: 16px; }
.bndb-avatar-lg { width: 72px; height: 72px; font-size: 24px; }
.bndb-byline { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--bndb-ink); }
.bndb-byline > span { display: grid; min-width: 0; line-height: 1.3; }
.bndb-byline strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bndb-byline small { font-size: 12.5px; color: var(--bndb-muted); }
.bndb-byline:hover strong { color: var(--bndb-red); }
.bndb-byline-lg strong { font-size: 15.5px; }
.bndb-byline-lg small { font-size: 13.5px; }

/* Empty state */
.bndb-empty { text-align: center; padding: 44px 24px; border: 1px dashed #C9D3DD; border-radius: 16px; background: #fff; }
.bndb-empty-icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bndb-soft); color: var(--bndb-navy); margin-bottom: 14px; }
.bndb-empty h3 { font-size: 18px; margin-bottom: 6px; }
.bndb-empty p { color: var(--bndb-muted); max-width: 520px; margin: 0 auto 16px; }

/* ---------- Archive ---------- */
.bndb-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr); gap: 28px; align-items: end; padding: 36px 40px; margin-bottom: 20px; border-radius: 20px; background: linear-gradient(135deg, var(--bndb-navy) 0%, var(--bndb-navy-2) 100%); color: #fff; position: relative; overflow: hidden; }
.bndb-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.bndb-hero .bndb-eyebrow { color: #F5B6B9; }
.bndb-hero h1 { color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 10px; }
.bndb-hero p { color: rgba(255, 255, 255, .85); max-width: 640px; font-size: 16px; margin-bottom: 20px; }
.bndb-hero .bndb-btn-red { margin-top: 2px; }
.bndb-search { position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 14px; color: var(--bndb-muted); z-index: 1; }
.bndb-wrap .bndb-search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 15px; min-height: 40px; padding: 0 4px; color: var(--bndb-ink); outline: none; box-shadow: none; }
.bndb-wrap .bndb-search .bndb-btn { min-height: 40px; padding: 8px 16px; border-radius: 10px; }

.bndb-cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.bndb-cats a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--bndb-line); background: #fff; color: var(--bndb-navy); font-size: 13.5px; font-weight: 600; }
.bndb-cats a small { font-weight: 500; color: var(--bndb-muted); }
.bndb-cats a:hover { border-color: var(--bndb-navy); color: var(--bndb-navy); }
.bndb-cats a.is-active { background: var(--bndb-navy); border-color: var(--bndb-navy); color: #fff; }
.bndb-cats a.is-active small { color: rgba(255, 255, 255, .75); }
.bndb-cats .bndb-cats-rss { margin-left: auto; padding: 6px 10px; color: var(--bndb-muted); }

.bndb-authorhead { display: flex; gap: 18px; align-items: center; padding: 22px 26px; margin-bottom: 22px; border: 1px solid var(--bndb-line); border-radius: 16px; background: #fff; }
.bndb-authorhead h2 { margin-bottom: 4px; }
.bndb-authorhead p { max-width: 720px; }

.bndb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.bndb-listhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.bndb-count { font-size: 19px; }
.bndb-catdesc { margin: -8px 0 16px; }
.bndb-sort { display: inline-flex; background: var(--bndb-soft); border-radius: 999px; padding: 3px; }
.bndb-sort a { padding: 5px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--bndb-muted); }
.bndb-sort a.is-active { background: #fff; color: var(--bndb-navy); box-shadow: 0 1px 3px rgba(15, 59, 97, .12); }

.bndb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bndb-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--bndb-line); border-radius: 16px; background: #fff; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.bndb-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 59, 97, .10); border-color: #C9D3DD; }
.bndb-card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bndb-soft); overflow: hidden; }
.bndb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.bndb-card:hover .bndb-card-media img { transform: scale(1.03); }
.bndb-card-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #B7C4D1; background: linear-gradient(135deg, #EEF3F8, #DCE6F0); }
.bndb-card-cat { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--bndb-navy); font-size: 12px; font-weight: 600; }
.bndb-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 18px; flex: 1; }
.bndb-card-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.bndb-card-title a { color: var(--bndb-ink); }
.bndb-card-title a:hover { color: var(--bndb-red); }
.bndb-card-excerpt { color: var(--bndb-muted); font-size: 14.5px; }
.bndb-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--bndb-soft); }
.bndb-card-stats { display: inline-flex; gap: 10px; color: var(--bndb-muted); font-size: 13px; }
.bndb-card-stats span { display: inline-flex; align-items: center; gap: 4px; }
.bndb-card.is-big { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-bottom: 20px; }
.bndb-card.is-big .bndb-card-media { aspect-ratio: auto; min-height: 300px; }
.bndb-card.is-big .bndb-card-body { padding: 30px 32px; justify-content: center; }
.bndb-card.is-big .bndb-card-title { font-size: 26px; }
.bndb-card.is-big .bndb-card-excerpt { font-size: 15.5px; }

.bndb-pager { display: grid; gap: 14px; justify-items: center; margin-top: 28px; }
.bndb-pager-links { display: flex; flex-wrap: wrap; gap: 6px; }
.bndb-pager-links a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; border: 1.5px solid var(--bndb-line); font-size: 13.5px; font-weight: 600; }
.bndb-pager-links a.is-active { background: var(--bndb-navy); border-color: var(--bndb-navy); color: #fff; }
.bndb-pager.is-done [data-bndb-more] { display: none; }

.bndb-side { display: grid; gap: 18px; position: sticky; top: 24px; }
.bndb-sidebox { padding: 22px; border: 1px solid var(--bndb-line); border-radius: 16px; background: #fff; }
.bndb-sidebox h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--bndb-navy); }
.bndb-sidebox-cta { background: linear-gradient(160deg, #FFF, var(--bndb-soft)); border-color: #C9D3DD; }
.bndb-sidebox-cta > svg { color: var(--bndb-red); margin-bottom: 8px; }
.bndb-sidebox-cta p { color: var(--bndb-muted); font-size: 14.5px; margin-bottom: 14px; }
.bndb-sidebox-cta .bndb-btn { width: 100%; }
.bndb-poplist { list-style: none; counter-reset: pop; display: grid; gap: 10px; }
.bndb-poplist li { counter-increment: pop; display: flex; gap: 12px; }
.bndb-poplist li::before { content: counter(pop); display: inline-flex; flex: 0 0 26px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; background: var(--bndb-soft); color: var(--bndb-navy); font-size: 13px; font-weight: 700; }
.bndb-poplist a { display: grid; gap: 2px; min-width: 0; }
.bndb-poplist strong { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--bndb-ink); }
.bndb-poplist a:hover strong { color: var(--bndb-red); }
.bndb-poplist small { font-size: 12.5px; color: var(--bndb-muted); }
.bndb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bndb-tags a { padding: 4px 10px; border-radius: 999px; background: var(--bndb-soft); font-size: 13px; font-weight: 500; }
.bndb-tags a:hover, .bndb-tags a.is-active { background: var(--bndb-navy); color: #fff; }

/* ---------- Single ---------- */
.bndb-progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 9999; background: transparent; pointer-events: none; }
.bndb-progress span { display: block; height: 100%; width: 0; background: var(--bndb-red); transition: width .1s linear; }
.bndb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--bndb-muted); margin-bottom: 18px; }
.bndb-crumbs a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.bndb-post-head { max-width: 820px; margin: 0 auto 26px; text-align: center; }
.bndb-cat-pill { display: inline-flex; padding: 5px 13px; border-radius: 999px; background: #FBE9EA; color: var(--bndb-red); font-size: 12.5px; font-weight: 600; margin-bottom: 14px; }
.bndb-post-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.18; margin-bottom: 14px; }
.bndb-post-lead { font-size: 18px; color: var(--bndb-muted); margin-bottom: 20px; }
.bndb-post-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.bndb-post-meta .bndb-byline > span { text-align: left; }
.bndb-meta-items { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--bndb-muted); }
.bndb-meta-items > * { display: inline-flex; align-items: center; gap: 5px; }
.bndb-post-hero { margin: 0 0 32px; border-radius: 20px; overflow: hidden; background: var(--bndb-soft); }
.bndb-post-hero img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.bndb-post-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; justify-content: center; align-items: start; }
.bndb-post-side { position: sticky; top: 24px; display: grid; gap: 18px; }
.bndb-toc { padding: 18px 20px; border: 1px solid var(--bndb-line); border-radius: 14px; background: #fff; }
.bndb-toc strong { display: flex; align-items: center; gap: 7px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--bndb-navy); margin-bottom: 10px; }
.bndb-toc ol { list-style: none; display: grid; gap: 4px; }
.bndb-toc li.is-h3 { padding-left: 14px; }
.bndb-toc a { display: block; font-size: 13.5px; color: var(--bndb-muted); padding: 3px 0 3px 10px; border-left: 2px solid transparent; line-height: 1.4; }
.bndb-toc a:hover, .bndb-toc a.is-active { color: var(--bndb-navy); border-left-color: var(--bndb-red); }
.bndb-sharebox { padding: 18px 20px; border: 1px solid var(--bndb-line); border-radius: 14px; background: #fff; }
.bndb-sharebox strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--bndb-navy); margin-bottom: 10px; }
.bndb-sharebtns { display: flex; flex-wrap: wrap; gap: 6px; }
.bndb-sharebtns a, .bndb-sharebtns button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 11px; border-radius: 9px; border: 1.5px solid var(--bndb-line); background: #fff; color: var(--bndb-navy); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.bndb-sharebtns a:hover, .bndb-sharebtns button:hover { border-color: var(--bndb-navy); }
.bndb-sharebtns button.is-done { border-color: var(--bndb-green); color: var(--bndb-green); }

.bndb-post { min-width: 0; }
.bndb-prose { font-size: 17px; line-height: 1.75; color: var(--bndb-ink); }
.bndb-prose > * + * { margin-top: 1.1em; }
/* 1.1.2: the .bndb-wrap reset (.bndb-wrap p { margin: 0 } – specificity 0,1,1) beats the
   universal sibling rule above (0,1,0), so paragraph and list spacing must be spelled out;
   the h2/h3 + * rule below still wins for elements right after a heading (same specificity, later). */
.bndb-prose > * + p, .bndb-prose > * + ul, .bndb-prose > * + ol { margin-top: 1.1em; }
.bndb-prose h2 { font-size: 26px; font-weight: 700; margin-top: 2em; scroll-margin-top: 90px; }
.bndb-prose h3 { font-size: 20px; font-weight: 600; margin-top: 1.6em; scroll-margin-top: 90px; }
.bndb-prose h2 + *, .bndb-prose h3 + * { margin-top: .6em; }
.bndb-prose p { margin-bottom: 0; }
.bndb-prose a { text-decoration: underline; text-decoration-color: rgba(15, 59, 97, .35); text-underline-offset: 3px; }
.bndb-prose ul, .bndb-prose ol { padding-left: 1.4em; display: grid; gap: .4em; }
.bndb-prose ul { list-style: disc; }
.bndb-prose ol { list-style: decimal; }
.bndb-prose li { margin: 0; }
.bndb-prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--bndb-red); background: var(--bndb-soft); border-radius: 0 12px 12px 0; font-size: 17px; color: #2A3A4A; }
.bndb-prose blockquote p { margin: 0; }
.bndb-prose img, .bndb-prose figure { max-width: 100%; height: auto; border-radius: 12px; display: block; margin-left: auto; margin-right: auto; }
.bndb-prose figure { margin: 1.6em 0; }
.bndb-prose figcaption { text-align: center; font-size: 13.5px; color: var(--bndb-muted); margin-top: 8px; }
.bndb-prose hr { border: 0; height: 1px; background: var(--bndb-line); margin: 2.2em auto; width: 40%; }
.bndb-prose strong { font-weight: 700; }
.bndb-prose .bndb-tablewrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; }
.bndb-prose .bndb-tablewrap table { margin: 0; }
.bndb-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bndb-prose .bndb-tablewrap th, .bndb-prose .bndb-tablewrap td { min-width: 110px; }
.bndb-prose th, .bndb-prose td { padding: 9px 12px; border: 1px solid var(--bndb-line); text-align: left; }
.bndb-prose th { background: var(--bndb-soft); }
.bndb-prose code { font-size: .92em; padding: 2px 6px; border-radius: 6px; background: var(--bndb-soft); }
.bndb-prose pre { padding: 16px; border-radius: 12px; background: #0B2F4E; color: #E8EFF6; overflow: auto; font-size: 14px; }

.bndb-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.bndb-post-tags a { padding: 5px 12px; border-radius: 999px; background: var(--bndb-soft); font-size: 13.5px; font-weight: 500; }
.bndb-post-tags a:hover { background: var(--bndb-navy); color: #fff; }
.bndb-post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--bndb-line); border-bottom: 1px solid var(--bndb-line); }
.bndb-post-actions .bndb-btn-sm { margin-left: auto; }
.bndb-like { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--bndb-line); background: #fff; color: var(--bndb-navy); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .15s; }
.bndb-like:hover { border-color: var(--bndb-red); color: var(--bndb-red); }
.bndb-like.is-on { background: var(--bndb-red); border-color: var(--bndb-red); color: #fff; }
.bndb-like.is-on svg { fill: #fff; }
.bndb-like b { display: inline-flex; min-width: 24px; justify-content: center; padding: 1px 7px; border-radius: 999px; background: rgba(15, 59, 97, .08); font-size: 13px; }
.bndb-like.is-on b { background: rgba(255, 255, 255, .22); }
.bndb-like.is-pop svg { animation: bndb-pop .35s ease; }
@keyframes bndb-pop { 30% { transform: scale(1.4); } 100% { transform: scale(1); } }
.bndb-sharebtns-inline { margin: 0; }

.bndb-authorbox { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 26px 28px; border-radius: 16px; background: var(--bndb-soft); }
.bndb-authorbox h3 { font-size: 19px; margin-bottom: 4px; }
.bndb-authorbox h3 a { color: var(--bndb-ink); }
.bndb-authorbox p { margin-top: 6px; }
.bndb-reviewed { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 16px; border-radius: 12px; border: 1px dashed #C9D3DD; font-size: 13.5px; color: var(--bndb-muted); }
.bndb-reviewed svg { color: var(--bndb-green); margin-top: 2px; }
.bndb-reviewed strong { color: var(--bndb-ink); }
.bndb-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.bndb-prevnext a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--bndb-line); border-radius: 14px; background: #fff; color: var(--bndb-ink); }
.bndb-prevnext a:hover { border-color: var(--bndb-navy); }
.bndb-prevnext small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--bndb-muted); text-transform: uppercase; letter-spacing: .06em; }
.bndb-prevnext strong { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.bndb-prevnext .is-next { text-align: right; }
.bndb-prevnext .is-next small { justify-content: flex-end; }
.bndb-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--bndb-line); }
.bndb-related h2 { margin-bottom: 18px; }
.bndb-related .bndb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Comments */
.bndb-comments { margin-top: 44px; }
.bndb-comments h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.bndb-comment-list { list-style: none; display: grid; gap: 14px; }
.bndb-comment-list ol { list-style: none; display: grid; gap: 12px; }
.bndb-comment { display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--bndb-line); border-radius: 14px; background: #fff; }
.bndb-comment.is-author { border-color: #BBD0E4; background: #F7FAFD; }
.bndb-comment.is-team { border-color: #F3C9CB; }
.bndb-comment-body { min-width: 0; flex: 1; }
.bndb-comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.bndb-comment-head strong { font-size: 14.5px; }
.bndb-comment-head time { font-size: 12.5px; color: var(--bndb-muted); }
.bndb-comment-text { font-size: 15px; }
.bndb-comment-text p { margin: 0 0 .6em; }
.bndb-comment-text p:last-child { margin: 0; }
.bndb-comment-body .bndb-linkbtn { margin-top: 8px; }
.bndb-comment-replies { padding-left: 44px; }
.bndb-comment.is-new { animation: bndb-fade .5s ease; }
@keyframes bndb-fade { from { opacity: 0; transform: translateY(6px); } }
.bndb-comment-form { margin-top: 22px; padding: 22px 24px; border-radius: 16px; background: var(--bndb-soft); display: grid; gap: 14px; }
.bndb-comment-replyto { font-size: 14px; color: var(--bndb-navy); }
.bndb-comment-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bndb-comment-login { margin-top: 18px; }
.bndb-hp { position: absolute; left: -9999px; }

/* Forms (comments; the editor inherits the nalog form styles) */
.bndb-form { display: grid; gap: 14px; }
.bndb-field { display: grid; gap: 6px; }
.bndb-field > label { font-size: 14px; font-weight: 600; }
.bndb-field label small { font-weight: 400; color: var(--bndb-muted); }
.bndb-wrap .bndb-form input:not([type=checkbox]):not([type=radio]), .bndb-wrap .bndb-form textarea { width: 100%; min-height: 46px; padding: 10px 13px; margin: 0; border: 1.5px solid var(--bndb-line); border-radius: 11px; background: #fff; font-size: 15px; color: var(--bndb-ink); line-height: 1.4; box-shadow: none; }
.bndb-wrap .bndb-form textarea { resize: vertical; min-height: 110px; }
.bndb-wrap .bndb-form input:focus, .bndb-wrap .bndb-form textarea:focus { outline: none; border-color: var(--bndb-navy); box-shadow: 0 0 0 3px rgba(15, 59, 97, .12); }
.bndb-wrap .bndb-form .has-error input, .bndb-wrap .bndb-form .has-error textarea { border-color: var(--bndb-red); }
.bndb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bndb-formmsg { padding: 11px 14px; border-radius: 10px; font-size: 14px; background: #E8F6EF; color: #14653F; }
.bndb-formmsg.is-error { background: #FBE9EA; color: #8A171D; }

/* Shortcode [bnd_blog_najnovije] */
.bndb-embed .bndb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bndb-embed-more { margin-top: 18px; text-align: center; }

/* Page wrapper */
.bndb-page-content { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .bndb-layout { grid-template-columns: 1fr; }
    .bndb-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .bndb-post-layout { grid-template-columns: minmax(0, 760px); }
    .bndb-post-side { position: static; grid-template-columns: 1fr 1fr; order: -1; }
    .bndb-related .bndb-grid, .bndb-embed .bndb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .bndb-wrap { padding: 16px 14px 48px; }
    .bndb-hero { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; border-radius: 16px; }
    .bndb-hero h1 { font-size: 27px; }
    .bndb-grid, .bndb-related .bndb-grid, .bndb-embed .bndb-grid { grid-template-columns: 1fr; }
    .bndb-card.is-big { grid-template-columns: 1fr; }
    .bndb-card.is-big .bndb-card-media { min-height: 0; aspect-ratio: 16 / 9; }
    .bndb-card.is-big .bndb-card-body { padding: 20px; }
    .bndb-card.is-big .bndb-card-title { font-size: 21px; }
    .bndb-side { grid-template-columns: 1fr; }
    .bndb-post-side { grid-template-columns: 1fr; }
    .bndb-toc { display: none; }
    .bndb-post-head { text-align: left; }
    .bndb-post-meta { justify-content: flex-start; }
    .bndb-prose { font-size: 16px; }
    .bndb-prose h2 { font-size: 22px; }
    .bndb-prose h3 { font-size: 18px; }
    .bndb-authorbox { flex-direction: column; padding: 20px; }
    .bndb-authorhead { flex-direction: column; align-items: flex-start; }
    .bndb-prevnext { grid-template-columns: 1fr; }
    .bndb-prevnext .is-next { text-align: left; }
    .bndb-prevnext .is-next small { justify-content: flex-start; }
    .bndb-comment-replies { padding-left: 16px; }
    .bndb-grid-2 { grid-template-columns: 1fr; }
    .bndb-post-actions .bndb-btn-sm { margin-left: 0; }
    .bndb-cats .bndb-cats-rss { display: none; }
    .bndb-post-hero { border-radius: 14px; }
}
@media print {
    .bndb-progress, .bndb-crumbs, .bndb-post-side, .bndb-post-actions, .bndb-comments, .bndb-related, .bndb-prevnext { display: none !important; }
    .bndb-post-layout { grid-template-columns: 1fr; }
}
