/* ==========================================================
   TDS AGENT PROFILE 2.0
   ========================================================== */

body.single-agent {
--tds-agent-wide: 1240px;
--tds-agent-reading: 900px;

background: var(--tds-color-paper-300);
}


/* Ukrycie starego nagłówka RealHomes. */

body.single-agent .rh_temp_header_large_screens,
body.single-agent .rh_responsive_header_temp,
body.single-agent .rh_header,
body.single-agent .rh_mod_header,
body.single-agent .rh_mod_sfoi_wrapper {
display: none !important;
}


body.single-agent .tds-agent-profile {
font-family: var(--tds-font-family);
color: var(--tds-color-text-primary);
background: var(--tds-color-paper-300);
}


/* ==========================================================
   HERO
   ========================================================== */

body.single-agent .tds-agent-profile__hero {
position: relative;
min-height: 420px;
overflow: hidden;

background: var(--tds-color-navy-900);
color: #fff;
}

body.single-agent .tds-agent-profile__hero-background {
position: absolute;
inset: 0;

background:
linear-gradient(
90deg,
rgba(8, 16, 31, .94) 0%,
rgba(8, 16, 31, .76) 48%,
rgba(8, 16, 31, .58) 100%
),
url("/wp-content/uploads/2024/07/header-bg.jpg")
center / cover no-repeat;
}

body.single-agent .tds-agent-profile__hero .targ-header {
position: relative;
z-index: 20;
}

body.single-agent .tds-agent-profile__hero-content {
position: relative;
z-index: 4;

width: min(
var(--tds-agent-wide),
calc(100% - 64px)
);

margin-inline: auto;
padding-top: 245px;
padding-bottom: 94px;
}

body.single-agent .tds-agent-profile__eyebrow {
margin: 0 0 14px;

font-size: 14px;
line-height: 1.3;
font-weight: 700;
letter-spacing: .15em;
text-transform: uppercase;

color: var(--tds-color-gold-400);
}

body.single-agent .tds-agent-profile__hero h1 {
margin: 0;

font-size: clamp(46px, 4.5vw, 66px);
line-height: 1.04;
font-weight: 650;
letter-spacing: -.048em;

color: #fff;
}


/* ==========================================================
   MAIN CONTAINER
   ========================================================== */

body.single-agent .tds-agent-profile__main {
width: min(
var(--tds-agent-wide),
calc(100% - 64px)
);

margin:
-58px
auto
0;

position: relative;
z-index: 10;

padding-bottom: 100px;
}


/* ==========================================================
   IDENTITY
   ========================================================== */

body.single-agent .tds-agent-profile__identity {
display: grid;
grid-template-columns:
minmax(300px, 420px)
minmax(0, 1fr);

overflow: hidden;

border: 1px solid rgba(255, 255, 255, .74);
border-radius: var(--tds-radius-xl);

background: #fff;
box-shadow: var(--tds-shadow-lg);
}

body.single-agent .tds-agent-profile__photo {
min-height: 520px;
overflow: hidden;

background: var(--tds-color-gold-100);
}

