/* Prekidač */
.bhb-tema-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #E6E5DC;border-radius:999px;background:#F5F4EF}
.bhb-tema-switch__btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:999px;background:transparent;color:#626155;cursor:pointer;transition:background .2s,color .2s}
.bhb-tema-switch__btn:hover{color:#1B1B17}
.bhb-tema-switch__btn[aria-pressed="true"]{background:#D4CE72;color:#1B1B17}
.bhb-tema-switch .bhb-tema-switch__btn,.bhb-tema-switch .bhb-tema-switch__btn:hover,.bhb-tema-switch .bhb-tema-switch__btn:focus{border:0 !important;box-shadow:none !important;outline:none;padding:0 !important;min-height:0;line-height:1}
.bhb-tema-switch__btn:focus-visible{outline:2px solid #97964C !important;outline-offset:2px}

/* ---------- TAMNA TEMA ---------- */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background-color:#121210;color:#D6D5CC}
html[data-theme="dark"] body{background-color:#3A3A36 !important;background-blend-mode:multiply}
html[data-theme="dark"] .bhb-surface{background-color:#1C1C18 !important;border-color:#2E2E28 !important}
html[data-theme="dark"] .bhb-surface .e-con,html[data-theme="dark"] .e-loop-item .e-con,html[data-theme="dark"] .elementor-location-footer .e-con{border-color:#2E2E28 !important}
html[data-theme="dark"] .elementor-element:not(.bhb-keep):not(.bhb-muted) > .elementor-heading-title,html[data-theme="dark"] .elementor-element:not(.bhb-keep):not(.bhb-muted) > .elementor-widget-container > .elementor-heading-title{color:#EDECE4 !important}
html[data-theme="dark"] .bhb-muted .elementor-heading-title,html[data-theme="dark"] .bhb-muted,html[data-theme="dark"] .bhb-muted .elementor-icon-list-text{color:#A3A296 !important}
html[data-theme="dark"] .elementor-heading-title a:hover{color:#D4CE72}
html[data-theme="dark"] .elementor-widget-text-editor,html[data-theme="dark"] .elementor-widget-theme-post-content{color:#D6D5CC !important}
html[data-theme="dark"] .elementor-widget-theme-post-content a{color:#D4CE72}
html[data-theme="dark"] .elementor-icon-list-text{color:#D6D5CC !important}
html[data-theme="dark"] .elementor-icon-list-item a:hover .elementor-icon-list-text{color:#D4CE72 !important}
html[data-theme="dark"] .elementor-post-info__item,html[data-theme="dark"] .elementor-post-info a{color:#A3A296 !important}
html[data-theme="dark"] .elementor-nav-menu a.elementor-item{color:#EDECE4 !important}
html[data-theme="dark"] .elementor-nav-menu--dropdown,html[data-theme="dark"] .elementor-nav-menu--dropdown a{background-color:#1C1C18 !important;color:#EDECE4 !important}
html[data-theme="dark"] .elementor-nav-menu--dropdown a:hover{background-color:#2E2E28 !important}
html[data-theme="dark"] .elementor-widget-icon .elementor-icon,html[data-theme="dark"] .elementor-search-form__toggle i,html[data-theme="dark"] .elementor-search-form__toggle svg{color:#EDECE4 !important;fill:#EDECE4 !important}
html[data-theme="dark"] .elementor-widget-theme-site-logo img{filter:invert(1) hue-rotate(180deg) brightness(1.1)}
html[data-theme="dark"] .e-n-tab-title{background-color:#1C1C18 !important;color:#EDECE4 !important;border-color:#EDECE4 !important}
html[data-theme="dark"] .e-n-tab-title[aria-selected="true"]{background-color:#D4CE72 !important;color:#1B1B17 !important}
html[data-theme="dark"] .e-n-tabs-content > .e-con{background-color:transparent !important}
html[data-theme="dark"] .elementor-social-icon{background-color:#2E2E28 !important;border-color:#3A3A32 !important}
html[data-theme="dark"] .elementor-social-icon i,html[data-theme="dark"] .elementor-social-icon svg{color:#EDECE4 !important;fill:#EDECE4 !important}
html[data-theme="dark"] .elementor-author-box{background-color:#24241F !important}
html[data-theme="dark"] .elementor-author-box__name,html[data-theme="dark"] .elementor-author-box__name a{color:#EDECE4 !important}
html[data-theme="dark"] .elementor-author-box__bio{color:#A3A296 !important}
html[data-theme="dark"] .elementor-pagination a,html[data-theme="dark"] .elementor-pagination span{color:#EDECE4 !important}
html[data-theme="dark"] .elementor-pagination .current{color:#D4CE72 !important}
html[data-theme="dark"] .elementor-search-form__input{background:#1C1C18 !important;color:#EDECE4 !important;border-color:#2E2E28 !important}
html[data-theme="dark"] .elementor-button.bhb-light-btn,html[data-theme="dark"] .bhb-light-btn .elementor-button{background-color:#24241F !important;color:#EDECE4 !important;border-color:#3A3A32 !important}
html[data-theme="dark"] .bhb-ticker__item a{color:#EDECE4}
html[data-theme="dark"] .bhb-ticker__item a:hover{color:#D4CE72}
html[data-theme="dark"] .bhb-tema-switch{background:#24241F;border-color:#3A3A32}
html[data-theme="dark"] .bhb-tema-switch__btn{color:#A3A296}
html[data-theme="dark"] .bhb-tema-switch__btn:hover{color:#EDECE4}
html[data-theme="dark"] .bhb-tema-switch__btn[aria-pressed="true"]{background:#D4CE72;color:#1B1B17}
html[data-theme="dark"] .elementor-widget-theme-post-content blockquote{border-color:#D4CE72}
/* zaštita od globalnih stilova dugmadi */
.bhb-tema-switch .bhb-tema-switch__btn{background:transparent !important;color:#626155 !important;border-radius:999px !important;width:28px !important;height:28px !important}
.bhb-tema-switch .bhb-tema-switch__btn:hover{color:#1B1B17 !important}
.bhb-tema-switch .bhb-tema-switch__btn[aria-pressed="true"]{background:#D4CE72 !important;color:#1B1B17 !important}
html[data-theme="dark"] .bhb-tema-switch .bhb-tema-switch__btn{color:#A3A296 !important}
html[data-theme="dark"] .bhb-tema-switch .bhb-tema-switch__btn:hover{color:#EDECE4 !important}
html[data-theme="dark"] .bhb-tema-switch .bhb-tema-switch__btn[aria-pressed="true"]{background:#D4CE72 !important;color:#1B1B17 !important}

html[data-theme="dark"] .elementor-widget-icon .elementor-icon svg,html[data-theme="dark"] .elementor-search-form__toggle svg,html[data-theme="dark"] .e-font-icon-svg.e-fas-bars,html[data-theme="dark"] .e-font-icon-svg.e-fas-times{fill:#EDECE4 !important;color:#EDECE4 !important}
html[data-theme="dark"] .elementor-widget-icon .elementor-icon-wrapper a,html[data-theme="dark"] .elementor-widget-icon .elementor-icon{color:#EDECE4 !important}

html[data-theme="dark"] .e-off-canvas__content{background-color:#1C1C18 !important}
html[data-theme="dark"] .e-off-canvas .elementor-nav-menu--dropdown a{border-color:#2E2E28 !important}

html[data-theme="dark"] .elementor-nav-menu--dropdown .sub-arrow svg{fill:#EDECE4 !important}
html[data-theme="dark"] .elementor-nav-menu--dropdown li:not(:last-child){border-color:#2E2E28 !important}
html[data-theme="dark"] .elementor-nav-menu--dropdown li{border-bottom-color:#2E2E28 !important}

/* off-canvas skrol na mobitelu */
.bhb-oc .e-off-canvas__content{overflow-y:auto !important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:100vh;max-height:100dvh}
.bhb-oc .e-off-canvas__content > .e-con{min-height:100%}

html[data-theme="dark"] .bhb-oc .e-con{border-color:#2E2E28 !important}
html[data-theme="dark"] .bhb-oc .elementor-icon-list-icon svg{fill:#D4CE72 !important}

/* prekidač na zlatnom headeru */
html:not([data-theme="dark"]) .elementor-location-header .bhb-tema-switch{background:rgba(255,255,255,.45);border-color:rgba(27,27,23,.18)}
html:not([data-theme="dark"]) .elementor-location-header .bhb-tema-switch .bhb-tema-switch__btn{color:#1B1B17 !important}
html:not([data-theme="dark"]) .elementor-location-header .bhb-tema-switch .bhb-tema-switch__btn[aria-pressed="true"]{background:#1B1B17 !important;color:#D4CE72 !important}

/* Google plutajuće reklame ispod off-canvas menija */
.bhb-oc .e-off-canvas{z-index:2147483647 !important}
html:has(.e-off-canvas[aria-hidden="false"]) ins.adsbygoogle[data-anchor-status],html:has(.e-off-canvas[aria-hidden="false"]) ins.adsbygoogle[data-side-rail-status],html:has(.e-off-canvas[aria-hidden="false"]) .adsbygoogle-noablate{visibility:hidden !important;clip-path:inset(50%) !important;pointer-events:none !important}

/* tagovi u članku */
.bhb-tags .elementor-post-info__terms-list{font-size:0;display:flex;flex-wrap:wrap;gap:8px}
.bhb-tags.elementor-widget .elementor-post-info__terms-list a.elementor-post-info__terms-list-item{display:inline-flex !important;align-items:center;font-size:13px !important;line-height:1.2 !important;font-weight:600 !important;color:#1B1B17 !important;background:#F6F5EF;border:1px solid #E6E5DC;border-radius:999px;padding:5px 12px !important;text-decoration:none;transition:background .2s,border-color .2s}
.bhb-tags .elementor-post-info__terms-list-item::before{content:'#';color:#97964C;font-weight:800;margin-right:3px}
.bhb-tags a.elementor-post-info__terms-list-item:hover{background:#ECE8B8;border-color:#D4CE72}
html[data-theme="dark"] .bhb-tags .elementor-post-info__terms-list-item{background:#24241F;border-color:#3A3A32;color:#EDECE4 !important}
html[data-theme="dark"] .bhb-tags a.elementor-post-info__terms-list-item:hover{background:#2E2E28;border-color:#D4CE72}

/* mali tagovi u karticama */
.bhb-tags--sm.elementor-widget .elementor-post-info__terms-list{gap:5px}
.bhb-tags--sm.elementor-widget .elementor-post-info__terms-list a.elementor-post-info__terms-list-item{font-size:11px !important;padding:3px 8px !important}
.bhb-tags--sm .elementor-post-info__terms-list a:nth-child(n+4){display:none !important}

.bhb-tags--sm.elementor-widget .elementor-post-info__terms-list .elementor-post-info__terms-list-item{display:inline-flex !important;align-items:center;font-size:11px !important;line-height:1.2 !important;font-weight:600 !important;color:#1B1B17 !important;background:#F6F5EF;border:1px solid #E6E5DC;border-radius:999px;padding:3px 8px !important}
.bhb-tags--sm .elementor-post-info__terms-list .elementor-post-info__terms-list-item:nth-child(n+4){display:none !important}
.e-loop-item a:hover .bhb-tags--sm .elementor-post-info__terms-list-item{border-color:#D4CE72}
html[data-theme="dark"] .bhb-tags--sm .elementor-post-info__terms-list-item{background:#24241F !important;border-color:#3A3A32 !important;color:#EDECE4 !important}

/* pozadina na tabletu/mobitelu: visina ekrana, širina proporcionalno */
@media (max-width:1024px){body{background-size:auto 100vh !important;background-attachment:scroll !important;background-position:center 0 !important}}

/* Vremeplov: 5. vijest na mobitelu puna širina, slika lijevo */
@media (max-width:767px){.bhb-vremeplov .elementor-loop-container{grid-auto-rows:auto !important}.bhb-vremeplov .e-loop-item:nth-child(5){grid-column:1/-1}.bhb-vremeplov .e-loop-item:nth-child(5)>.e-con{display:grid !important;grid-template-columns:45% 1fr;column-gap:12px;row-gap:4px;align-content:start}.bhb-vremeplov .e-loop-item:nth-child(5)>.e-con>.e-con:first-child{grid-row:1 / span 3;width:100%}.bhb-vremeplov .e-loop-item:nth-child(5)>.e-con>.elementor-widget{grid-column:2}}

/* arhiva: bez linije desno od zadnje kolone */
@media (min-width:1025px){.bhb-arhiva-grid .e-loop-item:nth-of-type(3n)>.e-con{border-right:0 !important}}
@media (min-width:768px) and (max-width:1024px){.bhb-arhiva-grid .e-loop-item:nth-of-type(2n)>.e-con{border-right:0 !important}}
@media (max-width:767px){.bhb-arhiva-grid .e-loop-item>.e-con{border-right:0 !important}}

/* reklame u tekstu: ako oglas nije stigao, bez praznog prostora */
.elementor-widget-theme-post-content [id^="div-gpt-ad"]{min-height:0 !important}
.elementor-widget-theme-post-content .code-block:not(:has(iframe,img,video)){margin-top:0 !important;margin-bottom:0 !important}

/* single post: svi baneri centrirani na mobitelu */
@media (max-width:767px){body.single-post .code-block,body.single-post .elementor-widget-shortcode .elementor-shortcode{text-align:center !important;margin-left:auto !important;margin-right:auto !important}body.single-post .code-block>a,body.single-post .code-block>div{margin-left:auto !important;margin-right:auto !important}body.single-post .code-block img,body.single-post .code-block iframe,body.single-post .code-block ins{display:block !important;margin-left:auto !important;margin-right:auto !important;max-width:100% !important}}

/* tamna tema: tagovi u karticama (jača specifičnost od svijetlog pravila) */
html[data-theme="dark"] .bhb-tags.elementor-widget .elementor-post-info__terms-list .elementor-post-info__terms-list-item,html[data-theme="dark"] .bhb-tags--sm.elementor-widget .elementor-post-info__terms-list .elementor-post-info__terms-list-item,html[data-theme="dark"] .bhb-tags.elementor-widget .elementor-post-info__terms-list a.elementor-post-info__terms-list-item{background:#24241F !important;border-color:#3A3A32 !important;color:#EDECE4 !important}
html[data-theme="dark"] .e-loop-item a:hover .bhb-tags--sm .elementor-post-info__terms-list-item{border-color:#D4CE72 !important}

/* tamna tema: linkovi u tekstu (footer, kontakt, autor) */
html[data-theme="dark"] .elementor-widget-text-editor a,html[data-theme="dark"] .elementor-widget-theme-post-content a:not(.bhb-vk__link):not(.elementor-button){color:#D4CE72 !important}
html[data-theme="dark"] .elementor-widget-text-editor a:hover,html[data-theme="dark"] .elementor-widget-theme-post-content a:not(.bhb-vk__link):hover{color:#F4EFC6 !important}
/* tamna tema: Basket Semafor */
html[data-theme="dark"] .bhb-semafor__naslov{color:#EDECE4 !important}
html[data-theme="dark"] .bhb-traka{background:#24241F !important}
html[data-theme="dark"] .bhb-traka__str{background:#3A3A32 !important;color:#EDECE4 !important}
html[data-theme="dark"] .bhb-traka__kartica{background:#2E2E28 !important}
html[data-theme="dark"] .bhb-traka__red{background:#1C1C18 !important}
html[data-theme="dark"] .bhb-traka__link,html[data-theme="dark"] .bhb-traka__vrh,html[data-theme="dark"] .bhb-traka__status,html[data-theme="dark"] .bhb-traka__poeni{color:#EDECE4 !important}
html[data-theme="dark"] .bhb-traka__kod{color:#7DB8EA !important}
html[data-theme="dark"] .bhb-sem__prazno{background:#24241F !important;color:#A9A796 !important}
/* pravne stranice (politika privatnosti, kolačići) */
.bhb-pravno h2{font-size:24px;line-height:1.25;margin:30px 0 10px}
.bhb-pravno h3{font-size:19px;line-height:1.3;margin:22px 0 8px}
.bhb-pravno ul{padding-left:20px;margin:0 0 14px}
.bhb-pravno li{margin-bottom:6px}
.bhb-pravno a{color:#97964C;text-decoration:underline}
.bhb-pravno table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;margin:8px 0 22px}
.bhb-pravno th,.bhb-pravno td{border:1px solid #E6E5DC;padding:8px 10px;text-align:left;vertical-align:top}
.bhb-pravno th{background:#F6F5EF;font-weight:700}
html[data-theme="dark"] .bhb-pravno th,html[data-theme="dark"] .bhb-pravno td{border-color:#3A3A32}
html[data-theme="dark"] .bhb-pravno th{background:#24241F}
html[data-theme="dark"] .bhb-pravno a{color:#D4CE72 !important}
@media (max-width:767px){.bhb-pravno table{display:block;overflow-x:auto;font-size:14px}.bhb-pravno h2{font-size:21px}}

html[data-theme="dark"] .bhb-pravno h2,html[data-theme="dark"] .bhb-pravno h3,html[data-theme="dark"] .bhb-pravno strong,html[data-theme="dark"] .bhb-pravno th{color:#EDECE4 !important}
html[data-theme="dark"] .bhb-pravno th,html[data-theme="dark"] .bhb-pravno thead tr{background:#24241F !important}
html[data-theme="dark"] .bhb-pravno td,html[data-theme="dark"] .bhb-pravno tbody tr{background:transparent !important;color:#D6D5CC !important}

/* reklame ne smiju izaci iz kolone */
.single-post .code-block,.elementor-location-single .code-block,.bhb-ad-dno{max-width:100%;overflow:hidden}
.single-post .code-block ins.adsbygoogle,.elementor-location-single .code-block ins.adsbygoogle{max-width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important}
.single-post .code-block ins.adsbygoogle iframe,.elementor-location-single .code-block ins.adsbygoogle iframe{max-width:100%!important}
.bhb-ad-uska .code-block{overflow:visible}
