.roro-timeline{
  --roro-yellow:#f2dd00;
  --roro-yellow-soft:#fff27a;
  --roro-text:#777;
  --roro-gap:18px;
  position:relative;
  width:100%;
  font-family:inherit;
}

.roro-timeline__viewport{
  overflow:hidden;
  width:100%;
  padding:2px 58px 18px;
  box-sizing:border-box;
}

.roro-timeline__track{
  display:flex;
  gap:var(--roro-gap);
  transition:transform .38s ease;
  will-change:transform;
  padding:8px 2px 30px;
}

.roro-timeline__item{
  flex:0 0 calc((100% - var(--roro-gap))/2);
  min-width:0;
  text-align:center;
  position:relative;
  padding-top:0;
}

.roro-timeline__year{
  font-size:22px;
  font-weight:700;
  line-height:1.2;
  margin:0 0 24px;
  text-align:center;
  color:#111;
}

/* Gelbe horizontale Timeline-Linie */
.roro-timeline__item::before{
  content:"";
  position:absolute;
  top:68px;
  left:-12px;
  right:-12px;
  height:4px;
  background:var(--roro-yellow);
  z-index:0;
}

/* Gelber Kreis mit sauber zentriertem SVG-Uhr-Icon */
.roro-timeline__marker{
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--roro-yellow);
  border:1px solid #e3cf00;
  margin:0 auto 24px;
  position:relative;
  z-index:3;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

.roro-timeline__clock{
  width:38px;
  height:38px;
  display:block;
  overflow:visible;
}

/* Uhr: gross, klar, nur Weiss/Schwarz auf gelbem Marker */
.roro-timeline__clock-face{
  fill:#fff;
  stroke:#111;
  stroke-width:2.8;
}

.roro-timeline__clock-hands{
  fill:none;
  stroke:#111;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Weisse Box mit gelber Oberkante und Schatten */
.roro-timeline__card{
  position:relative;
  text-align:center;
  padding:18px 20px 20px;
  border-radius:7px;
  border-top:3px solid var(--roro-yellow);
  background:#fff;
  min-height:60px;
  box-shadow:0 5px 12px rgba(0,0,0,.16);
  color:var(--roro-text);
}

/* Kleine Spitze oben an der Box */
.roro-timeline__card::before{
  content:"";
  position:absolute;
  left:50%;
  top:-12px;
  width:16px;
  height:16px;
  background:#fff;
  border-left:3px solid var(--roro-yellow);
  border-top:3px solid var(--roro-yellow);
  transform:translateX(-50%) rotate(45deg);
  box-sizing:border-box;
  z-index:2;
}

/* Titel steht IMMER vor Bild/Video/Audio */
.roro-timeline__title{
  position:relative;
  z-index:3;
  margin:2px 0 18px;
  font-size:28px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  color:#111;
}

.roro-timeline__media{
  margin:4px auto 18px;
  text-align:center;
  position:relative;
  z-index:3;
  width:var(--roro-image-width, 100%);
  max-width:100%;
}
.roro-timeline__media img{
  display:block;
  width:100%;
  max-width:100%;
  max-height:var(--roro-image-height, 270px);
  height:auto;
  object-fit:contain;
  margin:0 auto;
}

.roro-timeline__embed{
  margin:4px auto 18px;
  max-width:100%;
  position:relative;
  z-index:3;
}
.roro-timeline__embed audio,
.roro-timeline__embed video{
  display:block;
  width:100%;
  max-width:100%;
  margin:0 auto;
}

.roro-timeline__text,
.roro-timeline__text p{
  position:relative;
  z-index:3;
  text-align:center;
  line-height:1.6;
  color:var(--roro-text);
}
.roro-timeline__text p{margin-top:0;}
.roro-timeline__text p:last-child{margin-bottom:0;}
.roro-timeline__text ul,
.roro-timeline__text ol{
  display:inline-block;
  text-align:left;
  margin:10px auto;
  padding-left:20px;
}

/* Navigation: schwarze Buttons + exakt mittig sitzende Pfeile */
.roro-timeline__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:80px;
  height:48px;
  min-width:80px;
  min-height:48px;
  border:0 !important;
  border-radius:999px !important;
  background:#242424 !important;
  color:transparent !important;
  font-size:0 !important;
  line-height:1 !important;
  cursor:pointer;
  z-index:10;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
  display:block;
  overflow:hidden;
  box-shadow:none !important;
  transition:opacity .2s ease, background-color .2s ease;
}

/* Eigenes CSS-Chevron statt Textzeichen: dadurch exakt horizontal/vertikal zentriert */
.roro-timeline__arrow::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:14px;
  border-top:4px solid #fff;
  border-right:4px solid #fff;
  box-sizing:border-box;
  transform-origin:center;
}

.roro-timeline__arrow--prev::before{
  transform:translate(-42%,-50%) rotate(-135deg);
}

.roro-timeline__arrow--next::before{
  transform:translate(-58%,-50%) rotate(45deg);
}

.roro-timeline__arrow:hover{
  background:#111 !important;
}
.roro-timeline__arrow:disabled{
  opacity:.65;
  cursor:default;
}
.roro-timeline__arrow--prev{left:4px;}
.roro-timeline__arrow--next{right:4px;}

.roro-timeline-empty{text-align:center;padding:25px;}

@media(max-width:767px){
  .roro-timeline{--roro-gap:12px;}
  .roro-timeline__viewport{padding-left:38px;padding-right:38px;}
  .roro-timeline__item{flex-basis:100%;}
  .roro-timeline__arrow{
    width:56px;
    min-width:56px;
    height:44px;
    min-height:44px;
    top:50%;
  }
  .roro-timeline__arrow::before{
    width:12px;
    height:12px;
    border-top-width:3px;
    border-right-width:3px;
  }
  .roro-timeline__arrow--prev{left:0;}
  .roro-timeline__arrow--next{right:0;}
  .roro-timeline__year{font-size:21px;margin-bottom:24px;}
  .roro-timeline__item::before{top:67px;height:4px;}
  .roro-timeline__marker{width:48px;height:48px;margin-bottom:24px;}
  .roro-timeline__card{padding:16px 14px 18px;}
  .roro-timeline__title{font-size:22px;margin-bottom:14px;}
}
