/*
Theme Name: ITCS Agent Pro Bootstrap
Theme URI: https://www.itcs.co.uk/
Author: ITCS
*/

:root {
    --yellow: #d0a933;
    --grey: #1f1f1f;
    --gray: #1f1f1f;
    --black: #0f0f0f;
    --soft-black: #181818;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
}

body {
    margin: 0;
    font-family: 'Kumbh Sans', sans-serif;
    line-height: 1.5 !important;
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
}

.container {}

.row {
    margin: 0px !important;
}

.container-fluid {
    padding: 0px !important;
}

p,
ul {}

b,
strong {}

a {}

.nav-link:hover {
    color: var(--yellow);
}

a:hover {}

.btn {}

.btn a {}

.btn a:hover {}

img {
    max-width: 100%;
    height: auto;
}

img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.col-12.col-md-12.col-lg-10.offset-lg-1 {
    flex: 0 0 auto !important;
    width: 66.66666667% !important;
    margin-left: 16.66666667% !important;
}






*.brett-underline {
    position: relative;
}

.brett-underline:before {
    content: "";
    position: relative;
    width: 100%;
    height: 2.45em;
    left: 0;
    width: 100%;
    z-index: -10;
    background-image: url('https://res.cloudinary.com/dztuxvl4l/image/upload/v1561346293/unitingline-anim_tje077_hdw2p5.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.brett-underline:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2.45em;
    left: 0;
    width: 100%;
    z-index: -10;
    background-image: url('https://res.cloudinary.com/dztuxvl4l/image/upload/v1561346293/unitingline-anim_tje077_hdw2p5.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}





















/* Header */

#header {
    background: var(--black);
    color: var(--white);
    padding: 12px 0 10px;
}

#header-col4 {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* #header-col1 {
    justify-content: center;
    display: flex;
} */

#header-col2 {
    justify-content: flex-start;
    display: flex;
    align-items: center;
}

#header-col3 {
    justify-content: center;
    display: flex;
}

.company-logo {
    height: 76px;
    width: auto;
}

.company-addr,
.company-phone {
    display: flex;
    height: 100%;
    align-items: center;
    color: var(--yellow);
    text-decoration: none;
}

#header i {
    color: var(--yellow);
    font-size: 24px;
}

.company-addr-l p,
.company-phone-l p {
    font-size: 11px;
    margin-bottom: 0;
}

.company-addr-l h4,
.company-phone-l h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-brand .company-addr {
    height: auto;
    justify-content: center;
    margin-top: 5px;
    color: var(--yellow);
}

.header-brand .company-addr-l,
.header-brand .company-addr-l * {
    color: var(--yellow) !important;
    font-size: 11px;
    line-height: 1.25;
}

.company-phone:hover {
    color: var(--yellow);
}

.header-socials .socialmedia-link {
    margin-top: 0;
}

.header-socials {
    padding-right: 17%;
}

.company-addr-r,
.company-phone-r {
    margin-left: 8px;
}

#header button {
    background: var(--yellow);
}

#header button p {
    margin-bottom: 0;
    padding: 7px 12px;
}

#header button {
    background: var(--yellow);
    border: none;
    border-radius: 3px;
}

.header-valuation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: #000;
    border: none;
    border-radius: 2px;
    min-height: 34px;
    min-width: 150px;
    padding: 8px 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
}

.header-valuation-button:hover {
    color: #000;
    background: #f0c54b;
}


/* End Header */


/* Nav */

.navbar {
    background-color: var(--soft-black);
    border-top: 3px solid var(--yellow);
    justify-content: center;
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-link {
    color: #ffff;
    text-transform: uppercase;
    margin-right: 25px;
}

#mega-menu-wrap-header-menu {
    width: 100%;
    background: transparent;
}


#mega-menu-header-menu {
    margin-left: 11% !important;
}

.mega-menu-link {
    background: transparent !important;
}

.mega-menu-item {
    margin-right: 3% !important;
}



#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    font-size: 15px !important;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu {
    padding-left: 12.5% !important;
}

/* End Nav */



/* Home Page */
.home-s1 {
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-s1:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.homes1-content {
    position: relative;
    z-index: 1;
}

#home-search-top-bar #search-form-tool-area {
    height: 50px;
}

.homes1-content {
    color: #fff;
}

.home-s2 {
    background: var(--grey);
}

.homes2-accred-repeater-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homes2-accred-repeater-inner img {
    height: 50px;
}

.homes2-accred-repeater-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0px;
    text-align: center;
}

.homes2-accred-repeater-inner img {
    height: 45px;
}

.homes2-accred1 p {
    color: #fff;
    font-size: 24px;
    text-align: center;
}

#header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-s3 .card img {
    width: 110px;
    margin: auto;
}

.home-s3 .card {
    /* padding: 40px; */
    padding: 30px 20px;
}

.home-s3 {
    padding: 50px 0px;
    background: var(--soft-black);
    color: #fff;
}

.home-s3 .card {
    color: #111;
}

.hs3-content {
    margin-bottom: 50px;
}

.home-s3-inner {
    padding: 0px 30px;
}

.home-s4 {
    background: var(--soft-black);
    color: #fff;
    padding: 48px 0px;
    text-align: center;
}

#homevaluation-form .wpcf7-text,
#homevaluation-form .wpcf7-email {
    border-radius: 3px;
    width: 95%;
    padding: 5px 10px;
}


#homevaluation-form .wpcf7-submit {
    width: 100%;
    background: var(--yellow);
    border: none;
    padding: 5px 0px;
    border-radius: 3px;
}

#wpcf7-f116-o1 {
    width: 100%;
}

.hvf-1 .wpcf7-form-control {
    width: 100% !important;
}




.home-s5 {
    padding: 48px 0px;
    text-align: center;
    background: var(--black);
    color: #fff;
}

.home-s5 h2 {
    margin-bottom: 40px;
}





/* End Home Page */

/* Footer */
footer {
    background: var(--grey);
    color: #fff;
    padding: 70px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer .widget-title {
    color: var(--yellow);
    font-size: 17px;
    margin-bottom: 20px;
}

footer .textwidget p {
    margin-bottom: 5px;
}

#footer-col-1 .textwidget {
    margin-top: 20px;
    width: 80%;
}

.social-media-row {
    display: flex;
}


.socialmedia-link {
    margin: 0px 10px;
}

.socialmedia-link i {
    font-size: 15px;
    color: #fff;
}

.socialmedia-link {
    margin: 30px 2px 0px 10px;
    background: var(--yellow);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sml-1 {
    margin-left: 0;
}



.foot {
    background: var(--grey);
    color: #fff;
    padding-top: 20px;
}

.foot a {
    color: #fff;
    text-decoration: none;
}

.foot a:hover {
    color: #ec1b22;
}

/* End Footer */

/* Internal Pages */
.sell-your-home .page-title-row {
    height: 40vh !important;
}

.about-s2 {
    background: var(--grey);
}

.abouts2-accred-repeater-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0px;
    text-align: center;
}

.abouts2-accred1 p {
    color: #fff;
    font-size: 24px;
    text-align: center;
}



.about-s1 {
    margin: 50px 0px;
}

.as1-embedd iframe {
    width: 100%;
    height: 700px;
}

.internal-page .page-title-row {
    background-size: cover;
    background-position-x: center;
    height: 35vh;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    background-position-y: center;
}


.page-title-inner {
    margin: 0px 9%;
}

.page-title-inner {
    /* margin: 0px 9%; */
    margin: 0;
    color: #fff;
}

.pt-upper {
    font-size: 20px;
}

.agent-r p {
    font-size: 18px;
}

.a-areas {
    font-weight: 300;
}


.a-role {
    color: var(--gray);
}

.a-name {
    margin-bottom: 0;
}

.agent-hr {
    width: 100%;
    height: 2px;
    background-color: var(--yellow);
}

.a-specialities {
    margin-top: 1rem;
}

.agent-r ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 20px;
    list-style: none;
    padding-left: 0;
}

.agent-r ul li::before {
    content: '✓';
    color: var(--yellow);
    font-weight: bolder;
    padding-right: 10px;
    font-size: 20px;
}

.a-tel span {
    float: right;
}

.a-tel a {
    color: #000
}

.abouts1-agent-repeater-inner {
    margin-top: 20px !important;
}

.cs1-phone {
    display: flex;
}

.cs1-phone p {
    display: none;
}

.cs1-phone h4 {
    font-size: 16px;
    margin-bottom: 0px;
    line-height: normal;
}

.cs1-email p {
    display: none;
}

.cs1-email h4 {
    font-size: 16px;
    margin-bottom: 0px;
    line-height: normal;
}

.cs1-address h4 {
    font-size: 16px;
    margin-bottom: 0px;
    line-height: normal;
}

.cs1-address {
    display: flex;
}

.cs1-address h4 {
    margin-right: 5px;
}

.cs1-address h4 {
    font-size: 16px;
}

.cs1-address h4 {
    font-size: 16px;
    font-family: 'Kumbh Sans', sans-serif;
    line-height: inherit;
}

.cs1-card {
    background: var(--grey);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: -100px;
    margin-bottom: 50px;
}

.cs1-phone {
    font-weight: lighter;
}

.cs1-phone a {
    font-weight: lighter;
    color: inherit;
    text-decoration: none;
}

.cs1-phone h4 {
    font-weight: lighter;
}

.cs1-email {
    font-weight: lighter;

}

.cs1-email a {
    font-weight: lighter;
    color: inherit;
    text-decoration: none;
}

.cs1-address {
    font-weight: lighter;
}

.cs1-address a {
    font-weight: lighter;
}

.cs1-address h4 {
    font-weight: lighter;
}

.cs1-address p {
    margin-bottom: 0;
}

.cs1-opening {
    font-weight: lighter;
}

.cs1-opening a {
    font-weight: lighter;
}

#contactform .wpcf7-text {
    width: 100%;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}


#contactform .wpcf7-textarea {
    width: 100%;
    height: 100px;
    border-radius: 5px;
    border: none;
    padding: 5px 10px;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: var(--yellow);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
}

.internal-page.contact-page .page-title-row {
    height: 40vh;
}

.syh-4 {
    background: var(--grey);
}

.syh-2 .hvf-1 .wpcf7-form-control {
    width: 95% !important;
}

.syh-1 {
    position: absolute;
    width: 100%;
}

.syh-1 .card img {
    width: 80px;
    margin: auto;
}

.syh-1 .card-content p {
    color: grey;
}

.syh-card {
    border-radius: 10px;
    height: 180px;
}

.syh-2 {
    background-color: var(--grey);
    color: #fff;
}

.syh-2 .syh-2-inner {
    padding: 150px 0px 20px 0px;
}

.sell-your-home .page-title-inner {
    margin: 0px;
}

.sell-your-home .page-title-row {
    justify-content: left;
}




.syh-3 {
    padding: 100px 0px;
}

.syh-r h3 {
    font-weight: bold;
    font-size: 18px;
}

.syh-r p {
    font-size: 14px;
    color: gray;
}


.syh-l,
.syh-r {
    margin-bottom: 15px;
}

.syh-l img {
    width: 25px;
}



.syh-l {
    display: flex;
    align-items: center;
    justify-content: center;
}

.syh3-left h4 {
    font-size: 18px;
    color: gray;
}

.syh3-left h3 {
    margin: 40px 0px;
    font-size: 40px;
}

.syh3-brett-underline {
    height: 2px;
    width: 15%;
    background-color: var(--yellow);
}

.syh5-bottom-content button {
    width: 100%;
    background: var(--yellow);
    border: none;
}

.syh-5 {
    padding: 50px 0px;
}

.syh-7 .accordion-button::after {
    position: absolute;
    left: 4px;
}

.syh-7 .accordion-button p {
    margin: 0px 0px 0px 10px;
}




.syh-7 {
    padding: 80px 0px;
}


.lyh-s2 {
    background: var(--grey);
}


.lyh-s3 {
    padding: 50px 0px;
}


.syh5-bottom-content .col-12.col-md-4 {
    padding: 0;
}

.syh3-bottom-content .col-12 {
    padding: 0;
}

.lyh-4 {
    background: var(--grey);
    color: #fff;
}

.lyh-4 p {
    font-size: 20px;
}

.lyh4-box {
    text-align: center;
}

.lyh-4 {
    background: var(--grey);
    color: #fff;
    padding: 50px 0px;
}

.lyh4-box img {
    width: 30px;
    margin-bottom: 20px;
}

.lyhb4-3,
.lyhb4-4 {
    margin-top: 50px;
}

.lyh4-box {
    text-align: center;
    padding: 0px 40px;
}

.lyh-5 {
    padding: 50px 0px;
}

.lyh5-content li {
    margin-bottom: 20px;
}


.lyh5-content li::before {

    padding-right: 10px;
}

.lyh-7 {
    padding: 80px 0px;
}

.lyh7-content h2 {
    font-weight: 500;
    font-size: 44px;
}

.lyh7-content p {
    font-size: 18px;
    color: gray;
}

.lyh7-content h2 {
    font-weight: 500;
    font-size: 44px;
}

.lyh7-content p {
    font-size: 18px;
    color: gray;
}

.lyh-7 .accordion-button::after {
    position: absolute;
    left: 4px;
}

.lyh-7 .accordion-button p {
    margin: 0px 0px 0px 10px;
}



.syh5-box {
    text-align: center;
}

.syh-6 {
    background: var(--grey);
    color: #fff;
    padding: 50px 0px;
}

.syh5-box img {
    width: 30px;
    margin-bottom: 20px;
}

.syh6-3,
.syh6-4 {
    margin-top: 50px;
}

.syh6-box {
    text-align: center;
    padding: 0px 40px;
}

.syh6-box img {
    width: 30px;
    margin-bottom: 20px;
}




.sell-your-home .page-title-inner h1 {
    margin: 50px 0px 0px 0px;
}

.page-title-inner h1:last-of-type {
    font-size: 65px;
}


.sell-your-home .page-title-row {
    background-size: cover;
    background-position-x: center;
    /* height: 35vh; */
    display: flex;
    align-items: normal;
    /* justify-content: center; */
    background-position-y: center;
}




.syh2-content h3 {
    margin-bottom: 30px;
}


.syh2-content p {
    margin-bottom: 25px;
}

#about-contact .wpcf7-form-control {
    width: 100%;
    height: 40px;
}

#about-contact .col-12 {
    padding: 0px 5px;
}

#about-contact .wpcf7-select {
    height: 30px;
}

#about-contact .wpcf7-submit {
    color: #000;
}


#about-contact .wpcf7-select {
    height: 40px;
    background: #fff;
    border: 2px inset ButtonBorder;
}


/* End Internal Pages */

/* Property Search Page */

.property-search-img {
    object-fit: cover;
    min-height: 300px;
    border-radius: 8px 8px 0px 0px;
}



