/* AdOpt Overrides */

.adopt-c-bOqfCu .adopt-c-bdQzKc {
    line-height: 20.8px !important;
}


/* Fancybox Treeline page */
#treeline-form > h2 {
    font-size: 4rem;
}

#treeline-form h2,
#treeline-form p {
    color: #ffffff;
}

body.postid-2421 .fancybox-content {
    overflow: hidden;
    height: auto;
    background-clip: padding-box;
    position: relative;
    background-color: #19468d !important;
    padding: 50px !important;
    border: 0 solid #19468d !important;
}

body.postid-2421 #fancybox-close {
    background-image: url("/wp-content/uploads/2023/09/x_close_white.gif") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    outline: none;
}

.fancybox-button.fancybox-close-small svg path {
    fill: white !important;
}

#treeline-form {
    display: none;
}

.hs-richtext > p {
    color: #ffffff;
}

.postid-2421 .community-grid__content-wrapper {
    margin: 0 auto -3rem !important;
}

@media (min-width: 992px) {
    .postid-2421 .info-columns--has-full-image .info-columns__full-image {
        object-position: 50% 30% !important;
    }
}

article#info-columns-block_42e28ed6972796e1d5f0fe9b09c8d818
div.info-columns__full-image-wrapper {
    display: block !important;
}

@media (max-width: 991px) {
    article#info-columns-block_42e28ed6972796e1d5f0fe9b09c8d818
    div.info-columns__full-image-wrapper
    img {
        max-width: 100% !important;
        height: auto;
    }

    article#info-columns-block_42e28ed6972796e1d5f0fe9b09c8d818
    > div.treeline-space {
        height: 0px !important;
    }
}

/* Footer Sponsor */
footer ul.social-links.social-links--blue.social-links--centered {
    margin-bottom: 80px !important;
}

footer p.sponsor-tagline {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    color: #19468d !important;
    font-size: 1.7rem !important;
    font-family: "brown" !important;
    font-weight: 300 !important;
    letter-spacing: 0.3px !important;
    line-height: 2.8rem !important;
}

footer p.sponsor-tagline:nth-of-type(2) {
    font-weight: 700 !important; /* Use 700 for bold */
    color: #19468d !important;
}

footer img.main-footer__badge.sponsor-logo {
    margin-bottom: 0 !important;
}

/* CSS from customizer */

/* New community page */
@media (min-width: 992px) {
    .page-id-2998 .link-grid__items {
        grid-gap: 3rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    body.postid-2421 .info-columns__full-image-wrapper {
        display: block !important;
        max-width: 100% !important;
        margin-top: 50px;
    }
    .wp-block-spacer.treeline-space {
        height: 0 !important;
    }
    .postid-2421 .info-columns--has-full-image .info-columns__full-image {
        object-position: 50% 30% !important;
    }
    .info-columns--has-full-image .info-columns__full-image {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        object-position: center !important;
    }
}

@media only screen and (min-width: 992px) {
    .page-id-2352 .l-hero__sidebar {
        flex: 0 0 36%;
        margin: 0 5rem 0 0;
    }
    .page-id-2352 .media-content--media-left .media-content__wrapper,
    .page-id-2352 .media-content--media-right .media-content__wrapper {
        margin: 0 auto 5rem;
        max-width: 130rem;
    }
    .page-id-2352
        .media-content.media-content--media-right
        .media-content__content-wrapper {
        padding: 0 4rem 0 0;
    }

    .page-id-2352
        .media-content.media-content--media-left
        .media-content__content-wrapper {
        padding: 0 0 0 4rem;
    }
}

.page-id-2352 .media-content__heading {
    margin-top: 0;
}
.page-id-2352 h4.l-hero__heading.e-heading.e-heading--medium {
    font-size: 2rem;
    font-style: italic;
}
/* Hide blue dots */
.page-id-2352 .media-content--media-left .media-content__image-wrapper:after,
.page-id-2352 .media-content--media-right .media-content__image-wrapper:after {
    width: 0;
    height: 0;
}
.page-id-2352 .contact-form:before {
    display: none;
}

@media (max-width: 991px) {
    .page-id-2352 .media-content__content-wrapper {
        padding: 15rem 4rem 1rem;
    }
    .page-id-2352 .community-grid__wrapper {
        padding: 0 3rem;
    }
}
@media (max-width: 768px) {
    .page-id-2352 #main-content-area {
        text-align: center;
    }
}

