/* Accessibility remediation styles shared by all pages */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section headings demoted from h1 that keep their former appearance */
.as-h1 {
    font-size: 2em;
    margin: .67em 0;
    font-family: 'Playfair Display', serif !important;
}

/* Header navigation (list markup) */
.hnav {
    margin-right: 5%;
}

.hnav-list {
    display: flex;
    align-items: center;
    gap: 3.5vw;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Footer navigation (list markup) */
.flinks {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Home: capabilities grid (list markup instead of layout tables) */
.svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.svc-list li {
    display: flex;
    align-items: center;
}

.svc-text {
    text-align: left;
    font-size: 1vw;
}

/* Our Proposition: category tags (list markup) */
.tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Carousel / slideshow pause controls */
.slideshow-toggle {
    position: absolute;
    z-index: 20;
    right: 3%;
    top: 16px;
    min-width: 44px;
    min-height: 44px;
    padding: 6px 14px;
    border: 2px solid #1A042B;
    border-radius: 40px;
    background-color: #fff;
    color: #1A042B;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.slideshow-toggle:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #1A042B;
}

.carousel-indicators li button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators li button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.motion-paused .ban,
.motion-paused .ban * {
    animation-play-state: paused !important;
}

.slideshow-toggle.swiper-toggle {
    position: relative;
    display: block;
    margin: 10px auto 0;
    top: auto;
    right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .ban,
    .ban * {
        animation: none !important;
    }
}

@media (max-width: 601px) {
    .svc-list li {
        padding-bottom: 15px;
        padding-left: 6px;
        padding-right: 3px;
    }

    .svc-text {
        font-size: 3vw !important;
        padding-left: 9px;
    }

    .slideshow-toggle {
        font-size: 12px;
    }

    /* Home: keep the capabilities grid in flow so it cannot spill over
       neighbouring content when the viewport is short or zoomed */
    .vv.phone .container2 {
        height: auto;
        min-height: 65vh;
    }

    .vv.phone .bck2 {
        position: absolute;
        top: 0;
        left: 0;
        width: 95%;
        height: 100%;
        float: none;
    }

    .vv.phone .top-left {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 20px 0;
    }
}

/* Hide the decorative scroll hint where it would cover the slide text */
@media (max-height: 420px) {
    .section07 {
        display: none;
    }
}

/* About: hero box takes the image's own proportions so the image can never
   overlap the following section, and grows if the heading needs more room */
.abt-hero {
    position: relative;
    z-index: 0;
    margin-bottom: 12vw;
}

.abt-hero .abti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
    object-fit: cover;
    z-index: -1;
}

.abt-hero .h80 {
    display: flow-root;
    height: auto;
    aspect-ratio: 700 / 215;
}

@media (max-width: 601px) {
    .abt-hero {
        margin-bottom: 0;
    }

    .abt-hero .h80 {
        aspect-ratio: 700 / 396;
    }
}