.pd-l {
    text-align: left;
    display: flex;
}

.pd-r {
    text-align: right;
}

.prop-link {
    text-decoration: none !important;
}

.pd-l i {
    margin-right: 5px;
}

.prop-deets i {
    color: var(--yellow);
}

.prop-deets p {
    font-weight: 300;
}


.prop-deets {
    border-radius: 0px 0px 8px 8px;
    margin-bottom: 50px;
    padding: 14px 10px;
    min-height: 132px;
}

.prop-deets p {
    margin-bottom: 6px;
}

.lyh-6 {
    padding: 50px 0px;
    background-color: var(--grey);
    color: #fff;
}

#search-form-tool-submit {
    width: 100%;
    border-radius: 4px;
    background-color: var(--yellow);
    border: none;
    margin: 0;
    height: 100%;
    float: left;
}

#home-search-top-bar .form-group.col-12.col-md-1.col-lg-1 {
    padding-left: 0;
}

#home-search-top-bar {
    position: relative;
    z-index: 2;
}

#home-search-top-bar #search-form-tool-area {
    border: none;
    border-radius: 0;
    font-size: 17px;
    padding: 0 24px;
}

#search-form-tool {
    background: var(--soft-black);
    color: #fff;
    border: 4px solid var(--yellow);
    border-radius: 3px;
    margin-top: 16px;
    padding: 16px 20px;
}

#home-property-search-tool {
    min-height: 0;
    background: var(--black);
    color: #fff;
    padding-bottom: 34px;
}



#search-form-tool label {
    margin-bottom: 5px;
}


.featured-card {
    padding: 0px 10px;
    color: #000;
}

.featured-properties-image a {
    text-decoration: none !important;
}

.view-all-props {
    width: 50%;
    border-radius: 2px;
    background-color: var(--yellow);
    border: none;
    margin: 10px 0px;
    float: right;
    color: #000;
    padding: 10px;
}

.home-property-spotlight {
    background: var(--black);
    color: #fff;
    padding: 22px 0 56px;
}

.property-spotlight-heading {
    align-items: center;
    margin-bottom: 22px !important;
}

.home-property-spotlight h3 {
    margin-bottom: 0;
    text-transform: uppercase;
}

.home-property-spotlight .carousel {
    padding: 0 36px;
}

.home-property-spotlight .carousel-control-prev,
.home-property-spotlight .carousel-control-next {
    width: 38px;
}

.home-property-spotlight .carousel-control-prev-icon,
.home-property-spotlight .carousel-control-next-icon {
    background-color: var(--yellow);
    border-radius: 50%;
    background-size: 58%;
    width: 34px;
    height: 34px;
}

.home-property-spotlight .property-search-img {
    width: 100%;
    min-height: 210px;
    height: 210px;
    object-fit: cover;
}

.property-empty-message {
    color: #fff;
}

.home-video-anchor {
    display: block;
    height: 1px;
    background: var(--black);
}

.home-team-section {
    background: var(--black);
    color: #fff;
    padding: 48px 0 54px;
}

.home-team-content {
    max-width: 760px;
    margin: 0 auto;
}

.home-team-content h2 {
    margin-bottom: 18px;
}

.home-team-content p {
    font-size: 17px;
    margin-bottom: 24px;
}

.home-team-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: #000;
    padding: 10px 28px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
}

.home-team-link:hover {
    color: #000;
    background: #f0c54b;
}


.wpmtst-testimonial-field.testimonial-field {
    width: 100% !important;
    justify-content: center;
    display: flex;
}

.syh-7 .accordion-button {
    padding-left: 30px;
}


.hvf-4 .wpcf7-form-control {
    width: 100% !important;
}

.syh5-bottom-content a {
    text-decoration: none;
    color: #F55EA4;
}

.lyh5-content li::marker {}

/* End Property Search Page */

/* Property Page */
#property-features ul {
    column-count: 2;
    list-style: square;
}

.social-media-row.footer-socials {
    justify-content: end;
}

#property-enquiry .wpcf7-form-control {
    width: 100%;
    padding: 7px;
    font-size: 12px;
}

#property-enquiry .wpcf7-list-item {
    margin: 0;
}

#all-property-info .card-header {
    background: transparent;
}

#property-overview .p-overview-id {
    float: right;
}

#all-property-info .card-header {
    background: transparent;
    border-bottom: 1px solid var(--yellow);
}

#all-property-info .card {
    margin-bottom: 30px;
    border-radius: 0px !important;
    border: none;
}

#property-overview {
    margin-bottom: 0 !important;
}

.p-agent-contact span {
    color: grey;
}



#letyourhome .wpcf7-form-control {
    width: 98%;
    height: 40px;
    padding: 0px 10px;
}

#letyourhome .col-12.col-md-3 {
    padding: 0px;
    margin: auto;
    justify-content: center;
}


#letyourhome .col-12 {
    padding: 0;
}

#letyourhome .wpcf7-submit {
    width: 100%;
    color: #000;
}

.lyh-s1 {
    padding: 50px 0px;
}

#wpcf7-f311-o1 {
    padding: 0;
}

#wpcf7-f311-o2 {
    padding: 0;
}

#tab-viewing {
    background: #fff;
    padding: 20px 10px;
    border: none;
}

.property-title {
    margin-top: 20px;
}

.badges-row .badge {
    color: #000;
    font-size: 18px;
    font-weight: normal;
}

.badges-row .badge p {
    color: #000 !important;
}

.badges-row .badge i {
    color: var(--yellow);
}

.badges-row .badge {
    color: #000;
    font-weight: normal;
    text-align: left;
}

.pagination .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--yellow);
    border-color: var(--yellow);
}

#home-search-top-bar {
    margin-top: -100px !important;
}


.accordion-button:not(.collapsed)::after {
    background-image: url('/wp-content/uploads/2024/03/minus.png') !important;
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button::after {
    background-image: url('/wp-content/uploads/2024/03/plus.png') !important;

}

.lyh-s3 .syh3-top-content {
    margin-bottom: 50px;
}


.lyh5-content ul {
    list-style-image: url('/wp-content/uploads/2024/03/check-e1709549983611.png');
}

.lyh5-content li strong {
    position: relative;
    top: -20px;
}

.lyh5-content li em {
    font-style: inherit;
    position: relative;
    top: -20px;
}

.about .hs4-content h1 {
    margin-bottom: 10px;
}

.property-search #search-form-tool-submit {
    height: auto;
    padding: 7px;
}

.prop-badge {
    position: absolute;
    top: 5px;
    left: 20px;
    background: var(--yellow);
    color: #fff;
    padding: 5px;
    text-transform: uppercase;
}

#all-property-info .col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: 77%;
    margin-left: 15%;
}


/* End Property Page */

/***********************************************************

                    RESPONSIVENESS

************************************************************/
/* // Devices 1600px and up */
@media (min-width: 1600px) {}

/* // Devices 1450px and up */
@media (min-width: 1440px) {
    #bs-example-navbar-collapse-1 {
        margin-left: 9%;
    }

    .home-s1 h1 {
        font-size: 62px;
    }

    .home-s1 p {
        font-size: 20px;
    }

    .page-title {
        font-size: 70px;
    }

    .syh-1 {
        margin-top: -100px;
    }

    .syh3-left {
        padding: 60px 0px;
    }

    .syh5-bottom-content,
    .syh5-bottom-content button {
        margin-top: 50px;
    }

    .syh7-content h2 {
        font-weight: 500;
        font-size: 44px;
    }

    .syh7-content p {
        font-size: 18px;
        color: gray;
    }




}

/* // Large devices (desktops, between 993px and 1450px) */
@media (min-width: 993px) and (max-width: 1440px) {

    #header .col-12 {
        flex: 0 0 auto !important;
        /* width: 100% !important; */
        margin-left: 0% !important;
    }

    .col-12.col-md-12.col-lg-10.offset-lg-1 {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-left: 0% !important;
    }

    .col-12.col-md-12.col-lg-8.offset-lg-2 {
        width: 80% !important;
        margin-left: 10% !important;
    }


    #mega-menu-header-menu {
        margin-left: 3% !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu {
        padding-left: 0 !important;
    }

    .header-socials {
        padding-right: 0;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
        font-size: 13px !important;
    }

    .col-12.col-md-10.col-lg-8.offset-md-1.offset-lg-2 {
        width: 80%;
        margin-left: 10%;
    }

    #search-form-tool-submit {
        font-size: 14px;
    }


    .homes2-accred-repeater-inner img {
        height: auto;
    }

    .homes2-accred1 p {
        font-size: 19px;
    }

    .home-s3 h3 {
        font-size: 23px;
    }

    .home-s3 p {
        font-size: 12px;
    }

    .home-s3 p br {
        display: none;
    }

    .home-s3 img {
        width: 80px;
        margin: auto;
    }

    .home-s3 .card-content {
        padding: 0px 5px;
    }

    footer {
        padding: 50px 0px;
    }

    .syh-1 {
        /* margin-top: -100px; */
        margin-top: -60px;

    }


    .syh-1 .card-content h3 {
        font-size: 18px;
    }

    .syh-1 .card-content p {
        font-size: 14px;
    }

    .syh-1 .card-content br {
        display: none;
    }


    .syh6-box {
        padding: 0px;
    }


    .lyh4-box {
        padding: 0px;
    }

    .syh6-M,
    .lyh4-M {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cs1-address {
        display: block;
    }


    .cs1-address h4 {
        text-align: left !important;
    }

    .cs1-address p {
        margin-bottom: 0;
        text-align: left !important;
    }


    .property-search-img {
        min-height: 200px;
    }

    .prop-deets .px-2.m-2 {
        margin: 0 !important;
    }

    .pd-r {
        text-align: center;
        display: flex;
    }

    #property-enquiry .wpcf7-textarea {
        height: 100px;
    }

    .social-media-row.footer-socials {
        justify-content: end;
    }


}

/* // Large devices (desktops, between 767px and 992px) */
@media (min-width: 767px) and (max-width: 992px) {


    .home-s1 h1 {
        font-size: 64px;
    }



    .col-12.col-md-12.col-lg-10.offset-lg-1 {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-left: 0% !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu {
        padding-left: 0% !important;
        width: 100%;
        margin-left: 50px !important;
    }

    .header-socials {
        padding-right: 0;
    }


    #header-inner .col-12.col-md-12.col-lg-3 {
        text-align: center;
        margin-bottom: 10px;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
        font-size: 12px !important;
        padding: 0;
    }

    #search-form-tool-submit {
        width: 100%;
    }

    .home-s3 .card p {
        font-size: 12px;
        text-align: center !important;
    }

    .home-s3 .card p br {
        display: none;
    }

    footer {
        padding: 20px;
    }

    .about-s1 li {
        font-size: 12px;
    }

    .syh-1 {
        margin-top: -100px;
    }


    .syh-1 .card-content h3 {
        font-size: 18px;
    }

    .syh-1 .card-content p {
        font-size: 12px;
    }

    .syh-1 .card-content p br {
        display: none;
    }

    .syh6-box {
        padding: 0px;
    }


    .lyh4-box {
        padding: 0px;
    }

    .syh6-M,
    .lyh4-M {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cs1-card {
        margin: auto;
        border-radius: 0;
        padding: 0;
    }

    .contacts1 .col-12.col-md-12.col-lg-8.offset-lg-2 {
        padding: 0;
    }


    .cs1-address {
        display: block;
    }


    .cs1-address h4 {
        text-align: left !important;
    }

    .cs1-address p {
        margin-bottom: 0;
        text-align: left !important;
    }

    #contactform {
        margin: 20px 0px;
    }


    .property-search-img {
        min-height: 200px;
    }

    .prop-deets .px-2.m-2 {
        margin: 0 !important;
    }

    .pd-r {
        text-align: center;
        display: flex;
    }

    #property-enquiry .wpcf7-textarea {
        height: 100px;
    }

    .social-media-row.footer-socials {
        justify-content: end;
    }
}

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 766px) {

    .social-media-row {
        width: 100%;
    }

    #mega-menu-wrap-header-menu .mega-menu-toggle {
        background: #3b3b3b;
    }


    .company-addr,
    .company-phone {
        margin-top: 10px;
    }

    .company-addr h4,
    .company-addr p {
        font-size: 12px;
    }


    .company-phone h4,
    .company-phone p {
        font-size: 12px;

    }

    #header button {
        width: 100%;
        margin-bottom: 10px;
    }

    .header-socials {
        width: 100%;
    }

    .header-socials {
        width: 100%;
        margin-top: 10px;
        display: none;
    }

    .page-title-row {
        padding: 10px;
    }

    #header-col1 {
        text-align: center;
    }

    .homes1-content h1 {
        font-size: 40px;
    }

    .syh-1 {
        position: inherit;
    }


    .syh-card {
        margin: 10px 0px;
    }

    .syh-2 .syh-2-inner {
        padding: 10px;
    }


    #homevaluation-form .wpcf7-text,
    #homevaluation-form .wpcf7-email {
        width: 100% !important;
    }

    .syh-3 {
        padding: 10px;
    }

    .syh3-left h3 {
        font-size: 30px;
    }

    .homes2-accred-repeater-inner img {
        height: auto;
    }


    footer {
        padding: 10px;
    }

    #footer-col-2,
    #footer-col-3,
    #footer-col-4 {
        margin-top: 30px;
    }


    .home-s3 .card {
        padding: 20px;
        margin: 10px 0px;
    }


    .home-s3-inner {
        padding: 0px 10px;
    }


    .abouts2-accred-repeater-inner img {
        margin: 5px 0px;
    }

    .agent-r ul {
        grid-template-columns: 1fr;
    }


    .cs1-card {
        margin: auto;
        border-radius: 0;
        padding: 10px 0;
    }

    .contacts1 .col-12.col-md-12.col-lg-8.offset-lg-2 {
        padding: 0;
    }


    .cs1-address {
        display: block;
    }


    .cs1-address h4 {
        text-align: left !important;
    }

    .cs1-address p {
        margin-bottom: 0;
        text-align: left !important;
    }

    #contactform {
        margin: 20px 0px;
    }




    #home-property-search-tool {
        height: auto;
    }




    #search-form-tool {
        margin-top: auto;
    }

    #search-form-tool-submit {
        width: 100%;
    }

    #home-search-top-bar {
        margin-top: 20px !important;
    }

    #search-form-tool {
        margin-top: 20px;
    }

    .col-12.col-md-12.col-lg-10.offset-lg-1 {
        width: 100% !important;
        margin-left: 0% !important;
    }




    #home-search-top-bar .form-group.col-12.col-md-11.col-lg-11 {
        padding: 0px 0px;
    }

    #home-search-top-bar .form-group.col-12.col-md-1.col-lg-1 {
        padding: 0 !important;
    }

    .page-title {
        font-size: 33px;
    }


    .prop-deets .pd-r {
        text-align: left;
    }

    .badges-row {
        text-align: left !important;
    }


    #property-overview .card-body {
        padding: 0px;
    }

    .internal-page.contact-page .page-title-row {
        height: auto;
    }





    .page-title-inner h1:last-of-type {
        font-size: 31px !important;
    }




    .sell-your-home .page-title-row {
        height: auto !important;
    }

    #mega-menu-header-menu {
        width: 100% !important;
        margin: auto !important;
    }



}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {}