/* 404 page */
.wrapper.wrapper-404 {
    background-color: #f8f8f8;
}

.content-wrapper {
    max-width: 120rem;
    margin: 10rem auto 0;
    padding: 50px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-wrapper h4 {
    color: #234688;
    text-align: center;
    font-family: "Brown";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.wrapper.wrapper-404 h2 {
    text-align: center;
    margin: 0 auto;
    color: #234688;
    font-size: 48px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    letter-spacing: -1.44px;
}

.search-form {
    background: #fff;
    width: 420px;
    max-width: 100%;
}
input#searchsubmit {
    width: 25px;
    height: 25px;
    background: url(https://site-hwdcomprod-live-1721227270-qw6yegt2jwu8yii0ol.local/wp-content/uploads/2023/09/icon-1.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
    text-indent: -999px;
    cursor: pointer;
}
input#s {
    border: 0;
    height: 25px;
    width: 85%;
    padding: 10px;
    outline: 0;
    font-family: "Brown";
}
.blue-btn {
    padding: 2rem 4rem;
    background-color: #19468d;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

body.page-id-25 .community-grid__content-wrapper {
    margin: 0 auto 4rem;
}

/* New Homes Denton County */
@media (min-width: 992px) {
    .page-id-2636 .link-grid__items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .page-id-2638 .link-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-id-2638 .link-grid__item-image-wrapper {
        aspect-ratio: 68/48;
    }
}

.page-id-2636 .link-grid__wrapper,
.page-id-2638 .link-grid__wrapper {
    padding: 0;
}
.page-id-2638 .link-grid__wrapper {
    padding: 0 0 5rem;
}

.page-id-2636 .page-hero.l-hero {
    padding-bottom: 5rem;
}

.page-id-2636 #copyTwo p,
.page-id-2636 #copyOne p {
    color: #fff;
    font-weight: 700;
}

.page-id-2636 #subheadingTwo,
.page-id-2636 #subheadingOne {
    color: #fff;
}

/* First Time Buyers Guide */
#downPayment {
    margin-top: 50px;
}

.page-id-2927 .community-grid__background-image {
    height: 100%;
    object-position: bottom center;
}

div#findRightHome {
    text-align: left;
    column-count: 2;
    color: #fff;
    column-gap: 50px;
}

@media (max-width: 767px) {
    div#findRightHome {
        column-count: 1;
    }
}

div#findRightHome p {
    color: #fff;
    margin: 0 0 1rem;
}

@media (max-width: 992px) {
    .page-id-2927 .mixed-use__wrapper {
        padding-bottom: 1rem;
    }
    .page-id-2927 .mixed-use:after {
        display: none;
    }
    .page-id-2927 #typeMortgages .community-grid__wrapper {
        padding: 0 3rem;
    }
    .page-id-2927 #typeMortgages .community-grid__content-wrapper {
        margin: 0 auto;
    }
    .page-id-2927 #fourCol .link-grid__wrapper,
    .page-id-3507 #fiveCol .link-grid__wrapper {
        padding: 4rem 3rem;
    }
    .page-id-2927 #downPayment .community-grid__wrapper {
        padding: 0 3rem;
    }
    .page-id-2927 #downPayment .community-grid__content-wrapper {
        margin: 0 auto;
    }
}

.page-id-2927 .link-grid__summary {
    font-size: 1.5rem;
}

/* Removed commented out code */

/* Find Right Home Section */
#findRightHomeSection {
    background-color: #19468d;
}

#findRightHomeSection .community-grid__background-image-wrapper:after {
    background: none;
}

