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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

body.is-menu-open {
	overflow: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 400;
}

button,
input {
	font: inherit;
	color: inherit;
}

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

:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

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

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 200;
	padding: 8px 16px;
	background: var(--color-ink);
	color: var(--color-white);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.container {
	width: min(var(--content-max), 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.site-main--default {
	min-height: 40vh;
	padding-block: 48px 96px;
}

.entry-title {
	margin-bottom: 32px;
	font-size: clamp(26px, 2vw, 36px);
	line-height: 1.3;
}

/* Okrągła strzałka: kolor dziedziczony z currentColor, średnica przez --size. */
.arrow-circle {
	--size: 59px;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--size);
	height: var(--size);
	border: 1px solid currentColor;
	border-radius: 50%;
	transition: background-color var(--transition);
}

.arrow-circle--s {
	--size: 42px;
}

.arrow-circle__icon {
	width: 45%;
	height: 49%;
	background: currentColor;
	-webkit-mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	mask: url(../icons/arrow-right.svg) center / contain no-repeat;
}

.social-list {
	display: flex;
	align-items: center;
	gap: 24px;
}

.social-list a {
	display: block;
	transition: opacity var(--transition);
}

.social-list a:hover {
	opacity: 0.6;
}