/* Brett homepage refinements */
#header-inner {
    min-height: 96px;
}

#header-col1,
#header-col2,
#header-col4 {
    min-height: 96px;
}

.company-phone-l {
    text-align: right;
}

#home-search-top-bar {
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

#search-form-tool {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.home-property-spotlight .featured-props,
.home-team-section .col-12.col-md-10.col-lg-8,
.home-s4 .col-12.col-md-12.col-lg-8,
.home-s5 .col-12.col-md-12.col-lg-8 {
    max-width: 920px;
}

.home-property-spotlight .featured-properties-row {
    margin-bottom: 16px;
}

.home-property-spotlight .prop-deets {
    background: #fff;
    color: #111;
}

.home-property-spotlight .pd-l,
.home-property-spotlight .pd-r {
    align-items: flex-start;
}

.home-property-spotlight .pd-r {
    justify-content: flex-end;
}

.home-s3 .card,
.home-s4 .card {
    border-radius: 4px;
}

@media (min-width: 993px) {
    #header .col-12.col-md-12.col-lg-10.offset-lg-1 {
        width: 78% !important;
        margin-left: 11% !important;
    }
}

/* Final homepage production pass */
body.home .container-fluid,
.home .container-fluid {
    background: var(--black);
}

.home-s1,
#home-property-search-tool,
.home-property-spotlight,
.home-video-section,
.home-team-section,
.home-s3,
.home-s4,
.home-s5 {
    --home-container: min(1000px, calc(100vw - 40px));
}

.home-s1 {
    height: 560px;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.home-s1:before {
    background: rgba(0, 0, 0, 0.38);
}

.homes1-content {
    width: var(--home-container);
    max-width: var(--home-container);
    padding: 0;
}

.homes1-content h1,
.home-s1 h1 {
    max-width: 980px;
    margin: 0 auto 16px;
    font-size: clamp(42px, 4.5vw, 64px);
    line-height: 1.08;
    text-wrap: balance;
}

.homes1-content p,
.home-s1 p {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.48;
    text-wrap: balance;
}

#home-property-search-tool {
    margin-top: -92px !important;
    padding: 0 0 64px;
    background: linear-gradient(to bottom, transparent 0 92px, var(--black) 92px 100%);
}

#home-property-search-tool>.col-12.col-md-10.col-lg-8.offset-md-1.offset-lg-2 {
    width: var(--home-container) !important;
    max-width: var(--home-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

#home-property-search-tool form {
    width: 100%;
}

#home-search-top-bar {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
}

#home-search-top-bar .form-group {
    margin: 0 !important;
    padding: 0 !important;
}

#home-search-top-bar .form-group:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

#home-search-top-bar .form-group:last-child {
    flex: 0 0 64px;
    width: 64px !important;
    max-width: 64px !important;
}

#home-search-top-bar #search-form-tool-area {
    display: block;
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    border: 0 !important;
    border-radius: 2px 0 0 2px !important;
    padding: 0 24px !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

#home-search-top-bar #search-form-tool-submit {
    width: 64px !important;
    height: 60px !important;
    min-height: 60px !important;
    border-radius: 0 2px 2px 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    font-size: 16px;
}

#search-form-tool {
    width: 100%;
    max-width: none;
    margin: 16px 0 0 !important;
    padding: 18px 22px !important;
    border: 3px solid var(--yellow);
    border-radius: 0;
    background: rgba(24, 24, 24, 0.98);
}

#search-form-tool .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
    row-gap: 16px;
}

#search-form-tool .form-group {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 0 !important;
}

#search-form-tool label {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
}

#search-form-tool .form-select,
#search-form-tool .form-control {
    height: 42px;
    min-height: 42px;
    border-radius: 3px;
    font-size: 14px;
}

.home-property-spotlight,
.home-video-section,
.home-team-section,
.home-s3,
.home-s4,
.home-s5 {
    padding-left: 0;
    padding-right: 0;
}

.home-property-spotlight>.row>.col-12,
.home-video-section>.row>.col-12,
.home-team-section>.row>.col-12,
.home-s3>.row>.col-12,
.home-s4>.row>.col-12,
.home-s5>.row>.col-12 {
    width: var(--home-container) !important;
    max-width: var(--home-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home-property-spotlight {
    padding-top: 34px;
    padding-bottom: 76px;
}

.property-spotlight-heading {
    align-items: center;
    margin-bottom: 28px !important;
}

.property-spotlight-heading h3,
.home-team-content h2,
.home-video-copy h2,
.home-s4 h1,
.home-s4 h2,
.home-s5 h2 {
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.18;
    margin-bottom: 0;
}

.view-all-props {
    min-width: 190px;
    height: 44px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    font-size: 12px;
}

.home-property-spotlight .carousel {
    padding: 0 52px;
}

.home-property-spotlight .carousel-item>.row {
    margin-left: -14px !important;
    margin-right: -14px !important;
}

.home-property-spotlight .featured-properties-row {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.home-property-spotlight .prop-link {
    height: 100%;
}

.home-property-spotlight .property-search-img {
    height: 250px;
    min-height: 250px;
}

.home-property-spotlight .prop-deets {
    min-height: 170px;
    padding: 18px;
}

.home-video-section {
    background: var(--soft-black);
    color: #fff;
    padding-top: 76px;
    padding-bottom: 76px;
}

.home-video-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: 42px;
    align-items: center;
}

.home-video-copy p {
    max-width: 430px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.home-video-frame {
    background: #050505;
    border: 1px solid rgba(208, 169, 51, 0.32);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-video-frame iframe,
.home-video-frame video,
.home-video-frame embed {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.home-team-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.home-team-content {
    max-width: 760px;
}

.home-s3,
.home-s4,
.home-s5 {
    padding-top: 76px;
    padding-bottom: 76px;
}

.home-s3 .row.home-s3-inner {
    margin-left: -16px !important;
    margin-right: -16px !important;
    row-gap: 32px;
}

.home-s3 .row.home-s3-inner>.col-12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.home-s3 .card {
    min-height: 320px;
    padding: 38px 30px;
}

.hs4-content,
.home-s4-inner,
.home-s5-inner {
    width: 100%;
    max-width: 880px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hs4-content {
    margin-bottom: 34px;
}

#homevaluation-form {
    width: 100%;
}

#homevaluation-form .row,
.home-s4-inner .row {
    row-gap: 14px;
}

#homevaluation-form .wpcf7-text,
#homevaluation-form .wpcf7-email,
#homevaluation-form input[type="text"],
#homevaluation-form input[type="email"] {
    height: 42px;
    min-height: 42px;
}

#homevaluation-form .wpcf7-submit {
    height: 42px;
    min-height: 42px;
}

@media (max-width: 992px) {

    .home-s1,
    #home-property-search-tool,
    .home-property-spotlight,
    .home-video-section,
    .home-team-section,
    .home-s3,
    .home-s4,
    .home-s5 {
        --home-container: min(100% - 28px, 760px);
    }

    .home-video-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .home-video-copy p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 766px) {

    .home-s1,
    #home-property-search-tool,
    .home-property-spotlight,
    .home-video-section,
    .home-team-section,
    .home-s3,
    .home-s4,
    .home-s5 {
        --home-container: calc(100vw - 24px);
    }

    .home-s1 {
        height: 460px;
        min-height: 460px;
    }

    #home-property-search-tool {
        margin-top: -72px !important;
        background: linear-gradient(to bottom, transparent 0 72px, var(--black) 72px 100%);
    }

    #home-search-top-bar .form-group:last-child {
        flex-basis: 56px;
        width: 56px !important;
        max-width: 56px !important;
    }

    #home-search-top-bar #search-form-tool-area,
    #home-search-top-bar #search-form-tool-submit {
        height: 54px !important;
        min-height: 54px !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        width: 56px !important;
    }

    .property-spotlight-heading {
        gap: 18px;
    }

    .view-all-props {
        width: 100%;
        margin-left: 0;
    }

    .home-property-spotlight .carousel {
        padding: 0 28px;
    }
}

/* Property detail layout repair */
#all-property-info .outer-property-container {
    width: min(1080px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 32px 0 18px;
}

#all-property-info .outer-property-container>.row {
    align-items: flex-start;
}

#all-property-info .outer-property-container .col-12.col-md-9.col-lg-9 {
    width: 70% !important;
    max-width: 70% !important;
    flex: 0 0 70% !important;
}

#all-property-info .outer-property-container .col-12.col-md-3.col-lg-3 {
    width: 30% !important;
    max-width: 30% !important;
    flex: 0 0 30% !important;
    padding-left: 22px;
}

#all-property-info .outer-property-container .property-title {
    margin-top: 0;
    margin-bottom: 6px;
}

#all-property-info .outer-property-container .property-title p {
    margin-bottom: 0;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.15;
}

#all-property-info .outer-property-container h2 {
    margin-bottom: 12px;
}

#property-carousel {
    background: #111;
}

#property-carousel .carousel-item img {
    width: 100%;
    height: 500px;
    min-height: 500px;
    object-fit: cover;
}

#tab-viewing {
    background: #fff;
    color: #111;
    padding: 16px;
    border-radius: 0;
    margin-top: 0;
}

#tab-viewing img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 12px;
}

#tab-viewing .p-agent-contact {
    font-size: 12px;
    line-height: 1.35;
}

#property-enquiry .wpcf7-form-control {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 12px;
}

#property-enquiry textarea.wpcf7-form-control,
#property-enquiry .wpcf7-textarea {
    min-height: 120px;
}

#property-enquiry .wpcf7-submit {
    width: 100%;
    background: var(--yellow);
    color: #000;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1080px, 100%) !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: flex;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

#all-property-info .card-body {
    padding: 20px;
}

#property-description .card-body,
#property-features .card-body {
    font-size: 14px;
    line-height: 1.6;
}

#google-maps-placeholder {
    min-height: 420px;
}

#property-brochure embed {
    height: 520px;
    background: #2f2f2f;
}

@media (max-width: 992px) {

    #all-property-info .outer-property-container .col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container .col-12.col-md-3.col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0;
    }

    #all-property-info .outer-property-container .col-12.col-md-3.col-lg-3 {
        margin-top: 18px;
    }

    #property-carousel .carousel-item img {
        height: 420px;
        min-height: 420px;
    }

    #tab-viewing {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 766px) {
    #all-property-info {
        padding-left: 12px;
        padding-right: 12px;
    }

    #property-carousel .carousel-item img {
        height: 300px;
        min-height: 300px;
    }

    #all-property-info .card-body {
        padding: 15px;
    }
}

@media (max-width: 992px) {
    #header {
        padding: 14px 0;
    }

    #header-inner,
    #header-col1,
    #header-col2,
    #header-col4 {
        min-height: auto;
    }

    #header-col2,
    #header-col4 {
        justify-content: center;
        text-align: center;
        margin-top: 10px;
    }

    .company-phone-l {
        text-align: center;
    }
}

@media (max-width: 766px) {
    .home-s1 {
        height: 54vh;
    }

    #home-property-search-tool {
        padding: 0 12px 34px;
    }

    .home-property-spotlight .carousel {
        padding: 0 28px;
    }

    .home-property-spotlight,
    .home-team-section,
    .home-s4,
    .home-s5 {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Homepage polish pass */
#header {
    padding: 14px 0 12px;
}

#header .col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1120px, 88%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    min-height: 104px;
    gap: 32px;
    align-items: center;
}

#header-col1,
#header-col2,
#header-col4 {
    width: auto !important;
    min-height: auto;
    padding: 0;
}

#header-col2 {
    justify-content: flex-start;
}

#header-col4 {
    justify-content: flex-end;
}

.header-brand {
    min-width: 170px;
}

.company-logo {
    height: 86px;
    object-fit: contain;
}

.header-brand .company-addr {
    margin-top: 8px;
}

.header-brand .company-addr-l,
.header-brand .company-addr-l * {
    color: var(--yellow) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin: 0 !important;
}

.company-phone {
    gap: 10px;
    min-height: 44px;
    align-items: center;
}

.company-phone-l,
.company-phone-l * {
    color: var(--yellow) !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    text-align: right !important;
    margin: 0 !important;
}

.company-phone-l h4 {
    font-size: 15px !important;
}

.company-phone-r {
    margin-left: 0;
}

#header .company-phone-r i {
    font-size: 22px;
}

.header-valuation-button {
    min-width: 170px;
    min-height: 38px;
    padding: 9px 20px;
    font-size: 11px;
    letter-spacing: 0;
    box-shadow: none !important;
}

.navbar {
    min-height: 42px;
}

.navbar-nav,
#mega-menu-header-menu {
    align-items: center;
}

.nav-link,
#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    font-size: 12px !important;
    line-height: 42px !important;
}

.home-s1 {
    height: 520px;
    min-height: 420px;
    align-items: center;
}

.homes1-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.homes1-content h1,
.home-s1 h1 {
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    margin-bottom: 16px;
}

.homes1-content p,
.home-s1 p {
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.45;
    margin-bottom: 0;
}

#home-property-search-tool {
    position: relative;
    z-index: 4;
    margin-top: -86px !important;
    padding: 0 16px 50px;
    background: linear-gradient(to bottom, transparent 0 76px, var(--black) 76px 100%);
}

#home-property-search-tool>.col-12 {
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-search-top-bar {
    max-width: 820px;
    margin: 0 auto !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    align-items: stretch;
}

#home-search-top-bar .form-group {
    padding: 0 !important;
    margin: 0 !important;
}

#home-search-top-bar #search-form-tool-area {
    height: 56px;
    min-height: 56px;
    border: 0;
    border-radius: 2px 0 0 2px;
    font-size: 15px;
    padding: 0 22px;
}

#home-search-top-bar #search-form-tool-submit {
    height: 56px;
    min-height: 56px;
    border-radius: 0 2px 2px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#search-form-tool {
    max-width: 820px;
    margin: 18px auto 0;
    padding: 18px 22px;
    border-width: 3px;
    border-radius: 0;
}

#search-form-tool .row {
    align-items: end;
}

#search-form-tool label {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 8px;
}

#search-form-tool .form-select,
#search-form-tool .form-control {
    min-height: 38px;
    font-size: 13px;
    border-radius: 3px;
}

.home-property-spotlight {
    padding: 44px 16px 72px;
}