body.single-agent .tds-agent-profile__photo img {
display: block;
width: 100%;
height: 100%;

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

body.single-agent .tds-agent-profile__photo > span {
display: flex;
align-items: center;
justify-content: center;

width: 100%;
height: 100%;

font-size: 110px;
font-weight: 650;

color: var(--tds-color-gold-700);
}

body.single-agent .tds-agent-profile__identity-content {
display: flex;
flex-direction: column;
justify-content: center;

padding: 58px 64px;
}

body.single-agent .tds-agent-profile__intro {
max-width: 700px;
margin: 0 0 34px;

font-size: clamp(21px, 1.6vw, 25px);
line-height: 1.55;
font-weight: 500;
letter-spacing: -.018em;

color: var(--tds-color-text-primary);
}

body.single-agent .tds-agent-profile__contact-list {
display: grid;
gap: 16px;
}

body.single-agent .tds-agent-profile__contact-list a,
body.single-agent .tds-agent-profile__contact-list > div {
display: flex;
align-items: center;
gap: 14px;

color: var(--tds-color-text-primary);
text-decoration: none;

font-size: 17px;
line-height: 1.45;
font-weight: 500;
}

body.single-agent .tds-agent-profile__contact-list svg {
width: 22px;
height: 22px;
flex: 0 0 auto;

fill: none;
stroke: var(--tds-color-gold-700);
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
}

body.single-agent .tds-agent-profile__actions {
display: flex;
flex-wrap: wrap;
gap: 14px;

margin-top: 34px;
}

body.single-agent .tds-agent-profile__button {
min-height: 54px;
padding: 0 24px;

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

border-radius: var(--tds-radius-control);

font-size: 16px;
font-weight: 650;
text-decoration: none;

transition:
transform 180ms ease,
box-shadow 180ms ease,
background-color 180ms ease;
}

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

body.single-agent .tds-agent-profile__button--primary {
border: 1px solid var(--tds-color-navy-900);

background: var(--tds-color-navy-900);
color: #fff;

box-shadow: var(--tds-shadow-xs);
}

body.single-agent .tds-agent-profile__button--secondary {
border: 1px solid rgba(154, 111, 66, .38);

background: #fff;
color: var(--tds-color-gold-700);
}


/* ==========================================================
   STORY
   ========================================================== */

body.single-agent .tds-agent-profile__story {
position: relative;

margin-top: 28px;
padding: 60px 70px 42px;

overflow: hidden;

border: 1px solid var(--tds-color-border-soft);
border-radius: var(--tds-radius-xl);

background: #fff;
box-shadow: var(--tds-shadow-sm);
}

body.single-agent .tds-agent-profile__section-heading {
width: min(
var(--tds-agent-reading),
100%
);

margin:
0
auto
38px;
}

body.single-agent .tds-agent-profile__section-heading p {
margin: 0 0 12px;

font-size: 13px;
line-height: 1.3;
font-weight: 700;
letter-spacing: .15em;
text-transform: uppercase;

color: var(--tds-color-gold-700);
}

body.single-agent .tds-agent-profile__section-heading h2 {
margin: 0;

font-size: clamp(38px, 3.1vw, 48px);
line-height: 1.1;
font-weight: 650;
letter-spacing: -.04em;
}

body.single-agent .tds-agent-profile__story-viewport {
width: min(
var(--tds-agent-reading),
100%
);

margin-inline: auto;
overflow: hidden;

transition: max-height 440ms ease;
}

body.single-agent .tds-agent-profile__story-content {
font-size: 19px;
line-height: 1.76;
font-weight: 400;

color: #566071;
}

body.single-agent .tds-agent-profile__story-content p {
margin: 0 0 28px;
}

body.single-agent .tds-agent-profile__story-content p:last-child {
margin-bottom: 0;
}

body.single-agent .tds-agent-profile__story-fade {
position: absolute;
z-index: 2;

left: 1px;
right: 1px;
bottom: 100px;

height: 170px;

pointer-events: none;

background:
linear-gradient(
to bottom,
rgba(255, 255, 255, 0),
rgba(255, 255, 255, .82) 50%,
#fff 88%
);
}

body.single-agent .tds-agent-profile__story.is-expanded
.tds-agent-profile__story-fade,
body.single-agent .tds-agent-profile__story.is-not-collapsible
.tds-agent-profile__story-fade {
opacity: 0;
visibility: hidden;
}

body.single-agent .tds-agent-profile__story-toggle {
position: relative;
z-index: 4;

min-height: 52px;
margin: 30px auto 0;
padding: 0 22px;

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

border: 1px solid var(--tds-color-border-strong);
border-radius: var(--tds-radius-control);

background: #fff;
color: var(--tds-color-gold-700);

font: inherit;
font-size: 16px;
font-weight: 650;

cursor: pointer;
}

body.single-agent .tds-agent-profile__story-toggle svg {
width: 18px;
height: 18px;

fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;

transition: transform 220ms ease;
}

body.single-agent .tds-agent-profile__story-label-expanded {
display: none;
}

body.single-agent .tds-agent-profile__story.is-expanded
.tds-agent-profile__story-label-collapsed {
display: none;
}

body.single-agent .tds-agent-profile__story.is-expanded
.tds-agent-profile__story-label-expanded {
display: inline;
}

body.single-agent .tds-agent-profile__story.is-expanded
.tds-agent-profile__story-toggle svg {
transform: rotate(180deg);
}

body.single-agent .tds-agent-profile__story.is-not-collapsible
.tds-agent-profile__story-toggle {
display: none;
}


/* ==========================================================
   SPECIALISATIONS
   ========================================================== */

body.single-agent .tds-agent-profile__specialisations {
margin-top: 28px;
padding: 28px 34px;

display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 32px;

border: 1px solid var(--tds-color-border-soft);
border-radius: var(--tds-radius-lg);

background: #fff;
box-shadow: var(--tds-shadow-xs);
}

body.single-agent .tds-agent-profile__specialisations h2 {
margin: 0;
padding-right: 32px;

border-right: 1px solid var(--tds-color-border);

font-size: 22px;
line-height: 1.25;
font-weight: 650;
}

body.single-agent .tds-agent-profile__specialisations > div {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

body.single-agent .tds-agent-profile__specialisations span {
padding: 10px 14px;

border-radius: var(--tds-radius-pill);

background: var(--tds-color-gold-100);
color: var(--tds-color-text-primary);

font-size: 14px;
line-height: 1.35;
font-weight: 600;
}


/* ==========================================================
   PROPERTIES
   ========================================================== */

body.single-agent .tds-agent-profile__properties {
margin-top: 68px;
}

body.single-agent .tds-agent-profile__properties-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 34px;

margin-bottom: 30px;
}

body.single-agent .tds-agent-profile__properties-heading p {
margin: 0 0 10px;

font-size: 13px;
font-weight: 700;
letter-spacing: .15em;
text-transform: uppercase;

color: var(--tds-color-gold-700);
}

body.single-agent .tds-agent-profile__properties-heading h2 {
max-width: 760px;
margin: 0;

font-size: clamp(34px, 3vw, 46px);
line-height: 1.12;
font-weight: 650;
letter-spacing: -.04em;
}

body.single-agent .tds-agent-profile__properties-heading > a {
color: var(--tds-color-gold-700);

font-size: 15px;
font-weight: 650;
text-decoration: none;
}

body.single-agent .tds-agent-profile__properties-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}

