.wfg-section {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.wfg-row-layout-wrap {
    overflow: hidden;
    position: relative;
}

.wfg-row-layout-wrap > .wfg-blocks-bg-slider,
.wfg-row-layout-wrap > .wfg-blocks-bg-image {
    inset: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 0;
}

.wfg-blocks-bg-slider-init,
.wfg-blocks-bg-slider-init .splide__track,
.wfg-blocks-bg-slider-init .splide__list,
.wfg-blocks-bg-slider-init .splide__slide,
.wfg-blocks-bg-slider-init .wfg-bg-slide {
    height: 100%;
}

.wfg-blocks-bg-slider-init .splide__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wfg-blocks-bg-slider-init .splide__slide {
    inset: 0;
    margin: 0;
    position: absolute;
}

.wfg-blocks-bg-slider-init .splide__slide {
    opacity: 0;
    transition: opacity var(--wfg-slider-transition, 400ms) ease-in-out;
    visibility: hidden;
}

.wfg-blocks-bg-slider-init:not(.wfg-slider-ready) .splide__slide:first-child,
.wfg-blocks-bg-slider-init .splide__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.wfg-row-layout-wrap > .wfg-row-layout-overlay {
    inset: 0;
    position: absolute;
    z-index: 0;
}

.wfg-row-layout-wrap > .wfg-row-column-wrap {
    z-index: 1;
}

.wfg-section__inner {
    box-sizing: border-box;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr);
    min-height: inherit;
    margin-inline: auto;
    position: relative;
    width: 100%;
}

