@media screen and (max-width: 768px) {
	* {
		box-sizing: border-box !important;
		-moz-box-sizing: border-box !important;
	}
	
	a {
		text-decoration: none !important;
	}

	br {
		display: none !important;
	}

	#navigation {
		display: none;
		position: static;
		left: 0;
		padding: 0;
		border-radius: 0;
		height: auto;
		width: auto;
		margin: 0;
		background: none;
		box-shadow: none;
		overflow: hidden;
	}
	
	#navigation a.home, #navigation .popular {
		display: none;
	}
	
	#navigation li {
		border-top: 1px solid #fff;
		border-bottom: 1px solid #a0a7b0;
		float: none !important;
	}

	#heading {
		border-bottom: 1px solid #a0a7b0;
	}
	
	#navigation ul {
		width: 100%;
		height: auto !important;
		text-align: center;
	}
	
	#navigation a {
		font-family: arial;
		font-size: 1.2em;
		font-weight: bold;
		color: #838372;
		text-decoration: none;
	}
	
	#navigation a:hover {
		background: #e7e6da;
	}

	#heading {
		padding: 0 20px;
	}

	#heading_bg, #heading_right {
		height: auto !important;
		padding: 0 !important;
	}
	
	#heading_bg img {
		margin-top: -1px;
	}

	.searchBtn {
		display: none !important;
	}
	
	#search {
		display: none;
		width: 95% !important;
		height: auto !important;
		padding: 0 !important;
		margin: 10px auto !important;
		float: none !important;
		/*new-pii*/
		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		-o-box-shadow: none !important;
		-ms-box-shadow: none !important;
		box-shadow: none !important;
	}
	
	#search_right, #search_bg, .input-holder/*, .input-holder input pii*/ {
		width: 100% !important;
		padding: 0 !important;
		background: transparent !important;
	}
	
	#search_right, #search_bg {
		height: auto !important;
	}
	
	#search input {
		padding: 0 !important;
	}

	.input-holder {
		height: 32px !important;
		border-radius: 4px;
		/*box-shadow: inset 0 0 5px 1px rgb(193, 193, 186);pii*/
		background: #fff;
	}
	
	.area-holder {
		border-radius: 4px;
		box-shadow: inset 0 0 5px 1px rgb(193, 193, 186);
		background: #fff;		
	}
	
	.mobile-header img {
		width: 22px !important;
		position: relative;
		top: 14px;
	}
	
	#mobile-navigation {
		float: left;
	}
	
	#mobile-search {
		float: right;
	}
	
	#posts .post .text p {
		font-family: arial !important;
	}
	
	#posts h2 {
		margin-bottom: 7px !important;
	}
	
	#finish-nav-border {
		display: none;
	}
	
	.block, .comment.block, .comment.block textarea,
	.comment.block .col-right {
		width: 100% !important;
	}
	
	.wp-caption {
		width: auto !important;
		max-width: 100%;
		max-height: 100%;
	}
	
	.wp-caption img {
		width: 100%;
		height: 100%;
	}

	div.post > iframe {
		width: 80% !important;
	}
	
	body.single {
		font-family: arial;
		background: #fff !important;
	}
	
	body.single #content {
		padding: 10px;
		box-sizing: border-box !important;
	}
	
	#navigation > ul > li {
		border-left: none !important;
		border-right: none !important;
	}
	
	#navigation ul.sf-menu {
		padding: 0;
	}
	
	#postcontainer {
		margin-top: 15px;
	}
	
	#postcontainer h1.title {
		padding-top: 5px !important;
		padding-bottom: 0 !important;
		clear: both;
	}
	
	#postcontainer hr {
		display: none;
	}

	.wp-caption {
		padding: 7px !important;
		padding-bottom: 0 !important;
		border: none;
	}
	
	.wp-caption p {
		position: relative;
		top: -5px;
	}
	
	.page-navigation {
		visibility: hidden;
		position: absolute;
	}
	
	#infscr-loading {
		margin: 0 auto;
		text-align: center;
		margin-top: 10px;
	}
	
	.input-holder {
		/*padding-top: 5px !important;
		padding-left: 25px !important;pii*/
	}
	
	#search i {
		position: relative;
		top: -22px;
		left: -18px;
		color: #c9c9b5;
	}
	
	#search {
		font-size: 16px !important;
	}
	
	#mobile-nav-items a {
		color: #909086;
		text-decoration: none;
		font-size: 1.5em;
		padding-top: 7px;
	}
	
	#nav {
		background: #f0f0e6;
	}

	#posts a {
		text-decoration: none;
	}
	
	.post table {
		width: 100% !important;
		font-size: 12px !important;
	}
	
	.desktop-thumb {
		display: none;
	}
	
	.min > a {
		margin-top: 10px;
		display: block;
		box-shadow: 1px 2px 3px #c1c1ba		
	}
	
	.text a {
		display: block;
		overflow: hidden;
	}
	
	/* Category */
	
	.category {
		
	}
	
	center h3 {
		margin-bottom: 10px !important;
	}
	
	#live-prenos a {
		width: 224px;
		height: 62px;
	}
	
	#mobile-ad {
		margin-top: 10px !important;
	}	
	
	span#cntdwn {
		font-size: 20px !important;
	}
	
	body.archive.category {
		font-family: arial;
	}
	
	body.archive.category h1.kategorija {
		text-align: center;
		margin-top: 30px;
	}
	/*
	body.archive.category h1 a {
		font-family: Arial;
		font-weight: bold;
		font-size: 1em !important;
		text-decoration: none;
	}	pii*/

	body.archive.category .date {
		display: none;
	}
	
	body.archive.category #content > div {

	}
	
	body.archive.category #postcontainer .infscr {
		background: #fff;
		border-radius: 4px;
		box-shadow: 1px 2px 3px #c1c1ba;
		font-size: .75em !important;
		overflow: hidden !important;
		padding: 20px 10px !important;	
		position: relative;	
		margin: 10px 0;
		min-height: 110px !important;
	}
	
	body.archive.category #postcontainer .infscr > div {
		position: relative;
	}
	
	body.archive.category .thumb_cont {
		position: absolute;
		top: 0;
		left: 0;
	}
	
	body.archive.category h1.title {
		display: block;
		font-size: 1em !important;
		margin-left: 105px;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	
	body.archive.category p.text {
		margin-left: 105px;
		line-height: 1 !important;
	}
	
	body.archive.category #content_container {
		padding: 0 10px;
	}
	
	body.archive.category div.tida {
		margin: 0;
	}

	body.archive.category #pagination {
		display: none;
	}
	
	.page {
		font-family: arial !important;
	}
	
	.page .youtube iframe, .page .youtube embed {
		max-width: 90% !important;
	}
	
	.page .wp-caption {
		margin: 0 !important;
		float: none !important;
	}
	
	.page #content {
		padding: 0 10px !important;
	}
	
	.page iframe {
		width: auto !important;
	}
	
	body.page {
		background: #fff !important;
	}
	
	.page table {
		width: 90%;
		margin: 30px auto !important;
	}
	
	.page div.page * {
		float: none !important;
	}

	.cboxElement {
		display: block !important;
		margin: 0 auto !important;
		text-align: center;
	}
	
	.cboxElement img {
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
	}
	
	#postcontainer .page div {
		padding-left: 0 !important;
	}
	
	.comments .avatar {
		display: none !important;
	}
	
	.comments .info {
		position: absolute;
		bottom: 0;
		/*left: 0;pii*/
		/*new*/
		left: 24px;
	}
	/*pii*/
	.comments .children{
		margin-top: 35px;margin-bottom: 15px;
	}
		.comments .children div.reply{
			padding-bottom:30px;
			
		}
		/*new-pii*/
		.comments .children div.reply {
			padding-top:0;
		}
		/*new-pii*/
		.comments .children > div.reply:first-child {
			padding-top:25px;
		}
		
		.comments .children .comment:after{
			top: 0px;
			left: 30px;
		}
	
	.comments .item {
		padding: 0 0 30px !important;
		overflow: visible !important;
	}
	
	.comment + .comment {
		/*margin-top: 30px;pii*/
		margin-top: 15px;
		clear: both;/*pii*/
	}
	
	.comment .comment-reply {
		position: absolute !important;
		top: -5px;
		left: 110px;
		margin: 0 !important;
	}

	.comments .comment:after {
		content: '';
        position:relative;
        top:12px;
        /*left: 7px;pii*/
		left:30px;/*new-pii*/
        width:0;
        height:0;
        border-left:10px solid transparent;
        border-right:10px solid transparent;
        border-top:10px solid #ebeadc;
		z-index: 9999999;
	}
	.comments #respond:after {display:none;}
	
	.comments .text p {
		position: relative;
		font-size: .9em;
		color: #838374;
		/*line-height: 1.1 !important;pii*/
		line-height: 18px !important;
		z-index: 1;
	}
	
	.comments .text {
		border-radius: 5px !important;
	}
	
	h2#comments {
		font-size: .9em;
		font-weight: bold;
		color: #ca4e2d !important;
		
	}
	
	.comment.block .area-holder {
		float: none !important;
		width: auto !important;
	}
	
	.comment.block .input-holder {
		/*padding: 7px 10px !important;pii*/
	}
	
	.comment-form label {
		display: none !important;
	}
	
	.comment.block .col-left {
		float: none !important;
		width: auto !important;
		margin: 0 !important;
	}
	
	.comment.block .col-right {
		float: none !important;
		margin-left: 0 !important;
	}
	
	#respond {
		margin-top: 20px !important;
	}
	
	.tida h1.title {
		max-width: 60% !important;
	}
	
	.thumb_cont a.thumb {
		background: none;
	}
	
	.thumb_cont img {
		padding: 4px;
		background: #ebe9db;
	}
	
	.thumb {
		position: absolute;
		width: 108px !important;
		top: -4px !important;
		left: -4px !important;
	}
	
	.tida {
		position: relative;
		top: -4px !important;
	}
}

