/*
Theme Name: preposizioni
Theme URI:
Author: Kreatywne Wsparcie
Author URI:
Description: Motyw potomny dla strony Preposizioni
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: spectra-one
Text Domain: preposizioni
Tags:
*/

/* Tokeny pomocnicze (wartości z theme.json → settings.custom) */
:root {
	--prep-radius-pill: 999px;
	--prep-shadow-soft: var(--wp--custom--shadow--soft);
	--prep-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--prep-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23E4F3D6'/%3E%3Cpath d='M7 12.5 10.5 16 17 8.5' fill='none' stroke='%233F7A1C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Utility ---------- */

/* Eyebrow nad H2: „PRZYIMKOWE PRODUKTY” */
.prep-eyebrow {
	color: var(--wp--preset--color--green);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Badge-pill: „Blog · zeszyty ćwiczeń · kalendarz” */
.prep-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 6px 14px;
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--pastel-green);
	color: var(--wp--custom--color--extra--green-dark);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Tag na karcie produktu: „ZESZYT ĆWICZEŃ · A1” */
.prep-tag {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Link ze strzałką → (strzałka w CSS – brak glifu U+2192 w fontach) */
.prep-arrow-link a,
a.prep-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 800;
	text-decoration: none;
}

.prep-arrow-link a::after,
a.prep-arrow-link::after {
	content: "";
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--prep-arrow) center / contain no-repeat;
	mask: var(--prep-arrow) center / contain no-repeat;
	transition: transform 0.15s ease;
}

.prep-arrow-link a:hover::after,
a.prep-arrow-link:hover::after {
	transform: translateX(3px);
}

/* Cała karta klikalna: link w środku rozciągnięty na kartę */
.prep-card-link {
	position: relative;
}

.prep-card-link .prep-arrow-link a::before,
.prep-card-link .prep-stretched a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* Karta „Jeżeli…” z ptaszkiem */
.prep-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.prep-check::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--prep-check) center / contain no-repeat;
}

/* Placeholder/obrazek z przerywaną ramką (pastel) */
.prep-dashed {
	border: 2px dashed var(--wp--custom--color--border--rose);
}

/* Pill do linków social (Facebook / Instagram) */
.prep-pill a,
a.prep-pill {
	display: inline-block;
	padding: 8px 14px;
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--heading);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

/* Kafelek z przyimkiem: DI / CON / PER / TRA / SU / DA */
.prep-chip {
	display: inline-block;
	margin: 0;
	padding: 8px 18px;
	border-radius: var(--wp--custom--border-radius--chip);
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 34px;
	line-height: 1.2;
	color: var(--wp--preset--color--heading);
	pointer-events: none;
}

/* Mniejszy przycisk (header) */
.prep-btn-sm .wp-block-button__link {
	padding: 11px 22px;
}

/* ---------- Header ---------- */

.prep-logo {
	text-decoration: none;
}

.prep-logo__img {
	flex: none;
	margin: 0;
}

.prep-logo__img img {
	display: block;
	width: 46px;
	height: auto;
}

.prep-logo__text p {
	margin: 0;
	line-height: 1.05;
}

.prep-logo__title {
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 28px;
}

.prep-logo__title a {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}

.prep-logo__tagline {
	color: var(--wp--preset--color--neutral);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.prep-nav .wp-block-navigation-item__content {
	padding: 10px 14px;
	border-radius: var(--prep-radius-pill);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.prep-nav .wp-block-navigation-item__content:hover,
.prep-nav .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--pastel-lavender);
}

/* Podmenu produktów */
.prep-nav .wp-block-navigation-submenu__toggle {
	padding-right: 4px;
}

.prep-nav .wp-block-navigation__submenu-icon {
	margin-left: 2px;
	margin-right: 10px;
}

.prep-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	min-width: 260px;
	padding: 8px;
	border: 0 !important;
	border-radius: 18px;
	background: var(--wp--preset--color--white) !important;
	box-shadow: 0 10px 30px rgba(43, 33, 48, 0.12);
}

.prep-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 10px 14px;
	border-radius: 12px;
}

/* „Newsletter” w menu – tylko w menu mobilnym (na desktopie jest przycisk) */
.prep-nav .prep-nav__newsletter {
	display: none;
}

