:root {
    --il-navy: #1E1E27;
    --il-navy-soft: #282834;
    --il-red: #FE4C50;
    --il-red-hover: #D13235;
    --il-bg: #F8FAFC;
    --il-border: #E2E8F0;
    --il-muted: #64748B;
    --il-white: #FFFFFF;
    --il-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    --il-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html, body {
    max-width: 100%;
    overflow-x: clip;
}
body {
    margin: 0;
    font-family: 'Poppins', "Segoe UI", sans-serif;
    color: var(--il-navy);
    background: var(--il-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
img { max-width: 100%; display: block; }
.bp-wrap { width: min(1260px, calc(100% - 32px)); margin: 0 auto; }
.bp-main { min-height: 65vh; padding-bottom: 0; }

/* TOP BAR & HEADER */
.bp-topbar { background: var(--il-navy); color: #cbd5e1; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.bp-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0; }
.bp-topbar-left { display: flex; align-items: center; gap: 14px; }
.bp-topbar-links { display: flex; align-items: center; gap: 18px; }
.bp-topbar a { color: #cbd5e1; text-decoration: none; font-weight: 500; }
.bp-topbar a:hover { color: #fff; }

.bp-header { background: #fff; border-bottom: 1px solid var(--il-border); position: sticky; top: 0; z-index: 900; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.bp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; flex-wrap: nowrap; }
.bp-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.bp-logo img { height: 42px; width: auto; }
.bp-nav { display: flex; gap: 2px; align-items: center; flex: 1; flex-wrap: nowrap; justify-content: center; min-width: 0; }
.bp-nav > a, .bp-drop > a, .bp-drop-head > a {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--il-navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.bp-nav > a:hover, .bp-drop > a:hover, .bp-drop-head > a:hover,
.bp-nav > a.is-active, .bp-drop.is-active > a, .bp-drop.is-active .bp-drop-head > a {
    color: var(--il-red);
    background: #fff5f5;
}
.bp-caret { font-size: 10px; opacity: .65; }
.bp-drop { position: relative; flex-shrink: 0; }
.bp-drop-head { display: inline-flex; align-items: center; }
.bp-drop-toggle { display: none; }
.bp-drop-panel {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
    z-index: 910;
}
.bp-drop:nth-last-child(-n+2) .bp-drop-panel {
    left: auto;
    right: 0;
}
@media (min-width: 1101px) {
    .bp-drop:hover .bp-drop-panel, .bp-drop:focus-within .bp-drop-panel { display: grid; gap: 2px; }
}
.bp-drop-panel a {
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.bp-drop-panel a i { font-size: 11px; color: var(--il-red); }
.bp-drop-panel a:hover { background: #f8fafc; color: var(--il-red); }

.bp-search {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 3px 4px 3px 14px;
    flex-shrink: 0;
    transition: border-color .2s, background-color .2s;
}
.bp-search:focus-within { background: #fff; border-color: var(--il-red); }
.bp-search input { border: 0; background: transparent; width: 145px; font: inherit; font-size: 13px; outline: none; }
.bp-search button {
    border: 0;
    background: var(--il-navy);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .2s;
}
.bp-search button:hover { background: var(--il-red); }
.bp-burger { display: none; border: 1px solid var(--il-border); background: #fff; width: 40px; height: 40px; border-radius: 10px; font-size: 18px; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; }

/* HERO SECTION */
.bp-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; margin-top: 24px; }
.bp-hero-main {
    position: relative;
    display: block;
    min-height: 450px;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: var(--il-shadow);
}
.bp-hero-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.bp-hero-main:hover img { transform: scale(1.03); }
.bp-hero-copy {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 36px 32px 28px;
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.86) 45%, rgba(15,23,42,.96) 100%);
}
.bp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--il-red);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 5px 12px;
    border-radius: 999px;
}
.bp-hero-copy h1 { margin: 12px 0 10px; font-size: 30px; line-height: 1.25; font-weight: 700; color: #fff; }
.bp-hero-copy p { margin: 0 0 14px; color: #cbd5e1; font-size: 14.5px; }
.bp-hero-meta { display: flex; gap: 16px; font-size: 12.5px; color: #94a3b8; }

.bp-hero-side {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--il-shadow);
}
.bp-hero-side-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--il-navy);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--il-red);
    display: flex;
    align-items: center;
    gap: 8px;
}
.bp-hero-side-title i { color: var(--il-red); }
.bp-hero-side-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding: 6px;
    border-radius: 12px;
    transition: background-color .2s;
}
.bp-hero-side-item:hover { background: #f8fafc; }
.bp-hero-side-item img { width: 96px; height: 74px; object-fit: cover; border-radius: 10px; }
.bp-hero-side-item small { display: block; color: var(--il-red); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.bp-hero-side-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.35; font-weight: 600; }

/* LAYOUT & SECTIONS */
.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; margin-top: 28px; align-items: start; }
.bp-layout > *, .bp-content-col, .bp-side { min-width: 0; max-width: 100%; }
.bp-section-block { margin-bottom: 38px; }
.bp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--il-border);
}
.bp-kicker {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--il-red);
    margin-bottom: 2px;
}
.bp-section-head h2, .bp-title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; }
.bp-section-head > a {
    color: var(--il-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
}
.bp-section-head > a:hover { color: var(--il-red-hover); }

/* GRIDS & CARDS */
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bp-grid-4 { grid-template-columns: repeat(4, 1fr); }

.bp-card {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--il-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bp-card:hover { transform: translateY(-4px); box-shadow: var(--il-shadow-hover); }
.bp-card-media { position: relative; display: block; height: 200px; overflow: hidden; background: #0f172a; }
.bp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bp-card:hover .bp-card-media img { transform: scale(1.05); }
.bp-card-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(30, 30, 39, .88);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.bp-card-flag {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.bp-flag-sponsored { background: #fef3c7; color: #92400e; }
.bp-flag-rec { background: var(--il-red); color: #fff; }

.bp-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.bp-meta { display: flex; gap: 12px; align-items: center; color: var(--il-muted); font-size: 12px; flex-wrap: wrap; }
.bp-card h3 { margin: 8px 0 8px; font-size: 17px; line-height: 1.38; font-weight: 700; }
.bp-card h3 a { text-decoration: none; }
.bp-card h3 a:hover { color: var(--il-red); }
.bp-card p { color: var(--il-muted); margin: 0 0 14px; font-size: 13.5px; flex: 1; }
.bp-card-foot { border-top: 1px solid #f1f5f9; padding-top: 10px; margin-top: auto; }
.bp-read-more { font-size: 13px; font-weight: 600; color: var(--il-red); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bp-read-more:hover { gap: 9px; color: var(--il-red-hover); }

.bp-sponsored-band {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 1px solid #fecdd3;
    border-radius: 18px;
    padding: 22px;
}

/* VIDEO BAND & CARDS */
.bp-video-band {
    background: var(--il-navy);
    color: #fff;
    padding: 44px 0;
    margin-top: 24px;
}
.bp-section-head-dark { border-bottom-color: rgba(255,255,255,.12); }
.bp-section-head-dark h2 { color: #fff; }
.bp-video-card {
    background: var(--il-navy-soft);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease;
}
.bp-video-card:hover { transform: translateY(-4px); }
.bp-video-card-light { background: #fff; color: var(--il-navy); border-color: var(--il-border); box-shadow: var(--il-shadow); }
.bp-video-thumb { position: relative; height: 175px; overflow: hidden; background: #000; }
.bp-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.bp-play-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(254, 76, 80, .92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(254, 76, 80, .4);
}
.bp-video-body { padding: 14px 16px 18px; }
.bp-video-body small { display: block; color: #94a3b8; font-size: 12px; margin-bottom: 4px; }
.bp-video-body strong { display: block; font-size: 15px; line-height: 1.38; }
.bp-video-body p { margin: 6px 0 0; font-size: 13px; color: var(--il-muted); }

/* SIDEBAR & WIDGETS */
.bp-side { display: flex; flex-direction: column; gap: 20px; }
.bp-side-box {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--il-shadow);
}
.bp-side-banner {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--il-border);
    box-shadow: var(--il-shadow);
}
.bp-side-banner img { width: 100%; height: auto; }

.bp-side-tabs { display: flex; gap: 6px; background: #f1f5f9; padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.bp-side-tab {
    flex: 1 1 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 8px;
    border-radius: 9px;
    cursor: pointer;
    color: var(--il-muted);
    text-align: center;
    white-space: nowrap;
}
.bp-side-tab.is-active { background: var(--il-navy); color: #fff; }
.bp-tab-pane { display: none; }
.bp-tab-pane.is-active { display: block; }

.bp-side-link {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
}
.bp-side-link:first-child { border-top: 0; padding-top: 2px; }
.bp-side-link strong { display: block; font-size: 13.5px; line-height: 1.38; font-weight: 600; margin-bottom: 3px; }
.bp-side-link:hover strong { color: var(--il-red); }
.bp-side-link small { color: var(--il-muted); font-size: 11.5px; }
.bp-rank {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #fff1f2;
    color: var(--il-red);
    font-weight: 700;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bp-side-thumb { grid-template-columns: 64px 1fr; }
.bp-side-thumb img { width: 64px; height: 50px; object-fit: cover; border-radius: 8px; }

.bp-widget-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--il-red); }
.bp-widget-head h2 { margin: 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #111827; }
.bp-widget-head h2 i { color: var(--il-red); }
.bp-widget-head small { color: var(--il-muted); font-size: 12px; font-weight: 500; }

/* Kursna lista tabela (jedan ispod drugog kao na starom sajtu) */
.bp-rates-table {
    width: 100%;
    border-collapse: collapse;
}
.bp-rates-table thead tr {
    background-color: #f9fafb;
}
.bp-rates-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #555555;
    padding: 6px 4px;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: 0.4px;
}
.bp-rates-table th.is-left { text-align: left; }
.bp-rates-table th.is-center, .bp-rates-table td.is-center { text-align: center; }
.bp-rates-table th.is-right, .bp-rates-table td.is-right { text-align: right; }
.bp-rates-table td {
    padding: 8px 4px;
    border-bottom: 1px solid #f1f2f4;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
}
.bp-rates-table tbody tr:last-child td {
    border-bottom: none;
}
.bp-rate-code {
    display: inline-block;
    font-weight: 700;
    color: #111827;
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11.5px;
}
.bp-rate-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
}

/* Vremenska prognoza */
.bp-weather-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 6px 0 2px;
    text-align: center;
}
.bp-weather-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}
.bp-weather-day {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    text-transform: capitalize;
    margin-bottom: 6px;
}
.bp-weather-icon {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
}
.bp-weather-desc {
    font-size: 11.5px;
    color: #4b5563;
    font-weight: 500;
    line-height: 1.25;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bp-weather-temp {
    font-size: 12.5px;
    font-weight: 700;
    color: #111827;
    margin-top: 4px;
}
.bp-weather-temp small {
    font-weight: 500;
    color: #64748b;
    font-size: 11px;
}
.bp-weather-loading {
    grid-column: span 3;
    text-align: center;
    color: #64748b;
    padding: 12px 0;
    font-size: 12.5px;
}

.bp-tax-list { display: grid; gap: 8px; }
.bp-tax-item { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f8fafc; border-left: 3px solid var(--il-navy); }
.bp-tax-item.is-urgent { border-left-color: var(--il-red); background: #fff5f5; }
.bp-tax-item.is-done { border-left-color: #10b981; opacity: .75; }
.bp-tax-date { font-weight: 700; font-size: 12.5px; color: var(--il-navy); }
.bp-tax-info strong { display: block; font-size: 12.5px; line-height: 1.3; }
.bp-tax-badge { font-size: 11px; color: var(--il-muted); }

.bp-widget-quote blockquote { margin: 0; padding: 12px 14px; background: #f8fafc; border-left: 3px solid var(--il-red); border-radius: 10px; }
.bp-widget-quote p { margin: 0 0 6px; font-style: italic; font-size: 13.5px; }
.bp-widget-quote footer { font-size: 12px; font-weight: 600; color: var(--il-muted); }

.bp-widget-newsletter { background: linear-gradient(145deg, var(--il-navy) 0%, #2b2b38 100%); color: #fff; }
.bp-widget-newsletter h2 { margin: 0 0 6px; font-size: 16px; color: #fff; }
.bp-widget-newsletter h2 i { color: var(--il-red); }
.bp-widget-newsletter p { margin: 0 0 12px; font-size: 13px; color: #cbd5e1; }

/* ARTICLE & CATEGORY DETAILS */
.bp-crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--il-muted); font-size: 13px; margin-bottom: 12px; }
.bp-crumbs a { color: var(--il-muted); text-decoration: none; }
.bp-crumbs a:hover { color: var(--il-red); }

.bp-category-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--il-border); }
.bp-total-pill { background: #fff; border: 1px solid var(--il-border); padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--il-muted); white-space: nowrap; }

.bp-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    max-width: 100%;
}
.bp-chips a {
    max-width: 100%;
    white-space: normal;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.3;
    transition: all .18s ease;
}
.bp-chips a:hover { border-color: var(--il-red); color: var(--il-red); }
.bp-chips a.is-on { background: var(--il-navy); color: #fff; border-color: var(--il-navy); }

.bp-story {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--il-shadow);
}
.bp-story-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.bp-badge-cat { background: #fff1f2; color: var(--il-red); font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.bp-badge-spon { background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.bp-badge-rec { background: var(--il-navy); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.bp-story h1 { font-size: 32px; line-height: 1.24; margin: 8px 0 14px; font-weight: 800; }
.bp-story-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--il-muted); font-size: 13.5px; padding-bottom: 18px; border-bottom: 1px solid var(--il-border); }
.bp-story-figure { margin: 22px 0; }
.bp-story-figure img { width: 100%; border-radius: 16px; max-height: 480px; object-fit: cover; }
.bp-story-figure figcaption { color: var(--il-muted); font-size: 12.5px; margin-top: 8px; }

.bp-prose { font-size: 16.5px; line-height: 1.75; color: #1e293b; }
.bp-prose p { margin: 0 0 16px; }
.bp-prose h2, .bp-prose h3, .bp-prose h4, .bp-prose h5, .bp-prose h6 { color: var(--il-navy); margin: 24px 0 10px; line-height: 1.35; }
.bp-prose h5 { font-size: 20px; }
.bp-prose h6 { font-size: 17px; }
.bp-prose ul, .bp-prose ol { margin: 0 0 18px; padding-left: 22px; }
.bp-prose li { margin-bottom: 6px; }
.bp-prose img { border-radius: 12px; margin: 14px 0; }

.bp-story-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0;
    padding: 18px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid var(--il-border);
}
.bp-like, .bp-btn {
    border: 0;
    background: var(--il-red);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .2s, transform .15s;
}
.bp-like:hover, .bp-btn:hover { background: var(--il-red-hover); }
.bp-like.is-on { background: var(--il-navy); }
.bp-like-count { background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 999px; font-size: 12px; }

.bp-share-box { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--il-muted); }
.bp-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--il-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--il-navy);
}
.bp-share-btn:hover { background: var(--il-navy); color: #fff; border-color: var(--il-navy); }

.bp-related-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--il-border); }
.bp-embed { margin: 20px 0; }
.bp-embed iframe { width: 100%; min-height: 440px; border: 0; border-radius: 16px; }

/* STATIC PAGES & SEARCH */
.bp-page { background: #fff; border: 1px solid var(--il-border); border-radius: 20px; padding: 36px; margin-top: 26px; box-shadow: var(--il-shadow); }
.bp-page h1 { margin-top: 4px; font-size: 30px; }
.bp-page-logo { height: 56px; width: auto; margin: 12px 0 18px; }
.bp-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.bp-contact-card { background: #f8fafc; border: 1px solid var(--il-border); border-radius: 14px; padding: 22px; }
.bp-contact-card i { font-size: 24px; color: var(--il-red); margin-bottom: 10px; }
.bp-contact-card h3 { margin: 0 0 6px; font-size: 16px; }
.bp-contact-card p { margin: 0; font-size: 14px; color: var(--il-muted); }

/* MARKETING PAGE */
.bp-mkt-page {
    padding: 44px;
}
.bp-mkt-hero {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: center;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--il-border);
}
.bp-mkt-hero h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 6px 0 16px;
    color: var(--il-navy);
}
.bp-mkt-lead {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 24px;
}
.bp-mkt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.bp-btn-outline {
    background: #fff;
    color: var(--il-navy);
    border: 1px solid #cbd5e1;
}
.bp-btn-outline:hover {
    background: #f8fafc;
    border-color: var(--il-red);
    color: var(--il-red);
}
.bp-mkt-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bp-mkt-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--il-border);
    border-left: 4px solid var(--il-red);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.bp-mkt-stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--il-red);
    min-width: 92px;
    line-height: 1.1;
}
.bp-mkt-stat-label {
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
}
.bp-mkt-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--il-border);
}
.bp-mkt-section-head {
    max-width: 720px;
    margin-bottom: 26px;
}
.bp-mkt-section-head h2 {
    font-size: 24px;
    margin: 4px 0 10px;
    color: var(--il-navy);
}
.bp-mkt-section-head p {
    margin: 0;
    color: var(--il-muted);
    font-size: 15px;
    line-height: 1.6;
}
.bp-mkt-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bp-mkt-audience-item {
    background: #f8fafc;
    border: 1px solid var(--il-border);
    border-radius: 16px;
    padding: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bp-mkt-audience-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--il-shadow);
}
.bp-mkt-audience-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(217, 4, 41, 0.1);
    color: var(--il-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.bp-mkt-audience-item h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: var(--il-navy);
}
.bp-mkt-audience-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}
.bp-mkt-formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.bp-mkt-format-card {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
}
.bp-mkt-format-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--il-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.bp-mkt-format-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--il-navy);
}
.bp-mkt-format-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 16px;
}
.bp-mkt-check-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px dashed var(--il-border);
    padding-top: 14px;
}
.bp-mkt-check-list li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.5;
}
.bp-mkt-check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--il-red);
    font-size: 12px;
}
.bp-mkt-cta-box {
    margin-top: 36px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 18px;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
    align-items: center;
}
.bp-mkt-cta-box .bp-kicker {
    color: #f87171;
}
.bp-mkt-cta-box h2 {
    margin: 4px 0 10px;
    font-size: 24px;
    color: #fff;
}
.bp-mkt-cta-box p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.65;
}
.bp-mkt-cta-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bp-mkt-contact-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    transition: background .2s ease, border-color .2s ease;
}
.bp-mkt-contact-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #f87171;
}
.bp-mkt-contact-pill i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--il-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.bp-mkt-contact-pill small {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
}
.bp-mkt-contact-pill strong {
    font-size: 15px;
    color: #fff;
}
.bp-mkt-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 4px;
    padding-left: 4px;
}
.bp-mkt-contact-link:hover {
    color: #fff;
}
@media (max-width: 960px) {
    .bp-mkt-page { padding: 24px; }
    .bp-mkt-hero, .bp-mkt-audience-grid, .bp-mkt-formats-grid, .bp-mkt-cta-box {
        grid-template-columns: 1fr;
    }
}