.page-id-2927 h3#findRightHomeId,
.page-id-2927 #findRightHomeSection .community-grid__heading {
    color: #fff;
}

.page-id-2927 #findRightHomeSection .community-grid__content-wrapper {
    max-width: 103rem;
}

@media (min-width: 992px) {
    #threeCol .link-grid__wrapper.l-container .link-grid__items,
    #fourCol .link-grid__wrapper.l-container .link-grid__items,
    #fiveCol .link-grid__wrapper.l-container .link-grid__items {
        grid-gap: 2rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-id-2927 .mixed-use__wrapper {
        padding-bottom: 10rem;
    }

    .page-id-2927 .profile-feature__container {
        padding-bottom: 8rem;
    }
    .page-id-2927 .profile-feature__image-wrapper {
        flex: 0 0 40%;
    }

    .page-id-2927 .community-grid__wrapper {
        padding-top: 5rem;
    }
    .page-id-2927 h3#findRightHomeId {
        font-size: 3.052rem;
    }
}

@media (min-width: 1300px) {
    .page-id-2927 .link-grid__wrapper.l-container {
        padding: 0 3rem 0;
    }

    #threeCol .link-grid__wrapper.l-container .link-grid__items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #fourCol .link-grid__wrapper.l-container .link-grid__items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #fiveCol .link-grid__wrapper.l-container .link-grid__items {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

#threeCol .link-grid__item-image-wrapper,
#fourCol .link-grid__item-image-wrapper {
    aspect-ratio: 32 / 24;
}

#fiveCol .link-grid__item-image-wrapper {
    aspect-ratio: 34 / 48;
}

#threeCol .link-grid__item-image-wrapper .link-grid__name,
#fourCol .link-grid__item-image-wrapper .link-grid__name,
#fiveCol .link-grid__item-image-wrapper .link-grid__name {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.fancybox__container {
    --fancybox-bg: rgba(24, 24, 27, 0.5);
}

.fancybox__content {
    max-width: 50%;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .fancybox__content {
        max-width: 90%;
    }
}

#threeCol .link-grid__item-image,
#fourCol .link-grid__item-image,
#fiveCol .link-grid__item-image {
    transform: scale(1, 1);
    transition: all 0.5s ease-in-out;
}

#threeCol .link-grid__item-image:hover,
#fourCol .link-grid__item-image:hover,
#fiveCol .link-grid__item-image:hover {
    transform: scale(1.2, 1.2);
}

.fancybox__content .link-grid__cta {
    color: #000;
}

.fancybox__slide .e-heading--reverse {
    color: #000;
}

/* Accordion */
.accordion-button {
    position: relative;
    color: #19468d;
    cursor: pointer;
    padding: 10px 18px;
    width: 100%;
    text-align: left;
    outline: none;
    transition: 0.4s;
    border-radius: 2px;
    margin: 5px 0;
    font-size: 2rem;
    font-family: ivypresto-display, serif;
}

.accordion-button h3 {
    margin: 0;
}

.accordion-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
}

.accordion-button.active,
.accordion-button:hover {
    background-color: #ddd;
}

.accordion-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#accordion {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Post 3075 */
@media (min-width: 992px) {
    #single-3075.l-hero--single-hero .l-hero__sidebar {
        padding-bottom: 5rem;
        margin-bottom: 5rem;
    }
}

/* Fort Worth Planned Communities */
@media (min-width: 992px) {
    #disadvantages .community-grid__wrapper,
    #amenity .community-grid__wrapper,
    #benefitsFort .community-grid__wrapper {
        padding-top: 5rem;
    }

    .page-id-3104 .media-content__wrapper {
        align-items: flex-start;
    }
    .page-id-3104 .media-content__content-wrapper {
        padding: 0 5rem;
    }
}

.page-id-3104 .media-content__copy,
.page-id-3104 .media-content__copy p {
    margin-top: 0;
}

#amenity {
    background-color: #19468d;
}

