/*
Theme Name: Center for Fine Dentistry v2
Author: Krasnyk Studio
Description: Custom theme for centerforfinedentistry.com, built from the approved v2 design.
Version: 1.0.202611261124
Requires PHP: 7.4
Text Domain: cffd-v2
*/
body{margin:0;background:#FFFFFF}
a{color:#7D5F2A}a:hover{color:#5C4520}
.nav-links{display:flex}
.nav-phone{display:inline-flex}
.mobile-bar{display:none}
@media (max-width: 1060px){.nav-links{display:none}.nav-phone{display:none}.mobile-bar{display:flex}}
@media (min-width: 1061px){.nav-burger{display:none}}
input[type=range].ba{-webkit-appearance:none;appearance:none;background:transparent}
input[type=range].ba::-webkit-slider-thumb{-webkit-appearance:none;width:52px;height:52px;border-radius:999px;background:#FFFFFF;border:2px solid #C9A96E;cursor:ew-resize}
input[type=range].ba::-moz-range-thumb{width:52px;height:52px;border-radius:999px;background:#FFFFFF;border:2px solid #C9A96E;cursor:ew-resize}
.field{font:inherit;font-size:16px;color:#22272E;padding:14px 16px;border:1px solid #D5D9DE;border-radius:6px;background:#FFFFFF;width:100%;box-sizing:border-box}
.field:focus{outline:2px solid #C9A96E;outline-offset:1px;border-color:#C9A96E}
/* ---- theme additions (not in the canvas) ---- */
html{scroll-padding-top:84px}
img{max-width:100%}
.admin-bar header[style]{top:32px!important}
@media (max-width:782px){.admin-bar header[style]{top:46px!important}}
/* mobile menu opened by the burger */
.m-menu{display:none}
body.menu-open .m-menu{display:flex;flex-direction:column;position:fixed;left:0;right:0;top:73px;bottom:0;z-index:40;background:#FFFFFF;padding:12px 24px 32px;overflow:auto;font-family:Manrope,system-ui,sans-serif;border-top:1px solid #E6E8EB}
.m-menu a{color:#22272E;text-decoration:none;font-size:20px;font-weight:600;padding:16px 0;border-bottom:1px solid #E6E8EB}
.m-menu a.m-tel{border:none;margin-top:16px;color:#7D5F2A}
.nav-links a{white-space:nowrap}
@media (max-width:1400px){.nav-links{gap:20px!important;font-size:14px!important}}
@media (min-width:1061px){body.menu-open .m-menu{display:none}}
header a[href$="#book"]{white-space:nowrap}
/* phones: before/after pairs stacked full width so the labels don't cover the photo */
@media (max-width:640px){
  .ba-pair{flex-direction:column!important}
  .ba-pair>*{flex:1 1 auto!important;width:100%}
  .ba-pair img{min-height:0!important;height:auto!important;aspect-ratio:3/2}
  .ba-pair span,.ba-pair figcaption{font-size:10px!important;padding:3px 9px!important;top:8px!important;left:8px!important}
}
/* bottom bar on phones: only "Call" (booking is already in the header) */
.mobile-bar a[href$="#book"]{display:none!important}
@media (max-width:480px){header a[href$="#book"]{padding:11px 16px!important;font-size:14px!important}header img{height:38px!important}header>div{gap:12px!important;padding:12px 16px!important}}
/* plain pages (privacy policy, 404 …) */
.plain-head{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1280px;margin:0 auto;padding:14px 24px;border-bottom:1px solid #E6E8EB;font-family:Manrope,system-ui,sans-serif}
.plain-head img{height:44px;width:auto;display:block}
.plain-book{background:#22272E;color:#FFFFFF!important;text-decoration:none;font-weight:600;font-size:15px;padding:12px 22px;border-radius:999px}
.plain{max-width:760px;margin:0 auto;padding:64px 24px 96px;font-family:Manrope,system-ui,sans-serif;color:#22272E;font-size:17px;line-height:1.7}
.plain h1{font-family:'Instrument Sans',system-ui,sans-serif;font-weight:500;font-size:clamp(34px,4.4vw,52px);line-height:1.08;letter-spacing:-.02em;margin:0 0 24px}
