/* ==========================================================
   TARG DS
   Agent Component v3.0
   ========================================================== */

body.single-property .tds-agent-v3 {
margin: 28px 0;
overflow: hidden;

border: 1px solid rgba(23, 32, 51, .055);
border-radius: 30px;

background: #fff;
box-shadow: 0 22px 65px rgba(15, 23, 42, .06);
}

body.single-property .tds-agent-v3__summary {
min-height: 184px;
padding: 28px 32px;

display: flex;
align-items: center;
justify-content: space-between;
gap: 42px;
}

body.single-property .tds-agent-v3__person {
min-width: 0;

display: flex;
align-items: center;
gap: 28px;
}

body.single-property .tds-agent-v3__photo {
flex: 0 0 132px;

display: block;
width: 132px;
height: 132px;

overflow: hidden;
border-radius: 27px;

background: #f2efeb;
text-decoration: none;
}

body.single-property .tds-agent-v3__photo img {
display: block;
width: 100%;
height: 100%;
margin: 0;
padding: 0;

object-fit: cover;
object-position: center;
}

body.single-property .tds-agent-v3__photo > span {
width: 100%;
height: 100%;

display: flex;
align-items: center;
justify-content: center;

font-family: var(--font-heading);
font-size: 42px;
font-weight: 800;

color: #172033;
}

body.single-property .tds-agent-v3__details {
min-width: 0;
}

body.single-property .tds-agent-v3__eyebrow {
margin: 0 0 8px;

font-family: var(--font-ui);
font-size: 12px;
line-height: 1.2;
font-weight: 800;
letter-spacing: .15em;
text-transform: uppercase;

color: #c99e6c;
}

body.single-property .tds-agent-v3__details h2 {
margin: 0 0 10px;

font-family: var(--font-heading);
font-size: clamp(29px, 2.2vw, 38px);
line-height: 1.05;
font-weight: 800;
letter-spacing: -.04em;

color: #172033;
}

body.single-property .tds-agent-v3__details h2 a {
color: inherit;
text-decoration: none;
}

body.single-property .tds-agent-v3__details h2 a:hover {
color: #c99e6c;
}

body.single-property .tds-agent-v3__phone {
display: block;
margin: 0 0 6px;

font-family: var(--font-heading);
font-size: clamp(20px, 1.65vw, 26px);
line-height: 1.2;
font-weight: 800;
letter-spacing: -.02em;

color: #c99e6c;
text-decoration: none;
}

body.single-property .tds-agent-v3__phone:hover {
color: #172033;
}

body.single-property .tds-agent-v3__email {
display: block;
max-width: 400px;

overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

font-family: var(--font-ui);
font-size: 14px;
line-height: 1.4;
font-weight: 600;

color: rgba(23, 32, 51, .54);
text-decoration: none;
}

body.single-property .tds-agent-v3__email:hover {
color: #172033;
}







/* Actions */

body.single-property .tds-agent-v3__actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
}

body.single-property .tds-agent-v3__action {
min-height: 52px;
padding: 0 18px;

display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;

border: 1px solid transparent;
border-radius: 16px;

font-family: var(--font-ui);
font-size: 13px;
line-height: 1;
font-weight: 750;

text-decoration: none;
cursor: pointer;

transition:
transform .18s ease,
background-color .18s ease,
border-color .18s ease,
color .18s ease;
}

body.single-property .tds-agent-v3__action:hover {
transform: translateY(-1px);
}

body.single-property .tds-agent-v3__action svg {
width: 18px;
height: 18px;
flex: 0 0 18px;

fill: none;
stroke: currentColor;
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
}

body.single-property .tds-agent-v3__action--call {
background: #172033;
color: #fff;
}

body.single-property .tds-agent-v3__action--call:hover {
background: #c99e6c;
color: #fff;
}

body.single-property .tds-agent-v3__action--whatsapp {
border-color: rgba(23, 32, 51, .08);
background: #f7f5f1;
color: #172033;
}

body.single-property .tds-agent-v3__action--whatsapp:hover {
border-color: rgba(201, 158, 108, .34);
background: rgba(201, 158, 108, .11);
}

body.single-property .tds-agent-v3__action--message {
border-color: transparent;
background: transparent;
color: #172033;
}

