/* S&D Marketing · blog */
.bhead { padding-block: 48px 8px; }
.bhead h1 { max-width: 18ch; }
.bhead .lead { max-width: 60ch; }
.bsec { padding-block: 40px 72px; }
.blist { padding-top: 32px; }

/* kartice objava */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; border-radius: 24px; transition: transform .2s ease, border-color .2s ease; min-width: 0; }
.bcard:hover { transform: translateY(-3px); border-color: rgba(228, 87, 46, .45); }
.bcard:focus-visible { outline: 2px solid var(--coral-hi); outline-offset: 3px; }
.bcard .ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, rgba(228, 87, 46, .35), transparent 60%), linear-gradient(135deg, #1b1b3a, #11112a); position: relative; }
.bcard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bcard:hover .ph img { transform: scale(1.03); }
.bcard .ph-mark { position: absolute; inset: 0; background: center / 34% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 426 400'%3E%3Cpath fill='%23E4572E' d='M100 0A100 100 0 0 0 100 200Z'/%3E%3Cpath fill='%23E4572E' d='M100 200A100 100 0 0 1 100 400Z'/%3E%3Cpath fill='%23ffffff' d='M226 0A200 200 0 0 1 226 400Z'/%3E%3C/svg%3E"); opacity: .9; }
.bcard .tx { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.bcard .meta, .bmeta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--dim); }
.bcard .meta span::before, .bmeta span::before { content: "·"; margin-right: 14px; color: var(--line2); }
.bcard .bt { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.bcard .ex { color: var(--soft); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard .more { margin-top: auto; padding-top: 6px; color: var(--coral-hi); font-weight: 600; font-size: 14.5px; }
.bcard .more::after { content: " →"; }
.bcard.big { grid-column: 1 / -1; flex-direction: row; }
.bcard.big .ph { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
.bcard.big .tx { flex: 1; padding: clamp(24px, 3.4vw, 44px); justify-content: center; gap: 14px; }
.bcard.big .bt { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.bcard.big .ex { font-size: 16.5px; -webkit-line-clamp: 4; }
.bcard.big .more { margin-top: 6px; }
@media (max-width: 980px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcard.big { flex-direction: column; } .bcard.big .ph { aspect-ratio: 16 / 9; min-height: 0; flex: none; } }
@media (max-width: 640px) { .bgrid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .bcard .bt { font-size: 20px; } .bcard.big .bt { font-size: 24px; } }

.bempty { padding: clamp(24px, 4vw, 44px); max-width: 760px; }
.bempty h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; }
.bempty p { color: var(--soft); max-width: 56ch; }
.bempty .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* članak */
.bnarrow { max-width: 820px; }
.bph { padding-block: 48px 0; }
.bph h1 { font-size: clamp(34px, 4.4vw, 56px) !important; line-height: 1.06 !important; max-width: none; }
.bph .lead { font-size: clamp(17px, 1.6vw, 20px); margin-top: 18px; }
.bmeta { margin-top: 22px; font-size: 14px; }
.bcover { margin: 36px auto 0; max-width: 1040px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--bg2); }
.bcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose { max-width: 720px; margin: 44px auto 0; font-size: 18px; line-height: 1.75; color: #dcdcea; overflow-wrap: break-word; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.025em; margin-top: 1.9em; color: var(--ink); }
.prose h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.25; letter-spacing: -.015em; margin-top: 1.6em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--coral-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--coral); font-weight: 700; }
.prose blockquote { padding: 6px 0 6px 22px; border-left: 3px solid var(--coral); color: var(--ink); font-size: clamp(19px, 1.9vw, 22px); line-height: 1.5; font-weight: 500; }
.prose img { width: 100%; height: auto; border-radius: 18px; display: block; margin-block: 1.6em; border: 1px solid var(--line); }
@media (max-width: 640px) { .prose { font-size: 17px; margin-top: 32px; } .bcover { margin-top: 26px; border-radius: 18px; } }

.bmore-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; }
.bmore-h h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.bpost + .bsec { padding-top: 72px; }
.bdraft { background: #f0b84a; color: #1b1b3a; font-size: 14.5px; padding-block: 10px; }

.prose .tbl { overflow-x: auto; margin-block: 1.6em; border: 1px solid var(--line2); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 700; background: rgba(228, 87, 46, .1); }
.prose tr:last-child td { border-bottom: 0; }
.prose td + td, .prose th + th { border-left: 1px solid var(--line); }
@media (max-width: 640px) { .prose table { font-size: 15px; } .prose th, .prose td { padding: 10px 12px; } }
