/*
Theme Name: Megawat Child
Theme URI: https://megawat-oze.pl/
Description: Motyw potomny Hello Elementor dla Megawat Sp. z o.o. Tokeny i style komponentów żyją w Elementorze (Variables, klasy globalne); tutaj tylko style treści wpisów, ruch i rzeczy spoza Elementora.
Author: Nowoczesny Marketing
Template: hello-elementor
Version: 0.1.0
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: megawat-child
*/

.mw-prose {
	max-inline-size: 68ch;
	margin-inline: auto;
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	line-height: 1.55;
	color: var(--mw-text, #22272e);
}

.mw-prose > * + * {
	margin-block-start: 1em;
}

.mw-prose h2 {
	margin-block-start: 2em;
	font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
	line-height: 1.2;
}

.mw-prose h3 {
	margin-block-start: 1.6em;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	line-height: 1.25;
}

.mw-prose a {
	color: var(--mw-accent-text, #7a5200);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.mw-prose a:hover,
.mw-prose a:focus-visible {
	text-decoration-thickness: 2px;
}

.mw-prose img {
	block-size: auto;
	max-inline-size: 100%;
	border-radius: 16px;
}

.mw-prose table {
	inline-size: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.mw-prose th,
.mw-prose td {
	padding: 0.75em 1em;
	border-block-end: 1px solid var(--mw-border, #e1e5ea);
	text-align: start;
}

.mw-lead {
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.45;
	font-weight: 500;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--mw-accent-text, #7a5200);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
