/* ==========================================================================
   Two Column Parallax Module (Simplified)
   Prefix: rc-two-col-parallax-
   ========================================================================== */

/* --------------------------------------------------------------------------
   Main Container with Parallax Background
   -------------------------------------------------------------------------- */
#rc-two-col-parallax,
.rc-two-col-parallax {
  position: relative;
  background-color: #333333;
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0;
  color: #ffffff;
}
.rc-page-content__title{
  line-height: 1;
}
/* Dark overlay for better text readability */
.rc-two-col-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Green Top Accent Line
   -------------------------------------------------------------------------- */
.rc-two-col-parallax__accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background-color: #6fb53f;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.rc-two-col-parallax__container {
  position: relative;
  z-index: 2;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------------------------------------------------------
   Row & Columns
   -------------------------------------------------------------------------- */
.rc-two-col-parallax__row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.rc-two-col-parallax__col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
  box-sizing: border-box;
}

.rc-two-col-parallax__col--left .rc-two-col-parallax__content {
  padding-right: 40px;
}

.rc-two-col-parallax__col--right .rc-two-col-parallax__content {
  padding-left: 20px;
}

/* --------------------------------------------------------------------------
   Rich Text Content Styling
   -------------------------------------------------------------------------- */

/* Headings */
.rc-two-col-parallax__content h2 {
  font-family: 'Roboto Slab', 'Noto Serif', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 20px 0;
}

/* Paragraphs */
.rc-two-col-parallax__content p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 20px 0;
}

/* Lists */
.rc-two-col-parallax__content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 30px 0;
}

.rc-two-col-parallax__content ul li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 2px;
}

/* Links */
.rc-two-col-parallax__content a {
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.rc-two-col-parallax__content a:hover,
.rc-two-col-parallax__content a:focus {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------------------- */
.rc-two-col-parallax__cta {
  margin-top: 30px;
}

.rc-two-col-parallax__btn {
  display: inline-block;
  padding: 20px 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #ffffff;
  text-decoration: none !important;
  transition: all 0.6s ease !important;
}

.rc-two-col-parallax__btn:hover,
.rc-two-col-parallax__btn:focus {
  transform: scale(.95);    
  text-decoration: none !important;

}

/* Button (span.button inside a link) */
.rc-two-col-parallax__content .button,
.rc-two-col-parallax__content span.button {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rc-two-col-parallax__content a:hover .button,
.rc-two-col-parallax__content a:hover span.button {
  background-color: #ffffff;
  color: #333333;
}

/* Remove underline from button links */
.rc-two-col-parallax__content a:has(.button),
.rc-two-col-parallax__content a:has(span.button) {
  text-decoration: none !important;
}

/* Fallback for browsers without :has() */
.rc-two-col-parallax__content p:last-child a {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive - Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .rc-two-col-parallax__col--left .rc-two-col-parallax__content,
  .rc-two-col-parallax__col--right .rc-two-col-parallax__content {
    padding-left: 0;
    padding-right: 0;
  }
  
  .rc-two-col-parallax__content h2 {
    font-size: 28px;
  }
}

/* --------------------------------------------------------------------------
   Responsive - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rc-two-col-parallax {
    background-attachment: scroll;
    padding: 40px 0;
  }
  
  .rc-two-col-parallax__col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .rc-two-col-parallax__col:last-child {
    margin-bottom: 0;
  }
  
  .rc-two-col-parallax__content h2 {
    font-size: 24px;
  }
  
  .rc-two-col-parallax__content .button,
  .rc-two-col-parallax__content span.button,
  .rc-two-col-parallax__btn {
    display: block;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   iOS Safari Fix for Fixed Background
   -------------------------------------------------------------------------- */
@supports (-webkit-touch-callout: none) {
  .rc-two-col-parallax {
    background-attachment: scroll;
  }
}