/* ==========================================================
   Moji Oglasi – moderan izgled kartica (jedna ispod druge)
   ========================================================== */

.mo-wrapper {
	max-width: 860px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mo-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mo-card {
	position: relative;
	display: flex;
	flex-direction: row;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	border: 1px solid #eef0f2;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mo-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.mo-card-premium {
	border: 1px solid #f2c94c;
	background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.mo-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	background: linear-gradient(135deg, #f2c94c, #f2994a);
	color: #4a2e00;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(242, 153, 74, 0.4);
	letter-spacing: 0.2px;
}

.mo-card-media {
	flex: 0 0 240px;
	max-width: 240px;
	overflow: hidden;
}

.mo-card-img {
	width: 100%;
	height: 100%;
	min-height: 160px;
	object-fit: cover;
	display: block;
}

.mo-card-body {
	flex: 1 1 auto;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
}

.mo-card-title {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.35;
}

.mo-card-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.mo-card-title a:hover {
	color: #2f6fed;
}

.mo-card-excerpt {
	margin: 0 0 16px;
	color: #5c6570;
	font-size: 14.5px;
	line-height: 1.55;
	flex-grow: 1;
}

.mo-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.mo-card-date {
	color: #98a1ab;
	font-size: 12.5px;
}

.mo-btn {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 8px;
	cursor: pointer;
	border: none;
	transition: background 0.15s ease, transform 0.1s ease;
}

.mo-btn-oglas {
	background: #2f6fed;
	color: #ffffff;
}

.mo-btn-oglas:hover {
	background: #2557c7;
	color: #ffffff;
}

.mo-btn-oglas:active {
	transform: scale(0.97);
}

.mo-load-more-wrap {
	text-align: center;
	margin: 32px 0 12px;
}

.mo-btn-more {
	background: #1a1a1a;
	color: #fff;
	padding: 13px 30px;
	font-size: 15px;
	border-radius: 10px;
}

.mo-btn-more:hover {
	background: #333;
}

.mo-btn-more:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mo-loading {
	display: block;
	margin-top: 10px;
	color: #98a1ab;
	font-size: 13.5px;
}

.mo-no-more,
.mo-empty {
	text-align: center;
	color: #98a1ab;
	margin: 24px 0;
	font-size: 14px;
}

/* Responsive – mobilni prikaz */
@media (max-width: 600px) {
	.mo-card {
		flex-direction: column;
	}
	.mo-card-media {
		flex: none;
		max-width: 100%;
	}
	.mo-card-img {
		min-height: 180px;
	}
	.mo-card-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.mo-btn-oglas {
		width: 100%;
		text-align: center;
	}
}
