.licenses {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	font-family: Arial, sans-serif;
}

.licenses__title {
	font: 700 42px/120% 'PT Sans Narrow', sans-serif;
	color: #707070;
	margin-bottom: 30px;
}

.licenses__item {
	border: 1px solid #E4E8EC;
	border-radius: 16px;
	margin-bottom: 20px;
	overflow: hidden;
}

.licenses__item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 24px 22px 24px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.licenses__item-header:hover {
	background-color: #e9ecef;
}

.licenses__item-number {
	font: 700 26px/125% 'PT Sans', sans-serif;
	color: #707070;
}

.licenses__item-toggle {
	position: relative;
	transition: transform 0.3s ease;
	transform: rotate(180deg);
}

.licenses__item-checkbox {
	display: none;
}

.licenses__item-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
	overflow: hidden;
	padding: 0 24px;
	font: 400 16px/19px 'Roboto', sans-serif;
	color: #19263A;
}

.licenses__item-content ol {
	margin: 0;
	padding-left: 18px;
}

.licenses__item-content ol li {
	list-style-type: decimal;
	margin-bottom: 15px;
}

.licenses__item-content ul li {
	list-style-type: none;
	margin-bottom: 10px;
}

.licenses__item-content ol ul {
	margin-left: -18px;
}

.licenses__item-checkbox:checked~.licenses__item-header .licenses__item-toggle {
	transform: rotate(0deg);
}

.licenses__item-checkbox:checked~.licenses__item-content {
	grid-template-rows: 1fr;
}

.licenses__item-content>div {
	min-height: 0;
}

.licenses__images-list {
	height: max-content;
	display: flex;
	margin-bottom: 24px;
	gap: 15px;
}

.licenses__image {
	position: relative;
	cursor: pointer;
	transition: transform 0.3s ease;
	width: 16.666666%;
	height: auto;
}

.licenses__image:hover {
	transform: scale(0.95);
}

.licenses__image-zoom {
	position: absolute;
	right: 12px;
	top: 12px;
}

.licenses__image img {
	width: 100%;
}

.licenses__image_last {
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.licenses__image-count {
	font: 400 16px/19px 'PT Sans Narrow', sans-serif;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42px;
	height: 42px;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

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


.licenses__toggle-container {
	margin-bottom: 20px;
}

.licenses__content-list {
	display: none;
}

.licenses__toggle-checkbox:checked~.licenses__content-list {
	display: block;
}

.licenses__toggle-checkbox {
	display: none;
}

.licenses__toggle-btn {
	font: 400 20px/23px 'PT Sans Narrow', sans-serif;
	color: #328A27;
	border-bottom: 1px dashed #328A27;
	cursor: pointer;
}

.licenses__toggle-btn:hover {
	opacity: .75;
}

.licenses__toggle-checkbox:checked~.licenses__toggle-btn::after {
	content: "Скрыть";
}

.licenses__toggle-checkbox:not(:checked)~.licenses__toggle-btn::after {
	content: "Смотреть все";
}

@media (max-width: 1100px) {


	.licenses__title {
		font: 700 36px/130% 'PT Sans Narrow', sans-serif;
	}


	.licenses__item-number {
		font: 700 16px/130% 'PT Sans', sans-serif;
	}

	.licenses__toggle-btn {
		font: 400 14px/ 135% 'PT Sans Narrow', sans-serif;
	}

	.licenses__item-content {
		font: 400 14px/ 135% 'Roboto', sans-serif;
	}

	.licenses__item-header {
		padding: 21px 21px 19px 21px;
	}
}

@media (max-width: 767px) {
	.licenses__images-list {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		gap: 15px;
		padding: 10px 0;
	}

	.licenses__image {
		flex: 0 0 auto;
		scroll-snap-align: start;
		position: relative;
		overflow: hidden;
		width: auto;
	}

	.licenses__image>img {
		width: 100%;
		height: 200px;
		object-fit: cover;
		display: block;
	}

	.licenses__images-list::-webkit-scrollbar {
		display: none;
	}

	.licenses__images-list {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.licenses__item-number {
		font: 700 14px/130% 'PT Sans', sans-serif;
	}

	.licenses__item-header {
		padding: 19px 19px 17px 19px;
	}
}