:root {
    --slider-speed: 30s;
}

.newsletters-hero-content {
    max-width: 58%;
}

.newsletter-hero-display-outer {
    max-width: 42%;
}

.newsletters-hero-form {
    max-width: 500px;
}

.newsletters-hero-form small {
    opacity: 0.7;
    max-width: 80%;
}

.newsletter-hero-display {
    width: 88%;
}

.display-content {
    min-height: 540px;
    max-height: 540px;
}

.display-circle {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 100%;
}

.small-circle {
    width: 4px;
    height: 4px;
    min-width: 4px;
    border-radius: 100%;
}

.display-content-inner > * {
    margin-bottom: 11px;
}

.fading-content:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 260px;
    background: linear-gradient(transparent, var(--color-bgr) 70%);
}

.newsletter-link {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.trusted-wrapper {
    max-width: 180px;
    width: 100%;
    border-right: 1px solid var(--color-typ);
}

.logos-slider-outer {
    overflow: hidden;
    width: 100%;
}

custom-logos,
.logos-slider-inner {
    align-items: center;
    flex-shrink: 0;
    display: flex;
}

.logos-slider-inner img {
    margin-left: 29px;
    margin-right: 29px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.logos-slider-inner img:hover {
    opacity: 1;
}

.logos-slider-inner {
    animation: slideLeft 50s linear infinite;
}

.testimonials-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: calc(var(--spacing) * 12);
  overflow: hidden;
}

.testimonials-inner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-left: 1px solid var(--color-bgr);
    pointer-events: none;
    border-left: 1px solid var(--color-typ);
}

.testimonial {
    width: 100%;
}

.testimonial small {
    margin-top: auto;
    opacity: 0.7;
}

.testimonial::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-left: 1px solid var(--color-bgr);
    opacity: .2;
    pointer-events: none;
}

.testimonial::before {
    content: '';
    position: absolute;
    bottom: calc(var(--spacing) * -6);
    left: 0;
    right: 0;
    opacity: .2;
    pointer-events: none;
    border-bottom: 1px solid var(--color-bgr);
} 

.logos-slider-outer::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 60px;
    background: linear-gradient(
        to right, 
        var(--color-bgr) 0%, 
        rgba(255, 255, 255, 0) 100%
        );
    z-index: 2;
}

.logos-slider-outer::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 60px;
    background: linear-gradient(
        to left, 
        var(--color-bgr) 0%, 
        rgba(255, 255, 255, 0) 100%
        );
    z-index: 2;
}

.display-button {
    position: absolute;
    bottom: calc(var(--spacing)*6);
    margin-left: 50%;
    left: 0;
    transform: translateX(-50%);
    z-index: 4;
}

.logo-section-image {
    height: calc(32px * var(--image-scale));
    width: auto;
}

.border-bgr {
    border-color: var(--color-bgr);
}

@keyframes slideLeft {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
    }
}

@media (max-width: 1023px) {
    .newsletters-hero-content,
    .newsletter-hero-display-outer {
        max-width: 100%;
    }

    .newsletter-hero-display-outer  {
        align-items: flex-start;
    }

    .newsletter-hero-display {
        max-width: 100%;
        width: 100%;
    }

    .display-content-header {
        padding-top: calc(var(--spacing)*2);
        padding-bottom: calc(var(--spacing)*2);
    }

    .display-content {
        min-height: 460px;
        max-height: 460px;
    }

    .logos-inner {
        flex-direction: column;
    }

    .trusted-wrapper {
        text-align: center;
        justify-content: center;
        max-width: 100%;
        margin-bottom: calc(var(--spacing)*6);
        border-right: none;
    }

    .logos-section {
        margin-bottom: 0;
    }

    .logos-slider-outer::before,
    .logos-slider-outer::after {
        width: 32px;
    }

    .testimonials-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial {
        padding-top: calc(var(--spacing)*2);
        padding-bottom: calc(var(--spacing)*2);
    }
}

@media (max-width: 680px) {
    .logo-section-image {
        height: calc(28px * var(--image-scale));
    }

    .testimonials-inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .testimonial {
        padding: 0px;
    }
}