/*
Theme Name: MT Theme
Author: Macuin Technology
Author URI: https://macuin.com/
Description: A lightweight classic WordPress theme for MT sites.
Version: 1.0.1
Requires at least: 7.1
Requires PHP: 8.5
Tested up to: 7.1
Text Domain: mt-theme
*/

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: var(--wp--preset--font-family--roboto, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Reset default focus styles; define custom focus styles per component. */
:focus {
	outline-color: transparent;
	box-shadow: none;
}

body.admin-bar .mt-admin-bar-offset-overlay,
body.admin-bar .mt-admin-bar-offset-panel {
	top: var(--wp-admin--admin-bar--height, 0px);
}

body.admin-bar .mt-admin-bar-offset-panel {
	height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}

button,
input,
select,
textarea {
	font: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

/* Remove tap highlight. */
button,
a,
input[type="button"],
input[type="submit"] {
	-webkit-tap-highlight-color: transparent;
}

/* Hide WebKit cancel button from search inputs. */
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}