body.single-agent .tds-agent-property-card {
overflow: hidden;

border: 1px solid var(--tds-color-border-soft);
border-radius: var(--tds-radius-card);

background: #fff;
box-shadow: var(--tds-shadow-sm);
}

body.single-agent .tds-agent-property-card__image {
display: block;
aspect-ratio: 4 / 3;
overflow: hidden;

background: var(--tds-color-paper-400);
}

body.single-agent .tds-agent-property-card__image img {
display: block;
width: 100%;
height: 100%;

object-fit: cover;

transition: transform 360ms ease;
}

body.single-agent .tds-agent-property-card:hover
.tds-agent-property-card__image img {
transform: scale(1.025);
}

body.single-agent .tds-agent-property-card__content {
padding: 24px;
}

body.single-agent .tds-agent-property-card h3 {
margin: 0 0 20px;

font-size: 23px;
line-height: 1.22;
font-weight: 650;
letter-spacing: -.028em;
}

body.single-agent .tds-agent-property-card h3 a {
color: var(--tds-color-text-primary);
text-decoration: none;
}

body.single-agent .tds-agent-property-card__price {
margin: 0 0 14px;

font-size: 21px;
line-height: 1.25;
font-weight: 700;

color: var(--tds-color-text-primary);
}

body.single-agent .tds-agent-property-card__meta {
display: flex;
flex-wrap: wrap;
gap: 8px 18px;

font-size: 14px;
color: var(--tds-color-text-muted);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

body.single-agent .tds-agent-profile__identity {
grid-template-columns: minmax(270px, 36%) 1fr;
}

body.single-agent .tds-agent-profile__identity-content {
padding: 46px;
}

body.single-agent .tds-agent-profile__properties-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

body.single-agent .tds-agent-profile__hero {
min-height: 360px;
}

body.single-agent .tds-agent-profile__hero-content {
width: calc(100% - 40px);

padding-top: 220px;
padding-bottom: 72px;
}

body.single-agent .tds-agent-profile__eyebrow {
font-size: 13px;
}

body.single-agent .tds-agent-profile__hero h1 {
font-size: 42px;
}

body.single-agent .tds-agent-profile__main {
width: calc(100% - 40px);

margin-top: -34px;
padding-bottom: 72px;
}

body.single-agent .tds-agent-profile__identity {
grid-template-columns: 1fr;

border-radius: var(--tds-radius-lg);
}

body.single-agent .tds-agent-profile__photo {
min-height: 390px;
}

body.single-agent .tds-agent-profile__identity-content {
padding: 32px 24px 34px;
}

body.single-agent .tds-agent-profile__intro {
font-size: 20px;
}

body.single-agent .tds-agent-profile__contact-list a,
body.single-agent .tds-agent-profile__contact-list > div {
font-size: 16px;
}

body.single-agent .tds-agent-profile__actions {
display: grid;
grid-template-columns: 1fr;
}

body.single-agent .tds-agent-profile__story {
margin-top: 22px;
padding: 38px 24px 30px;

border-radius: var(--tds-radius-lg);
}

body.single-agent .tds-agent-profile__section-heading h2 {
font-size: 36px;
}

body.single-agent .tds-agent-profile__story-content {
font-size: 18px;
line-height: 1.72;
}

body.single-agent .tds-agent-profile__story-toggle {
width: 100%;
}

body.single-agent .tds-agent-profile__specialisations {
margin-top: 22px;

grid-template-columns: 1fr;
gap: 20px;

padding: 26px 24px;
}

body.single-agent .tds-agent-profile__specialisations h2 {
padding: 0 0 18px;

border-right: 0;
border-bottom: 1px solid var(--tds-color-border);
}

body.single-agent .tds-agent-profile__properties {
margin-top: 54px;
}

body.single-agent .tds-agent-profile__properties-heading {
display: block;
}

body.single-agent .tds-agent-profile__properties-heading h2 {
font-size: 34px;
}

body.single-agent .tds-agent-profile__properties-heading > a {
display: inline-block;
margin-top: 18px;
}

body.single-agent .tds-agent-profile__properties-grid {
grid-template-columns: 1fr;
}

}


