/**
Theme Name: TerraCap
Author: Ink & Form
Author URI: https://ink-form.com
Description: Proprietary theme for TerraCap. Built on Astra framework.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terracap
Template: astra
*/

#map {
    height: 500px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

#content > .ast-container,.single-state #content > .ast-container {max-width:100% !important;width:100% !important;padding:0 !important;}
#header{position:relative;z-index:100;}

/* Common */
.font-domaine,.loop-title,.archive h2.entry-title a,.single h1.entry-title,body h1{font-family: "Domaine", Sans-serif !important;font-weight:400 !important;}
.font-600,body h1{font-weight:600 !important;}

/* Home */
.elementor-background-slideshow__slide__image{}
.state-data-container,.state-meta{display:flex;flex-direction:row;justify-content:space-between;gap:50px;flex-wrap:wrap;}
.state-data-container{margin-bottom:50px;}
.state-data,.state-meta-item{flex:0 0 calc(33% - 50px);text-align:center;}
.state-meta-item{display:flex;justify-content:space-between;gap:25px;align-items:stretch;}
.state-meta-item p{margin-bottom:0;}
.state-meta-item h3{text-align:left;}
.state-data{display:flex;justify-content:space-between;}
.plx-headline :is(h1, h2, h3, h4, h5, h6){color:#fff;font-size:7em;}
#hero{min-height:100vh;margin-top:-135px;}
#hero-chevron{left:calc(50% - 16px);}
#hero-stats{flex-wrap:wrap;}
#hero-stats > div{flex:0 0 calc(20% - 10px);}
#hero-sm .hero-stat-stat{flex:0 0 calc(50% - 10px);}

@media screen and (max-width:767px){.plx-headline :is(h1, h2, h3, h4, h5, h6){color:#fff;font-size:3.5em;}
	.state-info-container{padding-left:15px;padding-right:15px;}
  .state-meta{gap:25px;}
  .state-meta-item{flex:0 0 calc(50% - 25px);}
}

/* Mega Menu *//*
ul.astra-megamenu{flex-wrap:wrap;}
ul.astra-megamenu > li{flex:0 0 25% !important;}
ul.astra-megamenu > li > a{font-family: "Domaine", Sans-serif !important;font-weight:600 !important;font-size:1.15em !important;}
ul.astra-megamenu:before{top:0 !important;left:0 !important;width:50% !important;content:'';transform:none !important;height:100% !important;position:relative !important;}
*/
.mm-megamenu{border-top:0 !important;}
#mm-menu ul{display:flex;flex-wrap:wrap;}
#mm-menu ul > li{flex-basis:50%;}
#e-n-menu-content-1731{box-shadow:none;background-color:transparent;}
@media screen and (min-width:768px){
	#e-n-menu-content-1731 > div{box-shadow:0 10px 10px rgba(0,0,0,.15);background-color:#fff;}}
@media screen and (max-width:767px){
	#menubar-173{box-shadow:0 10px 10px rgba(0,0,0,.15);background-color:#fff;padding:10px 0;}}

/* Home State */
.state:before{display:none;}
.home .state{background: #111111;
background: -webkit-linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(38, 38, 38, 1) 100%);
background: -moz-linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(38, 38, 38, 1) 100%);
background: linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(38, 38, 38, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#111111", endColorstr="#262626", GradientType=1);position:relative;z-index:100;}
.state-info-container{display:flex;flex-wrap:wrap;justify-content:space-between;min-height:65%;max-width:1120px}
.state-info-container > div{flex:0 0 100%;}
.state-info-container,.state-info-container h2{color:#fff;position:relative;}
.state-info-container h2{padding-bottom:3px;border-bottom:1px solid #fff;}
.state-info-container h2{font-size:3.5em;margin-bottom:0;color:#fff;}
.state-meta h3{font-size:1em;color:#fff;}
.state-meta-title-1,.state-meta-title-2,.state-meta-title-3,.state-meta-title-4,.state-meta-title-5,.state-meta-title-6,.state-meta h3{/*font-size:2em;*/}
.state-meta-description-1,.state-meta-description-2,.state-meta-description-3,
.state-meta-description-4,.state-meta-description-5,.state-meta-description-6,.state-meta-item p{font-weight:100;/*font-size:.85em;*/}
.state .elementor-widget-container,.state .elementor-shortcode{display:flex;flex-direction:row;}
.state .elementor-shortcode{justify-content:center;align-items:center;flex:0 0 100%;}
.state-short-description{max-width:65%;}
.state-title-container{display:flex;flex-direction:column;}
.state-portfolio-button{text-align:center;}
a.portfolio-button,a.property-count-button{color:#fff;position:relative;padding:10px 15px;transition:all 1s;}
a.portfolio-button:hover,a.property-count-button:hover{}
a.portfolio-button:before,a.portfolio-button:after,a.property-count-button:before,a.property-count-button:after{position:absolute;width:100%;height:1px;background-color:#fff;content:'';transition:all .5s;}
a.portfolio-button:before,a.property-count-button:before{left:0;top:0;}
a.portfolio-button:after,a.property-count-button:after{left:0;bottom:0;}
a.portfolio-button:hover:before,a.property-count-button:hover:before{background-color:#999;width:50%;left:25%;top:-5px;}
a.portfolio-button:hover:after,a.property-count-button:hover:after{background-color:#999;width:50%;left:25%;bottom:-5px;}
.state > div{flex:0 0 100%;}
.state-img-shortcode{flex:0 0 100%;height:100%;}
.state-img-shortcode .elementor-shortcode{height:100%;width:100%;}
.state-image-wrapper{height:100%;width:100%;background-size:cover;display:flex;justify-content:center;align-items:center;}
.state-disclaimer{font-size:.85em;text-align:center;text-transform:italic;opacity:.5;}

@media screen and (max-width:767px){
	.state-info-container h2,.state-meta h3{/*font-size:2em;*/margin-bottom:0;color:#fff;}
	.state-short-description{max-width:85%;font-size:.85em;}
  .state-meta-description-1, .state-meta-description-2, .state-meta-description-3, .state-meta-item p{/*font-size:.75em;*/}
  .state-meta-title-1, .state-meta-title-2, .state-meta-title-3,.state-meta-title-4,.state-meta-title-5,.state-meta-title-6,.state-meta h3{/*font-size:1.15em;*/}
	.state-data{flex:0 0 calc(50% - 25px);}
	.state-data-container{flex-wrap:wrap;justify-content:center;gap:25px;margin-bottom:25px;}
	.state-short-description,.state-data-container{margin-bottom:25px;}
	a.portfolio-button, a.property-count-button{font-size:.85em;}
	.state{padding-top:50px;padding-bottom:50px;}
  .state-info-container{gap:25px;}
}

@media screen and (max-width:500px){
  .state-data{flex:0 0 100%;}
  .state-meta-item{flex:0 0 100%;}
}

/* Header */
.site-header-below-section-center{border-top:1px solid #111;border-bottom:1px solid #111;}
#ast-desktop-header .ast-grid-left-center-section{justify-content:flex-start;}
#ast-desktop-header .ast-grid-right-center-section{justify-content:flex-end;}
#header-investor-login span{text-shadow:none;}

/* Header Menu */
ul.main-header-menu > li.menu-item{position:relative;}
ul.main-header-menu > li.menu-item:before{position:absolute;width:0;height:1px;background-color:#fff;left:50%;transition:all .75s;content:'';}
ul.main-header-menu > li.menu-item:hover:before{width:100%;height:1px;background-color:#fff;left:0;top:-1px;transition:all .75s;}
ul.main-header-menu > li.menu-item:after{position:absolute;width:0;height:1px;background-color:#fff;left:50%;bottom:-1px;transition:all .75s;content:'';}
ul.main-header-menu > li.menu-item:hover:after{width:100%;height:1px;background-color:#fff;left:0;transition:all .75s;}
ul.astra-megamenu li a{padding:15px !important;transition:all 1s;position:relative;}
ul.astra-megamenu li a:hover{padding:15px !important;}
ul.astra-megamenu li a:after{position:absolute;content:'';left:0;bottom:0;width:0;height:1px;background-color:#111;transition:all .75s;}
ul.astra-megamenu li a:hover:after{width:100%;}

.ast-grid-left-center-section .ast-custom-button{position:relative;}
.ast-grid-left-center-section .ast-custom-button:before{font-family: "Font Awesome 6 Brands";font-weight:400;content:'\f0e1';padding-right:5px;}
.ast-grid-right-center-section .ast-custom-button{position:relative;}
.ast-grid-right-center-section .ast-custom-button:after{font-family: "Font Awesome 6 Free";font-weight:900;content:'\f023';padding-left:5px;}

/* Team List */
.team-department h4,.property-list h4{font-weight:200;text-transform:uppercase;font-size:.75em;letter-spacing:2px;margin-bottom:5px;padding-bottom:5px;border-bottom:1px solid #e5e5e5;}
.team-department ul,.property-list ul{list-style-type:none;padding-left:7px;}
.team-department ul li,.property-list ul li{padding-bottom:5px;margin-bottom:0}
.team-department ul li a,.property-list ul li a{color:#111;position:relative;transition:all 1s;}
.team-department ul li a:before,.property-list ul li a:before{font-family: "Font Awesome 6 Free";font-weight:900;content:'\f061';position:absolute;left:-20px;color:#141d45;opacity:0;transition:all 1s;}
.team-department ul li a:hover,.property-list ul li a:hover{padding-left:20px;}
.team-department ul li a:hover:before,.property-list ul li a:hover:before{left:0;opacity:1;}
.single-team img{box-shadow:none;}

/* Contact */
#contact-locations .location-item{color:#111;font-size:1em;}

/* Footer */
.locations-list{color:#fff;font-size:.85em;}
.location-item{margin-bottom:15px;color:#fff;font-size:.85em;}
.location-address > p{margin-bottom:0px;}
#footer .location-item:last-of-type{margin-bottom:0px;}
#footer-form form{position:relative;}
#footer-form form .elementor-field-type-submit{position:absolute;top:0;right:0;}
#footer-form form .elementor-field-type-submit button{background-color:transparent;padding:0;}

.state-img-shortcode{position:absolute;z-index:1;width:100%;height:100%;}

/* Single Property */
nav.property-navigation{padding:15px 0;border-top:1px solid #000;border-bottom:1px solid #000;margin-bottom:50px;}
nav.property-navigation > div{display:flex;justify-content:space-between;}
nav.property-navigation .nav-previous,nav.property-navigation .nav-next{font-weight:300;font-size:.85em;text-transform:uppercase;letter-spacing:2px;}
nav.property-navigation .nav-previous:before{
	font-family: "Font Awesome 6 Free";font-weight:900;content:'\f060';}
nav.property-navigation .nav-next:after{
	font-family: "Font Awesome 6 Free";font-weight:900;content:'\f061';}

/* Blog */
.property-thumbnail img{width:100%;box-shadow:none;}
.property-thumbnail{margin-bottom:0 !important;}
.single-property article header{margin:0 !important;}
.single-property article header h1{padding:0 !important;font-size:3.5em;margin-top:25px;}
.single-property article{padding:50px 0;}
.ast-article-inner{padding:0;}
.archive #content > .ast-container,.category-news #content > .ast-container,.single.single-post #content > .ast-container,.single-property #content > .ast-container,.single-team #primary > article{max-width:1200px !important;margin:0 auto;}
.ast-archive-description{border:0;}

@media screen and (max-width:767px){
	.archive #content > .ast-container,.category-news #content > .ast-container,.single.single-post #content > .ast-container,.single-property #content > .ast-container,.single-team #primary > article{max-width:100% !important;margin:0 auto;padding-left:15px;padding-right:15px;}
  .ast-archive-description{padding-left:15px !important;padding-right:15px !important;}
}

.single-team #primary > #main article{padding:0 !important;margin:0;}
.archive .ast-taxonomy-container{font-weight:200;text-transform:uppercase;letter-spacing:2px;}
a.elementor-element.loop-img{background-size:105% !important;transition:all 1s !important;background-position:center center !important;}
a:hover.elementor-element.loop-img{background-size:115% !important;}
.loop-container > div,.category .post-content{position:relative;}
.loop-container span.elementor-icon-list-icon{display:none;}
.loop-date,.category-news.category-2 header.entry-header{position:absolute;top:0px;right:10px;font-family: "Domaine", Sans-serif !important;font-weight:600;background-color:#111;color:#fff;padding:7px !important;text-align:center;z-index:10;margin:0 !important;color:#fff !important;}
.category-news header{top:-7px !important;}
header.entry-header .entry-meta *{color:#fff;}
p.read-more{text-align:right;}
.archive h2.entry-title a,.single h1.entry-title{font-weight:600 !important;}
.single h1.entry-title{padding:10px 10px 0 10px;}
.single-team h1.entry-title{padding-left:0;}
.sidebar-main h3{font-weight:200;letter-spacing:2px;text-transform:uppercase;font-size:14px !important;}
ul.sidebar-list.wp-block-latest-posts > li{display:flex;align-items:start;gap:15px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #e5e5ee;transition:all 1s;position:relative;}
ul.sidebar-list.wp-block-latest-posts > li:before{content:'';width:0;height:100%;position:absolute;left:0;top:0;background-color:#e5e5e5;transition:all 1s;z-index:-1;}
ul.sidebar-list.wp-block-latest-posts > li:hover:before{width:100%;}
ul.sidebar-list.wp-block-latest-posts > li > div{max-width:50px;padding-top:5px;}
ul.sidebar-list.wp-block-latest-posts > li > a{margin:0;font-size:.85em;color:#111;}
.ast-pagination .page-numbers.current, .ast-pagination .page-numbers:focus, .ast-pagination .page-numbers:hover{background-color:#111;}
.ast-pagination .page-numbers{border-color:#fff;}
/* State Single */
.single-state #content{position:relative;}

/* Hero Wrapper */
.state-hero-wrapper {
    position: relative;
    min-height: calc(65vh + 130px); /* Matches .state-hero min-height */
    overflow: hidden; /* Ensures background doesn’t bleed */
}

/*
.state-hero-wrapper:after{
  position:absolute;width:50px;height:50px;content: '\f063';
  left:calc(50% - 25px);bottom:5px;display:flex;justify-content:center;
  align-items:center;font-family: "Font Awesome 6 Free";font-weight:900;color:#fff;
  font-size:36px;
}
*/

/* Fixed Background Container */
.state-hero-wrapper{min-height: calc(65vh + 130px);margin-top: -130px;display:flex;align-items:center;justify-content:center;}
.state-hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2; /* Behind all content */
}

/* Hero Section with Overlay */
.state-hero {
    padding: 50px 0 !important;
    position: relative;
    z-index: -1;
    background: rgba(255, 255, 255, .5); /* Transparent overlay */
}

/* Hero Content */
.state-hero-content {
    color: #111;
    margin: 0 auto;
    padding: 0 20px;
}

.state-hero h1.entry-title {
    color: #fff;
    font-size: 4em !important;
    margin-bottom: 20px;
}

.state-hero .entry-content {
    line-height: 1.6;
    max-width: 60%;
}

/* Ensure content below is not overlapped */
.state-meta-section,
.state-properties-section {
    position: relative;z-index: 1;
    background: #fff; /* Ensure background is solid */
    padding: 20px;
}

.state-meta-section {
	color:#fff;margin: 0 auto;padding:50px 15px;background: #111111;
  flex-direction:column;
  justify-content: center;
background: -webkit-linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(38, 38, 38, 1) 100%);
background: -moz-linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(38, 38, 38, 1) 100%);
background: linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(38, 38, 38, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#111111", endColorstr="#262626", GradientType=1);min-height:50vh;display:flex;align-items:center;
}
.state-meta{max-width:1200px;margin:0 auto;padding-left:15px;padding-right:15px;}
section.state-properties-section{padding:50px 0;}
.state-properties-section .ast-posts{display:flex;max-width:1200px;margin:0 auto;gap:50px;flex-wrap:wrap;}
.state-properties-section .ast-posts article{flex:0 0 calc(50% - 50px);}
.state-properties-section .ast-posts > nav{display:none;}
.state-properties-section .ast-posts article h2{font-family: "Domaine", Sans-serif !important;font-weight:600;}
section.other-states-section{background-color:#fff;padding:50px 0;}
.other-states-section h2{text-align:center;margin-bottom:20px;}
.other-states-grid{max-width:1200px;margin:0 auto;display:flex;gap:50px;justify-content:center;padding-left:15px;padding-right:15px;flex-wrap:wrap;}
.other-state-item{flex:0 0 calc(16.6% - 50px);display:flex;flex-direction:column;justify-content:center;align-items:center;}
.other-state-item img{max-width:75px;}
.other-state-item a{color:#111;font-weight:300;text-transform:uppercase;font-size:.85em;letter-spacing:2px;}
.property-featured-image {margin-bottom: 1rem;}
.other-states-section p{text-align:center;margin-bottom:45px;}
.property-image-link {display: block;width: 100%;
    padding-bottom: 56.25%; /* 9/16 = 0.5625 (16:9 aspect ratio) */
    background-size: 105%;background-position: center;border-radius: 5px;transition:all .75s;}
.property-image-link:hover{background-size:115%;}
p.property-address{font-size:.85em;}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .state-hero-wrapper {
        min-height: calc(50vh + 130px);
        flex-direction:column;
    }
    .state-hero {
        padding: 30px 0 !important;
    }
    .state-hero h1.entry-title {
        font-size: 2.5em !important;
    }
    .state-properties-section .ast-posts{display:flex;max-width:100%;padding-left:15px;padding-right:15px;margin:0 auto;gap:25px;flex-wrap:wrap;}
    .state-properties-section .ast-posts article{flex:0 0 100%;}
    .single-property article header h1{font-size:2em;}
    .single-property .entry-content{padding-left:15px;padding-right:15px;}
    .single-property .nav-links{padding-left:15px;padding-right:15px;}
    .single-property article.property{padding-top:25px;padding-bottom:25px;}
    section.other-states-section{padding-top:25px;padding-bottom:25px;}
}

/* Contact */
form label{font-size:.65em;text-transform:uppercase;font-weight:300;letter-spacing:2px;}
.wpcf7 input.wpcf7-form-control:not([type=submit]), .wpcf7 textarea.wpcf7-form-control{border:0;box-shadow:none;border-bottom:1px solid #111;border-radius:0;}
input[type="submit"]{color:#111;background-color:#fff;box-shadow:none;}
.frm-submit p{display:flex;justify-content:end;}
.frm-submit p input{order:2;}

/* Team Grid */
.team-grid-member-thumbnail > a > img{border:1px solid #000;}
.team-members-grid{display:flex;justify-content:flex-start;gap:30px;flex-wrap:wrap;}
.team-grid-member{text-align:center;flex:0 0 calc(33% - 30px);}
.team-grid-member h3{font-size:1em;color:#111;margin-bottom:7px;}
.team-grid-member > span{font-size:.85em;font-weight:300;text-transform:uppercase;letter-spacing:2px;margin-bottom:20px;display:block;}
.team-grid-member p{text-align:left;}
.team-grid-department{margin-bottom:50px;text-align:center;position:relative;}
.team-grid-department h2{display:inline-block;background-color:#fff;font-size:2em;position:relative;padding:0 10px;}
.team-grid-department:before{position:absolute;left:0;top:22px;content:'';width:100%;height:1px;background-color:#111;}
.team-grid-member-thumbnail{margin-bottom:15px;}
.team-grid-member-thumbnail img{max-width:75%;}
.single-team article{display:flex;justify-content:space-between;padding-top:50px;}
.single-team article .team-sidebar{flex:0 0 25%;margin-left:50px;}
ul.team-members{margin-top:15px;margin-bottom:15px;}
.team-member-job-title{font-weight:300;text-transform:uppercase;letter-spacing:2px;}
.single-team header.entry-header{margin-bottom:0;margin-top:0;}
.single-team div.entry-content{margin-bottom:50px;}
.team-member-thumbnail{float:left;margin-right:25px;}
.team-member-thumbnail img{max-width:150px;border:1px solid #000;}
.single-team h1.entry-title{margin-top:0;padding-top:0;}

@media screen and (max-width:767px){
	.single-team article .team-sidebar{flex:0 0 100%;margin-left:0;}
	.single-team article{flex-wrap:wrap;padding-top:25px;}
	.single-team div.entry-content{margin-bottom:25px;}
	.team-member-thumbnail img{max-width:75px;}
  .team-members-grid{gap:25px;}
  .team-grid-member{flex:0 0 calc(50% - 25px);}
}

/* Investment */
.i-list p,.i-list ul{margin-bottom:1.5em !important}
