/* Core computes the overlay from the thumbnail box; retain the whole original. */
.wp-lightbox-overlay .lightbox-image-container img {object-fit:contain!important;object-position:center!important}
.fb-bemer-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}
.fb-bemer-gallery>.wp-block-group__inner-container{display:contents}
.fb-reading .entry-content .fb-bemer-gallery figure.wp-block-image{width:100%!important;max-width:100%;margin:0!important}
.fb-reading .entry-content .fb-bemer-gallery figure.wp-block-image img{height:260px!important;max-height:260px;aspect-ratio:auto!important;object-fit:contain!important}
.fb-bemer-gallery .wp-block-image {margin:0!important;padding:10px;border:1px solid #ead7e1;border-radius:14px;background:#fff}
.fb-bemer-gallery img {width:100%;height:260px;object-fit:contain;background:#faf7f9;border-radius:6px}
.fb-bemer-gallery figcaption {font-size:14px;line-height:1.5;color:#5a5360;padding-top:8px}
.fb-review-label {text-align:center;color:#842855;font-size:14px;letter-spacing:.05em;margin:0 0 22px}
#wp-block-themeisle-blocks-advanced-heading-fcfe6448{color:#64545d!important}
body.postid-1126 .entry-content .wp-block-image {max-width:900px;margin-inline:auto}
body.postid-1126 .entry-content .wp-block-image img {height:auto!important;max-height:none!important;object-fit:contain}
.site-footer h2.wp-block-heading{font-family:Raleway,Arial,sans-serif;font-size:17px!important;font-weight:600;line-height:1.45;margin:0 0 17px;letter-spacing:-.015em;text-transform:none}
html.fb-js .fb-header:not(.fb-navigation-ready) .sub-menu{display:none!important}
@media(max-width:1080px){html.fb-js .fb-header:not(.fb-navigation-ready) .fb-nav-panel{display:none!important}html.fb-js .fb-header:not(.fb-navigation-ready) .fb-menu-toggle{display:flex!important;visibility:hidden}}
@media(max-width:760px){.fb-bemer-gallery{grid-template-columns:1fr}.fb-reading .entry-content .fb-bemer-gallery figure.wp-block-image img{height:330px!important;max-height:330px}.site-footer h2.wp-block-heading{margin-bottom:12px}}

/* Received clinical photographs: preserve the full collage and its credits. */
.fb-page .fb-case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:26px 0 0;align-items:start}
.fb-page .fb-case-gallery>.wp-block-group__inner-container{display:contents}
.fb-page .fb-case-gallery.fb-case-single{grid-template-columns:minmax(0,1fr);max-width:620px}
.fb-page .fb-case-gallery figure.wp-block-image{width:100%;max-width:100%;margin:0;padding:10px;background:#fff;border:1px solid #ead7e1;border-radius:14px;overflow:hidden}
.fb-page .fb-case-gallery figure.wp-block-image img{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1;object-fit:contain!important;border-radius:5px;background:#fff}
.fb-page .fb-case-gallery figcaption{margin:0;padding:12px 4px 4px;font-size:14px;line-height:1.6;color:#5e6d73;text-align:left}
@media(max-width:760px){.fb-page .fb-case-gallery{grid-template-columns:minmax(0,1fr);gap:22px}.fb-page .fb-case-gallery figure.wp-block-image{padding:7px}}

/* Czytelne podpisy i wygodne linki na ekranach dotykowych. */
.site-footer .fb-footer-section a:not(.wp-block-button__link),
.site-footer .widget li a,
.site-footer .footer-menu a {display:inline-flex;align-items:center;min-height:44px}
.site-footer .footer-menu a {font-size:14px}
.fb-map-tools a {display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.fb-local-map>p a,.fb-local-map>.wp-block-group__inner-container>p a {display:inline-block;padding-block:4px}
.fb-quote-author a {display:inline-flex;align-items:center;min-height:44px}
body .fb-google-rating.fb-ratings-cards .fb-rating-date {font-size:14px!important}
body .fb-google-rating.fb-ratings-cards .fb-rating-link a {font-size:14px}
.fb-founder-link a {display:inline-flex;align-items:center;min-height:44px}
body.page-id-201 .wp-block-table td:last-child small {display:block;white-space:normal;min-width:0;max-width:100%;font-weight:400}

/* Nazwa dostawcy jest wspólna dla osłony rezerwacji i reguły mobilnej. */
@media(max-width:1080px){body:has(.fb-header .fb-header-booking .fb-booking) :is(.fb-home-intro,.fb-hero) .wp-block-button:has(>a[data-booking-provider="Saloner"]){display:none}}

/* Pasek administratora nie tworzy drugiego przesunięcia przy sticky header. */
body.admin-bar>.wrapper:has(>header.header .fb-header) {overflow:clip}


/* Krótki wjazd fotografii zespołu po przewinięciu mapy na komputerze. */
@media (min-width:1081px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.home :is(#wp-block-themeisle-blocks-advanced-column-828657b3,#wp-block-themeisle-blocks-advanced-column-b3a095f7,#wp-block-themeisle-blocks-advanced-column-634647cb).animated.fadeInUp {
    animation-name:feetbuster-team-in!important;
    animation-duration:.65s!important;
    animation-delay:0s!important;
    animation-timing-function:cubic-bezier(.22,.61,.36,1)!important;
  }
  @keyframes feetbuster-team-in {
    from {opacity:0;transform:translate3d(0,36px,0)}
    to {opacity:1;transform:translate3d(0,0,0)}
  }
}

/* Trzy kafelki wyboru usługi: wypukła powierzchnia i cały kafelek jako link. */
.page-id-210 .fb-services-grid .fb-service-card{
 position:relative;isolation:isolate;
 background:linear-gradient(155deg,#fff 10%,#fffafd 48%,#f4e5ee 100%);
 border-color:#e5cedb;border-top-color:#c66b96;border-bottom-color:#d2adbf;
 box-shadow:inset 0 2px 0 #fff,inset 0 -2px 0 #ead3df,0 8px 0 #d9bbca,0 18px 28px -12px #63334d55;
 transform:translateY(0);
 transition:transform 120ms ease,box-shadow 120ms ease,background-color 120ms ease;
}
.page-id-210 .fb-services-grid .fb-service-card h3,
.page-id-210 .fb-services-grid .fb-service-card h3 a{position:static}
.page-id-210 .fb-services-grid .fb-service-card h3 a{text-decoration:none}
.page-id-210 .fb-services-grid .fb-service-card h3 a::after{
 content:"";position:absolute;inset:0;z-index:1;border-radius:18px;cursor:pointer;
}
.page-id-210 .fb-services-grid .fb-service-card:focus-within{outline:3px solid #a5346b;outline-offset:5px}
@media(hover:hover) and (pointer:fine){
 .page-id-210 .fb-services-grid .fb-service-card:hover{
  transform:translateY(-2px);
  box-shadow:inset 0 2px 0 #fff,inset 0 -2px 0 #ead3df,0 10px 0 #d9bbca,0 23px 32px -12px #63334d66;
 }
}
.page-id-210 .fb-services-grid .fb-service-card:has(h3 a:active){
 transform:translateY(6px);
 background:linear-gradient(155deg,#fffafd,#f5e8ef);
 box-shadow:inset 0 2px 5px #ad709322,0 2px 0 #d9bbca,0 5px 9px -4px #63334d44;
}
@media(prefers-reduced-motion:reduce){
 .page-id-210 .fb-services-grid .fb-service-card{transition:none}
}
/* Wciśnięcie nie może odsunąć górnej krawędzi linku spod kursora. */
.page-id-210 .fb-services-grid .fb-service-card:has(h3 a:active) h3 a::after{top:-8px}

/* Pozostałe usługi: jedna uporządkowana lista z osobnymi nazwami i objaśnieniami. */
.page-id-210 .fb-page .fb-extra-services .fb-extra-list{
 list-style:none;margin:0;padding:0;max-width:850px;
 border:1px solid #e8d6e0;border-radius:16px;
 background:linear-gradient(130deg,#fff,#fff9fc);
 box-shadow:0 6px 20px -14px #74455e33;overflow:hidden;
}
.page-id-210 .fb-page .fb-extra-list li{
 position:relative;margin:0;padding:19px 24px 19px 46px;
 line-height:1.5;border-bottom:1px solid #eee1e8;
}
.page-id-210 .fb-page .fb-extra-list li:last-child{border-bottom:0}
.page-id-210 .fb-page .fb-extra-list li::before{
 content:"";position:absolute;left:24px;top:30px;width:6px;height:6px;
 border-radius:50%;background:#bd6590;
}
.page-id-210 .fb-page .fb-extra-list strong{font-size:18px;font-weight:600;color:var(--fb-ink)}
.page-id-210 .fb-page .fb-extra-list .fb-service-note{
 display:inline-block;margin-top:6px;max-width:650px;font-size:16px;line-height:1.6;color:var(--fb-muted);
}
.page-id-210 .fb-page .fb-extra-list a{display:inline-block;min-height:28px;text-underline-offset:3px}
.page-id-210 .fb-page .fb-extra-services .wp-block-buttons{margin-top:24px}
@media(max-width:600px){
 .page-id-210 .fb-page .fb-extra-list li{padding:17px 18px 17px 36px}
 .page-id-210 .fb-page .fb-extra-list li::before{left:17px;top:28px}
 .page-id-210 .fb-page .fb-extra-list strong{font-size:17px}
 .page-id-210 .fb-page .fb-extra-list a{display:inline-flex;align-items:center;min-height:44px}
 .page-id-210 .fb-page .fb-extra-services .wp-block-button,
 .page-id-210 .fb-page .fb-extra-services .wp-block-button__link{width:100%}
}

/* Desktop: sticky navigation with warm, legible Aero-style glass. */
@media(min-width:1081px){
 body>.wrapper:has(>header.header .fb-header){overflow:clip}
 body header.header:has(.fb-header){
  position:sticky;top:0;z-index:120;background:#fff;
  box-shadow:inset 0 1px 0 #fff,0 3px 18px -12px #63354d44;
  transition:background-color .25s ease,box-shadow .25s ease;
 }
 body.admin-bar header.header:has(.fb-header){top:32px}
 .fb-header{border-bottom-color:#dbc3d0}
 .fb-header .fb-header-top{background:transparent}
 .fb-header .fb-primary-menu>li>a{text-shadow:0 1px 1px #ffffffb3}
 body:has(.fb-header) :is(main,article,.entry-content) [id]{scroll-margin-top:153px}
 body.admin-bar:has(.fb-header) :is(main,article,.entry-content) [id]{scroll-margin-top:185px}
 @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  body header.header:has(.fb-header){
   background-color:rgba(255,255,255,.94);
   background-image:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.02));
   backdrop-filter:blur(18px) saturate(110%);
   -webkit-backdrop-filter:blur(18px) saturate(110%);
  }
  body header.header.fb-header-scrolled:has(.fb-header){
   background-color:rgba(255,255,255,.70);
   box-shadow:inset 0 1px 0 #ffffffe6,inset 0 -1px 0 #ffffffa6,0 8px 24px -13px #59344970;
  }
 }
}
@media(min-width:1081px) and (prefers-reduced-transparency:reduce){
 body header.header:has(.fb-header),body header.header.fb-header-scrolled:has(.fb-header){background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(min-width:1081px) and (prefers-reduced-motion:reduce){
 body header.header:has(.fb-header){transition:none}
}
@media print{
 body header.header:has(.fb-header){position:static!important;background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
}

/* Glass accents on compact controls only; cards and content panels are excluded. */
:root{
 --fb-button-glass-rest:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.5) 40%,rgba(218,184,202,.26) 58%,rgba(255,255,255,.36)),rgba(255,255,255,.65);
 --fb-button-glass-hover:linear-gradient(180deg,#fff,rgba(255,255,255,.68) 40%,rgba(211,166,191,.3) 58%,rgba(255,255,255,.48)),rgba(255,255,255,.72);
 --fb-button-glass-down:linear-gradient(180deg,rgba(213,179,198,.28),rgba(255,255,255,.45)),rgba(250,241,246,.82);
}
html:root body :is(.fb-tactile[data-tactile],.wp-block-button__link,.fb-read-open,.fb-menu-toggle){
 --fb-key-rest:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffffb3,0 3px 0 #cbb0bf,0 5px 12px -4px #63334e26;
 --fb-key-hover:inset 0 1px 0 #fff,inset 0 -1px 0 #fff,0 4px 0 #c0a0b2,0 7px 16px -5px #63334e33;
 --fb-key-down:inset 0 2px 5px #75475e30,inset 0 -1px 0 #ffffffc7,0 1px 0 #cbb0bf;
 background:var(--fb-button-glass-rest)!important;
 border-color:rgba(179,132,157,.64)!important;
 color:#812c55!important;
 backdrop-filter:blur(8px) saturate(115%);
 -webkit-backdrop-filter:blur(8px) saturate(115%);
 text-shadow:0 1px 0 #ffffffa6;
}
html:root body :is(.wp-block-button__link,.fb-read-open,.fb-menu-toggle):not(.fb-tactile){box-shadow:var(--fb-key-rest)!important}
@media(hover:hover) and (pointer:fine){
 html:root:not(.fb-touch-input) body .fb-tactile[data-tactile]:not(:disabled):not([aria-disabled=true]):not(.is-pressed):not(:active):hover,
 html:root body :is(.wp-block-button__link,.fb-read-open,.fb-menu-toggle):not(.fb-tactile):hover{
  background:var(--fb-button-glass-hover)!important;border-color:#b7859e!important;color:#742349!important;
 }
}
html:root.fb-touch-input body .fb-tactile[data-tactile]:not(.is-pressed):not(:active){background:var(--fb-button-glass-rest)!important}
@media(hover:none),(pointer:coarse){
 html:root body .fb-tactile[data-tactile]:not(.is-pressed):not(:active):hover{background:var(--fb-button-glass-rest)!important}
}
html:root body .fb-tactile[data-tactile]:not(:disabled):not([aria-disabled=true]):is(:active,.is-pressed),
html:root body :is(.wp-block-button__link,.fb-read-open,.fb-menu-toggle):not(.fb-tactile):active{
 background:var(--fb-button-glass-down)!important;color:#742349!important;border-color:#b7859e!important;
}
html:root body :is(.wp-block-button__link,.fb-read-open,.fb-menu-toggle):not(.fb-tactile):active{box-shadow:var(--fb-key-down)!important}
@media(prefers-reduced-transparency:reduce){
 :root{--fb-button-glass-rest:linear-gradient(#fff,#f8eff4);--fb-button-glass-hover:linear-gradient(#fff,#f3e3ec);--fb-button-glass-down:#f0e2e9}
 html:root body :is(.fb-tactile[data-tactile],.wp-block-button__link,.fb-read-open,.fb-menu-toggle){backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* Long-press callouts are disabled on controls, without blocking page scrolling. */
body :is(button,input[type="button"],input[type="submit"],input[type="reset"],a.button,a.wp-block-button__link,[role="button"],summary,.fb-journal-years a,.fb-mobile-call,[data-tactile][data-disable-touch-menu]),
body :is(button,a.button,a.wp-block-button__link,[role="button"],summary,.fb-journal-years a,.fb-mobile-call,[data-tactile][data-disable-touch-menu]) *,
body.page-id-210 .fb-services-grid .fb-service-card,
body.page-id-210 .fb-services-grid .fb-service-card *{
 -webkit-touch-callout:none;-webkit-user-select:none;user-select:none;
 -webkit-user-drag:none;-webkit-tap-highlight-color:transparent;
 touch-action:manipulation;
}
/* No outer ring after tapping a card. Keyboard focus uses the title underline. */
.page-id-210 .fb-services-grid .fb-service-card:focus-within{outline:none}
.page-id-210 .fb-services-grid .fb-service-card h3 a:focus{outline:none}
.page-id-210 .fb-services-grid .fb-service-card h3 a:focus-visible{
 outline:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;
}
.page-id-210 .fb-services-grid .fb-service-card:has(h3 a.is-pressed){
 transform:translateY(6px);background:linear-gradient(155deg,#fffafd,#f5e8ef);
 box-shadow:inset 0 2px 5px #ad709322,0 2px 0 #d9bbca,0 5px 9px -4px #63334d44;
}
.page-id-210 .fb-services-grid .fb-service-card:has(h3 a.is-pressed) h3 a::after{top:-8px}

/* Compact service catalogue; original surfaces and press mechanics stay intact. */
body.page-id-210 .fb-services-grid .fb-service-summary {display:none}
@media screen and (max-width:760px) {
 body.page-id-210 #content .fb-services-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
 body.page-id-210 #content .fb-services-grid .fb-service-card {min-width:0;padding:16px 12px}
 body.page-id-210 #content .fb-services-grid .fb-service-card .fb-number {font-size:14px;line-height:1.2;margin:0 0 10px}
 body.page-id-210 #content .fb-services-grid .fb-service-card h3 {font-size:16px!important;line-height:1.3!important;margin:0 0 10px!important;overflow-wrap:break-word;hyphens:auto}
 body.page-id-210 #content .fb-services-grid .fb-service-description {display:none}
 body.page-id-210 #content .fb-services-grid .fb-service-summary {display:block;font-size:14px;line-height:1.45;margin:0}
 body.page-id-210 #content .fb-services-grid .fb-service-summary .fb-service-note {display:block;font-size:12px;line-height:1.4;margin-top:12px}
}
@media screen and (min-width:600px) and (max-width:760px) {
 body.page-id-210 #content .fb-services-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Keep the full Polish service list reachable on shorter desktop screens. */
@media(min-width:1081px){.fb-header.fb-navigation-ready .sub-menu{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}}

/* Approved champagne Aero services menu. Desktop only; all locales share one style. */
.fb-aero-title,.fb-header .sub-menu>.fb-aero-footer{display:none}
@media(min-width:1081px){
 /* Keep the open header opaque while the submenu samples its own backdrop. */
 body header.header:has(.fb-aero-services:not([hidden])){background-color:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;transition:none}
 .fb-header.fb-navigation-ready .fb-primary-menu .fb-aero-services{
  box-sizing:border-box;width:630px;max-width:calc(100vw - 40px);padding:9px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;
  max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;
  border:1px solid #ffffffed;border-radius:0 0 12px 12px;
  background:linear-gradient(118deg,#ffffff90 0%,#ffffff05 29%,#ffffff69 30%,#ffffff08 49%,#ffffff80 50%,#ffffff00 70%),linear-gradient(180deg,rgba(255,255,255,.70),rgba(249,245,234,.70));
  backdrop-filter:blur(10px) saturate(65%);-webkit-backdrop-filter:blur(10px) saturate(65%);
  box-shadow:inset 0 0 0 1px #b5a27c70,0 20px 40px #4e473626;
  scrollbar-width:thin;scrollbar-color:#b5a27c #ffffff50;
 }
 .fb-header.fb-navigation-ready .fb-primary-menu .fb-aero-services[hidden]{display:none!important}
 .fb-header.fb-navigation-ready .fb-aero-services>li{margin:0;padding:0;min-width:0;list-style:none;border:0;background:transparent}
 .fb-header.fb-navigation-ready .fb-aero-services>li>a{
  position:relative;display:flex;align-items:center;box-sizing:border-box;gap:10px;
  width:100%;min-height:48px;margin:0;padding:10px 9px;
  font-family:'Segoe UI',Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.3;
  letter-spacing:normal;text-transform:none;text-decoration:none;color:#4f4b41;
  text-shadow:0 1px 0 #fff9;border:1px solid transparent;border-radius:7px;
  background:transparent;box-shadow:none;transition:background .15s,box-shadow .15s;
 }
 .fb-header.fb-navigation-ready .fb-aero-services>li:not(:first-child):not(.fb-aero-footer)>a:before{
  content:'';display:block;flex:0 0 7px;width:7px;height:7px;box-sizing:border-box;
  border-radius:50%;background:linear-gradient(#fff,#c5b68e);border:1px solid #b5a27c;box-shadow:0 1px 2px #fff;
 }
 .fb-header.fb-navigation-ready .fb-aero-services>li>a:is(:hover,:focus-visible,[aria-current='page']){
  color:#786445;background:linear-gradient(#ffffffeb 0%,#ffffff9c 49%,#e5dcc499 50%,#f4efe2ee);
  border-color:#b5a27c99;box-shadow:inset 0 0 0 1px #fff9,0 0 9px #fff9;
 }
 .fb-header.fb-navigation-ready .fb-aero-services>li>a:focus-visible{outline:2px solid #786445;outline-offset:-2px}
 .fb-header.fb-navigation-ready .fb-aero-services>li:first-child{
  grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:12px 13px 16px;margin:0 0 6px;border-bottom:1px solid #fff8;
 }
 .fb-header.fb-navigation-ready .fb-aero-services>li:first-child>a{
  width:auto;min-height:0;flex:0 1 auto;padding:10px 12px;font-size:11px;line-height:1.4;
  color:#786445;border:1px solid #c6bb9b66;background:linear-gradient(#fffffff2,#ffffff70);letter-spacing:.3px;
 }
 .fb-header.fb-navigation-ready .fb-aero-services>li:first-child>a:after{content:'↗';margin-left:5px}
 .fb-header.fb-navigation-ready .fb-aero-title{display:block;flex:1 0 auto;font-family:'Segoe UI',Arial,sans-serif;font-size:22px;line-height:1.3;font-weight:400;color:#504a40;text-shadow:0 1px 0 #fff,0 0 10px #fff}
 .fb-header.fb-navigation-ready .fb-aero-services>.fb-aero-footer{
  display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 13px 9px;border-top:1px solid #fff8;margin-top:5px;
  font-family:'Segoe UI',Arial,sans-serif;font-size:10px;line-height:1.5;letter-spacing:1px;text-transform:uppercase;color:#756d5e;
 }
}
@media(min-width:1081px) and (prefers-reduced-transparency:reduce){
 .fb-header.fb-navigation-ready .fb-primary-menu .fb-aero-services{background:#f9f5ea;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@supports not (backdrop-filter:blur(1px)){
 @media(min-width:1081px){.fb-header.fb-navigation-ready .fb-primary-menu .fb-aero-services{background:#f9f5ea}}
}
@media(prefers-reduced-motion:reduce){.fb-header.fb-navigation-ready .fb-aero-services>li>a{transition:none}}

/* Legible image captions across all language variants. */
body :is(.fb-page,.fb-reading .entry-content,.fb-about) figure figcaption,body figure.fb-motion figcaption{color:#46545c!important;opacity:1!important}
.fb-editorial-byline{font-size:14px;line-height:1.6;color:#46545c;margin:0 0 24px}.fb-editorial-byline a{color:#762747;text-decoration:underline}

/* Service detail pages: balanced intro and compact, readable sections. */
body:has(#content .fb-service-detail) .fb-title-inner{max-width:1040px}
body.fb-unified-titles #content .fb-service-detail .fb-hero{padding-left:max(24px,calc((100% - 1040px)/2))!important;padding-right:max(24px,calc((100% - 1040px)/2))!important}
body #content .fb-service-detail .fb-section{box-sizing:border-box;width:calc(100% - 48px);max-width:1040px;margin:0 auto;padding:34px 0}
body #content .fb-service-detail .fb-section h2{font-size:30px;line-height:1.25;margin:0 0 20px;text-wrap:balance}
body #content .fb-service-detail .fb-section p{margin:0 0 16px;max-width:none}
body #content .fb-service-detail .fb-section p:last-child{margin-bottom:0}
body #content .fb-service-detail .fb-service-intro{padding-top:36px;padding-bottom:32px}
body #content .fb-service-detail .fb-service-intro .wp-block-columns{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:40px;align-items:start;margin:0}
body #content .fb-service-detail .fb-service-intro .wp-block-column{min-width:0;margin:0}
body #content .fb-service-detail .fb-service-intro figure{width:100%;margin:0}
body #content .fb-service-detail .fb-service-intro figure img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:280px;object-fit:contain;margin:0 auto;border-radius:12px}
body #content .fb-service-detail .fb-service-intro figcaption{font-size:14px;line-height:1.5;margin:12px 0 0;color:#526269}
body #content .fb-service-detail .fb-section:not(.fb-service-intro)>.wp-block-group__inner-container{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);column-gap:40px;align-items:start}
body #content .fb-service-detail .fb-section:not(.fb-service-intro) h2{grid-column:1;grid-row:1 / span 8;margin:0;font-size:27px;line-height:1.3;text-wrap:pretty}
body #content .fb-service-detail .fb-section:not(.fb-service-intro) p{grid-column:2}
body #content .fb-service-detail .fb-hero .fb-lead{max-width:960px;margin-bottom:20px}
body #content .fb-service-detail .fb-hero .wp-block-buttons{gap:12px;margin:0}
body #content .fb-service-detail .fb-hero .wp-block-buttons+p{font-size:16px;line-height:1.65;max-width:900px;margin:20px 0 0;padding:0 0 0 16px;border-left:3px solid #d6a5c0}
body #content .fb-service-detail .fb-contact-band{box-sizing:border-box;width:calc(100% - 48px);max-width:1040px;margin:20px auto 40px;padding:28px 30px}
body #content .fb-service-detail .fb-contact-band h2{font-size:28px;line-height:1.25;margin:0 0 20px}
body #content .fb-service-detail .fb-contact-band .wp-block-buttons{margin:0;gap:12px}
body #content .fb-service-detail .wp-block-button__link{white-space:normal;text-align:center}
@media(max-width:1000px){
 body #content .fb-service-detail .fb-service-intro .wp-block-columns{grid-template-columns:minmax(0,1fr) 220px;gap:28px}
 body #content .fb-service-detail .fb-section:not(.fb-service-intro)>.wp-block-group__inner-container{grid-template-columns:minmax(0,240px) minmax(0,1fr);column-gap:28px}
}
@media(max-width:800px){
 body.fb-unified-titles #content .fb-service-detail .fb-hero{padding-left:20px!important;padding-right:20px!important}
 body #content .fb-service-detail .fb-section{width:calc(100% - 40px);padding:28px 0}
 body #content .fb-service-detail .fb-section:not(.fb-service-intro)>.wp-block-group__inner-container{display:block}
 body #content .fb-service-detail .fb-section h2,body #content .fb-service-detail .fb-section:not(.fb-service-intro) h2{font-size:27px;line-height:1.25;margin:0 0 18px}
 body #content .fb-service-detail .fb-service-intro .wp-block-columns{grid-template-columns:minmax(0,1fr);gap:24px}
 body #content .fb-service-detail .fb-service-intro .wp-block-column:last-child{width:100%;max-width:380px;justify-self:center}
 body #content .fb-service-detail .fb-service-intro figure img{max-height:300px}
 body #content .fb-service-detail .fb-service-intro figcaption{max-width:360px;margin:12px auto 0}
 body #content .fb-service-detail .fb-contact-band{width:calc(100% - 40px);margin:12px auto 28px;padding:24px 22px}
 body #content .fb-service-detail .fb-contact-band h2{font-size:27px;margin-bottom:18px}
}
@media(max-width:420px){
 body #content .fb-service-detail .fb-hero .wp-block-buttons{align-items:stretch}
 body #content .fb-service-detail .fb-hero .wp-block-button{width:100%}
 body #content .fb-service-detail .fb-hero .wp-block-button__link{width:100%}
}

/* Extend the approved service layout to existing text, FAQ and media sections. */
body #content .fb-service-rest .fb-service-intro .wp-block-column>p+h2{margin-top:28px}
body #content .fb-service-rest .fb-section:not(.fb-service-intro):not(.fb-service-wide)>.wp-block-group__inner-container>:not(h2){grid-column:2}
body #content .fb-service-rest .fb-section.fb-service-wide>.wp-block-group__inner-container{display:block}
body #content .fb-service-rest .fb-section.fb-service-wide h2{margin:0 0 20px;font-size:30px;line-height:1.25}
body #content .fb-service-rest .fb-service-wide .wp-block-columns{margin:0;gap:28px;align-items:start}
body #content .fb-service-rest .fb-section .wp-block-buttons{margin:18px 0 0;gap:12px}
body #content .fb-service-rest .fb-service-photo figure{max-width:760px;margin:0 auto}
body #content .fb-service-rest .fb-service-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
body #content .fb-service-rest .fb-service-photo figcaption{font-size:14px;line-height:1.5;margin-top:12px}
body #content .fb-service-rest .fb-service-wide .fb-case-gallery{margin-top:20px}
body #content .fb-service-rest .fb-service-wide .fb-owner-clips{margin-top:20px}
body #content .fb-service-rest .fb-service-wide figure{margin-bottom:0}
body #content .fb-service-rest .fb-service-wide video{display:block;width:100%;height:auto;max-height:400px;object-fit:contain;background:#fff;border-radius:12px}
body #content .fb-service-rest .fb-service-wide .wp-block-column>figure>img{display:block;width:auto!important;max-width:100%;height:auto!important;max-height:400px;object-fit:contain;margin:0 auto}
body #content .fb-service-rest .wp-block-details{margin:0 0 12px;padding:16px 18px;border:1px solid #e5cddc;border-radius:12px;background:#fffafb;min-width:0}
body #content .fb-service-rest .wp-block-details:last-child{margin-bottom:0}
body #content .fb-service-rest .wp-block-details summary{font-weight:600;line-height:1.5;min-height:44px;display:list-item;cursor:pointer}
body #content .fb-service-rest .wp-block-details[open] summary{margin-bottom:12px}
body #content .fb-service-rest .wp-block-details summary:focus-visible{outline:3px solid #9c456f;outline-offset:4px}
@media(max-width:800px){
 body #content .fb-service-rest .fb-section.fb-service-wide h2{font-size:27px;margin-bottom:18px}
 body #content .fb-service-rest .fb-service-wide .wp-block-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
 body #content .fb-service-rest .fb-service-wide .wp-block-column>figure>img,body #content .fb-service-rest .fb-service-wide video{max-height:340px}
 body #content .fb-service-rest .wp-block-details{padding:14px 16px}
}

/* Price groups use the same reading width as service descriptions. */
@media screen {
  body.page-id-201 { --price-width: 1040px; --page-edge: 24px; }
  body.page-id-201 .fb-title-inner,
  body.page-id-201 #content .fb-page :is(.fb-source-note, .fb-section) {
    width: min(var(--price-width), calc(100% - 2 * var(--page-edge)));
    max-width: none;
    margin-inline: auto;
  }
  body.page-id-201.fb-unified-titles #content .fb-page .fb-hero {
    padding: 24px max(var(--page-edge), calc((100% - var(--price-width)) / 2)) !important;
  }
  body.page-id-201 #content .fb-section { padding-block: 32px; }
  body.page-id-201 #content .fb-section h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.1vw, 30px) !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  body.page-id-201 #content .fb-section .wp-block-table { margin: 0; }
  body.page-id-201 #content .fb-section .wp-block-table + p { margin: 12px 0 0; }
  body.page-id-201 #content .wp-block-table :is(th, td) {
    padding: 13px 16px;
    vertical-align: top;
  }
  body.page-id-201 #content .wp-block-table :is(th, td):last-child {
    text-align: end;
    font-variant-numeric: tabular-nums;
  }
  body.page-id-201 #content .fb-section details { margin-top: 16px; }
  body.page-id-201 #content .fb-section summary { padding-block: 10px; min-height: 44px; }

  /* Keep search and year links together, with space for translated labels. */
  body.blog #content .fb-journal { max-width: 1088px; padding-bottom: 44px; }
  body.blog .fb-title-inner { max-width: 1040px; }
  body.blog #content .fb-journal-tools {
    display: flex;
    justify-content: flex-start;
    gap: clamp(16px, 3vw, 40px);
  }
  body.blog #content .fb-journal-grid { gap: 22px; }
  body.blog #content .fb-journal-year > summary { padding-block: 14px; min-height: 58px; }
  body.blog #content .fb-journal-year-content { padding-bottom: 24px; }
  body.blog #content .fb-journal-caption { padding: 16px 18px; }
  body.blog #content .fb-journal-caption h3 { margin-bottom: 14px; }

  /* The title, date, author and article share one reading column. */
  body.fb-reading .fb-title-inner { max-width: 772px; }
  body.fb-reading.fb-unified-titles #content .fb-reading-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 20px;
    padding-block: 8px !important;
    margin-bottom: 14px;
  }
  body.fb-reading #content .fb-reading-header :is(.fb-reading-back, .fb-reading-date) { margin: 0; }
  body.fb-reading #content .fb-editorial-byline { margin-bottom: 16px; }
  body.fb-reading #content .nv-single-post-wrap > .entry-content { margin-bottom: 26px; }
  body.fb-reading #content .fb-reading-footer { margin-block: 24px 36px; padding-top: 12px; }
  body.fb-reading #content .entry-content > :last-child { margin-bottom: 0; }

  /* Retain each informational page's individual blocks and illustrations. */
  body.home #content .fb-home-trio { margin-top: 16px; }
  body.page-id-2 #content .fb-about :is(.fb-about-story, .fb-about-photos, .fb-about-publication) {
    padding-block: clamp(26px, 3vw, 42px);
  }
  body.page-id-2 #content .fb-about-story { gap: clamp(18px, 3vw, 42px); }
  body.page-id-220 #content .fb-contact-shell { margin-top: 24px; }
  body.page-id-220 #content .fb-contact-cards,
  body.page-id-220 #content .fb-contact-location-row { margin-bottom: 24px; }
  body.page-id-1126 #content .fb-reg-shell { padding-block: 24px 36px; }
  body.page-id-1126 #content .fb-reg-card h2 { min-height: 0; margin-bottom: 14px; }
  body.fb-privacy-document #content .fb-privacy-paper h2 {
    margin-block: 24px 12px !important;
    padding-top: 20px !important;
  }
}
@media screen and (min-width: 920px) {
  body.page-id-201 #content .fb-section > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
    column-gap: 36px;
    align-items: start;
  }
  body.page-id-201 #content .fb-section > .wp-block-group__inner-container > h2 { grid-column: 1; margin: 0; }
  body.page-id-201 #content .fb-section > .wp-block-group__inner-container > :not(h2) { grid-column: 2; }
  body.home.fb-unified-titles #content .fb-home-photo { justify-self: center !important; }
}
@media screen and (max-width: 760px) {
  body.page-id-201 { --page-edge: 20px; }
  body.page-id-201 #content .fb-section { padding-block: 24px; }
  body.page-id-201 #content .wp-block-table :is(th, td) { padding: 11px 9px; }
  body.page-id-201 #content .wp-block-table :is(td, th):last-child {
    white-space: normal;
    overflow-wrap: anywhere;
    width: 30%;
  }
  body.blog #content .fb-journal { padding-inline: 20px; }
  body.blog #content .fb-journal-tools { gap: 14px; padding-block: 14px; }
  body.blog #content .fb-journal-grid { gap: 16px; }
  body.fb-reading .fb-title-inner { width: calc(100% - 44px); }
  body.fb-reading #content .fb-reading-footer { margin-bottom: 24px; }
  body.page-id-1126 #content .fb-reg-hero::after {
    width: 140px;
    height: 100px;
    margin: 12px auto 0;
  }
}

/* The empty legacy paragraph sets the desktop spacing in the practice introduction. */
@media screen and (max-width: 767px) {
  body.home #wp-block-themeisle-blocks-advanced-column-7c705a1c > .fb-home-desktop-spacer {
    display: none;
  }

  body.home #wp-block-themeisle-blocks-advanced-column-7c705a1c > p:has(+ .fb-home-desktop-spacer) {
    margin-bottom: 16px;
  }
}

@media screen {
  /* The divider owns the space between two article blocks. */
  body.fb-reading #content .entry-content > .wp-block-separator {
    margin-block: 18px;
  }
  body.fb-reading #content .entry-content > :not(.wp-block-separator):has(+ .wp-block-separator) {
    margin-bottom: 0;
  }
  body.fb-reading #content .entry-content > .wp-block-separator + * {
    margin-top: 0;
  }
  body.fb-reading #content .entry-content > .wp-block-separator + .wp-block-separator {
    display: none;
  }

  /* Align the document introduction with the space inside the paper panel. */
  body.fb-privacy-document.fb-unified-titles #content .fb-title-band {
    margin-bottom: clamp(18px, 2vw, 28px);
  }
  body.fb-privacy-document #content .fb-privacy-paper {
    padding-top: clamp(20px, 2.4vw, 32px) !important;
  }

  /* The footer already has its own inset below the final booking panel. */
  body #content .fb-page.fb-service-detail,
  body.page-id-210 #content .fb-page {
    padding-bottom: 16px;
  }
  body #content .fb-service-detail .fb-contact-band {
    margin-bottom: 0;
  }
  body.page-id-210 #content .fb-contact-band {
    margin-block: 12px 0;
  }
  body.page-id-210 #content .fb-section:has(.fb-services-grid) {
    padding-bottom: 24px;
  }

  /* Keep the photographs at their original sizes; remove nested section insets. */
  body.home #content :is(#wp-block-themeisle-blocks-advanced-columns-335a2f03,
                        #wp-block-themeisle-blocks-advanced-columns-27c6d13c,
                        #wp-block-themeisle-blocks-advanced-columns-7591d0fe) {
    padding-block: clamp(20px, 3vw, 40px);
  }
  body.home #content :is(#wp-block-themeisle-blocks-advanced-column-00efda99,
                        #wp-block-themeisle-blocks-advanced-column-a7440713,
                        #wp-block-themeisle-blocks-advanced-column-580947ad,
                        #wp-block-themeisle-blocks-advanced-column-1a2d16c7) {
    margin-block: 0;
    padding-block: 12px;
  }
  body.home #content #wp-block-themeisle-blocks-advanced-columns-dab9e0bf {
    padding-block: clamp(28px, 3vw, 40px);
  }
  body.home #content #wp-block-themeisle-blocks-advanced-column-00efda99 > .wp-block-spacer,
  body.home #content #wp-block-themeisle-blocks-advanced-column-7c705a1c > .fb-home-desktop-spacer {
    display: none;
  }
  body.home #content #wp-block-themeisle-blocks-advanced-column-00efda99 > p:has(+ .wp-block-spacer),
  body.home #content #wp-block-themeisle-blocks-advanced-column-7c705a1c > p:has(+ .fb-home-desktop-spacer) {
    margin-bottom: 16px;
  }
  body.home #content :is(.fb-local-reviews, .fb-local-map) {
    margin-block: 20px;
  }
}
@media screen and (min-width: 761px) {
  /* Fit the decorative illustration to the introduction, including long translations. */
  body.page-id-1126 #content .fb-reg-hero { min-height: 220px; }
  body.page-id-1126 #content .fb-reg-hero::after { height: min(90%, 220px); }
}
