// placeholder
@mixin input-placeholder {
	&.placeholder {
		@content;
	}
	&:-moz-placeholder {
		@content;
	}
	&::-moz-placeholder {
		@content;
	}
	&:-ms-input-placeholder {
		@content;
	}
	&::-webkit-input-placeholder {
		@content;
	}
}


// list normalize
@mixin list-normalize( $args: () ) {

	$args: map-merge((
		margin: 0,
		padding: 0,
	), $args);

	margin: map-get($args, margin);
	padding: map-get($args, padding);
	list-style: none;
}


// line height crop
@mixin lhCrop($line-height) {
	&::before {
		content: '';
		display: block;
		height: 0;
		width: 0;
		margin-top: calc((1 - #{$line-height}) * 0.5em);
	}
}

@mixin better_font_rendering() {

	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

@mixin heading_tag() {

	line-height: var(--resa_heading_line_height);
	font-family: var(--resa_heading_font_family);
	font-weight: var(--resa_heading_font_weight);
	letter-spacing: var(--resa_heading_letter_spacing);
	color: var(--resa_base_heading_color);
	margin-top: 20px;
	margin-bottom: 30px;
	clear: both;
	@include better_font_rendering();
}
