/**
 * Kroz programe i radionice — PD / TIP sekcija.
 */

.pp-programs {
	position: relative;
	z-index: 1;
	padding: 12px 0 64px;
	background-color: var(--pp-color-white);
}

.pp-programs__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1272px;
	margin: 0 auto;
	padding-left: 4%;
}

.pp-programs__grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	align-items: stretch;
	min-height: auto;
}

.pp-programs__media {
	position: relative;
	display: flex;
	align-items: flex-start;
	border-radius: 10px;
	overflow: hidden;
	min-height: 0;
	align-self: stretch;
}

.pp-programs__media-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 145%;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	will-change: transform;
}

.pp-programs__media-gradient {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(180deg, rgba(249, 245, 244, 0.61) 0%, rgba(249, 245, 244, 0.61) 100%);
	pointer-events: none;
}

.pp-programs__figure {
	position: relative;
	z-index: 2;
	margin: 28px 0 0 11%;
	width: 64%;
	max-width: 100%;
}

.pp-programs__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 12px 18px 0 rgba(0, 0, 0, 0.4);
}

.pp-programs__content {
	padding: 2% 7%;
}

.pp-programs__heading {
	margin: 0 0 22px;
	font-family: var(--pp-font-body);
	font-size: 20px;
	font-weight: 400;
	font-style: normal;
	line-height: 25px;
	color: var(--pp-color-brown);
}

.pp-programs__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pp-programs__item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-top: 8px;
	padding-bottom: 0;
}

.pp-programs__item:first-child {
	margin-top: 8px;
}

.pp-programs__icon-link {
	flex: 0 0 auto;
	margin-left: 4px;
	margin-top: 0;
	text-decoration: none;
	line-height: 25px;
}

.pp-programs__item .pp-list-icon {
	font-size: 20px;
	transition: color 0.3s ease;
}

.pp-programs__item:hover .pp-list-icon {
	color: inherit;
}

.pp-programs__item-text {
	margin: 0;
	font-family: var(--pp-font-body);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4em;
	color: var(--pp-color-text);
	transition: color 0.3s ease;
}

.pp-programs__item:hover .pp-programs__item-text {
	color: inherit;
}

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

.pp-programs__quote {
	margin: 0 0 0 12px;
	font-family: var(--pp-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 27px;
	color: var(--pp-color-brown);
}

.pp-programs__quote strong {
	font-weight: 600;
}

.pp-programs__quote em,
.pp-programs__quote strong em {
	font-family: "Source Sans Pro", Helvetica, Arial, Lucida, sans-serif;
	font-style: italic;
	font-weight: 600;
	font-size: 18px;
	line-height: 27px;
	color: rgb(187, 140, 126);
}

@media (max-width: 980px) {
	.pp-programs__inner {
		padding-left: 0;
	}

	.pp-programs__grid {
		grid-template-columns: 1fr;
		min-height: auto;
		margin-bottom: 0;
	}

	.pp-programs__media {
		min-height: 320px;
		border-radius: 10px;
	}

	.pp-programs__figure {
		position: relative;
		top: auto;
		width: 300px;
		margin: 8% 8% 8% auto;
		padding-top: 0;
	}

	.pp-programs__content {
		padding: 7% 10%;
	}

	.pp-programs__item-text {
		font-size: 17px;
	}
}

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

	.pp-programs__inner {
		width: 90%;
	}

	.pp-programs__media {
		min-height: 280px;
	}

	.pp-programs__figure {
		width: 85%;
		margin: 10% auto;
		transform: none;
	}

	.pp-programs__content {
		padding: 2rem 0 0;
	}

	.pp-programs__heading {
		font-size: 18px;
		line-height: 22px;
	}

	.pp-programs__divider {
		width: 50px;
		max-width: 50px;
	}

	.pp-programs__quote {
		margin-left: 0;
		font-size: 17px;
	}
}
