/* leave this file untouched, make changes in variables.css and custom.css */

body {
	font-family: var(--main-font-family);
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	color: var(--text-color);
}

@media only screen and (min-width: 1100px) {
	body {
		font-size: var(--body-font-size-desktop);
		line-height: var(--body-line-height-desktop);
	}
}

h1, .h1,
h2, .h2 {
	font-family: var(--heading-font-family);
	font-weight: 400; /* DM Serif Display has no bold */
}

/* inputs, selects etc. don't inherit the font by default */
input, select, textarea, button,
.posts-filter select {
	font-family: inherit;
}

/* buttons */
.button-primary,
button,
.wp-block-button__link,
input[type="submit"],
.wp-element-button,
.button-sm {
	border-radius: var(--button-radius);
	background-color: var(--primary-color);
	color: white;
	padding: var(--button-padding);
	display: inline-flex;
	height: var(--button-height);
	line-height: var(--button-line-height);
	font-weight: 700;
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.button-primary:hover,
button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.button-sm:hover {
	background-color: var(--hover-color);
	color: white;
	text-decoration: none;
}

.button-primary:visited,
.button-primary:focus,
button:visited,
button:focus,
.wp-block-button__link:visited,
.wp-block-button__link:focus,
input[type="submit"]:visited,
input[type="submit"]:focus,
.wp-element-button:visited,
.wp-element-button:focus,
.button-sm:visited,
.button-sm:focus {
	color: white;
}

@media only screen and (max-width: 1099px) {
	.button-primary,
	button,
	.wp-block-button__link,
	input[type="submit"],
	.wp-element-button,
	.button-sm {
		height: 45px;
		line-height: 44px;
		padding: 0 15px;
		border-radius: 4px;
	}
}

.button-sm {
	font-size: 16px;
	height: 45px !important;
	line-height: 43px !important;
	padding: 0 15px !important;
}
