div.news-list {
	word-wrap: break-word;
}

div.news-list img.preview_picture {
	float: left;
	margin: 0 4px 6px 0;
}
:root {
    --card-min-width: 220px;
    --card-active-width: 480px;
    --card-mini-width: 220px;
    --gap-width: 24px;
    --slide-width: calc(var(--card-active-width) + (var(--card-mini-width) * 4) + (var(--gap-width) * 4));
}
.slider-progress-track {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    /* overflow: hidden; — можно оставить, если края трека скруглены */
    overflow: hidden;
    user-select: none;
    cursor: pointer;
    box-sizing: border-box; /* Важно для правильного расчета ширины */
}

.slider-progress-bar {
    position: absolute;
    /* Центрирование: трек 20px, бар 10px. (20 - 10) / 2 = 5px */
    top: 5px; 
    height: 10px;
    background: #FFD600;
    border-radius: 20px;
    pointer-events: none;
    /* Убираем transform, так как используем top: 5px */
    transition: left 0.3s ease, width 0.3s ease;
    left: 7px; /* Начальная позиция */
}

.slider-controls-wrapper {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
}

.badge-circle {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
}

.object-card__title {
	font-size: 60px;
	font-weight: 600;
	letter-spacing: -3px;
	line-height: 1;
	margin-bottom: 20px;
}

.object-card__desc {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 30px;
}

.object-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* Карточки */
.object-card {
	position: relative;
	width: var(--card-mini-width);
	height: 637px;
	border-radius: 25px;
	overflow: hidden;
	transition: all 0.5s ease;
	flex-shrink: 0;
}

.object-card.active-card {
	width: var(--card-active-width);
}

.object-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.object-card__overlay {
	position: relative;
	z-index: 1;
	height: 100%;
	background: linear-gradient(0deg, rgba(64, 45, 99, 0.9) 10%, rgba(126, 87, 197, 0.2) 100%);
	padding: 35px;
	display: flex;
	flex-direction: column;
	color: #fff;
}

/* Заголовок меняет размер в зависимости от активности */
.object-card__title {
	font-size: 24px;
	transition: 0.4s ease;
}

.active-card .object-card__title {
	font-size: 50px;
	/* Большой размер */
	letter-spacing: -2px;
	margin-bottom: 20px;
}

/* Скрытие/показ контента внутри карточки */
.object-card__hidden-content,
.card-tags {
	opacity: 0;
	max-height: 0;
	transition: 0.4s ease;
	overflow: hidden;
}

.object-card__img {
	opacity: 0;
	transition: 0.4s ease;
	overflow: hidden;
}

.active-card .object-card__img {
	opacity: 1;
}

.active-card .object-card__hidden-content,
.active-card .card-tags {
	opacity: 1;
	max-height: 500px;
	margin-top: 15px;
}

/* Скрытые элементы карточки */
.object-card__hidden,
.card-tags {
	opacity: 0;
	transition: 0.3s;
}

.active-card .object-card__hidden,
.active-card .card-tags {
	opacity: 1;
}

/* Показываем элементы только в активной карточке */
.active-card .card-tags {
	opacity: 1;
	visibility: visible;
	max-height: 100px;
}



.object-card__desc {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 20px;
}

.object-card__link {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
}

/* Стили бейджей */
.badge-glass {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	padding: 8px 20px;
	border-radius: 50px;
}

.object-card__link {
	text-decoration: none;
	color: white;
}

.badge-circle {
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.object-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, var(--purple-accent) 10%, rgba(126, 87, 197, 0) 100%);
	padding: 35px;
	display: flex;
	flex-direction: column;
	box-shadow: inset 0px 4px 10px rgba(255, 255, 255, 0.25);
}

.slider-viewport {
	width: var(--slide-width);
	max-width: 95vw;
	margin: 0 auto;
	overflow: hidden;
}

.news-date-time {
	color: #486DAA;
}

.objects-section {
	margin-top: 228px;
	margin-bottom: 0px !important;
}

.objects-section-main {
	margin-bottom: 116px !important;
}

.section-label-serveces {
color: #EBE1FF;
text-transform: uppercase;
	font-size: 25px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}


.objects-wrapper {
	flex-shrink: 0;
	width: var(--slide-width);
}

.objects-wrapper {
	flex-shrink: 0;
	width: var(--slide-width);
	display: flex;
	gap: var(--gap-width);
}

.slider-track {
	display: flex;
	width: var(--slide-width);
	gap: var(--gap-width);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1400px) {
	.objects-section {
		margin-top: 0;
	}

	.slider-progress-container {
		margin-top: 10px !important;
	}

	.objects-section-main {
		margin-bottom: 70px !important;
	}

	.section-label-serveces {
		margin-top: 0;

	}

	.section-label-serveces {
		font-size: 20px;
	}

	.object-card__title {
		font-size: 20px;
		line-height: 20px;
		letter-spacing: -1px;
		font-weight: 400;
	}

	.active-card .object-card__title {
		font-size: 40px;
		line-height: 40px;
		letter-spacing: -3px;
	}

	.object-card__desc {
		font-size: 15px;
		font-weight: 400;
		position: relative;
	}

	.object-card__link {
		/* font-size: 20px; */
		font-weight: 400;
	}

	.object-card {
		height: 479px;
	}

	.object-card__overlay {
		padding: 25px;
	}
}

@media (min-width: 992px) {
	.objects-section {
		margin-top: 228px;
	}
}

@media (max-width: 1265px) {
	.section-label-serveces {
		margin-bottom: 28px;
	}

	.slider-progress-track {
		flex-grow: 1;
		/* База занимает всё свободное место между стрелками */
	}

	.slider-viewport {
		max-width: 600px;
	}

	.objects-wrapper {
		flex-direction: column;
		width: 100%;
	}

	.object-card {
		width: 100% !important;
		height: 50px;
		border-radius: 15px;
		transition: all 0.5s ease;
	}

	.object-card.active-card {
		height: 120px;
	}

	.object-card__title {

		font-size: 18px;
		line-height: 20px;
		font-weight: 600;
		letter-spacing: normal;
		text-align: center;
		margin: 0;
		padding: 0;
	}

	.active-card .object-card__title {
		font-size: 18px;
		line-height: 20px;
		font-weight: 600;
		letter-spacing: normal;
		text-align: center;
		margin: 0;
		padding: 0;
	}

	.object-card__overlay .mt-auto {
		margin: 0 !important;
	}

	.object-card__overlay {
		padding: 15px;
	}

	.object-card__title br {
		display: none;
	}

	.object-card__hidden-content,
	.card-tags {
		display: none !important;
	}
}
