/* ============================================================
   regulamentacoes.css — Página de Regulamentações
   Contém: timeline com fio vertical, pontos, datas, conteúdo e links.
   ============================================================ */

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 60px;
  max-width: 900px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, #9562c1 4%, #7f4cab 50%, rgb(57 7 87 / 50%) 96%, transparent 100%);
  border-radius: 2px;
}

.timeline::after {
    content: '';
    position: absolute;
    inset: 0;
    left: 2.5%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 7px;
    background: #9562c1;
    filter: blur(6px);
    opacity: 0.4;
    animation: rdVLineGlow 5s ease-in-out infinite alternate;
}

/* ============================================================
   Item da timeline
   ============================================================ */
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  width: 14px;
  height: 14px;
  background: #9C45E8;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(156, 69, 232, 0.2);
  z-index: 2;
}


/* ============================================================
   Data de publicação
   ============================================================ */
.timeline-date {
  font-weight: 600;
  color: #9C45E8;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  margin-left: 50px;
  white-space: nowrap;
  font-family: var(--fonte-padrao);
}

/* ============================================================
   Conteúdo do item
   ============================================================ */
.timeline-content {
  /* background: #06083161; */
  backdrop-filter: blur(2px);
  position: relative;
  color: var(--cor-texto);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--cor-texto), transparent 90%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.2s ease, border-color 0.2s ease;
  margin-left: 50px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.timeline-content .nebulosa {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 70%, rgba(var(--eixo-rgb), 0.07) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}


.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(to right, transparent, rgba(217, 4, 206, 0.35), transparent);
  pointer-events: none;
}

.timeline-content:hover {
  transform: translateY(-3px);
}

.timeline-content::before:hover {
  background: linear-gradient(to right, transparent, #be84f1, transparent);
}

.timeline-content h4 {
  color: rgba(232, 231, 247, 0.73);
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--fonte-titulo);
}

.timeline-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--cor-texto), transparent 20%);
  margin-bottom: 0;
}

/* ============================================================
   Link de leitura
   ============================================================ */
.timeline-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #9C45E8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.timeline-link:hover {
  color: #c780ff;
}