/*
Theme name: Root Financial Website
Description: Custom Theme
Version: 1.0.16
*/

/*
	Source post-css styles are located in resources/css/
	The compiled bundle is saved to `dist/css/bundle-${fingerprint}.css`
	(dist/manifest.json provides the exact path mapping).

	DEVELOPMENT.md file contains instructions how to get the compilation
	process up & running.

	If you need to make a quick fix, feel free to add CSS
	below this comment -- it's loaded after the compiled bundle.
*/

h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading,
h5.wp-block-heading {
    line-height: 1.2;
}

.post__entry a {
    text-decoration: underline;
    color: #9f5e35
}

.post__entry h1.wp-block-heading,
.post__entry h2.wp-block-heading,
.post__entry h3.wp-block-heading,
.post__entry h4.wp-block-heading,
.post__entry h5.wp-block-heading {
    margin-top: 4rem;
    margin-bottom: 2rem;
}


.subscribe p {
    line-height: 1.5;
}

.testimonial blockquote {
    font-size: 18px;
}

.modal .gform_wrapper.gform_wrapper.gravity-theme .gform_heading {
    flex-direction: column-reverse;
    place-content: space-between;
    min-height: 170px;
}

.modal .gform_confirmation_wrapper {
    display: table;
    height: 100%;
}
.modal .gform_confirmation_message {
    display: table-cell;
    vertical-align: middle;
}

.modal .gform_wrapper.gravity-theme .gform_footer:before {
	top: calc(50% - 4px);
}

@media (max-width: 1199px) {
    .section.section--embed:first-of-type {
        margin-block-start: 150px;
    }
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
    .modal .gform_wrapper.gform_wrapper.gravity-theme .gform_heading .gform_title {
        margin-top: 65px;
    }
    .modal {
        margin-bottom: 10px;
    }
    .modal .gform_confirmation_wrapper {
        min-height: 170px;
    }
    .section.section--embed:first-of-type {
        margin-block-start: 120px;
    }
}

.grecaptcha-badge { visibility: hidden; }

.post__entry .wp-block-spacer {
    height: 4rem !important;
}

.tile-image figure.image-fit {
    margin: 0;
}


.section--embed .section__content {
    height: initial;
    min-height: 60vh;
}

.footer .footer__inner.footer__disclaimer {
    margin-top: 6rem;
    gap: 30px;
}
.footer__copyright {
    margin-top: 3rem;
}


.accordions .accordion:last-child .accordion__head a:before { content: none; }

.accordions { border-bottom: 1px solid #e9d3bc; }

/* section video*/
.section-video .video {
    border-radius: 20px;
}

.section-video figure.video__image {
    aspect-ratio: 1432/595;
}
.section-video {
    padding-block: 21px 22px;
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
    .section-video {
        padding-block: 16px 13px;
    }
    .section-video figure.video__image {
        aspect-ratio: 326/180;
    }
}

/* process page */
.section.start-here {
    margin-block: 51px 171px;
}

.section-intro-video {
    margin-block: unset;
    padding-block-start: 329px;
}
.section-intro-video .section__head {
    -webkit-padding-before: unset;
    padding-block-start: unset;
    -webkit-margin-after: unset;
    margin-block-end: unset;
}
.section-intro-video .section__head:before {
    top: -88px;
}
.section-intro-video .section__head h1 {
    line-height: 1.2;
}
.section-intro-video .section__body {
    padding-block-start: calc(89px + 21px);
}

.section-intro-video.section-shorten .section__body {
    padding-block-start: 0;
}
.section-intro-video.section-shorten {
    padding-block: 21px 22px;
}

/* text w/ video */
.section-text-video .hero__inner {
    gap: 86px;
}
.section-text-video .hero__content,
.section-text-video .hero__video {
    width: 50%;
}

.section-text-video .hero__text ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    row-gap: 10px;
}
.section-text-video .hero__text img {
    width: 51px;
    height: 51px;
}

.section-text-video .hero__text .btn__icon {
    filter: drop-shadow(0px 0px 1px rgb(0 0 0 / 0.25));
}

