/* Cyber Knight - phone fixes shared by all pages (Revision 14).
   Loaded after each page's own stylesheet. Desktop is not affected. */

@media (max-width:780px){
  /* Menu button: a full-size, easy-to-tap target */
  .nav .hamb{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-right:-6px;font-size:1.75rem;border-radius:10px}
  .nav .hamb:active{background:rgba(0,0,0,.06)}

  /* Open menu: one line per item, full-width rows, clear current page */
  .menu{padding:6px 0 14px;gap:0;box-shadow:0 18px 30px -12px rgba(0,0,0,.35)}
  .menu br{display:none}
  .menu>li>a,.menu>li>button.navlink{padding:15px 24px;font-size:1.02rem;line-height:1.25;border-bottom:1px solid rgba(0,0,0,.07);white-space:nowrap}
  .menu>li:last-child>a{border-bottom:0}
  .menu>li>a:after{display:none}
  .menu>li>a.active{box-shadow:inset 4px 0 0 #a50f18;background:rgba(165,15,24,.06)}
}

@media (max-width:640px){
  /* Homepage top: button, phone and store-hours link line up as one group */
  .hero .actions{flex-direction:column;align-items:stretch;gap:14px}
  .hero .actions .btn{justify-content:center;min-height:52px}
  .hero .callout{justify-content:center}
  .hero .callout strong a{display:inline-block;padding:4px 0}
  .hero .actions + p{text-align:center;margin-top:14px}
  .hero .actions + p a{display:inline-block;padding:10px 6px}

  /* Footer: phone and address are easy to tap */
  footer a[href^="tel:"],footer a[href*="maps"]{display:inline-block;padding:8px 0}
}

/* Homepage Business / Home: side by side on phones and small tablets (Revision 15) */
@media (max-width:860px){
  .ck-cut .ck-in{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0}
  .ck-cut .ck-side{margin:0;padding:22px 16px 26px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
  .ck-cut .ck-home{clip-path:none;margin:0;border-radius:0;border-top:0;box-shadow:none;border-left:3px solid #a50f18;padding-top:22px;text-align:center;align-items:center;z-index:auto}
  .ck-cut .ck-biz{padding-bottom:26px}
  .ck-cut .ck-art{height:96px;width:100%;margin-bottom:10px}
  .ck-cut .ck-art svg{height:100%;width:auto;max-width:100%}
  .ck-cut .ck-side h2{margin:4px 0 8px}
  .ck-cut .ck-side ul{justify-items:center;margin:4px 0 16px}
  .ck-cut .ck-side li{justify-content:center;width:100%}
  .ck-cut .ck-go{margin-top:auto;justify-content:center}
}
@media (max-width:640px){
  .ck-cut .ck-side{padding:18px 10px 20px}
  .ck-cut .ck-art{height:62px;margin-bottom:8px}
  .ck-cut .ck-kicker{font-size:.58rem;letter-spacing:.1em;line-height:1.35;min-height:2.7em}
  .ck-cut .ck-side h2{font-size:1.75rem;line-height:1;margin:6px 0 10px}
  .ck-cut .ck-sub{display:none}
  .ck-cut .ck-side ul{gap:0;margin:0 0 14px;padding:0;width:100%}
  .ck-cut .ck-side li{width:100%;justify-content:center;font-size:.7rem;letter-spacing:.04em;line-height:1.25;padding:7px 0;gap:0;min-height:0}
  .ck-cut .ck-side li:last-child{border-bottom:1px solid}
  .ck-cut .ck-biz li{border-color:rgba(60,40,8,.28)}
  .ck-cut .ck-home li{border-color:rgba(0,0,0,.22)}
  .ck-cut .ck-side li:before{display:none}
  .ck-cut .ck-go{font-size:.66rem;letter-spacing:.08em;gap:8px;flex-direction:column}
  .ck-cut .ck-go i{width:38px;height:38px}
}

/* Revision 16: on phones every page shows its title first, then its photo */
@media (max-width:780px){
  .themed-page-hero .inner > .page-theme-copy{order:-1}
}