/* Hamburger: okrągły, pastelowy */
.prep-nav .wp-block-navigation__responsive-container-open {
	width: 48px;
	height: 48px;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--pastel-rose);
	color: var(--wp--preset--color--heading);
}

/* Menu mobilne (overlay) */
.prep-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px 16px;
}

.prep-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 4px;
	font-size: 20px;
}

.prep-nav .is-menu-open .wp-block-navigation__submenu-container {
	padding: 4px 0 4px 16px !important;
	font-size: 17px;
}

.prep-nav .is-menu-open .prep-nav__newsletter {
	display: flex;
	margin-top: 12px;
}

.prep-nav .is-menu-open .prep-nav__newsletter .wp-block-navigation-item__content {
	padding: 14px 28px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-weight: 800;
}

@media (max-width: 599px) {
	.prep-header {
		padding-top: 14px !important;
		padding-bottom: 14px !important;
	}

	.prep-header__cta {
		display: none;
	}

	.prep-logo__title {
		font-size: 24px;
	}

	.prep-logo__tagline {
		font-size: 10px;
	}
}

/* ---------- Hero ---------- */

.prep-hero__content > * + * {
	margin-block-start: 24px;
}

.prep-hero h1 {
	margin-bottom: 0;
}

.prep-hero__lead {
	max-width: 520px;
}

.prep-hero__media {
	position: relative;
	padding: 28px;
}

.prep-hero__photo,
.prep-hero__photo img {
	border-radius: var(--wp--custom--border-radius--hero);
}

.prep-hero__photo {
	margin: 0;
	background: var(--wp--preset--color--pastel-rose);
	overflow: hidden;
}

.prep-hero__photo img {
	display: block;
	width: 100%;
	height: 460px;
	object-fit: cover;
}

.prep-hero__media .prep-chip {
	position: absolute;
	z-index: 1;
}

.prep-chip--di {
	top: 0;
	left: 0;
	background: var(--wp--preset--color--pastel-teal);
	transform: rotate(-8deg);
}

.prep-chip--con {
	top: 40px;
	right: 0;
	background: var(--wp--preset--color--pastel-yellow);
	transform: rotate(7deg);
}

.prep-chip--per {
	bottom: 90px;
	left: -6px;
	background: var(--wp--preset--color--pastel-lavender);
	transform: rotate(5deg);
}

.prep-chip--tra {
	bottom: 8px;
	right: 30px;
	background: var(--wp--preset--color--pastel-green);
	transform: rotate(-6deg);
}

