.page-template-simple-flex .simple-flex-module {
    position: relative;
    overflow: hidden;
    padding: 45px 0;
}

.page-template-simple-flex #mainHeader {
    background: rgba(34, 66, 80, 0.9);
}


.page-template-simple-flex .secondaryBanner {
    background: url('../../images/cityscape.webp') repeat-x bottom center;
    background-blend-mode: luminosity;
    padding-bottom: 80px;
}

.page-template-simple-flex .banner {
    min-height: 465px;
    padding-bottom: 50px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-template-simple-flex .banner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: url('../../images/simple-flex-cityskape.webp') left bottom / contain no-repeat;
    pointer-events: none;
    z-index: 2;
}

.page-template-simple-flex .banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(20, 40, 50, 0) 0%, rgba(20, 40, 50, 0.9) 30%, rgba(20, 40, 50, 0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-template-simple-flex .banner .inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.page-template-simple-flex .banner h1 {
    font-size: 52px;
    margin-bottom: 0;
}

.page-template-simple-flex .breadcrumbs {
    background: #b150ff;
    padding: 15px 0;
}

.page-template-simple-flex #breadcrumbs,
.page-template-simple-flex #breadcrumbs span,
.page-template-simple-flex #breadcrumbs a {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
}

.page-template-simple-flex #breadcrumbs {
    margin: 0;
}

.page-template-simple-flex #breadcrumbs a {
    font-weight: 700;
}

.page-template-simple-flex .simple-flex-module>.inner {
    position: relative;
    z-index: 2;
}

.page-template-simple-flex .simple-flex-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-template-simple-flex .sf-content {
    position: relative;
}

.page-template-simple-flex .simple-flex-module.theme-light .sf-content,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content p,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content li,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content h1,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content h2,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content h3,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content h4,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content h5,
.page-template-simple-flex .simple-flex-module.theme-light .sf-content h6 {
    color: #ffffff;
}

.page-template-simple-flex .simple-flex-module.theme-dark .sf-content,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content p,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content li,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content h1,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content h2,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content h3,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content h4,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content h5,
.page-template-simple-flex .simple-flex-module.theme-dark .sf-content h6 {
    color: #0e4252;
}

.page-template-simple-flex .sf-module-title {
    margin-bottom: 24px;
}

.page-template-simple-flex .sf-content h2 {
    font-size: 36px;
    line-height: 1.25;
}

.page-template-simple-flex .sf-content h3 {
    font-size: 29px;
    line-height: 1.25;
}

.page-template-simple-flex .sf-content li,
.page-template-simple-flex .sf-content p {
    font-size: 16px;
    line-height: 1.4;
}

.page-template-simple-flex .sf-animate {
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
    transition-delay: calc(var(--sf-stagger, 0) * 100ms);
}

@media (prefers-reduced-motion: reduce) {
    .page-template-simple-flex .sf-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.page-template-simple-flex .sf-animate-up {
    transform: translateY(36px);
}

.page-template-simple-flex .sf-animate-left {
    transform: translateX(-50px);
}

.page-template-simple-flex .sf-animate-right {
    transform: translateX(50px);
}

.page-template-simple-flex .sf-animate.is-visible {
    opacity: 1;
    transform: none;
}

.page-template-simple-flex .sf-wysiwyg p,
.page-template-simple-flex .sf-wysiwyg li {
    margin-bottom: 1em;
}

.page-template-simple-flex .sf-content blockquote,
.page-template-simple-flex .sf-wysiwyg blockquote {
    padding-left: 25px;
    margin: 1em 0;
    opacity: 0.85;
}

/* Padding Utility Classes */
.page-template-simple-flex .simple-flex-module.noPadding {
    padding: 0;
}

.page-template-simple-flex .simple-flex-module.noPaddingTop {
    padding-top: 0;
}

.page-template-simple-flex .simple-flex-module.noPaddingBottom {
    padding-bottom: 0;
}

.page-template-simple-flex .simple-flex-module.reducedPadding {
    padding: 25px 0;
}

.page-template-simple-flex .simple-flex-module.reducedPaddingTop {
    padding-top: 25px;
}

.page-template-simple-flex .simple-flex-module.reducedPaddingBottom {
    padding-bottom: 25px;
}

@media screen and (max-width: 768px) {
    .page-template-simple-flex .banner {
        min-height: 460px;
    }

    .page-template-simple-flex .sf-content h2 {
        font-size: 24px;
    }

    .page-template-simple-flex .sf-content h3 {
        font-size: 18px;
    }

    .page-template-simple-flex .banner h1 {
        font-size: 32px;
    }

    .page-template-simple-flex .simple-flex-module {
        padding: 45px 0;
    }
}