/* Добавляем шрифт Onest из Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&display=swap");

.clickable-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  list-style: none;
  padding-left: 16px;
  padding-right: 16px;
  font-family: "Onest", sans-serif;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.clickable-list li {
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
  overflow: hidden;
  background-color: #0f4b91; /* СПЛОШНОЙ ЦВЕТ */
  position: relative;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

.clickable-list li:hover {
  background-color: #0c3f7a; /* немного темнее при hover */
  box-shadow: 0 3px 8px rgba(15, 75, 145, 0.25);
  transform: translateY(-1px);
}

.clickable-list li a {
  display: block;
  padding: 12px 20px 25px 50px;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  min-height: 60px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.clickable-list li a::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("https://cdn-icons-png.flaticon.com/512/9187/9187534.png");
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
}

/* ДАТА внутри элемента */
.clickable-list .date {
  position: absolute;
  bottom: 8px;
  right: 20px;
  font-size: 0.55rem;
  font-weight: 600;
  color: #fc6c6c;
  display: flex;
  align-items: center;
  user-select: none;
  z-index: 2;
}

.clickable-list .date::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  background-image: url("https://cdn-icons-png.flaticon.com/512/9989/9989135.png");
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
}

/* Метка NOU */
.clickable-list li:first-child {
  position: relative;
  overflow: visible;
}

.clickable-list li:first-child::after {
  content: "NOU";
  position: absolute;
  top: -7px;
  left: -7px;
  background: #af002d;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  z-index: 10;
  border: 1.5px solid white;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-family: "Onest", sans-serif;
}

.clickable-list li:first-child:hover::after {
  background: #8c0023;
  border-color: #f0f0f0;
}

/* Убираем лишние отступы */
.clickable-list p {
  margin: 0;
  padding: 0;
}

/* Адаптив */
@media (max-width: 768px) {
  .clickable-list {
    gap: 4px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .clickable-list li a {
    padding: 10px 15px 20px 45px;
    font-size: 13px;
    min-height: 55px;
  }

  .clickable-list li a::before {
    left: 12px;
    width: 18px;
    height: 18px;
  }

  .clickable-list .date {
    right: 12px;
    bottom: 6px;
    font-size: 0.5rem;
  }

  .clickable-list li:first-child::after {
    top: -5px;
    left: -5px;
    font-size: 0.55rem;
    padding: 1px 5px;
  }
}
