/* =========================
   POST – LAYOUT
========================= */
.post {
  padding: 4rem 0 5rem;
}

.post-content {
  max-width: 860px;
}

/* =========================
   TYTUŁ
========================= */
.post-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #f8fafc;
}

/* =========================
   TAGI
========================= */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.post-tag {
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  background-color: rgba(128, 26, 42, 0.25);
  color: #f3c7ce;
  border: 1px solid rgba(128, 26, 42, 0.55);

  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.post-tag:hover {
  background-color: rgba(128, 26, 42, 0.45);
  transform: translateY(-1px);
}

/* =========================
   OBRAZEK GŁÓWNY – STAŁY PROSTOKĄT (PORTALE)
========================= */
.post-hero {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 3.5rem;
}

.post-hero img {
  width: 100%;
  max-width: 760px;

  /* KLUCZ */
  aspect-ratio: 16 / 9;
  object-fit: cover;

  border-radius: 10px;
  background-color: #020617;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* =========================
   TREŚĆ
========================= */
.post-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d1d5db;
}

/* AKAPITY */
.post-body p {
  margin-bottom: 1.6rem;
}

/* PODTYTUŁY */
.post-body h2 {
  margin: 3.5rem 0 1.2rem;
  font-size: 1.7rem;
  line-height: 1.25;
  color: #f8fafc;
  position: relative;
}

/* LINIA POD H2 */
.post-body h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  margin-top: 0.8rem;
  background: linear-gradient(
    90deg,
    rgba(128, 26, 42, 0.9),
    rgba(56, 189, 248, 0.6)
  );
}

/* LISTY */
.post-body ul,
.post-body ol {
  margin: 1.8rem 0 2.2rem 1.4rem;
}

.post-body li {
  margin-bottom: 0.6rem;
}

/* OBRAZKI W TREŚCI */
.post-body img {
  width: 100%;
  margin: 2.8rem 0;
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

/* CYTAT */
.post-body blockquote {
  margin: 3rem 0;
  padding: 1.6rem 2rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-left: 4px solid rgba(128, 26, 42, 0.8);
  font-style: italic;
  color: #e5e7eb;
}

/* LINKI */
.post-body a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: #bae6fd;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .post {
    padding: 3rem 0 4rem;
  }

  .post-title {
    font-size: 2rem;
  }

  .post-hero img {
    border-radius: 12px;
  }

  .post-body {
    font-size: 1rem;
  }
}
/* =========================
   NAWIGACJA REDAKCYJNA – CLEAN
========================= */
.post-nav-editorial {
  max-width: 860px;
  margin: 6rem auto;
  padding: 3rem 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;

  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* BLOK */
.nav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* LINK */
.nav-item a {
  text-decoration: none;
  color: #e5e7eb;
  transition: color 0.25s ease;
}

/* HOVER – NIEBIESKI */
.nav-item a:hover .nav-title {
  color: rgb(201, 99, 114);
}

/* LEWY / PRAWY */
.nav-item.prev {
  text-align: left;
}

.nav-item.next {
  text-align: right;
}

/* LABEL – WYŻEJ, WIĘKSZY, WYRAŹNY */
.nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;

  margin-bottom: 0.8rem;

  color: #94a3b8;
}

/* TYTUŁ */
.nav-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  line-height: 1.3;
}
.nav-label {
  color: rgba(128, 26, 42, 1);
}

/* LINIA ŚRODKOWA */
.nav-divider {
  width: 1px;
  background: rgba(255,255,255,0.18);
}

/* =========================
   WYGASZONE (BRAK WPISU)
========================= */
.nav-item.disabled {
  opacity: 0.4;
}

.nav-item.disabled a {
  pointer-events: none;
  cursor: default;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .post-nav-editorial {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-divider {
    display: none;
  }

  .nav-item.next {
    text-align: left;
  }

  .nav-title {
    font-size: 1.15rem;
  }
}
/* =========================
   NAWIGACJA – MOBILE WYŚRODKOWANIE
========================= */
@media (max-width: 768px) {

  .post-nav-editorial {
    text-align: center;
  }

  .nav-item {
    align-items: center;
  }

  .nav-item.prev,
  .nav-item.next {
    text-align: center;
  }

  .nav-title {
    justify-content: center;
  }
}
