.resources-wrapper {
    width: 100%;
    max-width: 1210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 50px 20px 56px;
}

@media (min-width: 840px) {
    .resources-wrapper {
        flex-direction: row;
        justify-content: space-between;
        margin: 0 auto;
        padding: 84px 20px 74px;
    }
}

@supports (padding: max(0px)) {
    .resources-wrapper {
        padding: 50px 20px 56px;
        padding: 50px calc(var(--sar) + 20px) 56px calc(var(--sal) + 20px);
    }
    
    @media (min-width: 840px) {
        .resources-wrapper {
            padding: 94px calc(var(--sar) + 20px) 74px calc(var(--sal) + 20px);
        }
    }    
}

.resources__sticky {
    width: auto;
    flex: 0 0 auto;
    padding-right: 20px;
}

@media (min-width: 840px) {
    .resources__sticky {
        position: sticky;
        top:100px;
    }
}

@media (min-width: 992px) {
    .resources__sticky {
        width: 414px;
    }
}

@media (min-width: 1170px) {
    .resources__sticky {
        width: 500px;
    }
}

.resources__sticky header {
    max-width: 321px;
}

.resources__sticky p {
    font-size: var(--toRem20px);
    line-height: var(--toRem26px);
    color: var(--grey-3);
    margin-bottom: var(--toRem20px);
}

.resources__aside {
    width: 100%;
/*     flex: 1 1 auto; */
    margin-top: 30px;
}

@media (min-width:840px) {
    .resources__aside {
        width: 350px;
    }
}

@media (min-width: 992px) {
    .resources__aside {
        margin-top: 50px;
    }
}

.resources-cta {
    width: 100%;
    padding: 32px 32px 24px;
    margin: 0;
    border-radius: var(--toRem8px);
    background-color: var(--grey-5);
}

@media (min-width:840px) {
  .resources-cta {
    padding: 34px 32px; 
  }
    .resources-cta h2 {
        max-width: 290px;
    }   
}
.resources-cta h3 {
  font-family: var(--carnas);
}
@media (min-width:992px) {
    .resources-cta h3 {
        padding-right: 1.5em;
        letter-spacing: -0.05px;
    }   
}

.resources-cta p {
    color: var(--grey-3);
    font-size: var(--toRem16px);
    line-height: var(--toRem26px);
    margin-bottom: 24px;
}

.resources__articles {
    flex: 1 1 auto;
    width: 100%;
    z-index:3;
}

.resource-article > a {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: 18px;
}

@media (min-width: 840px) {

    .resource-article > a {
        margin-bottom: 24px;
    }
}

.resource-article__figure {
    display: none;
}

@media (min-width: 540px) {
    .resource-article__figure {
        display: block;
        width: 170px;
        height: 180px;
        flex: 0 0 auto;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        overflow: hidden;
    }
}

.resource-article__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-article__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 1 auto;
    padding: 18px 30px;    
    border-radius: 8px;
    border: 1px solid var(--violet-1);
     background-color: white;
}

@media (min-width: 540px) {
    .resource-article__content {
        padding: 15px 48px 18px;   
    }
}

.resource-article > a:hover .resource-article__content {
    border-color: var(--violet);
}

/* 
.resource-article__content > * {
    max-width: 252px;
} */

.resource-article__content > p {
    margin: 9px 0 0;
    font-size: var(--toRem16px);
    line-height: var(--toRem22px);
    letter-spacing: -0.03px;
    color: var(--grey-3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

@media (min-width: 540px) {
    .resource-article__content > p {
        -webkit-line-clamp: 2;
        font-size: var(--toRem16px);
        line-height: var(--toRem20px);
    }
}

.resource-article__content > span {
    font-size: var(--toRem12px);
    line-height: var(--toRem22px);
    letter-spacing: -0.05px;
    color: var(--violet);
    text-transform: uppercase;
}
.resources .custom-form-container {
    margin-top: 24px;
}

.resources .custom-form-container .legal-consent-container {
   display: none;
}

.resources .custom-form-container .hs_email > label:first-of-type {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}

.resources .custom-form-container .hs_email input[type="email"] {
  margin: 0;
  padding: 12px 20px;
  min-height: 50px;
  font-size: var(--toRem16px);
  line-height: var(--toRem24px);
  letter-spacing: -0.03px;
}

.resources .custom-form-container .hs_submit {
  margin-top: var(--toRem16px);
}

.resources .custom-form-container .hs_submit input[type="submit"] {
  width: auto;
  min-width: 160px;
  min-height: 50px;
  padding: 14px 28px 9px;
  margin-bottom: 0;
}

.resources .custom-form-container .hs_error_rollup {
  display: none;
}

.latest-news-full-module__button {
  display: flex;
  justify-content: stretch;
  align-items: flex-start;
  margin-top: 32px;
  margin-left: 15px;
  margin-right: 15px;
}

@supports(padding: max(0px)) {
  .latest-news-full-module__button {
    margin-right: calc(var(--sar) + 15px);
    margin-left: calc(var(--sal) + 15px);
  }
}

@media (min-width: 512px) {
  .latest-news-full-module__button {
    margin-top: 13px;
    justify-content: center;
  }
}

.latest-news-full-module__button button {
  width: 100%;
  min-width: 170px;
}


@media (min-width: 512px) {
  .latest-news-full-module__button button { 
    width: auto;
  }
}

.resources__articles article:nth-child(n+6) {
 display:none;
}


.hero-module__svg {
  position: absolute;
  width: 98%;
  height: 100%;
  bottom: -2%;
  right: -9%;
  left: 18%;
  z-index: 0;
  transform: rotate(180deg);
}

@media (max-width: 830px) {
  .hero-module__svg {
    display:none;
  }
}

@media (min-width: 830px) {
  .hero-module__svg {
    width: 89%;
    right: -2%;
  }
}

@media (min-width: 1024px) {
  .hero-module__svg {
    width: 69%;
    right: -2%
  }
}