/* Kontejner oznaka */
.entry-tags {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	font-family: inherit;
	line-height: 1.5;
	color: #334155;
}

/* Naslov "Oznake" */
.entry-tags .ct-module-title {
	display: block;
	margin-bottom: 0.45rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700 !important;
	line-height: 1.5;
	text-transform: none;
	letter-spacing: normal;
	color: #334155;
}

.entry-tags .entry-tags-items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 0.35rem;
	column-gap: 0;
	font-family: inherit;
	line-height: 1.5;
	color: #334155;
}

/* Sakrivanje # unutar <span> na svakoj oznaci */
.entry-tags a[rel="tag"] > span {
	display: none !important;
}

/* Link oznake: još svetlija siva, crvena + underline na hover */
.entry-tags a[rel="tag"] {
	display: inline-flex;
	align-items: center;
	padding: 0.1rem 0;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 300;
	line-height: 1.5;
	color: #cbd5e1 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

/* Separator | između oznaka */
.entry-tags a[rel="tag"]:not(:last-child)::after {
	content: "|";
	display: inline-block;
	margin: 0 0.55rem;
	color: #e2e8f0;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none !important;
	pointer-events: none;
	user-select: none;
}

.entry-tags a[rel="tag"]:hover {
	color: #dd3434 !important;
	background: transparent !important;
	background-color: transparent !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
}

/* Tamni režim (Dark mode) */
[data-color-scheme="dark"] .entry-tags,
.dark .entry-tags,
[data-color-scheme="dark"] .entry-tags .ct-module-title,
.dark .entry-tags .ct-module-title,
[data-color-scheme="dark"] .entry-tags .entry-tags-items,
.dark .entry-tags .entry-tags-items {
	color: #e2e8f0;
}

[data-color-scheme="dark"] .entry-tags a[rel="tag"],
.dark .entry-tags a[rel="tag"] {
	color: #64748b !important;
	background: transparent !important;
}

[data-color-scheme="dark"] .entry-tags a[rel="tag"]:not(:last-child)::after,
.dark .entry-tags a[rel="tag"]:not(:last-child)::after {
	color: #334155;
}

[data-color-scheme="dark"] .entry-tags a[rel="tag"]:hover,
.dark .entry-tags a[rel="tag"]:hover {
	color: #dd3434 !important;
	background: transparent !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
}