@media screen and (min-width: 769px) {
	.mobile-header {
		display: none;
	}	
	#search i {
		display: none;
	}
	.mobile-thumb {
		display: none;
	}
	aggation {
		display: block !important;
	}
	#nav li:hover {
		background: rgba(0,0,0,.05);
	}
	#navigation a.home {
		height: 40px !important;
	}
	#mobile-ad {
		display: none;
	}
	.page-navigation {
		display: none !important;
	}
}

/* ============================================
   MODERN SEARCH RESULTS STYLING
   Beautiful, mobile-first search results
   ============================================ */

/* Search Results Container */
body.search #content_container {
	background: #f5f5f0;
	min-height: 100vh;
}

body.search #content_container_bg {
	background: transparent;
}

body.search #content.search {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}

/* Search Results Header */
body.search h2.results {
	font-size: 1.1em;
	color: #666;
	font-weight: 400;
	margin-bottom: 24px;
	padding: 16px 20px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.search h2.results span {
	color: #ca4f2e;
	font-weight: 600;
}

/* Post Container - Grid Layout */
body.search #postcontainer {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Individual Search Result Card */
body.search #postcontainer .post {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	padding: 0;
	margin: 0;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: row;
	position: relative;
}

body.search #postcontainer .post:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Hide old HR separators */
body.search #postcontainer .post hr {
	display: none;
}