.bp-search-filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 12px;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--il-border);
    margin-bottom: 24px;
    box-shadow: var(--il-shadow);
}
.bp-search-filter-bar input, .bp-search-filter-bar select {
    border: 1px solid var(--il-border);
    border-radius: 10px;
    padding: 10px 14px;
    font: inherit;
    font-size: 14px;
}

.bp-empty-state {
    background: #fff;
    border: 1px dashed var(--il-border);
    border-radius: 18px;
    padding: 44px 24px;
    text-align: center;
}
.bp-empty-state i { font-size: 36px; color: var(--il-red); margin-bottom: 10px; }
.bp-empty-state h3 { margin: 0 0 6px; }
.bp-empty-state p { color: var(--il-muted); margin: 0 0 16px; }

/* PAGINATION & LOAD MORE */
.bp-pager { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 10px; align-items: center; }
.bp-pager a, .bp-pager span {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 10px;
    padding: 8px 14px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
}
.bp-pager a:hover { border-color: var(--il-red); color: var(--il-red); }
.bp-pager .is-current { background: var(--il-red); color: #fff; border-color: var(--il-red); }
.bp-pager .is-gap { border: 0; background: transparent; padding: 4px; }

.bp-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 8px;
}
.bp-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 30px;
    border-radius: 999px;
    background: #fff;
    color: var(--il-navy);
    border: 1.5px solid var(--il-border);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--il-shadow);
    transition: all .2s ease;
}
.bp-load-more-btn i {
    color: var(--il-red);
    font-size: 13px;
    transition: transform .25s ease, color .2s ease;
}
.bp-load-more-btn:hover {
    background: var(--il-red);
    border-color: var(--il-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(254, 76, 80, .28);
}
.bp-load-more-btn:hover i {
    color: #fff;
    transform: rotate(90deg);
}
.bp-load-more-btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

/* FOOTER & STICKY */
.bp-footer { background: var(--il-navy); color: #cbd5e1; margin-top: 56px; padding: 48px 0 22px; }
.bp-footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1fr; gap: 28px; }
.bp-footer h2 { font-size: 16px; color: #fff; margin: 0 0 14px; font-weight: 700; }
.bp-footer a { color: #cbd5e1; text-decoration: none; }
.bp-footer a:hover { color: #fff; }
.bp-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.bp-footer-links i { font-size: 11px; color: var(--il-red); margin-right: 6px; }
.bp-footer-logo { height: 44px; width: auto; margin-bottom: 12px; }
.bp-social-links { display: flex; gap: 10px; margin-top: 16px; }
.bp-social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
}
.bp-social-links a:hover { background: var(--il-red); }

.bp-mini { display: grid; grid-template-columns: 68px 1fr; gap: 10px; margin-bottom: 12px; align-items: center; font-size: 13px; }
.bp-mini img { width: 68px; height: 52px; object-fit: cover; border-radius: 8px; }
.bp-mini span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; color: #fff; line-height: 1.35; }
.bp-mini small { color: #94a3b8; font-size: 11.5px; }

.bp-news-form { display: grid; gap: 10px; }
.bp-news-form input { width: 100%; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 13.5px; }
.bp-news-form input::placeholder { color: #94a3b8; }
.bp-form-msg { margin: 0; font-size: 12.5px; color: #fde047; }

.bp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 32px;
    padding-top: 18px;
    font-size: 13px;
}
.bp-footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }

.bp-sticky-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 850;
    background: rgba(30, 30, 39, .86);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bp-sticky-inner {
    position: relative;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}
.bp-sticky-inner > a:not(.bp-auto-book-banner) img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
.bp-sticky-close {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: var(--il-navy);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.bp-sticky-close:hover { background: var(--il-red); }

/* COOKIE ALERT (iLearn style) */
.bp-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #1E1E27;
    color: #ecf0f1;
    border-top: 2px solid var(--il-red);
    box-shadow: 0 -10px 35px rgba(15, 23, 42, .45);
    padding: 18px 24px;
    opacity: 0;
    transform: translateY(105%);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
}
.bp-cookie.show {
    opacity: 1;
    transform: translateY(0%);
    pointer-events: auto;
}
.bp-cookie-container {
    width: min(1260px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.bp-cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}
.bp-cookie-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(254, 76, 80, .16);
    color: var(--il-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
.bp-cookie p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #e2e8f0;
}
.bp-cookie a {
    color: var(--il-red);
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
}
.bp-cookie a:hover { text-decoration: underline; }
.bp-cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.bp-cookie-btn {
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.bp-cookie-decline {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, .28);
}
.bp-cookie-decline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, .06);
}
.bp-cookie-accept {
    background: var(--il-red);
    color: #fff;
    border: 1px solid var(--il-red);
    box-shadow: 0 6px 18px rgba(254, 76, 80, .35);
}
.bp-cookie-accept:hover {
    background: var(--il-red-hover);
    border-color: var(--il-red-hover);
}

/* IN-CONTENT BANNER (A3, C3 - 750x185 natural ratio) */
.bp-content-banner {
    margin: 0 0 36px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--il-border);
    box-shadow: var(--il-shadow);
    background: #fff;
}
.bp-content-banner > a:not(.bp-auto-book-banner) { display: block; line-height: 0; }
.bp-content-banner > a:not(.bp-auto-book-banner) img {
    width: 100%;
    height: auto;
    display: block;
}

/* AUTOMATSKI ILEARN BANER KNJIGE (A3, A4, B4, C3, C4 iz baze ilearnrs_web.roba) */
.bp-auto-book-banner {
    display: grid;
    grid-template-columns: 1.35fr 155px 220px;
    min-height: 176px;
    background: #fff;
    text-decoration: none !important;
    color: var(--il-navy);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease;
    line-height: 1.35;
}
.bp-auto-book-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(254, 76, 80, .18);
}
.bp-auto-book-banner.is-sticky {
    grid-template-columns: 1.35fr 155px 220px;
    min-height: 176px;
    max-height: none;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .2);
}
.bp-abb-left {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    position: relative;
    z-index: 2;
}
.bp-auto-book-banner.is-sticky .bp-abb-left {
    padding: 16px 22px;
}
.bp-abb-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.bp-abb-pub {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--il-red);
    background: #fff1f2;
    padding: 3px 9px;
    border-radius: 999px;
}
.bp-abb-discount {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: #16a34a;
    padding: 2px 8px;
    border-radius: 999px;
}
.bp-abb-title {
    margin: 0 0 3px;
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    line-height: 1.22;
    letter-spacing: -.02em;
}
.bp-auto-book-banner.is-sticky .bp-abb-title {
    font-size: 18px;
    margin-bottom: 3px;
}
.bp-abb-author {
    font-size: 12.5px;
    font-style: italic;
    font-weight: 600;
    color: #334155;
    margin: 0 0 10px;
}
.bp-auto-book-banner.is-sticky .bp-abb-author {
    font-size: 12.5px;
    margin-bottom: 8px;
}
.bp-abb-sub {
    margin: 0 0 8px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.42;
}
.bp-auto-book-banner.is-sticky .bp-abb-sub {
    margin-bottom: 6px;
    font-size: 12.5px;
}
.bp-abb-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.bp-abb-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}
.bp-abb-price-wrap del {
    font-size: 12px;
    color: #94a3b8;
}
.bp-abb-price-wrap strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--il-red);
}
.bp-abb-center {
    background: linear-gradient(135deg, #e11d48 0%, #fe4c50 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    position: relative;
    z-index: 2;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -18px;
    padding-left: 24px;
}
.bp-abb-badge {
    background: #fff;
    color: #e11d48;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 12px;
    border-radius: 6px;
    transform: skewX(-10deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.bp-abb-logo {
    height: 26px !important;
    width: auto !important;
    max-width: 112px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 2px auto !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15));
}
.bp-abb-cta {
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(15, 23, 42, .28);
    color: #fff;
    padding: 4px 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background .2s ease;
}
.bp-auto-book-banner:hover .bp-abb-cta {
    background: #1e1e27;
}
.bp-abb-right {
    position: relative;
    background: #be123c;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
}
.bp-abb-right picture {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.bp-abb-right img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform .35s ease;
}
.bp-auto-book-banner:hover .bp-abb-right img {
    transform: scale(1.05);
}

/* HORIZONTAL LIST CARDS (Izdvajamo & Sponzorisane priče) */
.bp-article-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.bp-list-card {
    background: #fff;
    border: 1px solid var(--il-border);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 270px 1fr;
    box-shadow: var(--il-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bp-list-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--il-shadow-hover);
}
.bp-list-media {
    position: relative;
    display: block;
    min-height: 195px;
    height: 100%;
    overflow: hidden;
    background: #0f172a;
}
.bp-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.bp-list-card:hover .bp-list-media img { transform: scale(1.04); }
.bp-list-body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bp-list-cat {
    background: #fff1f2;
    color: var(--il-red);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 10px;
    border-radius: 999px;
}
.bp-list-body h3 {
    margin: 8px 0 8px;
    font-size: 18.5px;
    line-height: 1.35;
    font-weight: 700;
}
.bp-list-body h3 a { text-decoration: none; }
.bp-list-body h3 a:hover { color: var(--il-red); }
.bp-list-body p {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--il-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-list-foot { margin-top: auto; }

/* MONTHLY MOST READ, FULL-WIDTH FOKUS & PARTNER WIDGETS */
.bp-sponsored-full {
    margin-top: 20px;
    margin-bottom: 32px;
    padding: 24px 26px 26px;
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
    border: 1px solid #fecdd3;
    border-radius: 18px;
}
.bp-monthly-section {
    margin-top: 12px;
    margin-bottom: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--il-border);
}

/* BACK TO TOP BUTTON */
.bp-back-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--il-red);
    color: #fff;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 950;
    box-shadow: 0 10px 24px rgba(254, 76, 80, .38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.bp-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.bp-back-top:hover {
    background: var(--il-navy);
    transform: translateY(-3px);
}
.bp-partner-widgets {
    margin-top: 16px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.bp-partner-block {
    width: 100%;
    overflow: hidden;
}
.bp-article-midas {
    margin-top: 32px;
}
.bp-article-ce {
    margin-top: 32px;
}
.bp-prose .midas-itw-container {
    margin: 22px 0 !important;
}
.bp-partner-block .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Stil naslova za "Web preporuke" (.line > div) i "Više sa weba" (.midas-head / .midas-caption) kao ostali naslovi sekcija */
.bp-partner-block .line,
.midas-widget > .midas-head:first-child {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    margin: 0 0 18px 0 !important;
    padding: 0 0 12px 0 !important;
    border-bottom: 1px solid var(--il-border) !important;
    position: relative !important;
}
.bp-partner-block .line > div,
.midas-widget .midas-caption {
    float: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 0 0 12px !important;
    background: transparent !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    color: var(--il-navy) !important;
    text-transform: none !important;
    text-align: left !important;
}
.bp-partner-block .line > div::before,
.midas-widget .midas-caption::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    bottom: 3px !important;
    width: 4px !important;
    border-radius: 4px !important;
    background: var(--il-red) !important;
}
.midas-widget {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}
.midas-widget .midas-image,
.bp-partner-block img {
    border-radius: 12px !important;
    overflow: hidden !important;
}
.midas-widget .midas-title,
.bp-partner-block .ce-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--il-navy) !important;
    padding-top: 10px !important;
    transition: color .2s ease;
}
.midas-widget a:hover .midas-title,
.bp-partner-block .ce-title:hover {
    color: var(--il-red) !important;
}
.bp-partner-block [class*="bexAd_post"] {
    padding: 8px 12px 10px !important;
}
.bp-partner-block [class*="bexAd_post"] > div[style*="height"],
.bp-partner-block [widget_id] > div[style*="height"] {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 6px !important;
}
.bp-partner-block [class*="bexAd_post"] .ce-title {
    padding-top: 2px !important;
}
.bp-partner-block [class*="bexAd_post"] > iframe[width="1"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* PAYPAL DONACIJE WIDGET */
.bp-widget-paypal {
    background: #fff;
    position: relative;
    z-index: 1;
    isolation: isolate;
}
.bp-widget-paypal .bp-widget-head h2 i {
    color: #003087;
}
.bp-paypal-desc {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--il-muted);
}
.bp-paypal-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.bp-paypal-amt {
    appearance: none;
    background: #f8fafc;
    border: 1.5px solid var(--il-border);
    border-radius: 10px;
    padding: 7px 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--il-navy);
    cursor: pointer;
    transition: all .18s ease;
}
.bp-paypal-amt:hover {
    border-color: #003087;
    color: #003087;
    background: #f0f7ff;
}
.bp-paypal-amt.is-active {
    background: #003087;
    border-color: #003087;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 48, 135, 0.22);
}
#paypal-button-container {
    min-height: 90px;
    position: relative;
    z-index: 1;
}
.bp-paypal-thanks {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 1240px) {
    .bp-nav > a, .bp-drop > a, .bp-drop-head > a { font-size: 12.5px; padding: 6px 6px; }
    .bp-search input { width: 115px; }
}