.section-text-video .hero__video {
    background: #FBEAD8;
    padding: 140px 140px 120px 140px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.section-text-video .hero__video .video {
    -webkit-margin-after: 36px;
    margin-block-end: 36px;
}

.section-text-video .hero__video .video__image {
    aspect-ratio: unset;
    -webkit-padding-after: 56.4%;
    padding-block-end: 56.4%;
}

.section-text-video .hero__video .video__image video {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.section-text-video .hero__video .section__btn:before {
    content: "";
    background-image: url(./dist/images/play-orange.svg);
    width: 47px;
    aspect-ratio: 1;
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    left: -2px;
    top: -8px;
}

.section-text-video .hero__video .section__btn {
    display: inline-block;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -.01em;
    color: #33342c;
    position: relative;
    font-weight: 500;
    -webkit-padding-start: 60px;
    padding-inline-start: 60px;
}

.section-text-video .hero__video .section__btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    bottom: 0;
    width: calc(100% - 60px);
    left: 50%;
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 0;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    left: 60px;
}

.accordions .accordion.is-opened .accordion__head:after {
    top: 36px;
}

@media (max-width: 1300px) {
    .section-text-video .hero__video {
        padding: 70px 70px 60px 70px;
    }
}

@media (max-width: 1023px) {
    .section-text-video .hero__video {
        padding: 35px 35px 30px 35px;
    }
}
@media (max-width: 767px),
screen and (max-width: 812px) and (orientation: landscape) {
    .section-intro-video {
        padding-block-start: 190px;
    }
    .section-intro-video .section__head:before {
        left: unset;
        right: 0;
        top: 0;
        height: 55px;
        width: 35px;
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
    }
    .section-intro-video .section__head h1 {
        max-width: 75%;
        text-align: left;
        font-size: 42px;
        line-height: 1.13;
    }
    .section-intro-video .section__body {
        padding-block-start: calc(40px + 16px);
    }

    .section-text-video .hero__content,
    .section-text-video .hero__video {
        width: 100%;
    }

    .section-text-video .hero__entry {
        padding-top: 0;
        order: unset;
    }

    .section-text-video .hero__text {
        display: none;
    }

    .section-text-video .hero__content {
        margin-bottom: 58px;
    }

    .section-text-video .hero__video {
        padding: 3em;
    }

    .section-text-video .hero__video .video {
        border-radius: 15px;
    }

    .section-text-video .hero__video .section__btn {
        align-self: center;
    }
	.accordions .accordion.is-opened .accordion__head:after {
    	top: 26px;
	}
}

/* blog - section-articles */
.section-articles .paging {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: unset;
}

.section-articles .paging ul {
    margin: 0 24px;
}

/* members */
.box.listing-member {
    position: relative;
}
a.meet-video.js-popup-iframe {
    text-decoration: none;
    position: absolute;
    font-size: 22px;
    line-height: 1.27;
    color: #fbead8;
    background-color: #9f5e35;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    padding-block: 13px 12px;
    padding-inline: 12px 30px;
    border-radius: 40px;
    font-weight: 500;
    max-width: 450px;
    text-align: center;
    line-height: 1;
    bottom: 90px;
    right: -12px;
    border-top-left-radius: 0;
}

a.meet-video.js-popup-iframe:before {
    content: "";
    background-image: url(./dist/images/play.svg);
    width: 47px;
    aspect-ratio: 1;
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    display: inline-block;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

a.meet-video.js-popup-iframe:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    bottom: 17px;
    width: calc(100% - 105px);
    left: 50%;
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
    opacity: 0;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    left: 75px;
}

@media (hover) and (pointer: fine) {
	a.meet-video.js-popup-iframe:hover:after {
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	a.meet-video.js-popup-iframe {
		bottom: 60px;
		right: -12px;
	}
}

.tile-image .tile__image {
	aspect-ratio: unset;
}

.section-boxes.section-members-alt.members {
    margin: unset;
	margin-top: 201px;
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.section-members-alt .section__head {
    	margin-bottom: 80px;
	}
	.section-members-alt.members .section__head {
		margin-bottom: 40px;
	}
}

@media (max-width: 1023px) {
    .section-members-alt-off {
        margin: 380px 0 80px;
    }
	.single-app_member .section-form-alt {
    	padding: 131px 0;
	}
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.single-app_member .section-content-images .section__aside li {
    	margin-bottom: 31px;
	}
	.single-app_member .section-content-images {
    	padding: 98px 0;
	}
	.single-app_member .section-content-images .section__content {
	    margin-bottom: 56px;
	}
}

/* image missing? play-orange.svg ? */
.section-text-video .hero__video .section__btn:before {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDciIGhlaWdodD0iNDciIHZpZXdCb3g9IjAgMCA0NyA0NyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjMuNSIgY3k9IjIzLjUiIHI9IjIzLjUiIGZpbGw9IiM5RjVFMzUiLz4KPHBhdGggZD0iTTI5LjgxMzYgMjIuMTc4QzMwLjM4NzYgMjIuNTc1NyAzMC4zODc2IDIzLjQyNDMgMjkuODEzNiAyMy44MjJMMjEuMzE5NSAyOS43MDY4QzIwLjY1NjMgMzAuMTY2MyAxOS43NSAyOS42OTE3IDE5Ljc1IDI4Ljg4NDlMMTkuNzUgMTcuMTE1MUMxOS43NSAxNi4zMDgzIDIwLjY1NjMgMTUuODMzNyAyMS4zMTk1IDE2LjI5MzFMMjkuODEzNiAyMi4xNzhaIiBmaWxsPSIjRkJFQUQ4Ii8+Cjwvc3ZnPg==")
}

/* Subscribe bar */
.subscribe-bar .gform_wrapper.gravity-theme .gform_heading h2.gform_title {
    white-space: balance;
    text-align: left;
}
.subscribe-bar .gform_wrapper.gravity-theme .gform_heading,
.subscribe-bar .gform_wrapper.gravity-theme form {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
}
.subscribe-bar .gform_wrapper.gform_wrapper.gravity-theme .gform_body {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
}
@media (max-width: 1300px) {
    .subscribe-bar .gform_wrapper.gform_wrapper.gravity-theme .gform_heading {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
    }
    .subscribe-bar .gform_wrapper.gravity-theme form {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
    }
}

/* section tile bg */
body.page-id-5878 .tile-image {
    background: #33342c;
}
body.page-id-5878 .section-tiles--stacked .tiles__items .tiles__item .tile-image .tile__image {
	height: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

/* embed, careers */
.section-embed-light {
	padding-block: 174px 248px;
}
.section-embed-light .section__head {
    margin-bottom: 90px;
}
.section-embed-light .section__head h2 {
    text-align: center;
    font-weight: 400;
    letter-spacing: -.02em;
}

/* icon fix? */
.hero-text .hero__icon img {
    max-height: 54px;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.hero-text .hero__icon img {
    	max-height: 40px;
	}
}

.disclaimer-link-modal.disclaimer-link-modal-inline {
    right: 0;
    bottom: 12px;
    position: absolute;
    font-size: 16px;
}

.section__disclaimer {
	max-width: 338px;
    position: relative;
    width: 100%;
}
.btn.popup-modal-dismiss:after {
	width: calc(100% - 20px);
	bottom: 8px;
}

.modal__content .gform_confirmation_message {
    color: #fbead8;
}

/* text with image, video button */
.section-text .section__video-actions {
    position: absolute;
    inset: 0;
}
.section-text .section__video-btn {
    background: #ffedd8;
    border-radius: 10px;
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 7px;
    padding-right: 22px;
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
}
.section-text .section__video-image {
    width: 100%;
    aspect-ratio: 338 / 190;
    margin: 0;
    background: #000;
}
.section-text .section__video {
    display: grid;
}
.section-text .section__video-btn span {
    position: relative;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.section-text .section__videos {
		height: auto;
	}
}

/* accordion video alternative */
.section-accordions .section__videos {
    display: grid;
    gap: 50px;
    margin-bottom: 50px
}

@media (max-width: 1023px) {
    .section-accordions .section__videos {
        max-width:unset;
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width: 767px),screen and (max-width:812px) and (orientation:landscape) {
    .section-accordions .section__videos {
        gap:32px;
        margin-bottom: 32px
    }
}

@media (max-width: 575px) {
    .section-accordions .section__videos {
        display:contents
    }
}

.section-accordions .section__videos:last-child {
    margin-bottom: 0
}

.section-accordions .section__video {
    border-radius: 15px;
    overflow: hidden;
    position: relative
}

.section-accordions .section__video:nth-child(2) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1
}

.section-accordions .section__video-image {
    width: 100%;
    aspect-ratio: 338/190;
    margin: 0;
    background: #000
}

.section-accordions .section__video-image video {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: opacity .4s;
    transition: opacity .4s
}

.section-accordions .section__video-actions {
    position: absolute;
    inset: 0
}

.section-accordions .section__video-btn {
    background: #ffedd8;
    border-radius: 10px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 7px;
    padding-right: 22px;
    font-size: 16px;
    font-weight: 500;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px
}

.section-accordions .section__video-btn span {
    position: relative
}

.section-accordions .section__video-btn span:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    pointer-events: none;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    opacity: 0;
    -webkit-transition: opacity,-webkit-transform;
    transition: opacity,-webkit-transform;
    transition: opacity,transform;
    transition: opacity,transform,-webkit-transform;
    -webkit-transition-duration: .4s;
    transition-duration: .4s
}

.section-accordions .section__video-btn span svg rect {
    -webkit-transition: fill .4s;
    transition: fill .4s
}

.section-accordions .section__video:hover .section__video-image video {
    opacity: .8
}

.section-accordions .section__video:hover .section__video-btn svg rect {
    fill: #884f2b
}

.section-accordions .section__video:hover .section__video-btn span:after {
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    opacity: 1
}

.accordion__body-inner .accordion__video-btn {
    background: #ffedd8;
    color: #33342c;
    border-radius: 10px;
    bottom: 10px;
    padding: 7px;
    padding-right: 22px;
	margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.accordion__body-inner .accordion__video-btn:after {
    display:none;
}
.accordion__body-inner .accordion__video-btn span {
    position: relative;
}
.accordion__body-inner .accordion__video-btn span:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    pointer-events: none;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    opacity: 0;
    -webkit-transition: opacity, -webkit-transform;
    transition: opacity, -webkit-transform;
    transition: opacity, transform;
    transition: opacity, transform, -webkit-transform;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
}
.accordion__body-inner .accordion__video-btn:hover span:after {
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    opacity: 1;
}


/* .section-members-marquee.is-active .section__members {
    -webkit-animation: c 60s linear infinite;
    animation: c 60s linear infinite;
} */

.hero__image-taller figure.hero__image.image-fit {
    aspect-ratio: 1200 / 659;
}


.section-accordions + .section-tabs.section-tabs__block-end {
	padding-block-end: clamp(50px, 11.863vw, 204px);
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
    .section-accordions + .section-tabs.section-tabs__block-end {
        padding-block-end: 100px;
    }
}

.tabs__body .accordion__video-btn {
    background: #ffedd8;
    color: #33342c;
    border-radius: 10px;
    bottom: 10px;
    padding: 7px;
    padding-right: 22px;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.tabs__body .accordion__video-btn span {
    position: relative;
}
.tabs__body .accordion__video-btn:hover span:after {
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    opacity: 1;
}
.tabs__body .accordion__video-btn span:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    pointer-events: none;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    opacity: 0;
    -webkit-transition: opacity, -webkit-transform;
    transition: opacity, -webkit-transform;
    transition: opacity, transform;
    transition: opacity, transform, -webkit-transform;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
}

.floating-anchor {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1592px;
	padding-left: 80px;
	padding-right: 80px;
	z-index: 1000;
	pointer-events: auto;

	&.hidden {
		opacity: 0;
		pointer-events: none;
	}

	& a {
		display: inline-flex;
		flex-direction: row;
		align-items: center;
		text-decoration: none;
		color: #816F5E;
		font-size: 20px;
		text-transform: uppercase;

		& span {
			border-bottom: 1px solid #816F5E;
			line-height: 1;
			padding-bottom: 1px;
			margin-left: 26px;
			display: inline-block;
		}

		&:hover span {
			color: #33342C;
			border-bottom: solid 1px transparent;
		}

		&:hover svg rect {
			fill: #9F5E35;
		}
	}
}

@media (max-width: 1199px) {
  .floating-anchor {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.section-video-embed .disclaimer-link-modal {
    bottom: auto;
    display: block;
    margin-top: 48px;
}

.hero__image-taller figure.hero__image.image-fit {
    aspect-ratio: 16 / 9;
}
.article .article__image {
	aspect-ratio: 16 / 9;
	pointer-events: none;
}

.section-calendar .hs-form-frame {
    min-height: 100px;
}

.member-profile .member-profile__aside-row {
    min-width: 33vw;
}

/* testimonails-dark disclaimer */
.section-testimonials-dark .disclaimer-link-modal {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -.01em;
    color: #e9d3bc;
    bottom: -51px;
    text-decoration: none;
}

.section-testimonials-dark .popup-modal:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #8d7f70;
    bottom: 3px;
    left: 0;
    transition: all .4s;
}

@media (hover) and (pointer: fine) {
    .section-testimonials-dark .popup-modal:hover:after {
        opacity: 0;
        transform: translateY(5px);
    }
}

/* safari fix */
.hero__media {
  flex: 0 0 48.3%;
  border-radius: 22px;
  min-width: 0; /* Prevent Safari flex overflow bug */
  overflow: hidden; /* Ensures rounded corners clip content */
}

.hero__media .video__image {
  aspect-ratio: 692 / 551;
  border-radius: inherit;
  overflow: hidden;
  display: block;
  position: relative;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