.home-property-spotlight .featured-props {
    width: min(880px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.property-spotlight-heading {
    margin-bottom: 28px !important;
}

.home-property-spotlight h3,
.home-team-content h2,
.home-s4 h1,
.home-s4 h2,
.home-s5 h2 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.18;
    letter-spacing: 0;
}

.view-all-props {
    width: auto;
    min-width: 178px;
    float: none;
    margin: 0 0 0 auto;
    display: block;
    padding: 12px 22px;
    font-size: 12px;
    text-transform: uppercase;
}

.home-property-spotlight .carousel {
    padding: 0 42px;
}

.home-property-spotlight .featured-properties-row {
    display: flex;
}

.home-property-spotlight .prop-link {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.home-property-spotlight .property-search-img {
    height: 230px;
    min-height: 230px;
    border-radius: 6px 6px 0 0;
}

.home-property-spotlight .prop-deets {
    flex: 1;
    min-height: 156px;
    padding: 16px;
    border-radius: 0 0 6px 6px;
    margin-bottom: 0;
    display: flex;
    align-items: stretch;
}

.home-property-spotlight .prop-deets .row {
    width: 100%;
    align-content: space-between;
}

.home-property-spotlight .prop-deets p {
    font-size: 13px;
    line-height: 1.35;
}

.home-property-spotlight .pd-l,
.home-property-spotlight .pd-r {
    display: flex;
    align-items: flex-start;
}

.home-property-spotlight .pd-r {
    justify-content: flex-end;
    text-align: right;
}

.home-property-spotlight .px-2.m-2 {
    margin: 0 0 0 10px !important;
    padding: 0 !important;
    font-size: 13px;
}

.home-team-section {
    padding: 70px 16px;
}

.home-team-content {
    max-width: 720px;
}

.home-team-content p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.6;
}

.home-team-link {
    min-height: 38px;
    padding: 10px 24px;
    font-size: 12px;
}

.home-s4 {
    padding: 64px 16px 70px;
}

.home-s4 .col-12.col-md-12.col-lg-8.offset-lg-2,
.home-s5 .col-12.col-md-12.col-lg-8.offset-lg-2 {
    width: min(880px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hs4-content {
    max-width: 820px;
    margin: 0 auto 34px;
}

.hs4-content p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 1.58;
}

.home-s3 .card {
    height: 100%;
    min-height: 276px;
    padding: 32px 24px;
}

.home-s3 .card-content p {
    font-size: 14px;
    line-height: 1.5;
}

#homevaluation-form .wpcf7-text,
#homevaluation-form .wpcf7-email,
#homevaluation-form input[type="text"],
#homevaluation-form input[type="email"] {
    min-height: 36px;
    font-size: 13px;
}

#homevaluation-form .wpcf7-submit {
    min-height: 36px;
    font-size: 13px;
}

.home-s5 {
    padding: 64px 16px;
}

.home-s5-inner {
    margin-top: 32px !important;
}

@media (max-width: 992px) {
    #header-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    #header-col2,
    #header-col4 {
        justify-content: center;
    }

    .company-phone-l,
    .company-phone-l * {
        text-align: center !important;
    }

    .home-s1 {
        height: 460px;
    }
}

@media (max-width: 766px) {
    .company-logo {
        height: 74px;
    }

    .home-s1 {
        height: 420px;
        min-height: 420px;
    }

    #home-property-search-tool {
        margin-top: -64px !important;
        background: linear-gradient(to bottom, transparent 0 54px, var(--black) 54px 100%);
    }

    #home-search-top-bar {
        grid-template-columns: minmax(0, 1fr) 52px;
    }

    #home-search-top-bar #search-form-tool-area,
    #home-search-top-bar #search-form-tool-submit {
        height: 52px;
        min-height: 52px;
    }

    .property-spotlight-heading {
        gap: 18px;
    }

    .view-all-props {
        margin-left: 0;
        width: 100%;
    }

    .home-property-spotlight .carousel {
        padding: 0 26px;
    }
}

/* Theme-wide internal page hardening */
.internal-page,
.property-search,
#all-property-info {
    background: var(--black);
    color: #fff;
}

.internal-page .page-title-row {
    min-height: 300px;
    height: auto;
    position: relative;
    padding: 80px 16px;
    background-size: cover;
    background-position: center;
}

.internal-page .page-title-row:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.internal-page .page-title-row>.col-12,
.internal-page .page-title-inner {
    position: relative;
    z-index: 1;
}

.page-title-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.pt-upper {
    font-size: clamp(14px, 1.4vw, 18px);
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-title,
.page-title-inner h1:last-of-type,
.page-title-inner h2 {
    font-size: clamp(34px, 4vw, 58px) !important;
    line-height: 1.12;
    margin: 0;
}

.internal-page section {
    padding-left: 16px;
    padding-right: 16px;
}

.internal-page .col-12.col-md-12.col-lg-8.offset-lg-2,
.internal-page .col-12.col-md-12.col-lg-10.offset-lg-1,
#all-property-info .col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1040px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.about-s1,
.lyh-s1,
.lyh-s3,
.lyh-5,
.syh-3,
.syh-5,
.syh-7,
.lyh-7 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.about-s1,
.lyh-s3,
.lyh-5,
.syh-3,
.syh-5,
.syh-7,
.lyh-7 {
    background: var(--black);
    color: #fff;
}

.about-s1 p,
.lyh-s3 p,
.lyh-5 p,
.syh-3 p,
.syh-5 p,
.syh-7 p,
.lyh-7 p {
    line-height: 1.65;
}

.about-s2,
.lyh-s2,
.syh-4,
.syh-6,
.lyh-4,
.lyh-6,
.syh-2 {
    background: var(--soft-black);
    color: #fff;
}

.abouts2-accred-repeater-inner,
.homes2-accred-repeater-inner {
    min-height: 110px;
    gap: 24px;
}

.abouts2-accred-repeater-inner img,
.homes2-accred-repeater-inner img {
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

.home-s3-inner,
.syh-s1-inner,
.syh5-bottom-content .row,
.syh3-bottom-content .row {
    row-gap: 24px;
}

.home-s3 .card,
.syh-card,
.syh5-bottom-content .col-12.col-md-4,
.syh3-bottom-content .col-12,
.lyh4-box,
.syh6-box {
    height: 100%;
}

.syh-1 {
    position: relative;
    width: 100%;
    margin-top: -70px;
    z-index: 2;
    padding-left: 16px;
    padding-right: 16px;
}

.syh-card {
    min-height: 210px;
    height: auto;
    padding: 24px 18px;
    border-radius: 4px;
}

.syh-2 .syh-2-inner {
    padding: 80px 16px 48px;
}

.syh2-content,
.syh5-top-content,
.syh7-content,
.lyh7-content,
.syh3-top-content {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.syh3-left,
.syh3-right {
    padding: 18px;
}

.syh-l {
    align-items: flex-start;
    padding-top: 4px;
}

.syh-r h3 {
    color: #fff;
    margin-bottom: 8px;
}

.syh-r p {
    color: rgba(255, 255, 255, 0.78);
}

.syh-6 .row,
.lyh-4 .row {
    align-items: center;
}

.syh6-box,
.lyh4-box {
    padding: 16px;
}

.syh6-M img,
.lyh4-M img {
    display: block;
    max-height: 460px;
    object-fit: contain;
    margin: 0 auto;
}

.accordion-item {
    background: #fff;
    color: #111;
    border: 0;
    margin-bottom: 10px;
}

.accordion-button {
    min-height: 54px;
    font-size: 15px;
}

.accordion-button p {
    margin-bottom: 0;
}

.contacts1 {
    padding: 0 16px 70px;
}

.cs1-card {
    margin-top: -70px;
    border-radius: 4px;
    background: var(--soft-black);
    border: 1px solid rgba(208, 169, 51, 0.35);
    padding: 34px;
}

.cs1-card iframe {
    width: 100%;
    min-height: 360px;
    display: block;
    margin-top: 30px;
}

.cs1-phone,
.cs1-email,
.cs1-address,
.cs1-opening {
    display: block;
    line-height: 1.6;
}

.cs1-phone a,
.cs1-email a {
    color: #fff;
}

#contactform .wpcf7-text,
#contactform .wpcf7-textarea,
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    width: 100%;
    min-height: 42px;
    border-radius: 3px;
    border: 0;
    padding: 9px 12px;
    font-size: 14px;
}

#contactform .wpcf7-textarea,
.wpcf7-textarea {
    min-height: 120px;
}

.wpcf7-form-control.wpcf7-submit.has-spinner,
.wpcf7-submit {
    background: var(--yellow);
    color: #000;
    border: none;
    min-height: 42px;
    padding: 10px 24px;
    border-radius: 2px;
}

.about-s1 .as1-embedd iframe {
    width: 100%;
    height: min(640px, 62vw);
    min-height: 280px;
}

.abouts1-agent-repeater-inner {
    background: var(--soft-black);
    border: 1px solid rgba(208, 169, 51, 0.24);
    border-radius: 4px;
    padding: 24px;
    row-gap: 24px;
}

.agent-l img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 4px;
}

.agent-r p {
    color: #fff;
}

.a-role,
.a-areas {
    color: rgba(255, 255, 255, 0.72) !important;
}

.a-tel span {
    float: none;
    display: inline-block;
    margin-left: 12px;
}

.a-tel a {
    color: var(--yellow);
}

.agent-r ul {
    gap: 8px 24px;
}

.property-search .page-title-row {
    min-height: 260px;
}

.property-search #search-page-container {
    padding: 48px 16px 20px;
}

.property-search #search-form-tool {
    max-width: 1180px;
    margin-top: 0;
}

.property-search #search-form-tool .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 0;
}

.property-search #search-form-tool .form-group {
    min-width: 150px;
}

#searchresults .search-page,
.search-page {
    row-gap: 28px;
}

.contsearchgrid,
.search-page .prop-link {
    height: 100%;
}

.search-page .prop-link {
    display: block;
}

.property-search-img {
    width: 100%;
    height: 250px;
    min-height: 250px;
    object-fit: cover;
}

.search-page .prop-deets {
    background: #fff;
    color: #111;
    min-height: 160px;
    margin-bottom: 0;
    padding: 16px;
}

.pagination {
    padding: 34px 16px 54px;
    justify-content: center;
}

.pagination .page-link {
    color: #111;
}

#all-property-info {
    padding: 34px 16px 70px;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: block;
}

#all-property-info .col-12.col-md-9.col-lg-9 {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

#all-property-info .card {
    background: #fff;
    color: #111;
    border-radius: 4px !important;
    margin-bottom: 28px;
}

#all-property-info .card-header {
    color: #111;
    font-weight: 600;
}

#property-carousel .carousel-item img {
    height: min(620px, 58vw);
    min-height: 320px;
    object-fit: cover;
}

#tab-viewing {
    border: 1px solid rgba(208, 169, 51, 0.2);
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.badges-row .badge {
    background: #f5f5f5;
    border: 1px solid #eee;
    min-width: 92px;
    padding: 10px !important;
    margin: 0 !important;
    text-align: center;
}

.badges-row .badge p {
    margin-bottom: 0;
    font-size: 12px;
}

#property-features ul {
    column-count: 2;
    gap: 32px;
}

#property-floorplans img {
    width: min(100%, 760px) !important;
    height: auto !important;
}

#property-brochure embed,
#property-documents iframe {
    max-width: 100%;
}

@media (max-width: 992px) {
    .internal-page .page-title-row {
        min-height: 240px;
        padding: 58px 16px;
    }

    .syh-1,
    .cs1-card {
        margin-top: 0;
    }

    .syh-2 .syh-2-inner {
        padding-top: 48px;
    }

    .badges-row {
        justify-content: flex-start;
        margin-top: 18px !important;
    }

    #property-carousel .carousel-item img {
        height: 420px;
    }
}

@media (max-width: 766px) {
    .internal-page section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .about-s1,
    .lyh-s1,
    .lyh-s3,
    .lyh-5,
    .syh-3,
    .syh-5,
    .syh-7,
    .lyh-7,
    .home-s4,
    .home-s5 {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .cs1-card {
        padding: 24px 16px;
    }

    .agent-r ul,
    #property-features ul {
        grid-template-columns: 1fr;
        column-count: 1;
    }

    .a-tel span {
        display: block;
        margin-left: 0;
        margin-top: 6px;
    }

    .property-search-img {
        height: 220px;
        min-height: 220px;
    }

    #property-carousel .carousel-item img {
        height: 300px;
        min-height: 300px;
    }
}

/* Production layout lock */
.home-s1,
#home-property-search-tool,
.home-property-spotlight,
.home-video-section,
.home-team-section,
.home-s3,
.home-s4,
.home-s5 {
    --site-content-width: min(1040px, calc(100vw - 40px));
}

.home-s1 {
    min-height: 390px;
    padding: 130px 20px 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.homes1-content {
    width: var(--site-content-width);
    margin: 0 auto;
    text-align: center;
}

.homes1-content h1,
.homes1-content h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    margin-bottom: 14px;
}

.homes1-content p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.55;
}

#home-property-search-tool {
    width: 100%;
    max-width: none;
    margin: -64px 0 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, transparent 0 48px, var(--black) 48px 100%);
}

#home-property-search-tool>.col-12 {
    flex: 0 0 var(--site-content-width) !important;
    width: var(--site-content-width) !important;
    max-width: var(--site-content-width) !important;
    margin: 0 !important;
    padding: 0 !important;
}

#home-property-search-tool form {
    width: 100%;
}

#home-search-top-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
    width: 100%;
    margin: 0 0 12px !important;
}

#home-search-top-bar .form-group {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    height: 50px !important;
    min-height: 50px;
    border-radius: 2px !important;
}

#home-search-top-bar #search-form-tool-area {
    width: 100% !important;
    padding: 0 18px !important;
    border: 0 !important;
    font-size: 15px;
}

#home-search-top-bar #search-form-tool-submit {
    width: 58px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    background: var(--yellow) !important;
    color: #111 !important;
    box-shadow: none !important;
}

#search-form-tool {
    width: 100%;
    margin: 0 !important;
    padding: 18px 22px 16px;
    border: 2px solid var(--yellow);
    background: rgba(13, 13, 13, 0.94);
}

#search-form-tool .row {
    row-gap: 12px;
}

#search-form-tool label {
    color: #fff;
    font-size: 13px;
    margin-bottom: 6px;
}

#search-form-tool .form-control,
#search-form-tool .form-select {
    height: 42px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
}

