/* Prev/Next container */
.prev-next-box {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

/* Unified button style for prev/next and post comment */
.rs-nav-btn,
#submit-comment-btn {
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  line-height: 1.1 !important;
  /* Keep button look consistent */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  border-radius: 3px;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .15s;
  cursor: pointer;
}
.rs-nav-btn i,
#submit-comment-btn i {
  font-size: 16px;
  line-height: 1;
  transition: transform .25s;
}

/* Hover/focus: dark gray background, white text */
.rs-nav-btn:hover,
.rs-nav-btn:focus,
#submit-comment-btn:hover,
#submit-comment-btn:focus {
  background: #333333 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  outline: none;
}

/* Use the same style as the Post Comment button for prev/next nav */
.prev-next-box .site-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: #fff;
  color: #b19777;
  border: 1px solid #b19777;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font: 600 13px/1.1 "Poppins", Arial, sans-serif;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .15s;
  cursor: pointer;
}
.prev-next-box .site-btn i {
  font-size: 16px;
  line-height: 1;
  transition: transform .25s;
}
.prev-next-box .site-btn:hover,
.prev-next-box .site-btn:focus {
  background: #333333;
  color: #fff;
  border-color: #b19777;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  outline: none;
}

/* Icon nudge for prev/next only */
.prev-next-box .prev-post:hover i.la-arrow-left { transform: translateX(-4px); }
.prev-next-box .next-post:hover i.la-arrow-right { transform: translateX(4px); }

/* Mobile */
@media (max-width: 640px) {
  .prev-next-box { gap: 16px; }
  .prev-next-box .rs-nav-btn { flex: 1 1 100%; justify-content: center; }
  .prev-next-box .site-btn { flex: 1 1 100%; justify-content: center; }
}

/* Back to Top Button */
#rs-backtotop {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.95;
  transition: opacity .2s, background .2s;
}
#rs-backtotop:hover {
  background: #b19777;
  opacity: 1;
}
#rs-backtotop:hover svg {
  fill: #fff;
}
#rs-backtotop svg {
  display: inline-block;
  vertical-align: middle;
  fill: #b19777;
  transition: fill .2s;
}
@media (max-width: 600px) {
  #rs-backtotop {
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
  }
}