/**
 * Service Text Block Widget Styles
 * Combined widget: Card (Left) + Text Block (Right)
 */

.ce-service-text-block {
	position: relative;
	width: 100%;
	padding: 0;
}

.ce-service-text-block__wrapper {
	display: grid;
	grid-template-columns: 33.33% 66.67%;
	gap: 20px;
	width: 100%;
	align-items: start;
}

.ce-service-text-block__card-wrapper {
	width: 100%;
}

.ce-service-text-block__card {
	position: relative;
	width: 100%;
	background-color: #ffffff;
	overflow: visible;
}

.ce-service-text-block__card-inner {
	position: relative;
	width: 100%;
}

.ce-service-text-block__img {
	position: relative;
	width: 100%;
	overflow: hidden;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ce-service-text-block__img img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	position: relative;
	z-index: 1;
}

.ce-service-text-block__img--no-image {
	min-height: 250px;
	padding: 30px;
}

.ce-service-text-block__img-title {
	font-size: 1.5em;
	font-weight: bold;
	color: #333333;
	text-align: center;
	line-height: 1.3;
	z-index: 1;
	position: relative;
}

.ce-service-text-block__img .pixel-grid {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.ce-service-text-block__img .pixel-pixel {
	position: absolute;
	background-color: #ffffff;
	opacity: 1;
}

.ce-service-text-block__card-text {
	padding: 20px;
}

.ce-service-text-block__card-title {
	margin: 0 0 15px 0;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.2;
}

.ce-service-text-block__card-title.heading-s {
	font-size: 1.2em;
}

.ce-service-text-block__card-description {
	margin: 0;
}

.ce-service-text-block__card-description p {
	margin: 0;
	line-height: 1.6;
	text-align: justify;
}

.ce-service-text-block__card-plus {
	position: absolute;
	z-index: 3;
	pointer-events: none;
	bottom: -12px;
}

.ce-service-text-block__card-plus.plus_bottom-l {
	left: -12px;
}

.ce-service-text-block__card-plus.plus_bottom-r {
	right: -12px;
}

.ce-service-text-block__text-wrapper {
	position: relative;
	width: 100%;
}

.ce-service-text-block__heading {
	margin: 0 0 30px 0;
	font-weight: bold;
	font-size: 2.5em;
	line-height: 1.2;
	color: #333333;
	text-align: left;
}

.ce-service-text-block__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	width: 100%;
}

.ce-service-text-block__column {
	width: 100%;
}

.ce-service-text-block__text {
	color: #666666;
	line-height: 1.6;
	text-align: left;
}

.ce-service-text-block__text p {
	margin: 0 0 1em 0;
}

.ce-service-text-block__text p:last-child {
	margin-bottom: 0;
}

/* Decorative Plus Icons */
.ce-service-text-block__plus {
	position: absolute;
	z-index: 3;
	pointer-events: none;
	bottom: -12px;
}

.ce-service-text-block__plus.plus_bottom-l {
	left: -12px;
}

.ce-service-text-block__plus.plus_bottom-r {
	right: -12px;
}

.ce-service-text-block__plus .plus {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666666;
}

.ce-service-text-block__plus svg {
	width: 100%;
	height: 100%;
}

.ce-service-text-block__plus svg path {
	fill: currentColor;
}

/* Responsive Styles */
@media (max-width: 991px) {
	.ce-service-text-block__wrapper {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.ce-service-text-block__heading {
		font-size: 2em;
		margin-bottom: 25px;
	}
	
	.ce-service-text-block__columns {
		gap: 30px;
	}
}

@media (max-width: 768px) {
	.ce-service-text-block__wrapper {
		gap: 20px;
	}
	
	.ce-service-text-block__heading {
		font-size: 1.5em;
		margin-bottom: 20px;
	}
	
	.ce-service-text-block__columns {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.ce-service-text-block__plus .plus,
	.ce-service-text-block__card-plus .plus {
		width: 16px;
		height: 16px;
	}
	
	.ce-service-text-block__card-text {
		padding: 15px;
	}
}
