/*
Theme Name: Fundacja Reja 
Theme URI: -
Author: -
Author URI: -
Description: Własny motyw WordPress na podstawie gotowego HTML
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive
*/



























.post-detail {
  padding: 100px 2rem;
}

.post-detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.post-detail-header {
  margin-bottom: 3rem;
  padding-left: 0;
  margin-left: 0 !important;
  background: none !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.post-detail-meta {
  display: block;
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-detail-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111;
  margin: 0 auto;
  line-height: 1.25;
}

.post-detail-image {
  margin-bottom: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.post-detail-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

.post-detail-content {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  font-weight: 400;
}

.post-detail-content h2,
.post-detail-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #111;
}

.post-detail-content p {
  margin-bottom: 1.5rem;
}

.post-detail-content ul {
  padding-left: 1.4em;
  margin-bottom: 1.5rem;
}

.post-detail-content li {
  margin-bottom: 0.5rem;
}

.post-detail-back {
  margin-top: 3rem;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 12px 24px;
  background-color: #e0e0e0;
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.3s ease;
}

.btn-back:hover {
  background-color: #ccc;
}

.post-detail-end {
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.post-detail-end-line {
  display: block;
  width: 100%;
  position: relative;
  height: 1px;
  background-color: #ddd;
  margin: 0 auto;
}

.post-detail-end-text {
  position: relative;
  top: -0.7em;
  background: #f9f9f9;
  padding: 0 12px;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


@media (max-width: 1024px) {
  .post-detail {
    padding: 80px 1.5rem;
  }

  .post-detail-title {
    font-size: 2.2rem;
  }

  .post-detail-content {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .post-detail {
    padding: 60px 1.2rem;
  }

  .post-detail-title {
    font-size: 1.8rem;
  }

  .post-detail-content h2,
  .post-detail-content h3 {
    font-size: 1.3rem;
  }

  .post-detail-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .btn-back {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .post-detail-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .post-detail-content {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .post-detail-image {
    margin-bottom: 2rem;
  }

  .post-detail-end-text {
    font-size: 0.7rem;
    padding: 0 10px;
  }
}
