/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.sh-bar-chart {
  --sh-axis-color: #231f19;
  --sh-text-color: #1d1912;
  --sh-feature-fill: #ffb400;
  --sh-secondary-fill: linear-gradient(180deg, #f7e8c2 0%, #f2dfb0 100%);
  --sh-chart-inset-left: 0px;
  --sh-chart-inset-right: 0px;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  overflow: hidden;
}

.sh-bar-chart__scroller {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.sh-bar-chart__frame {
  width: 100%;
  min-width: 0;
  height: var(--sh-chart-height, 480px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.875rem;
}

.sh-bar-chart__plot,
.sh-bar-chart__labels,
.sh-bar-chart__plot-content,
.sh-bar-chart__labels-content {
  min-width: 0;
}

.sh-bar-chart__plot-content,
.sh-bar-chart__labels-content {
  display: grid;
  grid-template-columns: var(--sh-chart-grid, minmax(0, 1fr));
  column-gap: clamp(0.45rem, 1vw, 0.7rem);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-left: var(--sh-chart-inset-left);
  padding-right: var(--sh-chart-inset-right);
}

.sh-bar-chart__plot-content {
  align-items: end;
}

.sh-bar-chart__plot {
  position: relative;
  min-height: 0;
  padding-top: clamp(1.5rem, 8cqi, 4rem);
}

.sh-bar-chart__plot::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--sh-axis-color);
}

.sh-bar-chart__plot-item {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  min-width: 0;
  align-items: end;
}

.sh-bar-chart__bar {
  position: relative;
  width: 100%;
  height: calc(var(--bar-ratio, 0) * 100%);
  min-height: 0;
  border-radius: 1.75rem 1.75rem 0 0;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  background: var(--sh-secondary-fill);
}

.sh-bar-chart__plot-item.is-featured .sh-bar-chart__bar {
  background: var(--sh-feature-fill);
}

.sh-bar-chart__plot-item:not(.is-featured) .sh-bar-chart__bar {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.sh-bar-chart__bar-value {
  position: absolute;
  bottom: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  line-height: 1;
  color: var(--sh-text-color);
  z-index: 2;
  white-space: nowrap;
}

.sh-bar-chart__featured-value {
  position: absolute;
  top: clamp(0.1rem, 1cqi, 0.6rem);
  left: calc(100% + 7px);
  font-size: clamp(5rem, 30cqi, 11rem);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--featured-value-color, #ffad00);
  z-index: 3;
  white-space: nowrap;
  max-inline-size: min(4.25ch, 62cqi);
  pointer-events: none;
}

.sh-bar-chart__labels {
  align-items: start;
}

.sh-bar-chart__label {
  padding-top: 0.15rem;
  text-align: center;
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  line-height: 0.92;
  color: var(--sh-text-color);
  text-wrap: balance;
}

@container (max-width: 680px) {
  .sh-bar-chart__plot {
    padding-top: 2rem;
  }

  .sh-bar-chart__featured-value {
    left: calc(100% + 7px);
    font-size: clamp(3.6rem, 26cqi, 6.5rem);
  }
}

@media (max-width: 767px) {
  .sh-bar-chart__frame {
    gap: 0.7rem;
  }

  .sh-bar-chart__plot {
    padding-top: 2rem;
  }

  .sh-bar-chart__featured-value {
    font-size: clamp(3.6rem, 20vw, 6rem);
  }

  .sh-bar-chart__label {
    font-size: 0.88rem;
  }
}

.sh-horizontal-rank-chart {
  --sh-horizontal-axis: rgba(106, 67, 28, 0.55);
  --sh-horizontal-text: #18130d;
  --sh-horizontal-bar-height: 48px;
  --sh-horizontal-row-gap: 6px;
  --sh-horizontal-value-offset: 20px;
  --sh-horizontal-bar-radius: 13px;
  width: 100%;
  min-width: 0;
}

.sh-horizontal-rank-chart__list {
  position: relative;
  display: grid;
  gap: var(--sh-horizontal-row-gap);
  padding-left: 1px;
}

.sh-horizontal-rank-chart__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--sh-horizontal-axis);
}

.sh-horizontal-rank-chart__row {
  position: relative;
  width: calc(100% - 4.25rem);
  min-width: 0;
}