body.single-property .tds-agent-v3__action--message:hover {
background: #f7f5f1;
}

body.single-property .tds-agent-v3__chevron {
width: 15px !important;
height: 15px !important;
margin-left: 2px;

transition: transform .22s ease;
}

body.single-property
.tds-agent-v3--open
.tds-agent-v3__chevron {
transform: rotate(180deg);
}

/* Form accordion */

body.single-property .tds-agent-v3__form {
display: block !important;
max-height: 0;

padding: 0 32px;

overflow: hidden;
opacity: 0;
visibility: hidden;

border-top: 0 solid rgba(23, 32, 51, .07);

transition:
max-height .42s ease,
padding .32s ease,
opacity .22s ease,
border-width .32s ease,
visibility 0s linear .42s;
}

body.single-property
.tds-agent-v3--open
.tds-agent-v3__form {
max-height: 1800px;

padding-top: 34px;
padding-bottom: 36px;

opacity: 1;
visibility: visible;

border-top-width: 1px;

transition:
max-height .52s ease,
padding .32s ease,
opacity .22s ease .07s,
border-width .32s ease,
visibility 0s linear 0s;
}

body.single-property .tds-agent-v3__form-inner {
width: min(820px, 100%);
margin: 0 auto;
}

body.single-property .tds-agent-v3__form-heading {
margin: 0 0 24px;
}

body.single-property .tds-agent-v3__form-heading h3 {
margin: 0 0 6px;

font-family: var(--font-heading);
font-size: 27px;
line-height: 1.1;
font-weight: 800;
letter-spacing: -.03em;

color: #172033;
}

body.single-property .tds-agent-v3__form-heading p {
margin: 0;

font-family: var(--font-ui);
font-size: 14px;
line-height: 1.5;

color: rgba(23, 32, 51, .55);
}

/* RH widget — show only enquiry form */

