.fpb-content,
.fpb-content * {
    box-sizing: border-box;
}

.fpb-content {
    width: 100%;
}

.fpb-section {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.fpb-section.is-full-bleed-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.fpb-section-inner {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.fpb-section.is-boxed > .fpb-section-inner {
    width: min(1200px, calc(100% - 32px));
}

.fpb-section.is-wide > .fpb-section-inner {
    width: min(1440px, calc(100% - 32px));
}

.fpb-section.is-full > .fpb-section-inner,
.fpb-section.is-full-bleed-section > .fpb-section-inner {
    width: 100%;
    max-width: none;
}

.fpb-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    row-gap: var(--fpb-col-gap, 24px);
    align-items: stretch;
    margin-left: calc(var(--fpb-col-gap, 24px) / -2);
    margin-right: calc(var(--fpb-col-gap, 24px) / -2);
}

.fpb-column {
    flex: 0 0 var(--fpb-col-width, 100%);
    max-width: var(--fpb-col-width, 100%);
    min-width: 0;
    position: relative;
    padding-left: calc(var(--fpb-col-gap, 24px) / 2);
    padding-right: calc(var(--fpb-col-gap, 24px) / 2);
}

.fpb-columns > .fpb-column:first-child:last-child {
    flex-basis: 100%;
    max-width: 100%;
    padding-left: calc(var(--fpb-col-gap, 24px) / 2);
    padding-right: calc(var(--fpb-col-gap, 24px) / 2);
}

.fpb-module {
    position: relative;
    margin-bottom: 18px;
}

.fpb-module:last-child {
    margin-bottom: 0;
}

.fpb-module.is-full-width {
    width: 100%;
    max-width: 100%;
}

.fpb-module.is-full-bleed,
.fpb-module.is-full-screen {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.fpb-module.is-full-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fpb-module.is-full-screen > .fpb-hero,
.fpb-module.is-full-screen > .fpb-theme-block,
.fpb-module.is-full-screen > .fpb-html,
.fpb-module.is-full-screen > .fpb-shortcode,
.fpb-module.is-full-screen > .fpb-image,
.fpb-module.is-full-screen > .fpb-video,
.fpb-module.is-full-screen > .fpb-cta {
    min-height: 100vh;
}

.fpb-module.is-full-screen > .fpb-hero {
    border-radius: 0;
}

.fpb-heading {
    margin: 0 0 16px;
}

.fpb-text > :first-child,
.fpb-html > :first-child,
.fpb-shortcode > :first-child {
    margin-top: 0;
}

.fpb-text > :last-child,
.fpb-html > :last-child,
.fpb-shortcode > :last-child {
    margin-bottom: 0;
}

.fpb-image {
    margin: 0;
}

.fpb-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.fpb-image figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #687385;
}

.fpb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #d21f26;
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.fpb-btn:hover,
.fpb-btn:focus {
    color: #fff;
    text-decoration: none;
    filter: brightness(.95);
}

.fpb-hero {
    min-height: 430px;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.fpb-hero-overlay {
    position: absolute;
    inset: 0;
}

.fpb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 56px;
    color: #fff;
}

.fpb-hero-content h1 {
    color: inherit;
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
}

.fpb-hero-content p {
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 24px;
}

.fpb-video {
    position: relative;
    width: 100%;
}

.fpb-video iframe,
.fpb-video video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

.fpb-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border-radius: 16px;
    color: #fff;
}

.fpb-cta h3,
.fpb-cta p {
    color: inherit;
}

.fpb-cta h3 {
    margin: 0 0 8px;
}

.fpb-cta p {
    margin: 0;
}

.fpb-icon-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fpb-icon-card {
    border: 1px solid #e3e6eb;
    border-radius: 14px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.fpb-icon-card-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 12px;
}

.fpb-icon-card h4 {
    margin: 0 0 8px;
}

.fpb-icon-card p {
    margin: 0;
}

.fpb-faq details {
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
    background: #fff;
}

