/* ==========================================================================
   SPEAKING
   The two Slider Revolution modules keep their 1240px desktop layouts,
   scaled with --u below 1240px. Positions are the slider's layer positions.
   Fixed over the original:
   - Banner: on mobile its subtitle was 10px and the button's text 5px; they
     now stop shrinking at 13px and 11px (as on BREATHE Days).
   - "What people are saying": on mobile the texts were 10px with 7px line
     height, so the name and job title overlapped. At 767px and below the
     cards are now a normal column with readable text.
   Review fixes (2026-12-01): on phones the banner text is a centred column
   20px from the edges on a darkened photo (the one-line title sat 7px from
   the edges over the busy stage photo); "Perfect for" has normal line
   spacing (was 49px lines on 24px text) with a gap between items.
   ========================================================================== */

.sp-hero,
.sp-say {
	--u: min(1px, calc(100vw / 1240));
}

/* ---------- The Oxygen Advantage ---------- */

.sp-top {
	display: flex;
	align-items: center;
	min-height: 250px;
	padding: 10px;
	background: #f9c02e;
}

.sp-top .container {
	padding: 10px;
}

.sp-top__title {
	margin: 0;
	color: #fff;
	font-family: var(--font-display);
	font-size: 86px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
}

/* ---------- Banner (was breatheday-video-banner-_02-11) ---------- */

.sp-hero {
	position: relative;
	overflow: hidden;
	height: calc(var(--u) * 900);
	background: #000;
	color: #fff;
	text-align: center;
}

.sp-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Slider Revolution's line overlay (its 1 x 2 px pattern). */
.sp-hero__lines {
	position: absolute;
	inset: 0;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEElEQVR4AWJiYGD4DyIYAQAAAP//Ih92GQAAAAZJREFUAwAGIwEFwHMJxQAAAABJRU5ErkJggg==");
}

.sp-hero__title,
.sp-hero__text,
.sp-hero__btn {
	position: absolute;
	left: 50%;
	margin: 0;
	white-space: nowrap;
	transform: translateX(-50%);
}

.sp-hero__title {
	top: calc(var(--u) * 386);
	font-family: var(--font-display);
	/* At most 40px from each screen edge (the line is 15.56 x its font size); unchanged from ~1320px up. */
	font-size: min(calc(var(--u) * 77), calc((100vw - 80px) * 0.0643));
	font-weight: 400;
	line-height: calc(var(--u) * 90);
}

.sp-hero__text {
	top: calc(var(--u) * 520);
	font-family: 'Roboto', sans-serif;
	font-size: max(calc(var(--u) * 31), 13px);
	letter-spacing: calc(var(--u) * 1);
	line-height: 1.097; /* 34 / 31 */
}

.sp-hero__btn {
	top: calc(var(--u) * 608);
	padding: 0 max(calc(var(--u) * 25), 14px);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: max(calc(var(--u) * 17), 11px);
	font-weight: 500;
	line-height: max(calc(var(--u) * 40), 28px);
	transition: border-color 0.3s;
}

.sp-hero__btn:hover,
.sp-hero__btn:focus {
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
}

/* ---------- Intro ---------- */

.sp-intro {
	color: #092c4a;
	font-family: var(--font-body);
	font-size: 24px;
	line-height: 1.5;
	text-align: center;
}

.sp-intro .container {
	padding: 50px 30px; /* column 10px + text widget 40px / 20px */
}

.sp-intro__title {
	margin: 8px 0 16px;
	color: inherit;
	font-family: var(--font-body);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
}

/* ---------- Shared buttons ---------- */

.sp-btn {
	display: inline-block;
	padding: 12px;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap; /* as Elementor's buttons; at 390px it is 2px wider than its column on each side */
}

.sp-btn:hover,
.sp-btn:focus {
	color: #fff;
}

.sp-btn--white {
	padding: 12px 24px;
	border-radius: 1px;
}

