.block-layout .title {
    text-transform: var(--title-case);
    font-family:var(--custom-title-font-family, var(--title-font-family));
    font-weight:var(--title-weight);
    font-style:var(--title-style);
    letter-spacing:var(--title-spacing);
}

.block-layout.block-layout .sub-title {
    text-transform: var(--sub-title-case);
    font-family:var(--custom-sub-title-font-family, var(--sub-title-font-family));
    font-weight:var(--sub-title-weight);
    font-style:var(--sub-title-style);
    letter-spacing:var(--sub-title-spacing);
}

body {
    font-family:var(--custom-base-font-family, var(--body-font-family));
} 


/* SHALLOW BLOCK BASE TITLES */

.block-layout.shallow-block .titles + .text {
    margin-top: 1rem;
}
.shallow-block .sub-title,
.shallow-block .title {
    margin-bottom: 1rem;
}
.shallow-block .sub-title {
    font-size: var(--text-small);
    letter-spacing: 0.1rem;
    /* line-height: 1; */
}
.shallow-block .sub-title:not(.text-size) {
    font-size: var(--text-small);
}
.shallow-block .title-underline .sub-title {
    line-height: 1.5;
}
.shallow-block .title-underline .title:after {
    content: "";
    width: 8rem;
    height: 2px;
    background-color: var(--title-underline-color, var(--g-accent-color));
    display: block;
    margin-top: 1rem;
}
.shallow-block .title-reverse {
    display: flex;
    flex-direction: column-reverse;
}
.shallow-block .title-underline .title.title[style*="center"]::after,
.shallow-block .content-center .title-underline .title:after {
    margin-left: auto;
    margin-right: auto;
}
.shallow-block .title-underline .title.title[style*="right"]::after,
.shallow-block .content-right .title-underline .title:after {
    margin-left: auto;
    margin-right: 0;
}
.shallow-block .title-underline .title.title[style*="left"]::after,
.shallow-block .content-left .title-underline .title:after {
    margin-left: 0;
    margin-right: auto;
}

/* SHALLOW BLOCK BASE CONTENT ALIGNMENT */

.shallow-block .image-container,
.shallow-block .title,
.shallow-block .content-left .image-container,
.shallow-block .content-left .title,
.shallow-block .content-left {
    text-align: left;
}
.shallow-block .content-left .button-list {
    justify-content: flex-start;
}
.shallow-block .content-center .image-container,
.shallow-block .content-center .title,
.shallow-block .content-center {
    text-align: center;
}
.shallow-block .content-center .button-list {
    justify-content: center;
}
.shallow-block .content-right .image-container,
.shallow-block .content-right .title,
.shallow-block .content-right {
    text-align: right;
}

.shallow-block .content-right .button-list {
    justify-content: flex-end;
}


.header-106 .title,
.block-layout.header-106-master .title,
.footer-003 .agent-title {
    font-family: var(--body-font-family);
    font-weight: 200;
}

.header-106 .title span:first-child,
.header-106-master .title span:first-child,
.footer-003 .name-container span:first-child,
.footer-003 .panel-title {
    font-family: var(--title-font-family);
} 

/* CONENT PACKAGE FIX */

.title-100.title-100 .title {
    padding:0;
}

.header-106-v2.header-106-v2 .styled-title {
    white-space: normal;
    text-align: center;
}

/* TESTIMONIALS FIX */

.testimonials-103-v2.testimonials-103-v2 .button-container {
    width: auto;
}

@media (max-width: 45rem) {
    .shallow-block .image-container,
    .shallow-block .title,
    .shallow-block .content-left .image-container,
    .shallow-block .content-left .title,
    .shallow-block .content-left {
        text-align: center;
    }

    .block-layout .button-list.button-list.left {
        justify-content: center;
    }
}