/* Dymki z imionami */
.prep-hero__bubbles {
	position: absolute;
	z-index: 2;
	bottom: -6px;
	left: 64px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.prep-bubble {
	margin: 0;
	padding: 10px 16px;
	border-radius: var(--wp--custom--border-radius--chip);
	background: var(--wp--preset--color--white);
	box-shadow: var(--prep-shadow-soft);
	font-size: 14px;
	line-height: 1.4;
}

.prep-hero h1 mark,
.prep-highlight {
	background: none;
	color: var(--wp--preset--color--primary);
}

@media (max-width: 781px) {
	.prep-hero {
		padding-top: 20px !important;
		padding-bottom: 48px !important;
	}

	.prep-hero__content > * + * {
		margin-block-start: 18px;
	}

	.prep-badge {
		padding: 5px 12px;
		font-size: 12px;
	}

	.prep-hero__lead {
		font-size: 17px !important;
	}

	/* Przyciski jeden pod drugim, na całą szerokość */
	.prep-hero .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.prep-hero .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.prep-hero__media {
		padding: 18px 10px 26px;
	}

	.prep-hero__photo,
	.prep-hero__photo img {
		border-radius: var(--wp--custom--border-radius--panel);
	}

	.prep-hero__photo img {
		height: 300px;
	}

	.prep-hero__media .prep-chip {
		padding: 4px 12px;
		border-radius: 12px;
		font-size: 26px;
	}

	.prep-chip--con {
		top: 30px;
	}

	.prep-chip--per {
		display: none;
	}

	.prep-chip--tra {
		bottom: 4px;
		right: 18px;
	}

	.prep-hero__bubbles {
		bottom: 0;
		left: 18px;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px !important;
	}

	.prep-bubble {
		padding: 7px 12px;
		border-radius: 12px;
		font-size: 13px;
	}
}

/* ---------- Sekcje (wspólne) ---------- */

/* W flex/grid odstępy daje gap – zerujemy marginesy nagłówków z rodzica */
:is(.prep-section, .prep-footer) :is(.is-layout-flex, .is-layout-grid) > :is(h2, h3, p),
.prep-section .is-style-card > p {
	margin-top: 0;
	margin-bottom: 0;
}

.prep-section-head__desc {
	max-width: 440px;
	color: var(--wp--preset--color--neutral);
}

.prep-card-link {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prep-card-link:hover {
	transform: translateY(-3px);
	box-shadow: var(--prep-shadow-soft);
}

/* ---------- Produkty ---------- */

.prep-product__img {
	margin: 0;
}

.prep-product__img img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	box-sizing: border-box;
	border: 2px dashed var(--wp--custom--color--border--rose);
	border-radius: 18px;
	background: var(--wp--preset--color--white);
}

.is-style-pastel-peach .prep-product__img img {
	border-color: var(--wp--custom--color--border--peach);
}

.is-style-pastel-lavender .prep-product__img img {
	border-color: var(--wp--custom--color--border--lavender);
}

.is-style-pastel-teal .prep-product__img img {
	border-color: var(--wp--custom--color--border--teal);
}

.is-style-pastel-green .prep-product__img img {
	border-color: var(--wp--custom--color--border--green);
}

.prep-product h3 {
	font-size: 34px;
	line-height: 1;
}

.prep-product__more {
	margin-top: auto !important;
	padding-top: 4px;
}

.prep-product__more a {
	color: var(--wp--preset--color--primary);
}

/* Pasek „W przygotowaniu” */
.wp-block-group.prep-soon {
	align-items: center;
	padding: 24px 32px;
}

.prep-soon__label {
	color: var(--wp--custom--color--dark--yellow);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prep-soon__title {
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 32px;
	line-height: 1.1;
}

@media (max-width: 781px) {
	.wp-block-group.prep-soon {
		padding: 22px 20px;
	}

	.prep-soon__title {
		font-size: 26px;
	}
}

/* ---------- Blog: Ostatnie lekcje ---------- */

.prep-post__img {
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
}

.prep-post__img img {
	border-radius: 24px;
	transition: transform 0.3s ease;
}

.prep-post__img a:hover img {
	transform: scale(1.03);
}

/* Wpis bez obrazka wyróżniającego: pastelowy placeholder */
.prep-post:not(:has(.prep-post__img))::before {
	content: "";
	display: block;
	height: 220px;
	box-sizing: border-box;
	border: 2px dashed var(--wp--custom--color--border--rose);
	border-radius: 24px;
	background: var(--wp--preset--color--pastel-rose);
}

.prep-posts li:nth-child(3n+2) .prep-post:not(:has(.prep-post__img))::before {
	border-color: var(--wp--custom--color--border--teal);
	background: var(--wp--preset--color--pastel-teal);
}

.prep-posts li:nth-child(3n) .prep-post:not(:has(.prep-post__img))::before {
	border-color: var(--wp--custom--color--border--lavender);
	background: var(--wp--preset--color--pastel-lavender);
}

.prep-post__meta {
	color: var(--wp--preset--color--neutral);
	font-size: 14px;
}

.prep-post__meta > * {
	margin: 0;
	font-size: inherit !important;
	color: inherit;
}

.prep-post__meta a {
	color: inherit;
	text-decoration: none;
}

.prep-post__meta > * + *::before {
	content: "·";
	margin-right: 6px;
}

.prep-post .wp-block-post-title {
	margin: 0;
	line-height: 1.25;
}

.prep-post .wp-block-post-title a {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}

.prep-post .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
}

.prep-post .wp-block-post-excerpt,
.prep-post .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.prep-post .wp-block-post-excerpt__more-text {
	display: none;
}

/* ---------- O nas ---------- */

.wp-block-group.prep-person {
	padding: 32px;
	border-radius: var(--wp--custom--border-radius--panel);
}

.prep-person p {
	margin: 0;
}

.prep-person__avatar {
	flex: none;
	margin: 0;
}

.prep-person__avatar img {
	display: block;
	width: 96px;
	height: 96px;
	box-sizing: border-box;
	border: 2px dashed var(--wp--custom--color--border--rose);
	border-radius: 50%;
	background: var(--wp--preset--color--pastel-rose);
	object-fit: cover;
}

.prep-person__avatar--teal img {
	border-color: var(--wp--custom--color--border--teal);
	background: var(--wp--preset--color--pastel-teal);
}

.prep-person h3 {
	font-size: 36px;
	line-height: 1;
}

.prep-person__project {
	color: var(--wp--preset--color--primary);
	font-weight: 800;
}

@media (max-width: 781px) {
	.wp-block-group.prep-person {
		padding: 24px 20px;
	}

	.prep-person h3 {
		font-size: 30px;
	}
}

/* ---------- Footer ---------- */

.prep-footer {
	font-size: 15px;
}

.prep-footer p {
	margin: 0;
}

.prep-footer__brand {
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 30px;
	line-height: 1;
}

.prep-footer__col a {
	color: var(--wp--preset--color--heading);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prep-footer__col a:hover {
	color: var(--wp--preset--color--primary);
}

.prep-footer__bar {
	padding-top: 20px;
	border-top: 1px solid var(--wp--custom--color--border--lavender);
	color: var(--wp--preset--color--ink-soft);
	font-size: 13px;
}

/* ---------- Newsletter ---------- */

.wp-block-group.prep-newsletter {
	position: relative;
	overflow: hidden;
	padding: 64px 48px;
	border-radius: var(--wp--custom--border-radius--hero);
}

.prep-newsletter > .wp-block-columns {
	position: relative;
	z-index: 1;
	margin: 0;
}

.prep-newsletter__text h2 {
	margin: 0 0 14px;
	font-size: 52px;
	line-height: 1;
}

.prep-newsletter__text p {
	margin: 0;
	color: var(--wp--custom--color--extra--ink-2);
}

@media (max-width: 781px) {
	.wp-block-group.prep-newsletter {
		padding: 56px 22px 32px;
		border-radius: var(--wp--custom--border-radius--panel);
	}

	.prep-newsletter__text h2 {
		font-size: 38px;
	}
}

.prep-newsletter .prep-chip {
	position: absolute;
	padding: 6px 16px;
	font-size: 30px;
}

.prep-chip--su {
	top: 24px;
	right: 40px;
	background: var(--wp--preset--color--white);
	transform: rotate(8deg);
}

.prep-chip--da {
	bottom: 28px;
	right: 140px;
	background: var(--wp--preset--color--pastel-rose);
	transform: rotate(-6deg);
}

@media (max-width: 781px) {
	.prep-newsletter .prep-chip {
		font-size: 24px;
	}

	.prep-chip--su {
		top: 12px;
		right: 16px;
	}

	.prep-chip--da {
		display: none;
	}
}

/*
 * Formularz MailerLite – wrapper .prep-newsletter-form wokół [mailerlite_form].
 * Selektory ogólne + typowe klasy MailerLite (embed .ml-form-*, wtyczka .mailerlite-*).
 * Do doprecyzowania po wstawieniu prawdziwego formularza.
 */
.prep-newsletter-form {
	position: relative;
	z-index: 1;
}

.prep-newsletter-form form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 10px;
	margin: 0;
}

.prep-newsletter-form label {
	font-size: 15px;
	font-weight: 800;
	color: var(--wp--preset--color--heading);
}

.prep-newsletter-form input[type="email"],
.prep-newsletter-form input[type="text"] {
	flex: 1 1 240px;
	min-width: 0;
	box-sizing: border-box;
	padding: 16px 20px;
	border: 2px solid var(--wp--preset--color--heading);
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--heading);
	font: inherit;
	line-height: 1.2;
	box-shadow: none;
}

