/*
Theme Name: GHD
Theme URI: https://guthealthdoctor.in/
Author: Dr. Gaurang Ramesh
Description: Lightweight theme for guthealthdoctor.in. No page builder. Pages are made of standard WordPress blocks with a few CSS classes, so text can be edited in the normal editor.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ghd
*/

/* ---------- tokens ---------- */
:root{
  --ground:#F4F6F3;--ink:#14231C;--text:#33423B;--text2:#24332C;--green:#1F5A45;--green2:#2C6E57;
  --pale:#E6EFE9;--chip:#E0ECE5;--line:#DCE3DD;--muted:#5A6B63;--dark2:#1D3229;--darkline:#2A3F35;
  --lime:#C8E86A;--ondark:#DCE5DF;--warm:#FBF1E6;--warmline:#E9C9A6;--warmhead:#7A3E12;--warmtext:#4A3524;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wrap:1200px;--gut:24px;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:var(--sans);font-size:17px;line-height:1.65;color:var(--text);background:var(--ground);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
main{display:block;--pad:max(var(--gut),calc(50% - 600px))}
h1,h2,h3,h4{margin:0;color:var(--ink);text-wrap:balance}
h1{font-family:var(--serif);font-weight:400;font-size:clamp(38px,4.8vw,64px);line-height:1.06;letter-spacing:-.015em}
h2{font-family:var(--serif);font-weight:400;font-size:clamp(30px,3.6vw,46px);line-height:1.12}
h3{font-size:19px;font-weight:600;line-height:1.35}
p{margin:0}
a{color:var(--green);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
ul,ol{margin:0;padding-left:22px}
li+li{margin-top:8px}
strong,b{font-weight:600}
img{max-width:100%;height:auto}
figure{margin:0}
:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:6px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important}}

