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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-family);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-regular);
	line-height: var(--line-height-base);
	color: var(--color-black);
	background: var(--color-white);
}

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

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
.h1 {
	margin: 0 0 15px;
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-heading);
}

h2,
.h2 {
	margin: 0 0 var(--heading-margin-bottom);
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-heading);
}

h3,
.h3 {
	margin: 0 0 var(--heading-margin-bottom);
	font-size: var(--font-size-h3);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-heading);
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
	margin: 0 0 var(--heading-margin-bottom);
	font-size: var(--font-size-h4);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-heading);
}

p {
	margin: 0 0 var(--paragraph-gap);
}

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

.entry-content > * + * {
	margin-top: var(--paragraph-gap);
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Containers */
.container {
	width: 100%;
	max-width: calc(var(--container-width, var(--container-home)) + (var(--gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--header {
	--container-width: var(--container-header);
	padding-block: var(--header-padding-block);
}

.container--home {
	--container-width: var(--container-home);
}

.container--article {
	--container-width: var(--container-article);
}

/* Homepage sections spacing */
.home-section + .home-section {
	margin-top: var(--section-gap);
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
}

.line-clamp-3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
