/* Circle timeline widget (replicates https://www.myhealthprac.com/ "circle-timeline") */

.icesco-circle-timeline {
  /* Webflow uses an em-based scale; we match its computed base font-size. */
  font-size: 14.16px;
  font-family: "BwGradual", sans-serif;
  --icesco-ct-white: rgba(241, 241, 241, 1);
  --icesco-ct-yellow: #ffb937;
  --icesco-ct-faint: rgba(241, 241, 241, 0.45);
}

/* Full-bleed section regardless of theme/container constraints */
.icesco-circle-timeline {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.icesco-circle-timeline .scroll_section {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  overflow: hidden;
  z-index: 2;
}

/* Tablet/phone: JS pins with position:fixed (see circle-timeline.js) */
@media screen and (max-width: 1024px), (hover: none) {
  .icesco-circle-timeline .scroll_section {
    position: relative;
    top: auto;
  }

  .icesco-circle-timeline .scroll_section.is-pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
  }

  .icesco-circle-timeline .scroll_section.is-pinned-end {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
  }
}

.icesco-circle-timeline .scroll_track {
  position: relative;
}

/* Elementor flex containers often set overflow:hidden and break position:sticky */
.elementor-widget-icesco-circle-timeline,
.elementor-widget-icesco-circle-timeline > .elementor-widget-container {
  overflow: visible !important;
}

.elementor-element:has(.icesco-circle-timeline) {
  overflow: visible !important;
}

.icesco-circle-timeline .page-wrapper,
.icesco-circle-timeline .main-wrapper,
.icesco-circle-timeline .section {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.icesco-circle-timeline .container.is-timeline {
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  height: 100dvh;
  padding: 38vh 0px 0px;
  display: flex;
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.icesco-circle-timeline .circle_wrap {
  flex: 0 0 auto;
  width: 90em;
  height: 42em;
  margin-top: auto;
  overflow: visible;
}

.icesco-circle-timeline .circle_height {
  width: 100%;
  padding-top: 100%;
  position: relative;
}

.icesco-circle-timeline .circle {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition:
    transform 0.6s cubic-bezier(0.445, 0.05, 0.55, 0.95),
    opacity 0.4s;
  display: flex;
  position: absolute;
  inset: 0%;
}

.icesco-circle-timeline .circle_wrapper {
  width: 100%;
  height: 100%;
}

.icesco-circle-timeline .circle_list {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.icesco-circle-timeline .circle_item {
  pointer-events: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
  position: absolute;
  transform: rotate(0deg);
}

.icesco-circle-timeline .circle_item.current .circle_description {
  transition-delay: 500ms;
  opacity: 1;
}

.icesco-circle-timeline .circle_item.current .circle_dot {
  background-color: var(--icesco-ct-yellow);
}

.icesco-circle-timeline .circle_link {
  pointer-events: none;
}

.icesco-circle-timeline .circle_link:hover .circle_dot {
  transform: scale(0.7);
}

.icesco-circle-timeline .circle_link:hover .circle_date {
  opacity: 0.7;
}

.icesco-circle-timeline .circle_link-2 {
  margin-top: -4.5em;
  display: block;
  position: relative;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.icesco-circle-timeline .circle_date {
  width: 2.85em;
  height: 2.85em;
  color: var(--icesco-ct-white);
  background-color: rgba(241, 241, 241, 0);
  border: 1px solid rgba(241, 241, 241, 0.45);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.8em;
  padding: 18px 16px 16px;
  font-size: 1.1em;
  transition: opacity 0.3s;
  display: flex;
}

.icesco-circle-timeline .circle_dot {
  background-color: var(--icesco-ct-white);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s;
  display: block;
}

.icesco-circle-timeline .circle_description {
  opacity: 0;
  flex-flow: column;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 30em;
  height: auto;
  margin-top: 10em;
  transition: opacity 0.45s ease-in-out;
  display: flex;
  position: absolute;
  z-index: 2;
}

.icesco-circle-timeline .circle_line {
  background-color: rgba(241, 241, 241, 0.65);
  width: 1px;
  height: 10.5em;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  inset: 0px 0% auto;
  transform: translateY(-100%);
}

.icesco-circle-timeline .circle_p {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.03em;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.4;
}

.icesco-circle-timeline .circle_p.headline_circle {
  width: 100%;
  color: var(--icesco-ct-white);
  margin-bottom: 0px;
  font-size: 2em;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.icesco-circle-timeline .circle_p.base_txt {
  color: rgba(241, 241, 241, 0.9);
  letter-spacing: 0.01em;
  width: 26ch;
  max-width: 100%;
  margin-bottom: 0px;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.icesco-circle-timeline .txt_circle {
  gap: 8px;
  flex-flow: column;
  margin-top: 2em;
  align-items: center;
  text-align: center;
  display: flex;
}

/* Ensure theme section styles don't center this widget incorrectly */
.icesco-circle-timeline .section {
  width: 100%;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .icesco-circle-timeline .container.is-timeline {
    padding-top: 32vh;
  }

  .icesco-circle-timeline .circle_wrap {
    font-size: 2vw;
  }
  .icesco-circle-timeline .container.is-timeline {
    padding-left: 0px;
    padding-right: 0px;
  }
  .icesco-circle-timeline .circle_link-2 {
    margin-top: -9.1em;
    font-size: 1vw;
  }
  .icesco-circle-timeline .circle_date {
    width: 3em;
    height: 3em;
    font-size: 2.15em;
  }
  .icesco-circle-timeline .circle_description {
    width: 80em;
    font-size: 1vw;
  }
  .icesco-circle-timeline .circle_p.headline_circle {
    width: auto;
    font-size: 3.5em;
  }
  .icesco-circle-timeline .circle_p.base_txt {
    width: 41ch;
    font-size: 1.75em;
  }
}

@media screen and (max-width: 767px) {
  .icesco-circle-timeline .container.is-timeline {
    padding-top: 24vh;
  }

  .icesco-circle-timeline .circle_link-2 {
    margin-top: -9.2em;
    font-size: 1vw;
  }
  .icesco-circle-timeline .circle_date {
    font-size: 2.15em;
  }
  .icesco-circle-timeline .circle_p.headline_circle {
    font-size: 3.25em;
  }
  .icesco-circle-timeline .circle_p.base_txt {
    font-size: 2.15em;
  }
}

@media screen and (max-width: 479px) {
  .icesco-circle-timeline .circle_wrap {
    width: 65em;
    height: 44em;
    font-size: 2.5vw;
    position: relative;
    overflow: hidden;
  }
  .icesco-circle-timeline .container.is-timeline {
    height: 100vh;
    height: 100dvh;
    padding-top: 18vh;
    overflow: hidden;
  }
  .icesco-circle-timeline .circle_item {
    justify-content: flex-start;
    align-items: center;
  }
  .icesco-circle-timeline .circle_link-2 {
    flex-flow: column;
    margin-top: -2em;
    display: flex;
  }
  .icesco-circle-timeline .circle_date {
    width: 3.5em;
    height: 3.5em;
    margin-top: 0.8em;
    margin-bottom: 0px;
    padding: 4px 2px 2px;
    font-size: 4em;
  }
  .icesco-circle-timeline .circle_dot {
    order: -1;
  }
  .icesco-circle-timeline .circle_description {
    width: 105ch;
    margin-top: 30em;
  }
  .icesco-circle-timeline .circle_p.headline_circle {
    font-size: 6em;
  }
  .icesco-circle-timeline .circle_p.base_txt {
    width: auto;
    font-size: 4.25em;
  }
}