/* ---------- header ---------- */
.ghd-skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--ink);color:#fff;padding:12px 18px;border-radius:0 0 12px 0}
.ghd-skip:focus{left:0;color:#fff}
.ghd-header{position:sticky;top:0;z-index:50;background:rgba(244,246,243,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.admin-bar .ghd-header{top:32px}
.ghd-header-in{max-width:var(--wrap);margin:0 auto;padding:14px var(--gut);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 32px}
.ghd-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.ghd-brand i{flex:none;width:12px;height:12px;border-radius:999px;background:var(--green);box-shadow:0 0 0 5px #CFE3D8}
.ghd-brand span{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.2}
.ghd-nav{display:flex;flex-wrap:wrap;gap:4px 26px;font-size:15px;font-weight:500}
.ghd-nav a{text-decoration:none;color:var(--text);padding:12px 0}
.ghd-nav a:hover{color:var(--green)}
.ghd-nav a[aria-current="page"]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--green)}
.ghd-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.ghd-book{text-decoration:none;background:var(--ink);color:#fff;padding:12px 22px;border-radius:999px;font-size:15px;font-weight:600;white-space:nowrap}
.ghd-book:hover{background:var(--green);color:#fff}
.ghd-menu-btn{display:none;align-items:center;gap:8px;font:600 15px var(--sans);color:var(--ink);background:transparent;border:1.5px solid #B9C6BE;border-radius:999px;padding:10px 16px;cursor:pointer}
.ghd-menu-btn i{display:block;width:16px;height:2px;background:currentColor;border-radius:2px;box-shadow:0 5px 0 currentColor,0 -5px 0 currentColor}
@media (max-width:1100px){
  html.js .ghd-menu-btn{display:inline-flex}
  html.js .ghd-nav{display:none}
  .ghd-nav{order:3;flex-basis:100%;flex-direction:column;gap:0;padding-bottom:6px}
  html.js .ghd-nav.is-open{display:flex}
  .ghd-nav a{padding:13px 0;border-top:1px solid var(--line)}
  .ghd-nav a[aria-current="page"]{box-shadow:none;color:var(--green)}
}
@media (max-width:782px){.admin-bar .ghd-header{top:46px}}
@media (max-width:520px){.ghd-brand{gap:10px;min-width:0}.ghd-brand span{font-size:19px;white-space:nowrap}.ghd-book span{display:none}.ghd-book{padding:11px 16px}.ghd-header-in{gap:10px 10px;padding:12px 16px}.ghd-header-actions{gap:8px}.ghd-menu-btn{padding:0;width:44px;height:44px;justify-content:center}.ghd-menu-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
@media (max-width:350px){.ghd-brand span{font-size:17px}}

/* ---------- sections and bands ---------- */
.ghd-sec{padding:72px var(--pad)}
.ghd-sec>*+*{margin-top:22px}
.ghd-sec>h2+*{margin-top:28px}
.ghd-sec>.ghd-eyebrow+h2{margin-top:12px}
.ghd-sec>p,.ghd-sec>h2,.ghd-sec>ul:not([class*="ghd-"]),.ghd-sec>ol:not([class*="ghd-"]){max-width:780px}
.ghd-sec:not([class*="ghd-band-"])+.ghd-sec:not([class*="ghd-band-"]){padding-top:0}
.ghd-hero+.ghd-sec:not([class*="ghd-band-"]){padding-top:24px}
.ghd-tocbar+.ghd-sec:not([class*="ghd-band-"]){padding-top:8px}
.ghd-band-white{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ghd-band-pale{background:var(--pale);color:var(--text2)}
.ghd-band-dark{background:var(--ink);color:var(--ondark)}
.ghd-band-dark h2,.ghd-band-dark h3{color:#fff}
.ghd-band-dark a{color:var(--lime)}
.ghd-band-dark a:hover{color:#fff}
.ghd-band-dark :focus-visible,.ghd-cta :focus-visible,.ghd-footer :focus-visible,.ghd-glance :focus-visible{outline-color:var(--lime)}
.ghd-eyebrow{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.ghd-band-dark .ghd-eyebrow{color:var(--lime)}

/* ---------- hero ---------- */
.ghd-hero{padding:32px var(--pad) 40px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.ghd-hero-main{flex:1 1 560px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.ghd-hero-side{flex:1 1 380px;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.ghd-hero:not(.ghd-hero-split) .ghd-hero-main{max-width:920px}
.ghd-crumbs{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:0 8px}
.ghd-crumbs a{color:var(--muted);padding:10px 0}
.ghd-kicker{font-size:14px;font-weight:600;color:var(--green);background:var(--chip);padding:8px 16px;border-radius:999px}
.ghd-lead{font-size:20px;line-height:1.6;max-width:33em}
.ghd-byline{font-size:15px;color:var(--muted)}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.wp-block-button__link,.ghd-btn{display:inline-block;text-decoration:none;font-weight:600;line-height:1.3;padding:17px 30px;border-radius:999px;border:1.5px solid var(--green);background:var(--green);color:#fff;transition:background .15s,color .15s,border-color .15s}
.wp-block-button__link:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.is-style-outline .wp-block-button__link{background:transparent;border-color:var(--ink);color:var(--ink)}
.is-style-outline .wp-block-button__link:hover{background:var(--ink);color:#fff}
.ghd-band-dark .wp-block-button__link{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.ghd-band-dark .is-style-outline .wp-block-button__link{background:transparent;border-color:#fff;color:#fff}

.ghd-glance{background:var(--ink);color:var(--ondark);border-radius:28px;padding:32px;display:flex;flex-direction:column}
.ghd-glance .ghd-eyebrow{color:var(--lime);margin-bottom:16px}
.ghd-glance p:not(.ghd-eyebrow){padding:16px 0;border-top:1px solid var(--darkline);font-size:15px}
.ghd-glance p:last-child{padding-bottom:0}
.ghd-glance strong{display:block;font-size:17px;color:#fff;margin-bottom:4px}
.ghd-glance br,.ghd-proof br{display:none}
.ghd-glance a{color:var(--lime)}

.ghd-photo{flex:1;min-height:420px;border-radius:28px;background:#DDE5DF;display:flex;align-items:center;justify-content:center;text-align:center;padding:32px;color:#44554D;font-size:15px}
/* A real photo in one of the photo places. The frame takes its height from the text beside it and the photo fills the frame.
   When the frame's shape differs from the photo's, the upper part of the picture, where the face is, is kept. */
.ghd-hero-side .wp-block-image,.ghd-col-photo .wp-block-image{position:relative;flex:1;min-height:420px;margin:0;border-radius:28px;overflow:hidden;background:#DDE5DF}
.ghd-hero-side .wp-block-image img,.ghd-col-photo .wp-block-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.ghd-col-photo .wp-block-image{aspect-ratio:1/1;min-height:0;width:100%}
/* inside the editor the photo sits in an extra box with resize handles; let the frame above stay in charge */
.ghd-hero-side .wp-block-image .components-resizable-box__container,.ghd-col-photo .wp-block-image .components-resizable-box__container{position:static !important;display:block !important}
.ghd-col-photo>.wp-block-group__inner-container{flex:1;min-width:0}
@media (max-width:1060px){.ghd-hero-side .wp-block-image{flex:none;aspect-ratio:4/5;min-height:0;max-height:560px}}

.ghd-tocbar{padding:0 var(--pad) 56px}
.ghd-toc{background:#fff;border:1px solid var(--line);border-radius:24px;padding:14px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;font-size:15px}
.ghd-toc strong{font-size:14px;color:var(--muted)}
.ghd-toc a{text-decoration:none;color:var(--text2);font-weight:500;padding:11px 0}
.ghd-toc a:hover{color:var(--green)}

/* ---------- cards, steps, questions ---------- */
.ghd-cards,.ghd-steps,.ghd-faq{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.ghd-cards.ghd-n2,.ghd-steps.ghd-n2,.ghd-steps.ghd-steps-key{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}
.ghd-cards.ghd-n4,.ghd-steps.ghd-n4{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.ghd-cards.ghd-n5,.ghd-steps.ghd-n5{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.ghd-faq{gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr))}
.ghd-card,.ghd-step,.ghd-q{min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:10px}
.ghd-card p,.ghd-step p,.ghd-q p,.ghd-card li,.ghd-step li,.ghd-q li{font-size:16px}
.ghd-band-white .ghd-card,.ghd-band-white .ghd-step,.ghd-band-white .ghd-q{background:var(--ground);border-color:transparent}
.ghd-band-pale .ghd-card,.ghd-band-pale .ghd-step,.ghd-band-pale .ghd-q{border-color:transparent}
.ghd-band-dark .ghd-card,.ghd-band-dark .ghd-step{background:var(--dark2);border-color:transparent;color:var(--ondark)}
.ghd-cards-dark .ghd-card{gap:14px}
.ghd-cards-dark .ghd-card h3{font-size:20px}
.ghd-cards-dark .ghd-card p{font-size:15px}
.ghd-cards-dark .ghd-card p>strong:first-child{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--lime);margin-bottom:4px}
.ghd-cards-dark .ghd-card p+p>strong:first-child{color:#9FB5AA}
.ghd-links{display:flex;flex-wrap:wrap;gap:0 24px}
.ghd-links a{display:inline-block;font-weight:600;text-decoration:none;padding:10px 0}
.ghd-links a::after{content:"\00a0\2192"}
.ghd-links a:hover{text-decoration:underline}
.ghd-card>.ghd-links:last-child,.ghd-card>.wp-block-buttons:last-child{margin-top:auto}
.ghd-steps{counter-reset:ghdstep}
.ghd-step{counter-increment:ghdstep}
.ghd-step::before{content:counter(ghdstep);font-family:var(--serif);font-size:40px;line-height:1;color:var(--green)}
.ghd-band-dark .ghd-step::before{color:var(--lime)}
.ghd-step-key{grid-column:1/-1;background:var(--green);border-color:transparent;color:#E3EEE8;padding:36px;border-radius:24px}
.ghd-band-white .ghd-step-key{background:var(--green)}
.ghd-step-key::before{color:var(--lime)}
.ghd-step-key h3{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.15;color:#fff}
.ghd-step-key a{color:#fff}
.ghd-step-key>p,.ghd-step-key>ul{max-width:820px}
.ghd-step-key .ghd-links a{background:#fff;color:var(--ink);padding:13px 24px;border-radius:999px;margin-top:6px}
.ghd-step-key .ghd-links a::after{content:none}
.ghd-q h3{font-family:var(--serif);font-weight:400;font-size:22px;line-height:1.3}

.ghd-urgent{background:var(--warm);border:1px solid var(--warmline);border-radius:24px;padding:32px 36px;color:var(--warmtext);display:flex;flex-direction:column;gap:12px}
.ghd-urgent h3{font-family:var(--serif);font-weight:400;font-size:26px;line-height:1.2;color:var(--warmhead)}
.ghd-urgent ul{columns:2 280px;column-gap:48px}
.ghd-urgent li{break-inside:avoid}
.ghd-urgent a{color:var(--warmhead)}
.ghd-card .ghd-urgent,.ghd-step .ghd-urgent{padding:22px 24px}
.ghd-callout{background:var(--pale);border-radius:24px;padding:32px 36px;color:var(--text2);display:flex;flex-wrap:wrap;gap:12px 48px;align-items:center}
.ghd-callout h3{flex:1 1 320px;min-width:0;font-family:var(--serif);font-weight:400;font-size:28px;line-height:1.2}
.ghd-callout p{flex:2 1 480px;min-width:0}
.ghd-band-pale .ghd-callout{background:#fff}

.ghd-chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ghd-chips li{margin:0;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-size:15px;line-height:1.35;color:var(--text2)}
.ghd-chips-links li{padding:0}
.ghd-chips-links a{display:block;padding:7px 14px;text-decoration:none;color:inherit;border-radius:999px}
.ghd-chips-links li:hover{border-color:var(--green)}
.ghd-linkcards{list-style:none;padding:0;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.ghd-linkcards li{margin:0}
.ghd-linkcards a{display:block;height:100%;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;color:var(--ink);font-family:var(--serif);font-size:23px;line-height:1.3;transition:border-color .15s}
.ghd-linkcards a:hover,.ghd-acard:hover{border-color:var(--green)}

.wp-block-table{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background-color:#fff;
  /* a soft shadow shows at an edge when a wide table can be scrolled sideways on a phone */
  background-image:linear-gradient(to right,#fff,rgba(255,255,255,0)),linear-gradient(to left,#fff,rgba(255,255,255,0)),linear-gradient(to right,rgba(20,35,28,.16),rgba(20,35,28,0)),linear-gradient(to left,rgba(20,35,28,.16),rgba(20,35,28,0));
  background-position:left center,right center,left center,right center;background-size:40px 100%,40px 100%,14px 100%,14px 100%;
  background-repeat:no-repeat;background-attachment:local,local,scroll,scroll}
table{width:100%;border-collapse:collapse;font-size:16px}
table.has-fixed-layout{table-layout:auto}
th,td{text-align:left;vertical-align:top;padding:14px 18px;border-bottom:1px solid var(--line)}
th{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
tbody tr:last-child td{border-bottom:0}
td:first-child{font-weight:600;color:var(--ink);min-width:10.5em}

/* ---------- end of page: related, sources ---------- */
.ghd-end{display:flex;flex-wrap:wrap;gap:40px 56px;padding-top:56px !important;padding-bottom:56px}
.ghd-end>*{flex:1 1 420px;min-width:0;margin-top:0 !important;display:flex;flex-direction:column;gap:14px}
h2.ghd-h-small,.ghd-read h2.ghd-h-small{font-family:var(--sans);font-size:20px;font-weight:600;line-height:1.3}
.ghd-pills{display:flex;flex-wrap:wrap;gap:8px}
.ghd-pills a{text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 16px;font-size:15px;font-weight:500;line-height:1.35;color:var(--text2)}
.ghd-pills a:hover{border-color:var(--green);color:var(--green)}
.ghd-small{font-size:14px;color:var(--muted)}
.ghd-reflist{padding-left:20px;font-size:14px;line-height:1.55;color:#44554D;overflow-wrap:anywhere}
.ghd-reflist li+li{margin-top:6px}

/* ---------- closing band and footer ---------- */
.ghd-cta{background:var(--ink);color:#fff;padding:72px max(var(--gut),calc(50% - 600px));display:flex;flex-wrap:wrap;gap:32px 56px;align-items:center;justify-content:space-between}
.ghd-cta-text{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:14px}
.ghd-cta h2{color:#fff}
.ghd-cta p{color:var(--ondark)}
.ghd-cta-actions{display:flex;flex-wrap:wrap;gap:14px}
.ghd-btn-lime{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.ghd-btn-lime:hover{background:#fff;border-color:#fff;color:var(--ink)}
.ghd-btn-ghost{background:transparent;border-color:#fff;color:#fff}
.ghd-btn-ghost:hover{background:#fff;color:var(--ink)}
.ghd-footer{background:var(--ink);color:#C5D1CA;font-size:15px;border-top:1px solid var(--darkline);padding:48px max(var(--gut),calc(50% - 600px))}
.ghd-footer-in{display:flex;flex-wrap:wrap;gap:32px 56px;justify-content:space-between}
.ghd-footer-in>div{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:8px}
.ghd-fname{font-family:var(--serif);font-size:22px;color:#fff}
.ghd-footer a{color:#fff}
.ghd-fnav{display:flex;flex-wrap:wrap;gap:0 24px}
.ghd-fnav a{padding:8px 0}

/* ---------- home tabs, article cards, form ---------- */
.ghd-tablist{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.ghd-tablist button{font:600 16px var(--sans);padding:13px 22px;border-radius:999px;border:1.5px solid #B9C6BE;background:#fff;color:var(--text2);cursor:pointer}
.ghd-tablist button[aria-selected="true"]{border-color:var(--ink);background:var(--ink);color:#fff}
.ghd-groups{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.ghd-group{min-width:0;background:var(--ground);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:16px}
.ghd-tabpanel>.ghd-links{margin-top:18px}
.ghd-tabpanel-title{font-family:var(--serif);font-weight:400;font-size:28px;margin:36px 0 18px}
html.js .ghd-tabpanel-title,html:not(.js) .ghd-tablist{display:none}
.ghd-tabpanel[hidden]{display:none}
.ghd-articles{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.ghd-acard{min-width:0;display:flex;flex-direction:column;gap:8px;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;color:var(--text);transition:border-color .15s}
.ghd-acard strong{font-family:var(--serif);font-weight:400;font-size:22px;line-height:1.28;color:var(--ink)}
.ghd-acard span{font-size:15px;line-height:1.55}
.ghd-form{max-width:640px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;display:grid;gap:18px}
.ghd-form label{display:block;font-size:15px;font-weight:600;color:var(--ink);margin-bottom:6px}
.ghd-form input,.ghd-form textarea{display:block;width:100%;font:inherit;color:var(--ink);background:var(--ground);border:1.5px solid #B9C6BE;border-radius:12px;padding:13px 14px}
.ghd-form input:focus,.ghd-form textarea:focus{outline:3px solid var(--green);outline-offset:1px;border-color:var(--green)}
.ghd-form button{font:600 17px var(--sans);background:var(--green);color:#fff;border:0;border-radius:999px;padding:17px 30px;cursor:pointer}
.ghd-form button:hover{background:var(--ink)}

/* ---------- home ---------- */
.ghd-page-home .ghd-hero{padding-top:72px;align-items:stretch}
.ghd-page-home h1{font-size:clamp(42px,5.6vw,76px);line-height:1.04}
.ghd-page-home .ghd-hero-main{gap:26px;justify-content:center}
.ghd-page-home .ghd-sec{padding-top:104px;padding-bottom:104px}
.ghd-page-home .ghd-sec>h2+*{margin-top:36px}
.ghd-page-home .ghd-s-proof{padding-top:0;padding-bottom:88px}
.ghd-page-home .ghd-s-entry{padding-top:0}
.ghd-proof{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px 32px;display:flex;flex-wrap:wrap;gap:20px 40px;justify-content:space-between}
.ghd-proof p{flex:1 1 200px;min-width:0;font-size:15px}
.ghd-proof strong{display:block;font-size:17px;color:var(--ink);margin-bottom:2px}
.ghd-page-home .ghd-s-entry .ghd-card{border-radius:24px;padding:32px;gap:12px;min-height:250px}
.ghd-page-home .ghd-s-entry .ghd-card h3{font-family:var(--serif);font-weight:400;font-size:28px;line-height:1.2}
.ghd-page-home .ghd-s-entry .ghd-card p{font-size:17px}
.ghd-page-home .ghd-s-entry .ghd-card:nth-child(1){background:var(--pale);border-color:transparent;color:var(--text2)}
.ghd-page-home .ghd-s-entry .ghd-card:nth-child(2){background:var(--ink);border-color:transparent;color:var(--ondark)}
.ghd-page-home .ghd-s-entry .ghd-card:nth-child(2) h3{color:#fff}
.ghd-page-home .ghd-s-entry .ghd-card:nth-child(2) a{color:var(--lime)}
.ghd-page-home .ghd-s-services .ghd-urgent{margin-top:28px}
.ghd-page-home .ghd-s-focus .ghd-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.ghd-page-home .ghd-s-focus .ghd-card{border-radius:24px;padding:32px;gap:12px}
.ghd-page-home .ghd-s-focus .ghd-card h3{font-family:var(--serif);font-weight:400;font-size:28px;line-height:1.2}
.ghd-page-home .ghd-s-focus .ghd-card p{font-size:17px}
.ghd-page-home .ghd-s-program .ghd-cards{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ghd-page-home .ghd-s-program .ghd-card{border-radius:24px;border-color:transparent;gap:16px}
.ghd-page-home .ghd-s-program .ghd-card p{font-size:17px}
.ghd-page-home .ghd-s-program .ghd-card:first-child{background:var(--green);color:#E3EEE8;padding:40px}
.ghd-page-home .ghd-s-program .ghd-card:first-child h3{font-family:var(--serif);font-weight:400;font-size:34px;line-height:1.15;color:#fff}
.ghd-page-home .ghd-s-program .ghd-card:first-child .ghd-chips li{background:var(--green2);border-color:transparent;color:#fff}
.ghd-page-home .ghd-s-program .ghd-card:first-child .ghd-links a{background:#fff;color:var(--ink);padding:14px 24px;border-radius:999px;margin-top:8px}
.ghd-page-home .ghd-s-program .ghd-card:first-child .ghd-links a::after{content:none}
.ghd-page-home .ghd-s-program .ghd-card:last-child{background:var(--pale);color:var(--text2);padding:36px}
.ghd-page-home .ghd-s-program .ghd-card:last-child h3{font-family:var(--serif);font-weight:400;font-size:28px;line-height:1.2}
.ghd-page-home .ghd-s-commitment .ghd-card{background:var(--pale);padding:24px;gap:8px}
.ghd-page-home .ghd-s-about{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.ghd-page-home .ghd-s-about>*{margin-top:0}
.ghd-col-photo{flex:1 1 340px;min-width:0;display:flex}
.ghd-col-photo .ghd-photo{aspect-ratio:1/1;min-height:0;background:#CFDDD4}
.ghd-col-text{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}
@media (max-width:900px){.ghd-page-home .ghd-s-program .ghd-cards,.ghd-page-home .ghd-s-focus .ghd-cards{grid-template-columns:1fr}}

/* ---------- other page types ---------- */
.ghd-type-hub .ghd-sec>ul:not([class*="ghd-"]){max-width:none;list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));column-gap:56px}
.ghd-type-hub .ghd-sec>ul:not([class*="ghd-"])>li{margin:0;padding:14px 0;border-top:1px solid var(--line)}
.ghd-type-hub .ghd-sec>ul:not([class*="ghd-"])>li>strong:first-child{color:var(--ink)}
.ghd-page-about .ghd-s-training .ghd-cards,.ghd-page-about .ghd-s-books .ghd-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr))}
.ghd-page-about .ghd-s-path td:first-child{font-family:var(--serif);font-weight:400;font-size:22px;color:var(--green);white-space:nowrap;min-width:0}
.ghd-page-about .ghd-s-path .wp-block-table{max-width:900px}
.ghd-page-gut-health-program .ghd-s-who .ghd-chips li{font-size:16px;padding:9px 16px}

/* ---------- reading layout: articles and legal pages ---------- */
.ghd-read main{--pad:max(var(--gut),calc(50% - 390px))}
.ghd-read h1{font-size:clamp(34px,4.2vw,52px);line-height:1.1}
.ghd-read h2{font-size:clamp(26px,3vw,34px);line-height:1.18}
.ghd-read .ghd-hero{padding-bottom:32px}
.ghd-read .ghd-sec,.ghd-read .ghd-hero+.ghd-sec{padding-top:0;padding-bottom:48px}
.ghd-read .ghd-sec>h2+*{margin-top:18px}
.ghd-read .ghd-sec>p,.ghd-read .ghd-sec>ul:not([class*="ghd-"])>li,.ghd-read .ghd-sec>ol:not([class*="ghd-"])>li{font-size:18px;line-height:1.7}
.ghd-read .ghd-cards,.ghd-read .ghd-steps{gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.ghd-read .ghd-card,.ghd-read .ghd-step,.ghd-read .ghd-q{padding:24px}
.ghd-read .ghd-faq{grid-template-columns:1fr}
.ghd-read .ghd-sec.ghd-s-key,.ghd-read .ghd-hero+.ghd-sec.ghd-s-key{margin:0 var(--pad) 48px;padding:28px 32px;background:var(--pale);border-radius:24px;color:var(--text2)}
.ghd-read .ghd-s-key h2{font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;color:var(--green)}
.ghd-read .ghd-s-key h2+*{margin-top:12px}
.ghd-read .ghd-end{padding-top:8px !important;gap:36px}
.ghd-read .ghd-end>*{flex-basis:100%}
.ghd-type-legal .ghd-sec>p,.ghd-type-legal li{font-size:17px !important}

/* ---------- gut health self-assessment (assets/assessment.js) ---------- */
.ghd-assess{max-width:820px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:36px;scroll-margin-top:96px}
.ghd-assess-count{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.ghd-assess-bar{height:6px;background:var(--pale);border-radius:999px;overflow:hidden;margin-bottom:28px}
.ghd-assess-bar span{display:block;height:100%;width:0;background:var(--green);border-radius:999px;transition:width .25s}
.ghd-assess-step,.ghd-assess-report{display:grid;gap:22px}
.ghd-assess-step>*,.ghd-assess-report>*,.ghd-assess-card>*,.ghd-assess-next-step>*{margin:0}
.ghd-assess h3{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.2;color:var(--ink);outline:0}
.ghd-assess h4{font:600 20px/1.3 var(--sans);color:var(--ink)}
.ghd-assess-intro,.ghd-assess-meta{color:var(--muted)}
.ghd-assess-q{border:0;padding:0;margin:0;min-width:0}
.ghd-assess-q legend{font-weight:600;color:var(--ink);font-size:17px;line-height:1.45;padding:0;margin-bottom:10px}
.ghd-assess-opts{display:flex;flex-wrap:wrap;gap:8px}
.ghd-assess-opt{position:relative;cursor:pointer}
.ghd-assess-opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.ghd-assess-opt span{display:block;padding:11px 16px;min-height:46px;border:1.5px solid #B9C6BE;border-radius:14px;background:var(--ground);font-size:16px;line-height:1.35;color:var(--ink)}
.ghd-assess-opt:hover span{border-color:var(--green)}
.ghd-assess-opt input:checked+span{background:var(--green);border-color:var(--green);color:#fff}
.ghd-assess-opt input:focus-visible+span{outline:3px solid var(--green);outline-offset:2px}
.ghd-assess-q.is-missing legend{color:var(--warmhead)}
.ghd-assess-q.is-missing .ghd-assess-opts{outline:2px dashed var(--warmline);outline-offset:6px;border-radius:14px}
.ghd-assess-msg{margin-top:12px;font-size:15px;color:var(--warmhead)}
.ghd-assess-msg:empty{display:none}
.ghd-assess-msg .ghd-urgent{padding:18px 20px;border-radius:16px}
.ghd-assess-error{color:var(--warmhead);font-weight:600}
.ghd-assess-nav,.ghd-assess-actions{display:flex;flex-wrap:wrap;gap:12px}
.ghd-assess-nav{justify-content:flex-end;margin-top:8px}
.ghd-assess button{font:600 17px var(--sans);border-radius:999px;padding:15px 28px;cursor:pointer}
.ghd-assess-next{background:var(--green);color:#fff;border:1.5px solid var(--green)}
.ghd-assess-next:hover{background:var(--ink);border-color:var(--ink)}
.ghd-assess-back,.ghd-assess-print,.ghd-assess-again{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.ghd-assess-contact label{display:block;font-size:15px;font-weight:600;color:var(--ink);margin-bottom:6px}
.ghd-assess-contact input[type=text],.ghd-assess-contact input[type=tel],.ghd-assess-contact input[type=email]{display:block;width:100%;max-width:460px;font:inherit;color:var(--ink);background:var(--ground);border:1.5px solid #B9C6BE;border-radius:12px;padding:13px 14px}
.ghd-assess-contact input:focus{outline:3px solid var(--green);outline-offset:1px;border-color:var(--green)}
.ghd-assess-check label{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:16px;color:var(--text);margin:0}
.ghd-assess-check input{width:22px;height:22px;flex:none;margin:2px 0 0;accent-color:var(--green)}
.ghd-assess-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ghd-assess-preview{background:var(--warm);border:1px solid var(--warmline);border-radius:14px;padding:12px 14px;color:var(--warmtext);font-size:15px}
.ghd-assess-card{background:var(--ground);border:1px solid var(--line);border-radius:20px;padding:26px;display:grid;gap:10px}
.ghd-assess-card ul,.ghd-assess-report .ghd-urgent ul{margin:0;padding-left:20px;display:grid;gap:4px}
.ghd-assess-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:8px}
.ghd-assess-links{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline;font-size:15px;padding-top:6px}
.ghd-assess-links span{color:var(--muted)}
.ghd-assess-next-step{background:var(--ink);color:var(--ondark);border-radius:20px;padding:30px;display:grid;gap:10px}
.ghd-assess-next-step h4{font-family:var(--serif);font-weight:400;font-size:28px;line-height:1.2;color:#fff}
.ghd-assess-next-step .ghd-assess-label{color:var(--lime);padding-top:0}
.ghd-assess-actions{margin-top:12px}
.ghd-assess-next-step button{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.ghd-assess-next-step button:hover{border-color:#fff}
html.ghd-print-report body *{visibility:hidden}
html.ghd-print-report .ghd-assess-report,html.ghd-print-report .ghd-assess-report *{visibility:visible}
html.ghd-print-report .ghd-assess-report{position:absolute;left:0;top:0;width:100%;padding:0 12pt}
html.ghd-print-report .ghd-assess-actions{display:none}
html.ghd-print-report .ghd-assess-next-step{background:#fff;color:#000;border:1px solid #999}
html.ghd-print-report .ghd-assess-next-step h4,html.ghd-print-report .ghd-assess-next-step .ghd-assess-label{color:#000}

/* ---------- small screens ---------- */
@media (max-width:640px){
  body{font-size:16px}
  .ghd-sec,.ghd-page-home .ghd-sec{padding-top:56px;padding-bottom:56px}
  .ghd-page-home .ghd-s-proof{padding-bottom:56px}
  .ghd-hero,.ghd-page-home .ghd-hero{padding-top:20px;gap:32px}
  .ghd-lead{font-size:18px}
  .ghd-card,.ghd-step,.ghd-q,.ghd-group,.ghd-acard{padding:22px}
  .ghd-step-key,.ghd-page-home .ghd-s-program .ghd-card:first-child,.ghd-page-home .ghd-s-program .ghd-card:last-child{padding:26px}
  .ghd-urgent,.ghd-callout,.ghd-glance,.ghd-form{padding:24px}
  .ghd-proof{padding:22px 24px}
  .wp-block-button__link,.ghd-btn{padding:15px 24px}
  .ghd-photo{min-height:260px}
  .ghd-tocbar{padding-bottom:40px}
  .ghd-toc{gap:0 18px;padding:12px 18px}
  .ghd-linkcards a{font-size:21px;padding:22px}
  .ghd-cta{padding-top:56px;padding-bottom:56px}
  th,td{padding:12px 14px}
  td:first-child{min-width:8em}
  .ghd-assess{padding:22px;border-radius:20px}
  .ghd-assess h3{font-size:26px}
  .ghd-assess-card,.ghd-assess-next-step{padding:20px}
  .ghd-assess-nav button{flex:1 1 auto}
  .ghd-assess-opt span{padding:10px 14px}
  /* wide tables become a list of small cards on a phone (site.js adds the class and the column names) */
  table.ghd-stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  table.ghd-stack,table.ghd-stack tbody,table.ghd-stack tr,table.ghd-stack td{display:block}
  table.ghd-stack tr{padding:18px 20px;border-bottom:1px solid var(--line)}
  table.ghd-stack tbody tr:last-child{border-bottom:0}
  table.ghd-stack td{padding:0;border:0;min-width:0}
  table.ghd-stack td:first-child{font-size:17px}
  table.ghd-stack td[data-label]{margin-top:12px}
  table.ghd-stack td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
  .ghd-read .ghd-sec.ghd-s-key,.ghd-read .ghd-hero+.ghd-sec.ghd-s-key{padding:22px 24px}
  .ghd-read .ghd-sec>p,.ghd-read .ghd-sec>ul:not([class*="ghd-"])>li,.ghd-read .ghd-sec>ol:not([class*="ghd-"])>li{font-size:17px}
}

@media print{
  .ghd-header,.ghd-cta,.ghd-tocbar,.ghd-form,.wp-block-buttons{display:none !important}
  body{background:#fff;font-size:12pt}
  .ghd-sec{padding:16pt 0 !important}
  .ghd-band-dark{background:#fff;color:#000}
  .ghd-band-dark h2,.ghd-band-dark h3{color:#000}
}

/* ---------- other standard blocks, for pages written later in the editor ---------- */
.wp-block-image img{display:block;border-radius:20px}
.wp-block-image figcaption,.wp-block-embed figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.wp-block-columns{display:flex;flex-wrap:wrap;gap:24px}
.wp-block-column{flex:1 1 280px;min-width:0}
.wp-block-column>*+*{margin-top:18px}
.wp-block-quote{margin:0;padding:4px 0 4px 22px;border-left:3px solid var(--green);font-family:var(--serif);font-size:22px;line-height:1.4;color:var(--ink)}
.wp-block-quote cite{display:block;margin-top:8px;font-family:var(--sans);font-size:14px;font-style:normal;color:var(--muted)}
.wp-block-separator{border:0;border-top:1px solid var(--line);margin:8px 0}
.wp-block-embed iframe{max-width:100%;border-radius:16px}
.has-text-align-center{text-align:center}
