/* Wpisy z sieci — slider Swiper. Boksy w stylu sekcji „Publikacje" (.blog-v2-grid-card) */

.wpisy-swiper-wrap {
	margin: 24px 0 40px;
}

/* Układ: strzałka — slider — strzałka (jak w sekcji „Publikacje") */
.wpisy-swiper-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wpisy-swiper {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

/* Slajdy równej wysokości */
.wpisy-swiper .swiper-slide {
	height: auto;
	display: flex;
}

/* ── Karta (cały kafelek = link) ────────────────────── */
.wpisy-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.wpisy-card:hover {
	color: inherit;
	text-decoration: none;
}

.wpisy-card__image {
	overflow: hidden;
}

.wpisy-card__image img {
	width: 100%;
	height: 222px;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.wpisy-card__image img { height: 200px; }
}

.wpisy-card__body {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	background-color: #322C2C;
	color: #fff;
	padding: 15px 20px;
	min-height: 200px;
	overflow: hidden;
}

/* Złoty pasek u góry body */
.wpisy-card__body::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 0;
	width: 100px;
	height: 5px;
	background-color: var(--zloto);
}

.wpisy-card__date {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--zloto-tekst-ciemne);
	font-size: 0.8rem;
}

.wpisy-card__clock {
	flex-shrink: 0;
}

.wpisy-card__title {
	margin: 10px 0 5px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.wpisy-card__excerpt {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 300;
	color: #fff;
}

@media (max-width: 768px) {
	.wpisy-card__excerpt { display: none; }
}

/* ── Nawigacja (strzałki) — jak w sekcji „Publikacje" ── */
.wpisy-swiper__nav {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: #322C2C;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background .2s ease;
}

.wpisy-swiper__nav:hover {
	background: var(--zloto);
}

.wpisy-swiper__nav.swiper-button-disabled {
	opacity: .35;
	cursor: default;
	pointer-events: none;
}

/* ── Paginacja (kropki) ─────────────────────────────── */
.wpisy-swiper__pagination {
	position: static;
	margin-top: 18px;
	text-align: center;
}

.wpisy-swiper__pagination .swiper-pagination-bullet-active {
	background: var(--zloto);
}

@media (max-width: 576px) {
	.wpisy-swiper__nav { width: 36px; height: 36px; }
}

/* Nagłówek H3 nad karuzelą — styl jak sekcja „Publikacje" (.page-default-news-publications h2) */
.wpisy-swiper__title {
	font-size: 3rem;
	line-height: 1.1;
	font-weight: 700;
	margin: 0 0 30px;
	color: var(--zloto-tekst);
}
@media (max-width: 992px) {
	.wpisy-swiper__title { text-align: center; }
}
@media (max-width: 576px) {
	.wpisy-swiper__title { font-size: 2.3rem; }
}
