/* Compact desktop hero only; keep native menu and the mobile layout unchanged. */
@media (min-width:769px) {
    body.page-template-template-find-a-teacher-php.speeklly-find-teacher-page .find-teacher-unified-hero {padding-top:18px!important;padding-bottom:20px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero {min-height:240px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .teacher-results-copy {padding-bottom:0!important}
    body.page-template-template-find-a-teacher-php .sfd-eyebrow {font-size:12px;padding:6px 12px;margin-bottom:14px}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message {font-size:clamp(32px,2.9vw,48px)!important;letter-spacing:-1.2px!important;margin-bottom:20px!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.45!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .find-teacher-hero-visual {inset:-60px 0 auto auto!important;width:38vw!important;max-width:480px!important}
    body.page-template-template-find-a-teacher-php .find-teacher-unified-hero .teacher-filters-container {padding-top:14px!important;padding-bottom:14px!important}
}
@media (min-width:769px) and (max-height:850px) {
    body.page-template-template-find-a-teacher-php.speeklly-find-teacher-page .find-teacher-unified-hero {padding-top:12px!important;padding-bottom:16px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero {min-height:210px!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero #teacher-count-message {font-size:clamp(30px,2.6vw,42px)!important}
    body.page-template-template-find-a-teacher-php #teacher-count-header.find-teacher-hero .find-teacher-hero-visual {inset:-48px 0 auto auto!important;max-width:420px!important}
}