/* TDS AGENT CONTACT FORM 2.1 — START */

/* ==========================================================
   TARG DS — Agent contact form
   ========================================================== */

body.single-agent .tds-agent-profile__contact {
margin-top: 68px;
padding: 52px;

display: grid;
grid-template-columns: minmax(250px, .72fr) minmax(0, 1.6fr);
gap: 64px;

border: 1px solid var(--tds-color-border-soft);
border-radius: var(--tds-radius-xl);

background: #fff;
box-shadow: var(--tds-shadow-sm);

scroll-margin-top: 110px;
outline: none;

transition:
box-shadow 260ms ease,
border-color 260ms ease;
}

body.single-agent .tds-agent-profile__contact.is-highlighted {
border-color: rgba(154, 111, 66, .34);

box-shadow:
0 22px 70px rgba(15, 23, 42, .09),
0 0 0 5px rgba(201, 155, 95, .08);
}

body.single-agent .tds-agent-profile__contact-intro {
padding-top: 8px;
}

body.single-agent .tds-agent-profile__contact-eyebrow {
margin: 0 0 12px;

font-size: 13px;
line-height: 1.3;
font-weight: 700;
letter-spacing: .15em;
text-transform: uppercase;

color: var(--tds-color-gold-700);
}

body.single-agent .tds-agent-profile__contact-intro h2 {
margin: 0 0 20px;

font-size: clamp(36px, 3vw, 46px);
line-height: 1.1;
font-weight: 650;
letter-spacing: -.04em;

color: var(--tds-color-text-primary);
}

body.single-agent .tds-agent-profile__contact-intro > p:last-child {
max-width: 330px;
margin: 0;

font-size: 17px;
line-height: 1.65;

color: var(--tds-color-text-secondary);
}


/* Komunikaty */

body.single-agent .tds-agent-profile__form-message {
margin-bottom: 22px;
padding: 16px 18px;

border-radius: var(--tds-radius-md);

font-size: 16px;
line-height: 1.5;
font-weight: 550;
}

body.single-agent .tds-agent-profile__form-message--success {
border: 1px solid rgba(37, 125, 85, .18);
background: rgba(37, 125, 85, .07);
color: #236f4e;
}

body.single-agent .tds-agent-profile__form-message--error {
border: 1px solid rgba(164, 62, 62, .18);
background: rgba(164, 62, 62, .06);
color: #8d3838;
}


/* Formularz */

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

body.single-agent .tds-agent-profile__form label {
display: block;
margin: 0;
}

body.single-agent .tds-agent-profile__form label > span:first-child {
display: block;
margin-bottom: 9px;

font-size: 14px;
line-height: 1.4;
font-weight: 600;

color: var(--tds-color-text-primary);
}

