/* Find a Teacher only. Keep native Neve navigation and existing search controls. */
body.page-template-template-find-a-teacher-php {
    --sfd-background-height:620px;
    --sfd-header-offset:-64px;
    --sfd-background:radial-gradient(ellipse at 104% 98%,#b7d9ff 0,transparent 52%),radial-gradient(ellipse at 0 96%,#bedcff 0,transparent 53%),linear-gradient(120deg,#dcecff,#eaf4ff 55%,#d8eaff);
}
body.page-template-template-find-a-teacher-php .hfg_header {
    background-image:var(--sfd-background)!important;
    background-size:100% var(--sfd-background-height)!important;
    background-position:0 0!important;
    background-repeat:no-repeat!important;
}
body.page-template-template-find-a-teacher-php > .wrapper > .header {position:relative;z-index:50}
body.page-template-template-find-a-teacher-php .hfg_header .header--row,
body.page-template-template-find-a-teacher-php .hfg_header .header--row-inner,
body.page-template-template-find-a-teacher-php .hfg_header .header-main,
body.page-template-template-find-a-teacher-php .hfg_header .header-main-inner {background:transparent!important;box-shadow:none!important}
body.page-template-template-find-a-teacher-php.speeklly-find-teacher-page .teacher-page-container {
    max-width:none!important;width:100%!important;margin:0 auto!important;padding:0!important;
}
body.page-template-template-find-a-teacher-php.speeklly-find-teacher-page .find-teacher-unified-hero {
    position:relative;isolation:isolate;box-sizing:border-box;
    width:100%!important;max-width:none!important;margin:0 0 18px!important;padding:38px clamp(24px,5.2vw,116px) 36px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
    background-image:var(--sfd-background)!important;background-size:100% var(--sfd-background-height)!important;
    background-position:0 var(--sfd-header-offset)!important;background-repeat:no-repeat!important;
    font-family:Arial,Helvetica,sans-serif;
}
body.page-template-template-find-a-teacher-php .find-teacher-unified-hero::before,
body.page-template-template-find-a-teacher-php .find-teacher-unified-hero::after {display:none!important}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero {
    position:relative;display:flex!important;align-items:center!important;
    min-height:360px!important;margin:0 auto 0!important;padding:0!important;
    max-width:1720px!important;gap:0!important;overflow:visible!important;
}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .teacher-results-copy {
    position:relative;z-index:2;width:58%!important;max-width:940px!important;padding:0 0 38px!important;
}
body.page-template-template-find-a-teacher-php .sfd-eyebrow {
    display:inline-flex;align-items:center;gap:9px;padding:8px 14px;margin:0 0 22px;
    background:#cce4ff;color:#0063ff;border-radius:999px;font-size:14px;font-weight:700;line-height:1.35;
}
.sfd-eyebrow svg {flex-shrink:0}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-kicker {display:none!important}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message {
    color:#071348!important;font-family:Arial,Helvetica,sans-serif!important;
    font-size:clamp(38px,3.55vw,70px)!important;font-weight:800!important;line-height:1.09!important;
    letter-spacing:-1.8px!important;max-width:100%!important;margin:0 0 24px!important;
}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message .teacher-heading-highlight {
    color:#0065ff!important;position:relative;isolation:isolate;display:inline-block;
}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message .teacher-heading-highlight::after {
    content:"";display:block!important;position:absolute;left:2%!important;right:0!important;bottom:-9px!important;
    height:6px!important;background:#ffd429!important;border-radius:60% 45%!important;
    transform:rotate(-.6deg)!important;z-index:-1!important;
}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-description {
    max-width:580px!important;color:#7581a5!important;font-size:clamp(17px,1.25vw,24px)!important;
    font-weight:600!important;line-height:1.55!important;margin:0!important;
}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .find-teacher-hero-visual {
    position:absolute!important;inset:-40px -3vw auto auto!important;width:53vw!important;max-width:980px!important;
    height:auto!important;min-height:0!important;margin:0!important;pointer-events:none;z-index:1!important;
}
body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .find-teacher-hero-visual img {
    display:block!important;position:static!important;width:100%!important;max-width:100%!important;height:auto!important;
    max-height:none!important;object-fit:contain!important;object-position:center!important;
    transform:none!important;filter:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;
    mask-image:linear-gradient(to right,transparent,#000 8%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 94%,transparent);
    mask-composite:intersect;
}
@media(min-width:769px) {
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .teacher-filters-container {
        position:relative!important;z-index:20!important;box-sizing:border-box;
        width:100%!important;max-width:1720px!important;margin:0 auto!important;padding:18px 24px!important;
        background:#ffffffed!important;border:1px solid #ffffff!important;border-radius:20px!important;
        box-shadow:0 10px 28px #6589bb0b!important;
    }
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .modern-filters-redesigned {
        grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr) auto!important;
        grid-template-areas:"learn price level name more" "extra extra extra extra extra"!important;
        gap:0 18px!important;
    }
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .modern-filter-group {width:auto!important;min-width:0!important;margin:0!important}
    body.page-template-template-find-a-teacher-php .find-filter-learning-group {grid-area:learn!important}
    body.page-template-template-find-a-teacher-php .find-filter-price-group {grid-area:price!important}
    body.page-template-template-find-a-teacher-php .find-filter-level-group {grid-area:level!important}
    body.page-template-template-find-a-teacher-php .find-filter-name-group {grid-area:name!important}
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .more-filters-group {grid-area:more!important}
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .modern-filter-group label,
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .speeklly-language-picker__label {
        font-size:11px!important;color:#7480a5!important;font-weight:700!important;letter-spacing:0!important;margin:0 0 9px!important;
    }
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .teacher-filter-control:not(.speeklly-language-picker__native),
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .speeklly-language-picker--desktop .speeklly-language-picker__trigger,
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .more-filters-btn {
        height:48px!important;min-height:48px!important;max-height:48px!important;border-radius:10px!important;
        font-size:14px!important;box-shadow:none!important;
    }
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .more-filters-btn {background:#0065ff!important;border-color:#0065ff!important;color:white!important}
    body.page-template-template-find-a-teacher-php .teacher-results-meta-row {padding-left:28px!important;padding-right:28px!important}
    body.page-template-template-find-a-teacher-php #teacher-cards-container {width:calc(100% - 56px)!important;max-width:1440px!important;margin-left:auto!important;margin-right:auto!important}
}
@media(min-width:1700px) {
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero {min-height:465px!important}
    body.page-template-template-find-a-teacher-php.speeklly-find-teacher-page .find-teacher-unified-hero {padding-top:52px!important;padding-bottom:45px!important}
}
@media(min-width:769px) and (max-width:1100px) {
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero {min-height:315px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message {font-size:36px!important;letter-spacing:-1px!important}
    body.page-template-template-find-a-teacher-php .sfd-eyebrow {font-size:11px;gap:5px;padding:7px 10px}
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .teacher-filters-container {padding:16px!important}
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .modern-filters-redesigned {gap:0 10px!important}
}
@media(max-width:768px) {
    body.page-template-template-find-a-teacher-php.speeklly-find-teacher-page .find-teacher-unified-hero {padding:28px 20px 18px!important;margin-bottom:10px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero {display:flex!important;flex-direction:column;align-items:stretch!important;min-height:0!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .teacher-results-copy {width:100%!important;padding:0!important}
    body.page-template-template-find-a-teacher-php .sfd-eyebrow {font-size:11px;margin-bottom:18px;padding:7px 10px}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message {font-size:clamp(30px,6vw,44px)!important;letter-spacing:-1px!important;margin-bottom:24px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-description {font-size:16px!important;line-height:1.5!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .find-teacher-hero-visual {position:relative!important;inset:auto!important;width:100%!important;max-width:590px!important;margin:12px auto 0!important;height:auto!important;min-height:0!important}
    body.page-template-template-find-a-teacher-php .mobile-action-bar {margin:4px 0 0!important}
    body.page-template-template-find-a-teacher-php .mobile-lang-selector .speeklly-language-picker__trigger {display:flex!important;align-items:center!important;position:relative!important;height:48px!important;min-height:48px!important;padding:4px 34px 4px 42px!important}
    body.page-template-template-find-a-teacher-php .mobile-lang-selector .speeklly-language-picker__field-visual {position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;width:22px!important;height:22px!important}
    body.page-template-template-find-a-teacher-php .mobile-lang-selector .speeklly-language-picker__field-visual svg {width:22px!important;height:22px!important}
}
