/*--------------------------------------------------------------
# rk_portfolio
--------------------------------------------------------------*/
.rk_portfolio
{
	background-color: #f9f9f9;
}

.rk_portfolio .rk_block
{
	background-color: #ffffff;
	border-radius: 4px;
	border: 1px solid #eeeeee;
	padding: 47px 6px;
	margin: 16px 0px;
}

.rk_portfolio .rk_blok_image
{
	border-radius: 4px;
	border: 1px solid #eeeeee;
	margin: 16px 0px;
	height: 150px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rk_portfolio .rk_blok_image:hover
{
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Pagination Styles */
.rk_portfolio .rk_pagination {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.rk_portfolio .rk_center {
	text-align: center;
}

.rk_portfolio .rk_catalog_pagination {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 10px;
}

.rk_portfolio .rk_pagination_list {
	display: flex;
	gap: 10px;
	list-style: none;
	padding: 0;
}

/*--------------------------------------------------------------
# Portfolio lightbox
--------------------------------------------------------------*/
.rk_lb_overlay {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 10000;
	align-items: center;
	justify-content: center;
}
.rk_lb_backdrop {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.9);
}
.rk_lb_container {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.rk_lb_slide {
	max-width: 90vw;
	max-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rk_lb_img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 4px;
	transition: opacity 0.2s;
}
.rk_lb_caption {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
	text-align: center;
	background: rgba(0,0,0,0.5);
	padding: 6px 16px;
	border-radius: 4px;
	max-width: 80vw;
}
.rk_lb_close, .rk_lb_prev, .rk_lb_next {
	position: absolute;
	z-index: 2;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s;
}
.rk_lb_close:hover, .rk_lb_prev:hover, .rk_lb_next:hover {
	opacity: 1;
}
.rk_lb_close {
	top: 16px;
	right: 20px;
	font-size: 36px;
	line-height: 1;
}
.rk_lb_prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 28px;
	padding: 12px;
}
.rk_lb_next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 28px;
	padding: 12px;
}
