/* ==========================================================================
   EntGut theme, Tejaswini Deshpande (tejaswinideshpande.com)
   Premium, editorial, minimal. Palette variables are injected inline
   (--eg-navy, --eg-teal, --eg-ivory, --eg-stone, --eg-charcoal, --eg-champagne).
   ========================================================================== */

:root {
	--eg-navy: #132B35;
	--eg-teal: #467B78;
	--eg-ivory: #F8F6F1;
	--eg-stone: #E9E5DE;
	--eg-charcoal: #262A2B;
	--eg-champagne: #B89B68;
	--eg-white: #fff;
	--eg-muted: #586366;
	--eg-line: rgba(19, 43, 53, .12);
	--eg-font-head: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--eg-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--eg-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
	--eg-radius: 10px;
	--eg-radius-lg: 18px;
	--eg-wrap: 1200px;
	--eg-narrow: 780px;
	--eg-gutter: clamp(16px, 4vw, 32px);
	--eg-header-h: 84px;
	--eg-shadow: 0 1px 2px rgba(19, 43, 53, .04), 0 12px 32px -12px rgba(19, 43, 53, .14);
	--eg-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--eg-header-h) + 16px); }
body {
	margin: 0;
	background: var(--eg-ivory);
	color: var(--eg-charcoal);
	font-family: var(--eg-font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--eg-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--eg-ease); }
a:hover { color: var(--eg-navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--eg-font-display); color: var(--eg-navy); line-height: 1.2; font-weight: 500; letter-spacing: -.005em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--eg-champagne); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--eg-teal); color: #fff; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.eg-skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--eg-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.eg-skip-link:focus { top: 12px; color: #fff; }

.eg-container { width: 100%; max-width: var(--eg-wrap); margin-inline: auto; padding-inline: var(--eg-gutter); }
.eg-container--narrow { max-width: calc(var(--eg-narrow) + var(--eg-gutter) * 2); }
.eg-section { padding-block: clamp(48px, 7vw, 96px); }
.eg-eyebrow { font-family: var(--eg-font-head); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--eg-teal); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.eg-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--eg-champagne); }
.eg-eyebrow--light { color: var(--eg-champagne); }
.eg-icon { flex: none; }

/* ---------- Buttons ---------- */
.eg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--eg-font-head); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
	padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
	text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap;
	transition: background .2s var(--eg-ease), color .2s var(--eg-ease), border-color .2s var(--eg-ease), transform .2s var(--eg-ease);
}
.eg-btn .eg-icon { width: 18px; height: 18px; }
.eg-btn:hover { transform: translateY(-1px); }
/* All filled buttons use the clinic's teal with white text; hover matches the existing Elementor buttons (#6C6868). */
:root { --eg-btn: var(--eg-teal); --eg-btn-hover: #6C6868; }
.eg-btn--primary, .eg-btn--champagne { background: var(--eg-btn); color: #fff; border-color: var(--eg-btn); }
.eg-btn--primary:hover, .eg-btn--champagne:hover, .eg-btn--primary:focus-visible, .eg-btn--champagne:focus-visible { background: var(--eg-btn-hover); border-color: var(--eg-btn-hover); color: #fff; }
.eg-btn--outline { border-color: var(--eg-btn); color: var(--eg-btn); background: transparent; }
.eg-btn--outline:hover { background: var(--eg-btn); color: #fff; }
.eg-btn--ghost { color: var(--eg-btn); background: transparent; border-color: var(--eg-btn); }
.eg-btn--ghost:hover { background: var(--eg-btn); border-color: var(--eg-btn); color: #fff; }
.eg-btn--light-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.eg-btn--light-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.eg-btn--block { width: 100%; }
.eg-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--eg-font-head); font-weight: 600; font-size: .85rem; color: var(--eg-navy); text-decoration: none; }
.eg-link-arrow .eg-icon { width: 16px; height: 16px; transition: transform .2s var(--eg-ease); }
.eg-link-arrow:hover .eg-icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.eg-topbar { background: var(--eg-navy); color: rgba(255,255,255,.82); font-size: .8rem; }
.eg-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.eg-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.eg-topbar li { display: inline-flex; align-items: center; gap: 7px; }
.eg-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.eg-topbar a:hover { color: #fff; }
.eg-topbar .eg-icon { width: 15px; height: 15px; color: var(--eg-champagne); }

/* ---------- Header ---------- */
.eg-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--eg-line); z-index: 90; transition: box-shadow .25s var(--eg-ease); }
.eg-sticky-header .eg-header { position: sticky; top: 0; backdrop-filter: saturate(140%) blur(8px); }
.admin-bar.eg-sticky-header .eg-header { top: 32px; }
.eg-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(19,43,53,.35); }
.eg-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--eg-header-h); }
.eg-header__brand { flex: none; }
.eg-logo img { height: 58px; width: auto; }
.eg-logo--text { font-family: var(--eg-font-head); font-weight: 600; color: var(--eg-navy); text-decoration: none; font-size: 1.1rem; }
.eg-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.eg-header__actions .eg-btn { padding: 11px 18px; }

