/* Agents directory and profile extras. */
.agent-dir-hero{background:linear-gradient(120deg,rgba(5,5,5,.96),rgba(28,28,28,.92));color:#fff;padding:20px 0 12px}
.agent-dir-hero h1{color:#fff;font-size:clamp(2rem,1.4rem + 2.2vw,3rem);margin:0 0 8px}
.agent-dir-hero p{margin:0;color:#f4f1ea;max-width:none;font-size:1.05rem}
.agent-dir-body{padding-block:8px 56px}
.agent-broker{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px 16px;
  align-items:center;
  background:#fff;
  border-top:4px solid var(--gold);
  border-radius:4px;
  padding:12px 20px;
  margin:0 0 12px;
}
.agent-broker img{width:72px;height:54px;object-fit:contain}
.agent-broker h2{margin:0 0 2px;font-size:1.35rem}
.agent-broker .role{margin:0 0 6px;font-weight:600;color:#7a5f14}
.agent-broker p{margin:0;font-size:.92rem;color:#555;line-height:1.35}
.agent-filter{margin:0 0 8px}
.agent-filter h2{margin:0 0 8px;font-size:1.05rem}
.agent-filter-group{display:flex;flex-wrap:wrap;gap:8px}
.agent-filter-group button{
  margin:0;min-height:44px;padding:0 14px;border-radius:999px;cursor:pointer;
  border:1px solid #7a5f14;background:#fff;color:#0b0b0b;
  font:600 .92rem/1 "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.agent-filter-group button:hover,.agent-filter-group button:focus-visible{
  background:#f6f1e2;outline:2px solid #7a5f14;outline-offset:2px
}
.agent-filter-group button[aria-pressed="true"]{
  background:var(--navy);color:#fff;border-color:var(--navy)
}
.agent-filter-empty{margin:0 0 18px;color:#555}
.agent-grid{
  list-style:none;margin:0;padding:0;
  display:grid;gap:22px;justify-content:start;
  grid-template-columns:repeat(auto-fill,minmax(260px,280px));
}
.agent-card{
  margin:0;background:#fff;border-radius:4px;overflow:hidden;
  border:1px solid #e5dfd0;border-top:4px solid var(--gold);
  max-width:280px;
}
.agent-card figure{margin:0;background:#d0d0d0}
.agent-card img{display:block;width:100%;height:auto;object-fit:contain;vertical-align:middle}
.agent-card .agent-card-body{padding:10px 14px 12px}
.agent-broker h2::after,.agent-filter h2::after,.agent-card h2::after{margin-top:4px;width:40px;height:2px}
.agent-card h2{margin:0 0 2px;font-size:1.15rem}
.agent-card h2 a{color:var(--navy);text-decoration:none}
.agent-card h2 a:hover,.agent-card h2 a:focus{color:var(--golddk);text-decoration:underline}
.agent-card .role{margin:0 0 4px;font-size:.95rem;color:#555}
.agent-card .langs{margin:0;font-size:.9rem;color:#7a5f14}
.agent-hero .crumbs{color:#c9c3b6;margin:0 0 18px;grid-column:1/-1}
.agent-hero .crumbs a{color:var(--gold)}
@media(max-width:600px){
  .agent-card{max-width:none}
  .agent-grid{grid-template-columns:1fr}
}