.wfg-section--columns-2 > .wfg-section__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wfg-section--columns-3 > .wfg-section__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wfg-section--columns-4 > .wfg-section__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wfg-section--columns-5 > .wfg-section__inner { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wfg-section--columns-6 > .wfg-section__inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.wfg-section--valign-middle > .wfg-section__inner {
    align-items: center;
}

.wfg-section--align-center > .wfg-section__inner {
    margin-inline: auto;
}

.has-theme-palette-1-color { color: #1e3a8a !important; }
.has-theme-palette-2-color { color: #dc2626 !important; }
.has-theme-palette-3-color { color: #000 !important; }
.has-theme-palette-4-color { color: #fff !important; }
.has-theme-palette-5-color { color: #4b5563 !important; }
.has-theme-palette-6-color { color: #f9fafb !important; }
.has-theme-palette-7-color { color: #16a34a !important; }
.has-theme-palette-8-color { color: #facc15 !important; }
.has-theme-palette-9-color { color: #fff !important; }

.has-theme-palette1-background-color,
.has-theme-palette-1-background-color { background-color: #1e3a8a !important; }
.has-theme-palette2-background-color,
.has-theme-palette-2-background-color { background-color: #dc2626 !important; }
.has-theme-palette3-background-color,
.has-theme-palette-3-background-color { background-color: #000 !important; }
.has-theme-palette4-background-color,
.has-theme-palette-4-background-color { background-color: #fff !important; }
.has-theme-palette5-background-color,
.has-theme-palette-5-background-color { background-color: #4b5563 !important; }
.has-theme-palette6-background-color,
.has-theme-palette-6-background-color { background-color: #f9fafb !important; }
.has-theme-palette7-background-color,
.has-theme-palette-7-background-color { background-color: #16a34a !important; }
.has-theme-palette8-background-color,
.has-theme-palette-8-background-color { background-color: #facc15 !important; }
.has-theme-palette9-background-color,
.has-theme-palette-9-background-color { background-color: #fff !important; }

.wfg-section > .wfg-section__inner > .wfg-row-layout-inner,
.wfg-row-layout-inner {
    margin-inline: auto;
    width: 100%;
}

.wfg-buttons-wrap {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wfg-button {
    align-items: center;
    display: inline-flex;
}

.wfg-svg-icon-wrap {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
}

.wfg-svg-icon-wrap svg {
    height: 1em;
    width: 1em;
}

.wfg-container {
    min-width: 0;
}

.wfg-testimonials {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wfg-testimonial {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.wfg-testimonial__image {
    border-radius: 999px;
    height: 60px;
    object-fit: cover;
    width: 60px;
}

.wfg-testimonial blockquote {
    border: 0;
    margin: 16px 0;
    padding: 0;
}

.wfg-testimonial__name {
    font-weight: 700;
    margin-bottom: 0;
}

.wfg-testimonial__occupation {
    color: #4b5563;
    font-size: 14px;
    margin-top: 4px;
}

.wfg-gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wfg-gallery img {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.wfg-gallery--carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow: hidden;
}

.wfg-gallery--carousel > a {
    flex: 0 0 calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
}

@media (max-width: 1024px) {
    .wfg-gallery--carousel > a {
        flex-basis: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }
}

@media (max-width: 767px) {
    .wfg-gallery--carousel > a {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.wfg-map iframe {
    border: 0;
    display: block;
    height: var(--wfg-map-desktop, 520px);
    width: 100%;
}

.wfg-gallery-type-carousel .splide__track {
    overflow: hidden;
}

.wfg-gallery-type-carousel .splide__list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px;
}

.wfg-gallery-type-carousel .splide__slide {
    flex: 0 0 calc((100% - 20px) / 3) !important;
    max-width: calc((100% - 20px) / 3) !important;
}

@media (max-width: 1024px) {
    .wfg-gallery-type-carousel .splide__slide {
        flex-basis: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
    }
}

@media (max-width: 767px) {
    .wfg-gallery-type-carousel .splide__slide {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}

.wfg-button:not([class*="wfg-btn9_"]):not([class*="wfg-btn56_"]):not([class*="wfg-btn58_"]):not([class*="wfg-btn62_"]):not([class*="wfg-btn64_"]):not([class*="wfg-btn66_"]):not([class*="wfg-btn68_"]):not([class*="wfg-btn1205_"]) {
    align-items: center;
    background: #dc2626;
    border: 1px solid #dc2626;
    border-radius: 8px;
    box-shadow: 5px 5px 20px -2px #000;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    padding: 14px 25px;
    text-decoration: none;
}

.wfg-button:not([class*="wfg-btn9_"]):not([class*="wfg-btn56_"]):not([class*="wfg-btn58_"]):not([class*="wfg-btn62_"]):not([class*="wfg-btn64_"]):not([class*="wfg-btn66_"]):not([class*="wfg-btn68_"]):not([class*="wfg-btn1205_"]):hover,
.wfg-button:not([class*="wfg-btn9_"]):not([class*="wfg-btn56_"]):not([class*="wfg-btn58_"]):not([class*="wfg-btn62_"]):not([class*="wfg-btn64_"]):not([class*="wfg-btn66_"]):not([class*="wfg-btn68_"]):not([class*="wfg-btn1205_"]):focus-visible {
    background: #ed5959;
    color: #fff;
}

.wfg-button--outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.wfg-stat {
    padding: 24px 12px;
    text-align: center;
}

.wfg-stat__number {
    color: #1e3a8a;
    display: block;
    font-size: 30px;
    line-height: 1;
}

.wfg-stat__title {
    color: #4b5563;
    font-size: 16px;
    font-weight: 400;
    margin: 10px 0 0;
}

.wfg-progress__label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.wfg-progress__track {
    background: #e5e7eb;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.wfg-progress__track span {
    background: #1e3a8a;
    display: block;
    height: 100%;
}

.wfg-page-reviews .wfg-progress-bar-type-line-mask {
    display: none !important;
}

.wfg-page-reviews .wfg-benefit-block {
    text-align: center;
}

.wfg-page-reviews .wfg-benefit-word {
    color: var(--global-palette1, #1f3f8f);
    font-size: clamp(2.3rem, 4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.wfg-page-reviews .wfg-benefit-label {
    color: var(--global-palette5, #4a5568);
    font-size: 1rem;
    line-height: 1.4;
    margin-top: .55rem;
}

@media (max-width: 767px) {
    .wfg-section {
        min-height: 0 !important;
    }

    .wfg-section > .wfg-section__inner {
        gap: 20px;
        grid-template-columns: minmax(0, 1fr);
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .wfg-section .wp-block-wfg-column,
    .wfg-section .wfg-inside-inner-col,
    .wfg-section .wfg-container {
        max-width: 100%;
        min-width: 0;
    }

    .wfg-buttons-wrap {
        align-items: center;
        flex-direction: column;
    }

    .wfg-button {
        box-shadow: 0 8px 16px -4px rgba(0, 0, 0, .35);
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .wfg-testimonials {
        grid-template-columns: minmax(0, 1fr);
    }

    .wfg-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .wfg-map iframe {
        height: var(--wfg-map-mobile, 300px);
    }
}
