/* =========================================
   Content Block: rs/typo3-development-services
   ========================================= */


/* =========================================
   Intro
   ========================================= */

.typo3-development-services__intro {
	--spacing-heading: 1.5rem;

	max-width: 850px;
	margin: 0 auto 4rem;
	text-align: center;
}

.typo3-development-services__intro > :last-child {
	margin-bottom: 0;
}


/* =========================================
   Leistungen-Raster
   ========================================= */

.typo3-development-services__grid {
	--services-border-color: #e4e8f0;

	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 4rem;
	max-width: 1150px;
	margin-inline: auto;
}


/* =========================================
   Einzelne Leistung
   ========================================= */

.typo3-development-services__item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	min-width: 0;
	padding: 2rem 0;
	border-bottom: 1px solid var(--services-border-color);
}


/* =========================================
   Icon
   ========================================= */

.typo3-development-services__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	border-radius: 14px;
	background: var(--color-primary-light);
}

.typo3-development-services__icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}


/* =========================================
   Service Content
   ========================================= */

.typo3-development-services__content {
	--spacing-heading: .75rem;
	--spacing-paragraph: 0;

	flex: 1;
	min-width: 0;
	color: var(--color-text-muted);
}

.typo3-development-services__content > :last-child {
	margin-bottom: 0;
}


/* =========================================
   Trennlinien – Zweispaltiges Layout
   ========================================= */

@media (min-width: 768px) {

	/* Erste Reihe */

	.typo3-development-services__item:nth-child(-n+2) {
		padding-top: 0;
	}

	/* Letzte Reihe */

	.typo3-development-services__item:last-child,
	.typo3-development-services__item:nth-last-child(2):nth-child(odd) {
		border-bottom: 0;
	}

}


/* =========================================
   Responsive – Tablets
   ========================================= */

@media (max-width: 991.98px) {

	.typo3-development-services__grid {
		column-gap: 2rem;
	}

	.typo3-development-services__item {
		gap: 1rem;
	}

	.typo3-development-services__icon {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
	}

	.typo3-development-services__icon img {
		width: 28px;
		height: 28px;
	}

}


/* =========================================
   Responsive – Einspaltiges Layout
   ========================================= */

@media (max-width: 767.98px) {

	.typo3-development-services__intro {
		margin-bottom: 3rem;
	}

	.typo3-development-services__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.typo3-development-services__item {
		padding: 1.75rem 0;
	}

	.typo3-development-services__item:first-child {
		padding-top: 0;
	}

	.typo3-development-services__item:last-child {
		border-bottom: 0;
	}

}