.cms-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cms-banner--solid {
    background: #0358A3;
}

.cms-banner__overlay {
    padding: 48px 0;
    background: transparent;
}

.cms-banner__content {
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}

.cms-banner__title {
    margin: 0;
    font-family: "Dagny Pro", Arial, sans-serif;
    font-size:70px;
    line-height: 1.2;
    font-weight: 900;
}

.cms-banner__title p,
.cms-banner__text p {
    margin: 0 0 12px;
}

.cms-banner__title p:last-child,
.cms-banner__text p:last-child {
    margin-bottom: 0;
}


.cms-banner__text {
    margin: 14px 0 0;
    font-family: "Dagny Pro", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.cms-content {
    padding: 48px 0;
}

.cms-content--faq {
    background: #FFFFFF;
}

.cms-content__inner {
    max-width: 900px;
    margin: 0 auto;
    font-family: "Dagny Pro", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.cms-content__inner h1,
.cms-content__inner h2,
.cms-content__inner h3,
.cms-content__inner h5,
.cms-content__inner h6 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #0358A3;
    font-family: "Dagny Pro", Arial, sans-serif;
}

.cms-content__inner h4 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #0358A3;
    font-family: "Dagny Pro", Arial, sans-serif;
    font-weight: 900;
}

/* FAQ title must not inherit generic blue heading color */
.cms-faq-plugin .ewd-ufaq-faq-title-text h4 {
    margin: 0;
    color: #1a1a1a !important;
}

.cms-content__inner p,
.cms-content__inner li {
    color: #1a1a1a;
    font-family: "Dagny Pro", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.8;
    font-size: 18px;
}

.cms-content__inner ul,
.cms-content__inner ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.cms-content__inner a {
    color: #0358A3 !important;
    word-break: break-word;
}

.cms-content__inner a:hover {
    color: #09003E;
}

/* FAQ page rich text stays white */
.cms-content--faq .cms-content__inner > p,
.cms-content--faq .cms-content__inner > ul,
.cms-content--faq .cms-content__inner > ol,
.cms-content--faq .cms-content__inner > h1,
.cms-content--faq .cms-content__inner > h2,
.cms-content--faq .cms-content__inner > h3,
.cms-content--faq .cms-content__inner > h4,
.cms-content--faq .cms-content__inner > h5,
.cms-content--faq .cms-content__inner > h6,
.cms-content--faq .cms-content__inner > div:not(.cms-faq-plugin) {
    background: #FFFFFF;
}

/* FAQ wrapper only */
.cms-faq-plugin {
    margin-top: 32px;
    background: #FFFFFF;
}

.cms-faq-plugin .ewd-ufaq-faq-list,
.cms-faq-plugin .ewd-ufaq-faqs {
    margin-top: 0;
    background: #FFFFFF;
}

/* CTA */
.cms-cta-section {
    padding: 0 0 56px;
    background: #FFFFFF;
}

.cms-cta-section__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cms-cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    background: #0358A3;
    color: #ffffff;
    font-family: "Dagny Pro", Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cms-cta-button:hover {
    background: #09003E;
    color: #ffffff;
}

@media (max-width: 991px) {
    .cms-banner__title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .cms-banner__overlay {
        padding: 40px 0;
    }

    .cms-content {
        padding: 36px 0;
    }

    .cms-banner__title {
        font-size: 28px;
    }

    .cms-banner__text {
        font-size: 16px;
    }
}

/* FAQ hover behavior (theme controlled) */
.cms-faq-plugin .ewd-ufaq-faq-title:hover > a.ewd-ufaq-post-margin,
.cms-faq-plugin .ewd-ufaq-faq-title > a.ewd-ufaq-post-margin:hover {
    background: #595959 !important;
    color: #ffffff !important;
}

/* Ensure inner text also turns white */
.cms-faq-plugin .ewd-ufaq-faq-title:hover h4,
.cms-faq-plugin .ewd-ufaq-faq-title > a.ewd-ufaq-post-margin:hover h4 {
    color: #ffffff !important;
}

/* Arrow color on hover */
.cms-faq-plugin .ewd-ufaq-faq-title:hover > a.ewd-ufaq-post-margin::after,
.cms-faq-plugin .ewd-ufaq-faq-title > a.ewd-ufaq-post-margin:hover::after {
    color: #ffffff !important;
}