/*
 * Fundamenty wizualne.
 *
 * Zmienne poniżej odpowiadają kolorom i typografii obecnej strony:
 * czerń #000001, tło #fffffe, zieleń #6ab193, czerwień promocji #de1414.
 * Oswald jest używany do nagłówków, menu i przycisków; Nunito Sans do treści.
 */

:root {
	--color-bg: #fffffe;
	--color-text: #000001;
	--color-primary: #6ab193;
	--color-primary-dark: #4f9a7d;
	--color-sale: #de1414;
	--color-footer: #000000;
	--color-footer-text: #f0f0f0;
	--color-footer-muted: #929ba8;
	--color-border: rgba(207, 207, 207, 0.27);
	--color-input: #fafbfd;
	--font-body: "Nunito Sans", sans-serif;
	--font-heading: "Oswald", sans-serif;
	--container: 1120px;
	--container-wide: 1400px;
	--radius: 5px;
	--header-radius: 50px;
	--shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

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

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

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

img {
	height: auto;
}

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

h1 {
	font-size: clamp(34px, 4vw, 48px);
}

h2 {
	font-size: clamp(28px, 3vw, 38px);
}

h3 {
	font-size: 22px;
}

p {
	margin: 0 0 1.2em;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
	color: var(--color-primary);
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-left: 1.2em;
}

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

button {
	cursor: pointer;
}

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

/* Dostępność: ukryty tekst, widoczny po tabulacji. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: #fff;
	color: #000;
	border: 2px solid var(--color-primary);
}

/* Przyciski */
.button,
button.button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 23px;
	border: 0;
	border-radius: var(--radius);
	background: var(--color-primary);
	color: #fffffd;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible,
button.button:hover,
input[type="submit"]:hover {
	background: var(--color-primary-dark);
	color: #fff;
}

.button--dark {
	background: #000;
	color: #fff;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	padding: 10px 24px;
	text-transform: uppercase;
}

.button--dark:hover,
.button--dark:focus-visible {
	background: #222;
	color: #fff;
}

.button--small {
	padding: 6px 14px;
	font-size: 14px;
}

/* Formularze */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid rgba(206, 206, 206, 0.42);
	border-radius: var(--radius);
	background: var(--color-input);
	color: #444;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
}

select {
	cursor: pointer;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

/* Treści statyczne (regulamin, polityka, opisy) */
.entry-wrap {
	padding-top: 34px;
	padding-bottom: 60px;
}

.entry {
	max-width: 900px;
	margin: 0 auto;
}

.entry--404 {
	text-align: center;
}

.entry__kicker {
	font-family: var(--font-heading);
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 0;
	color: var(--color-primary);
}

.entry__header {
	margin-bottom: 26px;
}

.entry__title {
	margin-bottom: 0.35em;
}

.entry__meta,
.entry__description {
	font-size: 14px;
	color: #666;
}

.entry__media {
	margin-bottom: 28px;
}

.entry__content {
	font-size: 17.28px;
	line-height: 1.65;
}

.entry__content h2,
.entry__content h3,
.entry__content h4 {
	margin-top: 1.6em;
}

.entry__content a {
	color: var(--color-primary-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry__content ul,
.entry__content ol {
	padding-left: 1.4em;
}

.entry__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 15px;
}

.entry__content th,
.entry__content td {
	padding: 9px 12px;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.entry__content th {
	background: #f6f8f7;
}

.entry__content img {
	height: auto;
}

/* Lista wpisów */
.post-list {
	display: grid;
	gap: 30px;
}

.post-card {
	padding-bottom: 26px;
	border-bottom: 1px solid var(--color-border);
}

.post-card__title {
	font-size: 24px;
	margin-bottom: 0.4em;
}

.post-card__excerpt {
	margin-bottom: 15px;
	color: #444;
}

/* Okruszki */
.breadcrumbs {
	margin: 0 0 24px;
	font-size: 13.6px;
	color: #6d7175;
}

.breadcrumbs a {
	color: #6d7175;
}

.breadcrumbs a:hover {
	color: var(--color-primary);
}

.breadcrumbs__sep {
	color: #b8b8b8;
}
