.rnr-gallery-wrapper {
  width: 100%;
  height: auto;
  padding: 2rem 0;
  margin: 0 auto;
  padding-top: 110px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.rnr-section {
  width: 100%;
  padding: 1rem 2rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  box-sizing: border-box;
  background: transparent;
}

.rnr-section-header h3 {
  display: inline-block;
  background: #3b2b20;
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 1rem;
}

.rnr-grid {
  display: grid;
  gap: 25px;
  margin-top: 25px;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

/* responsive columns: show 4 items per row on small screens, more on larger screens */
@media (max-width: 767px) {
  .rnr-grid {
    grid-template-columns: repeat(2, 2fr);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .rnr-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.rnr-item {
  border-radius: 12px;
  overflow: hidden;
  background: #3d271b91;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 120px;
  padding: 0.6rem;
}

.rnr-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* inline video styling */
.rnr-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* hidden items when collapsed */
.rnr-hidden {
  display: none !important;
}

/* See more control */
.rnr-controls {
  margin-top: 12px;
}

.rnr-see-more-btn {
  background: #6b3f26;
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .rnr-gallery-wrapper {
    padding-top: 70px;
  }
}

/* small adjustments */
@media (max-width: 480px) {
  .rnr-section {
    padding: 0.8rem 1rem 1.2rem;
  }

  .rnr-section-header h3 {
    font-size: 0.95rem;
    padding: 5px 10px;
  }
}