/* Match the Tilda teacher catalog: typography, blue and rounded controls. */
.speakone-filter{box-sizing:border-box;width:calc(100% - 40px);max-width:1000px;margin:18px auto 24px;padding:0;background:#fff;border:0;border-radius:0;color:#171717;font-family:'TildaSans',Arial,sans-serif;display:flex;align-items:center;justify-content:space-between;gap:24px}
.speakone-filter h2{font-family:inherit;font-size:22px;font-weight:500;line-height:1.3;margin:0;max-width:390px;letter-spacing:0}
.speakone-filter__choices{display:flex;flex-shrink:0;gap:6px;padding:5px;border-radius:30px;background:#f1f5ff}
.speakone-filter button{box-sizing:border-box;appearance:none;cursor:pointer;border:1px solid transparent;border-radius:24px;background:transparent;color:#303b55;padding:11px 20px;font-family:inherit;font-weight:500;font-size:16px;line-height:22px;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s}
.speakone-filter button[aria-pressed=true]{background:#4675f7;border-color:#4675f7;color:#fff;box-shadow:0 3px 9px #4675f720}
@media(hover:hover){.speakone-filter button:not([aria-pressed=true]):hover{background:#e1eaff;color:#264fae}}
.speakone-filter button:focus-visible{outline:3px solid #a7bfff;outline-offset:2px}
.speakone-filter button:disabled{cursor:wait;opacity:.6}
.speakone-filter p{font-size:14px;line-height:1.5;margin:14px 0 0;color:#506484}
.speakone-filter [hidden],.speakone-filter-hidden{display:none!important}
@media(max-width:1100px){.speakone-filter{max-width:940px;gap:18px}.speakone-filter h2{font-size:21px}.speakone-filter button{padding:10px 16px}}
@media(max-width:800px){.speakone-filter{max-width:600px;flex-direction:column;align-items:stretch;gap:16px;margin:12px auto 24px}.speakone-filter h2{font-size:22px;max-width:none;text-align:center}.speakone-filter__choices{justify-content:center}.speakone-filter button{flex:1;padding:10px 12px}}
@media(max-width:480px){.speakone-filter{width:calc(100% - 32px);gap:14px;margin:8px auto 22px}.speakone-filter h2{font-size:21px;max-width:310px;align-self:center}.speakone-filter__choices{display:grid;grid-template-columns:1fr 1fr;border-radius:23px;gap:5px;padding:5px}.speakone-filter button{width:100%;min-height:44px;padding:10px 12px;border-radius:20px}}

/* Center the label and controls as one compact group. */
.speakone-filter{flex-direction:column;align-items:center;justify-content:center;gap:16px;margin:12px auto 28px}
.speakone-filter h2{max-width:none;text-align:center;font-size:22px;line-height:1.3;font-weight:500}
.speakone-filter__choices{width:auto}
@media(max-width:480px){.speakone-filter{gap:14px;margin:8px auto 24px}.speakone-filter h2{max-width:none;font-size:21px}.speakone-filter__choices{width:100%;box-sizing:border-box}}
/* Selected segment meets the outer track without an inset. */
.speakone-filter__choices{padding:0;gap:0;overflow:hidden}
.speakone-filter button[aria-pressed=true]{box-shadow:none}
@media(max-width:480px){.speakone-filter__choices{padding:0;gap:0;border-radius:20px}}
/* Match the catalog's Tilda mobile grid and teacher card borders. */
@media(min-width:480px) and (max-width:639px){.speakone-filter{width:480px;max-width:100%}.speakone-filter__choices{width:100%;box-sizing:border-box}}
@media(max-width:479px){.speakone-filter{width:320px;max-width:100%}.speakone-filter__choices{width:100%}}
