@charset "UTF-8";
/**
 * SB Flexi -- shared flexible-content section module.
 *
 * Portable across all Sumobaby builds. Themed via --sb-* custom
 * properties; each theme defines those tokens (fallbacks below
 * keep it working if a token is missing).
 */

/* -- Section padding: XL (Bootstrap only ships py-0...py-5) -- */
.sb-py-xl {
    padding-top: 5rem;
    padding-bottom: 5rem;
}


/* -- Section backgrounds -- */
.sb-bg-sand  { background-color: var(--sb-sand, #E4E2DA); }
.sb-bg-teal  { background-color: var(--sb-teal, #1E5A6B); color: #fff; }
.sb-bg-green { background-color: var(--sb-green, #006600); color: #fff; }
.sb-bg-white { background-color: #fff; }

.sb-bg-teal a, .sb-bg-green a { color: #fff; text-decoration: underline; }
.sb-bg-teal h1, .sb-bg-teal h2, .sb-bg-teal h3,
.sb-bg-green h1, .sb-bg-green h2, .sb-bg-green h3 { color: #fff; }


/* -- Slick arrows (teal chevrons) -- */
.slick-prev,
.slick-next {
    width: 44px;
    height: 44px;
    z-index: 2;
}

.slick-prev::before,
.slick-next::before {
    content: '';
    display: block;
    width: 44px;
    height: 44px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 1;
    font-family: inherit;
}

.slick-prev::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5A6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'></polyline></svg>");
}

.slick-next::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5A6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'></polyline></svg>");
}

.slick-prev:hover::before,
.slick-next:hover::before {
    opacity: 0.7;
}


/* -- Carousel -- */
.sb-flexi-carousel__heading {
    margin-bottom: 1.5rem;
}

.sb-flexi-carousel__item {
    padding: 0 0.5rem;
}

.sb-flexi-carousel__item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}


/* -- Reverse columns on mobile (utility) -- */
@media (max-width: 767.98px) {
    .sb-reverse-mobile {
        flex-direction: column-reverse;
    }
}


/* -- Buttons -- */
.sb-flexi-buttons .sb-flexi-buttons__row div:first-child { margin-left: 0 !important; }
.sb-flexi-buttons .sb-flexi-buttons__row div:last-child { margin-right: 0 !important; }

.sb-flexi-buttons a {
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 1em;
    background: var(--sb-green, #006600);
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    height: 100%;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.sb-flexi-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--sb-teal, #1E5A6B);
    z-index: -1;
    transition: width 0.4s ease;
}

.sb-flexi-buttons a:hover,
.sb-flexi-buttons a:focus {
    color: #fff;
}

.sb-flexi-buttons a:hover::before,
.sb-flexi-buttons a:focus::before {
    width: 100%;
}


/* -- Call-out band -- */
.sb-flexi-callout {
    padding: 3.5rem 0;
}

.sb-flexi-callout__text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.sb-flexi-callout--teal  { background-color: var(--sb-teal, #1E5A6B); }
.sb-flexi-callout--green { background-color: var(--sb-green, #006600); }
.sb-flexi-callout--sand  { background-color: var(--sb-sand, #E4E2DA); }
.sb-flexi-callout--white { background-color: #fff; }

/* Light button -- for dark backgrounds */
.sb-flexi-callout__btn--light {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border: 3px solid #fff;
    border-radius: 0;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.sb-flexi-callout__btn--light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.4s ease;
}

.sb-flexi-callout__btn--light:hover {
    color: var(--sb-teal, #1E5A6B);
}

.sb-flexi-callout__btn--light:hover::before {
    width: 100%;
}

/* Dark button -- for light backgrounds */
.sb-flexi-callout__btn--dark {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--sb-text, #2B2F33);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border: 3px solid var(--sb-text, #2B2F33);
    border-radius: 0;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.sb-flexi-callout__btn--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--sb-text, #2B2F33);
    z-index: -1;
    transition: width 0.4s ease;
}

.sb-flexi-callout__btn--dark:hover {
    color: #fff;
}

.sb-flexi-callout__btn--dark:hover::before {
    width: 100%;
}


/* -- Video embed -- */
.sb-flexi-video__heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

.sb-flexi-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.sb-flexi-video__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sb-flexi-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.sb-flexi-video__play svg {
    display: block;
    width: 84px;
    height: auto;
}

.sb-flexi-video:hover .sb-flexi-video__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.sb-flexi-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* -- Map embed -- */
.sb-flexi:has(.sb-flexi-map) {
    padding: 0 !important;
    margin: 0;
}

.sb-flexi-map {
    width: 100%;
    overflow: hidden;
}

.sb-flexi-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* -- Grid -- */
.sb-flexi-grid__img img {
    margin-bottom: 1rem;
}


/* -- Text size (Full Width Text "Larger" option) -- */
.largertext {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    line-height: 1.6;
}


/* -- Logos strip -- */
.sb-flexi-logos__heading {
    text-align: center;
    margin-bottom: 2rem;
}

.sb-flexi-logos__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.sb-flexi-logos__item {
    display: flex;
    align-items: center;
}

.sb-flexi-logos__item img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.sb-flexi-logos__item img:hover {
    filter: grayscale(0);
    opacity: 1;
}


/* -- Stats / counters -- */
.sb-flexi-stats__heading {
    margin-bottom: 2rem;
}

.sb-flexi-stats__item {
    padding: 1rem;
}

/* Box Position -- justifies the group of boxes within the row */
.sb-flexi-stats--justify-start  .sb-flexi-stats__row { justify-content: flex-start; }
.sb-flexi-stats--justify-center .sb-flexi-stats__row { justify-content: center; }
.sb-flexi-stats--justify-end    .sb-flexi-stats__row { justify-content: flex-end; }

/* Text Alignment -- text inside each box (and the heading) */
.sb-flexi-stats--align-left   .sb-flexi-stats__heading,
.sb-flexi-stats--align-left   .sb-flexi-stats__item   { text-align: left; }
.sb-flexi-stats--align-center .sb-flexi-stats__heading,
.sb-flexi-stats--align-center .sb-flexi-stats__item   { text-align: center; }
.sb-flexi-stats--align-right  .sb-flexi-stats__heading,
.sb-flexi-stats--align-right  .sb-flexi-stats__item   { text-align: right; }

.sb-flexi-stats__value {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--sb-teal, #1E5A6B);
}

.sb-flexi-stats__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.sb-bg-teal .sb-flexi-stats__value,
.sb-bg-green .sb-flexi-stats__value {
    color: #fff;
}


/* -- Hero -- */
.sb-flexi-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    width: 100%;
}

.sb-flexi-hero--full   { min-height: 100vh; }
.sb-flexi-hero--large  { min-height: 70vh; }
.sb-flexi-hero--medium { min-height: 50vh; }

.sb-flexi-hero--colour-teal  { background-color: var(--sb-teal, #1E5A6B); }
.sb-flexi-hero--colour-green { background-color: var(--sb-green, #006600); }
.sb-flexi-hero--colour-sand  { background-color: var(--sb-sand, #E4E2DA); }

.sb-flexi-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.sb-flexi-hero__slides,
.sb-flexi-hero__slides .slick-list,
.sb-flexi-hero__slides .slick-track,
.sb-flexi-hero__slide {
    position: absolute;
    inset: 0;
    height: 100%;
}

.sb-flexi-hero__slides { width: 100%; }

.sb-flexi-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sb-flexi-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sb-flexi-hero__overlay--light  { background: rgba(0, 0, 0, 0.2); }
.sb-flexi-hero__overlay--medium { background: rgba(0, 0, 0, 0.45); }
.sb-flexi-hero__overlay--dark   { background: rgba(0, 0, 0, 0.65); }

.sb-flexi-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.sb-flexi-hero__heading {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0;
}

.sb-flexi-hero__subheading {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin: 1rem 0 0;
    text-transform: none;
}

/* Sand colour background needs dark text */
.sb-flexi-hero--colour-sand .sb-flexi-hero__heading { color: var(--sb-text, #2B2F33); }
.sb-flexi-hero--colour-sand .sb-flexi-hero__subheading { color: var(--sb-text, #2B2F33); }

/* Alignment */
.sb-flexi-hero--align-left .container   { text-align: left; }
.sb-flexi-hero--align-center .container { text-align: center; }
.sb-flexi-hero--align-right .container  { text-align: right; }

/* Buttons */
.sb-flexi-hero__buttons {
    margin-top: 1.5rem;
}

.sb-flexi-hero__btn {
    display: inline-block;
    margin: 0.3rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border: 3px solid #fff;
    border-radius: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.sb-flexi-hero__btn--solid {
    background: #fff;
    color: var(--sb-teal, #1E5A6B);
}

.sb-flexi-hero__btn--solid:hover {
    background: transparent;
    color: #fff;
}

.sb-flexi-hero__btn--outline {
    background: transparent;
    color: #fff;
}

.sb-flexi-hero__btn--outline:hover {
    background: #fff;
    color: var(--sb-teal, #1E5A6B);
}
