/* Genesia Timeline. All visual rules are scoped to this widget. */
/* Legacy 1.0/1.1 markup could be hidden by Elementor without native settings. */
.elementor-widget-genesia-timeline.elementor-invisible:not([data-settings]) { visibility: visible; }
.gns-timeline {
  --gns-year-width: 112px;
  --gns-column-gap: 24px;
  --gns-event-gap: 56px;
  --gns-dot-size: 10px;
  --gns-axis-width: max(14px, var(--gns-dot-size));
  --gns-line-color: #6e6e6e;
  --gns-line-width: 1px;
  --gns-dot-color: #111;
  --gns-mobile-year-gap: 10px;
  --gns-paragraph-gap: 12px;
  --gns-duration: 850ms;
  --gns-movement: 26px;
  --gns-stagger: 140ms;
  --gns-track-width: 720px;
  --gns-gallery-width: 260px;
  --gns-gallery-gap: 52px;
  --gns-image-radius: 0px;
  --gns-image-shadow: 0 14px 34px -18px rgba(0,0,0,.32);
  width: 100%;
  max-width: var(--gns-track-width);
  margin: 0 auto;
  background: transparent;
  box-sizing: border-box;
}
.gns-timeline *, .gns-timeline *::before, .gns-timeline *::after { box-sizing: border-box; }
.gns-timeline--with-images { max-width: calc(var(--gns-track-width) + var(--gns-gallery-width) + var(--gns-gallery-gap)); }
.gns-timeline .gns-timeline__composition { container-type: inline-size; }
.gns-timeline--with-images .gns-timeline__composition { display: grid; grid-template-columns: minmax(0, var(--gns-gallery-width)) minmax(0, 1fr); gap: var(--gns-gallery-gap); }
.gns-timeline .gns-timeline__track { min-width: 0; width: 100%; max-width: var(--gns-track-width); margin-inline: auto; }
.gns-timeline .gns-timeline__gallery { min-width: 0; position: relative; min-height: 700px; }
.gns-timeline .gns-timeline__image {
  --gns-photo-y: 3%; --gns-photo-x: 5%; --gns-photo-width: 84%; --gns-photo-rotation: -3deg; --gns-photo-ratio: .85; --gns-photo-anchor: 0%;
  position: absolute; top: var(--gns-photo-y); left: var(--gns-photo-x);
  width: min(var(--gns-photo-width), calc(96% - var(--gns-photo-x)));
  margin: 0; padding: 0; border: 0;
  transform: translateY(var(--gns-photo-anchor)) rotate(var(--gns-photo-rotation));
}
.gns-timeline .gns-timeline__image--middle { --gns-photo-y: 49%; --gns-photo-x: 14%; --gns-photo-width: 82%; --gns-photo-rotation: 4deg; --gns-photo-ratio: 1.15; --gns-photo-anchor: -50%; }
.gns-timeline .gns-timeline__image--end { --gns-photo-y: 98%; --gns-photo-x: 7%; --gns-photo-width: 80%; --gns-photo-rotation: -2deg; --gns-photo-anchor: -100%; }
.gns-timeline .gns-timeline__image-frame { overflow: hidden; border-radius: var(--gns-image-radius); box-shadow: var(--gns-image-shadow); background: transparent; }
.gns-timeline .gns-timeline__image img { display: block; width: 100%; height: auto; aspect-ratio: var(--gns-photo-ratio); max-height: 360px; object-fit: cover; border: 0; border-radius: 0; margin: 0; }
.gns-timeline .gns-timeline__preview { display: none; }
.gns-timeline.is-editor .gns-timeline__preview { display: inline-block; margin: 0 0 20px; padding: 8px 14px; border: 1px solid #d7d7d7; border-radius: 4px; color: #333; background: #fff; font: 13px/1.4 sans-serif; cursor: pointer; }
.gns-timeline .gns-timeline__preview:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.gns-timeline .gns-timeline__list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gns-event-gap);
}
.gns-timeline .gns-timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--gns-year-width) + var(--gns-column-gap) + var(--gns-axis-width) / 2);
  width: var(--gns-line-width);
  transform: translateX(-50%);
  background-color: var(--gns-line-color);
  pointer-events: none;
}
.gns-timeline .gns-timeline__event {
  display: grid;
  grid-template-columns: var(--gns-year-width) var(--gns-axis-width) minmax(0, 1fr);
  column-gap: var(--gns-column-gap);
  align-items: var(--gns-row-align, center);
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  border: 0;
  background: none;
}
.gns-timeline .gns-timeline__event::before, .gns-timeline .gns-timeline__event::after { content: none; }
.gns-timeline .gns-timeline__year {
  grid-column: 1;
  grid-row: 1;
  color: #111;
  font: 400 36px/1.2 Georgia, "Times New Roman", serif;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.gns-timeline .gns-timeline__dot {
  display: block;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: var(--gns-dot-size);
  height: var(--gns-dot-size);
  border-radius: 50%;
  background: var(--gns-dot-color);
  margin: 0;
  position: relative;
  z-index: 1;
}
.gns-timeline .gns-timeline__body {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  color: #171717;
  font: 400 22px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 0.015em;
  text-align: justify;
  overflow-wrap: anywhere;
  hyphens: none;
}
.gns-timeline .gns-timeline__body > :first-child { margin-top: 0; }
.gns-timeline .gns-timeline__body > :last-child { margin-bottom: 0; }
.gns-timeline .gns-timeline__body p { margin: 0 0 var(--gns-paragraph-gap); font: inherit; color: inherit; letter-spacing: inherit; text-align: inherit; }
.gns-timeline .gns-timeline__body a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.gns-timeline .gns-timeline__body a:hover { text-decoration-thickness: 2px; }
.gns-timeline .gns-timeline__body a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.gns-timeline .gns-timeline__body ul, .gns-timeline .gns-timeline__body ol { margin: 0 0 var(--gns-paragraph-gap); padding-left: 1.3em; }
.gns-timeline .gns-timeline__body img { max-width: 100%; height: auto; }
/* Visibility is never dependent on JS. Web Animations supplies temporary frames. */
@container (max-width: 819px) {
  .gns-timeline__gallery { display: none; }
  .gns-timeline__track { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .gns-timeline { --gns-year-width: 94px; --gns-column-gap: 20px; --gns-event-gap: 44px; }
  .gns-timeline--with-images .gns-timeline__composition { display: flex; flex-direction: column; gap: 32px; }
  .gns-timeline .gns-timeline__gallery { display: none; }
  .gns-timeline--mobile-gallery .gns-timeline__gallery { display: grid; order: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-height: 0; padding: 12px; }
  .gns-timeline--mobile-gallery .gns-timeline__image { position: static; width: 100%; transform: rotate(var(--gns-photo-rotation)); align-self: center; }
  .gns-timeline--mobile-gallery .gns-timeline__image img { aspect-ratio: 1; }
  .gns-timeline .gns-timeline__year { font-size: 32px; }
  .gns-timeline .gns-timeline__body { font-size: 20px; }
}
@media (max-width: 767px) {
  .gns-timeline { --gns-column-gap: 18px; --gns-event-gap: 36px; --gns-dot-size: 8px; }
  .gns-timeline .gns-timeline__list::before { left: calc(var(--gns-axis-width) / 2); }
  .gns-timeline .gns-timeline__event { grid-template-columns: var(--gns-axis-width) minmax(0, 1fr); align-items: start; row-gap: 0; }
  .gns-timeline .gns-timeline__year { grid-column: 2; grid-row: 1; text-align: left; font-size: 29px; margin-bottom: var(--gns-mobile-year-gap); }
  .gns-timeline .gns-timeline__dot { grid-column: 1; grid-row: 1; align-self: center; margin-bottom: var(--gns-mobile-year-gap); }
  .gns-timeline .gns-timeline__body { grid-column: 2; grid-row: 2; font-size: 18px; line-height: 1.5; letter-spacing: 0; text-align: left; }
  .gns-timeline--mobile-gallery .gns-timeline__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .gns-timeline--mobile-gallery .gns-timeline__image:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gns-timeline .gns-timeline__year, .gns-timeline .gns-timeline__body, .gns-timeline .gns-timeline__image-frame { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}
@media print {
  .gns-timeline .gns-timeline__event { break-inside: avoid; }
  .gns-timeline .gns-timeline__year, .gns-timeline .gns-timeline__body, .gns-timeline .gns-timeline__image-frame { opacity: 1 !important; transform: none !important; }
  .gns-timeline .gns-timeline__preview { display: none !important; }
}
