/*
Theme Name: Atlanta Sports Chiropractic
Description: Custom theme for Atlanta Sports Chiropractic. Activating it creates the pages, menu and static homepage automatically.
Version: 1.5.1
Text Domain: asc
*/
:root{--red:#a63126;--red2:#8a2820;--bg:#fff;--soft:#f6f2f1;--ink:#1d1a1a;--mute:#5d5655;--line:#e6dedc}
*,*:before,*:after{box-sizing:border-box}
body{margin:0;font:17px/1.65 Barlow,system-ui,sans-serif;background:var(--bg);color:var(--ink)}
h1,h2,h3{font-family:"Barlow Condensed",Impact,sans-serif;line-height:1.05;margin:0 0 .5em}
h1{font-size:clamp(2.6rem,7vw,4.6rem)}h2{font-size:clamp(2rem,4vw,2.8rem)}h3{font-size:1.6rem}
a{color:var(--red)}img{max-width:100%;height:auto}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.bar{background:var(--red);color:#fff;text-align:center;font-size:.9rem;padding:8px 12px}.bar a{color:#fff;font-weight:600}
.nav{position:sticky;top:0;background:var(--bg);border-bottom:1px solid var(--line);z-index:50}
.admin-bar .nav{top:32px}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;flex-wrap:wrap}
.logo{font:700 1.5rem "Barlow Condensed",sans-serif;color:var(--ink);text-decoration:none}.logo b{color:var(--red)}
.nav ul{display:flex;gap:4px;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0}
.nav li a{color:var(--ink);text-decoration:none;padding:8px 12px;font-weight:500}
.nav li a:hover,.nav .current-menu-item>a{color:var(--red)}
.btn{display:inline-block;background:var(--red);color:#fff!important;padding:13px 26px;border-radius:999px;font-weight:600;text-decoration:none}
.btn:hover{background:var(--red2)}.btn.ghost{background:transparent;color:var(--red)!important;border:2px solid var(--red)}
.hero{background:var(--red);color:#fff;padding:84px 0 92px}.hero p{max-width:620px;font-size:1.2rem}
.hero .btn,.cta .btn{background:#fff;color:var(--red)!important}
section{padding:64px 0}.alt{background:var(--soft)}
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.card{display:block;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:24px;text-decoration:none;color:inherit}
.steps{counter-reset:s;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.steps div{counter-increment:s;border-left:4px solid var(--red);padding-left:18px}
.steps div:before{content:counter(s)".";font:700 2rem "Barlow Condensed";color:var(--red)}
.cta{background:var(--red);color:#fff;text-align:center}
.page-head{background:var(--soft);padding:56px 0 40px;border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(2.2rem,5vw,3.4rem);margin:0}
.person{display:grid;grid-template-columns:150px 1fr;gap:28px;align-items:start;padding:32px 0;border-bottom:1px solid var(--line)}
.av{width:150px;height:150px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font:700 3.2rem "Barlow Condensed"}
.prose{max-width:720px}.prose ul{padding-left:1.2em}
.blk{padding:28px 0;border-bottom:1px solid var(--line)}.blk:last-child{border:0}
.two{display:grid;gap:32px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
footer{background:#1d1514;color:#e9dfdd;padding:48px 0 32px;font-size:.95rem}
footer a{color:#fff;text-decoration:none;display:block;padding:2px 0}footer h3{color:#fff;font-size:1.2rem}
.fg{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
a:focus-visible{outline:3px solid var(--red);outline-offset:2px}
@media(max-width:640px){.person{grid-template-columns:1fr}.hero{padding:56px 0}}
/* Elementor integration */
body .elementor-heading-title{font-family:"Barlow Condensed",Impact,sans-serif;line-height:1.05}
body h1.elementor-heading-title{font-size:clamp(2.6rem,7vw,4.6rem)}
body h2.elementor-heading-title{font-size:clamp(2rem,4vw,2.8rem)}
body h3.elementor-heading-title{font-size:1.6rem}
body .elementor-widget-text-editor,body .elementor-button{font-family:Barlow,system-ui,sans-serif}
body .elementor-widget-text-editor{font-size:17px;line-height:1.65}
.elementor-widget-image img{border-radius:50%}

/* page-head bands and service photo panels (match the approved design) */
.asc-pagehead{border-bottom:1px solid #e6dedc}
body .asc-pagehead h1.elementor-heading-title{font-size:clamp(2.2rem,5vw,3.4rem)}
.asc-svc .elementor-column{align-self:stretch}
.asc-photo{min-height:300px}
.asc-hero .elementor-widget-text-editor p{max-width:620px;font-size:1.2rem}
.asc-hero .elementor-button{font-weight:600}

/* ===== Exact-match layer: makes Elementor output follow the approved design ===== */
body .elementor-widget:not(:last-child){margin-block-end:0}
body .elementor-widget-heading{margin-bottom:.5em}
body .elementor-widget-text-editor p{margin:0 0 1em}
body .elementor-widget-text-editor p:last-child{margin-bottom:0}
body .elementor-widget-text-editor ul{margin:0 0 1em;padding-left:1.2em}
body .elementor-widget-button{margin-bottom:14px}
body .elementor-button{padding:13px 26px;border-radius:999px;font:600 1rem/1.65 Barlow,sans-serif}
body .elementor-heading-title a{color:inherit;text-decoration:none}
body .elementor-widget-text-editor a{color:#a63126}
body .asc-hero .elementor-widget-text-editor{margin-bottom:24px}
.asc-row>.elementor-container>.elementor-column>.elementor-element-populated{margin:0 10px}
.asc-row>.elementor-container>.elementor-column:first-child>.elementor-element-populated{margin-left:0}
.asc-row>.elementor-container>.elementor-column:last-child>.elementor-element-populated{margin-right:0}
.asc-row>.elementor-container>.elementor-column:first-child:nth-last-child(2)>.elementor-element-populated{margin-right:16px}
.asc-row>.elementor-container>.elementor-column:last-child:nth-child(2)>.elementor-element-populated{margin-left:16px}
.asc-card>.elementor-element-populated{background:#fff;border:1px solid #e6dedc;border-radius:14px;padding:24px!important;height:100%}
.asc-card .elementor-widget-heading{margin-bottom:.3em}
.asc-steps{counter-reset:s}
.asc-step{counter-increment:s}
.asc-step>.elementor-element-populated{border-left:4px solid #a63126;padding-left:18px!important}
.asc-step>.elementor-element-populated:before{content:counter(s)".";display:block;width:100%;font:700 2rem/1.1 "Barlow Condensed",sans-serif;color:#a63126;margin-bottom:6px}
.asc-person{border-bottom:1px solid #e6dedc}
.asc-person>.elementor-container>.elementor-column:first-child{flex:0 0 178px;width:178px!important}
.asc-person>.elementor-container>.elementor-column:last-child{flex:1;width:auto!important;max-width:720px}
.asc-person>.elementor-container>.elementor-column:first-child>.elementor-element-populated{margin:0 28px 0 0}
.asc-av .elementor-heading-title{width:150px;height:150px;border-radius:50%;background:#a63126;color:#fff;display:grid;place-items:center;font:700 3.2rem "Barlow Condensed",sans-serif;margin:0}
.asc-prose>.elementor-element-populated{max-width:720px}
.elementor-widget-image img{border-radius:0}
@media(max-width:640px){.asc-person>.elementor-container{flex-direction:column}.asc-person>.elementor-container>.elementor-column:first-child{width:100%!important;flex-basis:auto;margin-bottom:16px}}

/* Service photos: identical size for all four, gentle zoom on hover */
.asc-photo-img{min-height:0}
.asc-photo-img>.elementor-element-populated{overflow:hidden;border-radius:14px;padding:0!important;margin:0!important}
.asc-photo-img .elementor-widget-image,.asc-photo-img .elementor-widget-container{margin:0!important}
.asc-photo-img .elementor-widget-image img{display:block;width:100%;height:340px;object-fit:cover;border-radius:0;transition:transform .6s ease}
.asc-photo-img:hover .elementor-widget-image img{transform:scale(1.08)}
.asc-svc>.elementor-container>.elementor-column.asc-photo-img:first-child>.elementor-element-populated{margin-right:16px!important}
.asc-svc>.elementor-container>.elementor-column.asc-photo-img:last-child>.elementor-element-populated{margin-left:16px!important}
@media(max-width:640px){.asc-photo-img .elementor-widget-image img{height:240px}}
@media(prefers-reduced-motion:reduce){.asc-photo-img .elementor-widget-image img{transition:none}.asc-photo-img:hover .elementor-widget-image img{transform:none}}
/* Doctor photos: round, same size as the initials circle */
.asc-person .elementor-widget-image img{display:block;width:150px;height:150px;border-radius:50%;object-fit:cover}

/* Hero background video: no controls, not clickable */
.asc-hero .elementor-background-video-container,.asc-hero video{pointer-events:none}
.asc-hero video::-webkit-media-controls,.asc-hero video::-webkit-media-controls-panel,.asc-hero video::-webkit-media-controls-play-button{display:none!important;-webkit-appearance:none}

/* Hero video: dark fallback + first-frame poster while the video loads; hide any pause/play button */
.asc-hero{background-color:#8a2820;background-image:url(assets/video/hero-poster.jpg);background-size:cover;background-position:center}
.asc-hero button,.asc-hero [class*="pause"],.asc-hero [aria-label*="ause" i]{display:none!important}

/* v1.5.1: hero video element + equal-size service photos with hover zoom */
.asc-hero{position:relative;overflow:hidden}
.asc-hero-video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none;border:0}
.asc-hero .elementor-background-video-container,.asc-hero .elementor-custom-embed-play{display:none!important}
.asc-photo-img>.elementor-element-populated{padding:0!important;margin:0!important;background:none!important}
.asc-photo-img .elementor-widget-html,.asc-photo-img .elementor-widget-container{margin:0!important}
.asc-ph{aspect-ratio:3/2;overflow:hidden;border-radius:14px;background:#8a2820;cursor:pointer}
.asc-ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease;transform:scale(1)}
.asc-ph:hover img{transform:scale(1.1)}
@media(prefers-reduced-motion:reduce){.asc-ph img{transition:none}.asc-ph:hover img{transform:none}}
.asc-hero>.elementor-background-overlay{z-index:1}
.asc-hero>.elementor-container{position:relative;z-index:2}
