.event-program {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	padding: 20px;
	font-family: 'Montserrat', sans-serif;
}

.event-item {
	/* margin-bottom: 20px; */
}

.event-item h3 {
	font-family: 'RockStar', sans-serif;
}

.event-item p {
	margin: 5px 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.program-title {
	text-align: center;
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 30px;
}

.event-program {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.event-item {
	display: flex;
	align-items: center;
	border-top: 1px solid #ddd;
	padding: 20px 0;
}

.event-time {
	font-size: 22px;
	font-weight: bold;
	color: #000;
	min-width: 150px;
	text-align: left;
}

.event-details {
	display: flex;
	align-items: center;
	flex-grow: 1;
	padding-left: 30px;
}

.speaker-photo {
	margin-right: 15px;
}

.speaker-photo img {
	border-radius: 50%;
	width: 50px;
	height: 50px;
	object-fit: cover;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-description h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
}

.speaker-info {
	display: flex;
	align-content: center;
	align-items: center;
	font-size: 16px;
	color: #555;
	margin: 5px 0;
	box-shadow: 0 0 19px -13px;
	border-radius: 50px;
	/* border: 7px solid #c5c5c57a; */
	padding: 7px 20px 7px 7px!important;
}

.speaker-info .name_speaker{
	font-size: 19px;
  color: #000;
  font-weight: 600;
}

.event-meta {
	font-size: 14px;
	color: #888;
	margin: 0;
}

.speaker-photo {
	border-radius: 100%;
	overflow: hidden;
	border: 6px solid #968A61;
	width: 60px;
	min-width: 60px;
	max-width: 60px;
	height: 60px;
	min-height: 60px;
	max-height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.speaker-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Заполнение контейнера изображением */
}

/* Применение шрифта RockStar к заголовку программы */
.program-title {
	text-align: center;
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 30px;
	font-family: 'RockStar', sans-serif; /* Применение шрифта */
}

/* Применение шрифта RockStar к заголовку выступлений */
.event-description h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 0;
	font-family: 'RockStar', sans-serif; /* Применение шрифта */
	/* margin-bottom: 20px; */
	line-height: 25px;
}

/* Дополнительно, можно применить шрифт к другим элементам */
.speaker-info,
.event-meta {
	font-family: 'RockStar', sans-serif; /* Применение шрифта */
	font-size: 16px;
	color: #555;
}

.speaker_position{
	font-size: 12px;
	width: 90% !important;
	line-height: 15px;
	color: #3a3a3a;
	font-weight: 500;
	margin-bottom: 5px;
}

b.date-day{
	color: #fff;
	background: #968a61;
	padding: 7px 22px;
	border-radius: 24px 0%;
}

.filter-by-day {
	display: flex;
	align-items: center;
	align-content: center;
	margin-bottom: 20px;
	flex-direction: row;
	justify-content: center;
	flex-wrap: nowrap;
	font-family: 'RockStar', sans-serif;
	font-weight: 900;
}

.filter-by-day label[for="day-filter"]{
	margin-right: 10px!important;
	font-size: 17px;
}

.filter-by-day label[for="day-filter"], .filter-by-day #day-filter{
	margin-bottom: 0;
	font-family: 'RockStar', sans-serif;
	max-width: max-content;
}

/* --- Спикеры --- */

.unique-speakers-title {
	text-align: center;
	font-size: 36px;
	margin-bottom: 30px;
	font-family: 'RockStar', sans-serif;
}

.unique-speakers-cards-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

