/* ============================================================
   LEFORT PODIATRY - custom PHP template styles (Tier 1 + pillar)
   Ported from the approved design set (designs/tier1-templates-mockup.html).
   Loaded only on pages rendered by the custom templates (conditional
   enqueue in inc/lefort-build.php), so it never affects Elementor pages.
   Brand teal #5AA3AD kept for decorative fills. Deepened teal #2E6E76
   for text-bearing teal (buttons, links, bands) to meet WCAG AA.
   #4B8F98 for large Playfair accent words. Documented, reversible.
   ============================================================ */
:root{
  --teal:#5AA3AD; --teal-soft:#EFF6F7; --teal-cta:#2E6E76; --teal-cta-hover:#245057;
  --accent:#4B8F98; --ink:#000; --body:#555; --border:#DDDEDF; --white:#fff; --paper:#F4F5F6;
  --footer-from:#2E6E76; --footer-to:#0A1416;
  --font:"Satoshi",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --font-accent:"Playfair Display",Georgia,serif;
  --radius-card:20px; --radius-pill:100px; --container:1280px;
}
.lf *{box-sizing:border-box;}
.lf{font-family:var(--font);color:var(--body);font-size:18px;line-height:1.65;background:var(--white);-webkit-font-smoothing:antialiased;}
.lf img{max-width:100%;display:block;}
.lf a{color:var(--teal-cta);}
.lf h1,.lf h2,.lf h3,.lf h4{color:var(--ink);font-weight:400;line-height:1.3;margin:0;}
.lf h1{font-size:clamp(30px,5vw,44px);}
.lf h2{font-size:clamp(26px,3.8vw,36px);}
.lf h3{font-size:22px;}
.lf p{margin:0 0 1rem;} .lf p:last-child{margin-bottom:0;}
.lf .accent{font-family:var(--font-accent);font-style:italic;color:var(--accent);}
.lf .wrap{max-width:var(--container);margin:0 auto;padding:0 24px;}
.lf .section{padding:48px 0;} @media(min-width:768px){.lf .section{padding:72px 0;}}
.lf .section--soft{background:var(--teal-soft);} .lf .section--paper{background:var(--paper);}
.lf .eyebrow{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:1.2px;color:var(--teal-cta);margin:0 0 12px;}
.lf .lead{font-size:20px;color:var(--body);}
.lf .center{text-align:center;} .lf .center .lead,.lf .center .narrow{margin-left:auto;margin-right:auto;}
.lf .narrow{max-width:720px;}
.lf .section-head{margin-bottom:32px;}