.eg-nav { margin-left: auto; }
.eg-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.eg-nav__item { position: relative; display: flex; align-items: center; }
.eg-nav__toggle, .eg-burger, .eg-drawer__close, .eg-search__btn, .eg-share__copy, .eg-videos__filters .eg-chip { -webkit-appearance: none; appearance: none; box-shadow: none !important; text-transform: none; letter-spacing: normal; }
.eg-nav__toggle, .eg-drawer__close { background: transparent !important; border: 0 !important; }
.eg-burger { background: #fff !important; color: var(--eg-navy) !important; border: 1px solid var(--eg-line) !important; padding: 0 !important; }
.eg-drawer__close { color: var(--eg-navy) !important; padding: 0 !important; }
.eg-nav__list--mobile .eg-nav__toggle { color: var(--eg-navy) !important; }
.eg-nav__list > .eg-nav__item > .eg-nav__link { white-space: nowrap; }
.eg-nav__link { display: flex; flex-direction: column; padding: 10px 12px; color: var(--eg-charcoal); text-decoration: none; font-family: var(--eg-font-head); font-weight: 500; font-size: .88rem; border-radius: 8px; }
.eg-nav__link:hover, .eg-nav__item.current-menu-item > .eg-nav__link, .eg-nav__item.current-menu-ancestor > .eg-nav__link, .eg-nav__item.current_page_ancestor > .eg-nav__link { color: var(--eg-teal); }
.eg-nav__toggle { padding: 4px !important; margin-left: -10px; color: var(--eg-muted) !important; cursor: pointer; display: inline-flex; min-height: 0; line-height: 1; }
.eg-nav__toggle .eg-icon { width: 16px; height: 16px; transition: transform .2s; }
.eg-nav__sub {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: -10px; min-width: 300px;
	background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); box-shadow: var(--eg-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--eg-ease), transform .2s var(--eg-ease), visibility .2s;
	display: grid; gap: 2px; z-index: 50;
}
.eg-nav__item--parent:hover > .eg-nav__sub, .eg-nav__item--parent:focus-within > .eg-nav__sub, .eg-nav__item.is-open > .eg-nav__sub { opacity: 1; visibility: visible; transform: none; }
.eg-nav__item--parent::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.eg-nav__sub .eg-nav__item { display: block; }
.eg-nav__sub .eg-nav__link { padding: 10px 14px; font-size: .86rem; }
.eg-nav__sub .eg-nav__link:hover { background: var(--eg-ivory); color: var(--eg-navy); }
.eg-nav__desc { display: block; font-family: var(--eg-font-body); font-weight: 400; font-size: .76rem; color: var(--eg-muted); margin-top: 2px; }
.eg-nav__list > li.eg-mega > .eg-nav__sub { grid-template-columns: 1fr 1fr; min-width: 560px; }

.eg-burger { display: none; background: none; border: 1px solid var(--eg-line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--eg-navy); cursor: pointer; }

/* Drawer */
.eg-drawer { position: fixed; inset: 0; z-index: 200; }
.eg-drawer[hidden] { display: none; }
.eg-drawer__backdrop { position: absolute; inset: 0; background: rgba(19,43,53,.45); animation: egFade .2s ease; }
.eg-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; animation: egSlide .28s var(--eg-ease); overflow-y: auto; }
.eg-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--eg-line); }
.eg-drawer__head .eg-logo img { height: 46px; }
.eg-drawer__close { background: none; border: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--eg-navy); cursor: pointer; }
.eg-drawer__nav { padding: 8px 10px; flex: 1; }
.eg-nav__list--mobile { flex-direction: column; align-items: stretch; gap: 0; }
.eg-nav__list--mobile .eg-nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--eg-line); }
.eg-nav__list--mobile .eg-nav__link { flex: 1; padding: 14px 10px; font-size: 1rem; }
.eg-nav__list--mobile .eg-nav__toggle { width: 44px; height: 44px; justify-content: center; margin: 0; }
.eg-nav__list--mobile .eg-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 10px 10px; display: none; grid-template-columns: 1fr !important; }
.eg-nav__list--mobile .is-open > .eg-nav__sub { display: grid; }
.eg-nav__list--mobile .is-open > .eg-nav__toggle .eg-icon { transform: rotate(180deg); }
.eg-nav__list--mobile .eg-nav__sub .eg-nav__item { border: 0; }
.eg-drawer__cta { padding: 18px; display: grid; gap: 10px; border-top: 1px solid var(--eg-line); background: var(--eg-ivory); }
.eg-drawer__meta { font-size: .8rem; color: var(--eg-muted); margin: 4px 0 0; text-align: center; }
@keyframes egFade { from { opacity: 0; } }
@keyframes egSlide { from { transform: translateX(30px); opacity: 0; } }

