/* tesanj.net – svijetla/tamna tema: dugme i dopune Sahifinog tamnog izgleda */
html{color-scheme:light}
html.tn-dark{color-scheme:dark}

/* --- Dugme --- */
.tn-tema-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#555;cursor:pointer;line-height:1;-webkit-tap-highlight-color:transparent}
.tn-tema-btn:hover{color:#4bb4d1}
.tn-tema-btn:focus-visible{outline:2px solid #4bb4d1;outline-offset:-2px}
.tn-tema-btn svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tn-tema-btn .tn-sunce{display:none}
html.tn-dark .tn-tema-btn .tn-sunce{display:block}
html.tn-dark .tn-tema-btn .tn-mjesec{display:none}
html.tn-dark .tn-tema-btn{color:#ddd}
html.tn-dark .tn-tema-btn:hover{color:#4bb4d1}
/* u gornjem meniju: krajnje desno, desno od pretrage */
.top-nav .tn-tema-btn{float:right;height:30px;margin-left:5px}
/* mobitel: gornji meni je sakriven, dugme ide u zaglavlje desno (nasuprot dugmeta za meni) */
.tn-tema-btn--mob{display:none}
@media only screen and (max-width:900px){
	.header-content{position:relative}
	.tn-tema-btn--mob{display:inline-flex;position:absolute;top:30px;right:5px;width:40px;height:40px;z-index:505}
	.tn-tema-btn--mob svg{width:24px;height:24px}
}

/* --- Dopune tamnog izgleda --- */
html.tn-dark body{background-image:none !important;background-color:#1c1c1c !important}
/* logo sa svijetlim slovima (img ostaje iste veličine, slika ide kao pozadina) */
html.tn-dark .logo img{background:url(images/logo-dark.png) no-repeat 0 0/100% 100%;object-position:-99999px 0}
html.tn-dark #slide-out-open span,
html.tn-dark #slide-out-open span:before,
html.tn-dark #slide-out-open span:after{background:#ddd}
/* widget Najava (inline bijela pozadina) */
html.tn-dark .najave-no-items{background:#2c2c2c !important;border-color:#555 !important;color:#ccc}
/* mobilne liste članaka iz child style.css */
@media only screen and (max-width:767px){
	html.tn-dark .recent-box .recent-item,
	html.tn-dark .scroll-box .scroll-item{border-bottom-color:#4a4a4a !important}
}
