@charset "UTF-8";
/* Consolidated from inline <style> in _HeroServicesPartial.cshtml -> W3C-valid + CSP-clean. Cascade preserved. */

	.carousel-track {
		display: flex;
		width: 100%;
	}

	.carousel-itemm img {
		width: 100%;
		display: block;
	}

/* ------------------------------------------------------------------ *
 * GIGW 5.2.25 / WCAG 2.2.2 — control for the travelling pill highlight
 *
 * `animation-play-state: paused` freezes the pills where they are instead of resetting
 * them, so pausing does not make the ring jump. !important because the animation is set
 * by a grouped selector in styles.css that is more specific than a single class.
 *
 * The button sits inside the ring's own .quick-services box. Colour comes from
 * var(--nav-bg) so it follows the theme, and it is authored at 44x44 rather than being
 * shrunk to stay out of the way. Measured note: .quick-services carries transform:
 * scale(0.9) on small screens, so it actually paints at ~40x40 there - the whole ring
 * scales together. That is still comfortably over the 24x24 that 2.5.8 asks at AA.
 * ------------------------------------------------------------------ */
.quick-services.hero-motion-paused .glass-box,
.quick-services.hero-motion-paused .hero-service-pill {
    animation-play-state: paused !important;
}

.hero-motion-toggle {
    /* Centred inside the ring, over the image carousel. The carousel rotates through three
       photographs, so the colour behind this button is not knowable in advance - which would
       normally make a 3:1 boundary (1.4.11) impossible to guarantee.

       This used to be solved with `box-shadow: 0 0 0 3px #fff`, a white band painted just
       outside the border. It worked, but on a slide with a photograph that band reads as a
       white halo around the button - the department reported it as extra space, and it is
       invisible on a white background, so it only ever showed on some machines.

       The 2px border below does the same job without the halo: the border has this button's
       own white fill on its inside, so var(--nav-bg) on #fff = 8.4:1 is measured against
       something the page controls, not against whatever photograph happens to be showing.
       Do not thin it back to 1px - at 1px over a busy photo the edge stops reading. */
    /* Centred on the ring of service tiles. This used to be a real correction: the tiles sat
       at fixed pixel offsets with half a 90px tile subtracted, so the longer right-hand
       labels pushed the painted composition off the box centre — measured at 32-35px adrift
       at 320-400px. The ring is now a percentage circle whose tiles are centred by transform,
       so the two centres coincide and the measured value should come back at or near 50%.

       motion-controls.js still measures rather than assuming, and that is deliberate: it is
       what keeps this correct if a label, a font or the tile clamp ever changes. Do not
       replace these with per-breakpoint pixel values. */
    position: absolute;
    top: var(--hero-toggle-y, 50%);
    left: var(--hero-toggle-x, 50%);
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    padding: 0;
    /* Flex rather than a bare line box: the glyph is then centred on the circle by layout
       instead of by the font's ascent/descent, which for these two symbol characters does
       not put the painted mark in the middle. */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 17px;
    border: 2px solid var(--nav-bg, #095a6f);
    border-radius: 50%;
    background: #fff;
    color: var(--nav-bg, #095a6f);
    cursor: pointer;
}

    /* Both marks are symbol characters whose ink does not sit in the middle of the advance
       width the font gives them, so layout alone leaves them off-centre in the circle. These
       two nudges were measured off screenshots of the painted button, not guessed: without
       them the pause bars land 0.9px left, and the play triangle 0.9px left and 1px high.

       The play mark (U+25B6) additionally needs an OPTICAL correction. It is a right-pointing
       triangle — all of its area is on the flat left edge and it tapers to a point — so even
       when its bounding box is centred it still reads as sitting left, which is what the
       department reported. It is therefore carried a little past centre, between its bounding
       box and its centroid, the usual treatment for a play mark. */
    .hero-motion-icon {
        display: inline-block;
        transform: translateX(0.05em);
    }

    .hero-motion-toggle[aria-pressed="true"] .hero-motion-icon {
        /* 0.10em, set by eye against the real button: 0.13em carried the triangle a touch
           too far right. The vertical 0.06em is the measured correction and is unchanged. */
        transform: translate(0.10em, 0.06em);
    }

    .hero-motion-toggle:hover {
        background: var(--nav-bg, #095a6f);
        color: #fff;
    }

    /* The ring is a busy, light area; a plain outline can be lost in it, so the indicator
       is drawn just outside the button where the panel behind is flat. */
    .hero-motion-toggle:focus-visible,
    .hero-motion-toggle:focus {
        outline: 3px solid var(--nav-bg, #095a6f);
        outline-offset: 2px;
    }
