/*!
Theme Name: HM CashCo
Theme URI: https://cashcoloan.com/
Template: kadence
Author: Harness Media LLC
Author URI: https://harnessyourwebsite.com/
Description: A custom theme for the CashCo Financial Services.
Version: 3.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hm-cashco
*/

.wp-block-kadence-accordion {
    .kt-accordion-panel-active {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

.location-header {
    .inner-column-1 {
        max-width: 1170px;
        margin: 0 auto;
        width: 100%;
    }

    + .wrap.kt-clear {
        display: none;
    }
}

.locations_map, .locations-info {
    .inner-column-1 {
        max-width: 1170px;
        margin: 0 auto;
        width: 100%;
    }
}

.locations-info {
    ul.kt-svg-icon-list {
        @media (min-width: 1024px) {
            display: flex !important;
            gap: 33px;

            li {
                width: fit-content;
                padding-right: 32px !important;
                position: relative;

                &:not(:last-child) {
                    &:after {
                        content: "";
                        height: 100%;
                        width: 1px;
                        background-color: #bad6c7;
                        position: absolute;
                        top: 0;
                        right: 0;
                    }
                }
            }
        }
    }
}

.hm-block-with-image-and-text {
    max-width: 1041px;
    margin: 0 auto;

    .wp-block-group__inner-container {
        .wp-block-heading {
            max-width: 718px;
            text-wrap: balance;
            margin: 0 auto 52px;
        }

        .wp-block-columns {
            @media (max-width: 1023px) {
                flex-direction: column;
            }

            &:first-of-type {
                margin-bottom: 45px;
            }

            &:last-of-type {
                @media (max-width: 1023px) {
                    flex-direction: column-reverse;
                }
            }

            .wp-block-column {
                display: flex;
                flex-direction: column;
                justify-content: center;
                figure {
                    img {

                    }
                }

                .wp-block-heading {
                    margin: 0 0 27px;

                    & + p {
                        text-wrap: balance;
                    }
                }

                & > .wp-block-group {
                    .wp-block-group__inner-container {
                        .wp-block-group {
                            margin: 0;
                        }
                    }
                }
            }
        }
    }
}