/* s04-philosophy — Exact lavadental.lv WheelBlock (#about Act C) */
#philosophy.ws-wheel-root {
  --whl-whole: 1290px;
  --whl-pad-x: clamp(1.5rem, 1.3636rem + 0.6061vw, 1.875rem);
  --whl-gutter: clamp(1rem, 0.6818rem + 1.4141vw, 1.875rem);
  position: relative;
  z-index: 5;
  background-color: #031c14;
  color: #ddefde;
}

#philosophy .ws-wheel-container {
  width: min(var(--whl-whole), calc(100% - var(--whl-pad-x) * 2));
  margin-inline: auto;
}

#philosophy .ws-wheel-track {
  position: relative;
  overflow: clip;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-track {
    height: 300vh;
    overflow: visible;
  }
}

#philosophy .ws-wheel-sticky {
  padding: clamp(6rem, 7vw, 9rem) 0;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding: clamp(8.5rem, 9.8vw, 10.75rem) 0 0;
    overflow: hidden;
  }
}

#philosophy .ws-wheel-heading {
  margin: 0;
  font-family: 'Josefin Sans', 'Jost', sans-serif;
  font-size: clamp(2.4414rem, 1.894rem + 2.4327vw, 3.9467rem);
  font-weight: 500;
  line-height: 1.08;
  color: #ddefde;
  text-wrap: balance;
}

@media screen and (min-width: 960px) {
  #philosophy .ws-wheel-heading {
    max-width: 57.36%;
  }
}

#philosophy .ws-wheel-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(4rem, 5vw, 6rem) var(--whl-gutter);
  margin-top: clamp(3rem, 4vw, 5rem);
}

@media screen and (min-width: 960px) {
  #philosophy .ws-wheel-body {
    grid-template-columns: repeat(12, 1fr);
  }
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-body {
    height: 44svh;
    margin-top: auto;
    position: relative;
  }
}

#philosophy .ws-wheel-body-inner {
  grid-column: 1 / -1;
}

@media screen and (min-width: 960px) {
  #philosophy .ws-wheel-body-inner {
    grid-column: 2 / -2;
  }
}

#philosophy .ws-wheel-stage {
  position: relative;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-stage {
    aspect-ratio: 1;
  }
}

#philosophy .ws-wheel-svg {
  display: none;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-svg {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: 50% 50%;
    will-change: transform;
  }
}

#philosophy .ws-wheel-dot {
  fill: #dbc093;
  transform-box: content-box;
  transform-origin: 50% 50%;
  transition: transform 0.8s cubic-bezier(0.33, 0, 0.11, 1);
}

#philosophy .ws-wheel-step.is-active .ws-wheel-dot {
  transform: scale(1.5);
}

#philosophy .ws-wheel-bubble {
  stroke: rgba(221, 239, 222, 0.5);
  fill: transparent;
  transition: fill 0.8s cubic-bezier(0.33, 0, 0.11, 1), stroke 0.8s cubic-bezier(0.33, 0, 0.11, 1);
}

#philosophy .ws-wheel-step.is-active .ws-wheel-bubble {
  fill: #ddefde;
  stroke: #ddefde;
}

#philosophy .ws-wheel-num {
  fill: #ddefde;
  font-size: 26px;
  font-weight: 500;
}

#philosophy .ws-wheel-step.is-active .ws-wheel-num {
  fill: #031c14;
}

#philosophy .ws-wheel-line {
  stroke: #ddefde;
  transform-box: content-box;
  transform-origin: top center;
  transform: scale(1, 0);
  transition: transform 1.2s cubic-bezier(0.33, 0, 0.11, 1);
}

#philosophy .ws-wheel-step.is-active .ws-wheel-line {
  transform: scale(1, 1);
}

#philosophy .ws-wheel-active-item {
  display: none;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-active-item {
    display: block;
    position: absolute;
    top: 21%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    text-align: center;
  }
}

#philosophy .ws-wheel-active-title {
  margin: 0;
  font-family: 'Josefin Sans', 'Jost', sans-serif;
  font-size: clamp(1.5625rem, 1.323rem + 1.0644vw, 2.2211rem);
  font-weight: 500;
  line-height: 1.2;
  color: #dbc093;
}

#philosophy .ws-wheel-active-desc {
  margin: 16px 0 0;
  font-size: clamp(1rem, 0.9091rem + 0.404vw, 1.25rem);
  line-height: 1.5;
  color: #ddefde;
}

#philosophy .ws-wheel-mobile-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media screen and (min-width: 960px) and (min-height: 660px) {
  #philosophy .ws-wheel-mobile-list {
    display: none;
  }
}

#philosophy .ws-wheel-mobile-card {
  padding-top: 20px;
  border-top: 1px solid rgba(221, 239, 222, 0.2);
}

#philosophy .ws-wheel-mobile-title {
  margin: 0;
  font-family: 'Josefin Sans', 'Jost', sans-serif;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  font-weight: 500;
  color: #dbc093;
}

#philosophy .ws-wheel-mobile-body {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(221, 239, 222, 0.86);
}