/* Thumbnail Container */
body.search #postcontainer .thumb_cont {
	flex-shrink: 0;
	width: 180px;
	height: 140px;
	position: relative;
	overflow: hidden;
	margin: 0;
	float: none;
}

body.search #postcontainer .thumb_cont a.thumb {
	display: block;
	width: 100%;
	height: 100%;
	background: none;
	padding: 0;
}

body.search #postcontainer .thumb_cont img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 0;
	background: none;
	transition: transform 0.3s ease;
}

body.search #postcontainer .post:hover .thumb_cont img {
	transform: scale(1.05);
}

/* Hide comment balloon on search results */
body.search #postcontainer .comments_balloon {
	display: none;
}

/* Content Area */
body.search #postcontainer .post-content {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	position: relative;
	min-height: 140px;
}

body.search #postcontainer .tida {
	position: static;
	top: auto;
	padding: 0;
	margin: 0;
}

body.search #postcontainer .tida .right.clear {
	display: none;
}

/* Title Styling */
body.search #postcontainer h1.title {
	font-size: 1.15em;
	line-height: 1.4;
	margin: 0 0 8px 0;
	padding: 0;
}

body.search #postcontainer h1.title a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
	display: block;
}

body.search #postcontainer h1.title a:hover {
	color: #ca4f2e;
}

/* Date Styling */
body.search #postcontainer h1.title .date {
	display: block;
	font-size: 0.75em;
	color: #999;
	font-weight: 400;
	margin-top: 6px;
}

/* Excerpt/Text Styling */
body.search #postcontainer .post p.text {
	color: #666;
	font-size: 0.9em;
	line-height: 1.6;
	margin: 8px 0 0 0;
	padding: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

/* Read More Button */
body.search #postcontainer a.more.btn {
	display: inline-block;
	margin-top: auto;
	align-self: flex-start;
	background: linear-gradient(135deg, #ca4f2e 0%, #b8442a 100%);
	color: #fff;
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(202, 79, 46, 0.3);
	width: auto;
}

body.search #postcontainer a.more.btn span {
	padding: 0;
}

body.search #postcontainer a.more.btn:hover {
	background: linear-gradient(135deg, #b8442a 0%, #9e3a24 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(202, 79, 46, 0.4);
}

/* Pagination Styling - Google-like */
body.search #pagination {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	margin-top: 32px !important;
	padding: 20px !important;
	height: auto !important;
	flex-wrap: wrap !important;
}

/* Previous/Next Buttons */
body.search #pagination .pagination-btn {
	background: #52B5CA !important;
	background-image: none !important;
	color: #fff !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	border: none !important;
	height: auto !important;
	width: auto !important;
	display: inline-block !important;
	position: static !important;
	text-indent: 0 !important;
	font-family: Arial, Helvetica, sans-serif !important;
}

