/* ADIH Timeline v1.0.0 — styles scoped to widget only. */
.adih-timeline,
.adih-timeline * {
  box-sizing: border-box;
}
.adih-timeline {
  --adih-tm-card: #fff;
  --adih-tm-border: #e7e9ee;
  --adih-tm-line: #d9dee5;
  --adih-tm-accent: #65778d;
  --adih-tm-title: #263446;
  --adih-tm-body: #596574;
  --adih-tm-date: #273748;
  --adih-tm-label: #788798;
  --adih-tm-radius: 18px;
  --adih-tm-gap: 32px;
  --adih-tm-pad: 29px;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
  color: var(--adih-tm-body);
  font-family: inherit;
  height: auto;
  min-height: 0;
}
.adih-timeline__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.adih-timeline__section-heading {
  margin: 0 0 12px;
  color: var(--adih-tm-title);
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 750;
}
.adih-timeline__section-intro {
  color: var(--adih-tm-body);
  font-size: 1.04rem;
  line-height: 1.75;
  margin: 0;
}
.adih-timeline__list {
  position: relative;
  list-style: none;
  padding: 6px 0 12px;
  margin: 0;
  width: 100%;
}
.adih-timeline__list::before {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 43px;
  bottom: 49px;
  width: 2px;
  background: var(--adih-tm-line);
}
.adih-timeline__item {
  --tm-node-top: 40px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: start;
  column-gap: 16px;
  margin: 0 0 var(--adih-tm-gap);
  padding: 0;
  min-height: 0;
  width: 100%;
}
.adih-timeline__item:last-child { margin-bottom: 0; }
.adih-timeline__card {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: var(--adih-tm-pad);
  border-radius: var(--adih-tm-radius);
  background: var(--adih-tm-card);
  border: 1px solid var(--adih-tm-border);
  box-shadow: 0 14px 44px rgba(28, 43, 63, .055);
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: auto;
  text-align: left;
  transition: transform .33s ease, box-shadow .33s ease, border-color .33s ease;
}
.adih-timeline__card::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -9px;
  width: 16px;
  height: 16px;
  background: var(--adih-tm-card);
  border-top: 1px solid var(--adih-tm-border);
  border-right: 1px solid var(--adih-tm-border);
  transform: rotate(45deg);
}
.adih-timeline__node {
  z-index: 1;
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 30px;
  border: 2px solid var(--adih-tm-accent);
  background: #fff;
  box-shadow: 0 0 0 6px #fff;
}
.adih-timeline__node span {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--adih-tm-accent);
  border-radius: 50%;
}
.adih-timeline__meta {
  grid-column: 3;
  grid-row: 1;
  padding: 31px 0 0 5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
  color: var(--adih-tm-body);
  min-width: 0;
}
.adih-timeline__date {
  color: var(--adih-tm-date);
  font-size: clamp(1.03rem, 1.3vw, 1.25rem);
  line-height: 1.35;
  letter-spacing: -.015em;
  font-weight: 760;
}
.adih-timeline__meta-caption {
  font-size: .87rem;
  line-height: 1.5;
  color: var(--adih-tm-label);
  font-weight: 500;
}
.adih-timeline__eyebrow {
  display: block;
  margin: 0 0 11px;
  font-size: .76rem;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: .105em;
  text-transform: uppercase;
  color: var(--adih-tm-accent);
}
.adih-timeline__heading {
  margin: 0 0 13px;
  color: var(--adih-tm-title);
  font-size: clamp(1.13rem, 1.3vw, 1.45rem);
  line-height: 1.28;
  letter-spacing: -.017em;
  font-weight: 740;
  overflow-wrap: anywhere;
}
.adih-timeline__description,
.adih-timeline__description p {
  font-size: .95rem;
  line-height: 1.72;
  color: var(--adih-tm-body);
  font-weight: 400;
  overflow-wrap: anywhere;
}
.adih-timeline__description p { margin: 0 0 8px; }
.adih-timeline__description p:last-child { margin-bottom: 0; }
.adih-timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  margin: -5px 0 14px auto;
  border-radius: 12px;
  background: #f0f2f5;
  color: var(--adih-tm-accent);
  font-size: 18px;
}
.adih-timeline__icon svg { width: 19px; height: 19px; fill: currentColor; }
.adih-timeline__link {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 17px;
  font-size: .87rem;
  font-weight: 680;
  color: var(--adih-tm-title);
  border-bottom: 1px solid var(--adih-tm-accent);
  padding-bottom: 2px;
  text-decoration: none;
}
.adih-timeline__link:hover { color: var(--adih-tm-accent); text-decoration: none; }
.adih-timeline__link:focus-visible { outline: 2px solid var(--adih-tm-accent); outline-offset: 4px; }

