/* --- Base Typography & Variables --- */
.rbks-payroll-wrapper {
  background-color: #F8F9FA; 
  padding: 3rem 0;
  font-family: inherit;
  color: #1A1A1A;
  overflow: hidden;
}

.rpr-gold-text {
  color: #D4AF37 !important;
}

/* --- Universal Hover Logic --- */
.rpr-hover-item {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent; 
  cursor: pointer;
}

.rpr-hover-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #D4AF37;
  background-color: #FFFFFF;
}

/* --- Centralized Title (Light Grey Box) --- */
.rpr-title-container {
  display: inline-block;
  background-color: #e9ecef; /* Light grey background */
  padding: 1.1rem 2.0rem;
  border-radius: 4px;
  margin-bottom: .8rem;
}

.rpr-main-title {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -.8px;
  margin: 0;
}

@media (min-width: 992px) {
  .rpr-main-title { font-size: 3.5rem; }
}

.rpr-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 8px;
}

.rpr-subtitle {
  letter-spacing: 1.8px;
  font-weight: 500;
  font-size: 1rem;
  color: #FFFFFF;
  background-color: #1A1A1A;
  padding: 1.8px 6px;
  border-radius: 1.8px;
}

.rpr-line {
  height: 2px;
  width: 40px; 
  background-color: #D4AF37;
}

/* --- Segue Intro (Light Gold Box) --- */
.rpr-hero-intro-centered {
  background-color: #FDF8E7; /* Light gold tint based on your #D4AF37 brand color */
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.05); /* Soft gold shadow */
}

.rpr-headline-centered {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #1A1A1A;
  margin: 0;
}

/* --- Left Feature List --- */
.rpr-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; 
}

.rpr-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 15px 20px;
  border-radius: 12px;
  background-color: transparent;
}

.rpr-feature-content h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #D4AF37;
  margin-bottom: 0.4rem;
}

.rpr-feature-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444444;
  margin: 0;
}

/* --- 3D Icon Setup --- */
.rpr-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(145deg, #2b2b2b, #151515); 
  box-shadow: 
    4px 4px 10px rgba(0,0,0,0.15), 
    -4px -4px 10px rgba(255,255,255,0.8), 
    inset 1px 1px 3px rgba(255,255,255,0.2), 
    inset -2px -2px 5px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.rpr-feature-icon::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border: 2px solid #D4AF37;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.85;
}

.rpr-feature-icon svg {
  width: 26px;
  height: 26px;
  fill: #D4AF37;
  z-index: 2;
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.6)); 
}

.rpr-feature-item:hover .rpr-feature-icon svg {
  transform: scale(1.1);
}

/* --- Right Image & Badges --- */
.rpr-graphic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.rpr-main-img {
  max-width: 100%;
  height: auto;
  mix-blend-mode: darken; /* Ensures clean transparency against the background */
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.rpr-floating-badge {
  position: absolute;
  bottom: 5%;
  right: -5%;
  background-color: #000000;
  border-radius: 40px;
  padding: 1.2rem 2rem;
  color: #FFFFFF;
  border: 2px solid #D4AF37;
  z-index: 5;
}

.rpr-fb-icon svg {
  width: 35px;
  height: 35px;
  fill: #D4AF37;
}

.rpr-fb-text span {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* --- Bottom Banner Grid --- */
.rpr-bottom-banner {
  background-color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eaeaea;
}

.rpr-bb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 992px) {
  .rpr-bb-item {
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
    border-bottom: none;
  }
}

.rpr-bb-left .col:last-child .rpr-bb-item {
  border-right: none;
}

.rpr-bb-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.rpr-bb-icon svg {
  width: 22px;
  height: 22px;
  fill: #D4AF37;
}

.rpr-bb-content h6 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: #1A1A1A;
}

.rpr-bb-content p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #555555;
  margin: 0;
}

/* Callout Box on the far right */
.rpr-bb-right {
  background-color: #D4AF37;
  color: #1A1A1A;
  height: 100%;
}

.rpr-bb-right:hover {
  background-color: #1A1A1A;
  color: #D4AF37;
}

.rpr-bb-right:hover .rpr-bbr-icon svg {
  fill: #D4AF37;
}

.rpr-bbr-icon svg {
  width: 45px;
  height: 45px;
  fill: #1A1A1A;
  transition: fill 0.3s ease;
}