/* === Bauerschmidt Timeline Widget === */
.bs-tl {
  --bs-tl-line-color: #C8D8EE;
  --bs-tl-line-width: 1px;
  --bs-tl-dot-size: 10px;
  --bs-tl-dot-color: #1A56A0;
  --bs-tl-dot-border: 2px;
  --bs-tl-dot-border-color: #C8D8EE;
  --bs-tl-col-left: 38%;
  --bs-tl-gap-cols: 64px;
  --bs-tl-item-gap: 100px;
  --bs-tl-year-size: 72px;
  --bs-tl-year-weight: 700;
  --bs-tl-year-lh: 1;
  --bs-tl-year-color: #0D1B2E;
  --bs-tl-year-ls: -0.03em;
  --bs-tl-divider-color: #D0D8E4;
  --bs-tl-divider-height: 1px;
  --bs-tl-divider-my: 20px;
  --bs-tl-subtitle-size: 17px;
  --bs-tl-subtitle-weight: 600;
  --bs-tl-subtitle-color: #0D1B2E;
  --bs-tl-subtitle-lh: 1.3;
  --bs-tl-text-size: 15px;
  --bs-tl-text-lh: 1.7;
  --bs-tl-text-color: #3A4A5E;
  --bs-tl-text-mb: 24px;
  --bs-tl-img-radius: 0px;
  --bs-tl-img-aspect: 56.25%;
  position: relative;
  width: 100%;
}
.bs-tl-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--bs-tl-col-left));
  width: var(--bs-tl-line-width);
  background: var(--bs-tl-line-color);
  z-index: 0;
  transform: translateX(-50%);
}
.bs-tl-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-bottom: var(--bs-tl-item-gap);
}
.bs-tl-item:last-child {
  padding-bottom: 0;
}
.bs-tl-left {
  width: var(--bs-tl-col-left);
  flex-shrink: 0;
  padding-right: var(--bs-tl-gap-cols);
  box-sizing: border-box;
}
.bs-tl-year {
  display: block;
  font-size: var(--bs-tl-year-size);
  font-weight: var(--bs-tl-year-weight);
  line-height: var(--bs-tl-year-lh);
  color: var(--bs-tl-year-color);
  letter-spacing: var(--bs-tl-year-ls);
  margin: 0 0 var(--bs-tl-divider-my) 0;
}
.bs-tl-divider {
  display: block;
  height: var(--bs-tl-divider-height);
  background: var(--bs-tl-divider-color);
  margin-bottom: var(--bs-tl-divider-my);
}
.bs-tl-subtitle {
  margin: 0;
  font-size: var(--bs-tl-subtitle-size);
  font-weight: var(--bs-tl-subtitle-weight);
  color: var(--bs-tl-subtitle-color);
  line-height: var(--bs-tl-subtitle-lh);
}
.bs-tl-dot {
  position: absolute;
  left: calc(var(--bs-tl-col-left));
  top: calc(var(--bs-tl-year-size) * 0.5);
  transform: translate(-50%, -50%);
  width: var(--bs-tl-dot-size);
  height: var(--bs-tl-dot-size);
  border-radius: 50%;
  background: var(--bs-tl-dot-color);
  border: var(--bs-tl-dot-border) solid var(--bs-tl-dot-border-color);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(255,255,255,1);
}
.bs-tl-right {
  flex: 1;
  min-width: 0;
  padding-left: var(--bs-tl-gap-cols);
  padding-top: 6px;
}
.bs-tl-text {
  margin: 0;
  font-size: var(--bs-tl-text-size);
  line-height: var(--bs-tl-text-lh);
  color: var(--bs-tl-text-color);
}
.bs-tl-img-wrap {
  margin-top: var(--bs-tl-text-mb);
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--bs-tl-img-radius);
  background: #E8EDF2;
}
.bs-tl-img-wrap::before {
  content: '';
  display: block;
  padding-top: var(--bs-tl-img-aspect);
}
.bs-tl-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bs-tl {
  --bs-tl-anim-duration: 400ms;
  --bs-tl-anim-ease: ease;
  --bs-tl-inactive-opacity: 0.30;
}
.bs-tl-line {
  transform: translateX(-50%);
}
.bs-tl.bs-tl--js .bs-tl-item {
  opacity: var(--bs-tl-inactive-opacity);
  transition: opacity var(--bs-tl-anim-duration) var(--bs-tl-anim-ease);
}
.bs-tl.bs-tl--js .bs-tl-dot {
  transform: translate(-50%, -50%) scale(0.65);
  transition: transform var(--bs-tl-anim-duration) var(--bs-tl-anim-ease),
              opacity  var(--bs-tl-anim-duration) var(--bs-tl-anim-ease);
}
.bs-tl.bs-tl--js .bs-tl-item.bs-tl--active {
  opacity: 1;
}
.bs-tl.bs-tl--js .bs-tl-item.bs-tl--active .bs-tl-dot {
  transform: translate(-50%, -50%) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .bs-tl.bs-tl--js .bs-tl-item { opacity: 1; transition: none; }
  .bs-tl.bs-tl--js .bs-tl-dot  { transform: translate(-50%,-50%); transition: none; }
}
@media (max-width: 767px) {
  .bs-tl-line  { display: none; }
  .bs-tl-dot   { display: none; }
  .bs-tl-item  { flex-direction: column; gap: 0; padding-bottom: 40px; }
  .bs-tl-item:last-child { padding-bottom: 0; }
  .bs-tl-left  { width: 100%; padding-right: 0; margin-bottom: 14px; }
  .bs-tl-right { padding-left: 0; padding-top: 0; }
  .bs-tl-year  {
    font-size: 36px;
    color: #0077C8;
    margin-bottom: 12px;
  }
  .bs-tl-divider { margin-bottom: 12px; }
  .bs-tl-subtitle { font-size: 17px; line-height: 1.3; }
  .bs-tl-text  { font-size: 15px; line-height: 1.65; }
  .bs-tl.bs-tl--js .bs-tl-item { opacity: 1; }
}

@media (max-width: 480px) {
  .bs-tl-item { padding-bottom: 32px; }
  .bs-tl-year { font-size: 32px; }
}
