
.community-cta-banner{
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.community-cta-banner__container{
  padding: 40px 0 65px;
}

.community-cta-banner__container::before{
  position: absolute;
  content: '';
  background-color: rgba(234, 235, 241, 0.81);
  width: 1000%;
  height: 100%;
  top: 0;
  right: 45%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 3px 6px #00000033;
  transition: all .3s ease;
}

.community-cta-banner__wrapper{
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  color: #fff !important;
}

.community-cta-banner__wrapper > div{
  width: 48%;
}

.community-cta-banner__wrapper > div > h2{
  position: relative;
  font-size: 30px;
  line-height: 41px;
  font-weight: 600;
  color: var(--color-primary) !important;
  margin: 0;
  padding-bottom: 21px;
  margin-bottom: 21px;
}

.community-cta-banner__wrapper > div > h2::after{
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-50%);
  width: 120px;
  height: 6px;
  background-color: var(--color-secondary);
}

.community-cta-banner__wrapper > div > *:not(h2),
.community-cta-banner__wrapper > div a{
  color: var(--color-dark);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  font-family: 'Lato', sans-serif;
}

/* .community-cta-banner__wrapper > div a { */
.community-cta-banner__wrapper > div a:not(.internal-link) {
  font-family: "Verlag A", "Verlag B", sans-serif;
  font-size: 20px;
  line-height: 21px;
  color: #000000;
  background-color: transparent;
  border: 3px solid var(--color-dark);
  border-radius: 10px;
  padding: 11px 22px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-out;
  display: block;
  width: fit-content;

}

/* .community-cta-banner__wrapper > div a:hover{ */
.community-cta-banner__wrapper > div a:not(.internal-link):hover{ 
  background-color: var(--color-dark);
  color: #fff !important;
  transition: all 0.3s ease-out;
}

.internal-link {
  color: blue !important;
  text-decoration: underline !important;
}
.internal-link:hover {
  text-decoration: none !important;
}
.community-cta-banner__wrapper--slide{
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  top: calc(48px + 2rem);
}

.community-cta-banner--button-slide{
  display: block;
  background: none;
  border: 0;
  position: absolute;
  z-index: 2;
  right: 45%;
  transform: translate(50%, -50%);
  top: 50%;
  transition: all .3s ease;
  width: 48px;
  height: 48px;
  line-height: 0.5;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
  background: #fff;
  color: #395775;
}

.community-cta-banner--button-slide:hover{
  background: #395775;
  color: #ECEAE9;
  fill: #ECEAE9;
}

{# Active States #}

.community-cta-banner__container.active::before{
  right: 24px;
}

.community-cta-banner__container.active .community-cta-banner__wrapper--slide{
  opacity: 1;
  pointer-events: unset;
}

.community-cta-banner__container.active .community-cta-banner--button-slide{
  right: 24px;
}

.community-cta-banner__container.active .community-cta-banner--button-slide  svg{
  transform: rotateZ(180deg);
}

@media screen and (min-width: 768px){
  .mobile{
    display: none;
  }
}

@media screen and (max-width: 767px){
  .mobile{
    display: block;
  }

  .community-cta-banner--image{
    position: relative;
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: right;
  }

  .community-cta-banner{
    background-color: #EAEBF1;
    background-image: unset !important;
  }

  .community-cta-banner__container{
    padding: 2.5rem 2rem 4rem;
  }

  .community-cta-banner__container::before,
  .community-cta-banner--button-slide{
    display: none;
  }

  .community-cta-banner__wrapper{
    display: block;
  }

  .community-cta-banner__wrapper > div{
    width: 100%;
    opacity: 1;
    top: unset;
    pointer-events: all;
  }

  .community-cta-banner__wrapper > div > h2{
    max-height: fit-content;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 1rem;
  }
}