/* ===================================================
   TAVRAX — blog (popis + članci). Isti fontovi i boje kao naslovnica
   (styles/main.css: --orange, --navy, --font-head, --font-body).
   Bez JS-a. Mobitel = PC.
   =================================================== */
.b-body { background: #fff; color: #2b3b47; overflow-x: clip; }

/* ---------- zaglavlje ---------- */
.b-top {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,27,51,0.10);
}
.b-top-in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(1180px, 100% - 32px); margin-inline: auto; min-height: 68px;
}
.b-logo img { height: 38px; width: auto; display: block; }
.b-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.b-nav a {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: #0B2A40; text-decoration: none; transition: color 0.2s;
}
.b-nav a:hover, .b-nav a[aria-current="page"] { color: var(--orange); }
.b-nav .b-cta {
  color: #0B2A40; background: var(--orange); border-radius: 100px; padding: 10px 18px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.b-nav .b-cta:hover { background: #ff9a3d; color: #0B2A40; }
@media (max-width: 760px) {
  .b-nav a:not(.b-cta):not(.b-keep) { display: none; }
  .b-logo img { height: 32px; }
}

/* ---------- naslovna traka ---------- */
.b-hero { background: #062436; color: #fff; padding: clamp(36px, 6vw, 64px) 16px clamp(32px, 5vw, 52px); }
.b-hero-in { width: min(820px, 100%); margin-inline: auto; }
.b-hero-wide { width: min(1180px, 100%); }
.b-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.b-crumbs a { color: #cfe8f5; text-decoration: none; }
.b-crumbs a:hover { color: var(--orange); }
.b-crumbs i { width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.b-hero h1 {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 1px; line-height: 1.02;
  font-size: clamp(36px, 6.4vw, 64px); margin-bottom: 14px; color: #fff;
}
.b-hero .b-lead { font-size: clamp(15.5px, 2vw, 18px); line-height: 1.65; color: rgba(255,255,255,0.74); max-width: 680px; }
.b-meta { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.55); display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ---------- članak ---------- */
.b-wrap { width: min(760px, 100% - 32px); margin-inline: auto; padding: clamp(36px, 6vw, 60px) 0 clamp(56px, 8vw, 90px); }
.b-art > p, .b-art li { font-size: 17px; line-height: 1.78; color: #2b3b47; }
.b-art > p { margin-bottom: 18px; }
.b-art h2 {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 0.8px; line-height: 1.08;
  font-size: clamp(28px, 4.4vw, 38px); color: #0B2A40; margin: 44px 0 14px; scroll-margin-top: 90px;
}
.b-art h3 { font-size: 18.5px; font-weight: 700; color: #0B2A40; margin: 28px 0 8px; }
.b-art ul, .b-art ol { margin: 0 0 20px 22px; }
.b-art li { margin-bottom: 8px; }
.b-art a { color: #0a5f95; text-decoration: underline; text-underline-offset: 3px; }
.b-art a:hover { color: var(--orange-dark); }
.b-art strong { color: #0B2A40; }
.b-art figure { margin: 26px 0 30px; }
.b-art figure img { display: block; width: 100%; height: auto; border-radius: 14px; background: #e9eef3; }
.b-art figcaption { font-size: 13.5px; color: #5a6d79; margin-top: 9px; line-height: 1.5; }
.b-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 30px; }
.b-figs figure { margin: 0; min-width: 0; }
.b-figs img { aspect-ratio: 4 / 5; object-fit: cover; }
.b-toc { background: #F4F7FB; border: 1px solid rgba(0,24,72,0.08); border-radius: 14px; padding: 18px 20px 12px; margin: 6px 0 30px; }
.b-toc p { font-weight: 700; color: #0B2A40; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.b-toc ol { margin: 0 0 6px 20px; }
.b-toc li { font-size: 15.5px; margin-bottom: 5px; }
.b-toc a { text-decoration: none; }
.b-note { background: rgba(245,130,29,0.08); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 4px 0 24px; }
.b-note p { font-size: 15.5px; line-height: 1.7; margin: 0; color: #4a3520; }
/* Tablica usporedbe (pravila sadržaja v2, t. 7): čitljiva na 390 px, bez vodoravnog pomicanja stranice */
.b-table { margin: 6px 0 28px; overflow-x: auto; }
.b-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.b-table caption { text-align: left; font-size: 13.5px; color: #5a6d79; padding-bottom: 8px; }
.b-table th, .b-table td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid rgba(11,27,51,0.10); overflow-wrap: anywhere; }
.b-table thead th { background: #F4F7FB; color: #0B2A40; font-weight: 700; }
.b-table tbody th { color: #0B2A40; font-weight: 700; width: 30%; }
@media (max-width: 480px) { .b-table table { font-size: 14px; } .b-table th, .b-table td { padding: 8px 6px; } }
.b-src { font-size: 13.5px; color: #5a6d79; border-top: 1px solid rgba(11,27,51,0.10); margin-top: 40px; padding-top: 18px; }
.b-src p { font-size: 13.5px; margin-bottom: 8px; color: #5a6d79; }
.b-src ol { margin-left: 20px; }
.b-src li { font-size: 13.5px; line-height: 1.55; color: #5a6d79; margin-bottom: 6px; overflow-wrap: anywhere; }
.b-faq details { border: 1px solid rgba(0,24,72,0.12); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.b-faq summary { cursor: pointer; font-weight: 700; color: #0B2A40; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 28px; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
.b-faq details[open] summary::after { content: "–"; }
.b-faq details p { margin-top: 10px; font-size: 16px; line-height: 1.7; }

/* ---------- poziv na akciju ---------- */
.b-cta-box { background: #062436; color: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 36px); margin: 44px 0 10px; }
.b-cta-box h2 { color: #fff !important; margin: 0 0 8px !important; }
.b-cta-box p { color: rgba(255,255,255,0.74) !important; font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
.b-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border-radius: 100px; font-family: var(--font-body); font-weight: 700; font-size: 15px;
  text-decoration: none !important; transition: background 0.2s, color 0.2s;
}
.b-btn-o { background: var(--orange); color: #0B2A40 !important; }
.b-btn-o:hover { background: #ff9a3d; }
.b-btn-l { border: 1px solid rgba(255,255,255,0.32); color: #fff !important; }
.b-btn-l:hover { border-color: var(--orange); color: var(--orange) !important; }

/* ---------- popis članaka ---------- */
.b-list { width: min(1180px, 100% - 32px); margin-inline: auto; padding: clamp(36px, 6vw, 64px) 0 clamp(56px, 8vw, 90px); }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.b-card {
  display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid rgba(0,24,72,0.10);
  border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
}
.b-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.b-card-img { aspect-ratio: 16 / 10; background: #e9eef3; overflow: hidden; }
.b-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.b-card time { font-size: 12.5px; color: #5a6d79; letter-spacing: 0.04em; }
.b-card h2 { font-family: var(--font-head); font-weight: 400; font-size: 28px; line-height: 1.08; letter-spacing: 0.5px; color: #0B2A40; }
.b-card p { font-size: 15px; line-height: 1.65; color: #4a5a66; }
.b-card-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--orange-dark); }

/* ---------- podnožje ---------- */
.b-foot { background: #F4F7FB; color: #2b3b47; border-top: 1px solid rgba(0,24,72,0.10); padding: 40px 16px 28px; }
.b-foot-in { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.b-foot img { height: 64px; width: auto; margin-bottom: 12px; }
.b-foot p { font-size: 14px; line-height: 1.7; }
.b-foot a { color: #0B2A40; text-decoration: none; font-weight: 600; }
.b-foot a:hover { color: #C9620C; }
.b-foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.b-foot-bottom { width: min(1180px, 100%); margin: 26px auto 0; padding-top: 18px; border-top: 1px solid rgba(0,24,72,0.10); font-size: 12.5px; color: #5a6d79; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
@media (max-width: 640px) { .b-foot-in { grid-template-columns: minmax(0, 1fr); } .b-figs { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .b-card, .b-card:hover { transition: none; transform: none; } }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
