/* Extracted CSS styles for pro.html from template-landing-pages CSS files */

/* Landing page main section styles */
.banks-landing-main-section figure.wp-block-image {
    max-width: 190px;
    width: 190px;
    height: 110px;
    overflow: hidden;
    display: inline-block;
    margin: 0;
}

.banks-landing-main-section.banks-landing-main-section {
    overflow: unset;
}

.banks-landing-main-section figure.wp-block-image:last-child {
    margin-left: .7rem;
    padding-left: .7rem;
}

.banks-landing-main-section figure.wp-block-image:first-child {
    margin-left: 0;
    border-left: 0;
    padding-left: 0;
}

.banks-landing-main-section figure.wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banks-landing-main-section,
.banks-lp__footer {
    background-color: #E8EDF6;
}

/* Content width container */
.banks-content-width {
    max-width: 1100px!important;
    margin: auto!important;
    width: 100%;
}

/* Landing images header */
.col-landing-images-header {
    display: flex;
    justify-content: space-between;
}

.banks-lp__footer .banks-content-width {
	justify-content: space-between !important;
}

.banks-lp__footer .banks-content-width.is-content-justification-right {
	justify-content: flex-end !important;
}

@media ( max-width: 768px ) {
    .col-landing-images-header {
        position: relative;
    }

    .col-landing-images-header .wp-block-image:nth-child(2)::after {
        content: '';
        position: absolute;
        left: 50%;
        height: 80%;
        width: 1px;
        background-color: lightgray;
        top: 10%;
    }

    .col-landing-images-header {
        justify-content: space-around;
    }

	.banks-lp__last-section .wp-block-heading {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

	.banks-lp__footer .banks-content-width.banks-content-width {
		justify-content: center !important;
    }
}

/* Heading and text description styles */
.banks-landing-main-section .wp-block-heading {
    font-size: 25px !important;
    margin-top: 0 !important;
    line-height: 1.2;
}

.banks-landing-main-section .text-header-description,
.banks-landing-main-section h2.wp-block-heading,
.banks-text-thank-you p {
    font-size: 20px;
    margin-bottom: 0 !important;
}

.banks-lp__global-template-24-v1.ondeck .banks-landing-main-section .text-header-description,
.banks-landing-main-section .text-header-description {
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.text-header-description.text-header-description {
    font-size: 20px!important;
}

/* Template 24 specific styles */
.banks-lp__global-template-24-v1 .banks-landing-main-section .wp-block-columns,
.banks-lp__global-template-24-v1 .banks-section__container-blue-elements .wp-block-columns {
    gap: 60px;
}

.banks-lp__global-template-24-v1 .banks-section__container-blue-elements.banks-section__container-blue-elements.banks-section__container-blue-elements {
    max-width: unset;
    padding-right: 40px !important;
    padding-bottom: 30px !important;
}

.banks-lp__global-template-24-v1 .banks-section__with-blue-bg.banks-section__with-blue-bg.banks-section__with-blue-bg {
    padding-right: 40px;
    padding-bottom: 30px;
    border-radius: 0 0 200px 0;
    max-width: unset;
}

.banks-lp__global-template-24-v1 .banks-section__with-blue-bg .wp-block-group__inner-container {
    margin-right: -40px;
}

.banks-lp__global-template-24-v1 .banks-section__with-blue-bg.banks-section__with-blue-bg .wp-block-columns {
    margin-bottom: 0;
}

/* Text and description styles */
.banks-lp__global-template-24-v1 .single-landing-page .text-header-description.text-header-description {
    font-size: 25px !important;
}

.banks-description-with-phone a {
    text-decoration: none;
}

/* Box and icon styles */
.banks-lp__global-template-24-v1 .banks-lp__box-icon-description .wp-block-banks-custom-block-round-icon {
    padding: 5px !important;
    background-color: white;
    border-radius: 100%;
}

.banks-lp__global-template-24-v1 .banks-lp__box-icon-description {
    gap: 2rem;
}

.banks-lp__global-template-24-v1 .banks-lp__box-icon-description p {
    font-size: 24px;
    line-height: 34px;
    font-weight: 400;
}

/* Landing contact section */
.landing-contact-section-column {
    position: relative;
}

.banks-lp__global-template-24-v1 .landing-contact-section-column {
    position: relative;
}

/* Custom bullet list styles */
.banks-list-custom-bullets {
    list-style: none;
    margin-top: .5rem;
    text-align: left !important;
    margin-left: 0;
}

.banks-list-custom-bullets li {
    display: block;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    margin-top: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.banks-list-custom-bullets.banks-list-custom-bullets li {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.banks-list-custom-bullets li::before {
    content: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjE1IiB2aWV3Qm94PSIwIDAgMTUgMTUiIHdpZHRoPSIxNSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Im0wIDcuNWMwLTQuMTQyMTQgMy4zNTc4Ni03LjUgNy41LTcuNSA0LjE0MjEgMCA3LjUgMy4zNTc4NiA3LjUgNy41IDAgNC4xNDIxLTMuMzU3OSA3LjUtNy41IDcuNS00LjE0MjE0IDAtNy41LTMuMzU3OS03LjUtNy41em0xMC4yODAzLTIuMDMwMzNjLjI5MjkuMjkyODkuMjkyOS43Njc3OCAwIDEuMDYwNjVsLTIuNzYyMDggMi43NjIxMWMtLjQyNDI3LjQyNDI3LTEuMTEyMTcuNDI0MjctMS41MzY0NiAwbC0xLjI2MjA5LTEuMjYyMTFjLS4yOTI4OS0uMjkyODctLjI5Mjg5LS43Njc3NyAwLTEuMDYwNjQuMjkyODktLjI5Mjg4Ljc2Nzc3LS4yOTI4OCAxLjA2MDY2IDBsLjk2OTY3Ljk2OTY3IDIuNDY5NjgtMi40Njk2OGMuMjkyODctLjI5Mjg5Ljc2Nzc3LS4yOTI4OSAxLjA2MDYyIDB6IiBmaWxsPSIjNDY3OGZkIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=');
    display: block;
    min-width: 18px;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0rem;
}

/* Border radius styles */
.banks-lp__border-radius-right-bottom.banks-lp__border-radius-right-bottom {
    padding-right: 2rem;
}

.banks-lp__border-radius-right-bottom .banks-section__with-blue-bg {
    padding-right: 2rem;
    border-radius: 0 0 6rem 0;
    padding-right: 0;
}

/* Button styles */
.banks-section__with-blue-bg .wp-block-button__link.wp-block-button__link {
    background-color: white !important;
}

.btn-primary {
    background-color: var(--global-palette1) !important;
    color: white !important;
}

.banks-lp__global-template-24-v1 .btn-primary {
    background-color: var(--global-palette1) !important;
    color: white !important;
}

/* Steps section */
.banks-lp__global-template-24-v1 .banks-lp__steps-section.banks-lp__steps-section.banks-lp__steps-section {
    padding-top: 60px;
    padding-bottom: 126px;
}

.banks-lp__global-template-24-v1 .banks-lp__steps-section h2.wp-block-heading {
    font-size: 32px;
    color: #0E3A92;
}

.banks-lp__footer,
.banks-lp__color-section,
.banks-lp__steps-section {
    margin-bottom: 0 !important;
}

/* Flexible benefits grid */
.banks-flexible-benefits-grid {
    display: grid !important;
    gap: 20px;
    align-items: stretch;
}

.banks-flexible-benefits-grid .banks-benefit-item {
    flex-basis: auto !important;
    margin: 0 !important;
}

.banks-benefit-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banks-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.banks-benefit-card .wp-block-paragraph {
    flex-grow: 1;
}

/* Benefits container */
.banks-benefits-container {
    text-align: center;
}

.banks-benefits-container .wp-block-heading {
    font-size: 16px;
    line-height: 22px;
}

.banks-benefits-container .violet .wp-block-heading {
    color: #9D03F7;
}

.banks-benefits-container .green .wp-block-heading {
    color: #00D89A;
}

.banks-benefits-container .red .wp-block-heading {
    color: #FE6B7B;
}

.banks-lp__global-template-24-v1 .banks-benefits-container.banks-benefits-container.banks-benefits-container .wp-block-column {
    padding: 35px 35px;
}

.banks-lp__global-template-24-v1 .banks-benefits-container.banks-benefits-container.banks-benefits-container .wp-block-column p {
    margin-bottom: 0;
}

/* Box shadow styles */
.banks-box-shadow {
    box-shadow: 0 11px 24px 0 rgb(6 16 88 / 15%);
}

/* Border bottom styles */
.border-bottom {
    border-bottom: 5px solid;
}

.border-bottom.orange {
    border-bottom-color: #ff8b58;
}

.border-bottom.violet {
    border-bottom-color: #9d03f7;
}

.border-bottom.red {
    border-bottom-color: #fe6b7b;
}

.border-bottom.green {
    border-bottom-color: #00d89a;
}

/* Last section */
.banks-lp__global-template-24-v1 .banks-lp__last-section .wp-block-columns {
    align-items: flex-start !important;
}

.banks-lp__global-template-24-v1 .banks-lp__last-section .wp-block-columns .wp-block-column.is-vertically-aligned-center {
    align-self: unset !important;
}

.banks-lp__global-template-24-v1 .banks-lp__last-section .wp-element-button.banks-button-cta {
    margin-top: 40px;
}

/* Disclaimer section */
.banks-lp__disclaimer p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Footer */
.banks-lp__global-template-24-v1 .banks-lp__footer,
.banks-lp__global-template-24-v1 .banks-lp__color-section,
.banks-lp__global-template-24-v1 .banks-lp__steps-section {
    margin-bottom: 0 !important;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Banks specific size class */
.banks-size-14 {
    font-size: 14px;
}

/* Blue background image styles */
.banks-lp__bg-blue-cmg-financial img {
    max-height: 110px;
    width: auto !important;
}

/* Responsive Media Queries */
@media ( max-width: 960px ) {
    .banks-lp__global-template-24-v1 .banks-lp__stack-tablet {
        display: block !important;
    }

    .banks-lp__global-template-24-v1 .banks-lp__stack-tablet .banks-lp__stack-tablet-inner,
    .banks-lp__global-template-24-v1 .banks-ls_section-truspilot-images .banks_container_with_padding {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .banks-lp__global-template-24-v1 .landing-contact-section-container {
        position: relative;
    }

    .banks-lp__global-template-24-v1 .landing-contact-section-container.landing-contact-section-container {
        position: relative;
        margin-top: -50px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .banks-lp__global-template-24-v1 .landing-contact-section-column.landing-contact-section-column {
        background: #0E3A92;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: -20px;
        margin-left: -15px;
        max-width: 100vw;
        width: var(--global-vw, 100vw);
        position: static;
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    /* Mobile h1 styles */
    .banks-landing-main-section h1 {
        padding-top: 0!important;
    }

    .banks-landing-main-section .wp-container-3 {
        margin-bottom: 0!important;
        padding-bottom: 0!important;
        gap: 0!important;
    }

    .banks-landing-main-section .wp-container-6 {
        gap: 0!important;
    }

    /* Template 24 mobile styles */
    .banks-lp__global-template-24-v1 .banks-landing-main-section.banks-landing-main-section {
        padding-top: 0 !important;
        padding: 20px 15px;
    }

    .banks-lp__global-template-24-v1 .banks-list-custom-bullets {
        margin-top: 20px;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: .8rem !important;
    }

    .banks-lp__global-template-24-v1 .banks-landing-main-section figure.wp-block-image {
        max-width: 125px !important;
        height: auto !important;
    }

    .banks-lp__global-template-24-v1 .banks-lp__steps-section h2.wp-block-heading {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 38px;
    }

    .banks-lp__global-template-24-v1 .banks-lp__steps-section .wp-block-column .wp-block-heading {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
    }

    .banks-benefit-card .wp-block-image {
        margin-bottom: .8rem !important;
    }

    .banks-benefit-card .wp-block-image figure {
        max-width: 40px;
    }

    .banks-benefit-card .wp-block-image figure img {
        max-width: 40px;
        height: auto !important;
    }

    .banks-benefit-card p {
        clear: both;
        font-size: .8rem !important;
        line-height: 1.5 !important;
    }

    .banks-lp__global-template-24-v1 .banks-lp__steps-section.banks-lp__steps-section.banks-lp__steps-section {
        padding-bottom: 60px !important;
    }

    /* Mobile bullet list specific styles */
    .banks-list-custom-bullets.banks-list-custom-bullets {
        margin-top: .6rem !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: .8rem !important;
    }

    .banks-list-custom-bullets.banks-list-custom-bullets li {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    /* Mobile form section styles */
    #form.banks-landing-main-section.banks-landing-main-section {
        padding-top: 0 !important;
        padding: 20px 15px !important;
    }

    #form .banks-lp__stack-tablet {
        display: block !important;
    }

    #form.banks-landing-main-section figure.wp-block-image {
        height: auto;
        max-width: 100px !important;
    }

    /* Mobile benefit card styles */
    .banks-benefit-card .wp-block-image {
        margin-bottom: .8rem !important;
    }

    .banks-benefit-card .wp-block-image figure {
        max-width: 40px;
    }

    .banks-benefit-card .wp-block-image figure img {
        max-width: 40px;
        height: auto !important;
    }

    .banks-benefit-card p {
        clear: both;
        font-size: .8rem !important;
        line-height: 1.5 !important;
    }

    /* Mobile steps section styles */
    .banks-lp__steps-section .wp-block-heading {
        font-size: 20px !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }

    .banks-lp__steps-section .wp-block-column .wp-block-heading {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
    }

    /* Mobile reviews section styles */
    #reviews .banks-lp__box-icon-description .wp-block-banks-custom-blocks-round-icon {
        transform: scale(.7);
        margin-right: 0;
        float: left;
    }

    #reviews .banks-lp__box-icon-description.banks-lp__box-icon-description p {
        font-size: 12px;
        line-height: 17px;
    }

    #reviews .banks-lp__box-icon-description.banks-lp__box-icon-description {
        display: block !important;
    }

    #reviews .banks-lp__border-radius-right-bottom .banks-section__with-blue-bg {
        padding: 2rem !important;
    }

    /* Mobile border radius styles */
    .banks-lp__border-radius-right-bottom .banks-section__with-blue-bg {
        padding-right: 2rem;
    }

    /* Additional mobile form styles */
    #banks-form-v2__century-debt,
    #banks-form-v2__angel-oak {
        min-height: auto !important;
    }

    /* Mobile blue background image styles */
    .banks-lp__bg-blue-cmg-financial img {
        max-width: 130px !important;
    }

    /* Mobile button section styles */
    .banks-section__with-blue-bg .wp-block-buttons {
        justify-content: center !important;
        padding-left: 0 !important;
    }

    /* Mobile flexible benefits grid - 2 items side by side */
    .banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 540px) {
    .banks-lp__global-template-24-v1 .banks-landing-main-section figure.wp-block-image {
        max-width: 125px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .banks-flexible-benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Auto-adapt grid based on number of items */
.banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(5):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(6):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* Fallback for browsers that don't support :has() */
@supports not selector(:has(*)) {
    .banks-flexible-benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(3):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .banks-flexible-benefits-grid:has(.banks-benefit-item:nth-child(3):last-child) .banks-benefit-item:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Override WordPress default column styles */
.banks-flexible-benefits-grid.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: auto !important;
}

@media (max-width: 781px) {
    .banks-flexible-benefits-grid.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
}