@import url("/css/style.css?v=20260916-shell-ready1");
@import url("/css/home.css?v=20260824-sidebar2");

/* ================================================================
   ATUALIZACOES — GUIA RAPIDO
   Este arquivo desenha somente a pagina de historia do FurMap.
   Os nomes terminados em -v3 evitam conflito com mapa, grupos e FurSync.
   ================================================================ */

/* Controla a largura e centraliza a pagina depois do menu lateral. */
.home-redesign.has-nav-side .updates-main-v3 {
  width: min(1120px, calc(100vw - 342px));
  max-width: 1120px;
  margin-right: auto;
  margin-left: calc(262px + max(48px, (100vw - 1430px) / 2));
  padding: 56px 0 80px;
}

/* Cabecalho central inspirado na referencia, usando as cores FurMap. */
.updates-hero-v3 {
  max-width: 820px;
  margin: 0 auto 68px;
  text-align: center;
}

.updates-eyebrow-v3 {
  margin: 0 0 20px;
  color: #ff4fb7 !important;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
}

.updates-hero-v3 h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-shadow: 0 0 35px rgba(210, 55, 255, .15);
}

.updates-hero-v3 > p:last-child {
  margin: 28px 0 0;
  color: #d9dcec;
  font-size: 17px;
  line-height: 1.6;
}

/* A linha vertical conecta todos os marcos publicados pelo Admin. */
.updates-timeline-v3 {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 0 0 0 96px;
}

.updates-timeline-v3.has-updates::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -18px;
  left: 45px;
  width: 2px;
  background: linear-gradient(#8b5cf6, #ff2fad 65%, rgba(255, 47, 173, .08));
  box-shadow: 0 0 18px rgba(168, 85, 247, .45);
}

/* Cada cartao e um acontecimento da historia. */
.update-entry-v3 {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 22, 38, .97), rgba(6, 10, 23, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.update-marker-v3 {
  position: absolute;
  top: 0;
  left: -78px;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #ff3dac;
  border-radius: 50%;
  background: #080d1d;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 0 0 7px rgba(255, 47, 173, .08), 0 0 28px rgba(217, 70, 239, .25);
}

.update-copy-v3 { padding: 34px 38px 36px; }

.update-date-v3 {
  color: #ff52b8;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.update-copy-v3 h2 {
  margin: 15px 0 14px;
  color: #fff;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.2;
}

.update-content-v3 {
  margin: 0;
  color: #e4e7f1;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.update-image-v3 {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-top: 1px solid rgba(139, 92, 246, .28);
  border-radius: 0 0 17px 17px;
  background: #090d1b;
}

/* Estados de carregamento, lista vazia e falha de rede. */
.updates-state-v3 {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 28px;
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 18px;
  background: rgba(8, 13, 29, .88);
  text-align: center;
}

.updates-state-v3 h2 { margin: 12px 0 8px; font-size: 22px; }
.updates-state-v3 p { margin: 0; color: #abb3ca; line-height: 1.55; }

.updates-loader-v3 {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(192, 132, 252, .22);
  border-top-color: #f04fbd;
  border-radius: 50%;
  animation: updates-spin-v3 .8s linear infinite;
}

@keyframes updates-spin-v3 { to { transform: rotate(360deg); } }

/* Tablet e celular: a linha do tempo continua legivel e tocavel. */
@media (max-width: 900px) {
  .home-redesign.has-nav-side .updates-main-v3 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 35px 18px 118px;
  }

  .updates-hero-v3 { margin-bottom: 45px; }
  .updates-hero-v3 h1 { font-size: clamp(36px, 11vw, 54px); }
  .updates-hero-v3 > p:last-child { margin-top: 20px; font-size: 15px; }
  .updates-timeline-v3 { gap: 22px; padding-left: 59px; }
  .updates-timeline-v3.has-updates::before { left: 21px; }
  .update-marker-v3 { left: -56px; width: 42px; height: 42px; font-size: 14px; }
  .update-copy-v3 { padding: 24px 20px 26px; }
  .update-content-v3 { font-size: 15px; line-height: 1.65; }
}

@media (max-width: 380px) {
  .home-redesign.has-nav-side .updates-main-v3 { padding-inline: 10px; }
  .updates-timeline-v3 { padding-left: 48px; }
  .updates-timeline-v3.has-updates::before { left: 17px; }
  .update-marker-v3 { left: -46px; width: 36px; height: 36px; }
  .update-copy-v3 { padding: 20px 15px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .updates-loader-v3 { animation: none; }
}
