.elementor-7765 .elementor-element.elementor-element-0bbb118{--display:flex;--min-height:233px;--justify-content:center;}.elementor-7765 .elementor-element.elementor-element-33b2b135{--display:flex;--min-height:500px;--flex-wrap:nowrap;--overflow:hidden;--z-index:5;}.elementor-7765 .elementor-element.elementor-element-3be5d104{--display:flex;--min-height:58px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-7765 .elementor-element.elementor-element-a1f5e87{text-align:center;}.elementor-7765 .elementor-element.elementor-element-a1f5e87 .elementor-heading-title{font-family:"fayte", Sans-serif;font-size:72px;font-weight:normal;line-height:30px;color:var( --e-global-color-31f10e9 );}.elementor-7765 .elementor-element.elementor-element-7373ba9c{--display:flex;}.elementor-7765 .elementor-element.elementor-element-5655dd3{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-7765 .elementor-element.elementor-element-2f56ec8{margin:047px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:center;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-31f10e9 );}.elementor-7765 .elementor-element.elementor-element-1c1544d{--spacer-size:148px;}@media(min-width:768px){.elementor-7765 .elementor-element.elementor-element-33b2b135{--width:1200px;}}@media(max-width:1024px) and (min-width:768px){.elementor-7765 .elementor-element.elementor-element-5655dd3{--width:500px;}}@media(max-width:1024px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-7765 .elementor-element.elementor-element-7373ba9c{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-7765 .elementor-element.elementor-element-5655dd3{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-7765 .elementor-element.elementor-element-2f56ec8{width:100%;max-width:100%;font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}@media(max-width:767px){.elementor-7765 .elementor-element.elementor-element-0bbb118{--min-height:73px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-7765 .elementor-element.elementor-element-a1f5e87 .elementor-heading-title{font-size:78px;line-height:1.5em;}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-7765 .elementor-element.elementor-element-2f56ec8{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}/* Start custom CSS for html, class: .elementor-element-a0fce9c */.toc-wrap {
  position: absolute;
  top: 0px;
  left: 45%;
  z-index: 80;
}

#toc-close {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

#toc-close img {
  display: block;
  width: 34px;   /* säädä */
  height: auto;
}

#toc-toggle {
  padding: 8px 14px;
  cursor: pointer;
  z-index: 101;
}

#toc-toggle {
  font-family: "Typographer Rotunda";
  color: #C2793B;
  font-size: 18px;

  background: transparent;       
  border: 0.5px solid #C2793B; 
  border-radius: 999px;           

  padding: 8px 16px;
  cursor: pointer;

  transition: all 0.2s ease;
}

#toc-toggle:hover {
  background: #C2793B;
  color: #0E0909;
}

/* SISÄLLYSLUETTELON OVERLAY */
#toc-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 90;
  background: #0E0909;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

/* overlay näkyvissä */
#toc-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


#toc-panel {
  width: 1000px;
  overflow-y: auto;
  padding: 32px;
  box-sizing: border-box;

  background: transparent;
  border-radius: 0;
}

#toc-panel h2 {
  color: #C2793B;
  margin-top: 0;
  margin-bottom: 24px;
  font-family: "Typographer Rotunda";
}

#toc-close {
  float: right;
  cursor: pointer;
  background: transparent;
  color: white;
  border: none;
  font-family: "Typographer Rotunda";
  font-size: 18px;
}

.toc-grid {
  column-count: 2;
  column-gap: 40px;
}

.toc-grid a {
  display: block;
  break-inside: avoid;
  margin-bottom: 12px;
}

.toc-grid a {
  color: #EDE7E2;          /* perusväri */
  text-decoration: none;   /* poistaa alleviivauksen */
  transition: color 0.2s ease;
  font-family: "Typographer Rotunda";
  font-size: 18px;   /* säädä tarpeen mukaan */
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0em;
  
}

.toc-grid a:hover {
  color: #C2793B;          /* hover-väri */
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.toc-flower {
  width: 20px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  transform: translateY(3px); /* säädä + / - */
  margin-right: 7px;
}

.toc-item span {
  color: #EDE7E2;
  transition: color 0.2s ease;
}

.toc-item:hover span {
  color: #7E4413;
}

.indent {
  display: inline-block;
  padding-left: 1.4em;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-27e658bc */.panorama-wrapper {
  overflow-x: auto;
  position: relative;
}

.wide-inner {
  position: relative;
  width: max-content;
}

.panorama-base {
  height: 400px;
  width: auto;
  max-width: none;
  display: block;
}

/* Hotspots */
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.hotspot img {
  width: 80px;
  height: auto;
  pointer-events: auto;
}

/* Content panel */
#panorama-content {
  margin-top: 20px;
  padding: 20px;
  background: #f5f5f5;
}/* End custom CSS */
/* Start custom CSS *//* PERUSNÄKYVYYS
- desktop näkyy oletuksena
- mobiiliversio piilossa */

.panorama-desktop {
  display: block;
}

.panorama-mobile {
  display: none;
}

.panorama-shell {
  position: relative;
  width: 100%;
  z-index: 0;
}

.panorama-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
}

