/**
 * PD / TIP kartice sekcija.
 */

.pp-pd-cards {
	position: relative;
	z-index: 1;
	padding: 64px 0 53px;
	margin-top: 0;
	background-color: rgba(249, 245, 244, 0.61);
	box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.3);
}

.pp-pd-cards__inner {
	width: 85%;
	max-width: 1272px;
	margin: 0 auto;
}

.pp-pd-cards__intro {
	text-align: center;
	margin-bottom: 2rem;
}

.pp-pd-cards__title {
	margin: 0;
	font-family: var(--pp-font-heading);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--pp-color-text);
}

.pp-pd-cards__card-heading {
	margin: 0;
	font-family: var(--pp-font-heading);
	font-size: 23px;
	font-weight: 500;
	font-style: normal;
	line-height: 23px;
	color: var(--pp-color-text);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
}

.pp-pd-cards__divider {
	width: 60px;
	max-width: 60px;
	height: 0;
	border-top: 2px solid var(--pp-color-brown);
}

.pp-pd-cards__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	align-items: stretch;
}

.pp-pd-cards__card {
	display: flex;
	flex-direction: column;
	height: 341px;
	border: 1px solid var(--pp-color-brown);
	border-radius: 10px;
	overflow: hidden;
	background-color: var(--pp-color-white);
}

.pp-pd-cards__media {
	flex: 0 0 180px;
	overflow: hidden;
}

.pp-pd-cards__image {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: var(--pp-image-radius);
}

.pp-pd-cards__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	padding: 1rem 1rem 1.25rem;
	text-align: center;
}

.pp-pd-cards__action {
	margin: 0.75rem 0 0;
}

.pp-pd-cards__action .pp-btn--read {
	margin: 0 auto;
}

@media (max-width: 980px) {
	.pp-pd-cards__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pp-pd-cards__title {
		font-size: 26px;
	}

}

@media (max-width: 767px) {
	.pp-pd-cards {
		padding: 48px 0 40px;
	}

	.pp-pd-cards__inner {
		width: 90%;
	}

	.pp-pd-cards__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.pp-pd-cards__title {
		font-size: 24px;
	}

	.pp-pd-cards__divider {
		width: 50px;
		max-width: 50px;
	}

	.pp-pd-cards__card {
		min-height: auto;
	}
}
