/*
 * Hero scroll cue (pixel plan chunk 04, M28; markup from inc/scroll-cue.php).
 * The prototype draws a 16×24 down arrow centred near the bottom of each overview
 * and detail hero (its box 34px above the hero's bottom edge), at 75% opacity, in
 * the hero text colour. The button is 44×44 so it's easy to hit; the arrow sits
 * exactly where the prototype draws it (10px inside the button's bottom).
 * Desktop only: tablet and phone have no prototype reference (pixel plan policy e).
 * The colour is a literal on purpose: heroes are always dark (cds-always-dark), and
 * Divi prints only the colour variables a page uses.
 *
 * Usage: add the class cds-scroll-cue to a hero Section's CSS Class field (with
 * cds-always-dark). No other markup is needed.
 */
.et_pb_section.cds-scroll-cue {
	position: relative;
}

.cds-scroll-cue__btn {
	position: absolute;
	bottom: 24px;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 0 -22px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: none;
	color: #F2F2F3;
	opacity: 0.75;
	cursor: pointer;
}

.cds-scroll-cue__btn svg {
	display: block;
	width: 16px;
	height: 24px;
}

@media (max-width: 980px) {
	.cds-scroll-cue__btn {
		display: none;
	}
}

/* WCAG 2.4.3: the section the cue jumps to takes focus from a script; it isn't a control, so no ring on it. */
.et_pb_section[data-cds-scroll-target]:focus {
	outline: none;
}