.home-property-spotlight,
.home-video-section,
.home-team-section,
.home-s3,
.home-s4,
.home-s5 {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.home-property-spotlight>.row,
.home-video-section>.row,
.home-team-section>.row,
.home-s3>.row,
.home-s4>.row,
.home-s5>.row {
    width: var(--site-content-width);
    max-width: var(--site-content-width);
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-property-spotlight>.row>.col-12,
.home-video-section>.row>.col-12,
.home-team-section>.row>.col-12,
.home-s3>.row>.col-12,
.home-s4>.row>.col-12,
.home-s5>.row>.col-12 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home-property-spotlight {
    padding-top: 76px;
    padding-bottom: 82px;
}

.property-spotlight-heading {
    align-items: center;
    margin-bottom: 30px;
}

.property-spotlight-heading h3,
.home-team-content h2,
.hs3-content h2,
.hs4-content h2,
.hs5-content h2,
.home-video-copy h2 {
    color: #fff;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.property-spotlight-heading .col-12:last-child {
    text-align: right;
}

.view-all-props,
.home-team-link {
    min-height: 44px;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--yellow);
    color: #111 !important;
    border: 0;
    border-radius: 2px;
    font-size: 13px;
    text-decoration: none;
}

.featured-properties-row {
    display: flex;
}

.featured-properties-row .prop-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    background: #fff;
    color: #111;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
}

.featured-properties-row .property-search-img {
    width: 100%;
    height: 245px;
    min-height: 245px;
    object-fit: cover;
}

.featured-properties-row .prop-deets {
    flex: 1;
    min-height: 150px;
    margin: 0;
    padding: 16px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.featured-properties-row .prop-deets p {
    color: #111;
    font-size: 13px;
    line-height: 1.45;
}

.featured-properties-row .pd-r {
    text-align: right;
}

#property-spotlight-carousel .carousel-control-prev,
#property-spotlight-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(208, 169, 51, 0.75);
}

#property-spotlight-carousel .carousel-control-prev {
    left: -58px;
}

#property-spotlight-carousel .carousel-control-next {
    right: -58px;
}

.home-video-section {
    padding-top: 76px;
    padding-bottom: 80px;
    background: #111;
}

.home-video-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: 34px;
    align-items: center;
}

.home-video-copy p,
.home-team-content p,
.hs3-content p,
.hs4-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
}

.home-video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050505;
    border: 1px solid rgba(208, 169, 51, 0.35);
    overflow: hidden;
}

.home-video-frame iframe,
.home-video-frame video,
.home-video-frame embed {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

.home-team-section {
    padding-top: 72px;
    padding-bottom: 78px;
}

.home-team-content {
    max-width: 760px;
    margin: 0 auto;
}

.home-s3,
.home-s4,
.home-s5 {
    padding-top: 76px;
    padding-bottom: 82px;
}

.hs3-content,
.hs4-content,
.hs5-content {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}

.home-s3-inner {
    display: flex;
    align-items: stretch;
    row-gap: 24px;
}

.home-s3 .card {
    height: 100%;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 34px 24px;
    border-radius: 6px !important;
}

.home-s3 .card img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.home-s3 .card-content h3,
.home-s3 .card-content h4 {
    font-size: 22px;
    line-height: 1.2;
    color: #111;
}

.home-s3 .card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #111;
}

.home-s4-inner .wpcf7-form {
    width: 100%;
}

.home-s4-inner .wpcf7-form p {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.home-s4-inner .wpcf7-form .wpcf7-submit {
    grid-column: 1 / -1;
    width: 100%;
}

.home-s4-inner input:not([type="submit"]) {
    height: 42px;
}

.home-s5-inner {
    width: 100%;
    max-width: 820px;
    margin: 0 auto !important;
}

.testimonial_slideri {
    width: 100% !important;
    min-height: 170px;
    padding: 26px 28px !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2) {
    align-items: flex-start;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9 {
    flex: 0 0 70% !important;
    max-width: 70% !important;
    width: 70% !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    width: 30% !important;
}

#tab-viewing {
    padding: 0 0 16px;
    overflow: hidden;
}

#tab-viewing .wpcf7-form p {
    margin-bottom: 8px;
}

#tab-viewing .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    min-height: 36px;
    font-size: 12px;
}

#tab-viewing .wpcf7-textarea {
    min-height: 88px;
}

#tab-viewing .wpcf7-submit {
    width: 100%;
    min-height: 38px;
    font-size: 12px;
}

@media (max-width: 1100px) {
    #property-spotlight-carousel .carousel-control-prev {
        left: -18px;
    }

    #property-spotlight-carousel .carousel-control-next {
        right: -18px;
    }
}

@media (max-width: 992px) {

    .home-s1,
    #home-property-search-tool,
    .home-property-spotlight,
    .home-video-section,
    .home-team-section,
    .home-s3,
    .home-s4,
    .home-s5 {
        --site-content-width: min(760px, calc(100vw - 32px));
    }

    .home-video-inner {
        grid-template-columns: 1fr;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #tab-viewing {
        margin-top: 20px;
    }
}

@media (max-width: 766px) {

    .home-s1,
    #home-property-search-tool,
    .home-property-spotlight,
    .home-video-section,
    .home-team-section,
    .home-s3,
    .home-s4,
    .home-s5 {
        --site-content-width: calc(100vw - 24px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-s1 {
        min-height: 330px;
        padding-top: 92px;
        padding-bottom: 94px;
    }

    #home-property-search-tool {
        margin-top: -46px;
    }

    #home-search-top-bar {
        grid-template-columns: 1fr;
    }

    #home-search-top-bar #search-form-tool-submit {
        width: 100% !important;
    }

    #search-form-tool {
        padding: 16px;
    }

    .property-spotlight-heading .col-12:last-child {
        text-align: left;
        margin-top: 12px;
    }

    .featured-properties-row .property-search-img {
        height: 220px;
        min-height: 220px;
    }

    .home-s4-inner .wpcf7-form p {
        grid-template-columns: 1fr;
    }
}

/* Final cascade guard: prevents later legacy rules from reintroducing overlap */
:root {
    --content-wide: min(1120px, calc(100vw - 40px));
    --content-main: min(960px, calc(100vw - 40px));
}

.site-nav-inner {
    width: var(--content-wide) !important;
    max-width: var(--content-wide) !important;
    min-height: 40px;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;
}

.navbar {
    position: relative !important;
    padding: 0 20px !important;
}

.navbar-collapse,
#bs-example-navbar-collapse-1,
#mega-menu-wrap-header-menu {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav,
#mega-menu-header-menu,
#mega-menu-wrap-header-menu #mega-menu-header-menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link,
.navbar-nav .menu-item>a,
#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    min-height: 40px !important;
    padding: 12px 13px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}

.header-socials {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-socials .social-media-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

.header-socials .socialmedia-link,
.header-socials .socialmedia-link a {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

#header>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
footer>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.foot>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.property-search .col-sm-12.col-md-12.col-lg-10.offset-lg-1,
#searchresults>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    flex: 0 0 var(--content-wide) !important;
    width: var(--content-wide) !important;
    max-width: var(--content-wide) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.internal-page .col-12.col-md-12.col-lg-8.offset-lg-2,
.internal-page .col-12.col-md-12.col-lg-10.offset-lg-1,
.home-property-spotlight>.row,
.home-video-section>.row,
.home-team-section>.row,
.home-s3>.row,
.home-s4>.row,
.home-s5>.row {
    width: var(--content-main) !important;
    max-width: var(--content-main) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-property-search-tool {
    justify-content: center !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#home-property-search-tool>.col-12 {
    width: min(930px, calc(100vw - 40px)) !important;
    max-width: min(930px, calc(100vw - 40px)) !important;
    flex: 0 0 min(930px, calc(100vw - 40px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#home-search-top-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#home-search-top-bar .form-group,
#search-form-tool .form-group {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#search-form-tool>.form-group>.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#search-form-tool>.form-group>.row>.form-group {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.property-search #search-form-tool .form-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    gap: 14px !important;
    margin: 0 !important;
}

.property-search #search-form-tool .form-group {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.property-search #search-form-tool input,
.property-search #search-form-tool select,
.property-search #search-form-tool button,
.home-s4-inner input:not([type="submit"]),
.lyh6-inner input:not([type="submit"]),
.syh2-form input:not([type="submit"]),
.cs1-card input:not([type="submit"]),
.cs1-card textarea {
    width: 100% !important;
    max-width: 100% !important;
}

.home-s4-inner .wpcf7-form p,
.lyh6-inner .wpcf7-form p,
.syh2-form .wpcf7-form p {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

#all-property-info .outer-property-container,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: var(--content-wide) !important;
    max-width: var(--content-wide) !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    flex: 0 0 70% !important;
    width: 70% !important;
    max-width: 70% !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
}

@media (max-width: 1100px) {
    :root {
        --content-wide: min(960px, calc(100vw - 32px));
        --content-main: min(820px, calc(100vw - 32px));
    }

    .site-nav-inner {
        gap: 14px;
    }

    .nav-link,
    .navbar-nav .menu-item>a,
    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 992px) {
    .site-nav-inner {
        flex-direction: column;
        justify-content: center !important;
        padding: 8px 0;
    }

    .navbar-collapse,
    #bs-example-navbar-collapse-1,
    #mega-menu-wrap-header-menu {
        width: 100% !important;
    }

    .navbar-nav,
    #mega-menu-header-menu,
    #mega-menu-wrap-header-menu #mega-menu-header-menu {
        justify-content: center !important;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 766px) {
    :root {
        --content-wide: calc(100vw - 24px);
        --content-main: calc(100vw - 24px);
    }

    #home-search-top-bar,
    #search-form-tool>.form-group>.row,
    .property-search #search-form-tool .form-row,
    .home-s4-inner .wpcf7-form p,
    .lyh6-inner .wpcf7-form p,
    .syh2-form .wpcf7-form p {
        grid-template-columns: 1fr !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        width: 100% !important;
    }
}

/* Screenshot QA correction: CF7 forms, search radios, nav overflow */
.site-nav-inner {
    width: min(1040px, calc(100vw - 96px)) !important;
    max-width: min(1040px, calc(100vw - 96px)) !important;
    gap: 18px !important;
}

.navbar-collapse,
#bs-example-navbar-collapse-1,
#mega-menu-wrap-header-menu {
    min-width: 0 !important;
}

.navbar-nav,
#mega-menu-header-menu,
#mega-menu-wrap-header-menu #mega-menu-header-menu {
    min-width: 0 !important;
}

.nav-link,
.navbar-nav .menu-item>a,
#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    padding-left: 11px !important;
    padding-right: 11px !important;
}

.header-socials {
    margin-left: 12px !important;
}

.header-socials .social-media-row {
    justify-content: flex-end !important;
}

.home-s4-inner,
.lyh6-inner,
.syh2-form {
    width: 100% !important;
    max-width: 920px !important;
}

.home-s4-inner .wpcf7-form,
.lyh6-inner .wpcf7-form,
.syh2-form .wpcf7-form {
    width: 100% !important;
}

.home-s4-inner .wpcf7-form p,
.lyh6-inner .wpcf7-form p,
.syh2-form .wpcf7-form p {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
}

.home-s4-inner .wpcf7-form br,
.lyh6-inner .wpcf7-form br,
.syh2-form .wpcf7-form br {
    display: none !important;
}

.home-s4-inner .wpcf7-form-control-wrap,
.lyh6-inner .wpcf7-form-control-wrap,
.syh2-form .wpcf7-form-control-wrap {
    display: block !important;
    flex: 1 1 220px !important;
    min-width: 220px !important;
    max-width: none !important;
}

.home-s4-inner .wpcf7-form-control-wrap input,
.lyh6-inner .wpcf7-form-control-wrap input,
.syh2-form .wpcf7-form-control-wrap input,
.home-s4-inner .wpcf7-form-control-wrap select,
.lyh6-inner .wpcf7-form-control-wrap select,
.syh2-form .wpcf7-form-control-wrap select,
.home-s4-inner .wpcf7-form-control-wrap textarea,
.lyh6-inner .wpcf7-form-control-wrap textarea,
.syh2-form .wpcf7-form-control-wrap textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
}

.home-s4-inner .wpcf7-submit,
.lyh6-inner .wpcf7-submit,
.syh2-form .wpcf7-submit {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    margin-top: 2px !important;
}

.property-search #search-form-tool input[type="radio"],
.property-search #search-form-tool input[type="checkbox"] {
    width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    margin: 8px auto 0 !important;
    display: block !important;
}

.property-search #search-form-tool input:not([type="radio"]):not([type="checkbox"]),
.property-search #search-form-tool select,
.property-search #search-form-tool button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
}

.property-search #search-form-tool .form-row {
    grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
    align-items: end !important;
}

.property-search #search-form-tool .buttonz {
    align-self: end !important;
}

.property-search #search-form-tool .buttonz button {
    max-width: 220px !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(860px, calc(100vw - 40px)) !important;
    max-width: min(860px, calc(100vw - 40px)) !important;
    flex-basis: min(860px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container {
    width: min(940px, calc(100vw - 40px)) !important;
    max-width: min(940px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9 {
    flex: 0 0 68% !important;
    width: 68% !important;
    max-width: 68% !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
    flex: 0 0 32% !important;
    width: 32% !important;
    max-width: 32% !important;
}

@media (max-width: 992px) {
    .site-nav-inner {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1,
    #all-property-info .outer-property-container {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        flex-basis: calc(100vw - 32px) !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 766px) {

    .home-s4-inner .wpcf7-form-control-wrap,
    .lyh6-inner .wpcf7-form-control-wrap,
    .syh2-form .wpcf7-form-control-wrap {
        flex-basis: 100% !important;
        min-width: 0 !important;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: 1fr !important;
    }

    .property-search #search-form-tool .buttonz button {
        max-width: 100% !important;
    }
}

/* Final production layout lock */
#home-property-search-tool.row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}

#home-property-search-tool>.col-12 {
    float: none !important;
    width: min(1120px, 100%) !important;
    max-width: 1120px !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#home-property-search-form,
#home-search-top-bar.row,
#search-form-tool.form-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#home-search-top-bar.row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}

#home-search-top-bar .form-group,
#search-form-tool .form-group,
#search-form-tool>.form-group>.row>.form-group {
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    border-radius: 2px !important;
}

#home-search-top-bar #search-form-tool-submit {
    min-width: 64px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#search-form-tool.form-row {
    display: block !important;
    padding: 28px !important;
    border: 2px solid var(--yellow) !important;
    box-sizing: border-box !important;
}

#search-form-tool>.form-group.transaction-type-radios {
    width: 100% !important;
    flex: none !important;
}

#search-form-tool>.form-group>.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#search-form-tool label {
    display: block !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
}

#search-form-tool select,
#search-form-tool input {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
}

.internal-page .page-title-row {
    display: flex !important;
    align-items: center !important;
    min-height: 500px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 110px 30px 120px !important;
    background-position: center center !important;
    background-size: cover !important;
    overflow: visible !important;
}