.sh-horizontal-rank-chart__bar {
  width: calc(var(--bar-ratio, 0) * 100%);
  min-height: var(--sh-horizontal-bar-height);
  display: flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  border-radius: 0 var(--sh-horizontal-bar-radius) var(--sh-horizontal-bar-radius) 0;
  color: var(--sh-horizontal-text);
  box-sizing: border-box;
}

.sh-horizontal-rank-chart__label {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.05;
  color: var(--sh-horizontal-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-horizontal-rank-chart__value {
  position: absolute;
  top: 50%;
  left: calc((var(--bar-ratio, 0) * 100%) + var(--sh-horizontal-value-offset));
  transform: translateY(-50%);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1;
  font-weight: 500;
  color: var(--value-color, #231f19);
  white-space: nowrap;
}

.sh-horizontal-rank-chart .is-gradient-text {
  display: inline-block;
  color: transparent;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .sh-horizontal-rank-chart__row {
    width: calc(100% - 3.5rem);
  }

  .sh-horizontal-rank-chart__bar {
    min-height: 42px;
    padding: 0.55rem 1rem;
  }

  .sh-horizontal-rank-chart__label {
    font-size: 0.95rem;
  }

  .sh-horizontal-rank-chart__value {
    left: calc((var(--bar-ratio, 0) * 100%) + 12px);
    font-size: 1rem;
  }
}

.sh-grouped-chart {
  --sh-grouped-chart-height: 480px;
  --sh-grouped-group-gap: 32px;
  --sh-grouped-bar-gap: 10px;
  --sh-grouped-grid: repeat(3, minmax(0, 1fr));
  --sh-grouped-inset-left: 0px;
  --sh-grouped-inset-right: 0px;
  --sh-grouped-text: #241c15;
  --sh-grouped-subtle: rgba(36, 28, 21, 0.88);
  --sh-grouped-axis: rgba(62, 48, 36, 0.72);
  width: 100%;
  min-width: 0;
}

.sh-grouped-chart__header {
  margin-bottom: 1.35rem;
}

.sh-grouped-chart__title {
  max-width: 42rem;
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
  line-height: 1.25;
  color: var(--sh-grouped-text);
}

.sh-grouped-chart__subtitle {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.35;
  color: var(--sh-grouped-subtle);
}

.sh-grouped-chart__frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0.9rem;
}

.sh-grouped-chart__plot,
.sh-grouped-chart__labels-content {
  min-width: 0;
}

.sh-grouped-chart__plot {
  position: relative;
  height: var(--sh-grouped-chart-height);
  padding-top: 0.15rem;
}

.sh-grouped-chart__plot::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--sh-grouped-axis);
}

.sh-grouped-chart__plot-content,
.sh-grouped-chart__labels-content {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: var(--sh-grouped-grid);
  gap: var(--sh-grouped-group-gap);
  width: 100%;
  min-width: 0;
  padding-left: var(--sh-grouped-inset-left);
  padding-right: var(--sh-grouped-inset-right);
}

.sh-grouped-chart__plot-content {
  align-items: end;
  height: 100%;
}

.sh-grouped-chart__group {
  min-width: 0;
  height: 100%;
}

.sh-grouped-chart__bars {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--sh-grouped-bar-gap);
  align-items: end;
  height: 100%;
}

.sh-grouped-chart__bar-wrap {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: end;
}

.sh-grouped-chart__bar {
  position: relative;
  width: 100%;
  height: calc(var(--bar-ratio, 0) * 100%);
  min-height: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0.85rem 0.45rem;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  background: #f4e3b8;
}

.sh-grouped-chart__value {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  line-height: 1;
  color: var(--bar-value-color, #231f19);
  white-space: nowrap;
}

.sh-grouped-chart__labels-content {
  align-items: start;
}

.sh-grouped-chart__label {
  min-width: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.05;
  color: var(--sh-grouped-text);
  text-wrap: balance;
}

.sh-grouped-chart__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding-top: 33px;
}

.sh-grouped-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.sh-grouped-chart__legend-swatch {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: #f4e3b8;
}

.sh-grouped-chart__legend-label {
  font-size: 13px;
  line-height: 1.1;
  color: var(--sh-grouped-text);
}

