/*!
 * Bootstrap  v5.3.2 (https://getbootstrap.com/)
 * Copyright 2011-2023 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

.rpw-landing {
  position: relative;
}

.rpw-landing-image {
  width: 70%;
  position: absolute;
  
  right: 0;
  top: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
}

[dir="rtl"] .rpw-landing-image {
  right: auto;
  
  left: 0;
}

@media (max-width: 480px) {
  .rpw-landing-image {
    width: 100%;
    position: relative;
    padding-top: 50%;
  }
}

.rpw-landing-image-caption {
  position: absolute;
  
  right: 8rem;
  bottom: -2rem;
  
  padding-right: 1rem;
}

[dir="rtl"] .rpw-landing-image-caption {
  right: auto;
  
  left: 8rem;
  padding-right: 0;
  
  padding-left: 1rem;
}

@media (max-width: 480px) {
  .rpw-landing-image-caption {
    display: none;
  }
}

.rpw-landing-image-caption::before {
  content: " ";
  position: absolute;
  
  border-right: 1px solid #190404;
  
  right: 0;
  height: 8rem;
  bottom: 0;
}

[dir="rtl"] .rpw-landing-image-caption::before {
  border-right: none;
  
  border-left: 1px solid #190404;
  right: auto;
  
  left: 0;
}

.rpw-landing-image-caption-mob {
  display: none;
  position: absolute;
  bottom: .5rem;
  
  right: 1rem;
  color: #000;
  font-size: 80%;
}

[dir="rtl"] .rpw-landing-image-caption-mob {
  right: auto;
  
  left: 1rem;
}

@media (max-width: 480px) {
  .rpw-landing-image-caption-mob {
    display: block;
    font-weight: bold;
  }
}

.rpw-landing-text-holder {
  padding-top: 2.5rem;
}

@media (max-width: 480px) {
  .rpw-landing-text-holder {
    padding-top: 1rem;
  }
}

.rpw-landing-text {
  background-color: #007436;
  position: relative;
  width: 36%;
  padding: 2rem 4rem;
  
  border-top-left-radius: 3rem;
  
  border-bottom-right-radius: 3rem;
  color: #fff;
  line-height: 1.3;
}

[dir="rtl"] .rpw-landing-text {
  border-top-left-radius: 0;
  
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 0;
  
  border-bottom-left-radius: 3rem;
}

@media (max-width: 1200px) {
  .rpw-landing-text {
    width: 60%;
  }
}

@media (max-width: 480px) {
  .rpw-landing-text {
    width: 100%;
    padding: 2rem;
    
    border-top-left-radius: 1rem;
    
    border-bottom-right-radius: 1rem;
  }

  [dir="rtl"] .rpw-landing-text {
    border-top-left-radius: 0;
    
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 0;
    
    border-bottom-left-radius: 1rem;
  }
}

.rpw-landing-text hr {
  width: 33%;
  height: 4px;
  background-color: #52ae32;
  border: none;
  
  text-align: left;
  margin: 0;
}

[dir="rtl"] .rpw-landing-text hr {
  
  text-align: right;
}

.rpw-title {
  font-size: 2.6rem;
  margin-top: 0;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: none !important;
}

@media (max-width: 480px) {
  .rpw-title {
    line-height: 1.2;
    font-size: 1.6rem;
  }
}

.rpw-subtitle {
  font-size: 1.75rem;
  font-weight: 700 !important;
  margin-top: 1.5rem;
  text-transform: none !important;
}

@media (max-width: 480px) {
  .rpw-subtitle {
    font-size: 1.3rem;
  }
}

.rpw-subtitle span {
  display: block;
  font-weight: 300;
}

.rpw-banner-square-wrap {
  width: 4rem;
  height: 4rem;
  position: absolute;
  
  left: 0;
  bottom: -4rem;
  
  background: linear-gradient(225deg, #004621 50%, #fff 50%);
}

[dir="rtl"] .rpw-banner-square-wrap {
  left: auto;
  
  right: 0;
  
  background: linear-gradient(-225deg, #004621 50%, #fff 50%);
}

@media (max-width: 480px) {
  .rpw-banner-square-wrap {
    width: 1rem;
    height: 1rem;
    bottom: -1rem;
  }
}

@media (min-width: 992px) {
  .rpw-landing-with-image {
    height: 600px;
  }

  .rpw-landing-with-image .rpw-landing-text {
    position: absolute;
    bottom: 0;
  }
}

