/* ============================================================
   Stylowanie listy Aktualności - Pszczela Pasieka
   Wkleić do głównego pliku style.css (lub w <style> w _header.php).
   Nie wymaga zmian w PHP generującym listę wpisów - działa na
   istniejących klasach: article.row, .featured-thumb,
   .entry-header, .entry-title, .entry-content
   ============================================================ */
 
/* Każdy wpis jako karta */
.inner-content article.row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background: #fffdf6;
	border: 1px solid #f0e6c8;
	border-radius: 14px;
	overflow: hidden;
	margin: 0 0 28px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.inner-content article.row:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
 
/* Miniatura */
.inner-content article.row .featured-thumb {
	padding: 0;
	position: relative;
	min-height: 200px;
}
 
.inner-content article.row .featured-thumb a {
	display: block;
	height: 100%;
}
 
.inner-content article.row .featured-thumb img {
	width: 100% !important;
	height: 100% !important;
	min-height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
 
.inner-content article.row:hover .featured-thumb img {
	transform: scale(1.04);
}
 
/* Kolumna tekstowa */
.inner-content article.row > div:not(.featured-thumb) {
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
 
/* Tytuł wpisu */
.inner-content article.row .entry-header {
	margin-bottom: 10px;
}
 
.inner-content article.row .entry-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}
 
.inner-content article.row .entry-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}
 
.inner-content article.row .entry-title a:hover {
	color: #f5a623;
}
 
/* Zajawka tekstu */
.inner-content article.row .entry-content {
	color: #666;
	font-size: 15px;
	line-height: 1.6;
}
 
.inner-content article.row .entry-content p {
	margin: 0 0 8px;
}
 
/* Usuwa puste akapity (np. "&nbsp;" pozostawione w edytorze WYSIWYG),
   żeby nie robiły zbędnej pustej przestrzeni pod tekstem */
.inner-content article.row .entry-content p:empty,
.inner-content article.row .entry-content p:last-child:blank {
	display: none;
}
 
/* Strzałka "czytaj więcej" pojawiająca się po tytule przy najechaniu */
.inner-content article.row .entry-title a::after {
	content: " →";
	opacity: 0;
	margin-left: 4px;
	transition: opacity 0.2s ease, margin-left 0.2s ease;
}
 
.inner-content article.row .entry-title a:hover::after {
	opacity: 1;
	margin-left: 8px;
}
 
/* Responsywność - na telefonie zdjęcie nad tekstem, pełna szerokość */
@media (max-width: 767px) {
	.inner-content article.row {
		flex-direction: column;
	}
 
	.inner-content article.row .featured-thumb {
		min-height: 220px;
	}
 
	.inner-content article.row .featured-thumb img {
		min-height: 220px;
	}
 
	.inner-content article.row > div:not(.featured-thumb) {
		padding: 18px 20px;
	}
}