.fpb-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.fpb-faq details > div {
    margin-top: 12px;
}

.fpb-drop-placeholder,
.fpb-empty-module {
    min-height: 74px;
    border: 2px dashed #c7cfdb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #687385;
    background: #fafbfd;
    padding: 16px;
    text-align: center;
}

.fpb-theme-block .fp-global-page-banner {
    margin: 0;
}

.fpb-canvas-main {
    min-height: 100vh;
}

@media (max-width: 900px) {
    .fpb-icon-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fpb-section-inner {
        width: min(100% - 24px, 1200px);
    }

    .fpb-columns {
        gap: 0;
        row-gap: 18px;
        margin-left: 0;
        margin-right: 0;
    }

    .fpb-column {
        flex-basis: 100% !important;
        max-width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }

    .fpb-module.is-full-bleed,
    .fpb-module.is-full-screen {
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    .fpb-hero {
        min-height: 360px;
        border-radius: 12px;
    }

    .fpb-hero-content {
        padding: 34px 24px;
    }

    .fpb-cta {
        display: block;
    }

    .fpb-cta .fpb-btn {
        margin-top: 18px;
    }

    .fpb-icon-cards {
        grid-template-columns: 1fr !important;
    }

    .fpb-hide-mobile {
        display: none !important;
    }
}

.fpb-render-warning {
    border: 1px solid #f3c46d;
    background: #fff8e5;
    color: #6f4d00;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.4;
}

.fpb-render-warning strong {
    display: block;
    margin-bottom: 3px;
}

/* FPB 6.5: wider containers, reliable typography inheritance and mobile-only flows. */
.fpb-section.is-ultra > .fpb-section-inner {
    width: min(1680px, calc(100% - 24px));
}

.fpb-text,
.fpb-text p,
.fpb-text li,
.fpb-text span,
.fpb-text div,
.fpb-text blockquote,
.fpb-text td,
.fpb-text th,
.fpb-heading {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    font-style: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    word-spacing: inherit;
    text-decoration: inherit;
}

.fpb-text strong,
.fpb-html strong,
.fpb-shortcode strong {
    font-weight: 700;
}

.fpb-text em,
.fpb-html em,
.fpb-shortcode em {
    font-style: italic;
}

.fpb-mobile-flow {
    display: none;
}

@media (max-width: 768px) {
    .fpb-section.has-mobile-order > .fpb-section-inner > .fpb-columns {
        display: none;
    }

    .fpb-section.has-mobile-order > .fpb-section-inner > .fpb-mobile-flow {
        display: block;
    }

    .fpb-section.has-mobile-order > .fpb-section-inner > .fpb-mobile-flow > .fpb-module {
        width: 100%;
    }
}

body.fpb-device-mobile .fpb-content {
    width: min(390px, calc(100vw - 24px)) !important;
    max-width: min(390px, calc(100vw - 24px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.fpb-device-mobile .fpb-section-inner {
    width: min(100% - 24px, 1200px);
}

body.fpb-device-mobile .fpb-columns {
    gap: 0;
    row-gap: 18px;
    margin-left: 0;
    margin-right: 0;
}

body.fpb-device-mobile .fpb-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}

body.fpb-device-mobile .fpb-section.has-mobile-order > .fpb-section-inner > .fpb-columns {
    display: none;
}

body.fpb-device-mobile .fpb-section.has-mobile-order > .fpb-section-inner > .fpb-mobile-flow {
    display: block;
}

body.fpb-device-mobile .fpb-icon-cards {
    grid-template-columns: 1fr !important;
}

body.fpb-device-mobile .fpb-hide-mobile {
    display: none !important;
}

.fpb-cta,
.fpb-cta h3,
.fpb-cta p,
.fpb-icon-card,
.fpb-icon-card h4,
.fpb-icon-card p,
.fpb-faq,
.fpb-faq summary,
.fpb-faq details > div {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    font-style: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    word-spacing: inherit;
}
