#maincontent #stolpci-logo {
	max-width: 48px;
}

.objave-feed {
	max-width: 750px;
	margin: 20px auto;
}

.objave-versions {
	max-width: 750px;
	margin: 30px auto 20px auto;
}

.objave-versions h3 {
	font-size: 22px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.objave-versions-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.feed-post-version {
	opacity: 1;
	border-color: #ccc;
	background-color: #fff;
	cursor: pointer;
}

.feed-post-version:hover {
	background-color: #f9f9f9;
}

.feed-post-opis-version {
	font-size: 18px;
	color: #666;
	margin-bottom: 12px;
	font-style: italic;
}

.feed-post-version-note {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #eee;
	font-size: 16px;
	color: #999;
}

.feed-empty {
	text-align: center;
	padding: 40px 20px;
	color: #999;
}

.feed-post-wrapper {
	margin-bottom: 20px;
}

.feed-post {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: background-color 0.2s;
}

.feed-post:hover {
	background-color: #fff;
}

.feed-post-preview {
	font-size: 20px;
	color: #333;
	margin-top: 24px;
	margin-bottom: 15px;
	line-height: 1.5;
	text-align: left;
}

.feed-post.expanded .feed-post-preview {
	display: none;
}

.feed-post-header-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 0;
	position: relative;
}

.feed-post-avatar {
	margin-right: 12px;
	flex-shrink: 0;
	margin-top: 10px;
}

.feed-avatar-img {
	width: 32px;
	height: 32px;
	border-radius: 0;
	object-fit: cover;
}

.feed-post-header-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	text-align: left;
	margin-top: 10px;
}

.feed-author-name {
	font-weight: 600;
	font-size: 21px;
	color: #333;
	margin-bottom: 0;
	line-height: 1.4;
	text-align: left;
}

.feed-post-title-collapsed {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	width: 100%;
	text-align: center;
	margin-top: 12px;
	line-height: 1.4;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.feed-post.expanded .feed-post-title-collapsed {
	display: none;
}

.feed-post-header-actions {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	gap: 4px;
	align-items: center;
}

.feed-post.expanded .feed-post-header-actions {
	display: flex;
}

.feed-post-minimize-btn {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	background: #75828D;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: font-size 0.2s;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
}

.feed-post-minimize-btn:hover {
	font-size: 19px;
}

.feed-post-title-expanded {
	font-size: 1.5em;
	font-weight: 600;
	color: #333;
	margin-top: 1em;
	margin-bottom: 0.5em;
	display: none;
	text-align: center;
}

.feed-post.expanded .feed-post-title-expanded {
	display: block;
}

.feed-post-date {
	font-size: 19px;
	color: #999;
	line-height: 1.4;
	text-align: left;
	margin-left: 0;
}

.feed-post-button-wrapper {
	margin-top: 15px;
	text-align: center;
}

.feed-post.expanded .feed-post-button-wrapper {
	display: none;
}

.feed-post-expand-btn {
	width: auto;
	min-width: 220px;
}

.feed-post-title-mobile {
	display: none;
	line-height: 1;
}

.feed-post-content {
	margin-top: 0;
}

.feed-post.expanded .feed-post-content {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	display: block;
}

.feed-post-body {
	font-size: 20px;
	line-height: 1.6;
	color: #333;
	display: none;
	text-align: left;
}

.feed-post.expanded .feed-post-body {
	display: block;
}

.feed-post-body h1,
.feed-post-body h2,
.feed-post-body h3,
.feed-post-body h4,
.feed-post-body h5,
.feed-post-body h6 {
	margin-top: 1em;
	margin-bottom: 0.5em;
	font-weight: 600;
	color: #333;
}

.feed-post-body h2 {
	font-size: 1.5em;
}

.feed-post-body h3 {
	font-size: 1.25em;
}

.feed-post-body h4 {
	font-size: 1.1em;
}

.feed-post-body p {
	margin-bottom: 1em;
	line-height: 1.6;
}

.feed-post-body p:last-child {
	margin-bottom: 0;
}

.feed-post-body img {
	max-width: 100%;
	height: auto;
	border-radius: 0;
	margin: 10px 0;
}

.feed-post-body ul,
.feed-post-body ol {
	margin: 1em 0;
	padding-left: 2em;
}

.feed-post-body li {
	margin-bottom: 0.5em;
}

.feed-post-body code {
	background: #f5f5f5;
	border: 1px solid #dbdbdb;
	padding: 2px 6px;
	border-radius: 0;
	font-family: 'Courier New', Courier, monospace;
	font-size: 17px;
}

.feed-post-body a {
	color: #3d5567;
	text-decoration: underline;
}

.feed-post-body strong {
	font-weight: 600;
	color: #333;
}

.feed-post-divider {
	height: 1px;
	background: #ddd;
	margin: 15px 0;
	display: none;
}

.feed-post.expanded .feed-post-divider {
	display: block;
}

.feed-post-reactions {
	display: none;
	gap: 8px;
	align-items: center;
	pointer-events: none;
}

.feed-post.expanded .feed-post-reactions {
	display: flex;
}

.feed-post-reactions .feed-reaction-btn {
	pointer-events: auto;
}

.feed-reaction-btn {
	background: transparent;
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 6px 12px;
	font-size: 18px;
	cursor: pointer;
	transition: font-size 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.feed-reaction-btn:hover {
	font-size: 19px;
}

.feed-upvote-btn.active {
	background-color: #4caf50;
	border-color: #4caf50;
	opacity: 1;
}

.feed-downvote-btn.active {
	background-color: #f44336;
	border-color: #f44336;
	opacity: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	.objave-feed {
		max-width: 100%;
		margin: 10px;
		padding: 0 10px;
	}

	.feed-post {
		padding: 15px;
		margin-bottom: 15px;
	}

	.feed-post-header-wrapper {
		margin-bottom: 12px;
		display: flex;
		align-items: center;
		position: relative;
	}

	.feed-post-avatar {
		margin-right: 10px;
	}

	.feed-avatar-img {
		width: 40px;
		height: 40px;
		border-radius: 0;
	}

	.feed-author-name {
		font-size: 18px;
	}

	.feed-post-date {
		font-size: 16px;
	}

	.feed-post-header-wrapper .feed-post-title-collapsed {
		display: none;
	}

	.feed-post-button-wrapper {
		margin-top: 12px;
	}

	.feed-post-expand-btn {
		width: 100%;
		max-width: 100%;
	}

	.feed-post-title-mobile {
		font-size: 20px;
		font-weight: 600;
		color: #333;
		text-align: center;
		margin-top: 0;
		margin-bottom: 8px;
		display: block;
		line-height: 1;
	}

	.feed-post.expanded .feed-post-title-mobile {
		display: none;
	}

	.feed-post-title-expanded {
		font-size: 20px;
	}

	.feed-post-body {
		font-size: 17px;
	}

	.feed-reaction-btn {
		padding: 5px 10px;
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.objave-feed {
		margin: 5px;
		padding: 0 5px;
	}

	.feed-post {
		padding: 12px;
		margin-bottom: 12px;
	}

	.feed-post-title-collapsed {
		font-size: 19px;
		line-height: 1;
	}

	.feed-author-name {
		font-size: 17px;
	}

	.feed-post-date {
		font-size: 15px;
	}
}
