/*
Theme Name: Chiropractic Premium Directory
Description: Premium, responsive healthcare directory theme with editable homepage, provider listings, and practice memberships.
Version: 1.0.1
Author: Chiropractic Massage Therapy
Text Domain: chiropractic-premium
Requires at least: 6.5
Requires PHP: 8.0
*/
:root{--ink:#171d20;--forest:#123c33;--green:#08624f;--gold:#a57835;--cream:#faf8f4;--paper:#fdfcf9;--muted:#52605b;--line:#dadbd6;--max:1380px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{display:block;max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}h1,h2,h3,h4{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em;line-height:1.08;margin:0 0 .35em}p{margin:0 0 1em}.container{max-width:var(--max);margin:auto;padding-inline:4.4%}.topbar{background:#143d32;color:white;font:15px Georgia,serif}.topbar .container{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar a{color:#ffdf9a}.site-header{background:#fbfaf8;position:relative;z-index:10}.nav-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}.brand{display:block;flex:0 0 202px}.brand img{width:202px;max-height:68px;object-fit:contain}.brand .custom-logo{width:auto;max-width:202px}.main-nav{margin-left:auto}.main-nav ul{display:flex;gap:clamp(16px,3vw,42px);list-style:none;margin:0;padding:0;align-items:center}.main-nav a{font-family:Georgia,serif;font-size:16px;white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:7px;background:linear-gradient(115deg,#075449,#087665);color:white;min-height:42px;padding:9px 22px;font-family:Georgia,serif;font-size:15px;font-weight:bold;text-align:center;line-height:1.2;transition:filter .2s,transform .2s}.btn:hover{filter:brightness(1.08);text-decoration:none;transform:translateY(-1px)}.btn:focus-visible{outline:3px solid #c79346}.header-cta{white-space:nowrap;min-height:34px;padding:8px 22px}.mobile-toggle{display:none;border:1px solid var(--line);background:white;padding:8px 12px;border-radius:5px;color:var(--forest)}.hero{position:relative;background:#f2eee6;min-height:320px;overflow:visible}.hero-photo{position:absolute;inset:0 0 0 39%;background-size:cover;background-position:center right}.hero-photo::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f2eee6 0%,rgba(242,238,230,.88) 6%,rgba(242,238,230,0) 30%)}.hero-inner{position:relative;min-height:320px;padding-top:28px;padding-bottom:88px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;display:flex;align-items:center;gap:12px;margin-bottom:16px}.eyebrow::after{content:'';height:1px;width:53px;background:var(--gold)}.hero h1{font-size:clamp(38px,4.4vw,64px);max-width:49%;line-height:1.02;letter-spacing:-.045em;margin-bottom:10px}.hero p{font-family:Georgia,serif;font-size:clamp(18px,1.95vw,25px);max-width:42%;line-height:1.16}.search-wrap{position:absolute;bottom:-31px;left:50%;transform:translateX(-50%);width:76%;max-width:1000px;z-index:3}.provider-search{display:grid;grid-template-columns:1fr 1fr auto;background:#fcfbf9;padding:13px 24px 18px;gap:24px;box-shadow:0 7px 18px #272c2630;border-radius:15px;align-items:end}.provider-search label{display:block;text-transform:uppercase;letter-spacing:.17em;font-size:11px;font-weight:700;line-height:1.1;margin-bottom:5px}.provider-search input,.provider-search select{height:36px;min-width:0;width:100%;border:1px solid #c7c7c3;border-radius:6px;background:#fdfcf9;padding:0 12px;font-size:13px;color:#252729}.provider-search .btn{min-width:136px;min-height:38px;font-size:17px}.trust-row{padding-top:49px;padding-bottom:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.trust-item{display:flex;align-items:center;justify-content:center;gap:15px;font:bold 15px Georgia,serif;padding:0 12px;border-right:1px solid #d3d1cb}.trust-item:last-child{border:0}.trust-item svg{width:32px;height:32px;color:var(--gold);flex:none;stroke-width:1.3}.specialties{padding-top:4px;padding-bottom:19px}.section-title{font-size:clamp(29px,3.35vw,46px);margin-bottom:16px}.specialties .container{padding-inline:3%}.specialty-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.specialty-card{position:relative;display:block;border-radius:7px;overflow:hidden;background:#252827;box-shadow:0 1px 3px #0002;aspect-ratio:1.31}.specialty-card img{height:100%;width:100%;object-fit:cover;transition:transform .3s}.specialty-card:hover img{transform:scale(1.04)}.specialty-card span{position:absolute;inset:auto 0 0;color:white;padding:23px 12px 10px;background:linear-gradient(0deg,#111d1cd9,transparent);display:flex;align-items:center;justify-content:space-between;font:bold clamp(14px,1.55vw,21px) Georgia,serif}.specialty-card b{font:22px Arial;font-weight:400}.location-section{padding:0 0 0}.location-grid{display:grid;grid-template-columns:40% 60%;align-items:center;min-height:224px;padding-inline:5.8%;gap:5px}.location-copy h2{font-size:clamp(32px,3.7vw,49px);line-height:.99}.gold-line{width:63px;height:2px;background:var(--gold);margin:13px 0}.location-copy p{font:16px/1.24 Georgia,serif;max-width:350px}.location-copy .btn{min-height:34px;padding:7px 25px}.location-map{max-width:100%;height:auto;width:100%;max-height:240px;object-fit:contain;object-position:center}.practice-band{position:relative;background:linear-gradient(115deg,#153e33,#0b2926);color:white;overflow:hidden;min-height:232px}.practice-photo{position:absolute;inset:0 0 0 46.8%;background-size:cover;background-position:center}.practice-inner{position:relative;padding-top:12px;padding-bottom:15px;min-height:232px}.practice-copy{max-width:45%;position:relative;z-index:1}.practice-copy h2{font-size:clamp(34px,3.5vw,48px);line-height:.98}.practice-copy p{font-size:18px;line-height:1.2;max-width:380px;margin-bottom:13px}.practice-actions{display:flex;gap:10px;flex-wrap:wrap}.practice-actions .btn{min-height:34px;padding:8px 22px;background:white;color:var(--ink);font-family:Arial,sans-serif;font-size:13px}.practice-actions .btn-outline{background:transparent;color:white;border:1.5px solid white;font-family:Georgia,serif}.practice-benefits{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:19px;font:12px Georgia,serif}.practice-benefits span{display:flex;align-items:center;gap:7px}.practice-benefits svg{color:#ffe092;width:21px;height:21px}.library{padding:11px 0 14px}.library .container{padding-inline:5%}.library-heading{display:flex;gap:20px;align-items:center;margin-bottom:14px}.library-heading h2{font-size:clamp(29px,3.5vw,46px);white-space:nowrap;margin:0}.library-heading .gold-line{flex:none;width:55px;margin:0}.library-heading p{font-size:13px;line-height:1.25;margin:0;max-width:540px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.article-card{display:block;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #24251e38;background:#fcfbf9}.article-card img{width:100%;aspect-ratio:3.6;object-fit:cover}.article-card .card-title{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:6px 15px 7px;font:bold clamp(13px,1.4vw,19px) Georgia,serif}.article-card b{font:20px Arial;color:#6b512c}.site-footer{background:linear-gradient(100deg,#0d3431,#092b28);color:#fff;padding:12px 0 16px}.footer-grid{display:grid;grid-template-columns:200px 1.6fr repeat(3,1fr);gap:18px;align-items:start}.footer-brand img{width:195px}.footer-grid p{font-size:12px;line-height:1.35;margin:8px 0 0}.footer-links h3{font: bold 13px Arial;margin:0 0 3px;letter-spacing:0}.footer-links a{display:block;font-size:11px;line-height:1.5}.footer-bottom{font-size:11px;color:#cddad4;margin-top:13px;display:flex;gap:14px;flex-wrap:wrap}.page-shell{min-height:55vh;padding:55px 0}.page-shell h1{font-size:clamp(36px,5vw,60px)}.page-shell h2{font-size:31px}.page-content{max-width:840px;margin:0 auto}.page-content a{color:var(--green);text-decoration:underline}.provider-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.listing-card,.plan-card,.notice{padding:24px;border:1px solid #deded6;background:white;border-radius:10px}.listing-card h2{font-size:24px}.listing-card img{width:100%;aspect-ratio:3/2;object-fit:cover;margin-bottom:15px;border-radius:6px}.listing-card a{color:var(--green)}.directory-search{position:static;transform:none;width:100%;max-width:none;margin:25px 0}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0}.price{font-size:32px;font-weight:bold;color:var(--green)}.plan-card ul{padding-left:22px}.plan-card li{margin-bottom:9px}.entry-meta{font-size:14px;color:var(--muted)}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:4px;top:4px;background:#fff;padding:10px;z-index:100}.wp-block-image img{max-width:100%}
@media(min-width:1250px){.hero,.hero-inner{min-height:410px}.hero-inner{padding-top:43px}.practice-band,.practice-inner{min-height:310px}.practice-inner{padding-top:30px}.practice-copy p{font-size:21px}.location-grid{min-height:275px}.location-map{max-height:285px}.specialties{padding-bottom:28px}.trust-row{padding-top:55px;padding-bottom:27px}.library{padding:24px 0}}
@media(max-width:900px){.nav-row{gap:14px}.brand{flex-basis:170px}.brand img{width:170px}.main-nav ul{gap:15px}.main-nav a{font-size:14px}.header-cta{padding:8px 13px;font-size:13px}.hero h1{max-width:52%}.search-wrap{width:86%}.provider-search{gap:12px;padding:12px 16px}.footer-grid{grid-template-columns:1.2fr 1fr 1fr}.footer-grid p{grid-column:span 2}.practice-copy{max-width:48%}}
@media(max-width:700px){.topbar{font-size:12px}.topbar .container{padding-block:5px;gap:8px}.topbar a{white-space:nowrap}.nav-row{min-height:68px;flex-wrap:wrap;gap:9px;padding-block:8px}.brand{flex-basis:150px}.brand img{width:150px}.header-cta{margin-left:auto;font-size:12px;padding:8px 10px}.mobile-toggle{display:block;order:3}.main-nav{display:none;order:4;flex-basis:100%;margin:0}.main-nav.open{display:block}.main-nav ul{flex-direction:column;align-items:stretch;gap:0}.main-nav a{display:block;padding:12px 0;border-top:1px solid var(--line)}.hero{min-height:0;display:flex;flex-direction:column}.hero-photo{position:relative;inset:auto;order:2;height:215px;background-position:center right}.hero-photo::before{background:linear-gradient(180deg,#f2eee6,transparent 25%)}.hero-inner{min-height:0;padding-top:25px;padding-bottom:10px}.hero h1{max-width:100%;font-size:40px}.hero p{max-width:100%;font-size:19px}.eyebrow{font-size:10px;margin-bottom:12px}.search-wrap{position:relative;order:3;left:auto;bottom:auto;transform:none;width:90%;margin:-24px auto 0;z-index:2}.provider-search{grid-template-columns:1fr;padding:15px;gap:11px}.provider-search input,.provider-search select{height:44px;font-size:16px}.provider-search .btn{min-height:44px}.trust-row{padding-top:23px;gap:10px;grid-template-columns:repeat(3,1fr);padding-bottom:20px}.trust-item{flex-direction:column;gap:5px;text-align:center;font-size:12px;padding:0 5px}.trust-item svg{width:26px;height:26px}.specialty-grid{grid-template-columns:repeat(2,1fr);gap:11px}.specialty-card span{font-size:15px;padding:20px 8px 8px}.specialties .container{padding-inline:4.4%}.location-grid{grid-template-columns:1fr;padding:20px 4.4%;gap:14px}.location-copy p{max-width:none}.location-map{height:auto;max-height:210px}.practice-band{display:flex;flex-direction:column}.practice-photo{position:relative;inset:auto;order:2;height:230px;background-position:center}.practice-inner{min-height:0;padding-top:26px;padding-bottom:20px}.practice-copy{max-width:100%}.practice-copy h2{font-size:37px}.practice-copy p{max-width:none}.practice-benefits{gap:15px}.library{padding:25px 0}.library-heading{flex-wrap:wrap;gap:8px}.library-heading h2{white-space:normal}.library-heading p{flex-basis:100%;margin-top:4px}.article-grid{grid-template-columns:1fr;gap:14px}.article-card img{aspect-ratio:3.1}.article-card .card-title{font-size:17px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid p{grid-column:auto}.footer-brand img{max-width:165px}.provider-list,.plans{grid-template-columns:1fr}.page-shell{padding:35px 0}.directory-search{width:100%;margin:20px 0}}
@media(max-width:365px){.brand{flex-basis:128px}.brand img{width:128px}.header-cta{font-size:11px;padding:8px}.hero h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.topbar{background:var(--forest)}.btn{background:var(--green)}.practice-band{background:linear-gradient(115deg,var(--forest),#0b2926)}.site-footer{background:linear-gradient(100deg,var(--forest),#092b28)}body{background:var(--paper)}.interest-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px;background:white;border:1px solid var(--line);border-radius:10px}.interest-form label{display:flex;flex-direction:column;gap:6px;font-weight:bold}.interest-form input:not([type=checkbox]),.interest-form select{height:44px;border:1px solid #bfc5bf;border-radius:5px;padding:0 12px;width:100%;background:white}.interest-form .consent{grid-column:1/-1;display:block;font-weight:normal}.interest-form .btn{grid-column:1/-1;justify-self:start}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media(max-width:700px){.interest-form{grid-template-columns:1fr;padding:16px}}

@media(min-width:901px){.footer-grid{grid-template-columns:200px 1.6fr repeat(4,1fr);gap:17px}}@media(max-width:700px){.desktop-break{display:none}}
