/**
 * Drobne uzupelnienia motywu.
 * Wszystko, czego nie pokrywa arkusz przeniesiony z produkcji:
 * podstrony bez kreatora oraz osadzenie wyszukiwarki IBE.
 */

/* ------------------------------------------------------------------ */
/*  Podstrony                                                          */
/* ------------------------------------------------------------------ */

.u-section-page {
	padding: 40px 0 70px;
	background: #fff;
}

.u-sheet-page {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
	min-height: 300px;
}

.u-sheet-page.cs-narrow {
	width: min(820px, 100% - 40px);
}

.cs-page-title {
	margin: 0 0 22px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	color: #0d2038;
	line-height: 1.2;
}

.cs-content {
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #1b2430;
}

.cs-content h2 {
	margin: 32px 0 14px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 26px;
	color: #0d2038;
}

.cs-content h3 {
	margin: 24px 0 10px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 21px;
	color: #0d2038;
}

.cs-content a {
	color: #b9863f;
}

.cs-content img {
	border-radius: 12px;
}

.cs-page-thumb {
	margin: 0 0 28px;
	border-radius: 12px;
	overflow: hidden;
}

.cs-page-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

/* Blog */
.cs-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
	font-family: "Montserrat", sans-serif;
}

.cs-post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e4e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: transform .18s, box-shadow .18s;
}

.cs-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(13, 32, 56, .16);
}

.cs-post-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f7f8f9;
}

.cs-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-post-noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef0f2, #dfe3e7);
}

.cs-post-body {
	padding: 18px 20px 22px;
}

.cs-post-date {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b7683;
}

.cs-post-title {
	margin: 0 0 10px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 20px;
}

.cs-post-title a {
	color: #0d2038;
	text-decoration: none;
}

.cs-post-title a:hover {
	color: #b9863f;
}

.cs-post-excerpt {
	margin: 0;
	font-size: 14.5px;
	color: #6b7683;
}

.cs-404 {
	text-align: center;
	padding: 60px 0;
	font-family: "Montserrat", sans-serif;
}

.cs-btn-gold {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 26px;
	border-radius: 8px;
	background: #d49f58;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
}

.cs-btn-gold:hover {
	background: #b9863f;
}

.cs-empty {
	padding: 40px;
	text-align: center;
	color: #6b7683;
	border: 1px dashed #e4e7eb;
	border-radius: 12px;
	font-family: "Montserrat", sans-serif;
}

/* ------------------------------------------------------------------ */
/*  Osadzenie wyszukiwarki IBE                                         */
/* ------------------------------------------------------------------ */

/* Strona /apartamenty - pelna szerokosc jak na produkcji. */
.ca-ibe-page {
	padding: 30px 0 60px;
	background: #fff;
}

.ca-ibe-page .pase-grid-filter-wrap,
.ca-ibe-page .pmsb-layout {
	max-width: 1600px;
	margin-inline: auto;
}

/* Pasek wyszukiwania na stronie glownej - w sekcji kreatora. */
.ca-ibe-searchonly .pase-grid-filter-wrap {
	padding: 0;
}
