.rbs-wrap,
.rbs-wrap * {
  box-sizing: border-box;
}
.rbs-wrap {
  font-family: Poppins, Inter, Arial, sans-serif;
  width: min(calc(100% - 48px), 1285px);
  max-width: 1285px;
  margin: 0 auto;
  padding: 40px 0 80px;
  color: #2f3433;
}

/* Layout */
.rbs-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

/* Left — photos */
.rbs-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #f2f2f2;
}
.rbs-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.rbs-thumbs::-webkit-scrollbar {
  display: none;
}
.rbs-thumbs img {
  width: 110px;
  height: 68px;
  object-fit: cover;
  border-radius: 7px;
  border: 2px solid transparent;
  cursor: pointer;
  flex: 0 0 110px;
  transition: 0.15s;
}
.rbs-thumbs img.active {
  border-color: #0d7d43;
}
.rbs-thumbs img:hover {
  border-color: #aaa;
}

/* Right — content */
.rbs-title {
  font-size: 26px;
  font-weight: 800;
  color: #092b1e;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.rbs-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.rbs-featured-badge {
  background: #fff8e6;
  color: #9d7400;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rbs-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9a9a9a;
  font-size: 11px;
}
.rbs-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rbs-body {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 20px 0;
  white-space: pre-wrap;
}
.rbs-body p {
  margin: 0 0 16px;
}

/* Hashtags */
.rbs-hashtags {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.rbs-hashtags a {
  color: #0d7d43;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.rbs-hashtags a:hover {
  text-decoration: underline;
}

/* Tags */
.rbs-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.rbs-tag-icon {
  color: #0d7d43;
  font-size: 14px;
}
.rbs-tag {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #444;
}

/* Share */
.rbs-share-row {
  display: flex;
  justify-content: flex-end;
}
.rbs-share-btn {
  border: 0;
  background: transparent;
  color: #0d7d43;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rbs-back {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border: 0 !important;
    background: #fff !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
    cursor: pointer !important;
    margin-bottom: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #2f3433 !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.rbs-share-btn:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .rbs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rbs-main-img {
    height: 360px;
  }
}
@media (max-width: 600px) {
  .rbs-wrap {
    width: calc(100% - 28px);
    padding: 24px 0 60px;
  }
  .rbs-main-img {
    height: 240px;
  }
  .rbs-title {
    font-size: 20px;
  }
}