@media (max-width: 767px) {
  .sh-grouped-chart__header {
    margin-bottom: 1rem;
  }

  .sh-grouped-chart__plot {
    height: min(64vw, var(--sh-grouped-chart-height));
    min-height: 320px;
  }

  .sh-grouped-chart__plot-content,
  .sh-grouped-chart__labels-content {
    gap: 18px;
  }

  .sh-grouped-chart__bars {
    gap: var(--sh-grouped-bar-gap);
  }

  .sh-grouped-chart__bar {
    border-radius: 0.85rem 0.85rem 0 0;
    padding-bottom: 0.7rem;
  }

  .sh-grouped-chart__value {
    font-size: 13px;
  }

  .sh-grouped-chart__label {
    font-size: 13px;
  }

  .sh-grouped-chart__legend {
    gap: 0.8rem 1.2rem;
  }

  .sh-grouped-chart__legend-label {
    font-size: 13px;
  }
}

.sh-line-chart {
  --sh-line-chart-height: 560px;
  --sh-line-width: 8px;
  --sh-line-core-width: 4px;
  --sh-line-glow-blur: 24px;
  --sh-line-glow-spread: 18px;
  --sh-line-marker-size: 10px;
  --sh-line-glow-color: #ff8a00;
  --sh-line-color: #ffb300;
  --sh-line-core-color: #ffffff;
  --sh-line-text: #221a14;
  --sh-line-subtle: rgba(34, 26, 20, 0.85);
  --sh-line-axis: rgba(62, 48, 36, 0.75);
  --sh-line-grid: rgba(146, 129, 109, 0.16);
  width: 100%;
  min-width: 0;
}

.sh-line-chart__header {
  margin-bottom: 1.2rem;
}

.sh-line-chart__title {
  max-width: 48rem;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1.22;
  color: var(--sh-line-text);
}

.sh-line-chart__subtitle {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.35;
  color: var(--sh-line-subtle);
}

.sh-line-chart__shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.sh-line-chart__plot-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 0;
  align-items: stretch;
}

.sh-line-chart__y-axis {
  position: relative;
  min-width: 0;
}

.sh-line-chart__y-label {
  position: absolute;
  left: 0;
  font-size: 13px;
  line-height: 1;
  color: var(--sh-line-text);
  white-space: nowrap;
}

.sh-line-chart__y-label--max {
  top: 0;
}

.sh-line-chart__plot {
  position: relative;
  height: var(--sh-line-chart-height);
  min-width: 0;
  overflow: visible;
}

.sh-line-chart__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: var(--sh-line-grid-columns);
  pointer-events: none;
}

.sh-line-chart__grid-line {
  justify-self: center;
  width: 1px;
  height: 100%;
  background: var(--sh-line-grid);
}

.sh-line-chart__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sh-line-chart__path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sh-line-chart__path--glow-outer {
  stroke: var(--sh-line-glow-color);
  stroke-width: calc(var(--sh-line-width) + (var(--sh-line-glow-spread) * 0.45));
  opacity: 0.14;
  filter: blur(calc(var(--sh-line-glow-blur) * 0.18));
}

.sh-line-chart__path--glow-inner {
  stroke: var(--sh-line-glow-color);
  stroke-width: calc(var(--sh-line-width) + 3px);
  opacity: 0.28;
  filter: blur(calc(var(--sh-line-glow-blur) * 0.08));
}

.sh-line-chart__path--noise {
  stroke: var(--sh-line-glow-color);
  stroke-width: calc(var(--sh-line-width) + var(--sh-line-glow-spread) + 4px);
  opacity: var(--sh-line-noise-opacity, 0.65);
}

.sh-line-chart__noise-particle {
  fill: var(--sh-line-glow-color);
  shape-rendering: crispEdges;
}

.sh-line-chart__path--stroke {
  stroke: var(--sh-line-color);
  stroke-width: var(--sh-line-width);
}

.sh-line-chart__path--core {
  stroke: var(--sh-line-core-color);
  stroke-width: var(--sh-line-core-width);
}

.sh-line-chart__marker {
  fill: var(--sh-line-core-color);
  stroke: var(--sh-line-color);
  stroke-width: 3;
  filter: drop-shadow(0 0 10px var(--sh-line-glow-color));
}

.sh-line-chart__x-axis {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  border-top: 1px solid var(--sh-line-axis);
  padding-top: 20px;
  align-items: start;
}

.sh-line-chart__x-axis-spacer {
  min-width: 0;
}

