.codevz-hover-reveal {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.codevz-hover-reveal > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 16px;
  border-bottom: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.codevz-hover-reveal:hover > a {
  opacity: 0.8;
}

.codevz-hover-reveal:hover > a:hover {
  opacity: 1;
}

.codevz-hover-reveal > a > div:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.codevz-hover-reveal > a > div:first-child > span {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  transition: color 0.3s ease;
}

.codevz-hover-reveal > a > div:first-child > small {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.codevz-hover-reveal > a > img {
  position: absolute;
  right: 220px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 250px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.codevz-hover-reveal > a > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5b73a0;
  z-index: 2;
  transition: color 0.3s ease;
}

.codevz-hover-reveal > a > div:last-child > svg,
.codevz-hover-reveal > a > div:last-child > i {
  width: 18px;
  height: 18px;
  font-size: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.codevz-hover-reveal > a:hover > div:first-child > span,
.codevz-hover-reveal > a:hover > div:last-child {
  color: #06b6d4;
}

.codevz-hover-reveal > a:hover > div:first-child > small {
  background-color: #002b5b;
  color: #ffffff;
}

.codevz-hover-reveal > a:hover > div:last-child > svg,
.codevz-hover-reveal > a:hover > div:last-child > i {
  transform: translateX(4px);
}

.codevz-hover-reveal > a:hover > img {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 768px) {
  .codevz-hover-reveal > a > img {
    display: none;
  }
}

@media (max-width: 680px) {
  .codevz-hover-reveal > a {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 24px 12px;
  }

  .codevz-hover-reveal > a > div:first-child {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .codevz-hover-reveal > a > div:first-child > span {
    font-size: 1.5rem;
  }

  .codevz-hover-reveal > a > div:last-child {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .codevz-hover-reveal > a > div:first-child > span {
    font-size: 1.25rem;
  }
}