/* Text Styles */
html, body {
    overflow-x: hidden;
}

body {
    font-size: 1.125rem;
}

.wp-block-paragraph.is-style-strapline {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family--helvetica-neue);
    letter-spacing: -2%;
    line-height: 1;
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.wp-block-paragraph.is-style-strapline::before {
    content: "";
    display: inline-block;
    height: 2px;
    width: 37px;
    background: var(--wp--preset--color--primary);
    margin-right: 1em;
}

.has-primary-background-color .wp-block-paragraph.is-style-strapline::before {
    background: white;
}

.wp-block-paragraph.is-style-strapline + h1.wp-block-heading,
.wp-block-paragraph.is-style-strapline + h2.wp-block-heading
{
    margin-block-start: 1rem;
}

h1.wp-block-heading.has-large-font-size { font-size: 3.125rem !important; }

@media all and (min-width: 768px) {

    p.wp-block-paragraph.is-style-strapline {
        font-size: 0.875rem;
        letter-spacing: 0;
    }

    h1.wp-block-heading { font-size: 5rem; }
    h1.wp-block-heading.has-large-font-size { font-size: 6.875rem !important; }

    h2.wp-block-heading {
        font-size: 3.4375rem;
    }

    h3.wp-block-heading {
        font-size: 1.875rem;
    }

    h4.wp-block-heading {
        font-size: 1.5625rem;
    }

    :root {
        --wp--preset--font-size--small: 1rem !important;
    }
}

.wp-block-image img {
    width: 100%;
    object-fit: contain;
}

/* 404 style */

.pnf-background {}
.pnf-background .wp-block-cover__image-background {
    object-fit: contain;
    max-width: 1096px;
    margin: 0 auto;
}

/* Top Banner */

.wp-block-top-banner {
    position: relative;
}

.wp-block-top-banner .wp-block-top-banner__background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.wp-block-top-banner .wp-block-top-banner__background-image::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: #000000;
    z-index: 2;
    opacity: .23;
}

.wp-block-top-banner .wp-block-top-banner__background-image::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(270deg,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 3;
    mix-blend-mode: multiply;
    opacity: 1;
}

.wp-block-top-banner .wp-block-top-banner__background-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.wp-block-top-banner .wp-block-top-banner__inner {
    /*grid-template-columns: min-content;*/
    position: relative;
    z-index: 4;
    padding-top: 3.6875rem;
    padding-bottom: 5.5625rem;
    color: #fff;
    display: grid;
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
}

.wp-block-top-banner .wp-block-top-banner__inner > * {
    max-width: 520px;
    margin: 0;
}

.wp-block-top-banner .wp-block-top-banner__inner p {
    font-size: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    white-space: normal;
}

.wp-block-top-banner .wp-block-breadcrumbs {
    margin-bottom: .25rem;
}

.wp-block-top-banner .wp-block-breadcrumbs li span,
.wp-block-top-banner .wp-block-breadcrumbs li a {
    font-size: 0.625rem;
}

.wp-block-top-banner .wp-block-breadcrumbs a {
    text-decoration: none;
}

@media all and (min-width: 768px) {

    .wp-block-top-banner .wp-block-breadcrumbs {
        margin-bottom: 2rem;
    }

    .wp-block-top-banner .wp-block-breadcrumbs li span,
    .wp-block-top-banner .wp-block-breadcrumbs li a {
        font-size: 0.875rem;
    }

    .wp-block-top-banner .wp-block-top-banner__inner p {
        font-size: 1.375rem;
    }

}

@media all and (min-width: 1024px) {


    .wp-block-top-banner .wp-block-top-banner__inner {
        /*grid-template-columns: min-content;*/
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    .wp-block-top-banner .wp-block-top-banner__inner > * {
        /*max-width: none;*/
    }

    .wp-block-top-banner .wp-block-breadcrumbs {
        margin-bottom: 2rem;
    }

    .wp-block-top-banner .wp-block-top-banner__inner h1.wp-block-heading { white-space: nowrap; }

}

/* Buttons */

.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem; /* Distance between text and arrow */
}

.wp-block-button__link .wp-button-arrow {
    width: 6px;
    height: 9px;
    flex-shrink: 0;
    transition: transform 0.2s ease; /* Optional hover animation */
}

/* Optional: Slide arrow slightly on hover */
.wp-block-button__link:hover .wp-button-arrow {
    transform: translateX(3px);
}

