/* =========================================
   FICHIER : css/post-end.css
   PAGE    : articles du Journal Horizon
   ROLE    : tags, partage et CTA
   ========================================= */

.post-end {
  padding: 0 0 104px;
  background: #fff;
}

.post-end__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 1030px;
  margin: 0 auto;
  padding: 32px 0 52px;
  border-top: 1px solid var(--post-line);
}

.post-end__label {
  display: block;
  margin-bottom: 12px;
  color: var(--post-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-tags,
.post-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tags a,
.post-tags > span,
.post-share__actions a,
.post-share__actions button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--post-line);
  border-radius: 999px;
  background: #fff;
  color: var(--post-ink);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.post-tags a:hover,
.post-share__actions a:hover,
.post-share__actions button:hover {
  border-color: var(--post-accent);
  background: var(--post-accent);
  color: #fff;
  text-decoration: none;
}

/* CTA */
.post-end__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 42px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(255, 110, 64, 0.24),
      transparent 30%
    ),
    var(--post-ink);
  box-shadow: 0 24px 60px rgba(30, 61, 89, 0.18);
}

.post-end__cta .post-end__label {
  color: rgba(255, 255, 255, 0.58);
}

.post-end__cta h2 {
  max-width: 700px;
  margin: 0 0 9px;
  color: #fff;
  font-size: var(--hz-title-section);
  line-height: 1;
}

.post-end__cta p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.65;
}

.post-end__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.post-end__cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}