/* ---------- Perfect for ---------- */

.sp-for {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #0c2d4a;
	color: #fff;
}

.sp-for__photo {
	position: relative;
	overflow: hidden;
}

.sp-for__photo img,
.sp-speakers__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}

.sp-for__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 650px;
	padding: 5px 20px 40px;
}

.sp-for__title {
	margin: 20px 0 0.9rem 19px;
	color: #fff;
	font-family: var(--font-display);
	font-size: 86px;
	font-weight: 400;
	line-height: 1.5;
}

.sp-for__list {
	margin: 20px 0 0;
	padding-left: 40px;
	font-family: var(--font-body);
	font-size: 24px;
	line-height: 1.4;
}

.sp-for__list li + li {
	margin-top: 16px;
}

.sp-for__action {
	margin: 35px 0 0;
	text-align: center;
}

/* ---------- The power of this keynote ---------- */

.sp-power {
	padding: 10px;
	background: #e82852;
	color: #fff;
}

.sp-power__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 20px 10px;
}

.sp-power__title {
	margin: 0 0 0.9rem;
	color: #fff;
	font-family: var(--font-display);
	font-size: 86px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

.sp-power__list {
	max-width: 100%;
	margin: 20px 0 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: 24px;
	line-height: 53px;
	list-style: none;
}

.sp-power__list .icon,
.sp-say__stars .icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	vertical-align: -0.125em;
}

.sp-power__action {
	margin: 40px 0 20px;
	text-align: center;
}

/* ---------- Meet your speakers ---------- */

.sp-speakers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #f9c02e;
	color: #fff;
}

.sp-speakers__photo {
	position: relative;
	min-height: 650px;
	overflow: hidden;
}

.sp-speakers__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px;
	text-align: center;
}

.sp-speakers__title {
	margin: 0 0 calc(0.9rem + 20px);
	color: #fff;
	font-family: var(--font-display);
	font-size: 80px;
	font-weight: 400;
	line-height: 1.5;
}

.sp-speakers__text {
	font-family: var(--font-body);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
}

/* ---------- Call to action (same as BREATHE Days) ---------- */

.sp-cta {
	padding: 100px 0;
	background: var(--navy-deep);
}

.sp-cta__grid {
	display: flex;
	align-items: center;
}

.sp-cta__col {
	display: flow-root;
	width: 61.219%;
	padding-left: 27px;
}

.sp-cta__action {
	width: 38.114%;
	padding-left: 0;
	text-align: center;
}

.sp-cta__text {
	width: 96.896%;
	color: #fff;
	font-family: var(--font-body);
	font-size: 26px;
	letter-spacing: 1px;
	line-height: 1.5;
}

.sp-cta__btn {
	background: var(--pink-btn);
	color: #fff;
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 900;
}

.sp-cta__btn:hover,
.sp-cta__btn:focus {
	color: #fff;
}

/* ---------- See it in action ---------- */

.sp-action {
	padding: 10px;
	background: #e82852;
}

.sp-action .container {
	padding: 10px;
}