/* Chrome, Edge, Safari */
.panorama-wrapper::-webkit-scrollbar {
  display: none;
}

/* ARTIKKELIALUE / IFRAME
- piilossa ennen ensimmäistä klikkausta
 */

#panorama-content {
  display: none;
  background: transparent;
}

#panorama-content iframe {
  width: 100%;
  border: none;
  background: transparent;
  display: block;
}

#panorama-content {
  max-width: 1000px;     /* säädä tämä */
  margin: 0 auto;       /* keskittää */
}


/* fade-alueet panoraaman reunoille */
.panorama-shell::before,
.panorama-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;              /* säädä fade-alueen leveys */
  pointer-events: none;      /* ei estä klikkauksia */
  z-index: 30;
}

/* vasen fade */
.panorama-shell::before {
  left: 0;
  background: linear-gradient(
    to right,
    #0E0909 0%,
    rgba(16, 7, 7, 0.7) 40%,
    rgba(16, 7, 7, 0) 100%
  );
}

/* oikea fade */
.panorama-shell::after {
  right: 0;
  background: linear-gradient(
    to left,
    #0E0909 0%,
    rgba(16, 7, 7, 0.7) 40%,
    rgba(16, 7, 7, 0) 100%
  );
}


/* NUOLET */

.wide-inner {
  position: relative;
  width: 8000px;   
  height: 500px;   
}

.panorama-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.panorama-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;

  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;

  cursor: pointer;
}

.panorama-arrow:hover,
.panorama-arrow:focus,
.panorama-arrow:active {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.panorama-arrow img {
  display: block;
  width: 50px; /* säädä tarvittaessa */
  height: auto;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.panorama-arrow:hover img,
.panorama-arrow:focus img {
  transform: scale(1.07);
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* HOTSPOTIT
 */

.hotspot {
  position: absolute;
  transform: none;
}

.hotspot img {
  display: block;
  width: 147px;
  height: auto;
}

.hotspot {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hotspot:hover {
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.6));
  transform: scale(1.04);
}

/* Debug: näytä hotspotin alue tarvittaessa */

/* .hotspot {
  outline: 2px solid red;
} */

/* HOTSPOTIN OTSIKKO / HOVER
- desktopissa näkyy hoverilla */

.hotspot-title {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  opacity: 0;
  pointer-events: none;

  width: max-content;
  max-width: 300px;

  white-space: normal;
  text-align: center;

  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;

  /* KEVENNETTY: vain opacity */
  transition: opacity 0.4s ease;

  color: #EDE7E2;
  font-family: "Typographer Rotunda";
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.1;

}

.hotspot:hover .hotspot-title {
  opacity: 1;
}


/* PALAA PUUTARHAAN -NAPPI */

.back-button-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.back-button-wrap.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#back-to-garden {
  position: fixed;
  left: calc(50% + 35vw); /* säädä tämä */
  bottom: 40px;
  z-index: 20000;
  width: 80px;
  height: auto;

  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  cursor: pointer;

  transition: opacity 0.3s ease, transform 0.3s ease, bottom 0.3s ease;
}

#back-to-garden:hover {
  transform: translateY(-2px);
}

#back-to-garden.avoid-footer {
  bottom: 260px; /* footer-väistö */
}

/* MOBIILI
- desktop-panoraama piiloon
- mobiilipanoraama näkyviin
- iframe-aluetta ei käytetä
- otsikot aina näkyvissä */

@media (max-width: 1024px) {

  .panorama-desktop {
    display: none;
  }

  .panorama-mobile {
    display: block;
  }

  #panorama-content {
    display: none !important;
  }
  
  .mobile-inner {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.panorama-base-mobile {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  position: relative;
  left: auto;
  transform: none;
}


  .panorama-mobile .hotspot {
    position: absolute;
    transform: none;
    cursor: pointer;
  }

  .hotspot-title {
    opacity: 1 !important;
    max-width: 200px;       /* SÄÄDÄ tätä */
    white-space: normal;    /* sallii rivittymisen */
    text-align: center;

    font-size: 20px;        /* pienempi teksti mobiiliin */
    line-height: 1.2;

    left: 50%;              /* keskittää otsikon hotspotin alle */
    transform: translateX(-50%) translateY(0);

    text-shadow:
      0 2px 4px rgba(0,0,0,0.8),
      0 6px 12px rgba(0,0,0,0.6);
    
  }
  
/* Klikkauspalaute */

    .panorama-mobile .hotspot {
      transform: scale(1);
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                  filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .panorama-mobile .hotspot:active {
      transform: scale(0.88);
      filter: brightness(1.15);
    
      transition: transform 0.12s ease-out,
                  filter 0.12s ease-out;
    }
        
    .hotspot-title {
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                  opacity 0.3s ease;
    }
    
    .hotspot:active .hotspot-title {
      transform: translateX(-50%) scale(0.9);
      opacity: 0.8;
    
      transition: transform 0.12s ease-out,
                  opacity 0.12s ease-out;
    }
    
    

}/* End custom CSS */