﻿body {
  font-family: Verdana;
  font-size: 12px;
}

.notranslate {
  translate: no;
}

.front-card {
  position: relative;
  width: 100%;
  height: 28.8831168831vw !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: #000;
  color: #fff;
  isolation: isolate;
  box-sizing: border-box;
}

.front-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02); /* lille zoom for kantfylde */
  z-index: -2;
  filter: saturate(1.05) contrast(1.05);
}

.front-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.7) 100%);
  z-index: -1;
}

.front-card > .content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 18px 18px 20px;
}

.front-card > .content .title {
  font-size: 26px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.front-card > .content .subtitle {
  font-size: 13.5px;
  line-height: 1.4;
  opacity: 0.95;
  max-width: 92%;
}

.card.lightbox {
  cursor: pointer !important;
}

@media (max-width: 768px) {
  .front-card {
    height: 60vw !important;
  }
}
