/* ── Promotions List Page ───────────────────────────────────────────────── */

.promotions {
  padding: 64px 0;
}

.promotions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promotions__empty {
  text-align: center;
  color: #999;
  padding: 40px 0;
}

/* Card */
.promotion-card {
  display: flex;
  flex-direction: column;
}

.promotion-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.promotion-card__link:hover .promotion-card__image {
  transform: scale(1.03);
}

.promotion-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.promotion-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.promotion-card__date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--color-red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 2px;
}



.promotion-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 0;
  gap: 8px;
}

.promotion-card__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--color-text);
}

.promotion-card__excerpt {
  font-size: 13px;
  line-height: 150%;
  color: var(--color-text);
  flex: 1;
}

.promotion-card__btn {
  align-self: flex-start;
  margin-top: 4px;
  width: 100%;
  background: none;
  background-color: transparent;
  border: 1px solid var(--color-red);
  color: var(--color-red);
  box-shadow: none;
}

.promotion-card__btn:hover {
  opacity: 0.85;
  background: none;
  background-color: transparent;
}

/* Pagination */
.promotions .pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 48px;
}

.promotions .pagination__item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D9DDDE;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.promotions .pagination__item--active,
.promotions .pagination__item:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

/* ── Single Post ────────────────────────────────────────────────────────── */

.single-post {
  padding: 20px 0 48px;
}

.single-post__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.single-post__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--color-red);
}

.single-post__image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 32px;
}

.single-post__content {
  font-size: 15px;
  line-height: 170%;
  color: var(--color-text);
}

.single-post__content h2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  text-transform: uppercase;
  margin: 32px 0 16px;
}

.single-post__content h3 {
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  margin: 24px 0 12px;
}

.single-post__content p {
  margin-bottom: 14px;
}

.single-post__content p:last-child {
  margin-bottom: 0;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.single-post__content ul { list-style: disc; }
.single-post__content ol { list-style: decimal; }

.single-post__content li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 160%;
}

.single-post__content strong,
.single-post__content b {
  font-weight: 700;
}

.single-post__content a {
  color: var(--color-red);
  text-decoration: underline;
}

.single-post__content a:hover {
  opacity: 0.8;
}

.single-post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

/* ── Tablet ≤ 1080px ── */
@media (max-width: 1080px) {
  .promotions__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .single-post__title {
    font-size: 32px;
  }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .promotions {
    padding: 56px 0;
  }

  .promotions__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .single-post {
    padding: 16px 0 32px;
  }

  .single-post__title {
    font-size: 24px;
  }

  .single-post__image {
    max-height: 240px;
    margin-bottom: 20px;
  }
}
