/**
 * OTA Partner Board widget styles.
 *
 * The "Our valued partners" section, which the design file calls
 * `ota-aboard :hover`: a header, an optional row of partner cards, and one or
 * two logo strips that scroll and stop under the pointer. The strip is the
 * tiered one from Variant5, `Logos V2 / prop=prop5`: groups of logos under a
 * tier label, with a hairline rule between one tier and the next.
 *
 * Every colour is a colour theme role, mapped once in the token block below and
 * referenced by name after that, which is what lets the section follow whatever
 * theme is in force above it: its own, else the container's, else the page's,
 * else the site's. The one exception is the band's own background, which the
 * widget offers as a colour control and which overrides the surface role for the
 * band alone: see `--opb-section-bg`. The roles come from the four
 * `ota-aboard :hover` instances in the OTA design file:
 *
 *   section surface   bar/background     --ota-background
 *   eyebrow           bar/Ochre Button   --ota-ochre-button
 *   heading           bar/text           --ota-text
 *   introduction      bar/text           --ota-text
 *   buttons           .ota-btn--primary / --outline, which read cta-* themselves
 *   card surface      bar/background     --ota-background, in the card's theme
 *   tier pill         the section's surface, see the note below
 *   tier pill text    bar/text           --ota-text
 *   See More          bar/text           --ota-text
 *   strip tier label  bar/text           --ota-text
 *   rule between tiers 20% of bar/text   see --opb-rule below
 *
 * THE DEPARTURES ARE ALL THE SAME DEPARTURE
 *
 * The eyebrow and the rule hold raw values in Figma rather than bound roles: the
 * Default variant resolves its type against `brand/navy` and `brand/ash`, the
 * palette rather than the theme, and the rule is drawn as black at 20%. Binding
 * them to the role the neighbouring bound layers use is the only reading that
 * survives a theme change; left as palette entries they would go invisible on
 * Navy and Teal. The eyebrow takes `ochre-button`, which is what the News
 * Block's eyebrow already takes, and the rule takes a fifth of `text`.
 *
 * The tier label is not one of them. prop5 binds it to `bar/text` itself, so it
 * is read straight off the frame.
 *
 * THE CARDS ARE A SECOND THEME, ON PURPOSE
 *
 * The design frame is two variable modes, not one. Its outer section resolves
 * bar/background to #F0E7D8 and the cards resolve the same variable to white:
 * an Ash section with White cards inside it. That is exactly what a nested theme
 * class does here, so the widget offers a "Card theme" of its own and the token
 * block below is declared on both `.ota-partners` and `.ota-partners__card`.
 *
 * The duplication is load bearing rather than untidy. A custom property whose
 * value contains `var()` is resolved on the element that declares it, so tokens
 * declared once on `.ota-partners` would inherit into the card already resolved
 * against the section's theme and the card's own class would do nothing. Naming
 * the card in the same rule makes it resolve them again, against its own theme.
 *
 * `--opb-section-surface` is the exception that proves it, and it is deliberately
 * NOT redeclared on the card. The tier pill is ash sitting on a white card, which
 * is the section's surface and not the card's, so the pill needs the one token
 * that was resolved upstairs and inherited down already resolved. That is the
 * same mechanism the paragraph above warns about, used on purpose.
 *
 * Typography comes from the Elementor global fonts, each as a `var()` with the
 * Figma number as its fallback, so the block still renders to spec on a site
 * whose kit has not had the type scale imported. Label/Eyebrow for the eyebrow
 * and for the strip's tier labels, Heading/H2 for the heading, Body/Default for
 * the introduction, Body/Caption for the card's tier pill.
 */

/*
 * The roles. Ash values as fallbacks, so the block is never unstyled on a site
 * with no colour theme configured. Declared for the cards as well as the
 * section: see the note on the nested theme above.
 */
