
/* CSS additions to preserve the original Tailwind palette/layout on fully static pages. */
html{scroll-behavior:smooth}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}body.biougra-static{margin:0}
a:focus-visible,button:focus-visible,summary:focus-visible,[role="button"]:focus-visible{outline:3px solid #b16b40;outline-offset:3px}
.site-skip{position:fixed;top:-60px;left:12px;background:#fff;color:#4d2314;padding:10px 16px;z-index:10000;border-radius:9px}
.site-skip:focus{top:10px}
.site-header{position:sticky;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(60,50,43,.1);backdrop-filter:blur(14px);box-shadow:0 5px 20px rgba(39,31,25,.05)}
.site-navigation{max-width:1280px;margin:auto;min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 28px}
.site-brand{color:#171e20;display:flex;align-items:center;gap:10px;text-decoration:none;min-width:240px}
.site-brand-mark img{width:72px;height:72px;display:block;object-fit:contain}
.site-brand-copy{display:flex;flex-direction:column;gap:4px;line-height:1.24}.site-brand-copy strong{font-size:18px;font-weight:800}.site-brand-copy small{font-size:11px;line-height:1.35;color:#5d6262;max-width:175px}
.site-links{display:flex;align-items:center;justify-content:center;gap:18px}
.site-links a,.site-drop summary{color:#1b2327;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;letter-spacing:.02em;cursor:pointer;transition:color .2s}
.site-links a:hover,.site-drop summary:hover,.site-links a.is-current{color:#8e4622}
.site-drop{position:relative}.site-drop summary{list-style:none;display:flex;align-items:center;gap:5px;padding:15px 0}.site-drop summary::-webkit-details-marker{display:none}
.site-drop[open] summary svg{transform:rotate(180deg)}.site-drop-panel{position:absolute;top:calc(100% - 1px);left:-14px;min-width:232px;max-width:280px;background:#fff;padding:9px;border:1px solid #ede8e5;border-radius:12px;box-shadow:0 18px 40px rgba(28,31,32,.14);display:grid;gap:2px}
.site-drop-panel a{padding:11px 10px;display:block;border-radius:8px;font-weight:650;font-size:13px;white-space:normal}.site-drop-panel a:hover,.site-drop-panel a.is-current{background:#f6eee7}
.site-nav-contact{border-radius:11px;background:#673719;color:#fff!important;font-size:12px;font-weight:700;display:inline-flex;gap:10px;align-items:center;padding:12px 16px;white-space:nowrap;text-decoration:none;box-shadow:0 6px 15px rgba(95,48,25,.17)}.site-nav-contact:hover{background:#9a4a24}
.site-menu-toggle{display:none;background:#f7f1ea;border:1px solid #e1d7d0;border-radius:10px;padding:10px;cursor:pointer;color:#64351e}
.site-inner{min-height:100vh}.site-home main{display:block}.site-inner main{display:block}
/* full-page image galleries */
[data-gallery-card]{cursor:pointer} [data-gallery-card][hidden]{display:none!important}
button[data-gallery-filter][aria-pressed="true"]{background:#65341b!important;color:#fff!important;box-shadow:0 6px 18px rgba(76,36,21,.22)}
.biougra-lightbox[hidden]{display:none!important}
.biougra-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(7,18,20,.95);color:#fff;display:flex;align-items:center;justify-content:center;padding:55px 80px 65px;box-sizing:border-box}
.biougra-lightbox figure{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;margin:0;max-width:100%;max-height:100%}
.biougra-lightbox img{max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 140px);object-fit:contain;border-radius:11px;box-shadow:0 18px 55px #0008}
.biougra-lightbox figcaption{font-size:14px;color:#edf1f1;text-align:center}
.biougra-lightbox button{position:absolute;display:grid;place-items:center;background:#fff3;color:#fff;border:1px solid #ffffff63;backdrop-filter:blur(8px);border-radius:50%;width:52px;height:52px;font-size:34px;line-height:1;cursor:pointer;z-index:2}
.biougra-lightbox button:hover{background:#9a4a24}.biougra-lightbox-prev{left:15px;top:50%;transform:translateY(-50%)}.biougra-lightbox-next{right:15px;top:50%;transform:translateY(-50%)}.biougra-lightbox-close{right:18px;top:14px;font-size:30px!important}
body.has-gallery-lightbox{overflow:hidden}
.site-event-link{text-align:center;padding:15px}.site-event-link a{font-weight:750;color:#753817;text-decoration:underline;text-underline-offset:4px}
.site-form-note{color:#656460;font-size:12px;margin-top:12px;line-height:1.5}
.site-policy{min-height:70vh;padding:75px 28px;background:linear-gradient(130deg,#f7f1eb,#fff)}
.site-policy-inner{max-width:850px;margin:auto;padding:48px;background:#fff;border:1px solid #eee3da;border-radius:22px;box-shadow:0 10px 35px #8e685b12;line-height:1.8}
.site-policy h1{font-size:clamp(30px,4vw,48px);font-weight:800;color:#442519;margin-bottom:20px}
.site-policy h2{font-size:23px;font-weight:750;color:#60361f;margin-top:24px}.site-policy p{margin-top:12px}
/* retained a-tags for treatment tabs should align like original buttons */
a[aria-current="page"]{text-decoration:none}a[aria-current="false"]{text-decoration:none}
/* Prevent intrinsic image size from overflowing responsive layouts. */
img{max-width:100%}
@media(max-width:1160px){.site-links{gap:11px}.site-navigation{padding:8px 18px}.site-brand{min-width:210px}.site-links a,.site-drop summary{font-size:11px}}
@media(max-width:980px){
 .site-navigation{min-height:79px;flex-wrap:wrap;padding:6px 18px}.site-brand-mark img{width:62px;height:62px}.site-menu-toggle{display:block;margin-left:auto}.site-nav-contact{display:none}
 .site-links{display:none;order:3;flex:0 0 100%;align-items:stretch;gap:1px;flex-direction:column;border-top:1px solid #eee2d9;padding:10px 0 14px;max-height:calc(100dvh - 90px);overflow:auto}
 .site-links.is-open{display:flex}.site-links .site-top-link,.site-drop summary{font-size:13px;padding:12px 9px;display:flex;min-height:38px;align-items:center}
 .site-drop-panel{position:static;box-shadow:none;max-width:none;margin:0 0 8px 10px;border:0;border-left:2px solid #d6b9a1;border-radius:0;background:#fbf8f5}
 .site-drop-panel a{font-size:13px}.site-drop summary svg{margin-left:auto}
}
@media(max-width:640px){.site-navigation{padding:5px 13px}.site-brand{min-width:0;max-width:calc(100% - 64px)}.site-brand-copy strong{font-size:16px}.site-brand-copy small{font-size:9px}.site-brand-mark img{width:54px;height:54px}.biougra-lightbox{padding:55px 9px 85px}.biougra-lightbox img{max-height:calc(100dvh - 170px)}.biougra-lightbox-prev,.biougra-lightbox-next{top:auto;bottom:10px;transform:none}.biougra-lightbox-prev{left:calc(50% - 100px)}.biougra-lightbox-next{right:calc(50% - 100px)}.site-policy-inner{padding:26px}.site-policy{padding:30px 14px}}

.site-medical-advice{margin:35px auto 0;padding:18px 20px;max-width:1050px;border-radius:12px;border-left:4px solid #8d4b2b;background:#faf3ee;color:#533d31;font-size:13px;line-height:1.7}

.site-topic-intro{text-align:center;max-width:720px;margin:0 auto 34px}.site-topic-intro h2{font-size:clamp(26px,4vw,40px);font-weight:800;line-height:1.15;color:#1e2528;margin:12px 0}.site-topic-intro p{font-size:15px;color:#576066;line-height:1.75}
.site-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1120px;margin:32px auto}.site-topic-card{background:#fff;padding:28px;border-radius:18px;border:1px solid #eaded5;box-shadow:0 10px 24px rgba(56,40,31,.07);text-decoration:none!important;color:#172024!important;transition:transform .18s,box-shadow .18s}.site-topic-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px #4c302625}.site-topic-card h3{font-size:19px;font-weight:800;margin:15px 0 8px}.site-topic-card p{line-height:1.65;color:#5f6367;font-size:14px}.site-topic-icon{display:grid;place-items:center;background:#f4eae2;color:#703b21;width:48px;height:48px;border-radius:14px;font-size:25px}.site-topic-arrow{display:inline-block;color:#71391f;font-size:12px;font-weight:800;margin-top:16px}.site-topic-note{max-width:890px;margin:36px auto 0;background:#fcf5ef;border-left:4px solid #965030;padding:18px;border-radius:9px;font-size:14px;color:#584c44}
@media(max-width:860px){.site-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.site-topic-grid{grid-template-columns:1fr}.site-topic-card{padding:22px}}


/* === Design refinement v2: consistent site grid, compact page heroes, custom health icons === */
:root{--biougra-grid-color:rgba(107,65,43,.055)}
body.biougra-static main{
  background-color:#faf9f8;
  background-image:linear-gradient(to right,var(--biougra-grid-color) 1px,transparent 1px),linear-gradient(to bottom,var(--biougra-grid-color) 1px,transparent 1px),radial-gradient(circle at 10% 1%,rgba(128,78,50,.055),transparent 38%);
  background-size:22px 22px,22px 22px,auto;
}
/* The hero's soft wash remains, now with the same fine grid seen on the homepage. */
body.biougra-static .site-inner main > .relative.bg-gradient-to-br{
  background-image:linear-gradient(to right,var(--biougra-grid-color) 1px,transparent 1px),linear-gradient(to bottom,var(--biougra-grid-color) 1px,transparent 1px),linear-gradient(125deg,#f3eeea,#fffdfc 58%,#f9f1ea)!important;
  background-size:22px 22px,22px 22px,auto!important;
  background-color:#faf9f8!important;
}
/* Remove opaque full-width wrappers that previously hid the page grid. */
body.biougra-static .site-inner main > .bg-background,
body.biougra-static .site-home main > .relative > .bg-background{background-color:transparent!important;}
/* Tighten the large blank band below the sticky navigation across all pages. */
body.biougra-static .site-home main > .relative.isolate > .mx-auto.max-w-7xl{padding-top:clamp(32px,4.5vw,66px)!important;}
body.biougra-static .site-inner main > .relative.bg-gradient-to-br > .mx-auto.max-w-7xl{padding-top:clamp(32px,4vw,52px)!important;padding-bottom:clamp(35px,4vw,54px)!important;}
body.biougra-static .site-inner main > .relative.bg-background{padding-top:clamp(30px,4vw,55px)!important;}
/* Context-specific icons: no empty sparkle/star marks. */
.biougra-custom-icon{display:block;width:1.15em;height:1.15em;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-topic-icon{background:#f6ede4;color:#683719;border:1px solid #e6cdbb;box-shadow:inset 0 1px 0 #fff;}
.site-topic-icon .biougra-custom-icon{width:26px;height:26px}
.site-topic-card:hover .site-topic-icon{background:#693a20;color:#fff;transition:background .2s,color .2s}
/* Poster has a 1024:799 ratio, so display all its printed text and art. */
.biougra-event-poster-wrap{height:auto!important;aspect-ratio:1024/799;max-height:none!important;background:#fff}
.biougra-event-poster{object-fit:contain!important;transform:none!important;width:100%;height:100%;}
/* Home: functional three-card rotation, retaining original image/card language. */
.biougra-hero-rotator{height:465px;position:relative;isolation:isolate;max-width:620px;margin:0 auto;perspective:1400px;}
.biougra-rotator-card{position:absolute;left:50%;top:50%;width:385px;height:420px;max-width:88vw;overflow:hidden;background:#fff;border:1px solid rgba(99,60,35,.1);border-radius:20px;box-shadow:0 24px 58px rgba(69,48,33,.15);transition:transform .9s cubic-bezier(.2,.65,.25,1),opacity .7s ease,box-shadow .5s ease;will-change:transform;}
.biougra-rotator-card[data-position="active"]{z-index:5;opacity:1;transform:translate(-50%,-50%) translate(-25px,0) scale(1);box-shadow:0 26px 55px rgba(68,43,29,.20);}
.biougra-rotator-card[data-position="next"]{z-index:3;opacity:.64;transform:translate(-50%,-50%) translate(235px,-140px) scale(.43);cursor:pointer}
.biougra-rotator-card[data-position="previous"]{z-index:2;opacity:.48;transform:translate(-50%,-50%) translate(260px,140px) scale(.41);cursor:pointer}
.biougra-rotator-image{height:228px}.biougra-rotator-image img{width:100%;height:100%;object-fit:cover;}
.biougra-rotator-number{display:grid;place-items:center;width:38px;height:38px;background:#643619;color:white;border-radius:50%;font-size:13px;font-weight:800;box-shadow:0 3px 10px #26160f26;}
.biougra-rotator-copy{padding:23px 23px 16px;}
.biougra-rotator-copy > div:first-child{display:flex;align-items:center;gap:13px;margin-bottom:12px}
.biougra-rotator-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 auto;border-radius:14px;background:#67371e;color:#fff}
.biougra-rotator-icon .biougra-custom-icon{height:25px;width:25px}
.biougra-rotator-heading{font-size:19px;line-height:1.35;font-weight:800;color:#1a2124}
.biougra-rotator-description{font-size:14px;line-height:1.65;color:#636d72}
.biougra-rotator-toolbar{display:flex;align-items:center;justify-content:center;gap:10px;margin:-7px auto 12px;position:relative;z-index:10;}
.biougra-rotator-arrow,.biougra-rotator-pause{display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #e6d4c7;color:#6b391e;width:37px;height:37px;cursor:pointer;box-shadow:0 3px 9px #5b3a2314;transition:background .2s,color .2s}
.biougra-rotator-arrow svg,.biougra-rotator-pause svg{width:17px;height:17px}
.biougra-rotator-arrow:hover,.biougra-rotator-pause:hover{background:#673719;color:#fff}
.biougra-rotator-pause{margin-left:3px}
.biougra-rotator-dots{display:flex;align-items:center;gap:7px}
.biougra-rotator-dots button{border:0;background:#cfbbae;width:8px;height:8px;cursor:pointer;border-radius:30px;padding:0;transition:background .2s,width .2s}
.biougra-rotator-dots button[aria-pressed="true"]{width:25px;background:#673719}
.biougra-rotator-arrow:focus-visible,.biougra-rotator-pause:focus-visible,.biougra-rotator-dots button:focus-visible{outline:3px solid #b87956;outline-offset:3px}
@media(max-width:1270px) and (min-width:1024px){.biougra-rotator-card[data-position="next"]{transform:translate(-50%,-50%) translate(190px,-135px) scale(.4)}.biougra-rotator-card[data-position="previous"]{transform:translate(-50%,-50%) translate(205px,135px) scale(.39)}}
@media(max-width:1023px){.biougra-rotator-card[data-position="next"],.biougra-rotator-card[data-position="previous"]{opacity:0;pointer-events:none;visibility:hidden}.biougra-rotator-card[data-position="active"]{transform:translate(-50%,-50%) scale(1)}.biougra-hero-rotator{max-width:500px}}
@media(max-width:520px){.biougra-hero-rotator{height:440px}.biougra-rotator-card{width:min(375px,90vw);height:416px}.biougra-rotator-image{height:205px}.biougra-rotator-copy{padding:20px}.biougra-rotator-heading{font-size:17px}.biougra-rotator-toolbar{margin-top:-2px}}
@media(prefers-reduced-motion:reduce){.biougra-rotator-card{transition:none!important}.biougra-rotator-dots button{transition:none!important}}

/* Keep the clinic opening hours on one line in narrow mobile stat cards. */
@media(max-width:640px){.biougra-opening-hours{font-size:18px;letter-spacing:-.02em;white-space:nowrap;}}
