/* ==========================================================================
   Bercarlo — base.css
   Reset, design tokens and shared typography.
   Ported from the original base.css of www.bercarlo.com.
   ========================================================================== */

:root {
	--color-text: #333;
	--color-white: #fff;
	--color-black: #000;
	--color-accent: #019199;
	--color-accent-2: #0cb8c2;
	--color-dark: #1a1a1a;
	--color-footer: #0a0a0a;
	--color-muted: #e5e5e5;
	--color-panel-text: #2c2c2c;
	--font-sans: "Microsoft YaHei", "Helvetica Neue", Helvetica, tahoma, arial, sans-serif;
	--header-height: 70px;
	--content-width: 1400px;
	--panel-width: 1200px;
}

body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend,
input, textarea, p, blockquote, th, td, hr, button,
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section {
	margin: 0;
	padding: 0;
}

article, aside, details, figcaption, figure, footer,
header, hgroup, menu, nav, section {
	display: block;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	font: 14px/1.6 var(--font-sans);
	color: var(--color-text);
	background: var(--color-white);
}

body.home,
body.front-page {
	overflow: hidden;
	background: var(--color-dark);
}

ol, ul {
	list-style: none;
}

img {
	border: 0;
	max-width: 100%;
	vertical-align: middle;
}

a {
	color: var(--color-text);
	text-decoration: none;
	transition: color .3s ease;
}

a:hover {
	color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
}

.clert,
.clearfix::after {
	clear: both;
}

.clearfix::before,
.clearfix::after {
	content: "";
	display: table;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
