/* === Загальні налаштування таблиці === */
.table-review__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #eee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .table-review__grid {
    display: none;
  }
}

.table-review__text {
  font-size: 1rem;
  color: #ddd;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-review__gap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === Стиль для кожного сайту === */
.table-review .review-post {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 12px;
  background-color: #1a1d26;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(131, 88, 255, 0.15);    height: 140px;
    padding: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../assets/image/cards/background-brown.png);

}

.review-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(131, 88, 255, 0.4);
}

/* === Логотип === */
.review-post__logo {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 6px #CCCCFF);
}

/* === Вміст === */
.review-post__games,
.review-post__code {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
}

.review-post__games {
  color: #CCCCFF;
}

.review-post__code {
  color: #facc15;
  font-weight: bold;
}

/* === Кнопка "Get Bonus" або інша CTA === */
.review-post__link {
    font-weight: bold;
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    width: 90%;
    text-decoration: none;
    transition: background-color 0.3s ease;
    align-items: center;
    font-family: "Play";
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-image 0.3s ease;
    position: relative;
    background-image: linear-gradient(93.47deg, rgba(131, 88, 255, 0.84) -0.05%, rgba(103, 70, 201, 0.84) 72.07%, rgba(59, 161, 255, 0.84) 137.33%);
    box-shadow: 0px 2px 0px #4F34A0, inset 0px 2px 0px #9779F0;
    border-radius: 12px;
    padding: 11px 24px;
    color: #EBEBEB;
}

.review-post__link:hover {
  background-color: #6e45e2;
}

/* === Кнопка "Read Review" === */
.review-post__read {
  display: flex;
  margin-top: 10px;
  justify-content: center;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.review-post__read:hover {
  color: #e3060a;
}

.review-post__read:hover svg path {
  fill: #e3060a;
}

.table-review {
    border-radius: 8px;
	margin-bottom: 20px;
}


.btn.btn-primary {
    display: inline-block;
    align-items: center;
    font-family: "Play";
    font-size: 20px;
    line-height: 19px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    width: fit-content;
    text-decoration: none;
    transition: background-image 0.3s ease;
    position: relative;
    background-image: linear-gradient(93.47deg, rgba(131, 88, 255, 0.84) -0.05%, rgba(103, 70, 201, 0.84) 72.07%, rgba(59, 161, 255, 0.84) 137.33%);
    box-shadow: 0px 2px 0px #4F34A0, inset 0px 2px 0px #9779F0;
    border-radius: 12px;
    padding: 11px 24px;
    color: #EBEBEB;
    margin: 18px auto;
    font-weight: bold;
}

.load-more-wrapper {
	text-align:center;
}

/* === Адаптивність для мобільних === */
@media (max-width: 768px) {
  .review-post {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    height: auto !important; /* снимаем фиксированную высоту */
    grid-template-columns: none !important;
    background-size: cover;
  }

  .review-post > div {
    width: 100%;
    box-sizing: border-box;
  }

  .review-post__logo {
    max-width: 100px;
    height: auto;
    display: block;
  }

  .review-post__games,
  .review-post__code {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.4;
    word-break: break-word;
  }

  .review-post__code {
    color: orange;
    font-weight: bold;
  }

  .review-post__link {
    display: block;
    background: linear-gradient(90deg, #7f5eff, #a985ff);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .review-post__read {
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
	margin-bottom: 6px;
  }

  .review-post__read svg {
    width: 14px;
    height: 14px;
  }
}
.review-post__logo-wrapper {
    position: relative;
    display: inline-block;
}

/* Базовая плашка */
.review-post__badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 8px;
    background: #f39c12;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-bottom-right-radius: 4px;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Специфические цвета */
.review-post__badge--top {
    background: #3498db; /* синий */
}

.review-post__badge--promoted {
    background: #27ae60; /* зелёный */
}
