/* Componentes geométricos inspirados na linguagem visual Rockstar. */

/* ================= MARCA VI / AGORA DO RODAPÉ ================= */
.site-footer .footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(54px, 6vw, 76px);
  color: #fff;
  text-decoration: none;
  transition: transform .25s ease, color .25s ease, filter .25s ease;
}

.site-footer .footer-vi-mark {
  display: block;
  width: clamp(92px, 10vw, 126px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .34));
  transition: transform .25s ease;
}

.site-footer .footer-logo-word {
  display: block;
  padding-left: .48em;
  transform: translateX(3px);
  color: currentColor;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(.78rem, 1.2vw, 1rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .48em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer .footer-logo:hover,
.site-footer .footer-logo:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .14));
}

.site-footer .footer-logo:hover .footer-vi-mark,
.site-footer .footer-logo:focus-visible .footer-vi-mark {
  transform: scale(1.035);
}

.site-footer .footer-logo:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .76);
  outline-offset: 8px;
}

/* ================= NEWS CARDS ROCKSTAR ================= */
.news-main .news-card {
  --card-cut: 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  background:
    linear-gradient(#0d0d0f, #0d0d0f) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .06)) border-box;
  clip-path: polygon(
    0 0,
    calc(100% - var(--card-cut)) 0,
    100% var(--card-cut),
    100% 100%,
    var(--card-cut) 100%,
    0 calc(100% - var(--card-cut))
  );
  transition: transform .25s ease, filter .25s ease, background .3s ease;
}

.news-main .news-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 58%, rgba(255, 255, 255, .045));
  opacity: 0;
  transition: opacity .3s ease;
}

.news-main .news-card:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .36));
  background:
    linear-gradient(#151518, #0d0d0f) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .1)) border-box;
}

.news-main .news-card:hover::after {
  opacity: 1;
}

.news-main .news-img {
  aspect-ratio: 16 / 10;
  background: #09090a;
}

.news-main .news-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .7) 100%);
}

.news-main .news-img img {
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .55s ease;
}

.news-main .news-card:hover .news-img img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.06);
}

.news-main .badge {
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  background: #0d0d0d;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  transition: background-color .25s ease, color .25s ease;
}

.news-main .news-card:hover .badge {
  background: #fff;
  color: #000;
}

.news-main .news-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 20px 20px 24px;
}

.news-main .news-content h3 {
  margin-bottom: 11px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.news-main .news-content h3 a {
  transition: color .25s ease;
}

.news-main .news-content h3 a:hover,
.news-main .news-content h3 a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.news-main .news-meta {
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.news-main .dot-icon {
  color: rgba(255, 255, 255, .82);
}

.news-main .news-content > p {
  margin-top: auto;
  color: rgba(255, 255, 255, .66);
  font-size: 12.5px;
  line-height: 1.62;
}

@media (max-width: 640px) {
  .site-footer .footer-logo {
    gap: 8px;
    margin-bottom: 46px;
  }

  .site-footer .footer-vi-mark {
    width: 92px;
  }

  .site-footer .footer-logo-word {
    font-size: .76rem;
  }

  .news-main .news-card {
    --card-cut: 14px;
  }

  .news-main .news-content {
    min-height: 0;
    padding: 18px 18px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-logo,
  .site-footer .footer-vi-mark,
  .news-main .news-card,
  .news-main .news-img img,
  .news-main .badge {
    transition: none;
  }
}