/* Homepage design system: one palette, three button styles, one type scale.
   Applies to the imported desktop markup (#dm) and phone markup (#sip-phone). */
:root{
  --sdp-orange:#d94f04; --sdp-orange-hover:#b84303;
  --sdp-green:#1f4d2b; --sdp-green-hover:#163a20;
  --sdp-cream:#fff6dc; --sdp-ink:#1d1d1b; --sdp-red:#c3292f; --sdp-white:#fff;
  --sdp-radius:14px; --sdp-radius-card:20px;
  --sdp-shadow:none;
  --sdp-shadow-card:0 14px 40px -16px rgba(0,0,0,.28);
  --sdp-heading:"PraterSerifOffc","FontFont - PraterSerifPro",Georgia,serif;
  --sdp-body:"Cabin",system-ui,sans-serif;
}

/* ---------- Primary buttons (imported) ---------- */
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink,
html body :is(#dm,#sip-phone) .dmWidget.button_1.button_1.button_1{
  background-color:var(--sdp-orange)!important; background-image:none!important;
  border:0!important; border-radius:var(--sdp-radius)!important;
  min-height:52px!important; height:auto!important; padding:0 28px!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  box-shadow:var(--sdp-shadow)!important;
  transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink :is(span,.text),
html body :is(#dm,#sip-phone) .dmWidget.button_1.button_1.button_1 :is(span,.text),
html body :is(#dm,#sip-phone) .dmWidget.button_1.button_1.button_1{
  font-family:var(--sdp-body)!important; font-weight:700!important; font-size:18px!important;
  letter-spacing:.01em!important; text-transform:none!important; color:var(--sdp-white)!important;
  line-height:1.2!important; padding:0!important;
}
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink:hover,
html body :is(#dm,#sip-phone) .dmWidget.button_1.button_1.button_1:hover{background-color:var(--sdp-orange-hover)!important;background-image:none!important;transform:translateY(-1px);box-shadow:0 10px 24px -8px rgba(31,77,43,.45)!important}
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink:active,
html body :is(#dm,#sip-phone) .dmWidget.button_1.button_1.button_1:active{transform:translateY(0)}
:is(#dm,#sip-phone) a:focus-visible,
:is(#dm,#sip-phone) button:focus-visible,
#hjalpen :is(a,button,input):focus-visible,
[aria-label="Boka besök"] :is(a,button):focus-visible{outline:3px solid var(--sdp-orange)!important;outline-offset:3px!important}

/* Secondary: info/utility buttons become green */
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink.u_1342857399,
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink.u_1351862347{background:var(--sdp-green)!important}
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink.u_1342857399:hover,
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink.u_1351862347:hover{background:var(--sdp-green-hover)!important}

/* ---------- Type scale ---------- */
:is(#dm,#sip-phone) :is(:is(h1,h2[data-was-h1]),h2,h3,h4){font-family:var(--sdp-heading)!important;letter-spacing:-.01em;text-wrap:balance}
#dm :is(h1,h2[data-was-h1]), #dm :is(h1,h2[data-was-h1]) *{font-size:clamp(44px,4.6vw,64px)!important;line-height:1.05!important}
#dm h2, #dm h2 *{font-size:clamp(32px,3vw,42px)!important;line-height:1.1!important}
#dm h3, #dm h3 *{font-size:26px!important;line-height:1.15!important}
#dm h4, #dm h4 *{font-size:20px!important;line-height:1.25!important}
#sip-phone :is(h1,h2[data-was-h1]), #sip-phone :is(h1,h2[data-was-h1]) *{font-size:34px!important;line-height:1.08!important}
#sip-phone h2, #sip-phone h2 *{font-size:28px!important;line-height:1.12!important}
#sip-phone h3, #sip-phone h3 *{font-size:21px!important;line-height:1.18!important}
#sip-phone h4, #sip-phone h4 *{font-size:18px!important;line-height:1.25!important}

:is(#dm,#sip-phone) p{font-family:var(--sdp-body)!important;line-height:1.5!important}
:is(#dm,#sip-phone) .dmNewParagraph p,
:is(#dm,#sip-phone) .dmNewParagraph p *{max-width:68ch}
#dm p, #dm p span{font-size:max(17px, min(1em, 22px))}
#sip-phone p, #sip-phone p span{font-size:max(17px, min(1em, 20px))}
/* Body text that was grey becomes ink for contrast */
:is(#dm,#sip-phone) p[style*="68, 68, 68"],
:is(#dm,#sip-phone) .dmNewParagraph:not([class*="u_"]) p{color:var(--sdp-ink)}

/* Card titles/text (Populärt just nu, upplevelser) */
:is(#dm,#sip-phone) .photoGalleryThumbs h3,
:is(#dm,#sip-phone) .photoGalleryThumbs h3 *{font-size:22px!important}
#sip-phone .photoGalleryThumbs h3, #sip-phone .photoGalleryThumbs h3 *{font-size:19px!important}
:is(#dm,#sip-phone) .photoGalleryThumbs p,
:is(#dm,#sip-phone) .photoGalleryThumbs p *{font-size:16px!important;line-height:1.45!important}
#sip-phone .photoGalleryThumbs p, #sip-phone .photoGalleryThumbs p *{font-size:15px!important}

/* ---------- Cards ---------- */
:is(#dm,#sip-phone) .photoGalleryThumbs .photogallery-column > *{border-radius:var(--sdp-radius-card)!important;overflow:hidden}
:is(#dm,#sip-phone) .photoGalleryThumbs .image-container,
:is(#dm,#sip-phone) .photoGalleryThumbs .image-container *{border-radius:var(--sdp-radius-card) var(--sdp-radius-card) 0 0}
:is(#dm,#sip-phone) .photoGalleryThumbs .photogallery-column > *{box-shadow:var(--sdp-shadow-card)}

/* Phone tap targets */
html body #sip-phone a.dmButtonLink.dmButtonLink.dmButtonLink{min-height:48px!important;width:min(100%,340px)!important}

/* Language switcher + skip link use the body font */
:is(.tw-wrapper,[class*="tw-"],.audioeye-skip-link),:is(.tw-wrapper,[class*="tw-"]) *{font-family:var(--sdp-body)!important}
html body #sip-phone a.dmButtonLink.dmButtonLink.dmButtonLink.dmButtonLink{border-radius:var(--sdp-radius)!important;min-height:52px!important}
html body :is(#dm,#sip-phone) a.dmButtonLink.dmButtonLink.dmButtonLink :is(span,.text){white-space:nowrap!important}
html body #dm .p_hfcontainer a.dmButtonLink.dmButtonLink.dmButtonLink{padding:0 22px!important;width:auto!important}

/* Phone: "Populärt just nu" cards — equal heights, text + buttons aligned at bottom */
@media (max-width:767px){
  html body #sip-phone #\31 686679217 .layout-container.pinterest .photogallery-row{display:grid!important;grid-template-columns:1fr 1fr!important;grid-auto-rows:1fr!important;gap:12px!important;align-items:stretch!important;height:auto!important}
  html body #sip-phone #\31 686679217 .photogallery-column{display:contents!important}
  html body #sip-phone #\31 686679217 .photoGalleryThumbs{display:flex!important;flex-direction:column!important;height:auto!important;margin:0!important;width:auto!important;position:static!important}
  html body #sip-phone #\31 686679217 .thumbnailInnerWrapper{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:100%!important}
  html body #sip-phone #\31 686679217 .image-container{flex:0 0 auto!important;height:auto!important;aspect-ratio:4/3!important;position:relative!important}
  html body #sip-phone #\31 686679217 .image-container>a{position:absolute!important;inset:0!important;height:100%!important;width:100%!important;background-size:cover!important;background-position:center!important}
  html body #sip-phone #\31 686679217 .caption-container{flex:1 1 auto!important;display:flex!important;height:auto!important;position:static!important}
  html body #sip-phone #\31 686679217 .caption-inner{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;height:auto!important}
  html body #sip-phone #\31 686679217 .caption-text{flex:1 1 auto!important}
  html body #sip-phone #\31 686679217 .caption-button{margin-top:auto!important;align-self:stretch!important}
}

/* Phone: "Läs mer" button pinned to the bottom of each Populärt just nu card */
@media (max-width:767px){
  html body #sip-phone #\31 686679217 .caption-inner{padding-bottom:14px!important}
  html body #sip-phone #\31 686679217 a.caption-button.caption-button{display:flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;margin:12px 0 0!important;margin-top:auto!important;min-height:44px!important;height:auto!important;width:100%!important;max-width:100%!important;padding:0!important;border:0!important;border-radius:var(--sdp-radius,14px)!important;background:var(--sdp-orange,#d94f04)!important;box-shadow:none!important;text-decoration:none!important}
  html body #sip-phone #\31 686679217 a.caption-button .iconBg{display:none!important}
  html body #sip-phone #\31 686679217 a.caption-button span.text{display:block!important;padding:0 12px!important;color:#fff!important;font:700 15px/1 Cabin,system-ui,sans-serif!important;letter-spacing:.01em!important;white-space:nowrap!important}
  html body #sip-phone #\31 686679217 .caption-text{margin-bottom:12px!important}
}

/* Button-label wrapping is shared across every page via button-labels.css. */

/* New site header replaces the imported headers on the homepage. */
html body .dmHeaderContainer, html body #hamburger-header-container, html body #layout-drawer-hamburger,
html body #sip-phone .hamburger-header-container, html body #sip-phone .layout-drawer-hamburger,
html body #sip-phone #hamburger-header, html body #sip-phone .hamburger-header { display: none !important; }
