/* [xpt_brokers]: broker cards and filter (inc/brokers.php). Same 4-up grid as the old FacetWP layout. */
.xptb { --xptb-green: #0e7c50; max-width: 1280px; margin: 0 auto; font-family: "Trade Gothic", sans-serif; color: #181818; }
.xptb-filter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: center; margin: 0 0 16px; }
.xptb-field { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.xptb-field label { font-weight: 700; font-size: 15px; }
.xptb-field input, .xptb-field select { min-height: 44px; min-width: 220px; padding: 8px 12px; border: 1px solid #6b6b6b; border-radius: 0; background: #fff; color: #181818; font: inherit; font-size: 16px; }
.xptb-actions { display: flex; gap: 16px; align-items: center; margin: 0; }
.xptb-actions button { min-height: 44px; padding: 8px 22px; border: 0; background: var(--xptb-green); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.xptb-actions button:hover { background: #181818; }
.xptb-actions a { color: var(--xptb-green); font-weight: 700; text-decoration: underline; }
.xptb :focus-visible { outline: 3px solid #181818; outline-offset: 2px; }
.xptb-count { text-align: center; margin: 0 0 20px; font-size: 15px; }
.xptb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.xptb-card { margin: 0; padding: 10px 10px 16px; border: 1px solid #ececec; background: #fff; text-align: left; }
.xptb-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 12px; }
.xptb-name { margin: 0 0 4px; font-size: 20px; line-height: 1.2; }
.xptb-name a { color: var(--xptb-green); text-decoration: none; }
.xptb-name a:hover { text-decoration: underline; }
.xptb-card p { margin: 0 0 4px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.xptb-card p a { color: #181818; }
.xptb-bio { margin-top: 10px; }
.xptb-bio summary { display: inline-block; min-height: 24px; padding: 6px 14px; background: var(--xptb-green); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; cursor: pointer; list-style: none; }
.xptb-bio summary::-webkit-details-marker { display: none; }
.xptb-bio-text { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.xptb-none { text-align: center; }
.xptb .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1024px) { .xptb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .xptb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .xptb-field input, .xptb-field select { min-width: 0; width: 100%; } .xptb-field { flex: 1 1 100%; } }
@media (max-width: 420px) { .xptb-grid { grid-template-columns: 1fr; } }