body.search #pagination .pagination-btn:hover {
	background: #449EAD !important;
	transform: translateY(-1px);
}

body.search #pagination .pagination-prev {
	order: 1;
}

body.search #pagination .pagination-numbers {
	order: 2;
	display: flex;
	gap: 4px;
	align-items: center;
}

body.search #pagination .pagination-next {
	order: 3;
}

/* Page Numbers */
body.search #pagination .pagination-numbers a,
body.search #pagination .pagination-numbers span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	font-family: Arial, Helvetica, sans-serif !important;
	background: none !important;
	background-image: none !important;
	color: #333 !important;
	border: none !important;
}

body.search #pagination .pagination-numbers a:hover {
	background: #f0f0f0 !important;
}

body.search #pagination .pagination-numbers span.current {
	background: #52B5CA !important;
	color: #fff !important;
}

body.search #pagination .pagination-numbers .dots {
	color: #666 !important;
	min-width: auto;
}

/* Hide old pagination buttons if any remain */
body.search #pagination a.btn,
body.search #pagination a.btn.older,
body.search #pagination a.btn.newer {
	display: none !important;
}

/* No Results Message */
body.search h2.results:only-child {
	text-align: center;
	padding: 40px 20px;
	font-size: 1.2em;
}

/* ============================================
   MOBILE RESPONSIVE STYLES (max-width: 768px)
   ============================================ */
@media screen and (max-width: 768px) {
	body.search {
		font-family: Arial, Helvetica, sans-serif;
	}

	body.search #content.search {
		padding: 12px;
	}

	body.search h2.results {
		font-size: 1em;
		padding: 14px 16px;
		margin-bottom: 16px;
		border-radius: 10px;
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search #postcontainer {
		gap: 8px;
	}

	/* Stack layout on mobile */
	body.search #postcontainer .post {
		flex-direction: column;
		border-radius: 12px;
	}

	/* Full-width thumbnail on mobile */
	body.search #postcontainer .thumb_cont {
		width: 100%;
		height: 180px;
		position: relative;
	}

	body.search #postcontainer .thumb_cont a.thumb {
		position: static;
		width: 100%;
		left: auto;
		top: auto;
	}

	body.search #postcontainer .thumb_cont img {
		border-radius: 0;
	}

	/* Content adjustments for mobile */
	body.search #postcontainer .post-content {
		padding: 16px;
		min-height: auto;
	}

	body.search #postcontainer .tida {
		padding: 0;
	}

	body.search #postcontainer h1.title {
		font-size: 1.1em;
		max-width: 100% !important;
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search #postcontainer h1.title a {
		display: block;
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search #postcontainer h1.title .date {
		font-size: 0.8em;
		margin-top: 4px;
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search #postcontainer .post p.text {
		font-size: 0.9em;
		-webkit-line-clamp: 3;
		margin: 10px 0 14px 0;
		font-family: Arial, Helvetica, sans-serif !important;
	}

	/* Search result cards - correct selectors */
	body.search .search-result-card {
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search .card-title,
	body.search .card-title a {
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search .card-excerpt {
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search .card-date {
		font-family: Arial, Helvetica, sans-serif !important;
	}

	body.search .card-content {
		font-family: Arial, Helvetica, sans-serif !important;
	}

	/* Button on mobile */
	body.search #postcontainer a.more.btn {
		display: block;
		text-align: center;
		border-radius: 8px;
		padding: 12px 20px;
		width: 100%;
		box-sizing: border-box;
	}

	/* Pagination on mobile */
	body.search #pagination {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		padding: 16px !important;
		gap: 8px !important;
		justify-content: center !important;
	}

	body.search #pagination .pagination-btn {
		padding: 10px 16px !important;
		font-size: 13px !important;
	}

	body.search #pagination .pagination-numbers {
		width: 100%;
		justify-content: center;
		order: 3;
		margin-top: 8px;
	}

	body.search #pagination .pagination-prev {
		order: 1;
	}

	body.search #pagination .pagination-next {
		order: 2;
	}

	body.search #pagination .pagination-numbers a,
	body.search #pagination .pagination-numbers span {
		min-width: 32px;
		height: 32px;
		font-size: 13px !important;
	}
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media screen and (max-width: 480px) {
	body.search #content.search {
		padding: 8px;
	}

	body.search h2.results {
		font-size: 0.95em;
		padding: 12px 14px;
		border-radius: 8px;
	}

	body.search #postcontainer .thumb_cont {
		height: 160px;
	}

	body.search #postcontainer .post-content {
		padding: 14px;
	}

	body.search #postcontainer h1.title {
		font-size: 1em;
	}

	body.search #postcontainer .post p.text {
		font-size: 0.85em;
	}

	body.search #postcontainer a.more.btn {
		padding: 10px 16px;
	}
}