#benefitsFort {
    background-color: #19468d;
}

#benefitsFort .community-grid__heading,
#benefitsFort .community-grid__copy p {
    color: #fff;
}

#benefitsFort .community-grid__background-image-wrapper:after,
#amenity .community-grid__background-image-wrapper:after {
    background: none;
}

#amenity .community-grid__heading {
    color: #fff;
}

#amenity .community-grid__copy p {
    color: #fff;
}

#thirdMedia {
    padding-top: 3%;
}

/* Ready to Build Homes */
#benefitsFort .community-grid__copy ul li {
    color: #fff;
    text-align: left;
}

#readyBuild .community-grid__content-wrapper {
    max-width: 85rem;
}

#featureList2 .ezy__featured11 {
    padding: 0 0 10px;
}

@media (max-width: 990px) {
    #readyBuild .community-grid__wrapper {
        padding: 0rem 3rem 0 3rem;
    }
}

/********************************* 
 * New Home page 
 * ******************************/
@media (min-width: 1200px) {
    .page-id-2857 .slides-hero__content {
        width: calc(100% - 0rem) !important;
        height: calc(100% - 0rem) !important;
    }
}

.page-id-2857 .slides-hero__slides .slick-prev {
    left: 0px !important;
}

.page-id-2857 .slides-hero__slides .slick-next {
    right: 0px !important;
}

.slides-hero__background:after,
.slides-hero__background:before {
    background: transparent;
}

.page-id-2857 article.slides-hero {
    background: #ffffff !important;
}

.page-id-2857 .reverse-copy {
    background-color: #ffffff !important;
}

.page-id-2857 .slides-hero__slides .slick-next,
.slides-hero__slides .slick-prev {
    background: transparent !important;
}

.page-id-2857 .reverse-copy__copy p {
    color: #3c3c3c !important;
}

/********************************* 
 * Communities Lifestyle page 
 * ******************************/

/* Fancybox Landmark page */
div#hbspt-form {
    background: #19468d !important;
}

body.postid-2898 .fancybox-content {
    overflow: hidden;
    height: auto;
    background-clip: padding-box;
    position: relative;
    background-color: #19468d !important;
    padding: 50px !important;
    border: 0 solid #19468d !important;
}

body.postid-2898 #fancybox-close {
    background-image: url("/wp-content/uploads/2023/09/x_close_white.gif") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    outline: none;
}

#hbspt-form {
    display: none;
}

#hbspt-form > h2 {
    font-size: 4rem;
}

#hbspt-form h2,
#hbspt-form p {
    color: #ffffff;
}

.ca-button > .info-columns__columns {
    display: none;
}

/* Fancybox Ramble page */
#ramble-form > h2 {
    font-size: 4rem;
}

#ramble-form h2,
#ramble-form p {
    color: #ffffff;
}

body.postid-2812 .fancybox-content {
    overflow: hidden;
    height: auto;
    background-clip: padding-box;
    position: relative;
    background-color: #19468d !important;
    padding: 50px !important;
    border: 0 solid #19468d !important;
}

body.postid-2812 #fancybox-close {
    background-image: url("/wp-content/uploads/2023/09/x_close_white.gif") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    outline: none;
}

.fancybox-button.fancybox-close-small svg path {
    fill: white !important;
}

#ramble-form {
    display: none;
}

.postid-2812 .community-grid__content-wrapper {
    margin: 0 auto -3rem !important;
}

@media (min-width: 992px) {
    .postid-2812 .info-columns--has-full-image .info-columns__full-image {
        object-position: 50% 30% !important;
    }
}

article#info-columns-block_42e28ed6972796e1d5f0fe9b09c8d818
div.info-columns__full-image-wrapper {
    display: block !important;
}

@media (max-width: 991px) {
    article#info-columns-block_42e28ed6972796e1d5f0fe9b09c8d818
    div.info-columns__full-image-wrapper
    img {
        max-width: 100% !important;
        height: auto;
    }

    article#info-columns-block_42e28ed6972796e1d5f0fe9b09c8d818
    > div.treeline-space {
        height: 0px !important;
    }
}