@media all and (min-width: 768px) {

    .wp-block-button__link {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

}

/* Image Corners */

.wp-block-image.is-style-red-corners {
    position: relative;
}
.wp-block-image.is-style-red-corners::before,
.wp-block-image.is-style-red-corners::after
{
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #e10613;
    border-left: 2px solid #e10613;
}

.wp-block-image.is-style-red-corners::after {
    top: auto;
    bottom: -2px;
    left: auto;
    right: -2px;
    transform: rotate(180deg);
}

/* Media Text */

.wp-block-media-text.is-stacked-on-mobile {
    gap: 4.375rem;
}

.wp-block-media-text > .wp-block-media-text__content {
    padding: 0 !important;
}

@media (max-width: 600px) {
    .mlrg-reverse-mobile.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
        margin: 0 !important;
    }
}

/* Stats Columns */

@media all and (min-width: 782px) {
    .wp-block-columns.mlrg-reverse-mobile {
        gap: 24px 2rem;
    }
}

@media all and (min-width: 1280px) {
    .wp-block-columns.mlrg-reverse-mobile {
        gap: 24px 6rem;
    }
}

@media all and (min-width: 1600px) {
    .wp-block-columns.mlrg-reverse-mobile {
        gap: 24px 12rem;
    }
}

.wp-block-columns.is-style-stats-columns {
    border-top: 1px solid #707070;
    padding-top: 1rem;
    position: relative;
    justify-content: space-between;
}

.wp-block-columns.is-style-stats-columns::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 3px solid #e10613;
    border-left: 3px solid #e10613;
}

.wp-block-columns.is-style-stats-columns .wp-block-column {
    flex: 0 1 auto !important;
}

.wp-block-columns.is-style-stats-columns .wp-block-column p.has-x-large-font-size {
    margin-bottom: .5rem;
}

.wp-block-columns.is-style-stats-columns .wp-block-column p {
    line-height: 1;
}

@media all and (min-width: 1024px) {

    .wp-block-columns.is-style-stats-columns .wp-block-column p.has-x-large-font-size {
        font-size: 3.75rem !important;
    }

}

/* Carousel */

.wp-block-carousel {
}

.wp-block-carousel__slider {
    display: flex;
    overflow: hidden;
    gap: 1.5rem;
    width: 100%;
}

.wp-block-carousel__slider.slick-initialized {
    flex-direction: column;
    overflow: visible;
}

.wp-block-carousel__slider .slick-dots {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.75rem;
}

.wp-block-carousel__slider .slick-dots li button {
    background: black;
    border: 0;
    width: 36px;
    height: 6px;
    font-size: 0;
}

.wp-block-carousel__slider .slick-dots li.slick-active button {
    background: var(--wp--preset--color--primary);
}

/* Dark background slider dots */

.has-base-dark-background-color .wp-block-carousel__slider .slick-dots li button { background: white; }
.has-base-dark-background-color .wp-block-carousel__slider .slick-dots li.slick-active button { background: var(--wp--preset--color--primary); }

/* the slides */
.wp-block-carousel__slider .slick-slide {
    margin: 0 0.75rem;
}

/* the parent */
.wp-block-carousel__slider .slick-list {
    margin: 0 -.75rem 0 0;
    overflow: visible;
}

.wp-block-carousel__item {
    flex: 1 0 auto;
    aspect-ratio: 1;
    width: 80%;
    max-width: 290px;
    position: relative;
}

.wp-block-carousel__item-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.wp-block-carousel__item-image::before,
.wp-block-carousel__item-image::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(128, 128, 128, 1) 70%);
    mix-blend-mode: multiply;
}

.wp-block-carousel__item-image::after {
    height: 70%;
    top: auto;
}

.wp-block-carousel__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.wp-block-carousel__item-inner {
    position: relative;
    z-index: 3;
    padding: 1.25rem 3rem 1.65rem 2.25rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;

    text-decoration: none;
}

.wp-block-carousel__item-inner::after {
    content: "";
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    width: 13px;
    height: 13px;
    border-bottom: 2px solid #e10613;
    border-left: 2px solid #e10613;
}

.wp-block-carousel__item-inner h3 { margin: 0; }

.wp-block-carousel__item-inner p {
    margin: 0;
    font-size: 0.8125rem;
}