/* Alternate: second row on the opposite side. */
.adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__card,
.adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__card {
  grid-column: 3;
}
.adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__meta,
.adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__meta {
  grid-column: 1;
  align-items: flex-end;
  text-align: right;
  padding-right: 5px;
  padding-left: 0;
}
.adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__card::after,
.adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__card::after {
  right: auto;
  left: -9px;
  border-top: none;
  border-right: none;
  border-left: 1px solid var(--adih-tm-border);
  border-bottom: 1px solid var(--adih-tm-border);
}
.adih-timeline__item:hover .adih-timeline__node {
  box-shadow: 0 0 0 6px #fff, 0 0 0 9px rgba(101,119,141,.11);
}
.adih-timeline--hover-soft-lift .adih-timeline__card:hover,
.adih-timeline--hover-soft-lift .adih-timeline__card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(28, 43, 63, .105);
}
.adih-timeline--hover-border .adih-timeline__card:hover,
.adih-timeline--hover-border .adih-timeline__card:focus-within {
  border-color: var(--adih-tm-accent);
  box-shadow: 0 16px 45px rgba(28, 43, 63, .07);
}
/* JS only marks the timeline enhanced when IntersectionObserver is supported. */
.adih-timeline--enhanced .adih-timeline__item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .58s ease, transform .58s cubic-bezier(.21,.9,.32,1);
}
.adih-timeline--enhanced .adih-timeline__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.adih-timeline__empty { padding: 20px; color: var(--adih-tm-body); }

@media (max-width: 850px) {
  .adih-timeline { max-width: 660px; }
  .adih-timeline__list { padding: 5px 0 4px; }
  .adih-timeline__list::before {
    left: 20px;
    top: 14px;
    bottom: 42px;
    transform: none;
  }
  .adih-timeline__item {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0 14px;
    margin-bottom: max(22px, var(--adih-tm-gap));
    min-height: 0;
  }
  .adih-timeline__node,
  .adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__node,
  .adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__node {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
    margin-top: 0;
    width: 22px;
    height: 22px;
  }
  .adih-timeline__meta,
  .adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__meta,
  .adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__meta {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 10px;
    margin: 0;
    gap: 2px;
    align-items: flex-start;
    text-align: left;
  }
  .adih-timeline__card,
  .adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__card,
  .adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__card {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: clamp(18px, 5vw, 28px);
  }
  .adih-timeline__card::after,
  .adih-timeline--normal .adih-timeline__item:nth-child(even) .adih-timeline__card::after,
  .adih-timeline--reverse .adih-timeline__item:nth-child(odd) .adih-timeline__card::after {
    left: -8px;
    right: auto;
    top: 23px;
    width: 14px;
    height: 14px;
    border-top: none;
    border-right: none;
    border-left: 1px solid var(--adih-tm-border);
    border-bottom: 1px solid var(--adih-tm-border);
  }
  .adih-timeline__date { font-size: 1.02rem; }
  .adih-timeline__heading { font-size: 1.21rem; line-height: 1.3; }
  .adih-timeline__description, .adih-timeline__description p { font-size: .92rem; }
}
@media (max-width: 390px) {
  .adih-timeline__item { column-gap: 9px; }
  .adih-timeline__card { border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .adih-timeline__item,
  .adih-timeline__card,
  .adih-timeline__node,
  .adih-timeline--enhanced .adih-timeline__item {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
