/*
Theme Name: Bakersfield Smile Design
Theme URI: https://www.bakersfieldsmiledesign.com/
Description: Standalone WordPress website theme for Bakersfield Smile Design, designed and built by Quality Dental. Uses native Elementor Pro Theme Builder templates and Quality Dental Site Core.
Author: Quality Dental
Version: 1.0.1
Text Domain: bakersfield-smile-design
Requires PHP: 8.2
*/
:root {
  --bsd-blue:#2DB2DE; --bsd-blue-dark:#168FB8; --bsd-ink:#333333;
  --bsd-white:#ffffff; --bsd-mist:#f5f8fa; --bsd-max:1240px;
  --bsd-gap:25px;
}
body{font-family:Inter,Arial,sans-serif;color:var(--bsd-ink)}
h1,h2,h3,h4,h5,h6{font-family:Poppins,Arial,sans-serif}
.bsd-eyebrow{font-family:Oswald,Arial,sans-serif;font-weight:500;letter-spacing:.075em;text-transform:uppercase}
.bsd-container{width:min(calc(100% - 50px),var(--bsd-max));margin-inline:auto}
.bsd-grid{display:grid;gap:var(--bsd-gap);grid-template-columns:repeat(3,minmax(0,1fr))}
.bsd-card{overflow:hidden;border:1px solid #e0e5e8;border-radius:10px;background:#fff;display:flex;flex-direction:column}
.bsd-card img{display:block;width:100%;height:250px;object-fit:cover}
.bsd-card-body{padding:25px;display:flex;flex-direction:column;gap:12px;flex:1}
.bsd-card h3{font-size:1.3rem;line-height:1.25;margin:0}
.bsd-card p{line-height:1.55;margin:0}
.bsd-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:10px 18px;border:1px solid #333;color:#333;text-decoration:none;border-radius:6px;font-weight:600;transition:background .2s,color .2s}
.bsd-btn:hover{background:#333;color:#fff}
.bsd-btn--blue{border-color:var(--bsd-blue)}
.bsd-btn--blue:hover{background:var(--bsd-blue);color:#fff}
.bsd-media img{width:100%;height:100%;object-fit:cover}
.bsd-screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1024px){.bsd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.bsd-grid{grid-template-columns:1fr}.bsd-container{width:calc(100% - 40px)}}

/* Quality Dental | Standalone theme defaults and practice brand system */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#333;line-height:1.6}
a{color:#168FB8}
a:hover{color:#2DB2DE}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
:focus-visible{outline:2px solid #168FB8;outline-offset:3px}
.site-main{min-height:40vh}
.site-main:after{content:"";display:block;clear:both}
.bsd-site-header{background:#fff}
.bsd-site-footer a{color:#fff}
.bsd-btn--blue{border-color:#2DB2DE}
.bsd-btn--blue:hover{background:#2DB2DE;color:#fff}
@media(max-width:767px){h1{overflow-wrap:break-word}}

/* QD | Six-field practice bar: 2026-11-12 re-ingested contract */
.bsd-global-utility{width:100%!important;background:#202020!important;color:#fff!important;min-height:55px!important;padding:0!important}
.bsd-global-utility>.e-con-inner{width:100%!important;max-width:none!important;padding:0!important;display:block!important}
.bsd-global-utility .elementor-widget-quality-dental-utility-bar{width:100%!important;flex:1 1 100%!important}
.bsd-global-utility .quality-dental-utility-bar{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:none!important;flex-wrap:nowrap!important;color:#fff!important;background:#202020!important}
.bsd-global-utility .quality-dental-utility-bar .qd-utility-item{display:flex!important;justify-content:center;align-items:center;gap:8px;min-width:0;height:55px;line-height:1.25;padding:8px 12px;border-left:1px solid #777;font-size:13px;font-family:Inter,Arial,sans-serif;overflow-wrap:anywhere}
.bsd-global-utility .quality-dental-utility-bar .qd-utility-item:first-child{border-left:0}
.bsd-global-utility .quality-dental-utility-bar .qd-utility-item svg{flex:0 0 16px!important;width:16px!important;height:16px!important;fill:#2DB2DE!important}
.bsd-global-utility .quality-dental-utility-bar .qd-utility-item a{color:#fff!important;text-decoration:none}
.bsd-global-utility .quality-dental-utility-bar .qd-utility-item a:focus-visible{outline:2px solid #2DB2DE}
.bsd-global-brand-banner{min-height:145px}
.bsd-global-brand-banner .bsd-brand-consultation-cta a{white-space:normal}
@media(min-width:768px) and (max-width:1199px){.bsd-global-utility .quality-dental-utility-bar .qd-utility-item{font-size:11px;padding:8px 6px}}
@media(max-width:767px){.bsd-global-utility .quality-dental-utility-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bsd-global-utility .quality-dental-utility-bar .qd-utility-item{height:auto;min-height:42px;font-size:11px;padding:7px 9px;border-bottom:1px solid #494949}.bsd-global-utility .quality-dental-utility-bar .qd-utility-item:nth-child(odd){border-left:0}.bsd-global-brand-banner{min-height:auto}.bsd-global-brand-banner>.e-con-inner{flex-direction:column}.bsd-global-brand-banner .elementor-widget-image img{max-width:min(90vw,345px)}}

/* Quality Dental native visual mega menu | 83-card grid */
.bsd-global-mega-nav .bsd-mega-dropdown{display:grid!important;grid-template-columns:minmax(220px,27%) minmax(0,73%)!important;gap:18px!important;align-items:start!important;padding:20px 24px!important;max-height:min(78vh,950px);overflow-y:auto;overflow-x:hidden;background:#fff!important;scrollbar-gutter:stable}
.bsd-global-mega-nav .bsd-menu-featured-asset{grid-column:1;position:sticky;top:0;min-width:0;align-self:start;overflow:hidden}
.bsd-global-mega-nav .bsd-menu-featured-asset img{width:100%;height:auto;max-height:235px;object-fit:cover;display:block}
.bsd-global-mega-nav .bsd-menu-featured-asset .elementor-heading-title{overflow-wrap:break-word}
.bsd-global-mega-nav .bsd-menu-topic-grid{grid-column:2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:14px!important;min-width:0;width:100%!important}
.bsd-global-mega-nav .bsd-menu-topic-grid>.elementor-widget{min-width:0;width:100%!important;margin:0!important}
.bsd-global-mega-nav .bsd-menu-topic-grid .quality-dental-treatment-card{height:100%;box-shadow:none;border:1px solid #dde5e9;border-radius:9px}
.bsd-global-mega-nav .bsd-mega-card .qd-card-image{height:112px!important;aspect-ratio:unset!important}
.bsd-global-mega-nav .bsd-mega-card .qd-card-image img{width:100%;height:100%;object-fit:cover}
.bsd-global-mega-nav .bsd-mega-card .qd-card-content{padding:12px 13px!important;gap:7px!important}
.bsd-global-mega-nav .bsd-mega-card .qd-card-eyebrow{font-size:10px;line-height:1.35;letter-spacing:.06em}
.bsd-global-mega-nav .bsd-mega-card .qd-card-heading{display:block!important;font-size:16px!important;line-height:1.25!important;font-weight:650}
.bsd-global-mega-nav .bsd-mega-card .qd-card-description{font-size:12px!important;line-height:1.48!important;margin:0!important}
.bsd-global-mega-nav .bsd-mega-card .qd-card-cta{font-size:11px!important;line-height:1.3!important;min-height:35px!important;padding:8px 10px!important;text-align:center}
.bsd-global-mega-nav .bsd-mega-panel-footer{grid-column:1/-1!important;width:100%!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:14px!important;padding:14px!important;background:#f4f8fb;border-top:1px solid #dce5ea}
.bsd-global-mega-nav .bsd-mega-panel-footer .elementor-button{min-width:170px;font-size:12px}
.bsd-global-mega-nav a:focus-visible{outline:2px solid #168fb8;outline-offset:3px}
@media(max-width:1199px){.bsd-global-mega-nav .bsd-mega-dropdown{grid-template-columns:minmax(190px,30%) minmax(0,70%)!important}.bsd-global-mega-nav .bsd-menu-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){.bsd-global-mega-nav .bsd-mega-dropdown{display:block!important;padding:14px!important;max-height:75dvh;overflow-y:auto!important}.bsd-global-mega-nav .bsd-menu-featured-asset{position:static!important;margin-bottom:12px}.bsd-global-mega-nav .bsd-menu-featured-asset img{max-height:185px!important}.bsd-global-mega-nav .bsd-menu-topic-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.bsd-global-mega-nav .bsd-mega-card .qd-card-image{height:145px!important}.bsd-global-mega-nav .bsd-mega-panel-footer{padding:14px 6px!important}.bsd-global-mega-nav .bsd-mega-panel-footer .elementor-button{width:100%}}

/* Quality Dental | Full 265-card editorial homepage */
.bsd-home-section{width:100%;overflow:hidden}
.bsd-home-section .bsd-home-section-intro{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;align-items:center!important;gap:32px!important;width:100%!important}
.bsd-home-section .bsd-home-section-copy,.bsd-home-section .bsd-home-section-media{width:100%!important;min-width:0}
.bsd-home-section .bsd-home-section-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important}
.bsd-home-section .bsd-home-section-copy h2{font:650 clamp(28px,3vw,40px)/1.16 Poppins,Arial,sans-serif;color:#333;letter-spacing:-.02em;margin:0}
.bsd-home-section .bsd-home-eyebrow .elementor-heading-title{font:600 12px/1.4 Oswald,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#168FB8}
.bsd-home-section .bsd-home-subtitle p{font:600 18px/1.45 Poppins,Arial,sans-serif;color:#1e5268;margin:0}
.bsd-home-section .bsd-home-description p{font:400 16px/1.75 Inter,Arial,sans-serif;color:#4b5960;margin:0}
.bsd-home-section .bsd-home-section-media .elementor-widget-image img{width:100%;max-height:380px;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.bsd-home-section .bsd-home-button-row{display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;margin-top:12px}
.bsd-home-section .bsd-home-button-row .elementor-button{min-width:190px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #343434;background:transparent;color:#333;border-radius:6px;font:600 13px/1.35 Poppins,Arial,sans-serif;padding:10px 20px;transition:background .2s ease,color .2s ease}
.bsd-home-section .bsd-home-button-row .bsd-home-btn-primary .elementor-button:hover{background:#343434;color:#fff}
.bsd-home-section .bsd-home-button-row .bsd-home-btn-secondary .elementor-button{border-color:#2DB2DE}
.bsd-home-section .bsd-home-button-row .bsd-home-btn-secondary .elementor-button:hover{background:#2DB2DE;color:#333}
.bsd-home-section .bsd-home-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;width:100%!important}
.bsd-home-section .bsd-home-card-grid>.elementor-widget{min-width:0;width:100%!important;height:100%!important}
.bsd-home-section .bsd-home-card-grid .quality-dental-treatment-card{height:100%;border-radius:11px}
.bsd-home-section .bsd-home-card-grid .qd-card-image{aspect-ratio:16/10;height:auto;min-height:170px}
.bsd-home-section .bsd-home-card-grid .qd-card-image img{width:100%;height:100%;object-fit:cover}
.bsd-home-section .bsd-home-card-grid .qd-card-heading{font-size:clamp(18px,1.5vw,22px)!important}
.bsd-home-section .bsd-home-card-grid .qd-card-subtitle{font-size:13px}
.bsd-home-section .bsd-home-card-grid .qd-card-description{font-size:14px}
.bsd-home-section .bsd-home-form-wrapper{width:min(100%,820px)!important;margin:auto;padding:24px;border:1px solid #dce7ec;border-radius:12px;background:#f9fbfc}
.bsd-home-section .bsd-home-form-wrapper .wpforms-container{width:100%}
.qd-home-hero .qd-slide-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center;gap:14px!important}
.qd-home-hero .bsd-hero-eyebrow .elementor-heading-title{font:600 12px/1.3 Oswald,Arial,sans-serif;color:#168fb8;letter-spacing:.1em;text-transform:uppercase}
.qd-home-hero .bsd-hero-subtitle .elementor-heading-title{font:500 20px/1.4 Poppins,Arial,sans-serif;color:#1E5268}
.qd-home-hero .qd-slide-copy h1,.qd-home-hero .qd-slide-copy h2{font-family:Poppins,Arial,sans-serif;line-height:1.12;text-align:center}
.qd-home-hero .qd-slide-media{background-size:cover!important;background-position:center center!important}
@media(max-width:1024px){.bsd-home-section .bsd-home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bsd-home-section .bsd-home-section-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}
@media(max-width:767px){.bsd-home-section .bsd-home-section-intro{display:flex!important;flex-direction:column-reverse!important;gap:18px!important}.bsd-home-section .bsd-home-card-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}.bsd-home-section .bsd-home-section-copy h2{font-size:27px}.bsd-home-section .bsd-home-button-row{width:100%!important}.bsd-home-section .bsd-home-button-row .elementor-widget,.bsd-home-section .bsd-home-button-row .elementor-button{width:100%!important}.bsd-home-section .bsd-home-section-media img{max-height:260px!important}.qd-home-hero .qd-slide-media{min-height:265px!important}.qd-home-hero .qd-slide-copy{padding:23px!important}}

/* Quality Dental | Six-column responsive footer */
.bsd-global-footer-shell{width:100%!important;color:#f5f7f9}
.bsd-global-footer-shell .elementor-heading-title{color:#fff}
.bsd-global-footer-shell a{color:#dceaf0;text-decoration:none}
.bsd-global-footer-shell a:hover{color:#2DB2DE}
.bsd-footer-brand-row{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;gap:28px!important;align-items:center!important;width:100%!important}
.bsd-footer-brand-intro,.bsd-footer-visit-cta{min-width:0;width:100%!important}
.bsd-footer-brand-intro .bsd-footer-official-logo img{display:block;width:min(100%,300px);height:auto;object-fit:contain}
.bsd-footer-brand-intro p,.bsd-footer-visit-cta p{font:400 14px/1.7 Inter,Arial,sans-serif;color:#e1e9ec;max-width:65ch}
.bsd-footer-visit-cta .elementor-button{background:transparent;border:1px solid #2DB2DE;border-radius:6px;color:#fff;font:600 13px Poppins,Arial,sans-serif;padding:12px 20px}
.bsd-footer-visit-cta .elementor-button:hover{background:#2DB2DE;color:#202020}
.bsd-footer-six-column-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:25px 36px!important;width:100%!important}
.bsd-footer-six-column-grid>.elementor-widget{width:100%!important;min-width:0}
.quality-dental-footer-column{height:100%;display:flex;flex-direction:column;gap:9px}
.quality-dental-footer-column .qd-footer-heading{font:650 16px/1.3 Poppins,Arial,sans-serif;color:#fff;margin:0 0 8px;letter-spacing:.015em}
.quality-dental-footer-column .qd-footer-intro{font:400 13px/1.5 Inter,Arial,sans-serif;color:#cadbe3}
.quality-dental-footer-column .qd-footer-link-list{display:flex;flex-direction:column;gap:8px;list-style:none;padding:0;margin:0 0 14px}
.quality-dental-footer-column .qd-footer-link-list a{display:flex;align-items:baseline;gap:9px;color:#e1eaf0;font:400 13px/1.45 Inter,Arial,sans-serif;text-decoration:none}
.quality-dental-footer-column .qd-footer-link-list a:hover,.quality-dental-footer-column .qd-footer-link-list a:focus-visible{color:#2DB2DE;text-decoration:underline}
.quality-dental-footer-column .qd-footer-arrow{display:inline-block;font-size:19px;line-height:.7;color:#2DB2DE}
.quality-dental-footer-column .qd-footer-column-cta{margin-top:auto;border:1px solid #2DB2DE;border-radius:5px;color:#fff;padding:9px 13px;font:600 11px/1.35 Poppins,Arial,sans-serif;display:inline-flex;width:max-content;max-width:100%;text-align:center}
.quality-dental-footer-column .qd-footer-column-cta:hover{background:#2DB2DE;color:#202020}
.bsd-footer-contact-grid{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;gap:40px!important;width:100%!important}
.bsd-footer-contact-grid .elementor-icon-list-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 22px}
.bsd-footer-contact-grid .elementor-icon-list-item{margin:0!important;color:#e1e9ef;font:400 13px Inter,Arial,sans-serif}
.bsd-footer-contact-grid .elementor-icon-list-icon{color:#2DB2DE!important}
.bsd-footer-social .elementor-icon-list-items{grid-template-columns:1fr}
.bsd-footer-contact-grid h3{font:650 16px/1.3 Poppins,Arial,sans-serif}
.bsd-footer-legal-row{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:24px!important;width:100%!important}
.quality-dental-footer-legal{display:flex;flex-wrap:wrap;gap:7px 16px;color:#cfd8de;font:400 11px/1.55 Inter,Arial,sans-serif}
.bsd-footer-legal-row .elementor-icon-list-items{display:flex;gap:14px;flex-wrap:wrap;white-space:normal}
.bsd-footer-legal-row .elementor-icon-list-text{font-size:11px!important}
@media(max-width:1050px){.bsd-footer-six-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bsd-footer-contact-grid .elementor-icon-list-items{grid-template-columns:1fr!important}}
@media(max-width:767px){.bsd-footer-brand-row,.bsd-footer-contact-grid{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}.bsd-footer-six-column-grid{grid-template-columns:minmax(0,1fr)!important;gap:26px!important}.bsd-footer-legal-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important}.bsd-footer-contact-grid .elementor-icon-list-items{grid-template-columns:1fr!important}.bsd-footer-brand-intro .bsd-footer-official-logo img{width:240px}}