.internal-page .page-title-row>[class*="col-"] {
    width: min(1060px, 100%) !important;
    max-width: 1060px !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.internal-page .page-title-inner {
    width: 100% !important;
    max-width: 1060px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.internal-page .page-title-inner .pt-upper {
    display: block !important;
    margin-bottom: 14px !important;
    font-size: clamp(18px, 1.5vw, 24px) !important;
    line-height: 1.25 !important;
}

.internal-page .page-title-inner .page-title {
    max-width: 1040px !important;
    margin: 0 auto 18px !important;
    font-size: clamp(44px, 4.8vw, 76px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
}

.internal-page .page-title-inner p {
    max-width: 1060px !important;
    margin: 0 auto !important;
    font-size: clamp(18px, 1.5vw, 22px) !important;
    line-height: 1.45 !important;
}

.sell-your-home .page-title-row {
    min-height: 600px !important;
    padding-bottom: 155px !important;
}

#all-property-info {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 64px 24px 72px !important;
    background: #0b0b0b !important;
}

#all-property-info>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#all-property-info>.row>.outer-property-container,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    float: none !important;
    width: min(1120px, 100%) !important;
    max-width: 1120px !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#all-property-info .outer-property-container>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#all-property-info .outer-property-container>.row:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    align-items: end !important;
    margin-bottom: 22px !important;
}

#all-property-info .outer-property-container>.row:first-child>[class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    gap: 28px !important;
    align-items: stretch !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>[class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#property-carousel,
#property-carousel .carousel-inner,
#property-carousel .carousel-item,
#property-carousel .carousel-item img {
    height: 520px !important;
    min-height: 520px !important;
}

#property-carousel {
    overflow: hidden !important;
    background: #151515 !important;
}

#property-carousel .carousel-item img {
    object-fit: cover !important;
    object-position: center center !important;
}

#tab-viewing {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
}

#tab-viewing>img {
    height: 190px !important;
    min-height: 190px !important;
    object-fit: cover !important;
    object-position: center top !important;
}

#tab-viewing .p-agent-contact {
    font-size: 11px !important;
    line-height: 1.25 !important;
    padding: 8px 10px !important;
}

#tab-viewing .wpcf7 {
    flex: 1 1 auto !important;
    padding: 0 12px 12px !important;
}

#tab-viewing .wpcf7-form p {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin: 0 !important;
}

#tab-viewing .wpcf7-form br {
    display: none !important;
}

#tab-viewing .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

#tab-viewing .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 31px !important;
    height: 31px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
}

#tab-viewing .wpcf7-textarea {
    min-height: 62px !important;
    height: 62px !important;
    resize: none !important;
}

#tab-viewing label {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

#tab-viewing .wpcf7-submit {
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    margin-top: 2px !important;
}

#property-overview,
#property-description,
#property-features,
#proeprty-location,
#property-tour,
#property-floorplans,
#property-brochure,
#property-documents {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
    border-radius: 3px !important;
    overflow: hidden !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    display: none !important;
}

@media (max-width: 1200px) {

    #home-property-search-tool.row,
    #all-property-info {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2) {
        grid-template-columns: minmax(0, 1fr) 290px !important;
        gap: 22px !important;
    }
}

@media (max-width: 992px) {

    #all-property-info .outer-property-container>.row:first-child,
    #all-property-info .outer-property-container>.row:nth-of-type(2) {
        grid-template-columns: 1fr !important;
    }

    #all-property-info .outer-property-container>.row:first-child .text-end {
        text-align: left !important;
    }

    #property-carousel,
    #property-carousel .carousel-inner,
    #property-carousel .carousel-item,
    #property-carousel .carousel-item img,
    #tab-viewing {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    #property-carousel .carousel-item img {
        aspect-ratio: 16 / 10 !important;
    }

    #tab-viewing>img {
        height: 260px !important;
    }
}

@media (max-width: 766px) {

    #home-property-search-tool.row,
    #all-property-info {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #home-search-top-bar.row {
        grid-template-columns: 1fr !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        min-width: 100% !important;
    }

    #search-form-tool.form-row {
        padding: 18px !important;
    }

    #search-form-tool>.form-group>.row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .internal-page .page-title-row {
        min-height: auto !important;
        padding: 74px 18px 78px !important;
    }

    .internal-page .page-title-inner .page-title {
        font-size: 38px !important;
    }

    .internal-page .page-title-inner p {
        font-size: 17px !important;
    }
}

/* Production layout pass: contain Bootstrap row/column bleed in custom layouts */
#home-property-search-tool.row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}

#home-property-search-tool>.col-12 {
    float: none !important;
    width: min(1120px, 100%) !important;
    max-width: 1120px !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#home-property-search-form {
    width: 100% !important;
    max-width: 100% !important;
}

#home-search-top-bar.row,
#search-form-tool.form-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#home-search-top-bar.row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}

#home-search-top-bar .form-group,
#search-form-tool .form-group,
#search-form-tool>.form-group>.row>.form-group {
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    border-radius: 2px !important;
}

#home-search-top-bar #search-form-tool-submit {
    min-width: 64px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#search-form-tool.form-row {
    display: block !important;
    padding: 28px !important;
    border: 2px solid var(--yellow) !important;
    box-sizing: border-box !important;
}

#search-form-tool>.form-group.transaction-type-radios {
    width: 100% !important;
    flex: none !important;
}

#search-form-tool>.form-group>.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#search-form-tool label {
    display: block !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
}

#search-form-tool select,
#search-form-tool input {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
}

.internal-page .page-title-row {
    display: flex !important;
    align-items: center !important;
    min-height: 500px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 110px 30px 120px !important;
    background-position: center center !important;
    background-size: cover !important;
    overflow: visible !important;
}

.internal-page .page-title-row>[class*="col-"] {
    width: min(1060px, 100%) !important;
    max-width: 1060px !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.internal-page .page-title-inner {
    width: 100% !important;
    max-width: 1060px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.internal-page .page-title-inner .pt-upper {
    display: block !important;
    margin-bottom: 14px !important;
    font-size: clamp(18px, 1.5vw, 24px) !important;
    line-height: 1.25 !important;
}

.internal-page .page-title-inner .page-title {
    max-width: 1040px !important;
    margin: 0 auto 18px !important;
    font-size: clamp(44px, 4.8vw, 76px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
}

.internal-page .page-title-inner p {
    max-width: 1060px !important;
    margin: 0 auto !important;
    font-size: clamp(18px, 1.5vw, 22px) !important;
    line-height: 1.45 !important;
}

.sell-your-home .page-title-row {
    min-height: 600px !important;
    padding-bottom: 155px !important;
}

#all-property-info {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 64px 24px 72px !important;
    background: #0b0b0b !important;
}

#all-property-info>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#all-property-info>.row>.outer-property-container,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    float: none !important;
    width: min(1120px, 100%) !important;
    max-width: 1120px !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#all-property-info .outer-property-container>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#all-property-info .outer-property-container>.row:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    align-items: end !important;
    margin-bottom: 22px !important;
}

#all-property-info .outer-property-container>.row:first-child>[class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    gap: 28px !important;
    align-items: stretch !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>[class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#property-carousel,
#property-carousel .carousel-inner,
#property-carousel .carousel-item,
#property-carousel .carousel-item img {
    height: 520px !important;
    min-height: 520px !important;
}

#property-carousel {
    overflow: hidden !important;
    background: #151515 !important;
}

#property-carousel .carousel-item img {
    object-fit: cover !important;
    object-position: center center !important;
}

#tab-viewing {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
}

#tab-viewing>img {
    height: 190px !important;
    min-height: 190px !important;
    object-fit: cover !important;
    object-position: center top !important;
}

#tab-viewing .p-agent-contact {
    font-size: 11px !important;
    line-height: 1.25 !important;
    padding: 8px 10px !important;
}

#tab-viewing .wpcf7 {
    flex: 1 1 auto !important;
    padding: 0 12px 12px !important;
}

#tab-viewing .wpcf7-form p {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin: 0 !important;
}

#tab-viewing .wpcf7-form br {
    display: none !important;
}

#tab-viewing .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

#tab-viewing .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 31px !important;
    height: 31px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
}

#tab-viewing .wpcf7-textarea {
    min-height: 62px !important;
    height: 62px !important;
    resize: none !important;
}

#tab-viewing label {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

#tab-viewing .wpcf7-submit {
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    margin-top: 2px !important;
}

#property-overview,
#property-description,
#property-features,
#proeprty-location,
#property-tour,
#property-floorplans,
#property-brochure,
#property-documents {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
    border-radius: 3px !important;
    overflow: hidden !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    display: none !important;
}

@media (max-width: 1200px) {

    #home-property-search-tool.row,
    #all-property-info {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2) {
        grid-template-columns: minmax(0, 1fr) 290px !important;
        gap: 22px !important;
    }
}

@media (max-width: 992px) {

    #all-property-info .outer-property-container>.row:first-child,
    #all-property-info .outer-property-container>.row:nth-of-type(2) {
        grid-template-columns: 1fr !important;
    }

    #all-property-info .outer-property-container>.row:first-child .text-end {
        text-align: left !important;
    }

    #property-carousel,
    #property-carousel .carousel-inner,
    #property-carousel .carousel-item,
    #property-carousel .carousel-item img,
    #tab-viewing {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    #property-carousel .carousel-item img {
        aspect-ratio: 16 / 10 !important;
    }

    #tab-viewing>img {
        height: 260px !important;
    }
}

@media (max-width: 766px) {

    #home-property-search-tool.row,
    #all-property-info {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #home-search-top-bar.row {
        grid-template-columns: 1fr !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        min-width: 100% !important;
    }

    #search-form-tool.form-row {
        padding: 18px !important;
    }

    #search-form-tool>.form-group>.row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .internal-page .page-title-row {
        min-height: auto !important;
        padding: 74px 18px 78px !important;
    }

    .internal-page .page-title-inner .page-title {
        font-size: 38px !important;
    }

    .internal-page .page-title-inner p {
        font-size: 17px !important;
    }
}

/* True final client QA overrides */
#home-property-search-tool {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

#home-property-search-tool>.col-12,
#home-property-search-tool form,
#home-search-top-bar,
#search-form-tool {
    width: min(1120px, calc(100vw - 60px)) !important;
    max-width: min(1120px, calc(100vw - 60px)) !important;
    flex-basis: min(1120px, calc(100vw - 60px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-search-top-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px !important;
    gap: 10px !important;
}

#home-search-top-bar .form-group:first-child,
#home-search-top-bar .form-group:last-child {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    height: 64px !important;
    min-height: 64px !important;
}

#home-search-top-bar #search-form-tool-submit {
    width: 64px !important;
}

#search-form-tool {
    box-sizing: border-box !important;
    padding: 28px !important;
}

#search-form-tool>.form-group>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.sell-your-home .page-title-row {
    min-height: 560px !important;
    padding-top: 115px !important;
    padding-bottom: 145px !important;
    overflow: visible !important;
}

.sell-your-home .page-title-inner {
    max-width: 980px !important;
}

.sell-your-home .page-title-inner .pt-upper {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.sell-your-home .page-title-inner .page-title {
    font-size: clamp(48px, 5vw, 76px) !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
}

.sell-your-home .page-title-inner p {
    max-width: 1060px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 21px !important;
    line-height: 1.45 !important;
}

.sell-your-home .syh-1 {
    margin-top: 0 !important;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.sell-your-home .syh-s1-inner {
    align-items: stretch !important;
}

.sell-your-home .syh-s1-inner>.col-12 {
    display: flex !important;
}

.sell-your-home .syh-card {
    width: 100% !important;
    min-height: 300px !important;
    padding: 42px 24px !important;
}

#all-property-info {
    padding-top: 56px !important;
}

#all-property-info .outer-property-container {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: min(1080px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container>.row:first-child {
    align-items: flex-end !important;
    margin-bottom: 18px !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 28px !important;
    align-items: stretch !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}

#property-carousel,
#property-carousel .carousel-inner,
#property-carousel .carousel-item,
#property-carousel .carousel-item img,
#tab-viewing {
    height: 500px !important;
    min-height: 500px !important;
}

#property-carousel .carousel-item img {
    object-fit: cover !important;
}

#tab-viewing {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

#tab-viewing>img {
    height: 185px !important;
    object-fit: cover !important;
}

#tab-viewing .p-agent-contact {
    flex: 0 0 auto !important;
}

#tab-viewing .wpcf7 {
    flex: 1 1 auto !important;
}

#tab-viewing .wpcf7-form p {
    margin-bottom: 7px !important;
}

#tab-viewing .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    min-height: 32px !important;
    height: 32px !important;
    padding: 6px 8px !important;
}

#tab-viewing .wpcf7-textarea {
    min-height: 70px !important;
    height: 70px !important;
}

#tab-viewing .wpcf7-submit {
    min-height: 36px !important;
    height: 36px !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: min(1080px, calc(100vw - 40px)) !important;
    flex-basis: min(1080px, calc(100vw - 40px)) !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: block !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    display: none !important;
}

#all-property-info .card {
    width: 100% !important;
}

@media (max-width: 992px) {

    #home-property-search-tool>.col-12,
    #home-property-search-tool form,
    #home-search-top-bar,
    #search-form-tool {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        flex-basis: calc(100vw - 32px) !important;
    }

    .sell-your-home .page-title-row {
        min-height: 500px !important;
        padding-top: 90px !important;
        padding-bottom: 115px !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2) {
        grid-template-columns: 1fr !important;
    }

    #property-carousel,
    #property-carousel .carousel-inner,
    #property-carousel .carousel-item,
    #property-carousel .carousel-item img,
    #tab-viewing {
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 766px) {
    #home-property-search-tool {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #home-search-top-bar,
    #search-form-tool>.form-group>.row {
        grid-template-columns: 1fr !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        width: 100% !important;
    }

    .sell-your-home .page-title-row {
        min-height: auto !important;
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    .sell-your-home .page-title-inner .page-title {
        font-size: 40px !important;
    }
}

/* Client QA: homepage search, internal hero, property detail balance */
#home-property-search-tool {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

#home-property-search-tool>.col-12,
#home-property-search-tool form,
#home-search-top-bar,
#search-form-tool {
    width: min(1120px, calc(100vw - 60px)) !important;
    max-width: min(1120px, calc(100vw - 60px)) !important;
    flex-basis: min(1120px, calc(100vw - 60px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-search-top-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px !important;
    gap: 10px !important;
}

#home-search-top-bar .form-group:first-child,
#home-search-top-bar .form-group:last-child {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    height: 64px !important;
    min-height: 64px !important;
}

#home-search-top-bar #search-form-tool-submit {
    width: 64px !important;
}

#search-form-tool {
    box-sizing: border-box !important;
    padding: 28px !important;
}

#search-form-tool>.form-group>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.sell-your-home .page-title-row {
    min-height: 560px !important;
    padding-top: 115px !important;
    padding-bottom: 145px !important;
    overflow: visible !important;
}

.sell-your-home .page-title-inner {
    max-width: 980px !important;
}

