/* ==========================================================================
   NOTÍCIAS E GUIAS — leque de classes (vindo do topo) + painel da wiki, no padrão do launcher
   Carregar depois do launcher-ui.css.
   ========================================================================== */
.cms-section { padding-top: 40px; }
.news-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr) !important; align-items: center !important; }
.news-empty { display: none !important; }           /* o leque ocupa o espaço vazio */
.cms-more { display: inline-flex; align-items: center; gap: 8px; color: var(--l-gold, #e2b65c) !important; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.cms-more::after, .news-updates .text-link::after { content: '\25C6'; font-size: 9px; color: #2fe0c0; }

/* ---------- leque de classes ---------- */
.news-fan { position: relative; width: 100%; max-width: 760px; aspect-ratio: 760 / 470; margin: 0 auto 6px; }
.news-fan .nf-card {
  --r: 0deg; --y: 0px; --cut: 12px;
  position: absolute; top: 15%; width: 24%; aspect-ratio: 188 / 292; margin: 0;
  isolation: isolate;
  background: rgba(226, 182, 92, .55);                 /* = contorno dourado (o ::after é o miolo) */
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transform-origin: 50% 120%;
  transform: rotate(var(--r)) translateY(var(--y));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.55));
}
.news-fan .nf-card img {
  position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px);
  object-fit: cover; object-position: top; z-index: 0;
  clip-path: polygon(calc(var(--cut) - .4px) 0, 100% 0, 100% calc(100% - var(--cut) + .4px), calc(100% - var(--cut) + .4px) 100%, 0 100%, 0 calc(var(--cut) - .4px));
}
.news-fan .nf-card::after {   /* sombra embaixo para a legenda */
  content: ''; position: absolute; inset: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 14, 12, .94));
  clip-path: inherit;
}
.news-fan figcaption {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; padding: 0 14px;
  font-family: var(--l-cond, sans-serif); font-weight: 700; font-size: clamp(13px, 1.25vw, 17px);
  letter-spacing: .08em; text-transform: uppercase; color: var(--l-cream, #f3dca6); line-height: 1;
}
.news-fan figcaption small {
  display: block; margin-top: 5px;
  font-family: var(--e-sans); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: rgba(238, 246, 242, .65);
}
.news-fan .nf-1 { left: 0;     --r: -11deg; --y: 6px;  opacity: .8;  z-index: 1; }
.news-fan .nf-2 { left: 16.5%; --r: -5.5deg; --y: -10px; opacity: .92; z-index: 2; }
.news-fan .nf-4 { left: 59.5%; --r: 5.5deg;  --y: -10px; opacity: .92; z-index: 2; }
.news-fan .nf-5 { left: 76%;   --r: 11deg;  --y: 6px;  opacity: .8;  z-index: 1; }
.news-fan .nf-4 figcaption, .news-fan .nf-5 figcaption { text-align: right; }
/* destaque: card central maior, contorno verde-água e brilho */
.news-fan .nf-3 {
  left: 35.5%; top: 6%; width: 29%; z-index: 3; --cut: 14px;
  background: #2fe0c0;
  filter: drop-shadow(0 0 18px rgba(47, 224, 192, .45)) drop-shadow(0 22px 30px rgba(0,0,0,.6));
}
.news-fan .nf-3 figcaption { text-align: center; font-size: clamp(15px, 1.45vw, 20px); }
.news-fan .nf-3 figcaption small { color: #2fe0c0; }
.news-fan .nf-card:hover { --y: -18px; opacity: 1; z-index: 4; filter: drop-shadow(0 0 16px rgba(47, 224, 192, .35)) drop-shadow(0 22px 30px rgba(0,0,0,.6)); }
.news-fan-caption {
  display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--e-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--e-muted);
}
.news-fan-caption::before, .news-fan-caption b::before { content: '\25C6'; color: var(--l-gold, #e2b65c); font-size: 9px; margin-right: 10px; }
.news-fan-caption b { color: #2fe0c0; font-weight: 700; }
.news-left { text-align: center; }

/* ---------- painel da wiki (card do launcher) ---------- */
.news-updates {
  --cut: 16px; position: relative; isolation: isolate;
  border: 0 !important; border-radius: 0 !important;
  padding: 30px 28px 24px !important;
  background: linear-gradient(135deg, #2fe0c0 0%, rgba(47,224,192,.45) 14%, rgba(47,224,192,.14) 50%, rgba(47,224,192,.45) 86%, #2fe0c0 100%) !important;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.news-updates::after {
  content: ''; position: absolute; inset: 1px; z-index: -1;
  background: linear-gradient(180deg, #0b2723 0%, #061714 100%);
  clip-path: polygon(calc(var(--cut) - .5px) 0, 100% 0, 100% calc(100% - var(--cut) + .5px), calc(100% - var(--cut) + .5px) 100%, 0 100%, 0 calc(var(--cut) - .5px));
}
.news-updates-title {
  display: inline-block; margin: 0 0 18px !important; padding: 4px 16px 4px 11px;
  font-family: var(--e-sans) !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .22em; font-variant: normal !important;
  text-transform: uppercase; color: #02201a !important; background: #2fe0c0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.news-updates-list { margin: 0 0 18px !important; padding: 0 !important; list-style: none; }
.news-updates-list li { border-bottom: 1px solid rgba(47, 224, 192, .12); }
.news-updates-list li:last-child { border-bottom: 0; }
.update-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 6px 12px 14px !important; position: relative; text-decoration: none; transition: background .2s ease; }
.update-link::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -3px; background: rgba(226, 182, 92, .6); transform: rotate(45deg); transition: background .2s ease; }
.update-link:hover { background: rgba(47, 224, 192, .06); }
.update-link:hover::before { background: #2fe0c0; }
.update-title { font-family: var(--e-sans); font-weight: 700; font-size: 15px; color: #eef6f2; }
.update-link:hover .update-title { color: #2fe0c0; }
.update-date { font-size: 11px !important; letter-spacing: .16em !important; color: var(--l-gold, #e2b65c) !important; }
.news-updates .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--l-gold, #e2b65c) !important; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr !important; }
  .news-fan figcaption small { display: none; }
  .news-fan .nf-3 figcaption small { display: block; }
}
/* ajustes: legenda com um marcador só; menos vão abaixo do leque */
.news-fan { aspect-ratio: 760 / 395; }
.news-fan-caption::before, .news-fan-caption b::before { content: none; }
.news-fan-caption { margin-top: 4px; }
/* 20/11: "Todas as notícias" mais perto da legenda; painel da wiki com no máximo 5 tópicos (menos altura) */
.news-left .news-events:empty { display: none; }
.news-left .news-fan-caption { margin-bottom: 10px; }
.news-left .cms-more { margin-top: 0 !important; }
.news-updates-list li:nth-child(n+6) { display: none; }