/******************************
 * NEWS AND BLOG
*******************************/

@media (min-width: 992px) {
    .l-hero--news-hero .l-hero__image-wrapper,
    .l-hero--posts-grid-hero .l-hero__image-wrapper {
        height: 50vh !important;
    }
}

/******************************
 * HUBSPOT FORM
*******************************/

.hs_phone > label {
    flex: 0 0 13rem;
    font-family: brown;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1.8px;
    color: #fff;
    text-transform: uppercase;
    margin-right: 2rem;
}

.hs_community label {
    font-size: 1.7rem;
    font-family: brown;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 3.2rem;
    color: #fff;
}

.hs-fieldtype-checkbox .input li {
    font-size: 1.7rem;
    font-family: brown;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 3.2rem;
    color: #fff;
}

.legal-consent-container > .hs-richtext,
.hs-richtext {
    font-family: brown !important;
    font-weight: 300 !important;
    letter-spacing: 0.3px !important;
}

.hs-richtext > p {
    color: #ffffff;
    font-size: 1rem !important;
    line-height: 1.2rem !important;
}

@media (min-width: 992px) {
    .hbspt-form .hs-fieldtype-phonenumber > label {
        margin-right: 4rem;
    }
    .hbspt-form .hs-fieldtype-select > label {
        margin-right: 11.4rem;
    }
}
@media (max-width: 991px) {
    .hbspt-form .hs-fieldtype-select > label {
        margin-right: 9.4rem;
    }
}

li > .hs-error-msg {
    color: #ffffff !important;
}

li > .hs-main-font-element {
    color: #ffffff !important;
}

div.input > input.hs-input {
    background-color: #3b629e !important;
    color: #fff !important;
    width: 100%;
    border: none !important;
    border-radius: 0 !important;
    padding: 1.4rem 1rem;
    box-sizing: border-box;
    font-family: brown !important;
    letter-spacing: 0.4px !important;
}

div.input > select.hs-input {
    background-color: #3b629e !important;
    color: #fff !important;
    width: 100%;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    font-family: brown !important;
    letter-spacing: 0.4px !important;
}

.hs_phone,
.hs-fieldtype-select {
    display: flex !important;
}

#customPopup .hs_phone,
#customPopup .hs-fieldtype-select {
    display: block !important;
}

.hs_phone .input {
    flex: 1;
}

.hs-fieldtype-select .input {
    flex: 1;
}

.hs-richtext {
    color: #ffffff !important;
}

.hs_submit.hs-submit {
    margin-top: 15px;
}

.contact-form .hs_phone {
	align-items: center;
  flex-wrap: wrap;
}

.contact-form .hs_phone .hs-error-msgs {
	flex: 0 0 100%;
  margin: 0 0 0 0;
  padding: 0 0 0 17rem;
	box-sizing: border-box;
  list-style-type: none;
}

.contact-form .hs-error-msgs .hs-error-msg
{
	font-size: 1.1rem;
  font-weight: 300;align-content
}


/*****************************
 * Current Communities Page
 * ***************************/
.community-grid #bluewood-com-grid {
	display: none;
}

.community-grid #liberty-com-grid {
	display: none;
}

/*****************************
 * Future Communities Page
 * ***************************/

/* center grid when only two communities featured */

@media (min-width: 992px) {
    .whats-coming-grid__communities {
        display: grid;
        grid-gap: 2rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    /* Special case: exactly 2 items → center them in columns 2 and 3 */
    .whats-coming-grid__communities > *:nth-child(1):nth-last-child(2) {
        grid-column: 2;
    }

    .whats-coming-grid__communities > *:nth-child(2):nth-last-child(1) {
        grid-column: 3;
    }
}


/************************************
HUBSPOT CAPTCHA *********************
************************************/

.hs_recaptcha {
    transform: scale(0.4);
    transform-origin: left;
}
