:root {
	--font-body: "Inter", system-ui, sans-serif;
	--font-heading: "Inter", system-ui, sans-serif;
	--page-bg: #f5f5f7;
	--surface: #ffffff;
	--surface-soft: #f3f3f3;
	--text: #000000;
	--text-soft: #585858;
	--line: #dfdfdf;
	--accent: #000000;
	--tag-bg: #ff0000;
	--title-mark: #000000;
	--footer-bg: #0f0f10;
	--footer-text: #ffffff;
}

html[data-theme="dark"] {
	--page-bg: #272727;
	--surface: #1d1d1f;
	--surface-soft: #373737;
	--text: #ffffff;
	--text-soft: #9b9b9b;
	--line: #404040;
	--accent: #ffffff;
	--tag-bg: #252525;
	--title-mark: #000000;
	--footer-bg: #151516;
}

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

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--page-bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.8rem;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

img,
svg {
	display: block;
	max-width: 100%;
}

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

p,
figure,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.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;
}

.post-layout {
	max-width: 124rem;
	width: calc(100% - 4rem);
	margin-inline: auto;
}

.main-content {
	padding-top: 3.2rem;
	padding-bottom: 12rem;
}

.main-content section {
	padding: 4rem 0;
}

.main-content section:first-of-type {
	padding-top: 0;
}


iframe,
embed,
object,
video {
  max-width: 100%;
}