.wp-block-carousel__item-link {
    position: absolute;
    bottom: 1.5rem;
    right: 1.25rem;
    border: 1px solid white;
    border-radius: 999px;
    color: white;
    flex: 1 0 24px;
    height: 24px;
    width: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 12px;
}

.wp-block-carousel__item-link::before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="7.049" height="9.86" viewBox="0 0 7.049 9.86"><path id="Path_44927" data-name="Path 44927" d="M.573,0,0,.685,4.19,4.223,0,7.762l.573.685,5-4.224Z" transform="translate(0.702 0.707)" fill="%23fff" stroke="%23fff" stroke-width="1"/></svg>');
    position: absolute;
    left: 50%;
    top: 50%;
    color: #ffffff;
    transform: translate3d(-49%,-45%,0);
}

@media all and (min-width: 768px) {

    .wp-block-carousel__slider .slick-slide {
        margin: 0 1.25rem;
    }

    /* the parent */
    .wp-block-carousel__slider .slick-list {
        margin: 0 -1.25rem 0 0;
        overflow: visible;
    }

    .wp-block-carousel__item {
        aspect-ratio: 41/40;
        max-width: 451px;
    }

    .wp-block-carousel__item-inner p {
        font-size: 1rem;
    }

    .wp-block-carousel__item-inner {
        padding: 1.25rem 3rem 2.875rem 3rem;
    }

    .wp-block-carousel__item-inner::after {
        bottom: 1.85rem;
        left: 1.85rem;
        width: 20px;
        height: 20px;
    }

    .wp-block-carousel__item-link {
        height: 35px;
        width: 35px;
        bottom: 2.85rem;
        right: 2.25rem;
    }

    .wp-block-carousel__item-link::before {
        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="9.661" height="13.82" viewBox="0 0 9.661 13.82"><path id="Path_44927" data-name="Path 44927" d="M.842,0,0,1.006,6.154,6.2,0,11.4l.841,1.006L8.184,6.2Z" transform="translate(0.702 0.707)" fill="%23fff" stroke="%23fff" stroke-width="1"/></svg>')
    }



}

/* Box Link */

.wp-block-box-link {
    position: relative;
    max-width: 552px;
}

.wp-block-box-link::before {
    content: "";
    position: absolute;
    inset: 0; /* Cover the whole block */
    border: 1px solid currentColor;
    opacity: 0.5;
    pointer-events: none; /* Allows clicks to pass through to the link */
    border-radius: inherit; /* Matches border-radius if your block uses it */
}

.wp-block-box-link__inner {
    text-decoration: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    padding: 1.125rem 2rem;
}

.box-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: inherit;
}

.box-link-icon i,
.box-link-icon svg,
.box-link-icon .svg-inline--fa {
    font-size: 1.5rem;
    width: 1.5em;
    height: 1.5em;
    color: inherit;
    fill: currentColor;
}

.box-link-icon svg {
    display: block;
    height: auto;
}

.wp-block-box-link__arrow { margin-left: auto; }
.wp-block-box-link__content { display: flex; flex-direction: column; gap: 0; }
.wp-block-box-link__content > * { margin: 0; }

.wp-block-box-link__content p { font-size: 0.8125rem; line-height: 1.35; }
.wp-block-box-link__content p strong { font-size: 0.875rem; }

@media all and (min-width: 768px) {
    .wp-block-box-link__inner { gap: 2.625rem; padding: 1.25rem 2rem; }
    .wp-block-box-link__content p,
    .wp-block-box-link__content p strong { font-size: 1.125rem; }
}


/* Category Link */

