.wp-block-latest-posts {
	margin-left: 0;

	& > li {
		/* Vertical margins logic */
		margin-top: #{map-deep-get($config-global, "spacing", "vertical")};
		margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};

		&:first-child {
			margin-top: 0;
		}

		&:last-child {
			margin-bottom: 0;
		}
	}

	& > li > a {
		font-family: #{map-deep-get($config-heading, "font", "family")};
		font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
		font-weight: #{map-deep-get($config-heading, "font", "weight")};
		line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};
	}

	.wp-block-latest-posts__post-date {
		color: #{map-deep-get($config-global, "color", "foreground", "light")};
		font-size: #{map-deep-get($config-global, "font", "size", "xs")};
		line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
	}

	.wp-block-latest-posts__post-excerpt {
		font-size: #{map-deep-get($config-global, "font", "size", "sm")};
		line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
		margin: 0;
	}
}