.sh-line-chart__plot-min {
  position: absolute;
  left: -10px;
  bottom: 20px;
  transform: translateX(-100%);
  font-size: 13px;
  line-height: 1;
  color: var(--sh-line-text);
  white-space: nowrap;
  z-index: 2;
}

.sh-line-chart__x-labels {
  display: grid;
  grid-template-columns: var(--sh-line-grid-columns);
  min-width: 0;
}

.sh-line-chart__x-label {
  text-align: center;
  font-size: 13px;
  line-height: 1.1;
  color: var(--sh-line-text);
}

@media (max-width: 767px) {
  .sh-line-chart__plot-row,
  .sh-line-chart__x-axis {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .sh-line-chart__plot {
    height: min(70vw, var(--sh-line-chart-height));
    min-height: 320px;
  }

  .sh-line-chart__x-axis {
    padding-top: 16px;
  }

  .sh-line-chart__x-label,
  .sh-line-chart__y-label,
  .sh-line-chart__plot-min {
    font-size: 12px;
  }
}

.sh-bar-chart.is-chart-animatable .sh-bar-chart__plot::after,
.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__plot::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sh-bar-chart.is-chart-visible .sh-bar-chart__plot::after,
.sh-grouped-chart.is-chart-visible .sh-grouped-chart__plot::after {
  transform: scaleX(1);
}

.sh-bar-chart.is-chart-animatable .sh-bar-chart__bar,
.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__bar {
  transform: scaleY(0.001);
  transform-origin: center bottom;
  opacity: 0.55;
  will-change: transform, opacity;
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
  transition-delay: calc(0.12s + (var(--sh-viewport-index, 0) * 0.07s));
}

.sh-bar-chart.is-chart-visible .sh-bar-chart__bar,
.sh-grouped-chart.is-chart-visible .sh-grouped-chart__bar {
  transform: scaleY(1);
  opacity: 1;
}

.sh-bar-chart.is-chart-animatable .sh-bar-chart__featured-value {
  opacity: 0;
  transform: translate3d(-18px, 12px, 0);
  filter: blur(8px);
  transition:
    opacity 0.45s ease,
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.85s ease;
  transition-delay: 0.26s;
}

.sh-bar-chart.is-chart-visible .sh-bar-chart__featured-value {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.sh-bar-chart.is-chart-animatable .sh-bar-chart__bar-value {
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.4s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(0.32s + (var(--sh-viewport-index, 0) * 0.05s));
}

.sh-bar-chart.is-chart-visible .sh-bar-chart__bar-value {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sh-bar-chart.is-chart-animatable .sh-bar-chart__label,
.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__title,
.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__subtitle,
.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__label,
.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__legend-item,
.sh-line-chart.is-chart-animatable .sh-line-chart__title,
.sh-line-chart.is-chart-animatable .sh-line-chart__subtitle,
.sh-line-chart.is-chart-animatable .sh-line-chart__y-label,
.sh-line-chart.is-chart-animatable .sh-line-chart__plot-min,
.sh-line-chart.is-chart-animatable .sh-line-chart__x-label {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  will-change: transform, opacity;
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(0.12s + (var(--sh-viewport-index, 0) * 0.06s));
}

.sh-bar-chart.is-chart-visible .sh-bar-chart__label,
.sh-grouped-chart.is-chart-visible .sh-grouped-chart__title,
.sh-grouped-chart.is-chart-visible .sh-grouped-chart__subtitle,
.sh-grouped-chart.is-chart-visible .sh-grouped-chart__label,
.sh-grouped-chart.is-chart-visible .sh-grouped-chart__legend-item,
.sh-line-chart.is-chart-visible .sh-line-chart__title,
.sh-line-chart.is-chart-visible .sh-line-chart__subtitle,
.sh-line-chart.is-chart-visible .sh-line-chart__y-label,
.sh-line-chart.is-chart-visible .sh-line-chart__plot-min,
.sh-line-chart.is-chart-visible .sh-line-chart__x-label {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sh-grouped-chart.is-chart-animatable .sh-grouped-chart__value {
  opacity: 0;
  transition: opacity 0.35s ease;
  transition-delay: calc(0.34s + (var(--sh-viewport-index, 0) * 0.06s));
}

.sh-grouped-chart.is-chart-visible .sh-grouped-chart__value {
  opacity: 1;
}

.sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__list::before {
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sh-horizontal-rank-chart.is-chart-visible .sh-horizontal-rank-chart__list::before {
  transform: scaleY(1);
}

.sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__row {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.45s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--sh-viewport-index, 0) * 0.07s);
}

.sh-horizontal-rank-chart.is-chart-visible .sh-horizontal-rank-chart__row {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__bar {
  transform: scaleX(0.001);
  transform-origin: left center;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.08s + (var(--sh-viewport-index, 0) * 0.07s));
}

.sh-horizontal-rank-chart.is-chart-visible .sh-horizontal-rank-chart__bar {
  transform: scaleX(1);
}

.sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__value {
  opacity: 0;
  transform: translate(12px, -50%);
  transition:
    opacity 0.35s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(0.24s + (var(--sh-viewport-index, 0) * 0.07s));
}

.sh-horizontal-rank-chart.is-chart-visible .sh-horizontal-rank-chart__value {
  opacity: 1;
  transform: translate(0, -50%);
}

.sh-line-chart.is-chart-animatable .sh-line-chart__grid-line {
  transform: scaleY(0);
  transform-origin: center bottom;
  opacity: 0;
  transition:
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.4s ease;
  transition-delay: calc(0.16s + (var(--sh-viewport-index, 0) * 0.04s));
}

.sh-line-chart.is-chart-visible .sh-line-chart__grid-line {
  transform: scaleY(1);
  opacity: 1;
}

.sh-line-chart.is-chart-animatable .sh-line-chart__path {
  stroke-dasharray: var(--sh-path-length, 0);
  stroke-dashoffset: var(--sh-path-length, 0);
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1) var(--sh-path-delay, 0.2s);
}

.sh-line-chart.is-chart-visible .sh-line-chart__path {
  stroke-dashoffset: 0;
}

.sh-line-chart.is-chart-animatable .sh-line-chart__noise-particle {
  opacity: 0 !important;
  transform-box: fill-box;
  transform-origin: center center;
  transform: scale(0.35);
  transition:
    opacity 0.45s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(0.3s + (var(--sh-viewport-index, 0) * 0.03s));
}

.sh-line-chart.is-chart-visible .sh-line-chart__noise-particle {
  opacity: var(--sh-particle-opacity, 1) !important;
  transform: scale(1);
}

.sh-line-chart.is-chart-animatable .sh-line-chart__marker {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center center;
  transform: scale(0.2);
  transition:
    opacity 0.35s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: 1.05s;
}

.sh-line-chart.is-chart-visible .sh-line-chart__marker {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .sh-bar-chart.is-chart-animatable .sh-bar-chart__plot::after,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__plot::after,
  .sh-bar-chart.is-chart-animatable .sh-bar-chart__bar,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__bar,
  .sh-bar-chart.is-chart-animatable .sh-bar-chart__featured-value,
  .sh-bar-chart.is-chart-animatable .sh-bar-chart__bar-value,
  .sh-bar-chart.is-chart-animatable .sh-bar-chart__label,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__title,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__subtitle,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__value,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__label,
  .sh-grouped-chart.is-chart-animatable .sh-grouped-chart__legend-item,
  .sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__list::before,
  .sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__row,
  .sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__bar,
  .sh-horizontal-rank-chart.is-chart-animatable .sh-horizontal-rank-chart__value,
  .sh-line-chart.is-chart-animatable .sh-line-chart__title,
  .sh-line-chart.is-chart-animatable .sh-line-chart__subtitle,
  .sh-line-chart.is-chart-animatable .sh-line-chart__y-label,
  .sh-line-chart.is-chart-animatable .sh-line-chart__plot-min,
  .sh-line-chart.is-chart-animatable .sh-line-chart__grid-line,
  .sh-line-chart.is-chart-animatable .sh-line-chart__path,
  .sh-line-chart.is-chart-animatable .sh-line-chart__noise-particle,
  .sh-line-chart.is-chart-animatable .sh-line-chart__marker,
  .sh-line-chart.is-chart-animatable .sh-line-chart__x-label {
    transition: none !important;
  }
}

.sh-map-module {
  --sh-map-accent-gap: 60px;
  --sh-map-pin-color: #978b87;
  --sh-map-pin-center: #f7ede6;
  --sh-map-card-background: #7a6863;
  --sh-map-accent-start: #f7d9ca;
  --sh-map-accent-end: #ff6a00;
  width: 100%;
  min-width: 0;
}

.sh-map-module__frame {
  position: relative;
  width: 100%;
}

.sh-map-module__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 513 / 519;
  margin: 0 auto;
  overflow: visible;
}

.sh-map-module__map-wrap {
  position: absolute;
  inset: 0 calc(var(--sh-map-accent-gap) + 10px) 0 0;
}

.sh-map-module__map {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: saturate(1.02);
}

.sh-map-module__accent {
  position: absolute;
  top: 8%;
  right: 0;
  width: 10px;
  height: 84%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, var(--sh-map-accent-start) 18%, var(--sh-map-accent-end) 100%);
}

