/* Shared by every route; deliberately outranks captured page and homepage CSS.
   Keep navigation links and icon-only controls at their existing dimensions. */
html body :is(#dm,#sip-phone):is(#dm,#sip-phone):is(#dm,#sip-phone) :is(a.dmButtonLink,a.caption-button,a.slide-button,a.dmOnlyButton,.dmWidget.button_1,.dmWidget.button_2),
html body :is(#boka,#dagsplan,#hjalpen) button:not([aria-label]),
html body #boka a[style*="justify-content"],
html body #dagsplan a[style*="inline-flex"],
html body section[aria-label="Boka besök"] a[style*="justify-content"] {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  padding-block: 12px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: clip !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

html body :is(#dm,#sip-phone):is(#dm,#sip-phone):is(#dm,#sip-phone) :is(a.dmButtonLink,a.caption-button,a.slide-button,a.dmOnlyButton,.dmWidget.button_1,.dmWidget.button_2) :is(span,.text,font),
html body :is(#boka,#dagsplan,#hjalpen) button:not([aria-label]) :is(span,font),
html body #boka a[style*="justify-content"] font,
html body #dagsplan a[style*="inline-flex"] font,
html body section[aria-label="Boka besök"] a[style*="justify-content"] font {
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: clip !important;
  line-height: 1.25 !important;
  text-align: center !important;
  -webkit-line-clamp: unset !important;
}
/* No drop shadows on any button, site-wide */
button, [role="button"], .dmButtonLink, a.dmButtonLink, .caption-button, .sh-cta, .cb-btn, input[type="submit"], input[type="button"] { box-shadow: none !important; }
button:hover, .dmButtonLink:hover, .caption-button:hover, .cb-btn:hover { box-shadow: none !important; }

/* ===== Global premium system: buttons + type scale (all pages) ===== */
:root{--g-orange:#d94f04;--g-orange-h:#b84303;--g-green:#1f4d2b;--g-ink:#1d1d1b;
  --g-head:"PraterSerifOffc","FontFont - PraterSerifPro",Georgia,serif;--g-body:"Cabin",system-ui,sans-serif}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone):is(#dm,#sip-phone) :is(a.dmButtonLink,a.slide-button,a.dmOnlyButton,.dmWidget.button_1,.dmWidget.button_2){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:48px!important;padding:12px 28px!important;border-radius:14px!important;border:0!important;
  background-image:none!important;transform:none!important;transition:background-color .2s ease!important}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone):is(#dm,#sip-phone) :is(a.dmButtonLink,a.slide-button,a.dmOnlyButton,.dmWidget.button_1,.dmWidget.button_2) :is(span,.text){
  font-family:var(--g-body)!important;font-weight:700!important;font-size:17px!important;letter-spacing:.01em!important;text-transform:none!important;padding:0!important}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone):is(#dm,#sip-phone) :is(a.dmButtonLink,a.slide-button,.dmWidget.button_1):hover{transform:none!important}
html body :is(#dm,#sip-phone) :is(a.dmButtonLink,a.slide-button,.dmWidget.button_1):focus-visible{outline:3px solid var(--g-orange)!important;outline-offset:3px!important}

/* Type scale: Prater headings, Cabin body, balanced wrapping */
html body :is(#dm,#sip-phone) :is(:is(h1,h2[data-was-h1]),h2,h3,h4){font-family:var(--g-head)!important;letter-spacing:-.01em!important;text-wrap:balance}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone) :is(h1,h2[data-was-h1]){font-size:clamp(34px,4.6vw,60px)!important;line-height:1.05!important}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone) h2{font-size:clamp(28px,3.2vw,44px)!important;line-height:1.12!important}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone) h3{font-size:clamp(21px,2vw,28px)!important;line-height:1.2!important}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone) h4{font-size:clamp(18px,1.5vw,21px)!important;line-height:1.3!important}
html body :is(#dm,#sip-phone) :is(:is(h1,h2[data-was-h1]),h2,h3,h4) :is(span,font,strong){font-size:inherit!important;line-height:inherit!important}
html body :is(#dm,#sip-phone) :is(p,li){font-family:var(--g-body)!important;line-height:1.55!important}
html body #sip-phone :is(p,li){font-size:max(17px,1em)!important}
html body #dm .p_hfcontainer :is(:is(h1,h2[data-was-h1]),h2,h3,h4){font-size:revert-layer}
html body :is(#dm,#sip-phone):is(#dm,#sip-phone):is(#dm,#sip-phone) h3.caption-title{font-size:clamp(20px,1.7vw,24px)!important;line-height:1.15!important}
html body #dm .photoGalleryThumbs .caption-container{height:auto!important;min-height:0!important}
