/* Periscope accessibility fixes – always on. */

/* Pause/play button added by a11y.js to autoplaying videos (WCAG 2.2.2). */
.periscope-video-holder {
	position: relative;
}

.periscope-video-toggle {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(58, 71, 102, 0.85); /* --newgrove-blue */
	color: #fff;
	fill: currentColor;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.2s;
}

.periscope-video-toggle:hover,
.periscope-video-toggle:focus-visible {
	opacity: 1;
}

.periscope-video-toggle:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

/* Tap targets of at least 24 x 24 px (WCAG 2.5.8). */
.algst_slider .algst_slider-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
}

.algst_dataset-header-wrapper .algst_dataset-header-back {
	min-width: 24px;
	min-height: 24px;
}

.fluentform input.ff-el-form-check-input[type="checkbox"] {
	width: 20px;
	height: 20px;
}

/* Reduced motion: no smooth transitions on the added control. */
@media (prefers-reduced-motion: reduce) {
	.periscope-video-toggle {
		transition: none;
	}
}