.sh-map-module__pin {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sh-map-pin-color);
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
  z-index: 2;
}

.sh-map-module__pin:hover,
.sh-map-module__pin:focus-visible,
.sh-map-module__pin.is-active {
  color: #8a7369;
  transform: translate(-50%, -100%) scale(1.06);
  filter: drop-shadow(0 10px 18px rgba(88, 57, 33, 0.16));
  outline: none;
}

.sh-map-module__pin-shape,
.sh-map-module__pin-shape svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sh-map-module__card {
  --sh-map-card-x: 10%;
  --sh-map-card-y: 62%;
  --sh-map-card-width: 260px;
  position: absolute;
  left: clamp(0.75rem, var(--sh-map-card-x), calc(100% - var(--sh-map-card-width) - 0.75rem));
  top: var(--sh-map-card-y);
  width: min(var(--sh-map-card-width), calc(100% - 1.5rem));
  padding: 1.25rem 1.35rem 1.15rem;
  border-radius: 1.55rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 38%), var(--sh-map-card-background);
  color: #fffaf5;
  box-shadow: 0 24px 48px rgba(86, 62, 47, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 3;
}

.sh-map-module__card::before {
  content: "";
  position: absolute;
  inset: 12% 14%;
  border-radius: 1.25rem;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.14), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.sh-map-module__card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.sh-map-module__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 250, 245, 0.92);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.sh-map-module__card-title {
  position: relative;
  margin: 0 1.35rem 0.45rem 0;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 600;
  color: #fffaf5;
}