/* ---------- Page hero (non-builder pages, blog, archives) ---------- */
.eg-page-hero { background: var(--eg-navy); color: rgba(255,255,255,.85); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.eg-page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(184,155,104,.25); }
.eg-page-hero__title { color: #fff; max-width: 20ch; margin-bottom: 14px; }
.eg-page-hero__intro { max-width: 62ch; font-size: 1.05rem; color: rgba(255,255,255,.78); }
.eg-page-hero__intro p:last-child { margin: 0; }
.eg-breadcrumbs { font-size: .8rem; margin-bottom: 22px; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.eg-breadcrumbs a { color: rgba(255,255,255,.78); text-decoration: none; }
.eg-breadcrumbs a:hover { color: #fff; }
.eg-breadcrumbs__sep { opacity: .5; }
.eg-article__hero .eg-breadcrumbs, .eg-article__hero .eg-breadcrumbs a { color: var(--eg-muted); }

/* ---------- Layout with sidebar ---------- */
.eg-layout { display: grid; gap: clamp(32px, 5vw, 64px); padding-block: clamp(40px, 6vw, 80px); }
.eg-layout--sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.eg-sidebar__inner { position: sticky; top: calc(var(--eg-header-h) + 24px); display: grid; gap: 20px; }
.eg-widget { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); padding: 24px; }
.eg-widget__title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--eg-teal); margin: 0 0 16px; }
.eg-widget ul { list-style: none; margin: 0; padding: 0; }
.eg-widget li { padding: 9px 0; border-bottom: 1px solid var(--eg-line); font-size: .92rem; line-height: 1.45; }
.eg-widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.eg-widget li a { color: var(--eg-charcoal); text-decoration: none; }
.eg-widget li a:hover { color: var(--eg-teal); }
.eg-widget .post-date { display: block; font-size: .75rem; color: var(--eg-muted); }
.eg-widget .tagcloud a { display: inline-block; font-size: .8rem !important; padding: 5px 12px; margin: 0 6px 8px 0; border: 1px solid var(--eg-line); border-radius: 999px; color: var(--eg-charcoal); text-decoration: none; }
.eg-widget .tagcloud a:hover { border-color: var(--eg-teal); color: var(--eg-teal); }
.eg-widget.widget_search, .eg-widget.widget_block:has(.wp-block-search) { padding: 10px; }

/* Search */
.eg-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--eg-line); border-radius: 999px; padding: 4px 4px 4px 18px; }
.eg-search__input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .92rem; padding: 8px 0; color: var(--eg-charcoal); min-width: 0; }
.eg-search__input:focus { outline: none; }
.eg-search:focus-within { border-color: var(--eg-teal); }
.eg-search__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--eg-btn); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Cards / grid ---------- */
.eg-grid { display: grid; gap: 24px; }
.eg-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eg-card { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--eg-ease), box-shadow .3s var(--eg-ease); }
.eg-card:hover { transform: translateY(-3px); box-shadow: var(--eg-shadow); }
.eg-card__media { aspect-ratio: 16/10; background: var(--eg-stone); overflow: hidden; display: block; }
.eg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--eg-ease); }
.eg-card:hover .eg-card__media img { transform: scale(1.03); }
.eg-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--eg-teal); }
.eg-card__placeholder .eg-icon { width: 40px; height: 40px; opacity: .5; }
.eg-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eg-card__title { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.eg-card__title a { color: var(--eg-navy); text-decoration: none; }
.eg-card__title a:hover { color: var(--eg-teal); }
.eg-card__excerpt { color: var(--eg-muted); font-size: .92rem; margin: 0; flex: 1; }
.eg-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .78rem; color: var(--eg-muted); }
.eg-chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--eg-ivory); border: 1px solid var(--eg-line); color: var(--eg-navy); font-size: .76rem; font-weight: 500; text-decoration: none; line-height: 1.2; }
.eg-chip:hover, .eg-chip.is-active { background: var(--eg-navy); border-color: var(--eg-navy); color: #fff; }
.eg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--eg-line); background: #fff; color: var(--eg-navy); text-decoration: none; font-size: .9rem; padding: 0 12px; }
.page-numbers.current, .page-numbers:hover { background: var(--eg-navy); color: #fff; border-color: var(--eg-navy); }
.eg-empty { background: #fff; border-radius: var(--eg-radius-lg); padding: 40px; border: 1px solid var(--eg-line); }

/* ---------- Article ---------- */
.eg-article__hero { padding-block: clamp(40px, 6vw, 72px) 0; }
.eg-article__title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 14px; }
.eg-article__lede { font-size: 1.15rem; color: var(--eg-muted); max-width: 62ch; }
.eg-article .eg-layout { padding-top: 32px; }
.eg-article__media { margin: 0 0 32px; border-radius: var(--eg-radius-lg); overflow: hidden; }
.eg-article__media img { width: 100%; }
.eg-toc { background: #fff; border: 1px solid var(--eg-line); border-left: 3px solid var(--eg-champagne); border-radius: var(--eg-radius); padding: 18px 22px; margin-bottom: 32px; }
.eg-toc__title { font-family: var(--eg-font-head); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--eg-teal); font-weight: 600; margin: 0 0 8px; }
.eg-toc__list { margin: 0; padding-left: 18px; columns: 2; column-gap: 32px; font-size: .9rem; }
.eg-toc__list li { break-inside: avoid; padding: 3px 0; }
.eg-toc__list a { color: var(--eg-charcoal); text-decoration: none; }
.eg-toc__list a:hover { color: var(--eg-teal); }

.eg-prose { font-size: 1.04rem; line-height: 1.8; }
.eg-prose > * { max-width: 72ch; }
.eg-prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2em 0 .6em; }
.eg-prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.eg-prose ul, .eg-prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.eg-prose li { margin-bottom: .45em; }
.eg-prose li::marker { color: var(--eg-teal); }
.eg-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--eg-champagne); font-size: 1.1rem; color: var(--eg-navy); }
.eg-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; background: #fff; border-radius: var(--eg-radius); overflow: hidden; }
.eg-prose th, .eg-prose td { padding: 12px 14px; border-bottom: 1px solid var(--eg-line); text-align: left; vertical-align: top; }
.eg-prose th { background: var(--eg-stone); color: var(--eg-navy); font-family: var(--eg-font-head); font-weight: 600; font-size: .85rem; }
.eg-prose img { border-radius: var(--eg-radius); }
.eg-prose figure { margin: 1.8em 0; }
.eg-prose figcaption { font-size: .82rem; color: var(--eg-muted); margin-top: 8px; }
.eg-prose a { font-weight: 500; }

