.newsletter { padding: 40px 40px 48px; border-radius: 12px; @include bp (sd) { padding: 64px 60px 72px; } &__wrapper { --columns: 20; grid-column: 3 / span var(--columns); @include bp (sd) { --columns: 18; grid-column: 4 / span var(--columns); } } h3 { color: $color-secondary; } p { margin: 12px 0 40px; color: $color-text; font-weight: 300; } span { font-size: rem(16px); line-height: 1.2; color: rgba($color-text, 0.6); } // Past issues a { text-decoration: none; color: $color-text; font-size: rem(14px); span { color: $color-text; margin-left: 12px; border-bottom: 1px solid $color-text; } } // Form &__email { position: relative; display: flex; width: 100%; height: 64px; margin-bottom: 20px; padding: 0 30px; border-radius: 100vh; box-shadow: inset 0 0 0 3px $color-secondary; transition: box-shadow 0.6s var(--ease-quart); input { display: block; width: 100%; font-family: $font-sans; font-weight: 400; font-size: rem(18px); color: #333; background: none; border: none; &::placeholder { color: $color-gray; opacity: 1; } } button { display: flex; justify-content: center; align-items: center; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); margin-left: 32px; background-color: $color-secondary; height: 32px; width: 32px; flex-shrink: 0; border-radius: 100vh; } // States &.is-focused { box-shadow: inset 0 0 0 4px $color-secondary; } } // Past Issues .past-issues { display: flex; justify-content: space-between; } // Variants // Default color &--default { background-color: $color-tertiary; } // Light &--light { background-color: $color-cream; } }