/*
Theme Name: Janel Homeopathic Clinic
Theme URI: https://example.com/
Author: Janel Clinic
Description: User friendly homeopathic clinic theme with no-code clinic settings, hero slider, branches, testimonials, articles and contact page.
Version: 2.4.2
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: janel-homeopathic-clinic
Tags: custom-logo, custom-menu, featured-images, blog, one-column, two-columns, custom-colors
*/
:root{--jh-primary:#116b5b;--jh-secondary:#e8f6f1;--jh-accent:#d79b2b;--jh-text:#1e2b28;--jh-muted:#66736f;--jh-white:#fff;--jh-border:#dce8e4;--jh-shadow:0 12px 35px rgba(9,56,45,.12)}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--jh-text);background:#fff;line-height:1.6}a{color:var(--jh-primary);text-decoration:none}img{max-width:100%;height:auto}.jh-container{width:min(1180px,92%);margin:auto}.jh-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--jh-border);box-shadow:0 4px 18px rgba(0,0,0,.04)}.admin-bar .jh-header{top:32px}.jh-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}.jh-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:22px;color:var(--jh-primary)}.jh-brand img{max-height:58px;width:auto}.jh-nav{display:flex;align-items:center;gap:20px}.jh-menu ul{display:flex;gap:20px;list-style:none;margin:0;padding:0}.jh-menu a{color:#203833;font-weight:600}.jh-phone{background:var(--jh-secondary);border:1px solid var(--jh-border);padding:9px 14px;border-radius:999px;font-weight:700;color:var(--jh-primary);white-space:nowrap}.jh-mobile-toggle{display:none;border:0;background:var(--jh-primary);color:#fff;border-radius:8px;padding:9px 12px}.jh-hero{background:linear-gradient(120deg,#e8f6f1,#fff);position:relative;overflow:hidden}.jh-slide{display:none;min-height:470px;background-size:cover;background-position:center}.jh-slide.active{display:block}.jh-slide-overlay{background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.18),rgba(0,0,0,.04));min-height:470px;display:flex;align-items:center}.jh-hero-content{max-width:650px;color:#fff;padding:70px 0}.jh-hero-content h1{font-size:48px;line-height:1.1;margin:0 0 16px}.jh-hero-content p{font-size:19px;margin:0 0 24px}.jh-btn{display:inline-block;background:var(--jh-accent);color:#fff;padding:12px 22px;border-radius:8px;font-weight:700}.jh-section{padding:64px 0}.jh-section.alt{background:var(--jh-secondary)}.jh-section-title{text-align:center;margin:0 0 34px}.jh-section-title h2{font-size:34px;margin:0 0 8px;color:var(--jh-primary)}.jh-grid{display:grid;gap:24px}.jh-grid-3{grid-template-columns:repeat(3,1fr)}.jh-grid-4{grid-template-columns:repeat(4,1fr)}.jh-card{background:#fff;border:1px solid var(--jh-border);border-radius:16px;padding:24px;box-shadow:var(--jh-shadow)}.jh-branch h3,.jh-testimonial h3{margin-top:0;color:var(--jh-primary)}.jh-testimonial-photo{width:70px;height:70px;border-radius:50%;object-fit:cover;background:#f1f1f1}.jh-post-card{overflow:hidden;padding:0}.jh-post-card img{width:100%;height:190px;object-fit:cover;display:block}.jh-post-card .inside{padding:20px}.jh-post-card h3{margin:0 0 10px}.jh-contact-wrap{display:grid;grid-template-columns:1fr 1.2fr;gap:28px}.jh-contact-box p{margin:7px 0}.jh-form input,.jh-form textarea{width:100%;padding:12px;border:1px solid var(--jh-border);border-radius:8px;margin-bottom:12px}.jh-form button{border:0;cursor:pointer}.jh-map iframe{width:100%;min-height:360px;border:0;border-radius:14px}.jh-footer{background:#0d372f;color:#dceeea;padding:48px 0 20px}.jh-footer h3{color:#fff}.jh-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}.jh-footer a{color:#dceeea}.jh-copy{border-top:1px solid rgba(255,255,255,.14);margin-top:28px;padding-top:18px;text-align:center;color:#bcd0ca}.jh-page{padding:55px 0}.jh-entry-title{font-size:40px;margin:0 0 22px;color:var(--jh-primary)}body.page .entry-title{display:none}.jh-single .entry-title,body.single .entry-title{display:block}.jh-admin-tabs{display:flex;gap:8px;margin:18px 0}.jh-admin-tabs a{padding:10px 14px;background:#fff;border:1px solid #ccd0d4;border-radius:6px;text-decoration:none}.jh-admin-tabs a.active{background:#2271b1;color:#fff}.jh-admin-card{background:#fff;border:1px solid #ccd0d4;border-radius:8px;padding:18px;margin:16px 0}.jh-admin-row{display:grid;grid-template-columns:180px 1fr;gap:12px;align-items:center;margin:12px 0}.jh-admin-row input,.jh-admin-row textarea{width:100%;max-width:720px}.jh-repeater-item{border:1px solid #ccd0d4;border-radius:8px;background:#fff;padding:15px;margin:14px 0}.jh-repeater-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.jh-preview-img{max-width:140px;max-height:80px;border:1px solid #ddd;background:#f5f5f5;margin-top:6px;display:block}
@media(max-width:900px){.jh-mobile-toggle{display:block}.jh-nav{position:absolute;left:0;right:0;top:100%;background:#fff;display:none;flex-direction:column;align-items:stretch;padding:16px;border-bottom:1px solid var(--jh-border)}.jh-nav.open{display:flex}.jh-menu ul{flex-direction:column}.jh-grid-3,.jh-grid-4,.jh-contact-wrap,.jh-footer-grid{grid-template-columns:1fr}.jh-hero-content h1{font-size:34px}.admin-bar .jh-header{top:46px}.jh-admin-row{grid-template-columns:1fr}}


/* v2.3 Professional header + clean poster hero upgrade */
.jh-header{background:linear-gradient(90deg,#ffffff 0%,#f3fbf8 55%,#e7f5ef 100%);border-bottom:3px solid var(--jh-primary);box-shadow:0 10px 30px rgba(17,107,91,.14)}
.jh-header-inner{min-height:82px;padding:12px 0}.jh-brand{font-size:26px;letter-spacing:.2px;color:#075f51}.jh-brand span{font-weight:900}.jh-brand img{max-height:72px}.jh-nav{gap:16px}.jh-menu a{font-size:15px;color:#173b35}.jh-phone{background:#fff;border:2px solid #d7ebe5;box-shadow:0 5px 15px rgba(17,107,91,.08);padding:10px 16px}.jh-header .jh-btn{background:#d99a23;border-radius:999px;padding:12px 22px;box-shadow:0 8px 18px rgba(217,154,35,.28)}
.jh-hero{background:#eaf7fb;border-bottom:1px solid var(--jh-border)}
.jh-slide{min-height:640px;background-size:contain;background-repeat:no-repeat;background-position:center center;background-color:#eaf7fb}
.jh-slide-overlay{background:transparent;min-height:640px;align-items:flex-end}.jh-hero-content{color:#173b35;max-width:430px;margin:0 0 30px auto;padding:20px 24px;background:rgba(255,255,255,.92);border:1px solid rgba(17,107,91,.18);border-radius:18px;box-shadow:0 16px 40px rgba(0,0,0,.12)}.jh-hero-content h1{font-size:34px;color:var(--jh-primary);margin-bottom:8px}.jh-hero-content p{font-size:17px;color:#274742}.jh-hero-content:empty{display:none}.jh-hero-content .jh-btn{border-radius:999px;padding:13px 26px;box-shadow:0 8px 20px rgba(217,154,35,.28)}
.jh-hero-cta-bar{background:#fff;box-shadow:0 -10px 28px rgba(0,0,0,.07);border-bottom:1px solid var(--jh-border)}.jh-hero-cta-inner{display:flex;align-items:center;justify-content:center;gap:18px;padding:16px 0;flex-wrap:wrap}.jh-hero-cta-text{font-weight:800;color:var(--jh-primary);font-size:18px}.jh-hero-cta-inner .jh-btn{border-radius:999px}.jh-hero-phone{font-weight:800;color:#173b35;background:#e8f6f1;border:1px solid var(--jh-border);border-radius:999px;padding:10px 16px}
@media(max-width:900px){.jh-header-inner{min-height:68px}.jh-brand{font-size:20px}.jh-slide,.jh-slide-overlay{min-height:420px}.jh-slide{background-size:contain;background-position:center top}.jh-hero-content{display:none}.jh-header .jh-phone{display:inline-block}.jh-hero-cta-inner{padding:12px 0}.jh-hero-cta-text{font-size:15px}}
@media(max-width:520px){.jh-slide,.jh-slide-overlay{min-height:330px}.jh-brand img{max-height:56px}.jh-phone{font-size:13px;padding:8px 11px}}

/* v2.4 conversion-focused clinic homepage upgrade */
.jh-topbar{background:#0d5f52;color:#eaf7f3;font-size:13px}.jh-topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:34px;gap:12px}.jh-header{background:#fff;border-bottom:0;box-shadow:0 8px 28px rgba(13,95,82,.12)}.jh-header-inner{min-height:90px}.jh-brand{gap:14px}.jh-brand-text{display:flex;flex-direction:column;line-height:1.15}.jh-brand-text strong{font-size:27px;color:#075f51}.jh-brand-text small{font-size:13px;color:#6a7a75;margin-top:4px;font-weight:600}.jh-nav{gap:18px}.jh-phone{background:#eaf7f3;border:1px solid #bee2d8;color:#075f51}.jh-appointment-btn{background:#dc9a22;color:#fff;border-radius:999px;padding:13px 24px;box-shadow:0 10px 24px rgba(220,154,34,.26)}
.jh-hero{background:#f2fbf8}.jh-slide{min-height:620px;background-size:contain;background-repeat:no-repeat;background-position:center center}.jh-slide-overlay{min-height:620px;background:linear-gradient(90deg,rgba(255,255,255,.0),rgba(255,255,255,.0))}.jh-slide-poster .jh-hero-content{display:none}.jh-hero-content{background:rgba(255,255,255,.95);color:#183b35;border-radius:24px;padding:32px;box-shadow:0 20px 55px rgba(0,0,0,.16);border:1px solid rgba(17,107,91,.12);max-width:540px;margin:0}.jh-eyebrow{display:inline-block;color:#075f51;background:#e8f6f1;border-radius:999px;padding:7px 13px;font-weight:800;margin-bottom:12px}.jh-hero-content h1{color:#075f51}.jh-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.jh-btn-outline{display:inline-block;border:2px solid #116b5b;color:#116b5b;background:#fff;padding:10px 20px;border-radius:999px;font-weight:800}.jh-hero-cta-bar{border-top:1px solid #d9eee8;border-bottom:1px solid #d9eee8;background:#ffffff}.jh-hero-cta-inner{padding:18px 0}.jh-hero-cta-text{font-size:20px}.jh-hero-phone{background:#f2fbf8;color:#075f51}
.jh-trust-strip{background:#0d5f52;color:#fff;padding:24px 0}.jh-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.jh-trust-grid div{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:18px;text-align:center}.jh-trust-grid strong{display:block;font-size:20px}.jh-trust-grid span{display:block;color:#d7eee8;font-size:14px;margin-top:4px}.jh-treatments{background:#fff}.jh-disease-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.jh-disease-card{background:linear-gradient(180deg,#fff,#f4fbf8);border:1px solid #dce8e4;border-radius:18px;padding:20px;font-weight:800;color:#075f51;box-shadow:0 12px 30px rgba(9,56,45,.08);display:flex;align-items:center;gap:10px}.jh-disease-card span{display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;background:#e8f6f1;color:#116b5b}.jh-branch{transition:.2s transform,.2s box-shadow}.jh-branch:hover,.jh-disease-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(9,56,45,.14)}.jh-stars{color:#dc9a22;letter-spacing:2px;margin-bottom:8px}.jh-read-more{font-weight:800}.jh-section{padding:72px 0}.jh-section-title h2{font-size:36px}.jh-contact-wrap{align-items:stretch}.jh-contact-box,.jh-form{min-height:100%}.jh-mobile-sticky{display:none}
@media(max-width:900px){.jh-topbar{display:none}.jh-header-inner{min-height:72px}.jh-brand-text strong{font-size:20px}.jh-brand-text small{font-size:11px}.jh-slide,.jh-slide-overlay{min-height:440px}.jh-trust-grid,.jh-disease-grid{grid-template-columns:repeat(2,1fr)}.jh-mobile-sticky{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;background:#075f51;z-index:9999;box-shadow:0 -8px 24px rgba(0,0,0,.2)}.jh-mobile-sticky a{color:#fff;text-align:center;padding:12px 6px;font-weight:800;border-right:1px solid rgba(255,255,255,.2)}body{padding-bottom:48px}}
@media(max-width:520px){.jh-slide,.jh-slide-overlay{min-height:330px}.jh-trust-grid,.jh-disease-grid{grid-template-columns:1fr}.jh-hero-cta-inner{gap:10px}.jh-hero-cta-text{width:100%;text-align:center}.jh-section{padding:52px 0}.jh-section-title h2{font-size:28px}}


/* v2.4.1 symmetry and fade upgrade */
.jh-slide{display:block;position:absolute;inset:0;opacity:0;transition:opacity 1s ease-in-out;min-height:650px!important;background-size:cover!important;background-position:center center!important}
.jh-slide.active{opacity:1;z-index:2}
.jh-hero{position:relative;height:650px}
.jh-slide-overlay{min-height:650px!important}
.jh-contact-wrap{align-items:stretch}
.jh-contact-wrap>.jh-card,.jh-contact-wrap>.jh-contact-box{height:100%}
.jh-trust-strip{background:#0f6b5b;color:#fff;padding:18px 0}
.jh-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}
.jh-trust-grid strong{display:block;font-size:20px}
@media(max-width:900px){.jh-hero{height:320px}.jh-slide,.jh-slide-overlay{min-height:320px!important}.jh-trust-grid{grid-template-columns:repeat(2,1fr)}}


/* v2.4.2 centered section grids: fixes empty right-side space when only 1-2 cards exist */
.jh-branch-grid,
.jh-testimonial-grid,
.jh-article-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 360px));
    justify-content:center;
    gap:26px;
}
.jh-branch-grid .jh-card,
.jh-testimonial-grid .jh-card,
.jh-article-grid .jh-card{
    width:100%;
}
@media(max-width:760px){
    .jh-branch-grid,
    .jh-testimonial-grid,
    .jh-article-grid{
        grid-template-columns:1fr;
    }
}
