/* Agent website (agent.html): hero with photo, then search links and a contact form. */
.ag__hero { display: flex; gap: clamp(18px, 4vw, 40px); align-items: center; flex-wrap: wrap; }
.ag__photo { width: clamp(120px, 28vw, 220px); height: clamp(120px, 28vw, 220px); border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ag__who { flex: 1 1 260px; min-width: 0; }
.ag__brokerage { margin: 6px 0 0; font-size: 1.05rem; }
.ag__license { margin: 2px 0 0; color: var(--muted, #54514c); font-size: .9rem; }
.ag__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ag__bio { margin-top: 24px; max-width: 70ch; white-space: pre-line; overflow-wrap: anywhere; }
.ag__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ag__links .btn { width: 100%; justify-content: center; }
.ag__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 34px); box-shadow: var(--sh-md); }
.ag__legal { margin-top: 28px; font-size: .78rem; color: var(--muted, #54514c); }
@media (max-width: 600px) { .ag__hero { flex-direction: column; text-align: center; } .ag__actions { justify-content: center; } }

/* 0089: languages, social links, listings and past sales */
.ag__langs { margin: 14px 0 0; font-weight: 600; }
.ag__socials { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ag__social { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; text-decoration: none; color: inherit; background: #fff; }
.ag__social:hover, .ag__social:focus-visible { border-color: currentColor; }
.ag__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 14px 0 32px; }
.ag__card { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; color: inherit; text-decoration: none; }
a.ag__card:hover, a.ag__card:focus-visible { box-shadow: var(--sh-md); }
.ag__card img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 260; object-fit: cover; background: var(--line); }
.ag__card-body { padding: 12px 14px; display: grid; gap: 3px; }
.ag__card-body b { font-size: 1.1rem; }
.ag__card-body small { color: var(--muted, #54514c); }
.ag__sold { justify-self: start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: #1f6f43; padding: 2px 8px; border-radius: 4px; }
@media (max-width: 600px) { .ag__langs { text-align: center; } .ag__socials { justify-content: center; } }

/* Meet the team (agents.html) */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 24px; }
.tm-person { display: block; text-align: center; padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; }
.tm-person:hover, .tm-person:focus-visible { box-shadow: var(--sh-md); }
.tm-person img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.tm-person b { display: block; margin-top: 12px; font-size: 1.1rem; }
.tm-person small { display: block; color: var(--muted, #54514c); }
.tm-person .tm-lang { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1ede6; }