.eg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.eg-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 0; border-block: 1px solid var(--eg-line); margin: 24px 0; font-size: .85rem; color: var(--eg-muted); }
.eg-share a, .eg-share__copy { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--eg-line); display: inline-flex; align-items: center; justify-content: center; color: var(--eg-navy); background: #fff; }
.eg-share__copy { width: auto; border-radius: 999px; padding: 0 14px; font: inherit; font-size: .8rem; cursor: pointer; }
.eg-share a:hover, .eg-share__copy:hover { border-color: var(--eg-teal); color: var(--eg-teal); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 18px 20px; background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius); text-decoration: none; height: 100%; }
.post-navigation .nav-next { text-align: right; }
.eg-post-nav__label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eg-teal); font-weight: 600; margin-bottom: 4px; }
.eg-post-nav__title { color: var(--eg-navy); font-family: var(--eg-font-display); font-weight: 500; line-height: 1.4; }
.eg-related { margin-top: 56px; }
.eg-related__title { font-size: 1.4rem; }
.eg-note { font-size: .85rem; color: var(--eg-muted); }
.eg-comments { margin-top: 48px; }

/* ---------- CTA band + footer ---------- */
.eg-cta-band { background: var(--eg-stone); color: var(--eg-charcoal); }
.eg-cta-band .eg-eyebrow { color: var(--eg-teal); }
.eg-cta-band .eg-btn--light-outline { border-color: var(--eg-btn); color: var(--eg-btn); }
.eg-cta-band .eg-btn--light-outline:hover { background: var(--eg-btn); color: #fff; }
.eg-cta-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.eg-cta-band__title { color: var(--eg-navy); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.eg-cta-band__text { margin: 0; max-width: 52ch; }
.eg-cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.eg-footer { background: var(--eg-navy); color: rgba(255,255,255,.72); font-size: .92rem; }
.eg-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 40px; }
.eg-footer__title { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 6px 0 18px; }
.eg-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.eg-footer a:hover { color: var(--eg-champagne); }
.eg-footer .eg-logo img { height: 64px; margin-bottom: 18px; }
.eg-footer .eg-logo--text { color: #fff; display: inline-block; margin-bottom: 14px; }
.eg-footer__about { max-width: 38ch; }
.eg-footer__links, .eg-footer-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.eg-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.eg-footer__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.eg-footer__contact .eg-icon { width: 17px; height: 17px; color: var(--eg-champagne); margin-top: 3px; }
.eg-social { display: flex; gap: 10px; margin-top: 18px; }
.eg-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; }
.eg-social a:hover { border-color: var(--eg-champagne); }
.eg-social .eg-icon { width: 17px; height: 17px; }
.eg-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.eg-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; align-items: center; }
.eg-footer__bottom p { margin: 0; max-width: 70ch; }
.eg-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.eg-credit a { color: var(--eg-champagne); }