.sh-map-module__card-text {
  position: relative;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255, 250, 245, 0.95);
}

@media (max-width: 767px) {
  .sh-map-module__canvas {
    width: 100%;
  }

  .sh-map-module__map-wrap {
    inset: 0 calc(var(--sh-map-accent-gap) + 10px) 0 0;
  }

  .sh-map-module__accent {
    width: 10px;
    height: 82%;
  }

  .sh-map-module__pin {
    width: 2.2rem;
    height: 3rem;
  }

  .sh-map-module__card {
    width: min(var(--sh-map-card-width), calc(100% - 1rem));
    left: clamp(0.5rem, var(--sh-map-card-x), calc(100% - min(var(--sh-map-card-width), calc(100% - 1rem)) - 0.5rem));
    padding: 1.05rem 1.1rem 1rem;
    border-radius: 1.25rem;
  }

  .sh-map-module__card-title,
  .sh-map-module__card-text {
    font-size: 0.875rem;
  }
}

.sh-post-toc .toc-link::before {
  content: none !important;
  display: none !important;
}

.sh-post-toc {
  width: min(100%, 400px);
  max-width: 100%;
  min-width: 0;
}

.sh-post-toc .toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-post-toc .toc-list-item {
  list-style: none;
  margin: 0;
}

.sh-post-toc[data-numbering-format="decimal"] .toc-link,
.sh-post-toc[data-numbering-format="decimal-leading-zero"] .toc-link {
  align-items: baseline;
  display: flex;
  gap: var(--sh-toc-number-gap, 0.85em);
}

.sh-post-toc__number {
  flex: 0 0 auto;
  width: var(--sh-toc-number-width, 2.4ch);
  min-width: var(--sh-toc-number-width, 2.4ch);
  text-align: var(--sh-toc-number-align, left);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.sh-post-toc__label {
  min-width: 0;
  pointer-events: none;
}

.global-sticky-shell {
  flex-shrink: 0;
  position: relative;
}

.global-sticky.has-global-sticky {
  z-index: 20;
}

.global-sticky.is-global-sticky-active {
  box-sizing: border-box;
  top: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .sh-post-toc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .global-sticky.is-global-sticky-active {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
  }
}