.unique-speaker-card {
	width: 22%;
	text-align: center;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.unique-speaker-card:hover {
	transform: scale(1.05);
}

.unique-speaker-photo-wrapper {
	position: relative;
	margin-bottom: 15px;
	z-index: 2;
}

.unique-speaker-photo-wrapper::before {
	content: '';
	position: absolute;
	background: url(/wp-content/plugins/event-program-widget/assets/img/st__petersburg.png);
	background-size: cover;
	width: 100%;
	height: 100%;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
	transform: rotate(0deg);
	transition: all 0.7s ease;
	opacity: 0;
}

/* Анимация вращения */
@keyframes infinite-rotation {
	0% {
			transform: rotate(0deg);
	}
	100% {
			transform: rotate(360deg);
	}
}

.unique-speaker-card:hover .unique-speaker-photo-wrapper::before {
	width: 150%;
	height: 150%;
	margin: auto;
	top: -1%;
	left: -25%;
	opacity: 1;
	animation: infinite-rotation 19s linear infinite; /* Анимация вращения */
}

.unique-speaker-photo {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	overflow: hidden;
	border: 12px solid #968A61;
	margin: 0 auto;
	box-shadow: 0 0 30px -27px;
	transition: all 0.2s ease, box-shadow 0.6s ease;
}

.unique-speaker-photo:hover {
	border: 7px solid #FFF;
	box-shadow: 0 0 42px -17px;
}

.unique-speaker-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.unique-speaker-name {
	font-size: 22px;
	font-family: 'RockStar';
	line-height: 20px;
	font-weight: 900;
	margin-bottom: 5px;
}

.unique-speaker-position {
	font-size: 14px;
	color: rgba(0, 0, 0, 0.6);
	margin-top: 17px;
	line-height: 20px;
}

/* Адаптивные стили */

@media (max-width: 768px) {
	.event-item {
			display: flex;
			align-items: flex-start;
			border-top: 1px solid #ddd;
			padding: 20px 0;
			flex-direction: column;
			align-content: flex-start;
			flex-wrap: nowrap;
	}

	.event-filters select {
			width: 100%;
			margin-bottom: 10px;
	}

	.event-time {
    font-size: 24px;
    margin-bottom: 20px;
	}

	.speaker-info {
		margin-left: -30px;
    margin-bottom: 10px;
    padding: 13px 8px !important;
	}
}

@media (max-width: 1024px) {
	.unique-speaker-card {
			width: 45%;
			margin-bottom: 20px;
	}
}

@media (max-width: 768px) {
	.unique-speaker-card {
			width: 100%;
			margin-bottom: 20px;
	}
}

/* Default: Show the full text and hide truncated text and toggle button */
.full-text {
	display: inline;
}

.truncated-text, .toggle-text {
	display: none; /* Hide truncated text and toggle button on desktop */
}

/* Mobile Styles: Only on small screens */
@media (max-width: 768px) {
	.full-text {
			display: none; /* Hide full text on mobile */
	}

	.truncated-text, .toggle-text {
			display: inline; /* Show truncated text and toggle button on mobile */
	}
}

/* Keeping your existing button styles */
.toggle-text {
	background: #968A61;
	color: #fff;
	padding: 4px 11px;
	border-radius: 42px 10px;
	display: table;
	width: max-content;
	cursor: pointer;
	font-weight: bold;
	margin-top: 5px;
}

.speaker_performance{
	color: #828282;
	padding: 5px 12px;
	border-radius: 100px;
	/* font-size: 18px; */
	font-weight: 400;
	vertical-align: middle;
	/* margin-left: 20px; */
}

.presentation-description{
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 20px;
	border: 2px solid #968a61;
	padding: 10px 25px 10px 30px;
	border-radius: 34px;
}

.presentation-description > p {
	margin: 0;
	padding: 0;
}

.day-filter-button {
	font-family: 'RockStar', sans-serif;
	background: #838383;
	color: #fff;
	font-size: 23px;
	font-weight: 600;
	padding: 6px 19px 5px 19px;
	border-radius: 100px;
	user-select: none;
	border: 0;
	margin-right: 5px;
}

.day-filter-button.active {
	background: #968a61;
}

.unique-speaker-photo-wrapper {
	position: relative;
}

.unique-speaker-photo-wrapper {
	position: relative;
}

.unique-speaker-badge {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 80px;
	height: 115px;
	background: url(/wp-content/plugins/lb-events/assets/img/ribbon.png) no-repeat center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}

.unique-speaker-badge img {
	border-radius: 200px!important;
	top: 15px;
	position: absolute;
	max-width: 55%!important;
}

/* --- Партнеры --- */

.unique-partners-cards-wrapper {
	display: grid;
	grid-template-columns: repeat(var(--logos-per-row, 5), 1fr);
	gap: 20px;
	justify-items: center;
	align-items: center;
}

.unique-partner-card {
	text-align: center;
	transition: transform 0.3s ease;
}

.unique-partner-card:hover {
	transform: scale(1.05);
}

.unique-partner-photo-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	/* width: var(--logo-width, 100px); */
	/* height: var(--logo-width, 100px); */
}

.unique-partner-photo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; /* Логотип сохраняет пропорции */
}

/* Адаптивные стили */

@media (max-width: 1200px) {
	.unique-partners-cards-wrapper {
			grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 992px) {
	.unique-partners-cards-wrapper {
			grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.unique-partners-cards-wrapper {
			grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.unique-partners-cards-wrapper {
			grid-template-columns: 1fr;
	}
}

.yandex-map-container {
	overflow: hidden;
	border-radius: 30px;
}