/* Registration strip (rendered by EntGut Core) */
.eg-reg { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; align-items: start; border: 1px solid rgba(255,255,255,.12); border-radius: var(--eg-radius-lg); padding: 18px 22px; margin-bottom: 32px; font-size: .82rem; }
.eg-reg__label { font-family: var(--eg-font-head); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--eg-champagne); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.eg-reg__label .eg-icon { width: 16px; height: 16px; }
.eg-reg__list { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.eg-reg__list strong { color: #fff; font-weight: 500; }
.eg-affil { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: var(--eg-radius-lg); padding: 14px 22px; margin: -16px 0 32px; }
.eg-affil .eg-reg__label { margin: 0; }
.eg-affil__body { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.eg-affil__logo { display: inline-flex; flex: none; }
.eg-affil__logo img { height: 56px; width: auto; }
.eg-affil__text { margin: 0; font-size: var(--eg-fs-caption); color: rgba(255,255,255,.8); }
.eg-affil__text a { color: #fff; text-decoration: none; }
.eg-affil__text a:hover { color: var(--eg-champagne); }
@media (max-width: 767px) { .eg-affil { grid-template-columns: 1fr; } }

/* Mobile action bar */
.eg-mobile-bar { display: none; }

/* ---------- Builder pages ---------- */
.eg-builder > .elementor { overflow: hidden; }
.eg-404 .eg-search { margin-bottom: 24px; }
.eg-404__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Editorial helpers usable in Elementor (add as CSS classes) */
.eg-surface { background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); }
.eg-hairline { border-top: 1px solid var(--eg-line); }
.eg-text-muted { color: var(--eg-muted); }
.elementor-widget-text-editor ul li::marker { color: var(--eg-teal); }

/* Elementor speciality-page building blocks (classes set on containers/widgets) */
.eg-el-hero { position: relative; overflow: hidden; }
.eg-el-hero::after { content: ""; position: absolute; right: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(184,155,104,.22); pointer-events: none; }
.eg-el-hero > .e-con-inner { position: relative; z-index: 1; }
.eg-el-crumbs { margin: 0; font-size: .8rem; letter-spacing: .02em; }
.eg-el-crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.eg-el-crumbs a:hover { color: #fff; }
.eg-el-crumbs span { opacity: .45; margin: 0 4px; }
.eg-el-card { backdrop-filter: blur(4px); }
.eg-el-card__label { font-family: var(--eg-font-head); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--eg-champagne); font-weight: 600; margin: 0 0 10px; }
.eg-el-card__name { font-family: var(--eg-font-display); color: #fff; font-size: 1.2rem; font-weight: 500; margin: 0 0 4px; }
.eg-el-card__meta { font-size: .85rem; line-height: 1.6; margin: 0 0 16px; color: rgba(255,255,255,.72); }
.eg-el-card__list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; font-size: .85rem; }
.eg-el-card__list strong { color: #fff; font-weight: 500; }
.eg-el-step { font-family: var(--eg-font-head); font-weight: 600; letter-spacing: .12em; margin: 0; }
.eg-el-alert { border-left-width: 3px !important; }
@media (min-width: 1025px) { .eg-el-sticky { position: sticky !important; top: calc(var(--eg-header-h) + 24px); } }
.elementor-widget-shortcode .eg-btn { margin: 0; }
.elementor-widget-text-editor .eg-eyebrow { margin: 0; }

/* ---------- Type scale (one scale for theme, plugin and Elementor) ----------
   Matches the Elementor global fonts (Site Settings > Global Fonts):
   label 13 · caption 13 · small 14 · body 16 · prose 17 · lede 18 ·
   card-sm 18 · card 21 · sub 26 · section 36 · display 50 */
:root {
	--eg-fs-label: 13px; --eg-fs-caption: 13px; --eg-fs-small: 14px; --eg-fs-body: 16px; --eg-fs-prose: 17px; --eg-fs-lede: 18px;
	--eg-fs-card-sm: 18px; --eg-fs-card: 21px; --eg-fs-sub: 26px; --eg-fs-section: 36px; --eg-fs-display: 50px;
}
@media (max-width: 1024px) { :root { --eg-fs-sub: 23px; --eg-fs-section: 31px; --eg-fs-display: 42px; --eg-fs-card: 20px; } }
@media (max-width: 767px) { :root { --eg-fs-sub: 21px; --eg-fs-section: 27px; --eg-fs-display: 34px; --eg-fs-card: 19px; --eg-fs-card-sm: 17px; --eg-fs-lede: 16px; --eg-fs-prose: 16.5px; --eg-fs-label: 12px; } }

/* Labels: sans, uppercase, tracked (the sidebar widget title style) */
body .eg-eyebrow, body .eg-widget__title, body .eg-footer__title, body .eg-toc__title, body .eg-doc__area, body .eg-post-nav__label,
body .eg-relcare__title, body .eg-guides__kicker, body .eg-card-col__tag, body .eg-reg__label, body .eg-el-card__label {
	font-family: var(--eg-font-head) !important; font-size: var(--eg-fs-label) !important; font-weight: 600 !important;
	letter-spacing: .15em !important; line-height: 1.4 !important; text-transform: uppercase;
}
/* Captions and fine print */
body .eg-post-meta, body .eg-chip, body .eg-doc__reg, body .eg-sw__reg, body .eg-sw__spec, body .eg-sw__quals, body .eg-video__meta,
body .eg-videos__channels, body .eg-videos__note, body .eg-visit__hours, body .eg-when__note, body .eg-note, body .eg-share, body .eg-share__copy,
body .eg-breadcrumbs, body .eg-el-crumbs, body .eg-byline, body .eg-open, body .eg-open__text, body .eg-prose figcaption, body .eg-guides__all, body .eg-subpage__more,
body .eg-widget .post-date, body .eg-drawer__meta { font-size: var(--eg-fs-caption) !important; }
/* Small text */
body .eg-card__excerpt, body .eg-doc__interests li, body .eg-doc__roles li, body .eg-doc__quals, body .eg-reading__title, body .eg-subpage__text,
body .eg-visit__addr, body .eg-visit__fee, body .eg-when__list li, body .eg-when__urgent, body .eg-widget li, body .eg-guides__hub,
body .eg-relcare__links a, body .eg-link-arrow, body .eg-prose th, body .eg-visit__bring > summary, body .eg-when__group > summary,
body .eg-el-card__meta, body .eg-el-card__list, body .eg-relpost__more { font-size: var(--eg-fs-small) !important; }
/* Reading text */
body .eg-faq__a, body .eg-faq__a p { font-size: var(--eg-fs-body) !important; line-height: 1.75; }
body .eg-prose { font-size: var(--eg-fs-prose) !important; line-height: 1.8; }
body .eg-page-hero__intro, body .eg-article__lede { font-size: var(--eg-fs-lede) !important; line-height: 1.7; }
/* Titles: serif */
body .eg-sw__name, body .eg-guides__name, body .eg-video__title, body .eg-subpage__title, body .eg-post-nav__title, body .eg-faq__q,
body .eg-relpost__title, body .eg-doc--compact .eg-doc__name {
	font-family: var(--eg-font-display) !important; font-size: var(--eg-fs-card-sm) !important; font-weight: 600 !important; line-height: 1.35 !important; letter-spacing: 0 !important;
}
body .eg-card__title, body .eg-doc__name, body .eg-prose h3, body .eg-el-card__name, body .eg-bookcard__title {
	font-family: var(--eg-font-display) !important; font-size: var(--eg-fs-card) !important; font-weight: 600 !important; line-height: 1.32 !important; letter-spacing: 0 !important;
}
body .eg-prose h2, body .eg-related__title, body .eg-comments__title, body .eg-empty h2 {
	font-family: var(--eg-font-display) !important; font-size: var(--eg-fs-sub) !important; font-weight: 500 !important; line-height: 1.28 !important;
}
body .eg-cta-band__title, body .eg-ctab__title {
	font-family: var(--eg-font-display) !important; font-size: var(--eg-fs-section) !important; font-weight: 500 !important; line-height: 1.2 !important;
}
body .eg-page-hero__title, body .eg-article__title {
	font-family: var(--eg-font-display) !important; font-size: var(--eg-fs-display) !important; font-weight: 500 !important; line-height: 1.12 !important; letter-spacing: -.01em !important;
}
/* Buttons */
body .eg-btn, body .elementor-button { font-family: var(--eg-font-head); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
body .eg-btn--sm { font-size: var(--eg-fs-small); }

/* Third-party balancing */
.eg-consent { bottom: 96px !important; }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
	.eg-header__inner { gap: 16px; }
	.eg-nav__list > .eg-nav__item > .eg-nav__link { padding: 10px 8px; font-size: .84rem; }
	.eg-header__call span { display: none; }
	.eg-header__call { width: 44px; height: 44px; padding: 0 !important; }
	.eg-logo img { height: 52px; }
}
@media (max-width: 1180px) {
	.eg-nav__list > .eg-nav__item > .eg-nav__link { padding: 10px 6px; font-size: .8rem; }
	.eg-header__actions .eg-btn--primary { padding: 11px 14px; }
}
@media (max-width: 1024px) {
	:root { --eg-header-h: 72px; }
	.eg-nav, .eg-header__call { display: none; }
	.eg-burger { display: inline-flex; }
	.eg-logo img { height: 50px; }
	.eg-layout--sidebar { grid-template-columns: 1fr; }
	.eg-sidebar__inner { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eg-footer__grid { grid-template-columns: 1fr 1fr; }
	.eg-cta-band__inner { grid-template-columns: 1fr; }
	.eg-cta-band__actions { justify-content: flex-start; }
	.eg-hide-md { display: none !important; }
}
@media (max-width: 782px) {
	.admin-bar.eg-sticky-header .eg-header { top: 0; }
}
@media (max-width: 767px) {
	body { font-size: 15.5px; padding-bottom: 68px; }
	.eg-hide-sm { display: none !important; }
	.eg-topbar__info li:first-child a { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
	.eg-header__actions .eg-btn--primary span { display: none; }
	.eg-header__actions .eg-btn--primary { width: 44px; height: 44px; padding: 0; }
	.eg-grid--cards, .eg-sidebar__inner { grid-template-columns: 1fr; }
	.eg-footer__grid { grid-template-columns: 1fr; }
	.eg-reg { grid-template-columns: 1fr; }
	.eg-toc__list { columns: 1; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.eg-mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--eg-line); box-shadow: 0 -8px 24px -12px rgba(19,43,53,.25); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
	.eg-mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 12px; font-family: var(--eg-font-head); font-weight: 600; font-size: .86rem; color: var(--eg-navy); text-decoration: none; border: 1px solid var(--eg-line); }
	.eg-mobile-bar a.is-primary { background: var(--eg-btn); color: #fff; border-color: var(--eg-btn); }
	.eg-mobile-bar .eg-icon { width: 18px; height: 18px; }
	/* Eka MedAssist: round bubble sits beside the bar; the "chatbox" launcher is lifted above it (EntGut Core). */
	body:has(eka-medassist-widget:not([launcher-type="chatbox"])) .eg-mobile-bar { padding-right: 80px; }
	body:has(eka-medassist-widget[launcher-type="chatbox"]) { padding-bottom: 132px; }
	/* One bottom dock on phones: Eka's "Book Appointment" strip sits inside the bar, above the three buttons. */
	body:has(eka-medassist-widget[launcher-type="chatbox"]) .eg-mobile-bar { padding-top: 68px; border-radius: 18px 18px 0 0; border-top: 0; box-shadow: 0 -10px 30px -12px rgba(19,43,53,.28); }
	.eg-mobile-bar a { height: 44px; font-size: .84rem; background: #F6F8F8; border-color: transparent; }
	.eg-mobile-bar a:not(.is-primary) .eg-icon { color: var(--eg-teal); }
	/* Cookie notice always sits above the dock and the Eka strip. */
	.eg-consent { bottom: calc(76px + env(safe-area-inset-bottom)) !important; z-index: 200001 !important; }
	body:has(eka-medassist-widget[launcher-type="chatbox"]) .eg-consent { bottom: calc(132px + env(safe-area-inset-bottom)) !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.eg-topbar, .eg-header, .eg-footer, .eg-cta-band, .eg-mobile-bar, .eg-sidebar, .eg-share { display: none !important; }
}


/* ==========================================================================
   Abstract section backgrounds (add as CSS classes on any Elementor container)
   .eg-abstract        light: ivory, fine champagne arcs + soft teal dot grid
   .eg-abstract--dark  navy, same line-art in light tones
   .eg-card-col        clean white card for columns inside these sections
   ========================================================================== */
.eg-abstract, .eg-abstract--dark { position: relative; overflow: hidden; isolation: isolate; }
.eg-abstract { background-color: var(--eg-ivory) !important; }
.eg-abstract::before, .eg-abstract::after,
.eg-abstract--dark::before, .eg-abstract--dark::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.eg-abstract::before {
	right: -180px; top: -160px; width: 620px; height: 620px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23B89B68' stroke-width='1'%3E%3Ccircle cx='300' cy='300' r='120' opacity='.55'/%3E%3Ccircle cx='300' cy='300' r='180' opacity='.4'/%3E%3Ccircle cx='300' cy='300' r='240' opacity='.28'/%3E%3Ccircle cx='300' cy='300' r='298' opacity='.16'/%3E%3C/svg%3E") no-repeat center / contain;
}
.eg-abstract::after {
	left: -40px; bottom: -40px; width: 360px; height: 260px; opacity: .55;
	background-image: radial-gradient(circle, rgba(70,123,120,.35) 1.2px, transparent 1.4px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(45deg, #000 20%, transparent 75%); mask-image: linear-gradient(45deg, #000 20%, transparent 75%);
}
.eg-abstract--dark { background-color: var(--eg-navy) !important; color: rgba(255,255,255,.82); }
.eg-abstract--dark::before {
	left: -200px; top: -200px; width: 640px; height: 640px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23B89B68' stroke-width='1'%3E%3Cpath d='M0 300a300 300 0 0 1 600 0' opacity='.35'/%3E%3Cpath d='M60 300a240 240 0 0 1 480 0' opacity='.25'/%3E%3Cpath d='M120 300a180 180 0 0 1 360 0' opacity='.18'/%3E%3C/svg%3E") no-repeat center / contain;
}
.eg-abstract--dark::after {
	right: 0; bottom: 0; width: 420px; height: 300px; opacity: .5;
	background-image: radial-gradient(circle, rgba(255,255,255,.22) 1.2px, transparent 1.4px); background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(225deg, #000 15%, transparent 70%); mask-image: linear-gradient(225deg, #000 15%, transparent 70%);
}
.eg-abstract--dark .elementor-heading-title { color: #fff; }
.eg-card-col { background: #fff; border: 1px solid var(--eg-line); border-radius: 18px; transition: transform .3s var(--eg-ease), box-shadow .3s var(--eg-ease); }
.eg-card-col:hover { transform: translateY(-3px); box-shadow: var(--eg-shadow); }
.eg-abstract--dark .eg-card-col { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.eg-card-col__tag { display: inline-block; font-family: var(--eg-font-head); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--eg-teal); font-weight: 600; margin: 0; }
.eg-abstract--dark .eg-card-col__tag { color: var(--eg-champagne); }

/* Related articles (pillar pages) and related care (articles) */
.eg-relposts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.eg-relpost { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--eg-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--eg-charcoal); transition: transform .25s var(--eg-ease), box-shadow .25s var(--eg-ease); }
.eg-relpost:hover { transform: translateY(-2px); box-shadow: var(--eg-shadow); }
.eg-relpost img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.eg-relpost__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.eg-relpost__title { font-family: var(--eg-font-display); font-weight: 600; color: var(--eg-navy); line-height: 1.35; }
.eg-relpost__more { font-size: .8rem; font-weight: 600; color: var(--eg-teal); }
.eg-relcare { margin: 32px 0; padding: 22px 24px; background: #fff; border: 1px solid var(--eg-line); border-radius: 16px; }
.eg-relcare__title { font-family: var(--eg-font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--eg-teal); font-weight: 600; margin: 0 0 12px; }
.eg-relcare__links { display: flex; flex-wrap: wrap; gap: 10px; }
.eg-relcare__links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--eg-line); background: var(--eg-ivory); color: var(--eg-navy); font-family: var(--eg-font-head); font-weight: 600; font-size: .85rem; text-decoration: none; }
.eg-relcare__links a:hover { border-color: var(--eg-teal); color: var(--eg-teal); }
@media (max-width: 1024px) { .eg-relposts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.eg-relposts { grid-template-columns: 1fr; }
	.eg-abstract::before { width: 380px; height: 380px; right: -160px; top: -120px; }
}

/* Photo galleries (native Elementor image gallery with .eg-photo-gallery) */
.eg-photo-gallery .gallery-item { margin-bottom: 12px; }
.eg-photo-gallery .gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; transition: transform .35s ease, box-shadow .35s ease; }
.eg-photo-gallery .gallery-item a:hover img { transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(19, 43, 53, .45); }

/* Affiliation card inside page content (e.g. doctor profile) */
.eg-affil-card { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); background: #fff; }
.eg-affil-card__logo { flex: none; display: inline-flex; }
.eg-affil-card__logo img { width: 64px; height: auto; }
.eg-affil-card p { margin: 0; }
.eg-affil-card a { text-decoration: none; }

/* ---------- UX helpers: back to top, reading progress, phone header ---------- */
/* Back to top sits at the far right, on the same line as the WhatsApp button,
   which sits one slot to its left (EntGut Core > WhatsApp button). */
:root { --eg-top-size: 44px; --eg-top-gap: 12px; --eg-top-right: 20px; --eg-wa-size: 56px; --eg-wa-bottom: 24px; }
.eg-to-top {
	position: fixed; right: var(--eg-top-right); bottom: calc(var(--eg-wa-bottom) + (var(--eg-wa-size) - var(--eg-top-size)) / 2); z-index: 9001;
	width: var(--eg-top-size); height: var(--eg-top-size); border-radius: 999px; border: 1px solid var(--eg-line);
	background: rgba(255,255,255,.96); color: var(--eg-navy); box-shadow: var(--eg-shadow);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s var(--eg-ease), transform .25s var(--eg-ease), visibility .25s, background .2s, color .2s;
}
.eg-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.eg-to-top:hover, .eg-to-top:focus-visible { background: var(--eg-btn, var(--eg-teal)); color: #fff; border-color: transparent; }
.eg-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--eg-teal); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
@media (max-width: 767px) {
	:root { --eg-top-size: 42px; --eg-top-gap: 10px; --eg-top-right: 12px; --eg-wa-size: 52px; --eg-wa-bottom: 84px; }
	body:has(eka-medassist-widget[launcher-type="chatbox"]) { --eg-wa-bottom: 134px; }
	.eg-sticky-header .eg-header { transition: transform .3s var(--eg-ease), box-shadow .25s var(--eg-ease); }
	.eg-sticky-header .eg-header.is-hidden { transform: translateY(calc(-100% - 2px)); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
	.eg-to-top, .eg-sticky-header .eg-header { transition: none; }
}
@media print { .eg-to-top, .eg-progress { display: none !important; } }