body.single-agent .tds-agent-profile__form input[type="text"],
body.single-agent .tds-agent-profile__form input[type="tel"],
body.single-agent .tds-agent-profile__form input[type="email"],
body.single-agent .tds-agent-profile__form textarea {
width: 100%;

border: 1px solid var(--tds-color-border);
border-radius: 16px;

background: var(--tds-color-paper-200);
color: var(--tds-color-text-primary);

font-family: var(--tds-font-family);
font-size: 16px;
line-height: 1.5;

transition:
border-color 180ms ease,
background-color 180ms ease,
box-shadow 180ms ease;
}

body.single-agent .tds-agent-profile__form input[type="text"],
body.single-agent .tds-agent-profile__form input[type="tel"],
body.single-agent .tds-agent-profile__form input[type="email"] {
height: 58px;
padding: 0 17px;
}

body.single-agent .tds-agent-profile__form textarea {
min-height: 140px;
padding: 16px 17px;
resize: vertical;
}

body.single-agent .tds-agent-profile__form input:focus,
body.single-agent .tds-agent-profile__form textarea:focus {
outline: none;

border-color: rgba(154, 111, 66, .58);
background: #fff;

box-shadow: 0 0 0 4px rgba(201, 155, 95, .10);
}

body.single-agent .tds-agent-profile__form-message-field {
grid-column: 2;
grid-row: 1 / span 2;
}

body.single-agent .tds-agent-profile__form-message-field textarea {
height: calc(58px * 2 + 22px + 31px);
}


/* Zgoda */

body.single-agent .tds-agent-profile__form-consent {
margin-top: 24px !important;

display: flex !important;
align-items: flex-start;
gap: 12px;

cursor: pointer;
}

body.single-agent .tds-agent-profile__form-consent input {
width: 20px;
height: 20px;
margin: 2px 0 0;
flex: 0 0 auto;

accent-color: var(--tds-color-gold-700);
}

body.single-agent .tds-agent-profile__form-consent span {
max-width: 640px;

font-size: 14px !important;
line-height: 1.55 !important;
font-weight: 400 !important;

color: var(--tds-color-text-secondary) !important;
}


/* Przycisk */

body.single-agent .tds-agent-profile__form-submit {
min-height: 56px;
margin-top: 24px;
padding: 0 25px;

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

border: 1px solid var(--tds-color-navy-900);
border-radius: var(--tds-radius-control);

background: var(--tds-color-navy-900);
color: #fff;

font-family: var(--tds-font-family);
font-size: 16px;
line-height: 1;
font-weight: 650;

cursor: pointer;

box-shadow: var(--tds-shadow-xs);

transition:
transform 180ms ease,
box-shadow 180ms ease,
background-color 180ms ease;
}

body.single-agent .tds-agent-profile__form-submit:hover {
transform: translateY(-1px);
box-shadow: var(--tds-shadow-sm);
}

