.npa {
	box-sizing: border-box;
}

.npa__inner {
	display: flex;
	flex-direction: row;
	align-items: start;
	gap: 2rem;

	@media (max-width: 992px) {
		flex-direction: column;
	}
}

.npa__main {
	width: 100%;
	padding-top: 1.3rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
}

.npa__aside {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
	max-width: 250px;

	@media (max-width: 992px) {
		max-width: none;
	}
}

.npa-box {
	border: 1px solid #ccc;
	padding: 1rem;
	border-radius: 0.5rem;
}

.npa-box--no-padding {
	padding: 1rem 0;
}

.npa-title {
	line-height: 1;
	margin-top: 0;
}

.npa-menu {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	list-style: none;
	line-height: 1.2;
	margin: 0;
	padding: 0;
}

.npa-menu__title {
	margin: 0 0 10px;
	padding: 0 14px;
}

.npa-menu__link {
	display: block;
	padding: 5px 10px 5px 10px;
	border-left: solid 4px transparent;
}

.npa-menu__link.active {
	text-decoration: none;
	color: #1c1c1c;
	border-color: #157fc4;
}

.npa-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.npa-list__item:not(:last-child) {
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
}

.npa-list__anons-text {
	font-size: 14px;
}

.npa-date {
	display: flex;
	gap: 0.25rem;
	align-items: center;
	font-size: 0.9rem;
	line-height: normal;
	font-weight: bold;
}

.npa-date svg {
	width: 1.2em;
	aspect-ratio: 1;
}

.npa-card {
	width: 100%;
	display: flex;
	gap: 2em;
	overflow: hidden;
}

.npa-card--inline {
	flex-direction: column;
	gap: 0.5rem;
}

.npa-card__main {
	flex-grow: 1;
	padding-block: 1em;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.npa-card__aside {
	flex-shrink: 0;
	width: 100%;
	max-width: 320px;
}

.npa-card__properties {
	width: 100%;
	font-size: 0.9em;
	word-break: break-word;
}

.npa-card__properties-name {
	vertical-align: top;
	padding-bottom: 0.5em;
	word-break: keep-all;
}

.npa-card__properties-value {
	vertical-align: top;
	text-align: right;
	padding-bottom: 0.5em;
}

.npa-card__title {
	text-align: center;
}

.npa-card__text {
	border-top: 1px solid #ccc;
	padding-top: 0.5em;
}

.npa-card__path {
}

.npa-card__path-list {
	margin-top: 6px;
	font-size: 0.9em;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.npa-card__path-item {
	display: flex;
	gap: 6px;
	position: relative;
}

.npa-card__path-item:not(:last-child):after {
	content: '';
	width: 1em;
	margin-top: 5px;
	background-repeat: no-repeat;
	background-image: url('/local/templates/gos_modern_blue_s1_backup/components/bitrix/catalog/npa/img/chevron-right.svg');
}

.npa-card-photos {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;

	@media (max-width: 1279px) {
		grid-template-columns: repeat(3, 1fr);
	}

	@media (max-width: 991px) {
		grid-template-columns: repeat(2, 1fr);
	}

	@media (max-width: 767px) {
		grid-template-columns: repeat(2, 1fr);
	}

	@media (max-width: 450px) {
		grid-template-columns: repeat(1, 1fr);
	}
}

.npa-card-photos__item {
	display: block;
	width: 100%;
	height: 200px;
	background-position: center;
	background-size: cover;
}

.npa-card-photos__link {
	display: block;
	width: 100%;
	height: 100%;
}

.npa-table-wrapper {
	overflow-x: auto;
}

.documents {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.documents__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.documents__link {
	word-break: break-all;
}
