/*
Theme Name: Clearpath ROBS
Theme URI: 
Author: Bizango
Author URI: 
Description: A custom theme, based on a custom design, for Clearpath ROBS Solutions
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clearpath-robs
Tags: 
*/
:root {
    --nav-width: 164px;
    --grid-margin: calc((100vw - var(--nav-width) - var(--wp--style--global--content-size) - (var(--wp--preset--spacing--x-small) * 2)) / 2);
}
.is-layout-constrained > .alignwide {
    width: 100%; /* this should prevent columns and other blocks from squishing */
}
/* Typography */
.has-h-1-style-font-size {
    line-height: var(--wp--custom--line-height--h-1);
}
.has-h-2-style-font-size {
    line-height: var(--wp--custom--line-height--h-2);
}
.has-h-3-style-font-size {
    line-height: var(--wp--custom--line-height--h-3);
}
.has-h-4-style-font-size {
    line-height: var(--wp--custom--line-height--h-4);
}
.has-h-5-style-font-size {
    line-height: var(--wp--custom--line-height--h-5);
}
.has-h-6-style-font-size {
    line-height: var(--wp--custom--line-height--h-6);
}
.has-p-style-font-size {
    line-height: var(--wp--custom--line-height--body);
}

/* Fixed menu left */
.clearpath-sidebar-header {
    box-shadow: 5px 0 10px 0 rgba(0, 0, 0, 0.50);
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: var(--nav-width);
    z-index: 100;
    
    /* Layout fix: ensure content inside stacks vertically */
    /* display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0; */
}
.clearpath-sidebar-header .wp-block-site-logo {
    opacity: 1;
    transition: opacity 0.25s linear;
}
body.slide-active-1 .clearpath-sidebar-header .wp-block-site-logo,
body.slide-active-1 .clearpath-sidebar-header .mini-animated-logo-wrapper {
    opacity: 0;
}
.clearpath-sidebar-header .wp-block-navigation-is-layout-flex {
    justify-content: center;
}
.clearpath-sidebar-header .wp-block-site-logo {
    text-align: center;
}
.clearpath-sidebar-header .wp-block-pages-list__item a:hover {
    color: var(--wp--preset--color--secondary);
    text-decoration: underline;
}
.clearpath-sidebar-header .wp-block-pages-list__item .wp-block-pages-list__item a {
    font-size: var(--wp--preset--font-size--h-4-style) !important;
}
.clearpath-sidebar-header .wp-block-pages-list__item .wp-block-pages-list__item a:hover {
    text-decoration: none;
}
body.home .clearpath-sidebar-header .wp-block-pages-list__item.menu-item-home {
    display: none !important;
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open {
    box-sizing: border-box;
    height: 100vh;
    justify-content: flex-end;
    justify-content: safe flex-end; /* Safely falls back to flex-start if content overflows 100vh */   
    left: var(--nav-width);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: clamp(20px, 8.789vh, 90px);
    padding-left: 12.5%;
    padding-right: 6.25%;
    position: fixed !important;
    top: 0;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: calc(100vw - var(--nav-width));
    z-index: 90; 
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open.has-modal-open {
    transform: translateY(0);
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog .wp-block-navigation__container,
.clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog .wp-block-navigation__container > .wp-block-group {
    width: 100%;
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog .wp-block-navigation > .wp-block-group > .wp-block-group {
    align-items: flex-end;
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog .wp-block-navigation > .wp-block-group > .wp-block-group > .wp-block-group {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 18px;
    padding-left: 100px;
    padding-top: 18px;
}
.wp-site-blocks > main, 
.wp-site-blocks > .entry-content,
.wp-site-blocks > footer {
    margin-left: var(--nav-width);
    width: calc(100% - var(--nav-width));
}
.wp-site-blocks > footer {
    margin-top: 0;
}
body.full-page-slider .wp-site-blocks > footer > *.has-background { /* this last selector excludes the floating cta which is included in the footer */
    display: none;
}
@media (max-width: 1023px) {

    .clearpath-sidebar-header {
        display: flex;
        height: auto;
        justify-content: space-between;
        padding: 20px !important;
        position: relative;
        width: 100%;
    }
    .wp-site-blocks > main, 
    .wp-site-blocks > .entry-content,
    .wp-site-blocks > footer {
        margin-left: 0;
        width: 100%;
    }
    .clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open {
        height: auto;
        justify-content: flex-start;
        left: 0;
        padding: 40px 20px;
        top: 96px;
        width: 100%;
    }
    .clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        padding-top: 0;
    }
    .has-modal-open .admin-bar .clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
        margin-top: 0;
    }
    body.logged-in .clearpath-sidebar-header .wp-block-navigation__responsive-container.is-menu-open {
        top: 128px;
    }

}

/* Replace the Hamburger Icon */
.clearpath-sidebar-header .wp-block-navigation__responsive-container-open svg {
    display: none;
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container-open {
    background-color: var(--wp--preset--color--secondary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41' height='24' viewBox='0 0 41 24' fill='none'%3E%3Crect width='41' height='4' rx='2' fill='%23000000'/%3E%3Crect y='10' width='41' height='4' rx='2' fill='%23000000'/%3E%3Crect y='20' width='41' height='4' rx='2' fill='%23000000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41' height='24' viewBox='0 0 41 24' fill='none'%3E%3Crect width='41' height='4' rx='2' fill='%23000000'/%3E%3Crect y='10' width='41' height='4' rx='2' fill='%23000000'/%3E%3Crect y='20' width='41' height='4' rx='2' fill='%23000000'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 41px;
    height: 24px;
}
html.has-modal-open .clearpath-sidebar-header .wp-block-navigation__responsive-container-open {
    display: none;
}
/* Replace the Close (X) Icon */
.clearpath-sidebar-header .wp-block-navigation__responsive-container-close svg {
    display: none;
}
.clearpath-sidebar-header .wp-block-navigation__responsive-container-close {
    background-color: var(--wp--preset--color--secondary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Crect y='29' width='41' height='4' rx='2' transform='rotate(-45 0 29)' fill='%235E97FF'/%3E%3Crect x='3' width='41' height='4' rx='2' transform='rotate(45 3 0)' fill='%235E97FF'/%3E%3C/svg%3E");;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Crect y='29' width='41' height='4' rx='2' transform='rotate(-45 0 29)' fill='%235E97FF'/%3E%3Crect x='3' width='41' height='4' rx='2' transform='rotate(45 3 0)' fill='%235E97FF'/%3E%3C/svg%3E");;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: static;
    width: 32px;
    height: 32px;
}
html:not(.has-modal-open) .clearpath-sidebar-header .wp-block-navigation__responsive-container-close {
    display: none;
}

/* Eyebrow Header for Paragraphs and Headings */
.is-style-clearpath-eyebrow {
    color: var(--wp--preset--color--secondary) !important;
    font-size: var(--wp--preset--font-size--h-6-style) !important;
    font-weight: var(--wp--custom--typography--h-6--font-weight) !important;
    letter-spacing: var(--wp--custom--typography--h-6--letter-spacing) !important;
    text-transform: var(--wp--custom--typography--h-6--text-transform) !important;
    
    /* Eyebrow-specific layout logic only */
    /* display: block;
    margin-bottom: 1rem; */
}
/* Optional: If it's a heading, remove the default bolding or adjustments */
/* h1.is-style-clearpath-eyebrow, 
h2.is-style-clearpath-eyebrow, 
h3.is-style-clearpath-eyebrow {
    margin-top: 0;
} */

/* Read More Button */
.is-style-clearpath-read-more-button .wp-block-button__link {
    /* Reset Button Styles */
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    line-height: inherit;
    transition: opacity 0.2s ease-in-out;
    
    color: var(--wp--preset--color--secondary) !important;
    font-size: var(--wp--preset--font-size--h-6-style) !important;
    font-weight: var(--wp--custom--typography--h-6--font-weight) !important;
    letter-spacing: var(--wp--custom--typography--h-6--letter-spacing) !important;
    text-transform: var(--wp--custom--typography--h-6--text-transform) !important;

}
.is-style-clearpath-read-more-button .wp-block-button__link:hover {
    background-color: transparent !important;
    opacity: 0.7;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Arrow Button */
.is-style-clearpath-arrow-button .wp-block-button__link {
    background-color: transparent !important;
    background-image: url('./assets/images/service-slider-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    border-radius: 0;
    height: 37px;
    padding: 0;
    text-indent: -9999px; /* Hides any text the user might accidentally type */
    overflow: hidden;
    width: 37px;
}
.is-style-clearpath-arrow-button .wp-block-button__link:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease-in-out;
    background-color: transparent !important;
}

/* Sliders */
.is-style-clearpath-services-slider .wp-block-group__inner-container,
.is-style-clearpath-case-studies-slider .wp-block-group__inner-container {
    display: flex;
    transition: transform 0.3s ease;
}
.is-style-clearpath-services-slider .clearpath-slide,
.is-style-clearpath-case-studies-slider .clearpath-slide {
    flex: 0 0 100%;
    max-width: 100%;
}
.is-style-clearpath-services-slider .splide__pagination,
.is-style-clearpath-case-studies-slider .splide__pagination {
    display: none;
}
.is-style-clearpath-services-slider .splide__arrow,
.is-style-clearpath-case-studies-slider .splide__arrow {
    background-color: var(--wp--preset--color--secondary);
    height: 49px;
    width: 49px;
}
.is-style-clearpath-services-slider .splide__arrow svg,
.is-style-clearpath-case-studies-slider .splide__arrow svg {
    fill: var(--wp--preset--color--white);
    transform: scale(2);
    transform-origin: center;
}
.is-style-clearpath-services-slider .splide__arrow svg path,
.is-style-clearpath-case-studies-slider .splide__arrow svg path {
    transform: translate(7.5px, 12.5px);
    transform-box: fill-box;
    transform-origin: center;
}
.is-style-clearpath-services-slider .splide__arrow.splide__arrow--prev,
.is-style-clearpath-case-studies-slider .splide__arrow.splide__arrow--prev {
    display: none !important;
}

/* Services slider */
.is-style-clearpath-services-slider {
    overflow: hidden;
}
.is-style-clearpath-services-slider .splide__list > .wp-block-group > .wp-block-cover {
    min-height: 100% !important;
    /* This tells the browser to track the container's dimensions (for hover transform) */
    container-type: size; 
}
.is-style-clearpath-services-slider .wp-block-cover {
    padding: 40px 36px;
}

/* Case studies slider */
.is-style-clearpath-case-studies-slider .splide__slide.is-active::before {
    background-color: #DBE1ED;
    bottom: 0;
    content: '';
    position: absolute;
    right: -50px;
    top: 0;
    width: 1px;
}
.is-style-clearpath-case-studies-slider .splide__arrow.splide__arrow--next {
    right: -7.1429%;
}
@media only screen and (max-width: 781px) {
    
    .is-style-clearpath-case-studies-slider .splide__arrow.splide__arrow--next {
        right: -20px;
    }
}

/* Column dividers */
.is-style-clearpath-divided-columns > .wp-block-column:not(:first-child) {
    border-left: 1px solid #e2e8f0; /* Match your image's light grey */
    padding-left: var(--wp--style--block-gap); /* Uses the gap defined in editor */
}
@media (max-width: 781px) {
    .is-style-clearpath-divided-columns > .wp-block-column:not(:first-child) {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-left: 0;
        padding-top: var(--wp--style--block-gap);
        margin-top: var(--wp--style--block-gap);
    }
}

/* Row dividers */
.is-style-clearpath-divided-row {
    gap: var(--wp--style--block-gap) !important; /* Ensure consistent spacing */
}
.is-style-clearpath-divided-row > * {
    padding-bottom: 12px;
    padding-top: 12px;
}
.is-style-clearpath-divided-row > *:not(:first-child) {
    border-left: 1px solid #DBE1ED;
    padding-left: var(--wp--style--block-gap);
}
@media (max-width: 781px) {

    .is-style-clearpath-divided-row {
        flex-direction: column;
    }
    .is-style-clearpath-divided-row > *:not(:first-child) {
        border-left: none;
        border-top: 1px solid #DBE1ED;
        padding-left: 0;
        padding-top: var(--wp--style--block-gap);
        margin-top: 0; 
    }
}

/* Step accordion */
.entry-content,
.has-step-counter {
    counter-reset: step-counter;
}
.is-style-clearpath-step-accordion {
    border-bottom: 1px solid rgba(34, 56, 96, 0.3);
    counter-increment: step-counter;
}
.is-style-clearpath-step-accordion summary {
    display: flex;
    flex-direction: column;
    list-style: none; /* Hides the default arrow */
    cursor: pointer;
    padding: 1rem 40px 1rem 0;
    position: relative;
}
.is-style-clearpath-step-accordion summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10' fill='none'%3E%3Cpath d='M13.392 0.468555L8.004 6.13286L2.60804 0.468555C2.00849 -0.156185 1.04921 -0.156185 0.449663 0.468555C-0.149888 1.09329 -0.149888 2.10954 0.449663 2.74261L6.91681 9.53144C7.51636 10.1562 8.47564 10.1562 9.07519 9.53144L15.5503 2.74261C16.1499 2.10954 16.1499 1.09329 15.5503 0.468555C14.9508 -0.156185 13.9915 -0.156185 13.392 0.468555Z' fill='%23223860'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* Perfectly center vertically */
    width: 16px;
    transition: transform 0.3s ease-in-out;
}
.is-style-clearpath-step-accordion[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}
.is-style-clearpath-step-accordion summary::-webkit-details-marker {
    display: none;
}
.is-style-clearpath-step-accordion summary::before {
    color: var(--wp--preset--color--secondary) !important;
    content: "STEP " counter(step-counter); 
    display: block;
    font-size: var(--wp--preset--font-size--h-6-style) !important;
    font-weight: var(--wp--custom--typography--h-6--font-weight) !important;
    letter-spacing: var(--wp--custom--typography--h-6--letter-spacing) !important;
    text-transform: var(--wp--custom--typography--h-6--text-transform) !important;
}
.is-style-clearpath-step-accordion summary {
    list-style: none; /* Hide default arrow */
    font-size: var(--wp--preset--font-size--h-4-style) !important;
}
.is-style-clearpath-step-accordion::details-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}
.is-style-clearpath-step-accordion[open]::details-content {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion with custom caret */
.is-style-with-caret summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Keeps icon aligned with the first line of text */
    list-style: none;
    cursor: pointer;
}
.is-style-with-caret summary::-webkit-details-marker {
    display: none;
}
.is-style-with-caret summary::after {
    background-color: currentColor;
    content: "";
    /* Using a mask stencil to capture currentColor for caret */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M21.1503 0.710166L12.641 9.29529L4.11897 0.710166C3.17208 -0.236722 1.65705 -0.236722 0.710166 0.710166C-0.236722 1.65705 -0.236722 3.19733 0.710166 4.15684L10.9239 14.4464C11.8708 15.3932 13.3858 15.3932 14.3327 14.4464L24.5591 4.15684C25.506 3.19733 25.506 1.65705 24.5591 0.710166C23.6122 -0.236722 22.0972 -0.236722 21.1503 0.710166Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M21.1503 0.710166L12.641 9.29529L4.11897 0.710166C3.17208 -0.236722 1.65705 -0.236722 0.710166 0.710166C-0.236722 1.65705 -0.236722 3.19733 0.710166 4.15684L10.9239 14.4464C11.8708 15.3932 13.3858 15.3932 14.3327 14.4464L24.5591 4.15684C25.506 3.19733 25.506 1.65705 24.5591 0.710166C23.6122 -0.236722 22.0972 -0.236722 21.1503 0.710166Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
    height: 16px;
    margin-top: 0.4rem;
    margin-left: 1.5rem;
    margin-right: 3.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 26px;
}
.is-style-with-caret[open] summary::after {
    transform: rotate(180deg);
}
.is-style-with-caret::details-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}
.is-style-with-caret[open]::details-content {
    opacity: 1;
    transform: translateY(0);
}

/* Style: Align Left to Content */
/* Use this on the LEFT column to push it away from the sidebar */
.is-style-align-content-left {
    margin-left: clamp(0px, var(--grid-margin), calc((1440px - 1116px) / 2)) !important;
    /* flex-grow: 0 !important;
    flex-basis: calc(var(--content-width) / 2) !important; */
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

/* Style: Align Right to Content */
/* Use this on the RIGHT column if you want IT to align while the left bleeds */
.is-style-align-content-right {
    margin-right:  clamp(0px, var(--grid-margin), calc((1440px - 1116px) / 2)) !important;
    /* flex-grow: 0 !important;
    flex-basis: calc(var(--content-width) / 2) !important; */
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

.wp-block-columns:has(.is-style-align-content-left, .is-style-align-content-right) .wp-block-column.is-vertically-aligned-stretch .wp-block-cover.has-aspect-ratio {
    max-width: 100%;
    min-height: 100% !important;
}

/* Responsive Reset */
/* @media (max-width: 1280px) {
    .is-style-align-content-left,
    .is-style-align-content-right {
        margin-left: 0;
        margin-right: 0;
    }
} */



/* Full page slider */
@media (min-width: 1280px) and (max-aspect-ratio: 16/9) {

    /* Ensure the parent takes up the whole view and hides overflow */
    body.is-frontend .is-style-full-page-slider {
        position: fixed;
        top: 0;
        left: 164px; /* Your sidebar width */
        width: calc(100vw - 164px);
        height: 100vh;
        overflow: hidden;
    }
    /* Ensure each nested group is exactly one screen tall */
    body.is-frontend .is-style-full-page-slider > .wp-block-group {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        position: absolute;
        width: 100%;
        height: 100vh;
        left: 0;
        right: 0;
        top: 0;
        /* Sections start off-screen below, except the first one */
        transform: translateY(100%);
    }
    body.is-frontend .is-style-full-page-slider > .wp-block-group > * {
        width: 100%;
    }
    body.is-frontend .is-style-full-page-slider > .wp-block-group:first-child {
        transform: translateY(0%);
    }
    body.is-frontend .is-style-full-page-slider > .wp-block-group:not(.has-background) {
        background-color: var(--wp--preset--color--white);
    }
}
.slider-dots-container {
    position: fixed;
    left: calc(var(--nav-width) / 2);
    bottom: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.slider-dots-container::before {
    color: #FFF;
    content: attr(data-active-slide); /* Display the value of data-active-slide */
    font-size: 10px;
    font-weight: 600;
    left: 50%;
    line-height: 200%;
    pointer-events: none;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: -35vh;
    transform: translateX(-50%);
}
.slider-dots-container::after {
    background-color: #FFF;
    bottom: calc(100% + 10px);
    content: '';
    left: 50%;
    opacity: 0.3;
    position: absolute;
    top: calc(-35vh + 20px);
    transform: translateX(-50%);
    width: 1px;
}
.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: var(--wp--preset--color--secondary);
    transition: all 0.3s ease;
    padding: 0;
}
.slider-dot.is-active {
    background: var(--wp--preset--color--white);
    transform: scale(1.4);
}

/* Style: Add marker icon to paragrpah */
.is-style-location-marker {
    padding-left: calc(14px + 0.4em);
    position: relative;
}
.is-style-location-marker::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='20' viewBox='0 0 14 20' fill='none'%3E%3Cpath d='M7 0C3.13333 0 0 3.13333 0 7C0 8.51111 0.488889 10.2444 1.31111 11.4L7 20L12.6889 11.4C13.5111 10.2444 14 8.53333 14 7C14 3.13333 10.8667 0 7 0ZM7 9.66667C5.53333 9.66667 4.33333 8.46667 4.33333 7C4.33333 5.53333 5.53333 4.33333 7 4.33333C8.46667 4.33333 9.66667 5.53333 9.66667 7C9.66667 8.46667 8.46667 9.66667 7 9.66667Z' fill='%235E97FF'/%3E%3C/svg%3E");
    display: inline-block;
    left: 0;
    position: absolute;
    top: 0;
}

.clearpath-card-reveal {
}
.clearpath-card-reveal::before {
    content: '';
    inset: 0;
    position: absolute;
    background: linear-gradient(0deg, rgba(34, 56, 96, 0.90) 0%, rgba(34, 56, 96, 0.90) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}
.clearpath-card-reveal__content {
    position: relative;
    z-index: 2;
}
.clearpath-card-reveal__visible-content {
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.clearpath-card-reveal__hidden-content {
    bottom: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.clearpath-card-reveal:hover::before,
.clearpath-card-reveal:focus-within::before {
    opacity: 1;
}
.clearpath-card-reveal:hover .clearpath-card-reveal__visible-content,
.clearpath-card-reveal:focus-within .clearpath-card-reveal__visible-content {
    transform: translateY(calc(-100cqh + 100%)); 
}
.clearpath-card-reveal:hover .clearpath-card-reveal__hidden-content,
.clearpath-card-reveal:focus-within .clearpath-card-reveal__hidden-content {
    opacity: 1;
}

/* Testimonial Slider */
.is-style-clearpath-testimonials-slider {
}
.is-style-clearpath-testimonials-slider .splide {
    margin-bottom: 32px;
}
.is-style-clearpath-testimonials-slider .splide__pagination {
    bottom: -32px;
}
.is-style-clearpath-testimonials-slider .splide__pagination__page {
    background: var(--wp--preset--color--white);
    opacity: 1;
}
.is-style-clearpath-testimonials-slider .splide__pagination__page.is-active {
    background: var(--wp--preset--color--secondary);
    transform: scale(1);
}

/* Background Arrows */
.is-style-clearpath-background-arrow-design {
    overflow: clip;
    position: relative;
}
.is-style-clearpath-background-arrow-design::before {
    bottom: -200px;
    content: url("data:image/svg+xml,%3Csvg width='985' height='1040' viewBox='0 0 985 1040' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.3'%3E%3Cpath d='M442.346 347.687L433.652 339.828C407.97 359.835 373.981 389.934 340.819 432.325C310.405 471.215 291.618 506.467 290.607 505.857C289.56 505.227 307.76 467.004 336.226 428.1C367.848 384.88 401.944 354.782 428.08 334.927C425.591 332.401 423.116 329.873 420.627 327.347C429.153 325.79 437.679 324.233 446.205 322.677L442.339 347.681L442.346 347.687Z' fill='%23D9D9D9'/%3E%3Cpath d='M699.012 199.985C706.708 203.459 714.398 206.941 722.094 210.415C716.413 215.825 710.739 221.24 705.065 226.642C704.252 223.295 703.445 219.94 702.632 216.592C662.572 223.604 616.599 235.415 567.693 255.368C550.653 262.318 534.703 269.67 519.839 277.189C574.649 242.573 637.87 222.547 700.75 208.728C700.173 205.807 699.588 202.893 699.018 199.978L699.012 199.985Z' fill='%23D9D9D9'/%3E%3Cpath d='M249.354 591.717C251.075 602.472 252.789 613.221 254.51 623.976C251.21 622.952 247.925 621.928 244.626 620.904C240.37 634.897 236.317 650.145 232.761 666.578C228.978 684.042 226.253 700.522 224.298 715.811L216.698 793.778C212.833 749.878 219.058 703.11 227.708 659.9C230.589 645.508 237.989 618.675 237.989 618.675L228.068 615.45C235.163 607.534 242.259 599.619 249.354 591.717Z' fill='%23D9D9D9'/%3E%3Cpath d='M944.51 220.827C945.495 216.956 946.466 213.086 947.451 209.216C952.104 215.306 956.757 221.397 961.416 227.481L942.459 239.012C942.96 234.842 943.461 230.671 943.963 226.501C934.848 224.146 922.614 221.224 908.028 218.41C889.82 214.901 876.12 213.136 863.42 211.528C829.184 207.189 796.482 204.884 796.048 204.844C845.546 200.651 896.616 207.724 944.53 220.819L944.51 220.827Z' fill='%23D9D9D9'/%3E%3Cpath d='M224.64 883.755C229.21 891.302 233.787 898.856 238.356 906.403C235.666 906.812 232.976 907.221 230.286 907.63C237.082 938.148 244.294 962.299 249.648 978.769C251.622 984.822 252.97 988.877 270.797 1039.33C270.797 1039.33 270.782 1039.32 270.766 1039.27C269.466 1036.48 254.622 1004.73 245.431 980.132C235.841 954.454 229.524 928.407 225.564 908.943C223.013 909.947 220.462 910.95 217.91 911.953C220.151 902.547 222.391 893.14 224.64 883.741L224.64 883.755Z' fill='%23D9D9D9'/%3E%3C/g%3E%3C/svg%3E%0A");
    position: absolute;
    right: -200px;
    z-index: -1;
}

/* Hard-line, mobile-friendly gradient */
.clearpath-team-gradient {
    /* Fallback values in case JS hasn't run yet */
    --gradient-stop: 210px; 
    --gradient-stop-fade: calc(var(--gradient-stop) + 1px);

    background: linear-gradient(
        180deg, 
        rgb(34, 56, 96) var(--gradient-stop), 
        rgba(7, 146, 227, 0) var(--gradient-stop-fade)
    );
}

/* Responsive min-height: 100vh */
.clearpath-responsive-min-height-100 {
    aspect-ratio: 487/768;
}
@media only screen and (min-width: 782px) {

    .clearpath-responsive-min-height-100 {
        aspect-ratio: unset;
        min-height: 100vh;
    }
}

/* Hide home screen hero logo */
@media only screen and (max-width: 781px) {
    
    .animated-logo-wrapper {
        visibility: hidden;
    }
}

/* "large desktop" size in block visibility */
@media only screen and (max-width: 1079px) {

    .mini-animated-logo-wrapper {
        display: none;
    }
}

/* Bizango footer */
#bizango {
    display: block;
    font-size: 10px;
    height: 12px;
    margin: 40px auto 25px;
    padding-bottom: 30px;
    text-align: center;
    width: 80px;
}
#bizango img {
    display: block;
    margin: 5px auto 0 auto;
    max-width: 100%;
    opacity: 0.5;
}

.clearpath-animated-arrows-overlay .wp-block-cover__inner-container::before {
    background-image: url('./assets/images/arrows-overlay.svg');
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;
    content: '';
    height: 100vh;
    position: absolute;
    right: 0;
    transform: translate(20%, 0);
    width: 100vh
}
@media only screen and (min-width: 1024px) {
    /* Animated arrows overlay on cover block */
    .clearpath-animated-arrows-overlay .wp-block-cover__inner-container::before {
        animation: spinAround 24s linear infinite;
        background-image: url('./assets/images/full-circle-arrows.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        bottom: -30%;
        content: '';
        height: 100vh;
        position: absolute;
        right: -30%;
        transform-origin: center;
        width: 100vh;
    }
    @keyframes spinAround {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }
}

/* FLOATING CTA */
.floating-cta {   
    position: fixed;
    right: 0;
    z-index: 101;
}
.floating-cta .wp-block-button__link {
    font-weight: 500;
}

/* HUBSPOT FORM */
.clearpath-form {
}
.clearpath-form #crmWebToEntityForm.zcwf_lblLeft {
    padding: 25px 0;
}
.clearpath-form .zcwf_title {
    display: none;
}
.clearpath-form label {
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--p-style);
    font-weight: var(--wp--custom--font-weight--regular);
}
.clearpath-form .zcwf_lblLeft .zcwf_col_fld input[type=text], input[type=password], 
.clearpath-form .zcwf_lblLeft .zcwf_col_fld textarea {
    width: 100%;
    padding: 6px;
    font-size: var(--wp--preset--font-size--p-style);
}
.clearpath-form .zcwf_lblLeft .zcwf_button,
.clearpath-form .formsubmit.zcwf_button {
    border-radius: 0px;
    border-width: 0;
    font-family: inherit;
    font-size: var(--wp--preset--font-size--h-6-style);
    font-style: inherit;
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: var(--wp--custom--line-height--one);
    padding-top: 15px;
    padding-right: 20px;
    padding-bottom: 15px;
    padding-left: 20px;
    text-decoration: none;
    text-transform: uppercase;
}
.clearpath-form .zcwf_lblLeft .zcwf_button {
    color: var(--wp--preset--color--secondary);
}
.clearpath-form .formsubmit.zcwf_button {
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--white);
}