/* V1.0.14 — clean mobile heading scale + off-canvas multi-level menu. */
@media (max-width:1000px){
  /* Hide legacy hamburger; native/SPA both expose one accessible trigger. */
  body.fep-wordpress .site-header.odau-header .mobile-menu-btn{display:none!important}
  body.fep-wordpress .site-header.odau-header .odau-header-mobile-menu{display:block!important;position:static!important;z-index:auto!important}
  body.fep-wordpress .site-header.odau-header .odau-header-mobile-menu>.odau-drawer-trigger{
    display:flex;align-items:center;justify-content:center;gap:7px;min-width:67px;min-height:38px;
    padding:8px 10px;border:1px solid #e4e4e4;border-radius:5px;background:#fff;
    color:#1a1a1a;font:600 12px/1.2 Inter,Manrope,Arial,sans-serif;cursor:pointer;list-style:none;
  }
  .odau-drawer-trigger::-webkit-details-marker,.odau-drawer-group>summary::-webkit-details-marker{display:none}
  .odau-drawer-backdrop{display:none;position:fixed;inset:0;background:rgba(12,15,20,.48);z-index:10002}
  body.fep-wordpress .odau-drawer[open]>.odau-drawer-backdrop{display:block}
  body.fep-wordpress .site-header.odau-header .odau-drawer>.odau-drawer-panel{
    display:flex!important;flex-direction:column;position:fixed!important;inset:0 0 0 auto!important;
    width:min(360px,92vw)!important;max-width:none!important;min-width:0!important;
    height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;
    margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;
    background:#fff!important;box-shadow:-15px 0 36px #0002!important;z-index:10003!important;
    transform:translateX(104%);visibility:hidden;pointer-events:none;
    transition:transform .22s ease,visibility .22s ease;
  }
  body.fep-wordpress .site-header.odau-header .odau-drawer[open]>.odau-drawer-panel{
    transform:translateX(0);visibility:visible;pointer-events:auto;
  }
  .odau-drawer-heading{display:flex;justify-content:space-between;align-items:center;flex:none;
    min-height:62px;padding:8px 17px;border-bottom:1px solid #ececec;box-sizing:border-box}
  .odau-drawer-heading strong{font:600 17px/1.3 Inter,Manrope,Arial,sans-serif}
  .odau-drawer-close{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #e5e5e5;
    border-radius:6px;background:#fff;color:#222;cursor:pointer;font-size:18px}
  .odau-drawer-nav{display:block;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;padding:6px 18px calc(22px + env(safe-area-inset-bottom));box-sizing:border-box}
  body.fep-wordpress .odau-drawer-nav a,body.fep-wordpress .odau-drawer-nav .odau-drawer-group>summary{
    font:500 13px/1.4 Inter,Manrope,Arial,sans-serif;text-decoration:none!important;color:#202020!important;
    min-height:42px;padding:11px 6px;display:flex;align-items:center;gap:8px;box-sizing:border-box;
    width:100%;border-bottom:1px solid #f0f0f0;overflow-wrap:anywhere;
  }
  body.fep-wordpress .odau-drawer-nav a:hover{background:#fafafa}
  .odau-drawer-caption{color:#868686;font:600 10px/1.5 Inter,Arial,sans-serif;letter-spacing:.07em;
    text-transform:uppercase;margin:18px 6px 5px}
  .odau-drawer-group{display:block;margin:0}
  .odau-drawer-group>summary{list-style:none;cursor:pointer;justify-content:space-between;font-weight:600!important}
  .odau-drawer-chevron{flex:none;width:8px;height:8px;border-right:1.5px solid #777;border-bottom:1.5px solid #777;
    transform:rotate(45deg);margin:0 7px 4px auto;transition:transform .18s ease}
  .odau-drawer-group[open]>summary .odau-drawer-chevron{transform:rotate(225deg);margin-bottom:-3px}
  .odau-drawer-children{display:block;margin:0 0 5px 12px;padding-left:10px;border-left:1px solid #eee}
  body.fep-wordpress .odau-drawer-nav .odau-drawer-view-all{font-size:11px;color:#555!important;background:#f8f8f8}
  body.fep-wordpress .odau-drawer-nav .odau-drawer-level-3>summary,
  body.fep-wordpress .odau-drawer-nav .odau-drawer-level-4>summary{font-size:12px}
  body.odau-mobile-drawer-open{overflow:hidden!important}
}
@media (max-width:767px){
  /* Consistent H1–H6 hierarchy; override oversized legacy home/venue/search template titles. */
  body.fep-wordpress main h1,body.fep-wordpress .fep-server-fallback h1{font-size:clamp(27px,7.1vw,32px)!important;line-height:1.2!important;letter-spacing:-.025em!important;overflow-wrap:anywhere}
  body.fep-wordpress main h2,body.fep-wordpress .fep-server-fallback h2{font-size:clamp(21px,5.7vw,24px)!important;line-height:1.28!important;letter-spacing:-.018em!important;overflow-wrap:anywhere}
  body.fep-wordpress main h3,body.fep-wordpress .fep-server-fallback h3{font-size:18px!important;line-height:1.35!important;overflow-wrap:anywhere}
  body.fep-wordpress main h4,body.fep-wordpress .fep-server-fallback h4{font-size:16px!important;line-height:1.4!important;overflow-wrap:anywhere}
  body.fep-wordpress main h5,body.fep-wordpress .fep-server-fallback h5{font-size:14px!important;line-height:1.45!important}
  body.fep-wordpress main h6,body.fep-wordpress .fep-server-fallback h6{font-size:13px!important;line-height:1.45!important}
  body.fep-wordpress main .edition-hero h1{font-size:clamp(30px,7.7vw,34px)!important;margin:17px 0 15px!important}
  body.fep-wordpress main .edition-section-heading h2,
  body.fep-wordpress main .edition-appointment h2,
  body.fep-wordpress main .edition-business h2,
  body.fep-wordpress main .edition-faq h2,
  body.fep-wordpress main .benefit-band h2{font-size:clamp(22px,5.9vw,26px)!important}
  body.fep-wordpress main .platform-card .venue-name-row h3,
  body.fep-wordpress main .venue-card .venue-name-row h3{font-size:15px!important;line-height:1.4!important}
  body.fep-wordpress main .edition-hero-copy{padding-top:18px}
  body.fep-wordpress main .edition-section-heading{gap:10px}
  body.fep-wordpress main .edition-business,body.fep-wordpress main .edition-faq{min-width:0}
}
@media(max-width:390px){
  body.fep-wordpress main h1{font-size:27px!important}
  body.fep-wordpress main h2{font-size:21px!important}
  body.fep-wordpress main h3{font-size:17px!important}
  body.fep-wordpress .site-header.odau-header .odau-drawer-trigger{padding:7px!important;min-width:62px!important}
}
@media(prefers-reduced-motion:reduce){.odau-drawer-panel,.odau-drawer-chevron{transition:none!important}}
@media(min-width:768px) and (max-width:1000px){
  body.fep-wordpress main h1,body.fep-wordpress .fep-server-fallback h1{font-size:36px!important;line-height:1.2!important;overflow-wrap:anywhere}
  body.fep-wordpress main h2,body.fep-wordpress .fep-server-fallback h2{font-size:26px!important;line-height:1.28!important;overflow-wrap:anywhere}
  body.fep-wordpress main h3,body.fep-wordpress .fep-server-fallback h3{font-size:20px!important;line-height:1.35!important}
  body.fep-wordpress main h4,body.fep-wordpress .fep-server-fallback h4{font-size:18px!important}
  body.fep-wordpress main h5,body.fep-wordpress .fep-server-fallback h5{font-size:16px!important}
  body.fep-wordpress main h6,body.fep-wordpress .fep-server-fallback h6{font-size:14px!important}
  body.fep-wordpress main .edition-hero h1{font-size:38px!important;margin:20px 0 16px!important}
  body.fep-wordpress main .edition-section-heading h2,
  body.fep-wordpress main .edition-appointment h2,
  body.fep-wordpress main .edition-business h2,
  body.fep-wordpress main .edition-faq h2{font-size:27px!important}
  body.fep-wordpress main .platform-card .venue-name-row h3{font-size:17px!important}
}