.prep-newsletter-form input[type="email"]::placeholder,
.prep-newsletter-form input[type="text"]::placeholder {
	color: var(--wp--preset--color--neutral);
	opacity: 1;
}

.prep-newsletter-form input[type="email"]:focus,
.prep-newsletter-form input[type="text"]:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.prep-newsletter-form button,
.prep-newsletter-form input[type="submit"],
.prep-newsletter-form .ml-form-embedSubmit button,
.prep-newsletter-form .mailerlite-subscribe-submit {
	padding: 16px 26px;
	border: 0;
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font: inherit;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.prep-newsletter-form button:hover,
.prep-newsletter-form input[type="submit"]:hover,
.prep-newsletter-form .ml-form-embedSubmit button:hover,
.prep-newsletter-form .mailerlite-subscribe-submit:hover {
	background: var(--wp--preset--color--secondary);
}

/* Zgoda RODO */
.prep-newsletter-form .ml-form-checkboxRow label,
.prep-newsletter-form label:has(input[type="checkbox"]) {
	display: flex;
	flex-basis: 100%;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--custom--color--extra--ink-2);
}

.prep-newsletter-form input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--wp--preset--color--primary);
}

/* =========================================================
   Podstrony – elementy wspólne
   ========================================================= */

/* Pionowy stos w kolumnie (odstęp jak w designie) */
.prep-stack > * {
	margin-top: 0;
	margin-bottom: 0;
}

