@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/variables";

.jetpack-free-welcome {
	.jetpack-free-welcome__features {
		margin: 0 0 0 10px;
		padding: 0 0 32px 5px;
		@include break-mobile {
			font-size: $font-body;
			/* stylelint-disable-next-line declaration-property-unit-allowed-list */
			line-height: 2rem;
		}
	}

	.jetpack-free-welcome__feature-nav-button {
		position: relative;
		display: block;
		padding: 16px 64px 16px 24px;
		color: var(--color-studio-black);
		border: 2px solid var(--studio-jetpack-green-40);
		border-radius: calc(2px * 2);
		text-decoration: none;

		span {
			display: block;

			&:last-of-type {
				font-weight: 600;
			}
		}

		&:hover,
		&:focus {
			//box-shadow: 0px 0px 40px rgba( 0, 0, 0, 0.08 );

			span:last-of-type {
				text-decoration: underline;
				text-decoration-thickness: 2px;
			}

			&::after {
				transform: translateY(-50%) translateX(8px);
			}
		}

		&::after {
			content: "→";
			position: absolute;
			top: 50%;
			right: 24px;
			font-size: $font-title-medium;
			font-weight: 600;
			color: var(--studio-jetpack-green-40);
			transform: translateY(-50%);
			transition: transform 0.15s ease-out;
		}
	}
}
