:root {
  --vnc-bg:   #0A0A0A;
  --vnc-card: #111115;
  --vnc-gold: #FFD266;
  --vnc-text: #D8D6D0;
  --vnc-dim:  #2E3040;
  --vnc-r:    18px;
}

.vnc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}
@media (max-width: 1100px) { .vnc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .vnc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .vnc-grid { grid-template-columns: 1fr; } }

/* pagination */
.vnc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.vnc-pagination a,
.vnc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #1C1E2E;
  color: #D8DCE8;
  background: #0F1018;
  transition: border-color .3s, color .3s, background .3s;
}
.vnc-pagination a:hover {
  border-color: rgba(255,210,102,.4);
  color: var(--vnc-gold);
}
.vnc-pagination span.current {
  background: var(--vnc-gold);
  border-color: var(--vnc-gold);
  color: #000;
}
.vnc-pagination .vnc-dots {
  border: none;
  background: transparent;
  color: #3A3C50;
  pointer-events: none;
}

/* card */
.vnc-card {
  position: relative;
  background: var(--vnc-card);
  border: 1px solid #1E1E28;
  border-radius: var(--vnc-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition:
    transform .38s cubic-bezier(.22,.9,.36,1),
    border-color .38s ease,
    box-shadow .38s ease;
}
.vnc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,210,102,.2);
  box-shadow:
    0 24px 52px -14px rgba(0,0,0,.95),
    0 0 0 1px rgba(255,210,102,.05),
    0 0 56px -18px rgba(255,210,102,.1);
}

/* image */
.vnc-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0a;
  flex-shrink: 0;
}
.vnc-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: brightness(.6);
  transform: scale(1.03);
  transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .45s ease;
  loading: lazy;
}
.vnc-card:hover .vnc-card__img img {
  transform: scale(1.08);
  filter: brightness(.8);
}
.vnc-card__img::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 72px;
  background: linear-gradient(to top, var(--vnc-card) 0%, transparent 100%);
  pointer-events: none;
}

/* body */
.vnc-card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* category */
.vnc-card__cat {
  display: inline-flex;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--vnc-gold);
  border: 1px solid rgba(255,210,102,.28);
  padding: 2px 10px;
  border-radius: 999px;
  transition: border-color .3s ease, background .3s ease;
}
.vnc-card:hover .vnc-card__cat {
  border-color: rgba(255,210,102,.5);
  background: rgba(255,210,102,.06);
}

/* title */
.vnc-card__title {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  line-height: 1.75;
  color: var(--vnc-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s ease;
  margin: 0;
}
.vnc-card:hover .vnc-card__title { color: #fff; }

/* bottom row */
.vnc-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* date */
.vnc-card__date {
  font-size: 10px;
  color: var(--vnc-dim);
  font-family: monospace;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* button */
.vnc-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid rgba(255,210,102,.22);
  background: rgba(255,210,102,.03);
  transition: border-color .4s ease, background .4s ease, box-shadow .4s ease;
  flex-shrink: 0;
}
.vnc-card:hover .vnc-btn {
  border-color: rgba(255,210,102,.55);
  background: rgba(255,210,102,.06);
  box-shadow: 0 0 22px -6px rgba(255,210,102,.28);
}
.vnc-btn::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,210,102,.45);
  opacity: 0;
  pointer-events: none;
}
.vnc-btn::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1px solid rgba(255,210,102,.25);
  opacity: 0;
  pointer-events: none;
}
.vnc-card:hover .vnc-btn::before {
  animation: vnc-ring1 1.4s ease-out infinite;
}
.vnc-card:hover .vnc-btn::after {
  animation: vnc-ring2 1.4s ease-out .45s infinite;
}
@keyframes vnc-ring1 {
  0%   { transform: scale(1);    opacity: .7; }
  100% { transform: scale(1.22); opacity: 0;  }
}
@keyframes vnc-ring2 {
  0%   { transform: scale(1);    opacity: .4; }
  100% { transform: scale(1.32); opacity: 0;  }
}

.vnc-btn__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,210,102,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .4s ease, transform .35s ease;
}
.vnc-card:hover .vnc-btn__icon {
  background: rgba(255,210,102,.2);
  transform: translateX(-2px);
}
.vnc-btn__icon svg {
  width: 11px; height: 11px;
  color: var(--vnc-gold);
  display: block;
}
.vnc-btn__text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,210,102,.55);
  transition: color .4s ease;
  white-space: nowrap;
}
.vnc-card:hover .vnc-btn__text { color: var(--vnc-gold); }