@media (max-width: 1100px) {
    .bp-hero, .bp-layout { grid-template-columns: minmax(0, 1fr); }
    .bp-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .bp-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 16px 20px;
        border-bottom: 1px solid var(--il-border);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 18px 36px rgba(15,23,42,.14);
    }
    .bp-nav.is-open { display: flex; }
    .bp-burger { display: inline-flex; }
    .bp-nav > a, .bp-drop-head > a {
        font-size: 14px;
        padding: 10px 12px;
        white-space: normal;
        flex: 1;
        min-width: 0;
    }
    .bp-drop { width: 100%; }
    .bp-drop-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
    }
    .bp-drop-head .bp-caret { display: none; }
    .bp-drop-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 1px solid var(--il-border);
        background: #f8fafc;
        color: var(--il-navy);
        border-radius: 10px;
        cursor: pointer;
        flex-shrink: 0;
        font-size: 12px;
        transition: all .2s ease;
    }
    .bp-drop.is-open .bp-drop-toggle {
        background: var(--il-red);
        border-color: var(--il-red);
        color: #fff;
    }
    .bp-drop.is-open .bp-drop-toggle i {
        transform: rotate(180deg);
    }
    .bp-drop-panel {
        position: static;
        min-width: 0;
        width: auto;
        box-shadow: none;
        border: 0;
        border-left: 2px solid #fecdd3;
        background: #f8fafc;
        border-radius: 0 10px 10px 0;
        margin: 4px 0 6px 10px;
        padding: 6px 8px;
        display: none;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 4px;
    }
    .bp-drop.is-open .bp-drop-panel {
        display: grid;
    }
    .bp-drop-panel a {
        white-space: normal;
        word-break: break-word;
        font-size: 13px;
        padding: 7px 10px;
        line-height: 1.35;
    }
    .bp-search { margin-left: auto; }
}

