.radial-timeline-widget {
  position: relative;
  width: 100%;
  max-width: 1340px;         
  margin-inline: auto;  
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.rt-dial-wrap {
  position: absolute;
  inset: 0;
}

.rt-dial-svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  overflow: visible;
}

.rt-year-display {
  position: absolute;
  
  top: 8%;
  left: 50%;
  translate: -50% 0;
  
  font-family: var( --e-global-typography-5720a29-font-family ), Sans-serif;
  font-size: var( --e-global-typography-5720a29-font-size );
  font-weight: var( --e-global-typography-5720a29-font-weight );
  line-height: var( --e-global-typography-5720a29-line-height );
  color: var( --e-global-color-6d59cd8 );
  transition: opacity 0.18s ease, translate 0.18s ease;
}

.rt-year-display.rt-fade-out {
  opacity: 0;
  translate: -50% -10px;
}


.rt-info-panel {
  position: absolute;
 
  bottom: 90px;
  left: 50%;
  translate: -50% 0;
  width: 100%;
  max-width: 320px;
  text-align: center;
  pointer-events: none;   
}

.rt-event-title {
  font-family: var( --e-global-typography-3b535fc-font-family ), Sans-serif;
  font-size: var( --e-global-typography-3b535fc-font-size );
  font-weight: var( --e-global-typography-3b535fc-font-weight );
  line-height: var( --e-global-typography-3b535fc-line-height );
  color: var( --e-global-color-6d59cd8 );
  
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 14px;
  transition: opacity 0.20s ease, translate 0.20s ease;
}

.rt-event-desc {
  font-size: 16px;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  transition: opacity 0.22s ease, translate 0.22s ease;
}

.rt-event-title.rt-fade-out { opacity: 0; translate: 0 8px; }
.rt-event-desc.rt-fade-out  { opacity: 0; translate: 0 8px; }


.rt-nav-row {
  position: absolute;
  bottom: 6%;
  left: 50%;
  translate: -50% 0;
  width: min( 420px, 70% );
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Prev / Next buttons */
.radial-timeline-widget .rt-nav-btn {
  background: #fff !important;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  padding: 0;
  transition: background 0.18s ease, scale 0.18s ease;
}

.rt-nav-btn:hover,
.rt-nav-btn:focus-visible {
  background: linear-gradient(90deg, #C9172F 0%, #FF1838 100%) !important;
  scale: 1.08;
  outline: none;
  color: #fff;
}

.rt-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Pagination dots */
.rt-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.rt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba( 255, 255, 255, 0.3 );
  border: 1.5px solid rgba( 255, 255, 255, 0.5 );
  cursor: pointer;
  transition: background 0.20s ease, scale 0.20s ease, border-color 0.20s ease;
}

.rt-dot.active {
  background: transparent;
  border-color: #C9172F;
  /* ring effect matching your screenshot */
  box-shadow: 0 0 0 2px #C9172F;
  scale: 1.3;
}

.rt-dot:hover {
  background: rgba( 255, 255, 255, 0.6 );
}
@media ( max-width: 1024px ) {
	#rt-arc-group > path:nth-child(1), #rt-arc-group > path:nth-child(2), #rt-arc-group > path:nth-child(3){
		display: none;
	}
	/*
	#rt-spin-group .year_line{
		display: none;
	}
	*/
	.rt-year-display{
		top: 5%;
	}
}


@media(max-width: 767px){
	.radial-timeline-widget{
		height: 400px;
	}
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media ( max-width: 640px ) {
  .radial-timeline-widget {
    aspect-ratio: 3 / 4;   /* taller on mobile so text fits */
    border-radius: 20px;
  }

  .rt-year-display {
    top: 0%;
  }

  .rt-info-panel {
    width: 80%;
  }

  .rt-nav-row {
    bottom: 5%;
    width: 80%;
  }
  .rt-nav-btn {
    width: 44px;
    height: 44px;
  }
	.rt-dial-svg{
		transform: scale(1.5);
		bottom: 25%;
	}
}
@media ( max-width: 480px ) {
	.rt-dial-svg{
		bottom: 48%;
	}
}