.prep-stack > * + * {
	margin-block-start: 22px !important;
}

.prep-stack--18 > * + * {
	margin-block-start: 18px !important;
}

.prep-stack--16 > * + * {
	margin-block-start: 16px !important;
}

.prep-text-ink2,
.prep-text-ink2 p {
	color: var(--wp--custom--color--extra--ink-2);
}

.prep-narrow {
	max-width: 760px;
}

.prep-maxw-680 {
	max-width: 680px;
}

.prep-h2-52 {
	font-size: clamp(38px, 3.6vw, 52px) !important;
	line-height: 1 !important;
}

/* Większy tag-pill (13px) i warianty kolorystyczne */
.prep-tag--lg {
	padding: 6px 14px;
	font-size: 13px;
}

.prep-tag--yellow {
	background: var(--wp--preset--color--pastel-yellow);
	color: var(--wp--preset--color--heading);
}

.prep-tag--dark-yellow {
	color: var(--wp--custom--color--dark--yellow);
}

/* Duży pastelowy/ciemny box (radius 44) */
.wp-block-group.prep-box {
	position: relative;
	overflow: hidden;
	padding: 64px 56px;
	border-radius: 44px;
}

/* Placeholder/zdjęcie z przerywaną ramką */
.prep-ph {
	margin: 0;
}

.prep-ph img {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 2px dashed var(--wp--custom--color--border--rose);
	border-radius: var(--wp--custom--border-radius--panel);
	background: var(--wp--preset--color--white);
	object-fit: cover;
}

.prep-ph--green img {
	border-color: var(--wp--custom--color--border--green);
}

.prep-ph--teal img {
	border-color: var(--wp--custom--color--border--teal);
	background: var(--wp--preset--color--pastel-teal);
}

.prep-ph--yellow img {
	border-color: var(--wp--custom--color--border--yellow);
}

/* Ciemne sekcje: nagłówki dziedziczą biel */
.prep-dark :is(h1, h2, h3) {
	color: inherit;
}

.prep-dark__accent {
	color: var(--wp--preset--color--pastel-rose);
	font-size: 22px;
	font-weight: 700;
}

.prep-dark__muted {
	color: var(--wp--preset--color--outline);
}

/* Pigułka z obramowaniem (lista „dla kogo”) */
.prep-pill-lg {
	margin: 0;
	padding: 14px 22px;
	border: 2px solid var(--wp--custom--color--extra--line-soft);
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--white);
}

/* Lista z ptaszkami */
.prep-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.prep-checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.prep-checklist li + li {
	margin-top: 10px;
}

.prep-checklist li::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	background: var(--prep-check) center / contain no-repeat;
}

/* Karta z ikoną (ptaszek nad tekstem) */
.wp-block-group.prep-icon-card {
	padding: 24px;
	border-radius: 24px;
}

.prep-icon-card::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	margin-bottom: 12px;
	background: var(--prep-check) center / contain no-repeat;
}

.prep-icon-card p {
	margin: 0;
}

/* Statystyki „12 miesięcy” */
.prep-stat p {
	margin: 0;
}

.prep-stat__num {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 72px;
	line-height: 0.9;
}

.prep-stat__label {
	font-size: 15px;
	font-weight: 700;
}

/* Numerowane karty cech */
.wp-block-group.prep-feature {
	padding: 22px;
	border-radius: 24px;
}

.prep-feature p {
	margin: 0;
}

.prep-feature__num {
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 30px;
	line-height: 1;
}

