/* Karpagam Homes – fixes */
/* home search: 3 selects + Search button in one neat line */
form.kh-search .gform_fields{display:flex!important;flex-wrap:wrap;gap:14px;align-items:stretch;justify-content:center}
form.kh-search .gfield{flex:1 1 200px;max-width:260px;margin:0!important;padding:0!important}
form.kh-search .gfield--type-submit{flex:0 0 auto;max-width:none}
form.kh-search select{height:44px!important;width:100%!important;padding:0 12px!important;border:1px solid #c9c9c9!important;border-radius:4px!important;background-color:#fff!important;font-size:14px!important}
form.kh-search #gform_submit_button_2{height:44px!important;padding:0 30px!important;background:#c8a13a!important;color:#fff!important;border:0!important;border-radius:4px!important;font-weight:600!important;letter-spacing:1px;cursor:pointer;line-height:44px!important}
form.kh-search #gform_submit_button_2:hover{background:#a8841f!important}
@media (max-width:767px){form.kh-search .gfield,form.kh-search .gfield--type-submit{flex:1 1 100%;max-width:100%}form.kh-search #gform_submit_button_2{width:100%}}
/* "Project in Madurai" filter buttons: same width */
.home .et_pb_row_3 .et_pb_button{min-width:150px;text-align:center}
@media (max-width:980px){.home .et_pb_row_3{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;width:90%!important}.home .et_pb_row_3 .et_pb_column{width:auto!important;margin:0!important;float:none!important}.home .et_pb_row_3 .et_pb_button_module_wrapper{margin:0!important}.home .et_pb_row_3 .et_pb_button{min-width:0;width:100%;padding:8px 6px!important;font-size:14px!important}.home .et_pb_row_3 .et_pb_button:after{display:none}}
@media (max-width:767px){.et_pb_section h1,.et_pb_section h2{padding-left:0!important;padding-right:0!important}}
/* enquiry forms: spam check full width like the other fields */
.gform_wrapper .fm-sum .ginput_container input{width:100%!important}
@media (max-width:767px){.dnxte_multi_heading h1.header-level,.dnxte_multi_heading h2.header-level{padding-left:0!important;padding-right:0!important}}
/* stray copy of the Vista Towers address under the cards (empty column) */
.et_pb_section_3 .et_pb_row_7 .et_pb_blurb_6{display:none!important}
@media (max-width:767px){
 /* project highlights tabs: picture on top, text full width */
 .et_pb_tabs .et_pb_tab_content img{float:none!important;display:block;width:100%!important;height:auto!important;margin:0 0 14px!important}
 .et_pb_tabs .et_pb_tabs_controls li{float:none!important;display:block;border-bottom:1px solid rgba(0,0,0,.08)}
 .et_pb_tabs .et_pb_tabs_controls li a{display:block;padding:10px 16px!important}
 /* footer: side gutter */
 footer .et_pb_row,.et-l--footer .et_pb_row{width:88%!important}
}
@media (max-width:980px){.et_pb_column_4_4{width:100%!important;margin-right:0!important}}
/* project banner: Enquire Now form in a clean card (desktop banner + phone copy) */
.et_pb_row:has(#gform_3){display:flex;align-items:center;justify-content:flex-end}
@media (min-width:981px){.et_pb_row:has(#gform_3){padding:90px 6% 80px!important}.et_pb_row:has(#gform_3)>.et_pb_column:not(:has(#gform_3)){display:none}}
.et_pb_column:has(#gform_3){background:rgba(255,255,255,.96);border-radius:12px;padding:28px 26px 24px!important;box-shadow:0 12px 40px rgba(0,0,0,.28);width:480px!important;max-width:100%;margin:0!important}
.et_pb_column:has(#gform_3) *{text-shadow:none!important}
.et_pb_column:has(#gform_3) .et_pb_module{margin:0 0 12px!important;left:0!important;right:auto!important;transform:none!important;width:100%!important;max-width:100%!important;padding:0!important;min-height:0!important}
.et_pb_column:has(#gform_3) .dnxte_multi_heading:not(:has(.dnxt-text-one)),.et_pb_column:has(#gform_3) .et_pb_text:not(:has(#gform_3)):not(:has(li)){display:none!important}
.et_pb_column:has(#gform_3) .dnxte_multi_heading *{margin:0!important;padding:0!important}
.et_pb_column:has(#gform_3) .dnxte_multi_heading .dnxt-text-one,.et_pb_column:has(#gform_3) .dnxte_multi_heading .dnxt-text-one *{display:block;font-size:28px!important;line-height:1.2!important;font-weight:700!important;color:#1d1d1d!important;-webkit-text-fill-color:#1d1d1d!important;background:none!important}
.et_pb_column:has(#gform_3) .dnxte_multi_heading .dnxt-text-two,.et_pb_column:has(#gform_3) .dnxte_multi_heading .dnxt-text-two *{display:block;margin-top:6px!important;font-size:13px!important;letter-spacing:1px;color:#8a6a12!important;-webkit-text-fill-color:#8a6a12!important;background:none!important}
.et_pb_column:has(#gform_3) .dnxte_multi_heading{height:auto!important;margin-bottom:16px!important}
.et_pb_column:has(#gform_3) h1,.et_pb_column:has(#gform_3) h2,.et_pb_column:has(#gform_3) h3,.et_pb_column:has(#gform_3) h4,.et_pb_column:has(#gform_3) p,.et_pb_column:has(#gform_3) li{color:#222!important}
.et_pb_column:has(#gform_3) .et_pb_text:has(#gform_3) .et_pb_text_inner>*:not(.gform_wrapper):not(.gform-theme){display:none}
.et_pb_column:has(#gform_3) .et_pb_text:has(#gform_3),.et_pb_column:has(#gform_3) .et_pb_text:has(#gform_3) .et_pb_text_inner,#gform_3,#gform_3 .gform_footer{margin-bottom:0!important;padding-bottom:0!important;height:auto!important}
.et_pb_column:has(#gform_3) .gform_wrapper{margin:0!important;padding:0!important}
#gform_3 .gform_fields{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important}
#gform_3 .gfield{grid-column:1 / -1;margin:0!important;padding:0!important}
#gform_3 #field_3_1,#gform_3 #field_3_3{grid-column:auto}
#gform_3 input:not([type=submit]){width:100%!important;height:46px;border:1px solid #d5d5d5!important;border-radius:6px!important;background:#fff!important;padding:0 14px!important;font-size:15px!important;color:#222!important}
#gform_3 .gform_footer{margin:14px 0 0!important;padding:0!important}
#gform_3 [type=submit]{width:100%!important;height:48px;background:#c8a13a!important;color:#fff!important;border:0!important;border-radius:6px!important;font-size:16px!important;font-weight:700!important;letter-spacing:1px;cursor:pointer}
#gform_3 [type=submit]:hover{background:#a8841f!important}
.et_pb_column:has(#gform_3) .et_pb_button_module_wrapper{margin:14px 0 0!important;text-align:center}
.et_pb_column:has(#gform_3) .et_pb_button{color:#5a3e00!important;border-color:#c8a13a!important;background:transparent!important}
@media (max-width:980px){.et_pb_row:has(#gform_3){display:block;padding:30px 5%!important}.et_pb_column:has(#gform_3){width:100%!important;padding:22px 18px!important}}
@media (max-width:480px){#gform_3 .gform_fields{grid-template-columns:1fr}#gform_3 #field_3_1,#gform_3 #field_3_3{grid-column:1 / -1}}
body #page-container .et_pb_column:has(#gform_3) a.et_pb_button,body #page-container .et_pb_column:has(#gform_3) a.et_pb_button:after{color:#7a5a08!important;-webkit-text-fill-color:#7a5a08!important}body #page-container .et_pb_column:has(#gform_3) a.et_pb_button:hover{background:#c8a13a!important;color:#fff!important;-webkit-text-fill-color:#fff!important}body #page-container .et_pb_column:has(#gform_3) a.et_pb_button:hover:after{color:#fff!important;-webkit-text-fill-color:#fff!important}
