/* ==========================================================================
   Bajkowa Chatka – style motywu
   Kolory: krem, śliwka; akcenty z logo (pomarańcz, błękit, żółty).
   ========================================================================== */

:root {
	--bc-plum: var(--wp--preset--color--sliwka, #643687);
	--bc-deep: var(--wp--preset--color--sliwka-ciemna, #2b1935);
	--bc-ink: var(--wp--preset--color--atrament, #261f29);
	--bc-muted: var(--wp--preset--color--szary, #5b5360);
	--bc-paper: var(--wp--preset--color--krem, #fbf8f4);
	--bc-line: var(--wp--preset--color--linia, #e9ded5);
	--bc-lilac: var(--wp--preset--color--liliowy, #f1e9f4);
	--bc-orange: var(--wp--preset--color--pomarancz, #eb6a41);
	--bc-blue: var(--wp--preset--color--blekit, #57b4d7);
	--bc-yellow: var(--wp--preset--color--zolty, #f9d24a);
	--bc-radius: 14px;
	--bc-section: clamp(3.25rem, 6.5vw, 5.75rem);
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }

/* Odstępy między głównymi blokami strony */
.wp-site-blocks > * { margin-block-start: 0 !important; }
.bc-sections > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.bc-main { margin-block-start: 0 !important; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, .wp-element-button:focus-visible {
	outline: 3px solid #16739a;
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---------- Nagłówek ---------- */
.bc-header-wrap { position: sticky; top: 0; z-index: 60; transition: box-shadow .2s ease; }
.admin-bar .bc-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .bc-header-wrap { top: 46px; } }
.bc-header-wrap.is-scrolled { box-shadow: 0 6px 24px -14px rgba(43, 25, 53, .35); }
.bc-head { min-height: 88px; gap: 20px; }
.bc-brand { gap: 12px !important; align-items: center; }
.bc-brand .wp-block-site-logo img { width: 54px; height: auto; }
.bc-brand-text { gap: 3px !important; }
.bc-brand .wp-block-site-title a { color: var(--bc-ink); text-decoration: none; }
.bc-tagline { margin: 0; font-size: .75rem; color: var(--bc-muted); letter-spacing: .01em; line-height: 1.2; }
.bc-head-right { gap: 26px !important; align-items: center; }
.bc-nav a { text-decoration: none; color: var(--bc-ink); }
.bc-nav .wp-block-navigation-item__content { padding: 6px 0; border-bottom: 2px solid transparent; }
.bc-nav .wp-block-navigation-item__content:hover { color: var(--bc-plum); border-bottom-color: var(--bc-yellow); }
.bc-nav .current-menu-item > .wp-block-navigation-item__content,
.bc-nav [aria-current="page"] { color: var(--bc-plum); border-bottom-color: var(--bc-plum); }
.bc-nav .wp-block-navigation__container { gap: 24px; }
.bc-head-cta .wp-block-button__link { padding: .8rem 1.15rem; white-space: nowrap; }
.bc-brand .wp-block-site-title { white-space: nowrap; }
.bc-head-cta .wp-block-button__link::after { content: " ↗"; }
.bc-stripe {
	height: 4px;
	background: linear-gradient(90deg, var(--bc-orange) 0 25%, var(--bc-plum) 25% 50%, var(--bc-blue) 50% 75%, var(--bc-yellow) 75%);
}
/* Menu mobilne */
.wp-block-navigation__responsive-container.is-menu-open {
	background: #fff !important;
	padding: 28px 24px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.75rem;
	font-weight: 500;
	letter-spacing: -.02em;
	border: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 14px; }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Typografia ---------- */
.bc-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 1rem !important;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bc-plum);
}
.bc-label::before {
	content: "";
	width: 9px;
	height: 9px;
	flex: none;
	background: var(--bc-orange);
	transform: rotate(45deg);
}
.bc-lead { font-size: var(--wp--preset--font-size--large); color: var(--bc-muted); max-width: 37rem; line-height: 1.62; }
.bc-cta .bc-lead { color: #e8d9ee; }
h1 em, h2 em { font-style: normal; color: var(--bc-plum); }
.bc-muted { color: var(--bc-muted); }
.bc-note { font-size: .9rem; color: var(--bc-muted); font-style: italic; }
.wp-block-heading { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Przyciski ---------- */
.wp-element-button, .wp-block-button__link { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--bc-plum);
	border: 1.5px solid #c9b4d4;
	padding: calc(.9rem - 1.5px) calc(1.35rem - 1.5px);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--bc-lilac); border-color: var(--bc-plum); color: var(--bc-plum); }
.wp-block-buttons { gap: 10px; }

/* ---------- Sekcje ---------- */
.bc-section { padding-top: var(--bc-section) !important; padding-bottom: var(--bc-section) !important; }
.bc-section-tight { padding-top: 0 !important; }
.bc-band { border-block: 1px solid var(--bc-line); }
.bc-intro { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.bc-intro > .bc-lead { margin-top: 1.1rem; }
.bc-section > .wp-block-buttons { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ---------- Hero ---------- */
.bc-hero { padding-top: clamp(2.5rem, 5.5vw, 4.75rem) !important; padding-bottom: clamp(2rem, 4vw, 3.5rem) !important; }
.bc-hero-cols, .bc-split { gap: clamp(1.75rem, 4.5vw, 3.75rem) !important; }
.bc-hero-title { margin: 0; }
.bc-hero .bc-lead, .bc-page-hero .bc-lead { margin: 1.4rem 0 1.6rem; }
.bc-hero-meta { margin-top: 1.4rem !important; font-size: .9rem; color: var(--bc-muted); }
.bc-hero-meta a { color: var(--bc-ink); font-weight: 700; }
.bc-hero-media { position: relative; isolation: isolate; padding: 0 14px 14px 0; }
.bc-hero-media::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 22% 0 0 22%;
	background: #e7d5ef;
	border-radius: var(--bc-radius);
	clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%, 0 23%);
}
.bc-hero-visual { margin: 0; position: relative; }
.bc-hero-visual img {
	display: block;
	width: 100%;
	height: clamp(320px, 38vw, 540px);
	object-fit: cover;
	object-position: center 35%;
	border-radius: var(--bc-radius) var(--bc-radius) var(--bc-radius) 64px;
}
.bc-hero-visual::after {
	content: "";
	position: absolute;
	right: -10px;
	bottom: -10px;
	width: 74px;
	height: 74px;
	background: var(--bc-yellow);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	border-bottom-right-radius: 6px;
}
.bc-page-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); margin: 0; }
.bc-page-hero { padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important; }
.bc-page-hero-simple { padding-bottom: var(--bc-section) !important; }
.bc-page-hero-simple .bc-intro { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Skróty ---------- */
.bc-shortcuts-wrap { padding-top: 0 !important; padding-bottom: clamp(2.75rem, 5vw, 4.25rem) !important; }
.bc-shortcuts { gap: 14px !important; margin: 0; }
.bc-shortcut {
	position: relative;
	display: grid !important;
	grid-template-columns: 44px 1fr 22px;
	column-gap: 14px;
	align-items: center;
	padding: 17px 18px;
	background: #fff;
	border: 1px solid var(--bc-line);
	border-radius: 11px;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bc-shortcut:hover { border-color: var(--bc-plum); box-shadow: 0 10px 26px -18px rgba(100, 54, 135, .55); transform: translateY(-2px); }
.bc-shortcut > * { margin: 0 !important; }
.bc-shortcut .bc-num { grid-row: 1 / span 2; }
.bc-shortcut h3 { grid-column: 2; font-family: var(--wp--preset--font-family--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; line-height: 1.3; }
.bc-shortcut h3 a { color: var(--bc-ink); text-decoration: none; }
.bc-shortcut h3 a::before { content: ""; position: absolute; inset: 0; border-radius: 11px; }
.bc-shortcut p:not(.bc-num) { grid-column: 2; font-size: .875rem; color: var(--bc-muted); line-height: 1.4; }
.bc-shortcut::after { content: "↘"; grid-column: 3; grid-row: 1 / span 2; color: var(--bc-plum); font-size: 1.1rem; }

/* Numerki (01, 02…) w kolorach logo */
.bc-num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 10px;
	background: var(--bc-lilac);
	color: var(--bc-plum);
	font-weight: 800;
	font-size: .85rem;
}
.bc-shortcut:nth-child(4n+2) .bc-num, .bc-method:nth-child(4n+2) .bc-num, .bc-step:nth-child(4n+2) .bc-num { background: #fbe8dd; color: #9c381f; }
.bc-shortcut:nth-child(4n+3) .bc-num, .bc-method:nth-child(4n+3) .bc-num, .bc-step:nth-child(4n+3) .bc-num { background: #e2f3fa; color: #19617b; }
.bc-shortcut:nth-child(4n+4) .bc-num, .bc-method:nth-child(4n+4) .bc-num, .bc-step:nth-child(4n+4) .bc-num { background: #fdf3cc; color: #7a5a00; }

/* ---------- Zdjęcia ---------- */
.bc-photo { margin: 0; }
.bc-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bc-radius); }
.bc-photo-portrait img { aspect-ratio: 4 / 4.4; object-position: center 20%; border-radius: var(--bc-radius) 64px var(--bc-radius) var(--bc-radius); }
.bc-split-media { position: relative; isolation: isolate; }
.bc-split-media::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -14px;
	bottom: -14px;
	width: 46%;
	height: 46%;
	background: var(--bc-blue);
	opacity: .22;
	border-radius: var(--bc-radius);
}

/* ---------- Listy ---------- */
.bc-list { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .65rem; }
.bc-list li { position: relative; padding-left: 1.4rem; }
.bc-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 7px;
	height: 7px;
	background: var(--bc-plum);
	transform: rotate(45deg);
}
.bc-list-cards { gap: 10px; margin: 0; }
.bc-list-cards li { background: #fff; border: 1px solid #e1d1e9; border-radius: 10px; padding: 14px 18px 14px 40px; }
.bc-list-cards li::before { left: 18px; top: 1.45em; }
.bc-list-cards strong { color: var(--bc-plum); }

.bc-timeline { list-style: none; padding: 0; margin: 1.5rem 0 1rem; counter-reset: bc; display: grid; gap: 0; }
.bc-timeline li { counter-increment: bc; position: relative; padding: .55rem 0 .55rem 3rem; }
.bc-timeline li::before {
	content: counter(bc);
	position: absolute;
	left: 0;
	top: .35rem;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--bc-lilac);
	color: var(--bc-plum);
	font-size: .8rem;
	font-weight: 800;
}
.bc-timeline li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 14px;
	top: 2.2rem;
	bottom: -.35rem;
	width: 2px;
	background: #e7d5ef;
}

/* ---------- Karty ze zdjęciem ---------- */
.bc-cards { gap: clamp(14px, 2vw, 22px) !important; margin: 0; }
.bc-card {
	background: #fff;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	overflow: hidden;
	padding-bottom: 1.5rem;
}
.bc-card > * { margin-left: 1.4rem !important; margin-right: 1.4rem !important; }
.bc-card > .bc-card-img { margin: 0 0 1.25rem !important; }
.bc-card-img img { display: block; width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.bc-card h3 { margin-bottom: .5rem; }
.bc-card p { color: var(--bc-muted); margin-top: 0; }

/* ---------- Siatki: metody, kroki ---------- */
.bc-grid { gap: 16px !important; }
.bc-method, .bc-step {
	background: var(--bc-paper);
	border: 1px solid var(--bc-line);
	border-radius: 12px;
	padding: 24px 24px 22px;
}
.bc-section:not(.bc-band) .bc-method { background: #fff; }
.bc-method > *, .bc-step > * { margin: 0 !important; }
.bc-method h3, .bc-step h3 { margin-top: 1.1rem !important; margin-bottom: .45rem !important; }
.bc-method p:not(.bc-num), .bc-step p:not(.bc-num) { color: var(--bc-muted); font-size: .95rem; line-height: 1.55; }
.bc-step .bc-num { border-radius: 50%; }

/* ---------- Wiersze naprzemienne (Zajęcia) ---------- */
.bc-rows > .bc-row + .bc-row { margin-top: clamp(3rem, 6vw, 5rem) !important; }
@media (min-width: 782px) { .bc-row-rev { flex-direction: row-reverse; } }

/* ---------- Mozaika zdjęć ---------- */
.bc-head-row { margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important; }
.bc-head-row h2 { margin: 0; }
.bc-mosaic {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, clamp(170px, 18vw, 260px));
	gap: 14px;
}
.bc-mosaic > * { margin: 0 !important; position: relative; overflow: hidden; border-radius: 12px; }
.bc-mosaic .bc-m1 { grid-column: 1 / span 2; grid-row: 1 / span 2; border-radius: 12px 12px 12px 56px; }
.bc-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bc-mosaic > *:hover img { transform: scale(1.03); }
.bc-mosaic figcaption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	margin: 0;
	padding: 5px 11px;
	background: rgba(255, 255, 255, .92);
	color: var(--bc-ink);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
}

/* ---------- FAQ ---------- */
.bc-faq-cols { gap: clamp(1.75rem, 4.5vw, 3.5rem) !important; }
.bc-faq h2 { margin-top: 0; }
.bc-questions > * + * { margin-top: 10px !important; }
.bc-faq-item {
	background: #fff;
	border: 1px solid #e1d1e9;
	border-radius: 10px;
	transition: border-color .15s ease;
}
.bc-faq-item[open] { border-color: #c9b4d4; }
.bc-faq-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	font-weight: 750;
	line-height: 1.35;
}
.bc-faq-item summary::-webkit-details-marker { display: none; }
.bc-faq-item summary::after { content: "+"; flex: none; color: var(--bc-plum); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.bc-faq-item[open] summary::after { content: "−"; }
.bc-faq-item > p, .bc-faq-item > .wp-block-paragraph { margin: 0 !important; padding: 0 18px 18px; color: var(--bc-muted); font-size: .97rem; }

/* ---------- Pasek kontaktowy ---------- */
.bc-cta { border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--bc-orange) 0 25%, var(--bc-plum) 25% 50%, var(--bc-blue) 50% 75%, var(--bc-yellow) 75%) 1; }
.bc-cta h2 { margin: 0 0 .9rem; color: #fff; }
.bc-cta .bc-lead { margin: 0; }
.bc-btn-light .wp-block-button__link { background: #fff; color: var(--bc-plum); }
.bc-btn-light .wp-block-button__link:hover { background: var(--bc-yellow); color: var(--bc-deep); }
.bc-cta .bc-btn-ghost .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .45); }
.bc-cta .bc-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* ---------- Zespół ---------- */
.bc-team-grid { gap: 16px !important; }
.bc-team-grid > * { margin: 0 !important; }
.bc-team-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; }
.bc-team-img figcaption { margin-top: .6rem; font-size: .85rem; color: var(--bc-muted); }

/* ---------- Galeria ---------- */
.bc-gallery.wp-block-gallery { gap: 14px !important; }
.bc-gallery.wp-block-gallery .wp-block-image img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.bc-gallery.wp-block-gallery .wp-block-image { border-radius: 12px; overflow: hidden; }
.bc-gallery.wp-block-gallery .wp-block-image figcaption { font-size: .8rem; font-weight: 600; padding: 2.5rem 12px 10px; }

/* ---------- Kontakt ---------- */
.bc-contact-cols { gap: clamp(1.75rem, 4.5vw, 3.75rem) !important; }
.bc-contact-page h1 { margin: 0; font-size: clamp(2.5rem, 4.6vw, 4.1rem); }
.bc-contact-page .bc-lead { margin: 1.25rem 0 1.75rem; }
.bc-contact-card {
	background: #fff;
	border: 1px solid var(--bc-line);
	border-radius: var(--bc-radius);
	padding: 8px 22px;
}
.bc-contact-row {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 12px;
	margin: 0 !important;
	padding: 14px 0;
	border-bottom: 1px solid var(--bc-line);
}
.bc-contact-row:last-child { border-bottom: 0; }
.bc-contact-row strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--bc-plum); padding-top: .25em; }
.bc-contact-row a { color: var(--bc-ink); font-weight: 700; }
.bc-map {
	margin-top: 18px;
	min-height: 260px;
	display: grid;
	place-items: center;
	text-align: center;
	background: var(--bc-lilac) linear-gradient(135deg, rgba(87, 180, 215, .14), rgba(249, 210, 74, .14));
	border-radius: var(--bc-radius);
	overflow: hidden;
}
.bc-map-inner { padding: 24px; }
.bc-map-inner p { margin: 0 0 .9rem; }
.bc-map-note { font-size: .85rem; color: var(--bc-muted); margin-top: .9rem !important; }
.bc-map-btn, .bc-submit {
	font: inherit;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	border: 0;
	border-radius: 8px;
	padding: .9rem 1.35rem;
	background: var(--bc-plum);
	color: #fff;
}
.bc-map-btn:hover, .bc-submit:hover { background: var(--bc-deep); }
.bc-map iframe { width: 100%; height: 340px; border: 0; display: block; }
.bc-map.is-loaded { display: block; min-height: 0; }

.bc-form-card {
	background: #fff;
	border: 1px solid var(--bc-line);
	border-radius: 18px;
	padding: clamp(22px, 3.5vw, 38px);
	box-shadow: 0 24px 60px -40px rgba(43, 25, 53, .45);
}
.bc-form-card h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0 0 .5rem; }
.bc-form-card > p { color: var(--bc-muted); }
.bc-form .bc-field { margin: 0 0 1rem; display: grid; gap: 6px; }
.bc-form label { font-weight: 700; font-size: .92rem; }
.bc-form input[type="text"], .bc-form input[type="tel"], .bc-form input[type="email"], .bc-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1rem;
	padding: .8rem .9rem;
	border: 1.5px solid #dccfe3;
	border-radius: 9px;
	background: var(--bc-paper);
	color: var(--bc-ink);
	transition: border-color .15s ease, background-color .15s ease;
}
.bc-form input:focus, .bc-form textarea:focus { border-color: var(--bc-plum); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(100, 54, 135, .15); }
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.bc-hint { display: block; font-size: .82rem; color: var(--bc-muted); margin: -.4rem 0 1rem; }
.bc-field .bc-hint { margin: 2px 0 0; }
.bc-opt { font-weight: 400; color: var(--bc-muted); }
.bc-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 1.1rem 0 1.4rem; }
.bc-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bc-plum); }
.bc-check label { font-weight: 400; font-size: .85rem; color: var(--bc-muted); line-height: 1.5; }
.bc-submit { width: 100%; padding: 1.05rem 1.35rem; font-size: 1rem; }
.bc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bc-form-msg { padding: 14px 16px; border-radius: 10px; margin-bottom: 1.25rem; font-size: .95rem; }
.bc-form-ok { background: #e6f5ec; border: 1px solid #b9e0c7; color: #1d5b34; }
.bc-form-err { background: #fdecea; border: 1px solid #f3c2bd; color: #8a2a1f; }

/* ---------- Stopka ---------- */
.bc-footer { border-top: 1px solid var(--bc-line); }
.bc-footer-cols { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.bc-footer .bc-brand { margin-bottom: 1rem; }
.bc-footer-h {
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: .72rem !important;
	font-weight: 800 !important;
	letter-spacing: .16em !important;
	text-transform: uppercase;
	color: var(--bc-plum) !important;
	margin: .35rem 0 1rem !important;
}
.bc-footer p { margin: 0 0 .6rem; line-height: 1.7; }
.bc-footer a { color: var(--bc-ink); text-decoration: none; }
.bc-footer a:hover { color: var(--bc-plum); text-decoration: underline; }
.bc-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.bc-footer .wp-block-separator { margin: 2.25rem 0 1.25rem; border-color: var(--bc-line); opacity: 1; }
.bc-footer-bottom p { margin: 0; }

/* ---------- Zwykłe podstrony (np. polityka) ---------- */
.bc-prose .bc-page-title { margin-bottom: 2rem; }
.bc-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.5rem; }
.bc-draft-note { background: #fff3b0; border: 1px solid #ecd56d; border-radius: 10px; padding: 14px 16px; font-size: .92rem; }

/* ---------- Telefon i tablet ---------- */
@media (max-width: 1100px) {
	.bc-nav .wp-block-navigation__container { gap: 16px; }
	.bc-head-right { gap: 16px !important; }
	.bc-tagline { display: none; }
}
@media (max-width: 781px) {
	.bc-head { min-height: 72px; }
	.bc-brand .wp-block-site-logo img { width: 44px; }
	.bc-brand .wp-block-site-title { font-size: 1.3rem; }
	.bc-head-cta .wp-block-button__link { padding: .65rem .85rem; font-size: .85rem; }
	.bc-head-cta .wp-block-button__link::after { content: ""; }
	.bc-hero-cols, .bc-split, .bc-faq-cols, .bc-contact-cols { gap: 1.75rem !important; }
	.bc-hero-visual img { height: auto; aspect-ratio: 5 / 4; }
	.bc-hero-media { padding: 0 10px 10px 0; }
	.bc-hero-visual::after { width: 48px; height: 48px; }
	.bc-shortcuts { gap: 8px !important; }
	.bc-shortcut { padding: 13px 14px; }
	.bc-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
	.bc-mosaic .bc-m1 { grid-column: 1 / span 2; grid-row: 1; }
	.bc-head-row .wp-block-buttons { justify-content: flex-start !important; }
	.bc-cta-buttons { justify-content: flex-start !important; }
	.bc-row { grid-template-columns: 1fr; }
	.bc-split-media::after { left: -8px; bottom: -8px; }
	.bc-gallery.wp-block-gallery.columns-3 .wp-block-image { width: calc(50% - 7px) !important; }
}
@media (max-width: 480px) {
	.bc-head .bc-head-cta .wp-block-button__link { padding: .6rem .75rem; font-size: .8rem; }
	.bc-brand .wp-block-site-title { font-size: 1.12rem; }
	.bc-brand .wp-block-site-logo img { width: 38px; }
	.bc-head-right { gap: 10px !important; }
	.bc-contact-row { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.bc-header-wrap, .bc-stripe, .bc-cta, .bc-map { display: none !important; }
}

/* Stała liczba kolumn w siatkach (zamiast automatycznej) */
.bc-grid.bc-steps, .bc-grid.bc-four, .bc-team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.bc-grid.bc-methods:not(.bc-four) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1000px) {
	.bc-grid.bc-steps, .bc-grid.bc-four, .bc-team-grid, .bc-grid.bc-methods:not(.bc-four) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
	.bc-grid.bc-steps, .bc-grid.bc-four, .bc-grid.bc-methods:not(.bc-four) { grid-template-columns: 1fr !important; }
	.bc-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
}

/* ==========================================================================
   KONCEPCJA 2 – „Ważne pytania. Konkretne odpowiedzi.”
   Biel, granatowe pogrubione nagłówki, trójkąty w kolorach logo, odręczne dopiski.
   ========================================================================== */
:root {
	--bc-navy: var(--wp--preset--color--atrament, #16193a);
	--bc-peach: var(--wp--preset--color--brzoskwinia, #fde3d4);
	--bc-skylight: var(--wp--preset--color--blekit-jasny, #dcf1fb);
	--bc-tint: #faf8fd;
}
body { background: #fff; }
.bc-band { background-color: var(--bc-tint) !important; }
.bc-label { letter-spacing: .2em; font-weight: 700; font-size: .76rem; }
.bc-label::before { display: none; }
.bc-lead { color: #3f4263; }
.bc-script {
	font-family: var(--wp--preset--font-family--odreczny);
	font-weight: 600;
	color: var(--bc-plum);
	font-size: clamp(1.7rem, 2.4vw, 2.2rem);
	line-height: 1.12;
	transform: rotate(-5deg);
}

/* Nagłówek strony */
.bc-brand .wp-block-site-logo img { width: 60px; }
.bc-brand .wp-block-site-title a { color: var(--bc-navy); }
.bc-stripe { height: 3px; }
.bc-btn-arrow .wp-block-button__link::after, .bc-head-cta .wp-block-button__link::after, .bc-btn-light .wp-block-button__link::after { content: "  →"; white-space: pre; }
.bc-head-cta .wp-block-button__link { border-radius: 10px; }

/* Przyciski */
.wp-element-button, .wp-block-button__link { border-radius: 10px; }
.bc-btn-link .wp-block-button__link {
	background: transparent !important;
	color: var(--bc-plum) !important;
	padding: .9rem .4rem !important;
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1.5px;
	font-weight: 600;
	border: 0 !important;
}
.bc-btn-link .wp-block-button__link:hover { text-decoration-color: var(--bc-orange); transform: none; }

/* Hero koncepcji 2 */
.bc-hero2 { padding-top: clamp(1.75rem, 4vw, 3.25rem) !important; padding-bottom: clamp(1.25rem, 3vw, 2.25rem) !important; position: relative; overflow: hidden; }
.bc-hero2 .bc-hero-cols { gap: clamp(1.75rem, 4vw, 3.5rem) !important; }
.bc-hero2 .bc-hero-title { font-size: clamp(2.35rem, 4.3vw, 4.1rem); line-height: 1.06; color: var(--bc-navy); }
.bc-hero2 .bc-hero-title::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 1.4rem; border-radius: 2px; background: var(--bc-plum); }
.bc-hero2 .bc-lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); margin: 1.4rem 0 1.8rem; }
.bc-hero2 .bc-hero-meta { font-size: .86rem; max-width: 30rem; }
.bc-hero2::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 18%;
	width: 34px;
	height: 60px;
	background: var(--bc-yellow);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.bc-h2-media { position: relative; isolation: isolate; }
.bc-h2-media::before, .bc-h2-media::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -46px;
	width: 120px;
	height: 150px;
	clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
.bc-h2-media::before { top: 4%; background: var(--bc-orange); opacity: .9; }
.bc-h2-media::after { top: 46%; background: var(--bc-blue); opacity: .75; }
.bc-h2-grid {
	display: grid !important;
	grid-template-columns: 1fr 36%;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
	height: clamp(340px, 36vw, 520px);
}
.bc-h2-grid > * { margin: 0 !important; min-height: 0; }
.bc-h2-main { grid-column: 1; grid-row: 1 / span 2; }
.bc-h2-main img { width: 100%; height: 100% !important; object-fit: cover; object-position: center 32%; border-radius: 18px; display: block; }
.bc-hero2 .bc-hero-visual::after { display: none; }
.bc-h2-note {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.2rem 1rem;
	text-align: center;
	border-radius: 18px;
	background:
		linear-gradient(135deg, transparent 0 62%, rgba(91, 45, 144, .12) 62% 100%),
		var(--bc-lilac);
	position: relative;
	overflow: hidden;
}
.bc-h2-note::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 54px;
	height: 64px;
	background: #c9b3ea;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.bc-h2-note::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 70px;
	height: 56px;
	background: var(--bc-yellow);
	clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.bc-h2-small { grid-column: 2; grid-row: 2; }
.bc-h2-small img { width: 100%; height: 100% !important; object-fit: cover; border-radius: 18px; display: block; }

/* Nagłówki podstron – trójkąty zamiast fioletowej plamy */
.bc-hero-media::before {
	inset: auto;
	left: -30px;
	top: 10%;
	width: 90px;
	height: 120px;
	background: var(--bc-orange);
	clip-path: polygon(100% 0, 100% 100%, 0 50%);
	border-radius: 0;
	opacity: .9;
}
.bc-hero-media::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -24px;
	top: 48%;
	width: 76px;
	height: 100px;
	background: var(--bc-blue);
	opacity: .75;
	clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
.bc-hero-visual img { border-radius: 18px; }
.bc-hero-visual::after { width: 64px; height: 64px; right: -8px; bottom: -8px; }

/* Trzy tematy z ikonami */
.bc-topics-wrap { padding-top: clamp(1rem, 2.5vw, 2rem) !important; padding-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.bc-topics { gap: 18px !important; margin: 0; }
.bc-topic {
	display: grid !important;
	grid-template-columns: 1fr 42%;
	background: #fff;
	border: 1px solid var(--bc-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 40px -32px rgba(22, 25, 58, .45);
	transition: transform .2s ease, box-shadow .2s ease;
}
.bc-topic:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(22, 25, 58, .5); }
.bc-topic > * { margin: 0 !important; }
.bc-topic-body { padding: 22px 18px 20px 22px; display: flex; flex-direction: column; gap: .7rem; }
.bc-topic-body > * { margin: 0 !important; }
.bc-topic-body p:not(.bc-arrow-link) { color: #3f4263; font-size: .93rem; line-height: 1.55; }
.bc-topic-body .bc-arrow-link { margin-top: auto !important; }
.bc-topic-img { height: 100%; }
.bc-topic-img img { width: 100%; height: 100% !important; min-height: 210px; object-fit: cover; display: block; }

.bc-ico { display: flex; align-items: center; gap: 14px; font-size: 1.35rem !important; color: var(--bc-navy); }
.bc-ico::before {
	content: "";
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--bc-lilac);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
}
.bc-ico-kalendarz::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b2d90' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2.5'/%3E%3Cpath d='M16 2.5v4M8 2.5v4M3 9.5h18M7.5 13.5h.01M12 13.5h.01M16.5 13.5h.01M7.5 17h.01M12 17h.01'/%3E%3C/svg%3E");
}
.bc-ico-rozmowa::before {
	background-color: var(--bc-peach);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4532a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9a2 2 0 0 1-2 2H6l-3 3V4a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2z'/%3E%3Cpath d='M18 9h1a2 2 0 0 1 2 2v10l-3-3h-6a2 2 0 0 1-2-2v-1'/%3E%3C/svg%3E");
}
.bc-ico-ludzie::before {
	background-color: var(--bc-skylight);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='6' r='2.5'/%3E%3Ccircle cx='5' cy='8' r='2'/%3E%3Ccircle cx='19' cy='8' r='2'/%3E%3Cpath d='M8.5 21v-6a3.5 3.5 0 0 1 7 0v6M2.5 21v-4.5A2.5 2.5 0 0 1 5 14h1M21.5 21v-4.5A2.5 2.5 0 0 0 19 14h-1'/%3E%3C/svg%3E");
}

.bc-arrow-link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bc-navy);
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
}
.bc-arrow-link a::before {
	content: "→";
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	border: 1.5px solid var(--bc-navy);
	font-size: 1rem;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bc-arrow-link a:hover::before { background: var(--bc-plum); border-color: var(--bc-plum); color: #fff; }
.bc-arrow-link a:hover { color: var(--bc-plum); }

/* Pas „Szybkie odpowiedzi dla rodziców” */
.bc-quick { padding-top: 0 !important; }
.bc-quick-box {
	position: relative;
	overflow: hidden;
	background: var(--bc-lilac);
	border-radius: 22px;
	padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3.5vw, 3rem);
}
.bc-quick-box::before {
	content: "";
	position: absolute;
	left: 26%;
	bottom: -10px;
	width: 160px;
	height: 120px;
	background: linear-gradient(135deg, #cbb5ec 0 50%, #b99ee3 50% 100%);
	clip-path: polygon(0 100%, 55% 0, 100% 100%);
	opacity: .55;
}
.bc-quick-box::after {
	content: "";
	position: absolute;
	right: -10px;
	bottom: -6px;
	width: 220px;
	height: 120px;
	background:
		linear-gradient(var(--bc-orange), var(--bc-orange)) left bottom / 50% 100% no-repeat,
		linear-gradient(var(--bc-blue), var(--bc-blue)) right bottom / 50% 100% no-repeat;
	clip-path: polygon(0 100%, 28% 30%, 50% 100%, 74% 0, 100% 100%);
	opacity: .85;
}
.bc-quick-cols { gap: clamp(1.25rem, 3vw, 2.5rem) !important; position: relative; z-index: 1; }
.bc-quick-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 1.2rem; color: var(--bc-navy); }
.bc-quick .bc-faq-item { border: 0; border-radius: 12px; box-shadow: 0 6px 18px -14px rgba(22, 25, 58, .4); }
.bc-quick .bc-faq-item summary { padding: 14px 18px; font-weight: 700; font-size: .97rem; }
.bc-quick-side { display: flex; align-items: flex-start; justify-content: center; padding-top: 1rem; }

/* FAQ i karty – drobne ujednolicenie */
.bc-faq-item summary::after { color: var(--bc-navy); }
.bc-card, .bc-method, .bc-step, .bc-shortcut { border-radius: 16px; }
.bc-photo img, .bc-team-img img { border-radius: 18px; }
.bc-cta { background: var(--bc-navy) !important; border: 0; position: relative; overflow: hidden; }
.bc-cta::after {
	content: "";
	position: absolute;
	right: 4%;
	bottom: -8px;
	width: 200px;
	height: 110px;
	background:
		linear-gradient(var(--bc-yellow), var(--bc-yellow)) left bottom / 50% 100% no-repeat,
		linear-gradient(var(--bc-plum), var(--bc-plum)) right bottom / 50% 100% no-repeat;
	clip-path: polygon(0 100%, 28% 25%, 50% 100%, 74% 0, 100% 100%);
	opacity: .7;
}
.bc-cta .wp-block-columns { position: relative; z-index: 1; }

@media (max-width: 1100px) {
	.bc-topic { grid-template-columns: 1fr 38%; }
}
@media (max-width: 1000px) {
	.bc-topics { flex-wrap: wrap !important; }
	.bc-topics > .bc-topic { flex-basis: 100% !important; }
}
@media (max-width: 781px) {
	.bc-hero2 .bc-hero-text { order: 1; }
	.bc-h2-media { order: 2; }
	.bc-h2-media::before, .bc-h2-media::after { display: none; }
	.bc-h2-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 150px; height: auto; }
	.bc-h2-main { grid-column: 1 / span 2; grid-row: 1; }
	.bc-h2-note { grid-column: 1; grid-row: 2; }
	.bc-h2-small { grid-column: 2; grid-row: 2; }
	.bc-script { font-size: 1.55rem; }
	.bc-topic { grid-template-columns: 1fr 40%; }
	.bc-topic-img img { min-height: 180px; }
	.bc-quick-box::before { display: none; }
	.bc-quick-side { display: none; }
}
@media (max-width: 480px) {
	.bc-ico { font-size: 1.2rem !important; }
	.bc-ico::before { width: 46px; height: 46px; background-size: 22px 22px; }
	.bc-topic-body { padding: 18px 14px 16px 16px; }
}

/* Poprawki po teście koncepcji 2 */
.bc-h2-note.bc-script { transform: none; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.15; }
.bc-hero2 .bc-hero-title { font-size: clamp(2.3rem, 3.7vw, 3.55rem); }
.bc-topic { grid-template-columns: 1fr 39%; }
.bc-ico { font-size: 1.2rem !important; gap: 12px; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.bc-ico::before { width: 50px; height: 50px; background-size: 24px 24px; }
@media (min-width: 782px) and (max-width: 1240px) {
	.bc-ico { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.bc-brand .wp-block-site-logo { flex: none; }
@media (max-width: 480px) {
	.bc-head-cta .wp-block-button__link::after { content: ""; }
	.bc-head .bc-head-cta .wp-block-button__link { padding: .55rem .65rem; font-size: .75rem; }
	.bc-brand .wp-block-site-title { font-size: 1.02rem; }
	.bc-brand { gap: 8px !important; }
}
@media (max-width: 781px) {
	.bc-brand .wp-block-site-logo img { width: 44px !important; }
	.bc-head-right { gap: 10px !important; }
}
@media (max-width: 480px) {
	.bc-brand .wp-block-site-logo img { width: 38px !important; }
	.bc-brand .wp-block-site-title { font-size: .98rem; }
}