.ota-partners,
.ota-partners__card {
	--opb-surface: var(--ota-background, #f0e7d8);
	--opb-text: var(--ota-text, #003038);
	--opb-muted: var(--ota-text-muted, #005361);
	--opb-accent: var(--ota-ochre-button, #f04c3a);

	/*
	 * The rule between tier groups. prop5 draws it as black at 20%, which is a
	 * raw value and the third departure of the kind described above: on Navy or
	 * Teal a black hairline is a hairline nobody can see. Twenty per cent of the
	 * text role is the same rule on Ash and a visible one everywhere else. The
	 * fallback is the literal the frame draws, for a browser without
	 * `color-mix()`.
	 */
	--opb-rule: rgba(0, 0, 0, 0.2);
	--opb-rule: color-mix(in srgb, var(--opb-text) 20%, transparent);
}

.ota-partners {
	/*
	 * Resolved here and here only. The tier pill inside a white card needs the
	 * section's ash, not the card's white, and a token declared once at this
	 * level inherits down already resolved. See the note above.
	 */
	--opb-section-surface: var(--ota-background, #f0e7d8);

	/* The design's own measurements. */
	--opb-max: 1280px;
	--opb-pad: 2rem;
	--opb-pad-block: 80px;
	--opb-radius: 14px;
	--opb-head-gap: 40px;
	--opb-strip-gap: 72px;
	--opb-card-gap: 20px;

	/* The tiered strip, all of it from `Logos V2 / prop=prop5`. */
	--opb-tier-gap: 59px;
	--opb-logo-pad: 24px;
	--opb-logo-h: 52px;

	/*
	 * Both off, which is the signed off rest state. The widget's Resting Logo
	 * Strength slider writes the pair together: 100 is 1 and 0, anything lower
	 * fades and desaturates by the same amount.
	 */
	--opb-logo-rest: 1;
	--opb-logo-grey: 0;

	/*
	 * The marquee's pace, in seconds per 1000px travelled, and the duration the
	 * script works out from it. The fallback duration is what runs if the script
	 * never arrives: slow enough to look deliberate on a strip of any length.
	 */
	--opb-marq-pace: 25;
	--opb-marq-dur: 30s;
	--opb-sets: 2;

	padding-block: var(--opb-pad-block);
	background-color: var(--opb-section-bg, var(--opb-surface));
	color: var(--opb-text);
}

.ota-partners__inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--opb-head-gap);
	width: 100%;
	/*
	 * The padding is added to the maximum rather than taken out of it, so the
	 * content is exactly the design's 1280px at desktop and still keeps a gutter
	 * once the viewport is narrower. On the 1440px artboard this puts the header
	 * at x=80, which is where all four frames draw it.
	 */
	max-width: calc(var(--opb-max) + 2 * var(--opb-pad));
	margin-inline: auto;
	padding-inline: var(--opb-pad);
}

/* --- Header -------------------------------------------------------------- */

.ota-partners__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ota-partners__intro {
	display: flex;
	flex-direction: column;
	/* The frame's own gap between the eyebrow and the heading. */
	gap: 8px;
	/* Frame 818's measure. */
	max-width: 604px;
}

.ota-partners__eyebrow {
	margin: 0;
	color: var(--opb-accent);
	font-size: var(--e-global-typography-eyebrow-font-size, 1.0625rem);
	font-weight: var(--e-global-typography-eyebrow-font-weight, 700);
	line-height: var(--e-global-typography-eyebrow-line-height, 1.46em);
	letter-spacing: var(--e-global-typography-eyebrow-letter-spacing, 1px);
}

.ota-partners__title {
	margin: 0;
	color: var(--opb-text);
	font-size: var(--e-global-typography-h2-font-size, 2.75rem);
	font-weight: var(--e-global-typography-h2-font-weight, 400);
	line-height: var(--e-global-typography-h2-line-height, 1.08em);
	letter-spacing: var(--e-global-typography-h2-letter-spacing, -0.44px);
}

.ota-partners__lede {
	/* spacing/16 between the heading block and the paragraph under it. */
	margin: 8px 0 0;
	color: var(--opb-text);
	font-size: var(--e-global-typography-body-font-size, 1.0625rem);
	font-weight: var(--e-global-typography-body-font-weight, 300);
	line-height: var(--e-global-typography-body-line-height, 1.65em);
}

.ota-partners__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* Frame 828 sets its two buttons 12px apart, not the usual 24. */
	gap: 12px;
}

/*
 * A button with no destination is a <button>, not an <a>, and the only thing a
 * bare <button> brings that ota-buttons.css does not already claim is the user
 * agent's font. Everything else, the border included, comes from `.ota-btn`.
 *
 * This used to be `border: 0`, meant as a user agent reset, and it was the
 * reason the outlined "Partner with us" pill had no line at all: `.ota-btn`
 * declares `border-width: var(--ob-border); border-style: solid` for every type
 * and lets the paint rule colour it, so a blanket `border: 0` here took the
 * design's own 2px away from the one type that needs it. `font` is enough.
 */
.ota-partners__actions button.ota-btn {
	font: inherit;
}

/* The centred layout: 193:6247, which has no buttons to sit opposite. */
.ota-partners--center .ota-partners__head {
	justify-content: center;
	text-align: center;
}

.ota-partners--center .ota-partners__intro {
	align-items: center;
	margin-inline: auto;
}

/* --- Cards --------------------------------------------------------------- */

.ota-partners__cards {
	display: grid;
	gap: var(--opb-card-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * The two card rows the design draws, as column counts rather than the frames'
 * fixed widths: the section is fluid and 413px and 246px are measurements of a
 * 1440px artboard rather than of a card.
 */
.ota-partners__cards--large {
	grid-template-columns: repeat(3, 1fr);
	--opb-card-min-h: 337px;
}

.ota-partners__cards--small {
	grid-template-columns: repeat(5, 1fr);
	/* 2481:19935 sets its five cards 12px apart. */
	--opb-card-gap: 12px;
	--opb-card-min-h: 264px;
}

.ota-partners__card {
	display: flex;
	min-height: var(--opb-card-min-h, 264px);
	border-radius: var(--opb-radius);
	/*
	 * radius/md on the card, and the surface role read against the card's own
	 * theme. On the design's Ash section with the card theme set to White this
	 * is the white panel the frame draws; left on Inherit it is a flat panel in
	 * the section's own colour, which is a legitimate look and the safer
	 * default.
	 */
	background-color: var(--opb-surface);
	overflow: hidden;
}

.ota-partners__card-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	/* The frame's own padding: 16px top and bottom, the rest from the gaps. */
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
	padding: 16px 20px;
	color: var(--opb-text);
	text-decoration: none;
}

.ota-partners__tier {
	flex-shrink: 0;
	padding: 11px 16px;
	border-radius: 999px;
	/*
	 * The section's ash, not the card's white. This is the one token that is
	 * deliberately inherited already resolved rather than redeclared on the
	 * card: see the note at the top of this file.
	 */
	background-color: var(--opb-section-surface);
	color: var(--opb-text);
	font-size: var(--e-global-typography-caption-font-size, 0.75rem);
	/* The scale publishes Caption at Light; the pill is drawn Bold. */
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-align: center;
}

/*
 * The logo's own room. It takes the space left between the pill and the See
 * More line and centres the logo in it, which is what keeps a row of cards
 * level whether their logos are wordmarks or squares.
 */
.ota-partners__card-media {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
}

.ota-partners__card-logo {
	display: block;
	max-width: 100%;
	/* The logo box the large card draws, near enough. */
	max-height: 96px;
	width: auto;
	height: auto;
	object-fit: contain;
	/*
	 * The cards do not desaturate. Only the strips do: the frames show the card
	 * logos at full colour at rest, and a card is already a deliberate placement
	 * rather than a passing one.
	 */
}

.ota-partners__card-name {
	color: var(--opb-muted);
	font-size: var(--e-global-typography-caption-font-size, 0.75rem);
	text-align: center;
}

.ota-partners__more {
	flex-shrink: 0;
	color: var(--opb-text);
	font-size: var(--e-global-typography-small-font-size, 0.9375rem);
	font-weight: 500;
}

/*
 * The arrow after "See More". Drawn here rather than shipped as an asset,
 * because it is the same 13px chevron the design uses throughout and a border
 * rotated 45 degrees is exactly it at this size.
 */
.ota-partners__more::after {
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	margin-inline-start: 0.6em;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-0.1em) rotate(45deg);
	transition: transform 0.2s ease;
}

a.ota-partners__card-link:hover .ota-partners__more::after,
a.ota-partners__card-link:focus-visible .ota-partners__more::after {
	transform: translateY(-0.1em) rotate(45deg) translate(2px, -2px);
}

a.ota-partners__card-link:focus-visible {
	outline: 2px solid var(--opb-accent);
	outline-offset: 2px;
}

/* --- The logo strips ----------------------------------------------------- */

.ota-partners__strips {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	max-width: calc(var(--opb-max) + 2 * var(--opb-pad));
	margin-inline: auto;
	padding-inline: var(--opb-pad);
	/* The gap between the cards above and the first strip. */
	margin-block-start: var(--opb-strip-gap);
}

/* 193:6247 runs its two strips the full width of the artboard instead. */
.ota-partners__strips--full {
	max-width: none;
	padding-inline: 0;
}

/*
 * `ota-marq-pause` in the Figma layer tree. The window the rail travels behind,
 * and the element the pointer has to be over for it to stop.
 */
.ota-marq {
	position: relative;
	overflow: hidden;
}

/*
 * The frame masks both ends of the window rather than letting a logo meet the
 * edge mid-wordmark: transparent to opaque over the first 12% of the 1280px
 * strip and back over the last 12%, which is the gradient 2582:14221 paints.
 * `mask-image` on its own is enough everywhere current; the prefixed pair is
 * here because Safari still wants it and an unmasked strip is the failure to
 * have rather than a strip that vanishes.
 */
.ota-marq--fade {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

/* `ota-marq-track` in the Figma layer tree. */
.ota-marq__track {
	display: flex;
	/*
	 * Sized to its contents rather than to the window, which is what lets the
	 * keyframe below translate by a share of the rail rather than of the screen.
	 */
	width: max-content;
	animation: ota-marq-run var(--opb-marq-dur) linear infinite;
	/*
	 * Promoted, because this animates for as long as the page is open and a
	 * strip of twenty logos repainting on the main thread is felt on everything
	 * else on the page.
	 */
	will-change: transform;
}

.ota-marq--reverse .ota-marq__track {
	animation-direction: reverse;
}

/*
 * The stop. `ota-marq-pause` is the designer's own name for this behaviour, and
 * focus-within is here as well as hover so the strip also stops for someone
 * tabbing through the logos rather than sliding a linked logo out from under
 * their own focus ring.
 *
 * The third selector is the button under the strips, and it is the only one of
 * the three a touch reader can reach: hover needs a pointer to rest and
 * focus-within needs the logos to be links. It stops every strip in the block
 * at once, which is why it hangs off the group rather than off one `.ota-marq`.
 * See the note on `.ota-partners__playback` in the template.
 */
.ota-marq:hover .ota-marq__track,
.ota-marq:focus-within .ota-marq__track,
.ota-partners__strips.is-paused .ota-marq__track {
	animation-play-state: paused;
}

/*
 * The pause button. Trailing edge, under the strips, on the same pill as the
 * hero's so the two pieces of moving furniture on the page stop the same way.
 *
 * `align-self` rather than a margin: the strips container is already a column
 * flex box, so this is the one line that puts the button at its end.
 *
 * No `margin-inline-end` here. The contained layout gets its gutter from the
 * container's own `padding-inline`, so a margin as well would indent the
 * button one gutter past the strips it belongs to. Only the full bleed
 * variant, which zeroes that padding, needs one.
 */
.ota-partners__playback {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/*
 * The full bleed strips take their padding off the container, so the button
 * would sit against the window's edge with them. It keeps the gutter the
 * contained option gives it.
 */
.ota-partners__strips--full .ota-partners__playback {
	margin-inline-end: var(--opb-pad);
}

/* The display above outranks the browser's own [hidden] rule, so the button
   has to be told again. It ships hidden and the script reveals it, and under
   reduced motion `initToggle()` returns before revealing it, so without this
   a reduced-motion reader is offered a pause button that does nothing. */
.ota-partners__playback[hidden] {
	display: none;
}

.ota-partners__playback:hover {
	background: currentColor;
}

/*
 * The glyph rather than the button, because `background: currentColor` above
 * has already painted the pill in the text colour and the two would meet.
 */
.ota-partners__playback:hover .ota-partners__playback-glyph {
	color: var(--opb-bg, #ffffff);
}

.ota-partners__playback:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ota-partners__playback-glyph {
	display: block;
	width: 1rem;
	height: 1rem;
}

/* One glyph at a time, chosen by the state the script writes onto the button. */
.ota-partners__playback[data-paused="false"] .ota-partners__playback-glyph--play,
.ota-partners__playback[data-paused="true"] .ota-partners__playback-glyph--pause {
	display: none;
}

/*
 * Bottom aligned, not centred. prop5's own row sets counterAxisAlignItems to
 * MAX, and it has to: a group with a tier label above it is 109px tall and a
 * group without one is 52px, and centring them would leave the logos of the two
 * kinds sitting at two different heights along the strip.
 */
.ota-marq__set {
	display: flex;
	align-items: flex-end;
	/* From a group to the next group's rule. The rule to the group after it is
	 * the group's own gap, so column to column is 59 + 1 + 59 = 119px, which is
	 * what the frame measures. */
	gap: var(--opb-tier-gap);
	/* And the same again to the first rule of the next set, or the seam of the
	 * loop is the one join in the strip that is spaced differently. */
	padding-inline-end: var(--opb-tier-gap);
}

/*
 * A group is the rule and the column it precedes, which is what lets the rule be
 * a pseudo-element rather than markup between the groups. Every group draws one,
 * including the first: the strip is a loop, and hiding the leading rule would
 * put the one join with no rule in it wherever the loop happens to start. A
 * strip with a single group is the exception, since there is nothing on the
 * other side of the rule to separate it from.
 */
.ota-marq__group {
	display: flex;
	align-items: flex-end;
	gap: var(--opb-tier-gap);
	flex-shrink: 0;
}

.ota-marq__group::before {
	content: "";
	flex-shrink: 0;
	align-self: flex-end;
	width: 1px;
	/* Bottom aligned with the logo box rather than the full height of the group,
	 * so the rule sits against the logos and not against the tier labels. */
	height: 45px;
	background-color: var(--opb-rule);
}

.ota-marq__group:only-child::before {
	display: none;
}

.ota-marq__stack {
	display: flex;
	flex-direction: column;
	/* The label is left aligned with its group's first logo, not centred over
	 * the group: the frame's own alignment, and the thing that makes a tier read
	 * as the head of a run rather than a caption for all of it. */
	align-items: flex-start;
	gap: 10px;
}

/*
 * Label/Eyebrow at the section's text role, which is what prop5 binds it to:
 * `bar/text`, not the muted role the old per-logo captions took. A tier is the
 * loudest thing in the strip after the logos themselves.
 *
 * The 11px block padding is the frame's own, and it is what puts the label 10px
 * clear of the logo box below it rather than sitting on top of it.
 */
.ota-marq__tier {
	padding-block: 11px;
	/* Aligned with the first logo, which carries the same side padding. */
	padding-inline: var(--opb-logo-pad);
	color: var(--opb-text);
	font-size: var(--e-global-typography-eyebrow-font-size, 1.0625rem);
	font-weight: var(--e-global-typography-eyebrow-font-weight, 700);
	line-height: var(--e-global-typography-eyebrow-line-height, 1.46em);
	letter-spacing: var(--e-global-typography-eyebrow-letter-spacing, 1px);
	white-space: nowrap;
}

.ota-marq__logos {
	display: flex;
	align-items: flex-end;
	/* Inside a group, where the frame's 24px of logo padding either side makes
	 * this 62px between one logo and the next. */
	gap: 14px;
}

.ota-marq__item {
	display: flex;
	flex-shrink: 0;
	padding-inline: var(--opb-logo-pad);
	color: inherit;
	text-decoration: none;
}

.ota-marq__media {
	display: flex;
	align-items: center;
	justify-content: center;
	/* The logo box every group in prop5 is bottom aligned on. */
	height: var(--opb-logo-h);
}

.ota-marq__logo {
	display: block;
	width: auto;
	/* The design's widest is MePACS at 252px. */
	max-width: 260px;
	max-height: 100%;
	object-fit: contain;
	/*
	 * The rest state, and the other half of what `:hover` means in this
	 * component's name: the logos can sit faded and desaturated and come up to
	 * full colour one at a time. Both tokens come off the widget's one Resting
	 * Logo Strength slider, and Variant5 ships it at 100, which resolves to no
	 * grey and no fade. Left as a control because the earlier variants do rest
	 * desaturated.
	 */
	filter: grayscale(var(--opb-logo-grey));
	opacity: var(--opb-logo-rest);
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.ota-marq__item:hover .ota-marq__logo,
.ota-marq__item:focus-visible .ota-marq__logo {
	filter: grayscale(0);
	opacity: 1;
}

.ota-marq__name {
	color: var(--opb-muted);
	font-size: var(--e-global-typography-caption-font-size, 0.75rem);
	white-space: nowrap;
}

a.ota-marq__item:focus-visible {
	outline: 2px solid var(--opb-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

/*
 * One set's width, whatever the script decided that is. With N identical sets on
 * a `max-content` rail, travelling 100/N of the rail is travelling exactly one
 * set, and the copy behind it is already standing where the first one started.
 */
@keyframes ota-marq-run {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-100% / var(--opb-sets)));
	}
}

/* --- Narrow -------------------------------------------------------------- */

@media (max-width: 1100px) {
	.ota-partners__cards--small {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.ota-partners {
		--opb-head-gap: 32px;
		--opb-strip-gap: 48px;
	}

	.ota-partners__head {
		/*
		 * The buttons go under the header rather than beside it. Left aligned
		 * with it rather than centred, so the two layouts stay distinguishable
		 * at every width.
		 */
		flex-direction: column;
		align-items: flex-start;
	}

	.ota-partners--center .ota-partners__head {
		align-items: center;
	}

	.ota-partners__cards--large {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ota-partners {
		--opb-pad: 1.25rem;
		--opb-pad-block: 56px;
	}

	.ota-partners__cards--large,
	.ota-partners__cards--small {
		grid-template-columns: 1fr;
		--opb-card-min-h: 240px;
	}

	/*
	 * The strip keeps its structure and gives up its air. The rule stays: it is
	 * what tells a phone that two tiers ended up beside each other, and there is
	 * no room left to say it with space alone.
	 */
	.ota-partners {
		--opb-tier-gap: 28px;
		--opb-logo-pad: 12px;
		--opb-logo-h: 44px;
	}

	.ota-marq__logos {
		gap: 8px;
	}

	.ota-marq__logo {
		max-width: 180px;
	}
}

/* --- Reduced motion ------------------------------------------------------ */

/*
 * The strip stops being a marquee and becomes a list you can push, rather than
 * simply freezing: a frozen rail hides every logo past the fold of it, and the
 * point of the section is that all of them are visible. `max-content` comes off
 * so the rail can scroll, and the duplicate sets are hidden so the same logos
 * are not listed twice to someone reading rather than watching.
 */
@media (prefers-reduced-motion: reduce) {
	.ota-marq {
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.ota-marq__track {
		width: auto;
		animation: none;
		will-change: auto;
	}

	.ota-marq__set:not([data-ota-marq-set]) {
		display: none;
	}

	/*
	 * The one place the leading rule is wrong. A scrollable list has a start and
	 * an end rather than a seam, so the first group is the first group and a
	 * rule in front of it separates it from nothing.
	 */
	.ota-marq__set > .ota-marq__group:first-child::before {
		display: none;
	}

	.ota-partners__more::after,
	.ota-marq__logo {
		transition: none;
	}
}