.is-style-pastel-teal .prep-feature__num { color: var(--wp--custom--color--dark--teal); }
.is-style-pastel-lavender .prep-feature__num { color: var(--wp--custom--color--dark--lavender); }
.is-style-pastel-peach .prep-feature__num { color: var(--wp--custom--color--dark--peach); }
.is-style-pastel-green .prep-feature__num { color: var(--wp--custom--color--dark--green); }
.is-style-pastel-yellow .prep-feature__num { color: var(--wp--custom--color--dark--yellow); }
.is-style-pastel-rose .prep-feature__num { color: var(--wp--custom--color--dark--rose); }

/* Mniejszy avatar (64px) i dodatkowe kolory */
.prep-person__avatar--sm img {
	width: 64px;
	height: 64px;
}

.prep-person__avatar--green img {
	border-color: var(--wp--custom--color--border--green);
	background: var(--wp--preset--color--pastel-green);
}

.prep-person__avatar--yellow img {
	border-color: var(--wp--custom--color--border--yellow);
	background: var(--wp--preset--color--pastel-yellow);
}

/* Większy przycisk (finał) */
.prep-btn-lg .wp-block-button__link {
	padding: 20px 36px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* =========================================================
   Kalendarz Przyimkowy 2027
   ========================================================= */

.prep-kal-hero h1 {
	margin: 0;
	font-size: clamp(52px, 6.1vw, 88px);
	line-height: 0.96;
}

.prep-kal-hero__lead {
	color: var(--wp--custom--color--extra--ink-2);
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: 700;
	line-height: 1.35;
}

.prep-kal-hero__media {
	position: relative;
	padding: 20px;
}

.prep-kal-hero__img img {
	height: 480px;
}

.prep-kal-hero__media .prep-chip,
.prep-finale .prep-chip {
	position: absolute;
	z-index: 1;
	padding: 6px 16px;
	font-size: 30px;
}

.prep-chip--gennaio {
	top: 0;
	left: 0;
	background: var(--wp--preset--color--pastel-rose);
	transform: rotate(-7deg);
}

.prep-chip--dicembre {
	bottom: 10px;
	right: 0;
	background: var(--wp--preset--color--pastel-yellow);
	transform: rotate(6deg);
}

/* Intro */
.prep-kal-intro p {
	margin: 0;
}

.prep-kal-intro > p {
	color: var(--wp--custom--color--extra--ink-2);
}

.prep-kal-intro .prep-kal-intro__lead {
	color: var(--wp--preset--color--heading);
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: clamp(34px, 3.1vw, 44px);
	line-height: 1.1;
}

.prep-kal-intro__box {
	padding: 28px 32px;
	border-radius: var(--wp--custom--border-radius--card-lg);
	background: var(--wp--preset--color--white);
	color: var(--wp--custom--color--extra--ink-2);
}

.prep-kal-intro__claim {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: clamp(28px, 2.4vw, 34px);
	line-height: 1.1;
}

/* Twórcy (ciemna sekcja) */
.prep-creator {
	padding: 18px;
	border-radius: 24px;
	background: var(--wp--custom--color--extra--ink-3);
}

.prep-creator p {
	margin: 0;
}

.prep-creator__meta {
	font-size: 14px;
}

/* Makieta miesiąca */
.prep-kal-mock {
	padding: 22px;
	border-radius: var(--wp--custom--border-radius--card-lg);
	background: var(--wp--preset--color--background);
	box-shadow: 0 10px 30px rgba(43, 33, 48, 0.08);
}

.prep-kal-mock p {
	margin: 0;
}

.prep-kal-mock__img img {
	height: 120px;
	border-radius: 18px;
}

.prep-kal-mock__month {
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 32px;
	line-height: 1;
}

.prep-kal-mock__phrase {
	padding: 3px 12px;
	border-radius: var(--prep-radius-pill);
	background: var(--wp--preset--color--pastel-rose);
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 20px;
}

.prep-kal-mock__days {
	margin: 0;
}

.prep-kal-mock__days table {
	border: 0;
	border-collapse: separate;
	border-spacing: 6px;
	margin: -6px;
	width: calc(100% + 12px);
	font-size: 13px;
	text-align: center;
}

.prep-kal-mock__days :is(th, td) {
	padding: 6px 0;
	border: 0;
	text-align: center;
}

.prep-kal-mock__days thead {
	border: 0;
}

.prep-kal-mock__days td {
	border-radius: 8px;
	background: var(--wp--preset--color--white);
}

.prep-kal-mock__days :is(th, td):last-child {
	color: var(--wp--custom--color--extra--red);
}

.prep-kal-mock__days tbody tr:nth-child(1) td:nth-child(5),
.prep-kal-mock__days tbody tr:nth-child(2) td:nth-child(3) {
	background: var(--wp--preset--color--pastel-rose);
}

.wp-block-group.prep-kal-helps {
	padding: 26px 28px;
}

.prep-kal-helps__title {
	margin: 0;
	font-size: 18px;
}

/* Notka (lawenda) */
.wp-block-group.prep-note {
	max-width: 860px;
	padding: 26px 32px;
}

.prep-note p {
	margin: 0;
}

/* Formaty A3 / A4 */
.wp-block-group.prep-formats {
	padding: 48px;
	border-radius: var(--wp--custom--border-radius--hero);
}

.prep-formats p {
	margin: 0;
}

.prep-formats .prep-formats__title {
	margin: 0;
	font-size: clamp(34px, 3.1vw, 44px);
	line-height: 1;
}

.prep-format {
	padding: 24px;
	border: 2px solid transparent;
	border-radius: var(--wp--custom--border-radius--card-lg);
	background: var(--wp--preset--color--white);
	text-align: center;
	transition: border-color 0.15s ease;
}

.prep-format:hover {
	border-color: var(--wp--preset--color--primary);
}

/* Makieta kartki A3/A4 (wyrównana do dołu w polu 180px) */
.prep-format::before {
	content: "";
	display: block;
	box-sizing: border-box;
	border: 2px solid var(--wp--preset--color--heading);
}

.prep-format--a3::before {
	width: 120px;
	height: 170px;
	margin-top: 10px;
	border-radius: 10px;
	background: var(--wp--preset--color--pastel-rose);
}

.prep-format--a4::before {
	width: 85px;
	height: 120px;
	margin-top: 60px;
	border-radius: 8px;
	background: var(--wp--preset--color--pastel-teal);
}

.prep-format__size {
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: 48px;
	line-height: 1;
}

.prep-format__price {
	font-weight: 800;
}

/* Prezent */
.wp-block-group.prep-gift {
	padding: 56px;
}

.prep-gift__img img {
	height: 360px;
}

/* Finał */
.prep-finale {
	padding: 72px 56px !important;
	text-align: center;
}

.prep-finale p {
	margin: 0;
}

.prep-finale .prep-finale__title {
	margin: 0;
	font-size: clamp(42px, 4.4vw, 64px);
	line-height: 1;
}

.prep-finale__text {
	max-width: 720px;
}

.prep-finale__motto {
	margin-top: 8px !important;
	color: var(--wp--preset--color--pastel-yellow);
	font-family: var(--wp--preset--font-family--patrick-hand);
	font-size: clamp(28px, 2.5vw, 36px);
	line-height: 1.1;
}

.prep-chip--in {
	top: 28px;
	left: 40px;
	background: var(--wp--preset--color--pastel-rose);
	color: var(--wp--preset--color--heading);
	transform: rotate(-8deg);
}

.prep-chip--a {
	bottom: 32px;
	right: 48px;
	background: var(--wp--preset--color--pastel-green);
	color: var(--wp--preset--color--heading);
	transform: rotate(7deg);
}

@media (max-width: 781px) {
	.wp-block-group.prep-box,
	.wp-block-group.prep-gift,
	.wp-block-group.prep-formats {
		padding: 32px 20px;
		border-radius: var(--wp--custom--border-radius--panel);
	}

	.prep-finale {
		padding: 64px 20px 72px !important;
	}

	.prep-kal-hero__img img {
		height: 300px;
	}

	.prep-gift__img img {
		height: 240px;
	}

	.prep-kal-hero__media .prep-chip,
	.prep-finale .prep-chip {
		font-size: 24px;
	}

	.prep-chip--in {
		top: 16px;
		left: 16px;
	}

	.prep-chip--a {
		bottom: 16px;
		right: 16px;
	}

	.prep-stat__num {
		font-size: 56px;
	}

	.prep-kal-intro__box,
	.wp-block-group.prep-note {
		padding: 22px 20px;
	}

	.prep-hero .wp-block-buttons,
	.prep-kal-hero .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.prep-kal-hero .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}