body.single-property
.tds-agent-v3__rh-form
.rh_property_agent {
display: block !important;
visibility: visible !important;
opacity: 1 !important;

width: 100% !important;
max-width: none !important;

margin: 0 !important;
padding: 0 !important;

border: 0 !important;
background: transparent !important;
box-shadow: none !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_property_agent > .agent-image,

body.single-property
.tds-agent-v3__rh-form
.rh_property_agent > .rh_property_agent__title,

body.single-property
.tds-agent-v3__rh-form
.rh_property_agent > .rh_property_agent__agent_info,

body.single-property
.tds-agent-v3__rh-form
.rh_property_agent > .rh_property_agent__link {
display: none !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_property_agent__enquiry_form {
display: block !important;
visibility: visible !important;
opacity: 1 !important;

width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form.agent-form {
display: grid !important;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;

width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row {
margin: 0 !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row:nth-of-type(4),

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr,

body.single-property
.tds-agent-v3__rh-form
.rh_modal__recaptcha,

body.single-property
.tds-agent-v3__rh-form
.btn-mail-now,

body.single-property
.tds-agent-v3__rh-form
.ajax-loader,

body.single-property
.tds-agent-v3__rh-form
.error-container,

body.single-property
.tds-agent-v3__rh-form
.message-container {
grid-column: 1 / -1;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row label {
display: block;
margin: 0 0 7px;

font-family: var(--font-ui);
font-size: 12px;
font-weight: 700;

color: rgba(23, 32, 51, .60);
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row input,

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row textarea {
width: 100% !important;

border: 1px solid rgba(23, 32, 51, .09) !important;
border-radius: 15px !important;

background: #f7f5f1 !important;
color: #172033 !important;

font-family: var(--font-ui) !important;
font-size: 14px !important;

box-shadow: none !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row input {
min-height: 54px !important;
padding: 0 16px !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row textarea {
min-height: 150px !important;
padding: 15px 16px !important;

resize: vertical;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row input:focus,

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row textarea:focus {
outline: none !important;
border-color: rgba(201, 158, 108, .66) !important;
background: #fff !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr {
margin: 2px 0 0 !important;
padding: 0 !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr .gdpr-checkbox-label {
display: block;
margin-bottom: 8px;

font-family: var(--font-ui);
font-size: 12px;
font-weight: 800;

color: #172033;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr label {
font-family: var(--font-ui);
font-size: 12px;
line-height: 1.5;

color: rgba(23, 32, 51, .62);
}

body.single-property
.tds-agent-v3__rh-form
.btn-mail-now {
width: fit-content !important;
min-height: 54px !important;

display: inline-flex !important;
align-items: center;
justify-content: center;
gap: 9px;

margin: 4px 0 0 !important;
padding: 0 25px !important;

border: 0 !important;
border-radius: 16px !important;

background: #172033 !important;
color: #fff !important;

font-family: var(--font-ui) !important;
font-size: 14px !important;
font-weight: 800 !important;
}

body.single-property
.tds-agent-v3__rh-form
.btn-mail-now:hover {
background: #c99e6c !important;
}

/* Tablet */

@media (max-width: 1020px) {

body.single-property .tds-agent-v3__summary {
align-items: flex-start;
flex-direction: column;
}

body.single-property .tds-agent-v3__actions {
width: 100%;
justify-content: flex-start;
}

}

/* Mobile */

@media (max-width: 767px) {

body.single-property .tds-agent-v3 {
border-radius: 25px;
}

body.single-property .tds-agent-v3__summary {
min-height: 0;
padding: 24px;
gap: 25px;
}

body.single-property .tds-agent-v3__person {
width: 100%;
align-items: flex-start;
gap: 17px;
}

body.single-property .tds-agent-v3__photo {
flex-basis: 86px;
width: 86px;
height: 86px;

border-radius: 22px;
}

body.single-property .tds-agent-v3__details {
max-width: calc(100% - 103px);
}

body.single-property .tds-agent-v3__eyebrow {
margin-bottom: 7px;
font-size: 10px;
}

body.single-property .tds-agent-v3__details h2 {
font-size: 23px;
}

body.single-property .tds-agent-v3__phone {
font-size: 19px;
}

body.single-property .tds-agent-v3__email {
max-width: 100%;
font-size: 12px;
}

body.single-property .tds-agent-v3__profile {
display: none;
}

body.single-property .tds-agent-v3__actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 9px;
}

body.single-property .tds-agent-v3__action {
width: 100%;
min-height: 50px;
padding: 0 11px;
}

body.single-property .tds-agent-v3__action--message {
grid-column: 1 / -1;

border-color: rgba(23, 32, 51, .09);
background: #fff;
}

body.single-property .tds-agent-v3__form {
padding-left: 24px;
padding-right: 24px;
}

body.single-property
.tds-agent-v3--open
.tds-agent-v3__form {
padding-top: 27px;
padding-bottom: 28px;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form.agent-form {
grid-template-columns: 1fr;
}

body.single-property
.tds-agent-v3__rh-form
.rh_widget_form__row:nth-of-type(4) {
grid-column: auto;
}

body.single-property
.tds-agent-v3__rh-form
.btn-mail-now {
width: 100% !important;
}

}

/* ==========================================================
   TDS Agent 3.1 — GDPR checkbox
   ========================================================== */

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr {
display: grid !important;
grid-template-columns: 18px minmax(0, 1fr);
column-gap: 12px;
row-gap: 5px;
align-items: start;

width: 100%;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
.gdpr-checkbox-label {
grid-column: 1 / -1;

margin: 0 0 4px !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
input[type="checkbox"] {
position: static !important;

display: block !important;
appearance: auto !important;
-webkit-appearance: checkbox !important;

width: 18px !important;
min-width: 18px !important;
height: 18px !important;
min-height: 18px !important;

margin: 2px 0 0 !important;
padding: 0 !important;

opacity: 1 !important;
visibility: visible !important;

accent-color: #c99e6c;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
label {
grid-column: 2;

display: block !important;
margin: 0 !important;
padding: 0 !important;

cursor: pointer;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
label::before,

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
label::after {
display: none !important;
content: none !important;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
.rh-gdpr-text-inner-wrapper {
display: block;

font-size: 12px;
line-height: 1.5;
color: rgba(23, 32, 51, .62);
}

@media (max-width: 767px) {

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr {
grid-template-columns: 17px minmax(0, 1fr);
column-gap: 10px;
}

body.single-property
.tds-agent-v3__rh-form
.rh_inspiry_gdpr
input[type="checkbox"] {
width: 17px !important;
min-width: 17px !important;
height: 17px !important;
min-height: 17px !important;
}

}
