/* Editorial category photography: homepage cards only. */
#kategorije .pt-pilot-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	grid-auto-rows: 1fr;
	align-items: stretch;
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e9e2da;
	border-radius: 22px;
	background: #fffdf9;
	color: #302638;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover:hover {
	border-color: #b4cfc4;
	background: #fffdf9;
	box-shadow: 0 12px 28px rgb(71 44 85 / 9%);
	transform: translateY(-3px);
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover:focus-visible {
	outline: 3px solid #287f7c;
	outline-offset: 5px;
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover > .pt-category-art,
#kategorije .pt-pilot-category-grid > a.pt-category-cover > .pt-category-cover-image {
	display: block;
	flex: none;
	grid-row: auto;
	width: 100%;
	height: auto;
	max-width: none;
	max-height: none;
	aspect-ratio: 1;
	object-fit: contain;
	object-position: center;
	border-radius: 0;
	margin: 0;
	padding: 0;
	background-color: #f6f0e7;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover > span:not(.pt-category-art) {
	display: block;
	margin: 18px 20px 8px;
	min-height: 2.7em;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover > small {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: auto 20px 18px;
	min-height: 34px;
	color: #6d6176;
	font-size: 13px;
	line-height: 1.35;
}
#kategorije .pt-pilot-category-grid > a.pt-category-cover > small > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #e3f1ea;
	color: #754398;
	font-size: 20px;
	line-height: 1;
}
@media (max-width: 1024px) {
	#kategorije .pt-pilot-category-grid { gap: 18px; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover > span:not(.pt-category-art) { margin-inline: 16px; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover > small { margin-inline: 16px; }
}
@media (max-width: 780px) {
	#kategorije .pt-pilot-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover { border-radius: 17px; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover > span:not(.pt-category-art) { margin: 13px 13px 8px; font-size: 14px; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover > small { margin: auto 13px 13px; font-size: 12px; min-height: 30px; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover > small > span { flex-basis: 30px; width: 30px; height: 30px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	#kategorije .pt-pilot-category-grid > a.pt-category-cover { transition: none; }
	#kategorije .pt-pilot-category-grid > a.pt-category-cover:hover { transform: none; }
}
