#post-header-bg {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.post-header-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.post-header-overlay h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  gap: 30px;
  color: white;
}

.post-meta span {
  color: white;
}

.post-header-no-image {
  width: 100%;
  padding: 60px 20px 40px;
  text-align: center;
  background: #f5f5f5;
}

.post-header-no-image h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.post-header-no-image .post-meta {
  display: flex;
  gap: 30px;
  justify-content: center;
  color: #666;
}

.post-header-no-image .post-meta span {
  color: #666;
}

.single #content {
  flex-direction: column !important;
}

.article-content {
  padding: 32px 40px !important;
}

/* Post Navigation */
.post-navigation {
  width: 100%;
  display: flex;
  margin-top: 80px;
}

.post-navigation a {
  flex: 1;
  min-height: 175px;
  position: relative;
  background-color: #2c2c2c;
  text-decoration: none;
  overflow: hidden;
}

.post-navigation a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: inherit;
  transition: transform 0.3s ease-out;
  z-index: 0;
}

.post-navigation a:hover::before {
  transform: scale(1.05);
}

.post-navigation .nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transition: background 0.5s ease-in-out;
  z-index: 1;
}

.post-navigation a:hover .nav-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.post-navigation .nav-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.5s ease-in-out;
}

.post-navigation .nav-title {
  color: white;
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
  transition: transform 0.5s ease-in-out;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-navigation .prev-arrow,
.post-navigation .next-arrow {
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.post-navigation a:hover .prev-arrow,
.post-navigation a:hover .next-arrow {
  opacity: 1;
}

.post-navigation .nav-previous:hover .prev-arrow {
  transform: translateX(-5px);
}

.post-navigation .nav-next:hover .next-arrow {
  transform: translateX(5px);
}

.post-navigation .nav-previous .nav-label {
  text-align: right;
}

.post-navigation .nav-previous .nav-title {
  text-align: right;
  justify-content: flex-end;
}
.post-navigation .nav-previous:hover .nav-label,
.post-navigation .nav-previous:hover .nav-title {
  transform: translateX(20px);
}

.post-navigation .nav-next:hover .nav-label,
.post-navigation .nav-next:hover .nav-title {
  transform: translateX(-20px);
}

@media (max-width: 768px) {
  .post-navigation {
    flex-direction: column;
  }

  .post-navigation a {
    min-height: 200px;
  }

  .post-navigation .nav-title {
    font-size: 20px;
  }
}