.sp-action__title {
	margin: 8px 0 16px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

/* ---------- Video ---------- */

.sp-video {
	padding: 0 0 30px;
	background: var(--light);
}

.sp-video .container {
	padding: 10px;
}

.sp-video__frame {
	margin-top: 18px;
	aspect-ratio: 16 / 9;
	background: #000;
}

.sp-video__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- What people are saying (was speak-what-people-say) ---------- */

.sp-say {
	position: relative;
	overflow: hidden;
	height: calc(var(--u) * 900);
	background: #d63f5e;
	color: #fff;
}

.sp-say__stage {
	position: absolute;
	top: 0;
	left: 50%;
	width: calc(var(--u) * 1240);
	height: 100%;
	transform: translateX(-50%);
}

.sp-say__title {
	position: absolute;
	top: calc(var(--u) * 102);
	left: calc(var(--u) * 203);
	width: calc(var(--u) * 1103);
	margin: 0;
	color: #fff;
	font-family: var(--font-display);
	font-size: calc(var(--u) * 85);
	font-weight: 400;
	line-height: calc(var(--u) * 25);
}

.sp-say__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sp-say__card {
	position: absolute;
	top: calc(var(--u) * 239);
	left: calc(var(--u) * var(--x));
	width: calc(var(--u) * 552);
	height: calc(var(--u) * 512);
	border-radius: 20px;
	background: #1c284d;
}

/* Layer positions inside each card (the slider placed each card's layers by hand). */
.sp-say__card:nth-child(1) { --x: 47; --qx: 47; --qy: 55; --hx: 46; --hy: 127; --tx: 47; --ty: 195; --sx: 47; --sy: 338; --nx: 45; --ny: 409; }
.sp-say__card:nth-child(2) { --x: 647; --qx: 45; --qy: 48; --hx: 44; --hy: 121; --tx: 47; --ty: 186; --sx: 49; --sy: 335; --nx: 49; --ny: 403; }

.sp-say__figure,
.sp-say__quote {
	margin: 0;
}

.sp-say__mark,
.sp-say__head,
.sp-say__text,
.sp-say__stars,
.sp-say__cite {
	position: absolute;
	margin: 0;
}

.sp-say__mark {
	top: calc(var(--u) * var(--qy));
	left: calc(var(--u) * var(--qx));
	width: auto;
	height: calc(var(--u) * 62);
	fill: #fff;
}

.sp-say__head {
	top: calc(var(--u) * var(--hy));
	left: calc(var(--u) * var(--hx));
	font-family: var(--font-body);
	font-size: calc(var(--u) * 38);
	letter-spacing: calc(var(--u) * 1);
	line-height: calc(var(--u) * 24);
	white-space: nowrap;
}

.sp-say__text {
	top: calc(var(--u) * var(--ty));
	left: calc(var(--u) * var(--tx));
	width: calc(var(--u) * 476);
	font-family: 'Roboto', sans-serif;
	font-size: calc(var(--u) * 20);
	line-height: calc(var(--u) * 25);
}

.sp-say__stars {
	top: calc(var(--u) * var(--sy));
	left: calc(var(--u) * var(--sx));
	font-family: 'Roboto', sans-serif;
	font-size: calc(var(--u) * 20);
	line-height: calc(var(--u) * 25);
	white-space: nowrap;
}

/* Font Awesome 4 glyphs: 1664 wide on a 1792 em, baseline at 1536. */
.sp-say__stars .icon {
	width: 0.9286em;
	vertical-align: -0.1429em;
}

.sp-say__cite {
	top: calc(var(--u) * var(--ny));
	left: calc(var(--u) * var(--nx));
	font-family: var(--font-body);
	font-size: calc(var(--u) * 20);
	line-height: calc(var(--u) * 25);
	white-space: nowrap;
}

/* ---------- Client logos ---------- */

.sp-clients {
	margin: 10px 0;
	padding: 10px;
}

.sp-clients .carousel--logos {
	--per-view: 5;
}

/* The original carousel was 120px tall with 90px logos and the dots inside its bottom edge. */
.sp-clients .carousel--logos {
	padding-bottom: 10px;
}

.sp-clients .carousel__dots {
	margin-top: 14px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.sp-for,
	.sp-speakers {
		grid-template-columns: minmax(0, 1fr);
	}

	.sp-for__photo {
		min-height: 475px;
	}

	.sp-for__body {
		min-height: 600px;
	}

	.sp-for__action {
		margin: 20px 0 20px;
	}

	.sp-cta__col {
		padding: 40px;
	}
}

@media (max-width: 1023px) {
	.sp-clients .carousel--logos {
		--per-view: 2;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	.sp-top__title {
		font-size: 70px;
	}

	/* Banner: a centred column 20px from the edges, the photo darkened behind the text. */
	.sp-hero {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 16px;
		height: auto;
		min-height: 340px;
		padding: 40px var(--gutter-m);
	}

	.sp-hero__lines {
		background-color: rgba(0, 0, 0, 0.45);
	}

	.sp-hero__title,
	.sp-hero__text,
	.sp-hero__btn {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
	}

	.sp-hero__title,
	.sp-hero__text {
		white-space: normal;
		text-wrap: balance;
	}

	.sp-hero__title {
		font-size: 40px;
		line-height: 1.1;
	}

	.sp-hero__text {
		font-size: 16px;
		line-height: 1.4;
	}

	.sp-hero__btn {
		padding: 0 20px;
		font-size: 14px;
		line-height: 40px;
	}

	.sp-for__list {
		font-size: 20px;
	}

	.sp-for__body {
		min-height: 0;
	}

	.sp-speakers__photo {
		min-height: 300px;
	}

	.sp-cta__grid {
		flex-direction: column;
	}

	.sp-cta__col {
		width: 100%;
		padding: 0 0 0 20px;
	}

	.sp-cta__text {
		margin-inline: auto;
	}

	.sp-cta__action {
		padding: 18px 0 0;
	}

	.sp-clients .carousel--logos {
		--per-view: 1;
	}

	/* "What people are saying" as a column. */
	.sp-say {
		height: auto;
		padding: 30px 20px 40px;
	}

	.sp-say__stage {
		position: static;
		width: auto;
		transform: none;
	}

	.sp-say__title {
		position: static;
		width: auto;
		margin-bottom: 24px;
		font-size: min(8vw, 48px);
		line-height: 1.1;
		text-align: center;
	}

	.sp-say__list {
		display: grid;
		gap: 30px;
		max-width: 440px;
		margin: 0 auto;
	}

	.sp-say__card {
		position: static;
		width: auto;
		height: auto;
		padding: 28px 24px 32px;
	}

	.sp-say__mark,
	.sp-say__head,
	.sp-say__text,
	.sp-say__stars,
	.sp-say__cite {
		position: static;
		width: auto;
	}

	.sp-say__mark {
		display: block;
		height: 32px;
		margin-bottom: 12px;
	}

	.sp-say__head {
		margin-bottom: 14px;
		font-size: 22px;
		letter-spacing: 0.5px;
		line-height: 1.2;
		white-space: normal;
	}

	.sp-say__text {
		font-size: 15px;
		line-height: 1.4;
	}

	.sp-say__stars {
		margin: 18px 0;
		font-size: 16px;
		line-height: 1;
	}

	.sp-say__cite {
		font-size: 15px;
		line-height: 1.4;
		white-space: normal;
	}
}

/* Below this the buttons no longer fit on one line. */
@media (max-width: 359px) {
	.sp-btn {
		white-space: normal;
	}
}

/* ---------- Phones: side margins ---------- */

/* Text 20px from the screen edges (--gutter-m), as on every page. Lists keep their indent and the
   testimonial cards their inner padding (the cards' edges are at 20px). */
@media (max-width: 767px) {
	.sp-intro .container {
		padding-right: var(--gutter-m);
		padding-left: var(--gutter-m);
	}

	.sp-for__body {
		padding-right: var(--gutter-m);
		padding-left: var(--gutter-m);
	}

	.sp-for__title {
		margin-left: 0;
	}

	.sp-power {
		padding-right: 0;
		padding-left: 0;
	}

	.sp-power__inner {
		padding-right: var(--gutter-m);
		padding-left: var(--gutter-m);
	}

	.sp-cta__col {
		padding: 0 var(--gutter-m);
	}

	.sp-cta__text {
		width: auto;
	}

	.sp-cta__action {
		padding: 18px var(--gutter-m) 0;
	}

	.sp-say {
		padding-right: var(--gutter-m);
		padding-left: var(--gutter-m);
	}
}
