/* assets/css/problems-hub.css – сгенерировано scripts/import-donor-css.mjs, руками не править */
.problems__list-wrap {
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.problem__item:nth-child(2n+2) .problem__item-inner {
	flex-direction: row-reverse;
}

.problem__item > h2 {
	margin-bottom: 20px;
}

.problem__item > h2 a {
	color: inherit;
	font-size: inherit;
	transition: var(--default-transition);
}

.problem__item > h2 a:hover {
	color: var(--text-color-hover);
}

.problem__item-inner {
	display: flex;
	flex-direction: row;
	gap: 30px;
}

.problem__item-img {
	max-width: 387px;
	height: 406px;
	width: 100%;
	border-radius: 30px;
	overflow: hidden;
}

.problem__item-img-wrap {
	position: relative;
	height: auto;
 }

 .problem__item-img-empty-childs {
	height: 200px;
}


.problem__item-img > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.problem__item-img-wrap > img {
	position: absolute;
}

.problem__item-content {
	padding: 40px 40px;
	background-color: var(--background-color-white);
	border-radius: 30px;
	width: 100%;
}

.problem__item-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 30px;
}

.problem-no-img .problem__items-list {
	grid-template-columns: repeat(3, 1fr);
}

.problem__items-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 30px;
	row-gap: 16px;
}

.problem__list-item-head {
	color: var(--text-color-black);
	font-family: 'Inter Tight', 'Inter Tight Fallback', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 140%;
}

.problem__list-item-head {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	transition: var(--default-transition);
}

.problem__list-item-head:hover {
	color: var(--text-color-hover);
}

.problem__list-item-head:hover::after {
	transform: rotate(45deg);
}

.problem__list-item-head::after {
	content: "";
	display: block;
	min-width: 20px;
    height: 20px;
	background-image: url('data:image/svg+xml;charset=utf-8,<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.83331 14.6668L14.1666 6.3335" stroke="%23E42E7B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.83331 6.3335H14.1666V14.6668" stroke="%23E42E7B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	background-repeat: no-repeat;
    background-size: contain;
	transition: var(--default-transition);
}

.problems__list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 30px;
	row-gap: 100px;
}

.problem__item-grid > h2 {
	transition: var(--default-transition);
}

.problem__item-grid:hover > h2 {
	color: var(--text-color-hover);
}

.problem__item-grid-img {
	height: 320px;
	overflow: hidden;
	border-radius: 30px;
}

.problem__item-grid-img > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--default-transition);
}

.problem__item-grid:hover .problem__item-grid-img > img {
	transform: scale(1.1);
}

.problem__list-item-childs-wrap.active {
	padding-left: 20px;
}

.problem__list-item-childs-inner {
	display: none;
}

.problem__list-item-childs-item {
	margin: 8px 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 5px;
	font-size: 16px;
	font-weight: 300;
	line-height: 137%;
	color: var(--text-color-black);
}

.problem__list-item-childs-item:hover {
	color: var(--text-color-hover);
}

.problem__list-item-childs-item:hover::after {
	transform: rotate(45deg);
}

.problem__list-item-childs-item::after {
	content: '';
	display: block;
	min-width: 16px;
	height: 16px;
	background-image: url('data:image/svg+xml;charset=utf-8,<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.83331 14.6668L14.1666 6.3335" stroke="%23E42E7B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.83331 6.3335H14.1666V14.6668" stroke="%23E42E7B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
	transition: var(--default-transition);
}

.problems__child-opener {
	display: flex;
	flex-direction: row;
	gap: 4px;
	align-items: center;
	font-size: 14px;
	font-weight: 300;
	line-height: 137%;
	text-underline-offset: 3px;
	text-decoration: underline;
	color: #707070;
	cursor: pointer;
	transition: var(--default-transition);
}

.problems__child-opener:hover {
	color: var(--text-color-hover);
}

.problems__child-opener::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background: url("/theme/assets/svg/plus.svg");
	background-size: contain;
	background-repeat: no-repeat;
	transition: var(--default-transition);
}

.problem__list-item-childs-wrap.active .problems__child-opener::before {
	background: url("/theme/assets/svg/minus.svg");
}

@media (max-width:992px) {
	.problem__item-inner {
		column-gap: 20px;
	}
	.problem__item-img {
		max-width: 100%;
		height: 320px;
		flex-basis: 50%;
	}
	.problem__item-content {
		flex-basis: 50%;
		padding: 30px 30px;
		gap: 20px;
		height: 100%;
	}
	.problem-no-img .problem__item-content {
		flex-basis: auto;
	}
	.problem__items-list {
		grid-template-columns: 1fr;
		row-gap: 14px;
	}
	.problem-no-img .problem__items-list {
		grid-template-columns: 1fr 1fr;
	}
	.problem__list-item-head{
		font-size: 15px;
	}
	.problem__list-item-head::after {
		min-width: 16px;
		height: 16px;
	}
	.problems__list-grid {
		column-gap: 20px;
		grid-template-columns: 1fr 1fr;
	}
	.problem__item-grid-img {
		height: 280px;
	}
	.problem__list-item-childs-item {
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	.problem__item-inner {
		flex-direction: column;
	}
	.problem__item:nth-child(2n+2) .problem__item-inner {
		flex-direction: column;
	}
	.problem__item-img {
		flex-basis: auto;
	}
	.problem__item-content {
		flex-basis: auto;
	}
	.problem-no-img .problem__items-list {
		grid-template-columns: 1fr;
	}
	.problems__list-grid {
		grid-template-columns: 1fr;
	}
}