/* buttons */
.lf .btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font);font-size:15px;font-weight:500;line-height:1;padding:13px 24px;border-radius:var(--radius-pill);text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .2s,color .2s,border-color .2s;}
.lf .btn-primary{background:var(--teal-cta);color:#fff;border-color:var(--teal-cta);}
.lf .btn-primary:hover{background:var(--teal-cta-hover);border-color:var(--teal-cta-hover);}
.lf .btn-outline{background:transparent;color:var(--ink);border-color:var(--border);}
.lf .btn-outline:hover{border-color:var(--teal-cta);color:var(--teal-cta);}
.lf .btn-light{background:#fff;color:var(--teal-cta);border-color:#fff;}
.lf .btn-outline-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.9);}
.lf .btn-outline-light:hover{background:rgba(255,255,255,.1);border-color:#fff;}
.lf a:focus-visible,.lf .btn:focus-visible,.lf button:focus-visible,.lf summary:focus-visible{outline:3px solid var(--teal-cta);outline-offset:2px;border-radius:6px;}
.lf .btn-outline-light:focus-visible{outline-color:#fff;}
.lf .link-more{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500;color:var(--teal-cta);text-decoration:none;}
.lf .link-more:hover{text-decoration:underline;}
.lf .link-more svg{width:16px;height:16px;}
.lf .btn svg{width:16px;height:16px;flex:0 0 auto;}
@media(prefers-reduced-motion:reduce){.lf *{transition:none!important;}}

/* breadcrumbs */
.lf .crumbs{font-size:13px;color:var(--body);}
.lf .crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;}
.lf .crumbs li{display:flex;gap:6px;align-items:center;}
.lf .crumbs li+li::before{content:"/";color:#aaa;}
.lf .crumbs a{color:var(--teal-cta);text-decoration:none;}
.lf .crumbs a:hover{text-decoration:underline;}
.lf .crumbs [aria-current]{color:var(--body);}

/* page hero */
.lf .page-hero{background:var(--teal-soft);}
.lf .page-hero .wrap{padding:30px 24px 44px;}
.lf .page-hero .crumbs{margin-bottom:18px;}
.lf .page-hero h1{margin:10px 0 14px;max-width:780px;}
.lf .page-hero .lead{max-width:720px;margin-bottom:22px;}
.lf .page-hero .single-clinic{font-size:14px;color:var(--body);background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 14px;display:inline-block;margin-bottom:22px;}
.lf .page-hero .actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;}

/* prose body */
.lf .prose{max-width:760px;}
.lf .prose h2{margin:36px 0 12px;}
.lf .prose h2:first-child{margin-top:0;}
.lf .prose h3{margin:24px 0 8px;}
.lf .prose ul{padding-left:20px;margin:0 0 1rem;}
.lf .prose li{margin:4px 0;}
.lf .callout{background:var(--teal-soft);border-radius:var(--radius-card);padding:20px 22px;margin:24px 0;font-size:16.5px;}
.lf .callout .eyebrow{margin-bottom:6px;}

/* signs / symptoms list */
.lf .signs{list-style:none;padding:0;margin:0;display:grid;gap:8px;grid-template-columns:1fr;}
@media(min-width:600px){.lf .signs{grid-template-columns:1fr 1fr;}}
.lf .signs li{position:relative;padding:8px 0 8px 28px;font-size:16.5px;border-bottom:1px solid #eee;}
.lf .signs li svg{position:absolute;left:0;top:10px;width:16px;height:16px;color:var(--teal-cta);}

/* care pathway */
.lf .pathway{display:grid;gap:18px;grid-template-columns:1fr;}
@media(min-width:600px){.lf .pathway{grid-template-columns:repeat(2,1fr);}}
@media(min-width:980px){.lf .pathway{grid-template-columns:repeat(5,1fr);}}
.lf .step{background:var(--teal-soft);border-radius:var(--radius-card);padding:22px 18px;}
.lf .step .num{font-family:var(--font-accent);font-style:italic;color:var(--accent);font-size:28px;line-height:1;margin-bottom:8px;display:block;}
.lf .step h3{font-size:18px;margin-bottom:6px;} .lf .step p{font-size:16.5px;margin:0;}

/* cards + grids */
.lf .grid{display:grid;gap:24px;grid-template-columns:1fr;}
@media(min-width:540px){.lf .grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:900px){.lf .grid--3{grid-template-columns:repeat(3,1fr);}.lf .grid--4{grid-template-columns:repeat(4,1fr);}}
.lf .card{background:var(--teal-soft);border-radius:var(--radius-card);overflow:hidden;display:flex;flex-direction:column;text-decoration:none;}
.lf .card .media{height:140px;position:relative;background:linear-gradient(135deg,#d2e1e3,#a9c6c9);}
.lf .card .media img{height:100%;width:100%;object-fit:cover;}
.lf .card .badge{position:absolute;left:14px;bottom:-16px;width:34px;height:34px;border-radius:50%;background:var(--teal);display:flex;align-items:center;justify-content:center;border:3px solid var(--teal-soft);}
.lf .card .badge svg{width:16px;height:16px;color:#fff;}
.lf .card .body{padding:26px 18px 20px;display:flex;flex-direction:column;gap:6px;flex:1;}
.lf .card .body h3{font-size:19px;margin-bottom:2px;}
.lf .card .body p{font-size:16.5px;margin:0;}
.lf .card .link-more{margin-top:auto;padding-top:10px;}
.lf .card--location{flex-direction:row;align-items:flex-start;gap:14px;padding:18px;}
.lf .card--location .pin{flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:var(--teal);display:flex;align-items:center;justify-content:center;}
.lf .card--location .pin svg{width:18px;height:18px;color:#fff;}
.lf .card--location h3{font-size:17px;margin-bottom:2px;}
.lf .card--location p{font-size:14px;margin:0 0 6px;}
.lf .clinic-media img{width:100%;height:100%;object-fit:cover;}

/* areas cross-link row */
.lf .areas-row{font-size:15px;}
.lf .areas-row a{color:var(--teal-cta);text-decoration:none;}
.lf .areas-row a:hover{text-decoration:underline;}

/* clinic mini block (location) */
.lf .clinic-block{display:grid;gap:24px;grid-template-columns:1fr;align-items:center;background:var(--teal-soft);border-radius:var(--radius-card);padding:26px;}
@media(min-width:760px){.lf .clinic-block{grid-template-columns:1fr 1fr;}}
.lf .clinic-media{border-radius:14px;overflow:hidden;min-height:220px;background:linear-gradient(150deg,#c6d4d6,#9bb4b6);}
.lf .clinic-block address{font-style:normal;font-size:16px;color:var(--ink);}

/* author byline (E-E-A-T) */
.lf .byline{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);padding:18px 20px;}
.lf .byline .avatar{flex:0 0 auto;width:56px;height:56px;border-radius:50%;background:linear-gradient(150deg,#cdd9da,#9fb6b8);overflow:hidden;}
.lf .byline .avatar img{width:100%;height:100%;object-fit:cover;}
.lf .byline .who{font-size:16px;}
.lf .byline .who b{color:var(--ink);font-weight:500;}
.lf .byline .who span{display:block;font-size:14px;color:var(--body);margin-top:2px;}

/* FAQ */
.lf .faq{max-width:760px;}
.lf .faq details{border:1px solid var(--border);border-radius:14px;margin-bottom:12px;background:#fff;overflow:hidden;}
.lf .faq summary{list-style:none;cursor:pointer;padding:16px 20px;font-size:17.5px;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:16px;}
.lf .faq summary::-webkit-details-marker{display:none;}
.lf .faq summary::after{content:"+";font-size:22px;color:var(--teal-cta);line-height:1;}
.lf .faq details[open] summary::after{content:"\2212";}
.lf .faq .answer{padding:0 20px 18px;font-size:16.5px;}

/* booking CTA band */
.lf .cta-band{background:var(--teal-cta);color:#fff;}
.lf .cta-band .wrap{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;padding:44px 24px;}
.lf .cta-band h2{color:#fff;} .lf .cta-band h2 .accent{color:#fff;}
.lf .cta-band p{color:rgba(255,255,255,.9);margin-top:8px;}
.lf .cta-band .actions{display:flex;gap:14px;flex-wrap:wrap;}
.lf .cta-band .contact-line{font-size:14px;color:rgba(255,255,255,.75);margin-top:6px;}

/* homepage (front-page.php) */
.lf .hero{background:var(--teal-soft);}
.lf .hero .wrap{display:grid;gap:32px;padding:48px 24px;align-items:center;}
@media(min-width:880px){.lf .hero .wrap{grid-template-columns:1.05fr .95fr;padding:72px 24px;}}
.lf .hero h1{margin-bottom:18px;}
.lf .hero .lead{margin-bottom:28px;max-width:560px;}
.lf .hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;}
.lf .hero-media{border-radius:var(--radius-card);overflow:hidden;align-self:stretch;min-height:400px;background:linear-gradient(140deg,#cde0e2,#9fc1c4 60%,#7ea7ab);}
.lf .hero-media img{width:100%;height:100%;object-fit:cover;}
.lf .split{display:grid;gap:36px;grid-template-columns:1fr;align-items:center;}
@media(min-width:820px){.lf .split{grid-template-columns:1fr 1fr;}}
.lf .split--media-right .media-col{order:-1;}
@media(min-width:820px){.lf .split--media-right .media-col{order:0;}}
/* Jeremy section: give the copy more room and keep the portrait modest. */
@media(min-width:820px){.lf .split--media-right{grid-template-columns:1.5fr 1fr;}}
.lf .portrait{position:relative;border-radius:var(--radius-card);overflow:hidden;min-height:340px;background:linear-gradient(150deg,#cdd9da,#9fb6b8);}
/* Absolute fill: the box height comes from min-height, which is not a definite
   height for a percentage to resolve against, so a plain height:100% collapses
   to auto and leaves the gradient showing. */
.lf .portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;}
.lf .split--media-right .portrait{max-width:360px;min-height:380px;margin-left:auto;}
.lf .team-portrait{max-width:420px;min-height:420px;}
.lf .facts{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 6px;}
.lf .fact{background:var(--teal-soft);border-radius:14px;padding:12px 16px;min-width:120px;}
.lf .fact b{display:block;color:var(--ink);font-weight:500;font-size:18px;}
.lf .fact span{font-size:13px;}
.lf .checklist{list-style:none;padding:0;margin:18px 0 0;}
.lf .checklist li{position:relative;padding:6px 0 6px 28px;font-size:16.5px;}
.lf .checklist li svg{position:absolute;left:0;top:8px;width:18px;height:18px;color:var(--teal-cta);}
.lf .general{background:var(--teal-soft);border-radius:var(--radius-card);padding:32px 28px;}
.lf .general h2{font-size:26px;margin-bottom:10px;}
.lf .general .links{display:flex;flex-wrap:wrap;gap:10px 18px;margin:14px 0 18px;}
.lf .general .links a{font-size:16px;color:var(--teal-cta);text-decoration:none;}
.lf .general .links a:hover{text-decoration:underline;}

/* contact form (Contact Form 7) */
.lf .lf-field{margin:0 0 16px;}
.lf .lf-field label{display:block;font-size:14px;font-weight:500;color:var(--ink);}
.lf .lf-field input,.lf .lf-field textarea{width:100%;margin-top:6px;border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-family:var(--font);font-size:15px;background:#fff;color:var(--body);}
.lf .lf-field input:focus,.lf .lf-field textarea:focus{outline:none;border-color:var(--teal-cta);box-shadow:0 0 0 3px rgba(46,110,118,.15);}
.lf .lf-field textarea{min-height:130px;resize:vertical;}
.lf .wpcf7 input[type=submit]{background:var(--teal-cta);color:#fff;border:0;border-radius:var(--radius-pill);padding:14px 30px;font-family:var(--font);font-weight:500;font-size:15px;cursor:pointer;transition:background .2s;}
.lf .wpcf7 input[type=submit]:hover{background:var(--teal-cta-hover);}
.lf .wpcf7 .wpcf7-spinner{margin-left:10px;}
.lf .wpcf7-response-output{border-radius:10px;margin:14px 0 0!important;padding:12px 14px!important;font-size:14px;}
.lf .wpcf7-not-valid-tip{color:#b3261e;font-size:13px;}

/* ============================================================
   RETURN TO EXERCISE assessment page (template-return-to-exercise.php)
   Page-specific components ported from
   designs/return-to-exercise-mockup.html. Scoped to .lf so they never
   touch Elementor pages; brand tokens shared with the rest of the site.
   ============================================================ */
/* hero: two-column split (copy beside media) */
.lf .page-hero--split .wrap{display:grid;gap:36px;grid-template-columns:1fr;align-items:center;}
@media(min-width:880px){.lf .page-hero--split .wrap{grid-template-columns:1.05fr .95fr;padding-top:44px;padding-bottom:60px;}}
.lf .page-hero--split h1{margin:8px 0 14px;max-width:none;}
.lf .page-hero--split .lead{margin-bottom:22px;}
.lf .page-hero--split .hero-media{min-height:300px;}
.lf .meta-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px;}
.lf .chip{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-pill);padding:7px 14px;font-size:13px;color:var(--ink);}
.lf .chip svg{width:15px;height:15px;color:var(--teal-cta);}

/* qualifier grid (is this you) */
.lf .qual-grid{display:grid;gap:16px;grid-template-columns:1fr;}
@media(min-width:600px){.lf .qual-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:920px){.lf .qual-grid{grid-template-columns:1fr 1fr 1fr;}}
.lf .qual{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 18px;font-size:15px;}
.lf .qual .tick{flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;}
.lf .qual .tick svg{width:15px;height:15px;color:var(--teal-cta);}

/* two column with callout */
.lf .two-col{display:grid;gap:32px;grid-template-columns:1fr;align-items:start;}
@media(min-width:820px){.lf .two-col{grid-template-columns:1.1fr .9fr;}}
.lf .factor-card{background:var(--teal-soft);border-radius:var(--radius-card);padding:24px;}
.lf .factor-card h3{font-size:17px;margin-bottom:14px;}
.lf .factor-card ul{list-style:none;margin:0;padding:0;}
.lf .factor-card li{position:relative;padding:7px 0 7px 24px;font-size:15px;border-bottom:1px solid #e3eef0;}
.lf .factor-card li:last-child{border-bottom:none;}
.lf .factor-card li::before{content:"";position:absolute;left:4px;top:15px;width:7px;height:7px;border-radius:50%;background:var(--teal);}

/* what we look at: icon cards */
.lf .icard-grid{display:grid;gap:20px;grid-template-columns:1fr;}
@media(min-width:560px){.lf .icard-grid{grid-template-columns:1fr 1fr;}}
@media(min-width:920px){.lf .icard-grid{grid-template-columns:repeat(4,1fr);}}
.lf .icard{background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);padding:24px 20px;}
.lf .icard .ico{width:44px;height:44px;border-radius:12px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.lf .icard .ico svg{width:22px;height:22px;color:var(--teal-cta);}
.lf .icard h3{font-size:17px;margin-bottom:6px;}
.lf .icard p{font-size:14px;margin:0;}

/* session walkthrough (numbered steps) */
.lf .session{display:grid;gap:18px;grid-template-columns:1fr;}
@media(min-width:680px){.lf .session{grid-template-columns:1fr 1fr;}}
@media(min-width:1000px){.lf .session{grid-template-columns:repeat(3,1fr);}}
.lf .s-step{background:var(--teal-soft);border-radius:var(--radius-card);padding:22px 20px;position:relative;}
.lf .s-step .n{font-family:var(--font-accent);font-style:italic;color:var(--accent);font-size:26px;line-height:1;display:block;margin-bottom:8px;}
.lf .s-step h3{font-size:16px;margin-bottom:4px;}
.lf .s-step p{font-size:14px;margin:0;}

/* leave-with panel */
.lf .leave{background:var(--teal-soft);border-radius:var(--radius-card);padding:34px;}
.lf .leave-grid{display:grid;gap:14px 28px;grid-template-columns:1fr;margin-top:8px;list-style:none;padding:0;}
@media(min-width:680px){.lf .leave-grid{grid-template-columns:1fr 1fr;}}
.lf .leave-grid li{position:relative;padding:8px 0 8px 30px;font-size:15px;}
.lf .leave-grid li svg{position:absolute;left:0;top:9px;width:18px;height:18px;color:var(--teal-cta);}

/* activities (pills) */
.lf .activities{display:flex;flex-wrap:wrap;gap:12px;}
.lf .act{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-pill);padding:11px 18px;font-size:15px;color:var(--ink);}
.lf .act svg{width:18px;height:18px;color:var(--teal-cta);}

/* ============================================================
   SITE CHROME (header.php + footer.php). Scoped to body.lf-chrome
   so it styles the custom header/footer site-wide without touching
   Elementor page content. Generic classes are safe under this scope.
   ============================================================ */
body.lf-chrome{margin:0;font-family:var(--font);color:var(--body);-webkit-font-smoothing:antialiased;}
.lf-chrome .wrap{max-width:var(--container);margin:0 auto;padding:0 24px;}
.lf-chrome a{color:var(--teal-cta);}
.lf-chrome .skip{position:absolute;left:-9999px;background:#fff;color:var(--teal-cta);padding:10px 16px;z-index:120;}
.lf-chrome .skip:focus{left:0;top:0;}
.lf-chrome .btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font);font-size:15px;font-weight:500;line-height:1;padding:13px 24px;border-radius:var(--radius-pill);text-decoration:none;border:1px solid transparent;cursor:pointer;}
.lf-chrome .btn-primary{background:var(--teal-cta);color:#fff;border-color:var(--teal-cta);}
.lf-chrome .btn-primary:hover{background:var(--teal-cta-hover);border-color:var(--teal-cta-hover);}
.lf-chrome .btn-light{background:#fff;color:var(--teal-cta);border-color:#fff;}
.lf-chrome a:focus-visible,.lf-chrome .btn:focus-visible,.lf-chrome button:focus-visible,.lf-chrome summary:focus-visible{outline:3px solid var(--teal-cta);outline-offset:2px;border-radius:6px;}

/* top bar */
.lf-chrome .topbar{background:var(--teal-cta);color:#fff;font-size:14px;}
.lf-chrome .topbar .wrap{display:flex;flex-wrap:wrap;gap:6px 24px;padding:8px 24px;}
.lf-chrome .topbar a{color:#fff;text-decoration:none;} .lf-chrome .topbar a:hover{text-decoration:underline;}

/* masthead */
.lf-chrome .masthead{border-bottom:1px solid var(--border);background:#fff;position:relative;z-index:60;}
.lf-chrome .masthead .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;}
.lf-chrome .brand{font-weight:700;font-size:22px;color:var(--ink);text-decoration:none;letter-spacing:-.5px;white-space:nowrap;display:inline-flex;align-items:center;}
.lf-chrome .brand span{color:var(--teal-cta);}
.lf-chrome .brand-logo{height:42px;width:auto;max-width:220px;display:block;}
.lf-chrome .hours-card .brand-logo{height:44px;}
.lf-chrome .nav{display:flex;align-items:center;gap:6px;}
.lf-chrome .nav>ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0;}
.lf-chrome .nav a,.lf-chrome .nav .drop-toggle{display:inline-flex;align-items:center;gap:5px;color:var(--body);text-decoration:none;font-size:15px;font-family:var(--font);background:none;border:0;cursor:pointer;padding:10px 12px;border-radius:8px;}
.lf-chrome .nav a:hover,.lf-chrome .nav .drop-toggle:hover,.lf-chrome .nav a[aria-current="page"]{color:var(--teal-cta);}
.lf-chrome .has-dropdown{position:relative;}
.lf-chrome .drop-toggle svg{width:12px;height:12px;transition:transform .2s;}
.lf-chrome .drop-toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
.lf-chrome .dropdown{position:absolute;top:100%;left:0;min-width:260px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 30px rgba(0,0,0,.08);padding:10px;display:none;list-style:none;margin:6px 0 0;z-index:70;}
.lf-chrome .dropdown.mega{min-width:520px;}
.lf-chrome .has-dropdown .drop-toggle[aria-expanded="true"]+.dropdown{display:block;}
.lf-chrome .dropdown li{margin:0;} .lf-chrome .dropdown a{display:block;padding:9px 12px;border-radius:8px;font-size:14px;}
.lf-chrome .dropdown a:hover{background:var(--teal-soft);}
.lf-chrome .dropdown .group-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--teal-cta);padding:10px 12px 4px;font-weight:500;}
.lf-chrome .mega .cols{display:grid;grid-template-columns:1fr 1fr;gap:4px;list-style:none;margin:0;padding:0;}
/* Header Book online: a generic '.nav a' rule outranks '.btn-primary', so the
   pill needs a higher-specificity restore. Kept bold + teal so it stands out. */
.lf-chrome .nav .nav-book{margin-left:10px;background:var(--teal-cta);color:#fff;border:1px solid var(--teal-cta);border-radius:var(--radius-pill);padding:12px 24px;font-size:15px;font-weight:600;}
.lf-chrome .nav .nav-book:hover,.lf-chrome .nav a.nav-book[aria-current="page"]{background:var(--teal-cta-hover);border-color:var(--teal-cta-hover);color:#fff;}
.lf-chrome .mobile-toggle{display:none;align-items:center;gap:8px;background:none;border:1px solid var(--border);border-radius:10px;padding:9px 12px;font-family:var(--font);font-size:14px;cursor:pointer;color:var(--ink);}
.lf-chrome .mobile-toggle svg{width:18px;height:18px;}
.lf-chrome .header-book-mobile{display:none;}
@media(max-width:880px){
  .lf-chrome .mobile-toggle{display:inline-flex;}
  .lf-chrome .nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;gap:0;padding:8px 16px 18px;display:none;box-shadow:0 14px 24px rgba(0,0,0,.06);}
  .lf-chrome .nav.open{display:flex;}
  .lf-chrome .nav>ul{flex-direction:column;align-items:stretch;gap:0;width:100%;}
  .lf-chrome .nav a,.lf-chrome .nav .drop-toggle{padding:13px 8px;border-bottom:1px solid #f0f0f0;justify-content:space-between;width:100%;}
  .lf-chrome .dropdown,.lf-chrome .dropdown.mega{position:static;border:0;box-shadow:none;padding:0 0 0 12px;min-width:0;}
  .lf-chrome .mega .cols{grid-template-columns:1fr;}
  .lf-chrome .nav-book{margin:14px 8px 0;}
  .lf-chrome .header-book-mobile{display:inline-flex;}
  .lf-chrome .header-actions{display:flex;align-items:center;gap:10px;}
}

/* footer */
.lf-chrome .site-footer{background:radial-gradient(120% 140% at 0% 0%,var(--footer-from) 0%,var(--footer-to) 60%);color:#c7d2d3;}
.lf-chrome .site-footer .wrap{padding:56px 24px 36px;display:grid;gap:36px;grid-template-columns:1fr;}
@media(min-width:780px){.lf-chrome .site-footer .wrap{grid-template-columns:320px 1fr 1fr;}}
.lf-chrome .hours-card{background:#fff;border-radius:var(--radius-card);padding:24px;color:var(--body);}
.lf-chrome .hours-card .brand{display:inline-block;margin-bottom:16px;}
.lf-chrome .hours-card .row{display:flex;justify-content:space-between;font-size:15px;padding:7px 0;border-bottom:1px solid #f0f0f0;}
.lf-chrome .hours-card .row:last-child{border-bottom:none;}
.lf-chrome .f-col h3{color:#fff;font-size:18px;margin-bottom:14px;}
.lf-chrome .f-block{display:flex;gap:12px;margin-bottom:18px;}
.lf-chrome .f-block .ico{width:36px;height:36px;border-radius:50%;background:var(--teal);flex:0 0 auto;display:flex;align-items:center;justify-content:center;}
.lf-chrome .f-block .ico svg{width:17px;height:17px;color:#fff;}
.lf-chrome .f-block .label{font-size:14px;opacity:.75;display:block;}
.lf-chrome .f-block a,.lf-chrome .f-block address{color:#fff;font-style:normal;text-decoration:none;font-size:16.5px;}
.lf-chrome .f-links{list-style:none;padding:0;margin:0;} .lf-chrome .f-links li{padding:6px 0;}
.lf-chrome .f-links a{color:#dbe4e5;text-decoration:none;font-size:16.5px;} .lf-chrome .f-links a:hover{color:#fff;}
.lf-chrome .areas-disclosure{margin-top:8px;}
.lf-chrome .areas-disclosure summary{cursor:pointer;color:#fff;font-size:16.5px;}
.lf-chrome .areas-disclosure .area-list{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px;}
.lf-chrome .areas-disclosure .area-list a{color:#cdd8d9;text-decoration:none;font-size:15px;}
.lf-chrome .areas-disclosure .area-list a:hover{color:#fff;}
.lf-chrome .ahpra-line{font-size:14px;opacity:.8;margin-top:18px;}
.lf-chrome .copyright{border-top:1px solid rgba(255,255,255,.12);}
.lf-chrome .copyright .wrap{padding:18px 24px;font-size:14px;display:block;}

/* ============================================================
   ADDITIONS (2026-06-08): nav 'view all' links, taller archive
   cards, pillar hero image, single-page sidebar, Return to
   Exercise banners. Scoped to .lf / .lf-chrome as above.
   ============================================================ */

/* Header dropdown 'view all' link (parents are toggles, this is the link) */
.lf-chrome .dropdown .dd-all{margin-top:6px;padding-top:8px;border-top:1px solid var(--border);}
.lf-chrome .dropdown .dd-all a{font-weight:500;color:var(--teal-cta);display:inline-flex;align-items:center;gap:6px;}
.lf-chrome .dropdown .dd-all a svg{width:15px;height:15px;}
.lf-chrome .mega .dd-all{grid-column:1 / -1;}

/* Taller archive card images. Scoped by the post-type-archive body class so
   homepage grids (same .card markup) stay at 140px. */
body.post-type-archive-team .lf .card .media{height:280px;}
body.post-type-archive-condition .lf .card .media,
body.post-type-archive-treatment .lf .card .media{height:307px;}

/* Pillar hero with a featured image (two columns on wide screens) */
@media(min-width:880px){.lf .page-hero--media .wrap{display:grid;gap:40px;grid-template-columns:1.05fr .95fr;align-items:center;}}
.lf .page-hero--media .hero-text{min-width:0;}
.lf .page-hero-media{border-radius:var(--radius-card);overflow:hidden;align-self:stretch;min-height:320px;background:linear-gradient(140deg,#cde0e2,#9fc1c4 60%,#7ea7ab);}
.lf .page-hero-media img{width:100%;height:100%;object-fit:cover;}

/* Single layout: body + sticky info sidebar (condition + treatment) */
.lf .single-layout{display:grid;gap:36px;grid-template-columns:1fr;align-items:start;}
@media(min-width:980px){.lf .single-layout{grid-template-columns:minmax(0,1fr) 340px;}}
.lf .single-main{min-width:0;}
.lf .aside-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);padding:14px;box-shadow:0 14px 34px rgba(0,0,0,.06);}
@media(min-width:980px){.lf .single-aside{position:sticky;top:24px;}}
.lf .aside-media{border-radius:14px;overflow:hidden;aspect-ratio:4/5;background:linear-gradient(150deg,#cdd9da,#9fb6b8);margin-bottom:6px;}
.lf .aside-media img{width:100%;height:100%;object-fit:cover;}
.lf .aside-row{display:flex;gap:12px;align-items:center;padding:10px 6px;}
.lf .aside-row .ico{flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;}
.lf .aside-row .ico svg{width:18px;height:18px;color:var(--teal-cta);}
.lf .aside-row .label{display:block;font-size:13px;color:var(--body);}
.lf .aside-row b,.lf .aside-row a{color:var(--ink);font-weight:500;font-size:16px;text-decoration:none;}
.lf .aside-book{display:flex;justify-content:center;width:100%;margin-top:10px;font-size:16px;padding:15px 24px;}

/* Return to Exercise — full homepage banner (full-bleed teal-soft band) */
.lf .rte-banner{background:var(--teal-soft);}
.lf .rte-banner .wrap{display:grid;gap:32px;grid-template-columns:1fr;align-items:center;padding:52px 24px;}
@media(min-width:840px){.lf .rte-banner .wrap{grid-template-columns:1.05fr .95fr;}}
.lf .rte-banner h2{margin:4px 0 14px;}
.lf .rte-banner .text{font-size:19px;color:var(--body);margin-bottom:22px;max-width:520px;}
.lf .rte-banner .chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px;}
.lf .rte-banner .chip{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-pill);padding:7px 14px;font-size:14px;color:var(--ink);}
.lf .rte-banner .chip svg{width:15px;height:15px;color:var(--teal-cta);}
.lf .rte-banner .rte-media{border-radius:var(--radius-card);overflow:hidden;align-self:stretch;min-height:300px;background:linear-gradient(140deg,#cde0e2,#9fc1c4 60%,#7ea7ab);}
.lf .rte-banner .rte-media img{width:100%;height:100%;object-fit:cover;}

/* Return to Exercise — thin cross-site strip (sits inside a .section .wrap) */
.lf .rte-strip{background:var(--teal-soft);border:1px solid #d8e7e9;border-radius:var(--radius-card);display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px;padding:20px 24px;}
.lf .rte-strip .ico{flex:0 0 auto;width:46px;height:46px;border-radius:12px;background:#fff;border:1px solid #d8e7e9;display:flex;align-items:center;justify-content:center;}
.lf .rte-strip .ico svg{width:22px;height:22px;color:var(--teal-cta);}
.lf .rte-strip .copy{flex:1 1 280px;}
.lf .rte-strip .copy b{color:var(--ink);font-weight:500;font-size:17px;}
.lf .rte-strip .copy span{display:block;font-size:15px;color:var(--body);margin-top:2px;}
.lf .rte-strip .btn{flex:0 0 auto;}
@media(max-width:520px){.lf .rte-strip .btn{width:100%;justify-content:center;}}

/* Mobile sticky bottom CTA bar (site-wide, rendered from footer.php) */
.lf-chrome .mobile-cta{display:none;}
@media(max-width:880px){
  .lf-chrome .mobile-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:100;gap:10px;padding:10px 14px;background:#fff;border-top:1px solid var(--border);box-shadow:0 -6px 22px rgba(0,0,0,.12);padding-bottom:max(10px,env(safe-area-inset-bottom));}
  .lf-chrome .mobile-cta .btn{flex:1;justify-content:center;font-size:15.5px;padding:14px 16px;font-weight:600;}
  .lf-chrome .mobile-cta .cta-book{background:var(--teal-cta);color:#fff;border:1px solid var(--teal-cta);}
  .lf-chrome .mobile-cta .cta-book:hover{background:var(--teal-cta-hover);border-color:var(--teal-cta-hover);}
  .lf-chrome .mobile-cta .cta-contact{background:#fff;color:var(--teal-cta);border:1.5px solid var(--teal-cta);}
  /* keep the footer copyright clear of the fixed bar */
  body.lf-chrome{padding-bottom:80px;}
}

/* ---- 2026-06-10 additions: topbar RTE link, mobile menu RTE item,
   location contact card, pillar section image splits ---- */

/* Topbar return-to-exercise link (desktop only; mobile menu carries it) */
.lf-chrome .topbar-rte{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-weight:500;}
.lf-chrome .topbar-rte b{font-weight:700;}
.lf-chrome .topbar-rte svg{width:14px;height:14px;flex:0 0 auto;}
@media(max-width:880px){.lf-chrome .topbar-rte{display:none;}}

/* Mobile-menu RTE item (hidden on desktop nav) */
.lf-chrome .nav .nav-rte-mobile{display:none;}
@media(max-width:880px){
  .lf-chrome .nav .nav-rte-mobile{display:block;border-top:1px solid var(--border);margin-top:6px;padding-top:6px;}
  .lf-chrome .nav .nav-rte-mobile a{color:var(--teal-cta);font-weight:600;}
}

/* Location contact card (single-location sidebar) */
.lf .loc-contact{padding:22px 20px;}
.lf .loc-contact .loc-contact-title{font-size:24px;line-height:1.3;margin:0 0 10px;}
.lf .rating-pill{display:flex;align-items:center;gap:10px;background:var(--bg);border-radius:100px;padding:10px 18px;margin:10px 0;width:fit-content;}
.lf .rating-pill b{font-size:26px;font-weight:500;color:var(--ink);}
.lf .rating-pill .stars{display:inline-flex;gap:2px;color:var(--teal-cta);}
.lf .rating-pill .stars svg{width:15px;height:15px;}
.lf .rating-pill .src{font-size:13px;color:var(--body);}

/* Pillar prose sections with a side image */
.lf .sec-split{display:grid;gap:36px;grid-template-columns:1fr;align-items:center;}
@media(min-width:820px){
  .lf .sec-split{grid-template-columns:1.2fr 1fr;}
  .lf .sec-split--flip{grid-template-columns:1fr 1.2fr;}
  .lf .sec-split--flip .sec-media{order:-1;}
}
.lf .sec-media{border-radius:var(--radius-card);overflow:hidden;min-height:260px;max-height:380px;}
.lf .sec-media img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block;}

/* ---- 2026-06-10 pm additions ---- */

/* Booking CTA under the homepage pathway steps */
.lf .pathway-cta{display:flex;justify-content:center;margin-top:36px;}

/* Tighten the byline -> RTE strip stack on singles/pillars */
.lf .section--byline{padding-bottom:0;}
.lf .section--tight-top{padding-top:28px;}

/* Standalone clinic card (locations archive) */
.lf .clinic-card-wrap{max-width:480px;margin:0 auto;}
.lf .clinic-photo{position:relative;border-radius:14px;overflow:hidden;}
.lf .clinic-photo img{width:100%;height:auto;display:block;}
.lf .clinic-photo .rating-pill--overlay{position:absolute;top:14px;left:14px;margin:0;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.16);}

/* Quote band (locations archive) */
.lf .quote-band{background-color:var(--teal-soft);background-size:cover;background-position:center;padding:72px 0;}
.lf .quote-band .quote-card{margin-left:auto;max-width:520px;background:rgba(90,163,173,.93);border-radius:var(--radius-card);padding:34px 36px;color:#fff;}
.lf .quote-band .qmark{display:inline-flex;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--teal-cta);align-items:center;justify-content:center;margin-bottom:14px;}
.lf .quote-band .qmark svg{width:20px;height:20px;}
.lf .quote-band blockquote{margin:0;font-size:24px;line-height:1.45;font-weight:400;}
.lf .quote-band cite{display:block;margin-top:14px;font-style:normal;font-size:14px;opacity:.88;}
@media(max-width:700px){.lf .quote-band .quote-card{margin:0;}.lf .quote-band blockquote{font-size:20px;}}
