/* ==========================================================================
   components.css: components that were inline in individual posts, plus the
   small bridge rules WordPress block markup needs to match the static site.
   ========================================================================== */





/* from post: how-to-get-more-private-patients-google-business-profile-name */
.post-body .cta-inline{background:var(--ink);color:#fff;border-radius:var(--r-lg);padding:clamp(24px,3vw,32px);margin:38px 0;position:relative;overflow:hidden}
.post-body .cta-inline::before{content:"";position:absolute;top:-50%;right:-8%;width:44%;height:180%;background:radial-gradient(circle,rgba(21,94,239,.28),transparent 65%);pointer-events:none}
.post-body .cta-inline .ci-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9DBEFF;margin:0 0 10px}
.post-body .cta-inline h3{color:#fff;font-size:clamp(20px,2.4vw,26px);line-height:1.15;letter-spacing:-.02em;margin:0 0 8px}
.post-body .cta-inline p{color:rgba(255,255,255,.78)!important;margin:0 0 20px!important;max-width:52ch}
.post-body .cta-inline .ci-actions{display:flex;flex-wrap:wrap;gap:12px}
.post-body .cta-inline .btn{text-decoration:none}
.post-body .cta-inline .btn-primary,.post-body .cta-inline .btn-primary svg{color:#fff!important}
.post-body .cta-inline .btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.32);text-decoration:none}
.post-body .cta-inline .btn-ghost:hover{background:rgba(255,255,255,.1)}
.post-feature img{height:auto}
.post-body .study-table td.r,.post-body .study-table th.r{text-align:right}
.post-body .study-table td.b{font-weight:700;color:var(--ink)}
.post-body figcaption.src{font-size:12.5px;color:var(--fg-3);margin-top:10px;text-align:left}
.post-body figcaption.tcap{font-weight:700;color:var(--ink);margin-bottom:10px;text-align:left}
.post-body .statpair{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:30px 0}
.post-body .statpair .sp{border:1px solid var(--line);border-radius:var(--r-md);padding:22px 24px;background:#fff}
.post-body .statpair .sp.hi{background:var(--info-bg);border-color:#C9DBFD}
.post-body .statpair .sp .n{font-family:var(--font-display);font-weight:700;font-size:clamp(30px,4vw,40px);line-height:1;letter-spacing:-.02em;color:var(--ink)}
.post-body .statpair .sp.hi .n{color:#0F3FA8}
.post-body .statpair .sp .l{font-size:14.5px;color:var(--fg-2);margin-top:8px;line-height:1.4}
.post-body .sidenote{border:1px solid var(--line);background:var(--surface-2);border-radius:var(--r-lg);padding:clamp(22px,3vw,30px);margin:36px 0}
.post-body .sidenote h3{margin-top:0}
.post-body .sidenote > :last-child{margin-bottom:0}
.post-body .study-table tbody tr:first-child td{background:transparent;font-weight:400;color:var(--fg-1);border-top:1px solid var(--line)}
.post-body .study-table tbody tr:first-child td.b{font-weight:700;color:var(--ink)}

/* from post: why-is-local-seo-important-for-private-clinics */
.post-body .study-table td.c,.post-body .study-table th.c{text-align:center}
.post-body .study-table .yes{color:var(--success);font-weight:700}
.post-body .study-table .no{color:var(--fg-3);opacity:.55}
.post-body .study-scroll{max-height:600px;overflow:auto;margin:28px 0;border:1px solid var(--line);border-radius:var(--r-md)}
.post-body .study-scroll table{margin:0;border:none}
.post-body .study-scroll thead th{position:sticky;top:0;z-index:1}
.post-body .study-table tbody tr:first-child td .yes{color:var(--success);font-weight:700}
.post-body .study-table tbody tr:first-child td .no{color:var(--fg-3);opacity:.55}
.post-video.is-short{aspect-ratio:9/16;margin:0;border-radius:var(--r-lg)}
.vs-video{float:right;width:240px;margin:2px 0 22px clamp(22px,3vw,34px)}
.is-short .vthumb-brand{top:12px;left:13px;font-size:9.5px;letter-spacing:.12em}
.is-short .vthumb-brand::before{width:12px;height:12px}
.is-short .vthumb-cap{left:14px;right:14px;bottom:14px;gap:5px}
.is-short .vthumb-eyebrow{font-size:9.5px;letter-spacing:.1em}
.is-short .vthumb-h{font-size:16.5px;line-height:1.18;word-break:normal;overflow-wrap:normal;hyphens:none}
.is-short .vthumb-play{top:47%;width:54px;height:54px}
.is-short .vthumb-play svg{width:22px;height:22px;margin-left:3px}
.vs-video .btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;font-size:14px;padding:11px 14px;text-align:center;color:#fff!important;text-decoration:none!important}
.vs-video .btn svg{color:#fff!important;stroke:#fff!important;width:16px;height:16px}
.vs-clear{clear:both}
@media(max-width:1100px){.vs-video{float:none;width:100%;max-width:300px;margin:26px auto 30px}}

/* from post: the-cobalt-framework-ai-healthcare-writing */
.post-body .cta-inline .btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.32)}
.post-body .cta-inline .btn-ghost{text-decoration:none}
.cobalt-key{display:flex;flex-direction:column;gap:10px;margin:6px 0 30px;padding:0;list-style:none}
.cobalt-key li{display:flex;gap:14px;align-items:flex-start;padding:14px 18px;background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--r-md)}
.cobalt-key .ck-letter{flex:none;width:34px;height:34px;border-radius:9px;background:var(--ink);color:#fff;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center;line-height:1}
.cobalt-key .ck-text{font-size:15.5px;line-height:1.5;color:var(--fg-1)}
.cobalt-key .ck-text strong{color:var(--ink)}
.post-body .compare2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}
.post-body .compare2 .cmp{border-radius:var(--r-lg);padding:22px 24px;border:1px solid}
.post-body .compare2 .cmp h4{margin:0 0 8px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.post-body .compare2 .cmp p{margin:0!important;font-size:15px;line-height:1.55}
.post-body .compare2 .cmp-bad{background:#F3F5F8;border-color:var(--line)}
.post-body .compare2 .cmp-bad h4{color:var(--fg-3)}
.post-body .compare2 .cmp-bad p{color:var(--fg-2)}
.post-body .compare2 .cmp-good{background:var(--brand-50);border-color:var(--brand-100)}
.post-body .compare2 .cmp-good h4{color:var(--brand-700)}
.post-body .compare2 .cmp-good p{color:var(--ink)}
.post-body .fund-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0;padding:0;list-style:none}
.post-body .fund-grid li{background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--r-md);padding:18px 20px}
.post-body .fund-grid li::before{display:none}
.post-body .fund-grid .fn-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:var(--ink);color:#fff;font-weight:800;font-size:14px;margin-bottom:10px}
.post-body .fund-grid strong{display:block;color:var(--ink);font-size:15.5px;margin-bottom:4px}
.post-body .fund-grid .fn-desc{font-size:14.5px;color:var(--fg-2);line-height:1.5}
.post-body .stat-fan{display:flex;align-items:center;gap:24px;background:var(--ink);border-radius:var(--r-lg);padding:24px 28px;margin:28px 0}
.post-body .stat-fan .sf-num{font-size:clamp(38px,6vw,54px);font-weight:800;line-height:1;color:var(--brand-400);letter-spacing:-.02em;flex:none}
.post-body .stat-fan .sf-text{font-size:15.5px;line-height:1.55;color:rgba(255,255,255,.82);margin:0}
.post-body .stat-fan .sf-text strong{color:#fff}
.post-body .cobalt-check{margin:26px 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
.post-body .cobalt-check li{display:flex;gap:14px;align-items:center;background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--r-md);padding:13px 18px}
.post-body .cobalt-check li::before{display:none}
.post-body .cobalt-check .cc-badge{flex:none;width:30px;height:30px;border-radius:8px;background:var(--brand-600);color:#fff;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.post-body .cobalt-check .cc-q{font-size:15px;line-height:1.45;color:var(--fg-1)}
.post-body .cobalt-check .cc-q strong{color:var(--ink)}
@media(max-width:640px){.post-body .compare2,.post-body .fund-grid{grid-template-columns:1fr}.post-body .stat-fan{flex-direction:column;align-items:flex-start;gap:12px}}


/* from post: why-does-your-clinic-need-a-google-business-profile */
.post-feature img{aspect-ratio:16/9;height:auto}
.gbp-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0}
.gbp-flow div{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-md);padding:18px 16px}
.gbp-flow svg{width:20px;height:20px;color:var(--brand-600);margin-bottom:10px}
.gbp-flow h4{margin:0 0 5px;font-size:15px;color:var(--ink);letter-spacing:-.01em}
.gbp-flow p{margin:0!important;font-size:13.5px;line-height:1.5;color:var(--fg-2)}
@media(max-width:620px){.gbp-flow{grid-template-columns:1fr}}

/* Block paragraphs inside stat pairs / CTA boxes */
.post-body .statpair p{margin:0}
.post-body .cta-inline .ci-eyebrow svg{width:15px;height:15px}
.post-body .cta-inline .wp-block-buttons{margin:0;position:relative}

/* Blog index: featured card shows wide graphics in full */
.blog-feature .bf-thumb{background:#EFF5FD;display:flex;align-items:center}
.blog-feature .bf-thumb img{object-fit:contain}

/* ---------- WordPress block bridge ---------- */
.wp-block-image{margin:0}
.wp-block-image img{max-width:100%;height:auto}
.post-body .wp-block-image{margin:28px 0}
.post-body .wp-block-image figcaption{font-size:13px;color:var(--fg-3);margin-top:8px}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.wp-block-button{display:flex}
.post-body .wp-block-buttons{margin:0 0 22px}
.post-body .cta-inline .wp-block-buttons{margin:0;position:relative}
.wp-block-embed{margin:30px 0}
.wp-block-embed .post-video{margin:0}
.key-takeaway > .kt-label + p{margin-top:0}
.key-takeaway > p + p{margin-top:12px}

/* Case study cards built from blocks */
.case-media figure{margin:0;height:100%}
.case-media .wp-block-image img{width:100%;height:100%;object-fit:contain;padding:10px;background:#fff}
.case-body > p{margin:0}
.case-quote.is-pending{color:var(--fg-3);font-style:italic}

/* Guard the site's own grid/flex layouts against WordPress block layout CSS */
.cases-grid.wp-block-group{display:flex!important;flex-wrap:wrap;gap:22px}
.cases-grid.wp-block-group > .case-card{flex:1 1 300px;margin:0!important}
.founder .wrap.wp-block-group{display:grid!important;grid-template-columns:1fr .8fr;gap:clamp(32px,5vw,64px);align-items:center}
.wp-block-group > *{margin-block-start:0}
@media (max-width:1024px){.founder .wrap.wp-block-group{grid-template-columns:1fr}}
@media (max-width:640px){.cases-grid.wp-block-group > .case-card{flex-basis:100%}}

/* Section helpers for pages */
.section.is-tinted{background:var(--surface-2)}
.founder .wp-block-buttons{margin:8px 0 0}
.founder-img figure{margin:0}

/* Keep the fixed header below the WordPress admin bar when logged in */
.admin-bar #header{top:32px}
@media (max-width:782px){.admin-bar #header{top:46px}}
