/* Stylování tečkové navigace Swiperu */
.swiper-pagination-bullet {
	background-color: #d1d5db; /* Šedá barva pro neaktivní tečky (Tailwind gray-300) */
	opacity: 1; /* Zajistí, že neaktivní tečky nejsou průhledné */
	width: 12px; /* Zvětšená velikost tečky */
	height: 12px; /* Zvětšená velikost tečky */
	margin: 0 5px; /* Mírně zvětšená mezera mezi tečkami */
	transition: background-color 0.3s ease; /* Plynulý přechod barvy */
}

.swiper-pagination-bullet-active {
	background-color: #262e61; /* Nová modrá barva pro aktivní tečku */
}

/* Styly pro omezení řádků a rozbalení textu reference */
.reference-text-content {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /* Zobrazit maximálně 3 řádky */
	overflow: hidden;
	text-overflow: ellipsis;
	/* Přechod pro plynulejší rozbalení, pokud byste použili max-height */
	transition: max-height 0.3s ease-out;
}

.reference-text-content.is-expanded {
	-webkit-line-clamp: unset; /* Zobrazit celý text */
	/* Pokud byste použili max-height, nastavte dostatečně velkou hodnotu */
	/* max-height: 1000px; */
}

/* Styly pro tlačítko "Přečíst >" */
.read-more-btn {
	cursor: pointer;
	color: #262e61 !important; /* Nastavena nová modrá barva */
	transition: color 0.2s ease-in-out; /* Plynulý přechod barvy při hoveru */
}

/* Indikátor načítání pro AJAX */
#nemovitosti-grid.loading::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.7);
	z-index: 10;
	transition: opacity 0.3s ease-in-out;
}

#nemovitosti-grid.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #262e61;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	z-index: 11;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Styly pro stránkování */
.nemovitosti-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #e2e8f0;
	border-radius: 9999px; /* kulaté */
	font-weight: 600;
	text-decoration: none;
	color: #262e61;
	transition: background-color 0.2s, color 0.2s;
}

.nemovitosti-pagination .page-numbers:hover {
	background-color: #f1f5f9;
	border-color: #cbd5e1;
}

.nemovitosti-pagination .page-numbers.current {
	background-color: #262e61;
	color: #ffffff;
	border-color: #262e61;
	cursor: default;
}

.nemovitosti-pagination .page-numbers.dots {
	border: none;
	background: none;
	cursor: default;
}

.nemovitosti-pagination .page-item .dashicons {
	font-size: 18px;
	line-height: 1;
}