/* ============================================================
   Строка расписания под шапкой (template-parts/training-strip.php)
   Макет: maket-treningi/bannery.html, вариант В.
   ============================================================ */

/* Обёртка — отступ под фиксированное меню; контейнер страницы из header.php свой отступ теряет */
.tstrip {
	padding-top: 63px;
}

.tstrip + .container-fluid {
	margin-top: 0 !important;
}

.tstrip__bar {
/*	background: #1c1b1b;*/
	color: #f5f2f2;
	background: #343a40;
}

.tstrip__in {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 50px;
	padding-top: 9px;
	padding-bottom: 9px;
}

.tstrip__tag {
	flex: none;
	padding: 6px 8px;
	border-radius: 4px;
	background: #C13B44;
	color: #fff;
	font: 500 0.66rem/1 'Geologica', sans-serif;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tstrip__list {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tstrip__item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.tstrip__item[hidden] {
	display: none;
}

.tstrip__date {
	flex: none;
	font: 500 0.9rem/1 'Geologica', sans-serif;
	font-variant-numeric: tabular-nums;
}

.tstrip__dot {
	flex: none;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #bab3b3;
}

.tstrip__title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: #fff !important;
	font: 600 0.93rem/1.3 'Raleway', sans-serif;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none !important;
}

.tstrip__title:hover {
	color: #fff !important;
	text-decoration: underline !important;
}

.tstrip__cta {
	flex: none;
	padding-bottom: 3px;
	border-bottom: 1px solid #bab3b3;
	color: #f5f2f2 !important;
	font: 500 0.84rem/1 'Geologica', sans-serif;
	text-decoration: none !important;
}

.tstrip__cta:hover {
	border-color: #fff;
	color: #fff !important;
}

.tstrip__nav {
	flex: none;
	display: flex;
	align-items: center;
	gap: 4px;
	color: #bab3b3;
	font: 400 0.78rem/1 'Geologica', sans-serif;
	font-variant-numeric: tabular-nums;
}

.tstrip__btn {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #bab3b3;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

/* Рамка фокуса — только при переходе с клавиатуры (Tab), по клику мышью не появляется */
.tstrip__btn:focus {
	outline: none;
	box-shadow: none;
}

.tstrip__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.tstrip__btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.tstrip__close {
	margin-left: 2px;
	font-size: 1.25rem;
}

/* Узкий планшет: убираем второстепенное */
@media (max-width: 991px) {
	.tstrip__cta,
	.tstrip__count,
	.tstrip__dot {
		display: none;
	}
}

/* Телефоны: строку не показываем (отступ под меню остаётся) */
@media (max-width: 767px) {
	.tstrip__bar {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tstrip__btn {
		transition: none;
	}
}