body.single-agent .tds-agent-profile__form-submit svg {
width: 20px;
height: 20px;

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


/* Honeypot */

body.single-agent .tds-agent-profile__honeypot {
position: absolute !important;
left: -9999px !important;

width: 1px !important;
height: 1px !important;

overflow: hidden !important;
}


/* Mobile */

@media (max-width: 767px) {

body.single-agent .tds-agent-profile__contact {
margin-top: 54px;
padding: 34px 24px;

grid-template-columns: 1fr;
gap: 34px;

border-radius: var(--tds-radius-lg);

scroll-margin-top: 86px;
}

body.single-agent .tds-agent-profile__contact-intro {
padding-top: 0;
}

body.single-agent .tds-agent-profile__contact-intro h2 {
font-size: 36px;
}

body.single-agent .tds-agent-profile__contact-intro > p:last-child {
max-width: none;
}

body.single-agent .tds-agent-profile__form-grid {
grid-template-columns: 1fr;
gap: 20px;
}

body.single-agent .tds-agent-profile__form-message-field {
grid-column: auto;
grid-row: auto;
}

body.single-agent .tds-agent-profile__form-message-field textarea {
height: 150px;
}

body.single-agent .tds-agent-profile__form-submit {
width: 100%;
}

}

/* TDS AGENT CONTACT FORM 2.1 — END */


/* TDS AGENT PROFILE REFINEMENT 2.3 — START */

/* ==========================================================
   TARG DS — Agent profile refinement
   ========================================================== */


/* ----------------------------------------------------------
   Krótsze hero
   ---------------------------------------------------------- */

body.single-agent .tds-agent-profile__hero {
min-height: 315px !important;
}

body.single-agent .tds-agent-profile__hero-content {
padding-top: 158px !important;
padding-bottom: 64px !important;
}

body.single-agent .tds-agent-profile__main {
margin-top: -42px !important;
}

body.single-agent .tds-agent-profile__eyebrow {
margin-bottom: 12px !important;
}

body.single-agent .tds-agent-profile__hero h1 {
font-size: clamp(44px, 4vw, 60px) !important;
line-height: 1.04 !important;
}


/* ----------------------------------------------------------
   Lżejsza sekcja „Poznaj Annę”
   ---------------------------------------------------------- */

body.single-agent .tds-agent-profile__story {
margin-top: 22px !important;
padding:
46px
62px
32px !important;
}

body.single-agent .tds-agent-profile__section-heading {
width: min(940px, 100%) !important;
margin-bottom: 27px !important;
}

body.single-agent .tds-agent-profile__section-heading p {
margin-bottom: 9px !important;
font-size: 13px !important;
}

body.single-agent .tds-agent-profile__section-heading h2 {
font-size: clamp(36px, 2.8vw, 44px) !important;
}

body.single-agent .tds-agent-profile__story-viewport {
width: min(940px, 100%) !important;
}

body.single-agent .tds-agent-profile__story-content {
font-size: 18px !important;
line-height: 1.72 !important;
}

body.single-agent .tds-agent-profile__story-content p {
margin-bottom: 24px !important;
}

body.single-agent .tds-agent-profile__story-fade {
bottom: 84px !important;
height: 135px !important;
}

body.single-agent .tds-agent-profile__story-toggle {
min-height: 48px !important;
margin-top: 20px !important;
padding-inline: 20px !important;
}


/* ----------------------------------------------------------
   Specjalizacje bliżej sekcji opisu
   ---------------------------------------------------------- */

body.single-agent .tds-agent-profile__specialisations {
margin-top: 20px !important;
}


/* ----------------------------------------------------------
   Sekcja ofert
   ---------------------------------------------------------- */

body.single-agent .tds-agent-profile__properties {
margin-top: 54px !important;
}

body.single-agent .tds-agent-profile__properties-heading {
margin-bottom: 26px !important;
align-items: flex-end !important;
}

body.single-agent .tds-agent-profile__properties-heading h2 {
margin: 0 !important;

font-size: clamp(36px, 3vw, 46px) !important;
line-height: 1.08 !important;
letter-spacing: -.04em !important;
}

body.single-agent .tds-agent-profile__properties-heading p {
margin-bottom: 9px !important;
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 767px) {

body.single-agent .tds-agent-profile__hero {
min-height: 300px !important;
}

body.single-agent .tds-agent-profile__hero-content {
padding-top: 176px !important;
padding-bottom: 58px !important;
}

body.single-agent .tds-agent-profile__main {
margin-top: -30px !important;
}

body.single-agent .tds-agent-profile__hero h1 {
font-size: 39px !important;
}

body.single-agent .tds-agent-profile__story {
padding:
34px
24px
28px !important;
}

body.single-agent .tds-agent-profile__section-heading {
margin-bottom: 24px !important;
}

body.single-agent .tds-agent-profile__section-heading h2 {
font-size: 34px !important;
}

body.single-agent .tds-agent-profile__story-content {
font-size: 18px !important;
line-height: 1.7 !important;
}

body.single-agent .tds-agent-profile__properties {
margin-top: 48px !important;
}

body.single-agent .tds-agent-profile__properties-heading h2 {
font-size: 35px !important;
}

}

/* TDS AGENT PROFILE REFINEMENT 2.3 — END */


/* TDS AGENT PROPERTY CARDS 2.4 — START */

/* ==========================================================
   TARG DS — Agent property cards
   ========================================================== */


/* Sekcja specjalizacji nie jest już używana. */

body.single-agent .tds-agent-profile__specialisations {
display: none !important;
}


/* ----------------------------------------------------------
   Siatka
   ---------------------------------------------------------- */

body.single-agent .tds-agent-profile__properties {
margin-top: 56px !important;
}

body.single-agent .tds-agent-profile__properties-grid {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
gap: 24px !important;
}


/* ----------------------------------------------------------
   Karta
   ---------------------------------------------------------- */

body.single-agent .tds-agent-property-card {
display: flex !important;
flex-direction: column !important;
overflow: hidden !important;

border: 1px solid rgba(15, 23, 42, .055) !important;
border-radius: 28px !important;

background: #fff !important;

box-shadow:
0 18px 46px rgba(15, 23, 42, .055) !important;

transition:
transform 220ms ease,
box-shadow 220ms ease !important;
}

body.single-agent .tds-agent-property-card:hover {
transform: translateY(-3px);

box-shadow:
0 24px 58px rgba(15, 23, 42, .085) !important;
}


/* ----------------------------------------------------------
   Zdjęcie
   ---------------------------------------------------------- */

body.single-agent .tds-agent-property-card__image {
display: block !important;
aspect-ratio: 4 / 3 !important;
overflow: hidden !important;

background: var(--tds-color-paper-400) !important;
}

body.single-agent .tds-agent-property-card__image img {
display: block !important;
width: 100% !important;
height: 100% !important;

object-fit: cover !important;

transition: transform 420ms ease !important;
}

body.single-agent .tds-agent-property-card:hover
.tds-agent-property-card__image img {
transform: scale(1.025);
}


/* ----------------------------------------------------------
   Treść
   ---------------------------------------------------------- */

body.single-agent .tds-agent-property-card__content {
flex: 1;

padding:
30px
32px
30px !important;
}


/* Cena */

body.single-agent .tds-agent-property-card__price {
display: flex !important;
align-items: baseline !important;
flex-wrap: wrap !important;
gap: 8px !important;

margin: 0 0 6px !important;

font-size: clamp(28px, 2.35vw, 38px) !important;
line-height: 1.08 !important;
font-weight: 700 !important;
letter-spacing: -.035em !important;

color: var(--tds-color-text-primary) !important;
}

body.single-agent .tds-agent-property-card__price span {
font-size: .78em !important;
font-weight: 700 !important;
letter-spacing: -.015em !important;
}


/* Rata */

body.single-agent .tds-agent-property-card__rate {
margin: 0 0 27px !important;

font-size: 17px !important;
line-height: 1.45 !important;
font-weight: 650 !important;

color: var(--tds-color-gold-700) !important;
}


/* Tytuł */

body.single-agent .tds-agent-property-card h3 {
margin: 0 0 18px !important;

font-size: clamp(22px, 1.75vw, 28px) !important;
line-height: 1.22 !important;
font-weight: 650 !important;
letter-spacing: -.03em !important;

color: var(--tds-color-text-primary) !important;
}

body.single-agent .tds-agent-property-card h3 a {
color: inherit !important;
text-decoration: none !important;
}


/* Lokalizacja */

body.single-agent .tds-agent-property-card__location {
margin: 0 0 24px !important;

font-size: 17px !important;
line-height: 1.45 !important;
font-weight: 400 !important;

color: var(--tds-color-text-secondary) !important;
}


/* Parametry */

body.single-agent .tds-agent-property-card__meta {
display: flex !important;
flex-wrap: wrap !important;
gap: 9px !important;

margin-top: auto !important;
}

body.single-agent .tds-agent-property-card__meta span {
min-height: 38px !important;
padding: 0 15px !important;

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

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

background: var(--tds-color-paper-300) !important;
color: var(--tds-color-text-secondary) !important;

font-size: 14px !important;
line-height: 1 !important;
font-weight: 600 !important;
}


/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

body.single-agent .tds-agent-profile__properties-grid {
grid-template-columns:
repeat(2, minmax(0, 1fr)) !important;
}

}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 767px) {

body.single-agent .tds-agent-profile__properties-grid {
grid-template-columns: 1fr !important;
gap: 20px !important;
}

body.single-agent .tds-agent-property-card {
border-radius: 24px !important;
}

body.single-agent .tds-agent-property-card__content {
padding:
26px
24px
26px !important;
}

body.single-agent .tds-agent-property-card__price {
font-size: 31px !important;
gap: 7px !important;
}

body.single-agent .tds-agent-property-card__rate {
margin-bottom: 23px !important;

font-size: 16px !important;
}

body.single-agent .tds-agent-property-card h3 {
font-size: 25px !important;
}

body.single-agent .tds-agent-property-card__location {
font-size: 16px !important;
}

body.single-agent .tds-agent-property-card__meta span {
min-height: 37px !important;
padding-inline: 14px !important;

font-size: 14px !important;
}

}

/* TDS AGENT PROPERTY CARDS 2.4 — END */