.sell-your-home .page-title-inner .pt-upper {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.sell-your-home .page-title-inner .page-title {
    font-size: clamp(48px, 5vw, 76px) !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
}

.sell-your-home .page-title-inner p {
    max-width: 1060px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 21px !important;
    line-height: 1.45 !important;
}

.sell-your-home .syh-1 {
    margin-top: 0 !important;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.sell-your-home .syh-s1-inner {
    align-items: stretch !important;
}

.sell-your-home .syh-s1-inner>.col-12 {
    display: flex !important;
}

.sell-your-home .syh-card {
    width: 100% !important;
    min-height: 300px !important;
    padding: 42px 24px !important;
}

#all-property-info {
    padding-top: 56px !important;
}

#all-property-info .outer-property-container {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: min(1080px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container>.row:first-child {
    align-items: flex-end !important;
    margin-bottom: 18px !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 28px !important;
    align-items: stretch !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
}

#property-carousel,
#property-carousel .carousel-inner,
#property-carousel .carousel-item,
#property-carousel .carousel-item img,
#tab-viewing {
    height: 500px !important;
    min-height: 500px !important;
}

#property-carousel .carousel-item img {
    object-fit: cover !important;
}

#tab-viewing {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

#tab-viewing>img {
    height: 185px !important;
    object-fit: cover !important;
}

#tab-viewing .p-agent-contact {
    flex: 0 0 auto !important;
}

#tab-viewing .wpcf7 {
    flex: 1 1 auto !important;
}

#tab-viewing .wpcf7-form p {
    margin-bottom: 7px !important;
}

#tab-viewing .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    min-height: 32px !important;
    height: 32px !important;
    padding: 6px 8px !important;
}

#tab-viewing .wpcf7-textarea {
    min-height: 70px !important;
    height: 70px !important;
}

#tab-viewing .wpcf7-submit {
    min-height: 36px !important;
    height: 36px !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: min(1080px, calc(100vw - 40px)) !important;
    flex-basis: min(1080px, calc(100vw - 40px)) !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: block !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    display: none !important;
}

#all-property-info .card {
    width: 100% !important;
}

@media (max-width: 992px) {

    #home-property-search-tool>.col-12,
    #home-property-search-tool form,
    #home-search-top-bar,
    #search-form-tool {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        flex-basis: calc(100vw - 32px) !important;
    }

    .sell-your-home .page-title-row {
        min-height: 500px !important;
        padding-top: 90px !important;
        padding-bottom: 115px !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2) {
        grid-template-columns: 1fr !important;
    }

    #property-carousel,
    #property-carousel .carousel-inner,
    #property-carousel .carousel-item,
    #property-carousel .carousel-item img,
    #tab-viewing {
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 766px) {
    #home-property-search-tool {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #home-search-top-bar {
        grid-template-columns: 1fr !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        width: 100% !important;
    }

    #search-form-tool>.form-group>.row {
        grid-template-columns: 1fr !important;
    }

    .sell-your-home .page-title-row {
        min-height: auto !important;
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    .sell-your-home .page-title-inner .page-title {
        font-size: 40px !important;
    }
}

/* Full template layout QA lock */
:root {
    --content-wide: min(1120px, calc(100vw - 40px));
    --content-main: min(960px, calc(100vw - 40px));
    --content-readable: min(820px, calc(100vw - 40px));
}

body {
    min-width: 320px;
}

.container-fluid {
    overflow-x: clip;
}

#header>.row,
footer>.row,
.foot>.row,
.internal-page>.row,
.internal-page section>.row,
.home-s1>.row,
#home-property-search-tool,
.home-property-spotlight>.row,
.home-video-section>.row,
.home-team-section>.row,
.home-s3>.row,
.home-s4>.row,
.home-s5>.row,
#all-property-info,
.property-search>.row {
    width: 100%;
}

#header>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
footer>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.foot>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.internal-page .col-12.col-md-12.col-lg-8.offset-lg-2,
.internal-page .col-12.col-md-12.col-lg-10.offset-lg-1,
.internal-page .col-sm-12.col-md-12.col-lg-10.offset-lg-1,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1,
.home-s3 .col-12.col-md-12.col-lg-8.offset-lg-2,
.home-s4 .col-12.col-md-12.col-lg-8.offset-lg-2,
.home-s5 .col-12.col-md-12.col-lg-8.offset-lg-2 {
    flex: 0 0 var(--content-main) !important;
    width: var(--content-main) !important;
    max-width: var(--content-main) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#header>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
footer>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.foot>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.property-search .col-sm-12.col-md-12.col-lg-10.offset-lg-1,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    flex-basis: var(--content-wide) !important;
    width: var(--content-wide) !important;
    max-width: var(--content-wide) !important;
}

.site-nav-inner {
    width: var(--content-wide);
    max-width: var(--content-wide);
    min-height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar {
    position: relative;
    padding: 0 20px !important;
    justify-content: center !important;
}

.navbar-collapse,
#bs-example-navbar-collapse-1 {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav,
#mega-menu-header-menu,
#mega-menu-wrap-header-menu #mega-menu-header-menu {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

#mega-menu-wrap-header-menu {
    width: auto !important;
    flex: 1 1 auto;
}

.nav-link,
.navbar-nav .menu-item>a,
#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center;
    padding: 12px 14px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}

.mega-menu-item {
    margin-right: 0 !important;
}

.header-socials {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 !important;
}

.header-socials .social-media-row,
footer .social-media-row,
.contact-socials .social-media-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
}

.socialmedia-link {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.socialmedia-link a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.internal-page .page-title-row {
    min-height: 300px;
    padding: 76px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.page-title-inner {
    max-width: var(--content-readable);
    margin: 0 auto;
    text-align: center;
}

.internal-page section {
    padding-left: 20px;
    padding-right: 20px;
}

.internal-page p,
.internal-page li,
.home-s3 p,
.home-s4 p,
.home-s5 p {
    overflow-wrap: anywhere;
}

.about-s1,
.about-s2,
.lyh-s1,
.lyh-s2,
.lyh-s3,
.lyh-4,
.lyh-5,
.lyh-6,
.lyh-7,
.syh-1,
.syh-2,
.syh-3,
.syh-4,
.syh-5,
.syh-6,
.syh-7,
.contacts1 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.syh-1 {
    margin-top: 0 !important;
}

.home-s3-inner,
.syh-s1-inner,
.syh5-bottom-content>.row,
.syh3-bottom-content>.row,
.abouts1-agent-repeater-inner,
.lyh-4 .row,
.syh-6 .row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 24px;
}

.home-s3-inner>[class*="col-"],
.syh-s1-inner>[class*="col-"],
.syh5-bottom-content>.row>[class*="col-"],
.syh3-bottom-content>.row>[class*="col-"] {
    display: flex;
}

.home-s3 .card,
.syh-card,
.syh5-bottom-content>.row>[class*="col-"]>*,
.syh3-bottom-content>.row>[class*="col-"]>* {
    width: 100%;
}

.as1-embedd,
.home-video-frame,
.property-video-tour {
    max-width: 100%;
}

.as1-embedd iframe,
.as1-embedd video,
.as1-embedd embed,
.property-video-tour iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 280px;
}

.wpcf7-form,
.wpcf7-form p {
    max-width: 100%;
}

.home-s4-inner,
.lyh6-inner,
.syh2-form {
    width: 100%;
    max-width: 760px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-s4-inner .wpcf7-form p,
.lyh6-inner .wpcf7-form p,
.syh2-form .wpcf7-form p {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
}

.home-s4-inner .wpcf7-form-control-wrap,
.lyh6-inner .wpcf7-form-control-wrap,
.syh2-form .wpcf7-form-control-wrap,
#contactform .wpcf7-form-control-wrap,
.cs1-card .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.home-s4-inner .wpcf7-form-control,
.lyh6-inner .wpcf7-form-control,
.syh2-form .wpcf7-form-control,
.cs1-card .wpcf7-form-control {
    max-width: 100% !important;
}

.home-s4-inner input:not([type="submit"]),
.lyh6-inner input:not([type="submit"]),
.syh2-form input:not([type="submit"]),
.cs1-card input:not([type="submit"]),
.cs1-card textarea {
    width: 100% !important;
}

.home-s4-inner .wpcf7-submit,
.lyh6-inner .wpcf7-submit,
.syh2-form .wpcf7-submit {
    grid-column: 1 / -1;
    width: 100% !important;
}

.cs1-card {
    max-width: 100%;
}

.cs1-card>.row {
    row-gap: 28px;
}

.cs1-card iframe {
    width: 100% !important;
    max-width: 100%;
}

.property-search #search-page-container {
    padding-left: 20px;
    padding-right: 20px;
}

.property-search #search-form-tool {
    width: 100%;
    max-width: 100%;
    padding: 20px;
}

.property-search #search-form-tool .form-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 14px;
    margin: 0 !important;
}

.property-search #search-form-tool .form-group {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.property-search #search-form-tool label {
    display: block;
    min-height: 18px;
    margin-bottom: 6px;
}

.property-search #search-form-tool input,
.property-search #search-form-tool select,
.property-search #search-form-tool button {
    width: 100% !important;
    min-height: 42px;
}

#searchresults>.row>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    flex: 0 0 var(--content-wide) !important;
    width: var(--content-wide) !important;
    max-width: var(--content-wide) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#searchresults .search-page {
    row-gap: 28px;
}

#searchresults .search-page>[class*="col-"] {
    display: flex;
}

#searchresults .contsearchgrid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#searchresults .prop-deets {
    flex: 1;
}

#all-property-info {
    background: var(--black);
    padding-left: 20px;
    padding-right: 20px;
}

#all-property-info .outer-property-container {
    width: var(--content-wide) !important;
    max-width: var(--content-wide) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#all-property-info .outer-property-container>.row,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: flex !important;
    flex-wrap: wrap;
    row-gap: 24px;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    flex: 0 0 70% !important;
    width: 70% !important;
    max-width: 70% !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
}

#property-carousel .carousel-item img {
    width: 100%;
    height: clamp(360px, 46vw, 560px);
    object-fit: cover;
}

#property-brochure embed,
#property-documents iframe,
#google-maps-placeholder {
    width: 100% !important;
    max-width: 100%;
}

footer {
    padding-left: 20px;
    padding-right: 20px;
}

footer>.row>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    row-gap: 28px;
}

.foot {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 1100px) {
    :root {
        --content-wide: min(960px, calc(100vw - 32px));
        --content-main: min(820px, calc(100vw - 32px));
        --content-readable: min(760px, calc(100vw - 32px));
    }

    .site-nav-inner {
        gap: 14px;
    }

    .nav-link,
    .navbar-nav .menu-item>a,
    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 992px) {
    .site-nav-inner {
        flex-direction: column;
        align-items: center;
        padding: 8px 0;
    }

    .navbar-collapse,
    #bs-example-navbar-collapse-1,
    #mega-menu-wrap-header-menu {
        width: 100% !important;
    }

    .navbar-nav,
    #mega-menu-header-menu,
    #mega-menu-wrap-header-menu #mega-menu-header-menu {
        justify-content: center;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 766px) {
    :root {
        --content-wide: calc(100vw - 24px);
        --content-main: calc(100vw - 24px);
        --content-readable: calc(100vw - 24px);
    }

    #header,
    .navbar,
    .internal-page section,
    .internal-page .page-title-row,
    .property-search #search-page-container,
    #all-property-info,
    footer,
    .foot {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-nav,
    #mega-menu-header-menu,
    #mega-menu-wrap-header-menu #mega-menu-header-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link,
    .navbar-nav .menu-item>a,
    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
        width: 100%;
        justify-content: center;
    }

    .property-search #search-form-tool .form-row,
    .home-s4-inner .wpcf7-form p,
    .lyh6-inner .wpcf7-form p,
    .syh2-form .wpcf7-form p {
        grid-template-columns: 1fr;
    }

    .as1-embedd iframe,
    .as1-embedd video,
    .as1-embedd embed,
    .property-video-tour iframe {
        min-height: 220px;
    }

    #property-carousel .carousel-item img {
        height: 300px;
    }
}

/* Homepage visual correction pass */
#header {
    padding: 22px 20px 18px;
}

#header>.row>.col-12 {
    width: min(1120px, calc(100vw - 40px));
    max-width: min(1120px, calc(100vw - 40px));
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#header-inner {
    min-height: 78px;
    align-items: center;
}

#header-col1,
#header-col2,
#header-col4 {
    display: flex;
    align-items: center;
}

#header-col1 {
    justify-content: center;
}

#header-col2 {
    justify-content: flex-start;
}

#header-col4 {
    justify-content: flex-end;
}

.company-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--yellow);
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
}

.company-phone-r {
    font-size: 19px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.company-logo {
    width: 128px;
    max-width: 128px;
    height: auto;
}

.company-addr {
    color: var(--yellow);
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
}

.header-valuation-button {
    min-width: 174px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 12px;
    line-height: 1;
    background: var(--yellow);
    color: #111 !important;
    border-radius: 2px;
    text-decoration: none;
}

.navbar {
    min-height: 38px;
    padding: 0 20px !important;
}

.navbar-collapse {
    width: min(1120px, calc(100vw - 40px));
    max-width: min(1120px, calc(100vw - 40px));
    margin: 0 auto;
}

.navbar-nav {
    align-items: center;
}

.navbar .nav-link,
.navbar-nav .menu-item>a {
    font-size: 12px;
    line-height: 1;
    padding: 13px 18px !important;
}

.header-socials {
    position: absolute;
    right: calc((100vw - min(1120px, calc(100vw - 40px))) / 2);
    top: 7px;
}

.home-s1,
#home-property-search-tool,
.home-property-spotlight,
.home-video-section,
.home-team-section,
.home-s3,
.home-s4,
.home-s5 {
    --site-content-width: min(930px, calc(100vw - 40px));
}

.home-s1 {
    min-height: 410px;
    padding-top: 122px;
    padding-bottom: 126px;
}

.homes1-content h1,
.homes1-content h2 {
    font-size: clamp(36px, 3.4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
}

.homes1-content p {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.5;
}

#home-property-search-tool {
    margin-top: -72px;
    padding-bottom: 8px;
}

#home-search-top-bar {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 8px;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    height: 46px !important;
    min-height: 46px;
}

#home-search-top-bar #search-form-tool-submit {
    width: 52px !important;
}

#search-form-tool {
    padding: 16px 22px;
}

#search-form-tool .form-group {
    margin-bottom: 0;
}

.home-property-spotlight {
    padding-top: 64px;
    padding-bottom: 68px;
}

.property-spotlight-heading {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 28px;
}

.property-spotlight-heading h3 {
    margin-bottom: 0;
}

.view-all-props {
    min-width: 142px;
    min-height: 38px;
    font-size: 12px;
}

#property-spotlight-carousel .carousel-item>.row {
    margin-left: -12px;
    margin-right: -12px;
}