@media (max-width: 760px) {
    .bp-grid, .bp-grid-2, .bp-grid-3, .bp-grid-4, .bp-footer-grid, .bp-contact-cards, .bp-search-filter-bar, .bp-list-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .bp-header-row {
        gap: 8px;
        min-height: 64px;
    }
    .bp-logo img {
        height: 34px;
    }
    .bp-search {
        flex: 1;
        min-width: 0;
        max-width: 190px;
        padding: 2px 3px 2px 10px;
    }
    .bp-search input {
        width: 100%;
        min-width: 0;
        font-size: 12.5px;
    }
    .bp-search button {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    .bp-chips {
        gap: 6px;
        margin-bottom: 18px;
    }
    .bp-chips a {
        padding: 6px 12px;
        font-size: 12.5px;
    }
    .bp-drop-panel {
        grid-template-columns: 1fr;
        margin-left: 6px;
    }
    .bp-auto-book-banner,
    .bp-auto-book-banner.is-sticky {
        grid-template-columns: 1fr 125px;
        max-height: none;
    }
    .bp-abb-center { display: none; }
    .bp-story { padding: 20px; }
    .bp-story h1, .bp-hero-copy h1 { font-size: 24px; }
    .bp-cookie-container { flex-direction: column; align-items: stretch; gap: 14px; }
    .bp-cookie-actions { justify-content: flex-end; }
}

@media (max-width: 480px) {
    .bp-topbar-date { display: none; }
    .bp-topbar-inner { justify-content: center; }
    .bp-logo img { height: 30px; }
    .bp-search { max-width: 150px; }
}
