.publicmode .site-container { perspective: none; }
.publicmode .site-header .header-top.service-sticky-nav { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(255,255,255,.60); backdrop-filter: blur(8px); color: #212121; }
.publicmode .service-sticky-nav .header-title a, .publicmode .service-sticky-nav .menu-main a { color: #212121; }
.publicmode .site-header:has(.service-sticky-nav) { padding-top: var(--service-nav-height, 67px); }
.publicmode .service-brand { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; white-space: nowrap; }
.publicmode .service-brand::before { content: ''; display: inline-block; background: #24377b; width: .7em; height: .7em; border-radius: 50%; flex: none; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.65rem,2vw,1.4rem); margin: 1rem 0 2rem; padding: 0; list-style: none; }
.service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #cdd4d8; border-radius: .65rem; background: #fff; color: #212121; text-decoration: none; }
.service-card img, .service-card__placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f0eff2; }
.service-card__name { padding: .75rem; overflow-wrap: anywhere; }
.service-card:hover .service-card__name, .publicmode .service-cta:hover { text-decoration: underline; }
.service-card:focus-visible, .publicmode .service-cta:focus-visible { outline: 3px solid #233a8d; outline-offset: 3px; }
.service-cta-group { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 1.25rem; }
.service-cta-group--catalog { margin-block: 1.25rem; }
.publicmode .service-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .4rem 1rem; border: 2px solid #24377b; border-radius: .5rem; background: #24377b; color: #fff; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; }
.publicmode .service-cta--secondary { background: #fff; color: #24377b; }
.publicmode .service-cta--header { min-height: 38px; margin-inline-end: .65rem; padding-inline: .65rem; font-size: .875rem; white-space: nowrap; }
@media (max-width: 768px) {
  .publicmode .site-header:has(.service-sticky-nav) { padding-top: var(--service-nav-height, 48px); }
  .service-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.publicmode .service-sticky-nav .js-header-top-wrap { align-items: center; padding-block: 8px; }
.publicmode .service-sticky-nav .header-right, .publicmode .service-sticky-nav .site-options { display: flex; align-items: center; }
.publicmode .service-sticky-nav .header-right { margin-top: 0; }
html.publicmode .site-header .service-sticky-nav a.service-cta--header { box-sizing: border-box; min-height: 38px; height: 38px; color: #fff; font-size: .875rem; }
html.publicmode .site-header .service-sticky-nav a.service-brand { color: #212121; font-weight: 700; }
.publicmode .site-header.service-santa-hero .js-background-image { background-position: 48% 32%; }
.service-card--santa img { object-position: 48% 32%; }
@media (max-width: 768px) {
  .publicmode .service-sticky-nav .mobile-menu-toggler { position: relative; inset: auto; flex: none; }
  html.publicmode .site-header .service-sticky-nav a.service-cta--header { margin-inline-end: .25rem; padding-inline: .55rem; font-size: .8rem; }
  html.publicmode .site-header .service-sticky-nav a.service-brand { font-size: clamp(1rem, 5vw, 1.25rem); }
}

html.publicmode .site-header .service-sticky-nav .menu-main ul li a { color: #212121 !important; }
.publicmode .service-sticky-nav .mobile-menu-toggler span,
.publicmode .service-sticky-nav .mobile-menu-toggler span::before,
.publicmode .service-sticky-nav .mobile-menu-toggler span::after { background-color: #212121 !important; }
html.publicmode .site-header .service-sticky-nav a.service-brand { position: relative; gap: .45rem; }
html.publicmode .site-header .service-sticky-nav a.service-brand::before { width: 1.15em; height: 1.15em; border-radius: .3em; background: linear-gradient(145deg,#f5a623,#ed427e 55%,#733ac1); }
html.publicmode .site-header .service-sticky-nav a.service-brand::after { content: ''; position: absolute; inset-inline-start: .25em; top: 50%; width: .65em; height: .65em; transform: translateY(-50%); background: #fff; clip-path: polygon(50% 0,62% 35%,100% 38%,71% 62%,80% 100%,50% 78%,20% 100%,29% 62%,0 38%,38% 35%); }
.publicmode .service-santa-hero .header-bottom-inner { min-height: clamp(16rem,35vw,27.5rem); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.2rem; }
.publicmode .service-santa-hero .header-body h1 { color: #fff; text-shadow: 0 2px 12px #24180d; }

@media (max-width: 1024px) {
  .publicmode .service-sticky-nav .site-options { margin-left: 0; }
  .publicmode .service-sticky-nav .mobile-menu-toggler { position: relative; inset: auto; flex: none; width: 79px; min-height: 44px; color: #212121; }
  .publicmode .service-sticky-nav .mobile-menu-toggler span.service-menu-icon { left: auto; right: 5px; }
  .publicmode .service-sticky-nav .service-menu-label { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); font: 700 .8rem/1 sans-serif; }
  .publicmode .service-sticky-nav .mobile-menu-toggler:focus-visible { outline: 2px solid #233a8d; outline-offset: -2px; }
}
@media (max-width: 400px) {
  .publicmode .service-sticky-nav .js-header-top-wrap { padding-inline: 12px; }
  html.publicmode .site-header .service-sticky-nav a.service-cta--header { padding-inline: .45rem; font-size: .75rem; }
}
main form[action='/kusi-pakkumist'] .form_field_checkbox { display: inline-block !important; position: static !important; appearance: auto !important; width: 1.15rem; height: 1.15rem; margin: 0 .5rem 0 0; }
main form[action='/kusi-pakkumist'] .form_field_checkbox_label { display: flex; align-items: center; min-height: 44px; }
main form[action='/kusi-pakkumist'] .form_control_indicator { display: none !important; }
html.publicmode { scroll-padding-top: calc(var(--service-nav-height, 67px) + 8px); }
.publicmode footer a[href^='mailto:'] { text-decoration: underline; }
.publicmode .edys-gallery-item, .publicmode .edys-gallery-image { max-width: 100%; height: auto !important; }

.service-order-group { border: 1px solid #cdd4d8; border-radius: .5rem; padding-inline: .75rem; }
.service-order-group summary { cursor: pointer; min-height: 44px; padding-block: .6rem; }
.service-order-group summary .form_field_label { display: inline; }
.service-order-count { color: #454545; font-size: .875rem; }
.service-order-group summary:focus-visible { outline: 2px solid #233a8d; outline-offset: 2px; }
html.publicmode.mobilemenu-open .service-sticky-nav .service-menu-icon { background-color: transparent !important; }
html.publicmode.mobilemenu-open .service-sticky-nav .service-menu-icon::before { top: 0; transform: rotate(45deg); }
html.publicmode.mobilemenu-open .service-sticky-nav .service-menu-icon::after { top: 0; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  html.publicmode { scroll-behavior: auto; }
  .publicmode .service-sticky-nav *, .publicmode #mobile-menu { transition-duration: 0s !important; }
}

html.publicmode .site-header .service-cta-group a.service-cta:not(.service-cta--secondary),
html.publicmode main .service-cta-group a.service-cta { color: #fff !important; }
html.publicmode .site-header .service-cta-group a.service-cta--secondary { color: #24377b !important; }
html.publicmode .submenu a { color: #525252 !important; }

.publicmode .service-sticky-nav .js-header-top-wrap { box-sizing: border-box; max-width: 1200px; min-height: 72px; margin-inline: auto; }
@media (max-width: 768px) { .publicmode .service-sticky-nav .js-header-top-wrap { min-height: 64px; } }
@media (prefers-reduced-motion: no-preference) {
  .publicmode .site-header .js-background-image { --hero-x: 50%; --hero-y: 50%; animation: peo-hero-pan 24s ease-in-out infinite alternate; }
  .publicmode .site-header.service-santa-hero .js-background-image { --hero-x: 48%; --hero-y: 32%; }
  @keyframes peo-hero-pan {
    from { background-position: var(--hero-x) var(--hero-y); }
    to { background-position: calc(var(--hero-x) + 4%) calc(var(--hero-y) + 4%); }
  }
}

html.publicmode .site-header .service-sticky-nav .menu-main ul li a { color: #212121 !important; opacity: 1 !important; }
html.publicmode .site-sidebar .submenu a,
html.publicmode .menu-item-list li.menu-item a { color: #333 !important; opacity: 1 !important; }
html.publicmode .menu-item-list li.menu-separator { display: inline-block; }

@media (max-width: 1024px) {
  html.publicmode .site-header .service-sticky-nav a.service-cta--header { display: none; }
}

html.publicmode #mobile-menu .service-menu-cta-item { display: none; }
@media (max-width: 1024px) {
  html.publicmode.mobilemenu-open #mobile-menu .service-menu-cta-item { display: block; padding: .75rem 1rem; }
  html.publicmode #mobile-menu a.service-cta--menu { display: inline-flex; color: #fff !important; width: auto; text-transform: none; }
}

@media (max-width: 600px) {
  .publicmode body.front-page .site-header .header-body h1 > span:first-child {
    font-size: clamp(28px, 10.2vw, 51px) !important;
    overflow-wrap: normal;
    word-break: normal;
  }
}


@media (max-width: 1024px) {
  html.publicmode.mobilemenu-open #mobile-menu .service-menu-cta-item {
    padding: .65rem 0 0;
  }

  html.publicmode #mobile-menu .navigation-menu a.service-cta--menu {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: .6rem 1rem;
    border-radius: .4rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
  }
}


.publicmode .service-breadcrumb {
  background: #fff;
  color: #212121;
}

.publicmode .service-breadcrumb__list {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem clamp(24px, 5vw, 40px);
  list-style: none;
  font-size: .875rem;
}

.publicmode .service-breadcrumb__list li {
  display: inline-flex;
  gap: .5rem;
}

.publicmode .service-breadcrumb__list a {
  color: #212121;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.publicmode .service-breadcrumb__list a:focus-visible {
  outline: 2px solid #233a8d;
  outline-offset: 2px;
}


.publicmode .service-cta::after {
  content: '';
  flex: none;
  width: .46em;
  height: .46em;
  margin-inline-start: .5em;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .publicmode .service-cta::after {
    transition: transform .18s ease;
  }

  .publicmode .service-cta:is(:hover, :focus-visible)::after {
    transform: translateX(.18em) rotate(45deg);
  }
}


.publicmode .common-page .page-content .main-content .wrap > .inner,
.publicmode .page-content .main-feature > .wrap {
  padding-inline: clamp(24px, 5vw, 40px);
}

.publicmode .page-content .wrap > .service-cards {
  margin-inline: clamp(24px, 5vw, 40px);
}


@media (max-width: 768px) {
  html.publicmode {
    --service-page-gutter: 15px;
  }

  html.publicmode .service-sticky-nav .js-header-top-wrap,
  html.publicmode .site-header .header-bottom .wrap,
  html.publicmode .service-breadcrumb__list,
  html.publicmode .common-page .page-content .main-content .wrap > .inner,
  html.publicmode .page-content .main-feature > .wrap,
  html.publicmode .page-content .service-gallery,
  html.publicmode .service-cta-group,
  html.publicmode .site-footer .footer-body .wrap > .inner {
    padding-inline: var(--service-page-gutter);
  }

  html.publicmode .page-content .wrap > .service-cards {
    margin-inline: var(--service-page-gutter);
  }
}


@media (min-width: 1025px) {
  html.publicmode .site-header .service-sticky-nav a.service-cta--header {
    margin-inline-start: 1rem;
  }
}


html.publicmode {
  --service-page-width: 1200px;
  --service-layout-gutter: clamp(24px, 5vw, 40px);
}

html.publicmode .service-sticky-nav .js-header-top-wrap,
html.publicmode .service-breadcrumb__list,
html.publicmode .front-page .header-bottom-inner,
html.publicmode .front-page .header-bottom-inner > .wrap,
html.publicmode .page-content .main-feature > .wrap,
html.publicmode .common-page .page-content .main-content .wrap,
html.publicmode .site-footer .footer-body .wrap {
  box-sizing: border-box;
  max-width: var(--service-page-width);
  width: 100%;
}

html.publicmode .service-sticky-nav .js-header-top-wrap,
html.publicmode .service-breadcrumb__list,
html.publicmode .front-page .header-bottom-inner > .wrap,
html.publicmode .page-content .main-feature > .wrap {
  padding-inline: var(--service-layout-gutter);
}

html.publicmode .front-page .service-cta-group--hero {
  padding-inline: 0;
}

html.publicmode .service-prefooter {
  background: #edf1fc;
  color: #212121;
}

html.publicmode .service-prefooter__inner {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--service-page-width);
  width: 100%;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--service-layout-gutter);
}

html.publicmode .service-prefooter__copy h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
}

html.publicmode .service-prefooter__copy p {
  margin: 0;
  max-width: 55ch;
  line-height: 1.5;
}

@media (max-width: 768px) {
  html.publicmode { --service-layout-gutter: var(--service-page-gutter, 15px); }
}

@media (min-width: 1025px) {
  html.publicmode .common-page .page-body .sidebar-active {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: var(--service-page-width);
    width: 100%;
    padding-inline: var(--service-layout-gutter);
  }

  html.publicmode .common-page .page-body .sidebar-active::after {
    content: none;
  }

  html.publicmode .common-page .page-body .sidebar-active > .site-sidebar {
    float: none;
    flex: 0 0 220px;
    margin-inline: 0;
  }

  html.publicmode .common-page .page-body .sidebar-active > main.page-content {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  html.publicmode .common-page .page-body .sidebar-active .main-content .wrap > .inner,
  html.publicmode .common-page .page-body .sidebar-active .service-gallery {
    padding-inline: 0;
  }

  html.publicmode .common-page .page-body .sidebar-active .wrap > .service-cards {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.publicmode .site-header .js-background-image {
    animation-duration: 16s;
    animation-timing-function: linear;
  }

  html.publicmode .service-card {
    transition: border-color .18s ease, box-shadow .18s ease;
  }

  html.publicmode .service-cta {
    transition: box-shadow .18s ease;
  }

  html.publicmode .service-brand::before,
  html.publicmode .service-brand::after {
    transition: transform .18s ease;
  }

  html.publicmode .service-brand:is(:hover, :focus-visible)::before {
    transform: scale(1.07);
  }

  html.publicmode .site-header .service-brand:is(:hover, :focus-visible)::after {
    transform: translateY(-50%) rotate(8deg);
  }
}

html.publicmode .service-card:is(:hover, :focus-visible),
html.publicmode .service-cta:is(:hover, :focus-visible) {
  box-shadow: 0 3px 12px rgb(36 55 123 / 16%);
}

html.publicmode .service-card:is(:hover, :focus-visible) {
  border-color: #24377b;
}

html.publicmode .service-brand__wordmark { white-space: nowrap; font-weight: 400; }
html.publicmode .service-brand__wordmark strong { font-weight: 700; }


html.publicmode .site-header .header-body h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

html.publicmode .front-page .site-header .header-body h1 > span:first-child,
html.publicmode .front-page .site-header .header-body h1 > span:nth-child(3) {
  display: block;
}

html.publicmode .front-page .site-header .header-body h1 > span:nth-child(2) {
  display: none;
}

html.publicmode .front-page .site-header .header-body h1 > span:nth-child(3) {
  margin-top: .25em;
  font-size: clamp(16px, 5vw, 26px) !important;
}

html.publicmode .service-rental-hint {
  margin: 0 0 .65rem 1.65rem;
  color: #333;
  font-size: .875rem;
  line-height: 1.4;
}

html.publicmode .service-rental-hint a { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  html.publicmode .site-header.service-santa-hero .js-background-image {
    --hero-drift-x: 6%;
    --hero-drift-y: 4%;
  }

  @keyframes peo-hero-pan {
    from { background-position: var(--hero-x) var(--hero-y); }
    to { background-position: calc(var(--hero-x) + var(--hero-drift-x, 8%)) calc(var(--hero-y) + var(--hero-drift-y, 6%)); }
  }
}


@media (prefers-reduced-motion: no-preference) {
  html.publicmode .site-header .header-body h1 {
    animation: peo-hero-text-in .45s ease-out both;
  }

  @keyframes peo-hero-text-in {
    from { opacity: .9; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}


html.publicmode .service-hero-plane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.publicmode .service-hero-plane .js-background-image {
    animation-name: peo-hero-plane;
    transform-origin: var(--hero-x, 50%) var(--hero-y, 50%);
  }

  html.publicmode .front-page .site-header .header-body h1 {
    translate: 0 var(--service-home-text-shift, 0px);
  }

  @keyframes peo-hero-plane {
    from {
      background-position: var(--hero-x) var(--hero-y);
      transform: translateY(var(--service-hero-image-shift, 0px)) scale(1.05);
    }
    to {
      background-position: calc(var(--hero-x) + var(--hero-drift-x, 8%)) calc(var(--hero-y) + var(--hero-drift-y, 6%));
      transform: translateY(var(--service-hero-image-shift, 0px)) scale(1.085);
    }
  }
}


html.publicmode .front-page .front-page-content-bottom {
  background: none;
  border-block: 0;
  box-shadow: none;
}

html.publicmode .front-page .front-page-content-bottom > .js-background-image,
html.publicmode .front-page .front-page-content-bottom > .js-background-color {
  display: none;
}

html.publicmode body.front-page .site-header .header-body h1 > span:first-child {
  text-wrap: balance;
}

@media (max-width: 600px) {
  html.publicmode body.front-page .site-header .header-body h1 > span:first-child {
    font-size: clamp(26px, 8.5vw, 51px) !important;
  }
}


@media (max-width: 1024px) {
  html.publicmode .common-page .site-header .header-body h1 {
    font-size: clamp(25px, 8vw, 64px);
  }
}
