.clanky-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;	
}
.clanky-lista {
	margin: 20px 0;
}

.clanky-clear {
	clear: both;
}

.clanky-objekt-skryte {
	display: none;
}

.clanky-objekt-odkryte {
	display: block;
}

.clanky-objekt-prepinac {
	text-align: left;
	padding: 5px 0 0 0;
	cursor: pointer;
}

.clanky-zobraz-viac-odkryte {
	display: block;
}

.clanky-zobraz-viac-skryte {
	display: none;
}

.clanky-zobraz-viac-stred {
	justify-content: center;
}

.clanok-item {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
	overflow: hidden;
}

.clanok-item:last-child {
	border-bottom: none;
}

.clanok-obrazok {
	float: left;
	width: 200px;
	margin-right: 20px;
	margin-bottom: 10px;
}

.clanok-obrazok img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.clanok-obsah {
	overflow: hidden;
}

.clanok-obsah h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	line-height: 1.4;
}

.clanok-obsah h3 a {
	color: #174060;
	text-decoration: none;
}

.clanok-obsah h3 a:hover {
	color: #0179ec;
	text-decoration: underline;
}

.clanok-obsah p {
	margin: 10px 0;
	color: #666666;
	line-height: 1.6;
}

.clanok-viac {
	display: inline-block;
	margin-top: 10px;
	color: #0179ec;
	text-decoration: none;
	font-weight: bold;
}

.clanok-viac:hover {
	color: #0000cd;
	text-decoration: underline;
}

.clanky-blog-zoznam {
	margin: 20px 0;
}

.clanok-blog-polozka {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e0e0e0;
}

.clanok-blog-polozka:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.clanok-blog-obrazok {
	flex-shrink: 0;
	width: 160px;
	overflow: hidden;
	border-radius: 4px;
}

.clanok-blog-obrazok a {
	display: block;
	line-height: 0;
}

.clanok-blog-obrazok img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	display: block;
}

.clanok-blog-obsah {
	flex: 1;
	min-width: 0;
}

.clanok-blog-nazov {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3;
}

.clanok-blog-nazov a {
	color: #174060;
	text-decoration: none;
}

.clanok-blog-nazov a:hover {
	color: #0179ec;
	text-decoration: underline;
}

.clanok-blog-datum {
	color: #666666;
	font-size: 13px;
	margin-bottom: 8px;
}

.clanok-blog-perex {
	margin: 0 0 12px 0;
	color: #444;
	line-height: 1.6;
	font-size: 15px;
}

.clanky-blog-zoznam .clanok-viac {
	display: inline-block;
	margin-top: 4px;
	color: #0179ec;
	text-decoration: none;
	font-weight: bold;
}

.clanky-blog-zoznam .clanok-viac:hover {
	color: #0000cd;
	text-decoration: underline;
}

.clanky-nepriradene-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.clanok-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
	border: 1px solid #e0e0e0;
}
.clanok-card:hover {transform:translateY(-5px);}

.clanok-card-obrazok {
	position: relative;
}
.clanok-card-obrazok img {
	width:100%;
	height:100%;
	object-fit:cover;}

.clanok-card-obsah {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.clanok-card-obsah h2 {
	color: #0056b3;
	margin-bottom: 15px;
	font-size: 1.25rem;
	line-height: 1.4;
}
.clanok-card-obsah h2 a {
	color: #174060;
	text-decoration: none;
}
.clanok-card-obsah h2 a:hover {
	color: #0179ec;
	text-decoration: underline;
}
.clanok-card-obsah p {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 25px;
	flex-grow: 1;
}

.clanok-card-viac {
	display: flex;
	align-items: center;
	justify-content: space-between;
    background: #ffcc00;
	color: #fff;
    text-decoration: none;
	padding: 12px 20px;
    border-radius: 10px;
	font-weight: bold;
	transition: background 0.3s;
}
.clanok-card-viac:hover {
	text-decoration: none;
	background: #e6b800;
	color: #fff;
}
.clanok-card-viac:visited, .clanok-card-viac:hover:visited {color:#fff;}
.clanok-card-viac span {
	display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    margin-left: 8px;
    font-size: 1.2rem;
}
.clanok-card-viac:hover span {transform: rotate(0deg) translateX(3px);}

.strankovanie-clanky {
	margin: 30px 0;
	text-align: center;
	
}

.clanky-prazdny-stav {
	text-align: center;
	padding: 60px 20px;
	color: #666666;
	font-size: 18px;
}

/* Detail článku */
.clanok-detail {
	margin: 20px 0;
}

.clanok-detail-obrazok {
	margin-bottom: 20px;
	text-align: center;
	float: left;
	margin-right: 20px;
}

.clanok-detail-obrazok img {
	max-width: 400px;
	width: 100%;
	height: auto;
	border-radius: 5px;
}

.clanok-detail-obsah {
	margin-top: 20px;
}

.clanok-text {
	margin-bottom: 20px;
	line-height: 1.6;
	color: #333;
}

.clanok-zdroje {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
	font-size: 14px;
	color: #666;
}

.clanok-metadata {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
	font-size: 14px;
	color: #666;
}

.clanok-datum {
	display: inline-block;
}

.clanok-chyba {
	text-align: center;
	padding: 40px 20px;
	color: #d32f2f;
	font-size: 18px;
}

@media (max-width: 768px) {
	.clanok-obrazok {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.clanok-blog-polozka {
		flex-direction: column;
		gap: 16px;
	}

	.clanok-blog-obrazok {
		width: 100%;
		max-width: 200px;
	}

	.clanok-blog-obrazok img {
		height: 140px;
		width: 100%;
	}
	
	.clanky-nepriradene-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.clanok-detail-obrazok img {
		max-width: 100%;
	}
}