.wp-block-category-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wp-block-category-link__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}
.wp-block-category-link__image {
    background: #F2F2F2;
    width: 100%;
    aspect-ratio: 225/172;
    padding: 1rem;
    position: relative;
}
.wp-block-category-link__image img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.wp-block-category-link__title {
    display: flex;
    font-size: 1.25rem;
    justify-content: space-between;
    font-weight: 600;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.wp-block-category-link__title i,
.wp-block-category-link__title svg {
    color: var(--wp--preset--color--primary);
    font-size: 1.75rem;
}

.wp-block-category-link__inner p {
    border-top: 1px solid #707070;
    font-size: 1rem;
    padding-top: 1rem;
    margin: 1rem 0 0;
}

@media all and (min-width: 1024px) {

    .wp-block-category-links {
        flex-direction: row;
    }

    .wp-block-category-links > * {
        flex: 1;
    }

    .wp-block-category-link__inner:first-of-type .wp-block-category-link__image::before {
        content: "";
        position: absolute;
        top: -2px;
        left: -2px;
        width: 20px;
        height: 20px;
        border-top: 2px solid #e10613;
        border-left: 2px solid #e10613;
    }

    .wp-block-category-link__inner:last-of-type .wp-block-category-link__image::before {
        content: "";
        position: absolute;
        bottom: -2px;
        right: -2px;
        width: 20px;
        height: 20px;
        border-bottom: 2px solid #e10613;
        border-right: 2px solid #e10613;
    }

}

@media all and (min-width: 1280px) {
    .wp-block-category-links {
        gap: 2.5rem;
    }
}

/* Values */

.wp-block-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wp-block-values__item {
    height: 100%;
    border: 1px solid #717171;
    padding: 2rem .85rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all .25s ease-in;
}

.wp-block-values__item h3,
.wp-block-values__item p { margin: 0; }

.wp-block-values__item h3 { margin-top: 1rem; }

.wp-block-values__item p { font-size: 0.8125rem; }

.wp-block-values__item:hover {
    background: var(--wp--preset--color--primary);
    color: white;
}

.wp-block-values__item:hover svg {
    color: var(--wp--preset--color--base-dark);
}

@media all and (min-width: 768px) {
    .wp-block-values { grid-template-columns: repeat(3, 1fr); }

    .wp-block-values__item {
        aspect-ratio: 1;
        padding-top: 2.5rem;
    }

    .wp-block-values__item h3 {
        line-height: 1;
        margin-bottom: .5rem;
    }
}

@media all and (min-width: 1024px) {
    .wp-block-values__item { padding: 3rem 1.675rem 2rem; }
    .wp-block-values__item p { font-size: 1rem; }
}

@media all and (min-width: 1280px) {
    .wp-block-values {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .wp-block-values__item {
        flex: 1;
        height: auto;
    }
}

/* WP list white bg red ticks */

.wp-block-list.is-style-white-bg-red-ticks {
    margin: 1.5rem 0 0;
    list-style: none;
    padding: 0;
}

.wp-block-list.is-style-white-bg-red-ticks li {
    background: white;
    color: var(--wp--preset--color--base-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding: .75rem 1rem .75rem 4rem;
    line-height: 1.2;
    font-weight: 600;
}

.wp-block-list.is-style-white-bg-red-ticks li::before {
    content: url('data:image/svg+xml,<svg id="Group_179" data-name="Group 179" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="26.071" height="20.183" viewBox="0 0 26.071 20.183"><g id="Group_169" data-name="Group 169"><path id="Path_210" data-name="Path 210" d="M.139,10.583,3.05,7.672a.473.473,0,0,1,.668,0l5.215,5.215a.473.473,0,0,0,.668,0L22.353.139a.473.473,0,0,1,.668,0L25.933,3.05a.473.473,0,0,1,0,.668L9.606,20.045a.473.473,0,0,1-.668,0l-8.8-8.794a.473.473,0,0,1,0-.668" transform="translate(0 0)" fill="%23e50111"/></g></svg>');
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 20px;
}

.wp-block-list.is-style-white-bg-red-ticks li::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    border-top: 2px solid #e10613;
    border-left: 2px solid #e10613;
}

/* WP list red ticks */

.wp-block-list.is-style-red-ticks {
    margin: 1.5rem 0 0;
    list-style: none;
    padding: 0;
}

.wp-block-list.is-style-red-ticks li {
    position: relative;
    padding-left: 2rem;
    line-height: 1.2;
    margin-bottom: 1.375rem;
}
.wp-block-list.is-style-red-ticks li::before {
    content: "\f058"; /* Font Awesome unicode for 'circle-check' */
    font-family: "Font Awesome 7 Free"; /* Use "Font Awesome 5 Free" if on FA5 */
    font-weight: 900; /* Required for solid icons */
    color: #e10613; /* Red color matching your image */
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

/* Locations Grid */


.wp-block-locations__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-card {}

.location-card p {
    font-size: 0.8125rem;
    margin: 0;
    padding: 0;
}

.location-card a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.location-card__title {
    font-size: 1rem;
}

@media all and (min-width: 420px) {
    .wp-block-locations__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media all and (min-width: 640px) {
    .wp-block-locations__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media all and (min-width: 960px) {
    .wp-block-locations__grid {
        grid-template-columns: repeat(4, 1fr);
        justify-content: space-between;
    }
}