.card-cats {
	margin-bottom: 0.3rem;
}
.card-cat {
	display: inline-block;
	background: var(--primary);
	color: #111;
	border-radius: 6px;
	padding: 0.15rem 0.7rem;
	font-size: 0.85rem;
	font-weight: 600;
	margin-right: 0.4rem;
	margin-bottom: 0.2rem;
	text-shadow: 0 1px 4px #000a;
}
/*
Theme Name: Lopta.ba Custom
Theme URI: https://lopta.ba/
Author: Tvoj tim
Author URI: https://lopta.ba/
Description: Customizirana tema za Lopta.ba
Version: 1.0
*/

:root {
	--primary: #ffd600;
	--accent: #fff;
	--bg: #111111;
	--bg-card: #191919;
	--text: #fff;
	--text-muted: #e0e0e0;
	--border: #222;
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Montserrat', Arial, sans-serif;
	margin: 0;
	padding: 0;
	padding-top: 106px; /* 36px ticker + 70px header (prilagodi po potrebi) */
}
.ticker {
	width: 100vw;
	background: var(--primary);
	color: #111;
	font-weight: 600;
	font-size: 1.05rem;
	padding: 0.5rem 0;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	border-bottom: 2px solid #bdb800;
}
.ticker-content {
	display: inline-block;
	white-space: nowrap;
	animation: ticker 18s linear infinite;
}
@keyframes ticker {
	0% { transform: translateX(100vw); }
	100% { transform: translateX(-100vw); }
}
header {
	background: #111111;
	color: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	position: fixed;
	width: 100%;
	top: 2.2rem;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
	height: 64px;
	border-bottom: 1px solid var(--border);
}
.logo {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--primary);
	letter-spacing: 2px;
}
nav {
	display: flex;
	gap: 1.5rem;
}
nav a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}
nav a:hover {
	color: var(--primary);
}
.search {
	background: #23272f;
	color: #fff;
	border-radius: 8px;
	padding: 0.3rem 0.8rem;
	border: none;
	font-size: 1rem;
}
.hero {
	background: none;
	border-radius: 0;
	box-shadow: none;
	/* margin-top uklonjen zbog padding-top na body */
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	position: relative;
}
.hero-img {
	width: 100vw;
	height: 450px;
	max-width: 100vw;
	object-fit: cover;
	border-radius: 0;
	margin-bottom: 0;
	box-shadow: none;
	display: block;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	min-width: 100vw;
}
.hero-caption {
	max-width: 700px;
	margin: 2.5rem auto 2.5rem auto;
	text-align: center;
	background: rgba(25,25,25,0.98);
	border-radius: 18px;
	box-shadow: 0 2px 16px #0008;
	padding: 2.2rem 1.5rem 2.2rem 1.5rem;
}
.hero-title {
	font-size: 2.2rem;
	font-weight: 800;
	margin-bottom: 0.7rem;
	color: var(--primary);
	text-shadow: 0 2px 12px #000;
	letter-spacing: 1px;
}
.hero-desc {
	font-size: 1.15rem;
	margin-bottom: 0.2rem;
	color: var(--accent);
	text-shadow: 0 1px 8px #000;
}
.social-bar {
	display: flex;
	justify-content: center;
	gap: 1.2rem;
	margin: 1.5rem 0 0.5rem 0;
}
.social-link {
	fill: #fff;
	display: inline-block;
	opacity: 0.85;
	transition: opacity 0.2s, transform 0.2s;
}
.social-link:hover svg path {
	fill: var(--primary);
}
.social-link:hover {
	opacity: 1;
	transform: scale(1.12);
}
.main-content {
	display: flex;
	gap: 2rem;
	max-width: 1200px;
	margin: 2.5rem auto 2rem auto;
	align-items: flex-start;
}
.left-col {
	flex: 3;
}
.right-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.categories {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
}
.category {
	background: var(--primary);
	color: #111;
	border-radius: 8px;
	padding: 0.5rem 1.2rem;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	border: 1px solid var(--border);
	text-shadow: 0 1px 4px #000a;
}
.category:hover {
	background: #fffde7;
	color: #111;
}
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.card {
	background: var(--bg-card);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.10);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	border: 1px solid var(--border);
}
.card-img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 0.7rem;
	box-shadow: 0 2px 8px #0003;
}
.card-featured {
	grid-column: span 2;
	background: #181818;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 2rem 2rem 1.5rem 2rem;
	margin-top: 2.5rem;
}
.card-featured .button-primary {
	color: #111 !important;
	background: var(--primary);
}
.card-featured .button-primary:hover {
	background: #111 !important;
	color: var(--primary) !important;
}
.card-featured .card-img {
	height: 260px;
	border-radius: 12px;
	margin-bottom: 1.2rem;
}
.card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.3rem;
	color: var(--primary);
	text-shadow: 0 1px 4px #000a;
}
.card-desc {
	font-size: 0.98rem;
	color: var(--text-muted);
}
.card-link {
	color: #111;
	font-weight: 700;
	text-decoration: none;
	margin-top: 0.2rem;
	display: inline-block;
	transition: color 0.2s;
}
.card-link:hover {
	color: var(--primary);
	text-decoration: underline;
}
.live-widget {
	background: var(--primary);
	color: #111;
	border-radius: 10px;
	padding: 1rem;
	text-align: center;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.multimedia {
	background: var(--bg-card);
	border-radius: 12px;
	padding: 1.5rem;
	margin-top: 2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.10);
	border: 1px solid var(--border);
}
.multimedia-title {
	color: var(--accent);
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}
.podcast-player {
	background: #111;
	border-radius: 8px;
	padding: 1rem;
	color: #fff;
	margin-bottom: 1rem;
}
footer {
	background: #111111;
	color: #fff;
	padding: 2rem 0 1rem 0;
	margin-top: 2rem;
	text-align: center;
	border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
	.main-content {
		flex-direction: column;
		gap: 0;
	}
	.right-col {
		margin-top: 2rem;
	}
	.hero-caption {
		padding: 1.2rem 0.5rem 1.2rem 0.5rem;
	}
	.card-featured .card-img {
		height: 180px;
	}
}
@media (max-width: 600px) {
	header {
		flex-direction: column;
		height: auto;
		padding: 0.5rem 0.5rem;
	}
	nav {
		flex-direction: column;
		gap: 0.5rem;
		width: 100%;
		align-items: flex-start;
	}
	.logo {
		margin-bottom: 0.5rem;
	}
	.hero-img {
		height: 180px;
	}
	.main-content {
		padding: 0 0.2rem;
	}
	.categories {
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	.card {
		padding: 0.7rem;
	}
}