.featured-properties-row {
    padding-left: 12px;
    padding-right: 12px;
}

.featured-properties-row .property-search-img {
    height: 220px;
    min-height: 220px;
}

.featured-properties-row .prop-deets {
    min-height: 132px;
    padding: 14px;
}

.featured-properties-row .prop-deets p {
    font-size: 12px;
    margin-bottom: 6px;
}

.home-video-section {
    padding-top: 76px;
    padding-bottom: 76px;
}

.home-video-inner {
    grid-template-columns: minmax(240px, 0.82fr) minmax(460px, 1.18fr);
    gap: 44px;
}

.home-video-copy h2 {
    max-width: 260px;
    margin-bottom: 16px;
}

.home-video-copy p {
    max-width: 330px;
}

.home-video-frame {
    max-width: 560px;
    justify-self: end;
}

.home-team-section {
    padding-top: 68px;
    padding-bottom: 70px;
}

.home-team-content {
    max-width: 680px;
}

.home-team-content p {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.home-team-link {
    min-width: 128px;
    min-height: 38px;
    font-size: 12px;
}

.home-s3,
.home-s4,
.home-s5 {
    padding-top: 70px;
    padding-bottom: 76px;
}

.home-s3 .card {
    min-height: 282px;
    padding: 30px 22px;
}

.home-s3 .card img {
    width: 72px;
    height: 72px;
}

.home-s3 .card-content h3,
.home-s3 .card-content h4 {
    font-size: 20px;
}

.home-s3 .card-content p {
    font-size: 13px;
}

.home-s4 .hs4-content {
    max-width: 720px;
    margin-bottom: 26px;
}

.home-s4-inner {
    max-width: 760px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-s4-inner .wpcf7-form p {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.home-s4-inner .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.home-s4-inner .wpcf7-form-control-wrap input,
.home-s4-inner .wpcf7-form-control-wrap select,
.home-s4-inner .wpcf7-form-control-wrap textarea {
    width: 100% !important;
    max-width: 100% !important;
}

.home-s4-inner .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    width: 100% !important;
    height: 42px;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 13px;
}

.home-s4-inner .wpcf7-submit {
    grid-column: 1 / -1;
    width: 100% !important;
    height: 42px;
    min-height: 42px;
}

.home-s5-inner {
    max-width: 720px;
}

.testimonial_slideri {
    min-height: 160px;
}

@media (max-width: 992px) {
    #header {
        padding-top: 18px;
    }

    #header-inner {
        row-gap: 14px;
    }

    #header-col2,
    #header-col4 {
        justify-content: center;
    }

    .header-socials {
        position: static;
        margin-left: auto;
        margin-right: auto;
        padding: 6px 0;
    }

    .home-s1,
    #home-property-search-tool,
    .home-property-spotlight,
    .home-video-section,
    .home-team-section,
    .home-s3,
    .home-s4,
    .home-s5 {
        --site-content-width: min(760px, calc(100vw - 32px));
    }

    .home-video-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .home-video-copy h2,
    .home-video-copy p,
    .home-video-frame {
        max-width: 100%;
        justify-self: center;
    }
}

@media (max-width: 766px) {

    #header>.row>.col-12,
    .navbar-collapse {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }

    .home-s1,
    #home-property-search-tool,
    .home-property-spotlight,
    .home-video-section,
    .home-team-section,
    .home-s3,
    .home-s4,
    .home-s5 {
        --site-content-width: calc(100vw - 24px);
    }

    .home-s1 {
        min-height: 360px;
        padding-top: 86px;
        padding-bottom: 110px;
    }

    #home-property-search-tool {
        margin-top: -64px;
    }

    .home-s4-inner .wpcf7-form p {
        grid-template-columns: 1fr;
    }
}

/* Absolute final layout guard */
.site-nav-inner {
    width: min(1120px, calc(100vw - 40px)) !important;
    max-width: min(1120px, calc(100vw - 40px)) !important;
    min-height: 40px;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

.navbar {
    position: relative !important;
    padding: 0 20px !important;
}

.navbar-collapse,
#bs-example-navbar-collapse-1,
#mega-menu-wrap-header-menu {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav,
#mega-menu-header-menu,
#mega-menu-wrap-header-menu #mega-menu-header-menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link,
.navbar-nav .menu-item>a,
#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    min-height: 40px !important;
    padding: 12px 13px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
}

.header-socials {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-socials .social-media-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

.header-socials .socialmedia-link,
.header-socials .socialmedia-link a {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

#header>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
footer>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.foot>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
.property-search .col-sm-12.col-md-12.col-lg-10.offset-lg-1,
#searchresults>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    flex: 0 0 min(1120px, calc(100vw - 40px)) !important;
    width: min(1120px, calc(100vw - 40px)) !important;
    max-width: min(1120px, calc(100vw - 40px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.internal-page .col-12.col-md-12.col-lg-8.offset-lg-2,
.internal-page .col-12.col-md-12.col-lg-10.offset-lg-1,
.home-property-spotlight>.row,
.home-video-section>.row,
.home-team-section>.row,
.home-s3>.row,
.home-s4>.row,
.home-s5>.row {
    width: min(960px, calc(100vw - 40px)) !important;
    max-width: min(960px, calc(100vw - 40px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-property-search-tool {
    justify-content: center !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#home-property-search-tool>.col-12 {
    flex: 0 0 min(930px, calc(100vw - 40px)) !important;
    width: min(930px, calc(100vw - 40px)) !important;
    max-width: min(930px, calc(100vw - 40px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#home-search-top-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#search-form-tool>.form-group>.row,
.property-search #search-form-tool .form-row {
    display: grid !important;
    gap: 14px !important;
    margin: 0 !important;
}

#search-form-tool>.form-group>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.property-search #search-form-tool .form-row {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
}

#home-search-top-bar .form-group,
#search-form-tool .form-group,
.property-search #search-form-tool .form-group {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.property-search #search-form-tool input,
.property-search #search-form-tool select,
.property-search #search-form-tool button,
.home-s4-inner input:not([type="submit"]),
.lyh6-inner input:not([type="submit"]),
.syh2-form input:not([type="submit"]),
.cs1-card input:not([type="submit"]),
.cs1-card textarea {
    width: 100% !important;
    max-width: 100% !important;
}

.home-s4-inner .wpcf7-form p,
.lyh6-inner .wpcf7-form p,
.syh2-form .wpcf7-form p {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
}

#all-property-info .outer-property-container,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1120px, calc(100vw - 40px)) !important;
    max-width: min(1120px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    flex: 0 0 70% !important;
    width: 70% !important;
    max-width: 70% !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3,
#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
}

@media (max-width: 1100px) {
    .site-nav-inner {
        width: min(960px, calc(100vw - 32px)) !important;
        max-width: min(960px, calc(100vw - 32px)) !important;
        gap: 14px !important;
    }

    .nav-link,
    .navbar-nav .menu-item>a,
    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 992px) {
    .site-nav-inner {
        flex-direction: column;
        justify-content: center !important;
        padding: 8px 0;
    }

    .navbar-collapse,
    #bs-example-navbar-collapse-1,
    #mega-menu-wrap-header-menu {
        width: 100% !important;
    }

    .navbar-nav,
    #mega-menu-header-menu,
    #mega-menu-wrap-header-menu #mega-menu-header-menu {
        justify-content: center !important;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 766px) {

    .site-nav-inner,
    #header>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
    footer>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
    .foot>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
    .property-search .col-sm-12.col-md-12.col-lg-10.offset-lg-1,
    #searchresults>.row>.col-12.col-md-12.col-lg-10.offset-lg-1,
    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1,
    .internal-page .col-12.col-md-12.col-lg-8.offset-lg-2,
    .internal-page .col-12.col-md-12.col-lg-10.offset-lg-1,
    .home-property-spotlight>.row,
    .home-video-section>.row,
    .home-team-section>.row,
    .home-s3>.row,
    .home-s4>.row,
    .home-s5>.row {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        flex-basis: calc(100vw - 24px) !important;
    }

    #home-property-search-tool>.col-12 {
        flex-basis: calc(100vw - 24px) !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    #home-search-top-bar,
    #search-form-tool>.form-group>.row,
    .property-search #search-form-tool .form-row,
    .home-s4-inner .wpcf7-form p,
    .lyh6-inner .wpcf7-form p,
    .syh2-form .wpcf7-form p {
        grid-template-columns: 1fr !important;
    }

    #home-search-top-bar #search-form-tool-submit {
        width: 100% !important;
    }
}

/* Real final screenshot corrections */
#home-property-search-tool {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

#home-property-search-tool>.col-12,
#home-property-search-tool form,
#home-search-top-bar,
#search-form-tool {
    width: min(1120px, calc(100vw - 60px)) !important;
    max-width: min(1120px, calc(100vw - 60px)) !important;
    flex-basis: min(1120px, calc(100vw - 60px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-search-top-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 64px !important;
    gap: 10px !important;
}

#home-search-top-bar #search-form-tool-area,
#home-search-top-bar #search-form-tool-submit {
    height: 64px !important;
    min-height: 64px !important;
}

#home-search-top-bar #search-form-tool-submit {
    width: 64px !important;
}

#search-form-tool {
    box-sizing: border-box !important;
    padding: 28px !important;
}

#search-form-tool>.form-group>.row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.sell-your-home .page-title-row {
    min-height: 560px !important;
    padding-top: 115px !important;
    padding-bottom: 145px !important;
    overflow: visible !important;
}

.sell-your-home .page-title-inner {
    max-width: 980px !important;
}

.sell-your-home .page-title-inner .pt-upper {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.sell-your-home .page-title-inner .page-title {
    font-size: clamp(48px, 5vw, 76px) !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
}

.sell-your-home .page-title-inner p {
    max-width: 1060px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 21px !important;
    line-height: 1.45 !important;
}

.sell-your-home .syh-1 {
    margin-top: 0 !important;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.sell-your-home .syh-card {
    width: 100% !important;
    min-height: 300px !important;
    padding: 42px 24px !important;
}

.site-nav-inner {
    width: min(1040px, calc(100vw - 96px)) !important;
    max-width: min(1040px, calc(100vw - 96px)) !important;
    gap: 18px !important;
}

.navbar-collapse,
#bs-example-navbar-collapse-1,
#mega-menu-wrap-header-menu,
.navbar-nav,
#mega-menu-header-menu,
#mega-menu-wrap-header-menu #mega-menu-header-menu {
    min-width: 0 !important;
}

.nav-link,
.navbar-nav .menu-item>a,
#mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item>a.mega-menu-link {
    padding-left: 11px !important;
    padding-right: 11px !important;
}

.header-socials {
    margin-left: 12px !important;
}

.home-s4-inner,
.lyh6-inner,
.syh2-form {
    width: 100% !important;
    max-width: 920px !important;
}

.home-s4-inner .wpcf7-form,
.lyh6-inner .wpcf7-form,
.syh2-form .wpcf7-form {
    width: 100% !important;
}

.home-s4-inner .wpcf7-form p,
.lyh6-inner .wpcf7-form p,
.syh2-form .wpcf7-form p {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
}

.home-s4-inner .wpcf7-form br,
.lyh6-inner .wpcf7-form br,
.syh2-form .wpcf7-form br {
    display: none !important;
}

.home-s4-inner .wpcf7-form-control-wrap,
.lyh6-inner .wpcf7-form-control-wrap,
.syh2-form .wpcf7-form-control-wrap {
    display: block !important;
    flex: 1 1 220px !important;
    min-width: 220px !important;
    max-width: none !important;
}

.home-s4-inner .wpcf7-form-control-wrap input,
.lyh6-inner .wpcf7-form-control-wrap input,
.syh2-form .wpcf7-form-control-wrap input,
.home-s4-inner .wpcf7-form-control-wrap select,
.lyh6-inner .wpcf7-form-control-wrap select,
.syh2-form .wpcf7-form-control-wrap select,
.home-s4-inner .wpcf7-form-control-wrap textarea,
.lyh6-inner .wpcf7-form-control-wrap textarea,
.syh2-form .wpcf7-form-control-wrap textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
}

.home-s4-inner .wpcf7-submit,
.lyh6-inner .wpcf7-submit,
.syh2-form .wpcf7-submit {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    margin-top: 2px !important;
}

.property-search #search-form-tool input[type="radio"],
.property-search #search-form-tool input[type="checkbox"] {
    width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    margin: 8px auto 0 !important;
    display: block !important;
}

.property-search #search-form-tool input:not([type="radio"]):not([type="checkbox"]),
.property-search #search-form-tool select,
.property-search #search-form-tool button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
}

.property-search #search-form-tool .form-row {
    grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
    align-items: end !important;
}

.property-search #search-form-tool .buttonz {
    align-self: end !important;
}

.property-search #search-form-tool .buttonz button {
    max-width: 220px !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1 {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: min(1080px, calc(100vw - 40px)) !important;
    flex-basis: min(1080px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: min(1080px, calc(100vw - 40px)) !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 28px !important;
    align-items: stretch !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9 {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

#all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

#property-carousel,
#property-carousel .carousel-inner,
#property-carousel .carousel-item,
#property-carousel .carousel-item img,
#tab-viewing {
    height: 500px !important;
    min-height: 500px !important;
}

#property-carousel .carousel-item img {
    object-fit: cover !important;
}

#tab-viewing {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

#tab-viewing>img {
    height: 185px !important;
    object-fit: cover !important;
}

#tab-viewing .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox) {
    min-height: 32px !important;
    height: 32px !important;
    padding: 6px 8px !important;
}

#tab-viewing .wpcf7-textarea {
    min-height: 70px !important;
    height: 70px !important;
}

#tab-viewing .wpcf7-submit {
    min-height: 36px !important;
    height: 36px !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row {
    display: block !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-9.col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

#all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1>.row>.col-12.col-md-3.col-lg-3 {
    display: none !important;
}

@media (max-width: 992px) {
    .site-nav-inner {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #all-property-info>.col-12.col-md-12.col-lg-10.offset-lg-1,
    #all-property-info .outer-property-container {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        flex-basis: calc(100vw - 32px) !important;
    }

    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-9.col-lg-9,
    #all-property-info .outer-property-container>.row:nth-of-type(2)>.col-12.col-md-3.col-lg-3 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 766px) {

    .home-s4-inner .wpcf7-form-control-wrap,
    .lyh6-inner .wpcf7-form-control-wrap,
    .syh2-form .wpcf7-form-control-wrap {
        flex-basis: 100% !important;
        min-width: 0 !important;
    }

    .property-search #search-form-tool .form-row {
        grid-template-columns: 1fr !important;
    }

    .property-search #search-form-tool .buttonz button {
        max-width: 100% !important;
    }
}

.header-socials .socialmedia-link,
.header-socials .socialmedia-link a {

    text-decoration: none;
}

.socialmedia-link a {

    text-decoration: none;
}