/*
Theme Name: Maluchy Siechnice – żłobki i przedszkola
Theme URI: https://edusiechnice.pl/
Author: Centrum Usług Wspólnych Gminy Siechnice
Description: Motyw dla żłobków, klubów dziecięcych, przedszkoli i oddziałów przedszkolnych w sieci edusiechnice.pl (WordPress multisite). Ciepła, ilustrowana szata inspirowana leśnymi zwierzątkami; tablica ogłoszeń, jadłospis z 14 alergenami, grupy, kalendarium, dokumenty. Zgodność: WCAG 2.2 AA, ustawa o dostępności cyfrowej (deklaracja dostępności, ETR, PJM), RODO (bez cookies śledzących, bez zewnętrznych CDN, fonty lokalne), standardy ochrony małoletnich. Konfiguracja per witryna w Customizerze.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maluchy-siechnice
Tags: education, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, two-columns
*/

/* =========================================================================
   1. Fonty (lokalnie, Nunito – licencja OFL, podzbiory latin + latin-ext)
   ========================================================================= */
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("assets/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("assets/fonts/nunito-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito";
	font-style: italic;
	font-display: swap;
	font-weight: 200 1000;
	src: url("assets/fonts/nunito-latin-ext-wght-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito";
	font-style: italic;
	font-display: swap;
	font-weight: 200 1000;
	src: url("assets/fonts/nunito-latin-wght-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   2. Zmienne – palety (każda para tekst/tło sprawdzona: min. 4,5:1)
   ========================================================================= */
:root {
	--mlc-font: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

	--mlc-bg: #fffbf2;          /* kremowe tło */
	--mlc-surface: #ffffff;
	--mlc-ink: #22303a;         /* 13,1:1 na tle */
	--mlc-muted: #4a5763;       /* 7,2:1 na tle */
	--mlc-line: #e7dfcf;
	--mlc-line-strong: #8a7d66; /* granice pól formularzy: 3:1+ */

	/* paleta „las” (domyślna) */
	--mlc-primary: #2e6b34;       /* 6,4:1 z bielą */
	--mlc-primary-dark: #1f4d24;
	--mlc-primary-soft: #e8f3e4;
	--mlc-accent: #a8471a;        /* 5,9:1 z bielą */
	--mlc-accent-soft: #fdebdd;
	--mlc-deco-1: #f28c38;        /* tylko dekoracje */
	--mlc-deco-2: #8cc66d;
	--mlc-deco-3: #ffc940;
	--mlc-sky: #dcf0fa;
	--mlc-grass: #7dbb5a;
	--mlc-grass-dark: #5a9a3c;

	--mlc-tile-1: #fde7c8;
	--mlc-tile-2: #fff1b8;
	--mlc-tile-3: #dbeffc;
	--mlc-tile-4: #e5f4dc;
	--mlc-tile-5: #fbe2ec;
	--mlc-tile-6: #ece6fb;

	--mlc-focus: #0b3d91;
	--mlc-focus-outer: #ffffff;

	--mlc-radius: 18px;
	--mlc-radius-sm: 10px;
	--mlc-shadow: 0 2px 0 rgba(34, 48, 58, .06), 0 8px 24px rgba(34, 48, 58, .08);
	--mlc-wrap: 1200px;
	--mlc-gap: clamp(1rem, 2.5vw, 2rem);

	--mlc-fs: 1.0625rem; /* 17px */
	--mlc-lh: 1.65;
}

.mlc-paleta-laka {
	--mlc-primary: #6b3d8c; --mlc-primary-dark: #4e2a68; --mlc-primary-soft: #f1e9f7;
	--mlc-accent: #a6305a; --mlc-accent-soft: #fbe6ee;
	--mlc-deco-1: #e46d9b; --mlc-deco-2: #b18ad6; --mlc-grass: #86c06a; --mlc-grass-dark: #5f9c45;
}
.mlc-paleta-morze {
	--mlc-primary: #145e8c; --mlc-primary-dark: #0d4466; --mlc-primary-soft: #e3f0f8;
	--mlc-accent: #a34700; --mlc-accent-soft: #fdebdd;
	--mlc-deco-1: #f59a4a; --mlc-deco-2: #6cc3e0; --mlc-sky: #d6eefb;
}
.mlc-paleta-slonce {
	--mlc-primary: #8a4600; --mlc-primary-dark: #663300; --mlc-primary-soft: #fff0d6;
	--mlc-accent: #1e6b6b; --mlc-accent-soft: #ddf1ef;
	--mlc-deco-1: #ffb020; --mlc-deco-2: #4fb5a5; --mlc-deco-3: #ffd766;
}

/* rozmiar tekstu (przełącznik A / A+ / A++) – skaluje cały układ w rem */
html { font-size: 100%; }
html[data-mlc-text="1"] { font-size: 118.75%; }
html[data-mlc-text="2"] { font-size: 137.5%; }

/* WCAG 1.4.12 – odstępy w tekście */
html.mlc-spacing body {
	line-height: 1.9 !important;
	letter-spacing: .12em !important;
	word-spacing: .16em !important;
}
html.mlc-spacing p, html.mlc-spacing li, html.mlc-spacing dd { margin-bottom: 2em; }

/* =========================================================================
   3. Podstawy
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem; /* WCAG 2.4.11 – przyklejone menu nie zasłania fokusu */
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--mlc-bg);
	color: var(--mlc-ink);
	font-family: var(--mlc-font);
	font-size: var(--mlc-fs);
	line-height: var(--mlc-lh);
	font-weight: 450;
	overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; }
img { border-style: none; }

h1, h2, h3, h4 {
	line-height: 1.2;
	font-weight: 850;
	color: var(--mlc-ink);
	margin: 1.6em 0 .6em;
	letter-spacing: -.01em;
	hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, dl, figure, table { margin: 0 0 1.1em; }

a {
	color: var(--mlc-primary);
	text-decoration: underline;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}
a:hover { color: var(--mlc-primary-dark); text-decoration-thickness: .15em; }

abbr[title] { text-decoration: underline dotted; cursor: help; }

/* Fokus – wyraźny, podwójny obrys (WCAG 2.4.7 / 2.4.13) */
:focus { outline: none; }
:focus-visible {
	outline: 3px solid var(--mlc-focus);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--mlc-focus-outer);
	border-radius: 4px;
}
[tabindex="-1"]:focus { outline: none; box-shadow: none; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.mlc-wrap {
	width: 100%;
	max-width: var(--mlc-wrap);
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.mlc-icon { flex: none; vertical-align: middle; }
.mlc-nowrap { white-space: nowrap; }
.mlc-small { font-size: .9rem; color: var(--mlc-muted); }

/* =========================================================================
   4. Linki pomijania
   ========================================================================= */
.mlc-skip ul { list-style: none; margin: 0; padding: 0; }
.mlc-skip a {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 1000;
	background: var(--mlc-ink);
	color: #fff;
	padding: .75rem 1.25rem;
	border-radius: 0 0 var(--mlc-radius-sm) var(--mlc-radius-sm);
	font-weight: 800;
	text-decoration: none;
}
.mlc-skip a:focus { top: 0; }

/* =========================================================================
   5. Pasek prywatności (w przepływie strony – niczego nie zasłania)
   ========================================================================= */
.mlc-privacy { background: var(--mlc-ink); color: #fff; font-size: .95rem; }
.mlc-privacy__inner { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .75rem; }
.mlc-privacy p { margin: 0; flex: 1 1 32rem; }
.mlc-privacy a { color: #fff; }
.mlc-privacy .mlc-btn { background: #fff; color: var(--mlc-ink); border-color: #fff; }
.mlc-privacy .mlc-btn:hover { background: var(--mlc-primary-soft); color: var(--mlc-ink); }
.mlc-privacy :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--mlc-ink); }

/* =========================================================================
   6. Pasek sieci edusiechnice.pl i pasek dostępności
   ========================================================================= */
.mlc-netbar { background: var(--mlc-primary-dark); color: #fff; font-size: .9rem; }
.mlc-netbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; min-height: 2.5rem; }
.mlc-netbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; }
.mlc-netbar a:hover { text-decoration: underline; color: #fff; }
.mlc-netbar__portal { font-weight: 700; margin-right: auto; }
.mlc-netbar__dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--mlc-deco-3); }
.mlc-netbar :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--mlc-primary-dark); }
.mlc-netbar abbr { text-decoration: none; }

.mlc-netbar__sites { position: relative; }
.mlc-netbar__sites summary {
	cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .3rem;
	min-height: 2.5rem; padding-inline: .25rem;
}
.mlc-netbar__sites summary::-webkit-details-marker { display: none; }
.mlc-netbar__sites[open] summary .mlc-icon { transform: rotate(180deg); }
.mlc-netbar__sites ul {
	position: absolute; right: 0; top: 100%; z-index: 60; min-width: 18rem; max-height: 60vh; overflow: auto;
	list-style: none; margin: 0; padding: .5rem; background: var(--mlc-surface); border-radius: var(--mlc-radius-sm); box-shadow: var(--mlc-shadow);
}
.mlc-netbar__sites ul a { color: var(--mlc-ink); display: flex; padding: .4rem .6rem; border-radius: 8px; min-height: 2.75rem; }
.mlc-netbar__sites ul a:hover { background: var(--mlc-primary-soft); color: var(--mlc-ink); }
.mlc-netbar__sites ul :focus-visible { outline-color: var(--mlc-focus); box-shadow: none; }

.mlc-a11ybar { background: var(--mlc-surface); border-bottom: 1px solid var(--mlc-line); font-size: .9rem; }
.mlc-a11ybar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding-block: .3rem; }
.mlc-a11ybar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.mlc-a11ybar__text { display: inline-flex; gap: 2px; background: var(--mlc-bg); border-radius: 999px; padding: 2px; }

.mlc-tool, .mlc-a11ybar__links a {
	display: inline-flex; align-items: center; gap: .4rem;
	min-height: 2.25rem; min-width: 2.25rem; padding: .25rem .7rem;
	border: 0; border-radius: 999px; background: transparent;
	color: var(--mlc-ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.mlc-tool:hover, .mlc-a11ybar__links a:hover { background: var(--mlc-primary-soft); color: var(--mlc-ink); }
.mlc-tool[aria-pressed="true"] { background: var(--mlc-primary); color: #fff; }
.mlc-tool--a { font-size: .95rem; }
.mlc-tool--a1 { font-size: 1.1rem; }
.mlc-tool--a2 { font-size: 1.25rem; }
.mlc-a11ybar__text .mlc-tool { padding-inline: .6rem; }

/* =========================================================================
   7. Nagłówek placówki
   ========================================================================= */
.mlc-header {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--mlc-sky) 0%, #f3faff 70%, var(--mlc-bg) 100%);
	padding-block: clamp(1.25rem, 3vw, 2.25rem);
}
.mlc-header__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }

.mlc-brand { display: flex; align-items: center; gap: 1rem; min-width: 0; flex: 1 1 26rem; }
.mlc-brand__mark img, .mlc-brand__logo img { display: block; width: clamp(64px, 9vw, 96px); height: auto; }
.mlc-brand__text { min-width: 0; }
.mlc-brand__name { margin: 0; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem); font-weight: 900; line-height: 1.15; letter-spacing: -.015em; }
.mlc-brand__name a { color: var(--mlc-ink); text-decoration: none; }
.mlc-brand__name a:hover { color: var(--mlc-primary); }
.mlc-brand__short { display: none; }
.mlc-brand__addr { margin: .3rem 0 0; color: var(--mlc-muted); font-weight: 600; }
.mlc-brand__godlo {
	width: auto; height: clamp(40px, 5vw, 56px); align-self: center;
	margin-left: .5rem; padding-left: 1rem; border-left: 2px solid var(--mlc-line);
}

.mlc-header__side { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; min-width: 0; max-width: 100%; }

.mlc-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.mlc-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.mlc-contact .mlc-icon { color: var(--mlc-primary); margin-top: .15em; }
.mlc-contact a { color: inherit; font-weight: 700; }
.mlc-contact li > span, .mlc-contact a, a[href^="mailto:"] { overflow-wrap: anywhere; min-width: 0; }
.mlc-contact--compact { flex-direction: row; flex-wrap: wrap; gap: .25rem 1.25rem; justify-content: flex-end; }
.mlc-contact--compact li { align-items: center; }
.mlc-contact--compact .mlc-icon { margin-top: 0; }

/* Wyszukiwarka */
.mlc-search { width: min(100%, 22rem); }
.mlc-search__label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .2rem; }
.mlc-search__row { display: flex; min-width: 0; background: var(--mlc-surface); border: 2px solid var(--mlc-line-strong); border-radius: 999px; overflow: hidden; }
.mlc-search__row:focus-within { border-color: var(--mlc-focus); box-shadow: 0 0 0 3px rgba(11, 61, 145, .25); }
.mlc-search__input {
	flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; font: inherit; color: var(--mlc-ink);
	padding: .55rem 1rem; min-height: 2.75rem;
}
.mlc-search__input:focus-visible { outline: none; box-shadow: none; }
.mlc-search__btn {
	border: 0; background: var(--mlc-primary); color: #fff; cursor: pointer; width: 3rem;
	display: grid; place-items: center; border-radius: 0 999px 999px 0;
}
.mlc-search__btn:hover { background: var(--mlc-primary-dark); }
.mlc-search__btn:focus-visible { outline-offset: -5px; outline-color: #fff; box-shadow: none; border-radius: 0 999px 999px 0; }

/* Niebo – chmurki i słońce (czysto dekoracyjne) */
.mlc-header__sky { position: absolute; inset: 0; pointer-events: none; }
.mlc-cloud {
	position: absolute; background: #fff; border-radius: 999px; opacity: .9;
	width: 120px; height: 36px; animation: mlc-drift 60s linear infinite;
}
.mlc-cloud::before, .mlc-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.mlc-cloud::before { width: 54px; height: 54px; top: -26px; left: 18px; }
.mlc-cloud::after { width: 40px; height: 40px; top: -18px; left: 62px; }
.mlc-cloud--1 { top: 38%; left: 8%; }
.mlc-cloud--2 { top: 16%; left: 46%; transform: scale(.7); animation-duration: 80s; animation-delay: -30s; }
.mlc-cloud--3 { top: 64%; left: 72%; transform: scale(.85); animation-duration: 70s; animation-delay: -12s; }
/* Słoneczko: tarcza z poświatą + obracające się promyki. */
.mlc-sun {
	position: absolute; right: 3%; top: -56px; width: 150px; height: 150px;
	color: var(--mlc-deco-3);
	/* Słońce trzyma się z dala od tekstu nagłówka – nie obniża jego kontrastu. */
}
.mlc-sun::before, .mlc-sun::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }

/* Promyki – 12 klinów, delikatnie obracanych. */
.mlc-sun::before {
	background: repeating-conic-gradient(from 0deg,
		currentColor 0deg 3deg,
		rgba(255, 201, 64, .45) 3deg 6deg,
		transparent 6deg 30deg);
	-webkit-mask: radial-gradient(closest-side, transparent 0 46%, #000 52% 96%, transparent 100%);
	mask: radial-gradient(closest-side, transparent 0 46%, #000 52% 96%, transparent 100%);
	opacity: .38;
	animation: mlc-sun-spin 90s linear infinite;
}

/* Tarcza – miękka poświata, która powoli „oddycha”. */
.mlc-sun::after {
	inset: 26%;
	background: radial-gradient(circle, currentColor 0 62%, rgba(255, 201, 64, .35) 63% 82%, rgba(255, 201, 64, 0) 100%);
	opacity: .5;
	animation: mlc-sun-glow 9s ease-in-out infinite;
}

.home .mlc-sun { display: none; }
html[data-mlc-pora="wieczor"] .mlc-sun { color: #ffa45c; }
html[data-mlc-pora="noc"] .mlc-sun { color: #efe6c4; }
html[data-mlc-pora="noc"] .mlc-sun::before { opacity: 0; }

@keyframes mlc-sun-spin {
	from { rotate: 0deg; }
	to { rotate: 360deg; }
}
@keyframes mlc-sun-glow {
	0%, 100% { scale: 1; opacity: .5; }
	50% { scale: 1.08; opacity: .55; }
}
@keyframes mlc-drift {
	from { translate: -40px 0; }
	50% { translate: 40px 0; }
	to { translate: -40px 0; }
}

/* =========================================================================
   8. Menu główne
   ========================================================================= */
.mlc-nav {
	position: sticky; top: 0; z-index: 50;
	background: var(--mlc-primary);
	box-shadow: 0 4px 0 var(--mlc-grass);
}
.admin-bar .mlc-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .mlc-nav { top: 0; } }

.mlc-nav__inner { display: flex; align-items: center; }
.mlc-nav__toggle {
	display: none; align-items: center; gap: .5rem; min-height: 3rem; padding: .5rem 1rem;
	background: transparent; border: 2px solid rgba(255, 255, 255, .7); border-radius: 999px;
	color: #fff; font: inherit; font-weight: 800; cursor: pointer; margin-block: .5rem;
}
.mlc-nav :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--mlc-primary-dark); }

.mlc-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mlc-nav__list > li { position: relative; display: flex; align-items: center; }
.mlc-nav__list a {
	display: flex; align-items: center; min-height: 3.25rem; padding: .5rem 1rem;
	color: #fff; text-decoration: none; font-weight: 800; font-size: 1.05rem;
}
.mlc-nav__list a:hover { background: rgba(0, 0, 0, .15); color: #fff; }
.mlc-nav__list .current-menu-item > a,
.mlc-nav__list .current-menu-ancestor > a,
.mlc-nav__list .current_page_item > a {
	background: var(--mlc-bg); color: var(--mlc-primary-dark);
	border-radius: var(--mlc-radius-sm) var(--mlc-radius-sm) 0 0;
	box-shadow: inset 0 -4px 0 var(--mlc-deco-1);
}
.mlc-nav__list .current-menu-item > a:hover { color: var(--mlc-primary-dark); }

.mlc-sub-toggle {
	display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-left: -.6rem; margin-right: .2rem;
	background: transparent; border: 0; border-radius: 50%; color: #fff; cursor: pointer;
}
.mlc-sub-toggle:hover { background: rgba(0, 0, 0, .15); }
.mlc-sub-toggle[aria-expanded="true"] .mlc-icon { transform: rotate(180deg); }

.mlc-nav__list .sub-menu {
	list-style: none; margin: 0; padding: .5rem;
	position: absolute; left: 0; top: 100%; min-width: 16rem; z-index: 70;
	background: var(--mlc-surface); border-radius: 0 var(--mlc-radius-sm) var(--mlc-radius-sm) var(--mlc-radius-sm);
	box-shadow: var(--mlc-shadow); border-top: 4px solid var(--mlc-deco-1);
	display: none;
}
.no-js .mlc-nav__list li:hover > .sub-menu,
.no-js .mlc-nav__list li:focus-within > .sub-menu,
.mlc-nav__list li.mlc-open > .sub-menu { display: block; }
.mlc-nav__list .sub-menu a { color: var(--mlc-ink); min-height: 2.75rem; border-radius: 8px; font-size: 1rem; }
.mlc-nav__list .sub-menu a:hover { background: var(--mlc-primary-soft); color: var(--mlc-ink); }
.mlc-nav__list .sub-menu :focus-visible { outline-color: var(--mlc-focus); box-shadow: none; }

/* =========================================================================
   9. Przyciski, tagi, notki
   ========================================================================= */
.mlc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 3rem; padding: .6rem 1.4rem;
	background: var(--mlc-primary); color: #fff;
	border: 2px solid var(--mlc-primary); border-radius: 999px;
	font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
	box-shadow: 0 4px 0 var(--mlc-primary-dark);
	transition: transform .15s ease, box-shadow .15s ease;
}
.mlc-btn:hover { color: #fff; background: var(--mlc-primary-dark); transform: translateY(1px); box-shadow: 0 3px 0 var(--mlc-primary-dark); }
.mlc-btn:active { transform: translateY(4px); box-shadow: none; }
.mlc-btn--ghost { background: var(--mlc-surface); color: var(--mlc-primary-dark); box-shadow: 0 4px 0 var(--mlc-primary-soft); }
.mlc-btn--ghost:hover { background: var(--mlc-primary-soft); color: var(--mlc-primary-dark); }
.mlc-btn--accent { background: var(--mlc-accent); border-color: var(--mlc-accent); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.mlc-btn--accent:hover { background: var(--mlc-accent); filter: brightness(.9); }
.mlc-btn--small { min-height: 2.5rem; padding: .35rem 1rem; box-shadow: none; }
.mlc-btn--block { display: flex; width: 100%; }

.mlc-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; min-height: 2rem; }
.mlc-more .mlc-icon { transition: transform .15s; }
.mlc-more:hover .mlc-icon { transform: translateX(3px); }

.mlc-tag {
	display: inline-block; margin: 0 0 .5rem; padding: .15rem .7rem; border-radius: 999px;
	background: var(--mlc-primary-soft); color: var(--mlc-primary-dark); font-size: .85rem; font-weight: 800;
}
.mlc-tag--urgent { background: #a3162d; color: #fff; }

.mlc-note {
	background: var(--mlc-accent-soft); border-left: 6px solid var(--mlc-accent);
	border-radius: var(--mlc-radius-sm); padding: 1rem 1.25rem; margin: 0 0 1.5rem;
}
.mlc-note > :last-child, .mlc-note p:last-child { margin-bottom: 0; }
.mlc-note--admin { background: #fff8d6; border-left-color: #8a6d00; }
.mlc-note--admin summary { cursor: pointer; font-weight: 800; }
.mlc-note--safe { background: var(--mlc-primary-soft); border-left-color: var(--mlc-primary); }

.mlc-empty { color: var(--mlc-muted); font-style: italic; }

/* =========================================================================
   10. Strona główna – powitanie
   ========================================================================= */
.mlc-hero { position: relative; padding-top: clamp(1.5rem, 4vw, 3rem); }
.mlc-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--mlc-gap); position: relative; z-index: 1; }
.mlc-hero__title { margin-top: 0; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); }
.mlc-hero__title::after {
	content: ""; display: block; width: 5rem; height: .45rem; margin-top: .9rem;
	border-radius: 999px; background: linear-gradient(90deg, var(--mlc-deco-1) 0 33%, var(--mlc-deco-3) 33% 66%, var(--mlc-deco-2) 66%);
}
.mlc-hero__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 38rem; color: var(--mlc-ink); }
.mlc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.mlc-hero__visual { position: relative; }
.mlc-hero__photo img {
	display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	border: 8px solid var(--mlc-surface); box-shadow: var(--mlc-shadow);
}
/* =========================================================================
   Scena „pora dnia” (strona główna)
   Pora ustawiana jest atrybutem data-mlc-pora na <html> (PHP + JS co minutę),
   pozycje słońca i księżyca – zmiennymi --ms-sun-x/y i --ms-moon-x/y.
   ========================================================================= */
.mlc-hero__illustration {
	display: block; width: 100%; max-width: 540px; height: auto; margin-inline: auto;
	filter: drop-shadow(0 10px 24px rgba(34, 48, 58, .14));
	/* barwy nieba – domyślnie dzień */
	--ms-sky-top: #8fd0f0; --ms-sky-bottom: #e8f6fc;
	--ms-sun-core: #ffc933; --ms-sun-ray: #ffb020;
	--ms-shade: 0; --ms-stars: 0; --ms-lights: 0; --ms-flies: 0; --ms-birds: 1; --ms-cloud: #ffffff;
	--ms-smoke: .55;
}
.ms-sky-top { stop-color: var(--ms-sky-top); transition: stop-color 2s ease; }
.ms-sky-bottom { stop-color: var(--ms-sky-bottom); transition: stop-color 2s ease; }

/* Słońce i księżyc wędrują po łuku (pozycja liczona co minutę). */
.mlc-hero__illustration .ms-sun,
.mlc-hero__illustration .ms-moon {
	transition: transform 2s ease, opacity 2s ease;
}
.mlc-hero__illustration .ms-sun { transform: translate(var(--ms-sun-x, 430px), var(--ms-sun-y, 80px)); }
.mlc-hero__illustration .ms-moon { transform: translate(var(--ms-moon-x, 260px), var(--ms-moon-y, 520px)); opacity: 1; }
.mlc-hero__illustration .ms-sun-disc { fill: var(--ms-sun-core); transition: fill 2s ease; }
.mlc-hero__illustration .ms-sun-rays { stroke: var(--ms-sun-ray); transform-box: fill-box; transform-origin: center; animation: ms-rays 6s ease-in-out infinite; }
.mlc-hero__illustration .ms-sun-halo { transform-box: fill-box; transform-origin: center; animation: ms-halo 6s ease-in-out infinite; }

/* Przyciemnienie krajobrazu, gwiazdy, światła w oknach, świetliki */
.mlc-hero__illustration .ms-shade { opacity: var(--ms-shade); transition: opacity 2s ease; }
.mlc-hero__illustration .ms-stars { opacity: var(--ms-stars); transition: opacity 2s ease; }
.mlc-hero__illustration .ms-lights { opacity: var(--ms-lights); transition: opacity 2s ease; }
.mlc-hero__illustration .ms-flies { opacity: var(--ms-flies); transition: opacity 2s ease; }
.mlc-hero__illustration .ms-cloud { fill: var(--ms-cloud); transition: fill 2s ease; }
.mlc-hero__illustration .ms-cloud--a { animation: ms-drift 40s ease-in-out infinite; }
.mlc-hero__illustration .ms-cloud--b { animation: ms-drift 56s ease-in-out infinite reverse; }

.mlc-hero__illustration .ms-star { transform-box: fill-box; transform-origin: center; animation: ms-twinkle 5s ease-in-out infinite; }
.mlc-hero__illustration .ms-star--2 { animation-duration: 7s; animation-delay: -2s; }
.mlc-hero__illustration .ms-star--3 { animation-duration: 6s; animation-delay: -4s; }

.mlc-hero__illustration .ms-fly { animation: ms-fly 9s ease-in-out infinite; }
.mlc-hero__illustration .ms-fly--2 { animation-duration: 11s; animation-delay: -3s; }
.mlc-hero__illustration .ms-fly--3 { animation-duration: 13s; animation-delay: -6s; }

/* Dym z komina */
.mlc-hero__illustration .ms-smoke { opacity: var(--ms-smoke); transition: opacity 2s ease; }
.mlc-hero__illustration .ms-puff { transform-box: fill-box; transform-origin: center; animation: ms-puff 7.5s ease-out infinite; }
.mlc-hero__illustration .ms-puff--2 { animation-delay: -2.5s; }
.mlc-hero__illustration .ms-puff--3 { animation-delay: -5s; }

/* Ptaki przelatują nad domkiem co jakiś czas (tylko rano i w dzień) */
.mlc-hero__illustration .ms-birds { opacity: var(--ms-birds); animation: ms-birds 34s linear infinite; transition: opacity 2s ease; }
.mlc-hero__illustration .ms-birds__flap { transform-box: fill-box; transform-origin: center; animation: ms-flap .9s ease-in-out infinite; }

@keyframes ms-rays { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .95; } 50% { transform: scale(1.1) rotate(8deg); opacity: .75; } }
@keyframes ms-halo { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes ms-drift { 0%, 100% { transform: translateX(-14px); } 50% { transform: translateX(22px); } }
@keyframes ms-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes ms-fly {
	0%, 100% { transform: translate(0, 0); opacity: 1; }
	25% { transform: translate(10px, -12px); opacity: .5; }
	50% { transform: translate(-6px, -22px); opacity: 1; }
	75% { transform: translate(-12px, -8px); opacity: .6; }
}
@keyframes ms-puff {
	0% { transform: translate(0, 0) scale(.6); opacity: 0; }
	15% { opacity: .9; }
	100% { transform: translate(18px, -72px) scale(2.2); opacity: 0; }
}
@keyframes ms-birds {
	0% { transform: translate(-80px, 96px); }
	45% { transform: translate(600px, 70px); }
	100% { transform: translate(600px, 70px); }
}
@keyframes ms-flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }

/* --- Pory dnia --- */
html[data-mlc-pora="rano"] .mlc-hero__illustration {
	--ms-sky-top: #ffc79a; --ms-sky-bottom: #fff0dc;
	--ms-sun-core: #ffb347; --ms-sun-ray: #ff9a3c;
	--ms-shade: .06; --ms-smoke: .8; --ms-lights: .45;
}
html[data-mlc-pora="dzien"] .mlc-hero__illustration {
	--ms-sky-top: #8fd0f0; --ms-sky-bottom: #e8f6fc;
}
html[data-mlc-pora="wieczor"] .mlc-hero__illustration {
	--ms-sky-top: #7d6bc2; --ms-sky-bottom: #ffb088;
	--ms-sun-core: #ff8a3d; --ms-sun-ray: #ff6f3c;
	--ms-shade: .18; --ms-stars: .35; --ms-lights: 1; --ms-flies: .6; --ms-birds: 0; --ms-cloud: #ffe3d6; --ms-smoke: .8;
}
html[data-mlc-pora="noc"] .mlc-hero__illustration {
	--ms-sky-top: #0f1c46; --ms-sky-bottom: #2e4478;
	--ms-shade: .5; --ms-stars: 1; --ms-lights: 1; --ms-flies: 1; --ms-birds: 0; --ms-cloud: #7f93bd; --ms-smoke: .35;
}

.mlc-hero__ground {
	position: relative; height: 90px; margin-top: -30px;
	background:
		radial-gradient(60px 26px at 10% 100%, var(--mlc-grass-dark) 98%, transparent) ,
		radial-gradient(80px 30px at 40% 100%, var(--mlc-grass-dark) 98%, transparent),
		radial-gradient(70px 28px at 75% 100%, var(--mlc-grass-dark) 98%, transparent);
}
.mlc-hero__ground::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
	background: var(--mlc-grass);
	-webkit-mask: radial-gradient(14px 18px at 50% 0, transparent 97%, #000) 0 0 / 28px 26px repeat-x;
	mask: radial-gradient(14px 18px at 50% 0, transparent 97%, #000) 0 0 / 28px 26px repeat-x;
}
.mlc-deco { position: absolute; pointer-events: none; user-select: none; }
.mlc-deco--bears { left: 44%; bottom: 14px; width: 96px; z-index: 2; transform-origin: 50% 100%; }
.mlc-deco--rabbit { right: 10%; bottom: 14px; width: 80px; z-index: 2; }
.mlc-deco--butterfly { left: 30%; bottom: 40px; width: 56px; z-index: 2; transition: opacity 1.5s ease; }
.mlc-zzz {
	position: absolute; left: calc(44% + 70px); bottom: 92px; z-index: 3;
	font-weight: 900; font-size: 1.2rem; color: var(--mlc-primary-dark); letter-spacing: .1em;
	opacity: 0; pointer-events: none; user-select: none;
}

/*
 * Zwierzątka żyją zgodnie z porą dnia:
 * rano – miś się przeciąga, zajączek skacze, motylek budzi się;
 * w dzień – zajączek skacze, motylek lata, miś wygląda zza trawy;
 * wieczorem – motylek odpoczywa, miś ziewa, jeżyk wychodzi na spacer;
 * w nocy – miś śpi (z-z-z), zajączek śpi, świecą świetliki.
 */
html[data-mlc-pora="rano"] .mlc-deco--bears { animation: mlc-stretch 6s ease-in-out infinite; }
html[data-mlc-pora="rano"] .mlc-deco--rabbit,
html[data-mlc-pora="dzien"] .mlc-deco--rabbit { animation: mlc-hop 6s ease-in-out infinite; }
html[data-mlc-pora="rano"] .mlc-deco--butterfly,
html[data-mlc-pora="dzien"] .mlc-deco--butterfly { animation: mlc-flutter 9s ease-in-out infinite; }
html[data-mlc-pora="dzien"] .mlc-deco--bears { animation: mlc-peek 7s ease-in-out infinite; }
html[data-mlc-pora="wieczor"] .mlc-deco--bears { animation: mlc-yawn 8s ease-in-out infinite; }
html[data-mlc-pora="wieczor"] .mlc-deco--butterfly,
html[data-mlc-pora="noc"] .mlc-deco--butterfly { opacity: 0; }
html[data-mlc-pora="noc"] .mlc-deco--bears { transform: rotate(-8deg) translateY(10px); animation: mlc-breathe 4s ease-in-out infinite; }
html[data-mlc-pora="noc"] .mlc-deco--rabbit { transform: rotate(6deg) translateY(12px); }
html[data-mlc-pora="noc"] .mlc-zzz { animation: mlc-zzz 4s ease-in-out infinite; }

@keyframes mlc-peek {
	0%, 100% { translate: 0 10px; rotate: -3deg; }
	35% { translate: 0 -6px; rotate: 0deg; }
	65% { translate: 0 -6px; rotate: 3deg; }
}
@keyframes mlc-stretch {
	0%, 60%, 100% { scale: 1 1; }
	72% { scale: .96 1.1; }
	84% { scale: 1.04 .96; }
}
@keyframes mlc-yawn {
	0%, 70%, 100% { rotate: 0deg; translate: 0 4px; }
	80% { rotate: -6deg; translate: 0 -2px; }
	90% { rotate: 2deg; translate: 0 4px; }
}
@keyframes mlc-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.03; } }
@keyframes mlc-zzz {
	0% { opacity: 0; translate: 0 8px; }
	30%, 70% { opacity: 1; }
	100% { opacity: 0; translate: 14px -20px; }
}
@keyframes mlc-hop {
	0%, 62%, 100% { translate: 0 0; }
	70% { translate: -6px -16px; }
	78% { translate: -12px 0; }
	86% { translate: -18px -10px; }
	94% { translate: -22px 0; }
}
@keyframes mlc-flutter {
	0%, 100% { translate: 0 0; rotate: -5deg; }
	25% { translate: 26px -16px; rotate: 6deg; }
	50% { translate: 52px -4px; rotate: -4deg; }
	75% { translate: 24px -22px; rotate: 7deg; }
}

/* =========================================================================
   11. Kafelki szybkiego dostępu
   ========================================================================= */
.mlc-tiles { margin: clamp(1.5rem, 3vw, 2.5rem) 0; }
.mlc-tiles ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.mlc-tile a {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
	min-height: 8.5rem; padding: 1rem .5rem; text-align: center;
	border-radius: var(--mlc-radius); text-decoration: none; color: var(--mlc-ink); font-weight: 850; font-size: 1.05rem;
	background: var(--mlc-tile-1); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .06);
	transition: transform .15s ease;
}
.mlc-tile a:hover { transform: translateY(-3px) rotate(-1deg); color: var(--mlc-ink); }
.mlc-tile__icon {
	display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%;
	background: var(--mlc-surface); color: var(--mlc-primary);
}
.mlc-tile--2 a { background: var(--mlc-tile-2); }
.mlc-tile--3 a { background: var(--mlc-tile-3); }
.mlc-tile--4 a { background: var(--mlc-tile-4); }
.mlc-tile--5 a { background: var(--mlc-tile-5); }
.mlc-tile--6 a { background: var(--mlc-tile-6); }

/* =========================================================================
   12. Układ z kolumną boczną
   ========================================================================= */
.mlc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: 3rem; }
.mlc-layout--wide { grid-template-columns: minmax(0, 1fr); }
.mlc-main { min-width: 0; }
.mlc-main:focus { outline: none; }

.mlc-pagehead { padding-top: 1rem; }
.mlc-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .92rem; }
.mlc-breadcrumbs li { display: inline-flex; align-items: center; }
.mlc-breadcrumbs li + li::before { content: "›"; margin: 0 .5rem; color: var(--mlc-muted); }
.mlc-breadcrumbs a { color: var(--mlc-muted); font-weight: 700; display: inline-flex; min-height: 1.75rem; align-items: center; }
.mlc-breadcrumbs [aria-current] { font-weight: 800; }

.mlc-section { margin-bottom: clamp(2rem, 4vw, 3rem); }
.mlc-section__title, .mlc-box__title { display: flex; align-items: center; gap: .6rem; margin-top: 0; }
.mlc-section__title .mlc-icon { color: var(--mlc-accent); }

/* Kolumna boczna */
.mlc-aside { display: flex; flex-direction: column; gap: 1.5rem; position: relative; }
.mlc-sidenav {
	background: var(--mlc-surface); border-radius: var(--mlc-radius); box-shadow: var(--mlc-shadow);
	padding: 1.25rem 1rem 1rem; border-top: 8px solid var(--mlc-deco-2);
}
.mlc-sidenav__title { font-size: 1.25rem; margin: 0 0 .5rem .5rem; }
.mlc-sidenav__title:focus { outline: none; }
.mlc-sidenav__list { list-style: none; margin: 0; padding: 0; }
.mlc-sidenav__list a {
	display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .35rem .6rem;
	border-radius: var(--mlc-radius-sm); color: var(--mlc-ink); text-decoration: none; font-weight: 700;
}
.mlc-sidenav__list a::before {
	content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--mlc-deco-1);
}
.mlc-sidenav__list li:nth-child(3n+2) a::before { background: var(--mlc-deco-2); }
.mlc-sidenav__list li:nth-child(3n+3) a::before { background: var(--mlc-deco-3); }
.mlc-sidenav__list a:hover { background: var(--mlc-primary-soft); color: var(--mlc-primary-dark); }
.mlc-sidenav__list .current-menu-item > a { background: var(--mlc-primary); color: #fff; }

.mlc-box {
	background: var(--mlc-surface); border-radius: var(--mlc-radius); box-shadow: var(--mlc-shadow);
	padding: 1.25rem 1.25rem 1rem;
}
.mlc-box__title { font-size: 1.2rem; margin-bottom: .75rem; }
.mlc-box__title .mlc-icon { color: var(--mlc-accent); }
.mlc-box > :last-child { margin-bottom: 0; }

/* =========================================================================
   13. Tablica ogłoszeń – karteczki przypięte pinezką
   ========================================================================= */
.mlc-board__list {
	list-style: none; margin: 0 0 1rem; padding: clamp(1rem, 2.5vw, 1.75rem);
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 1.5rem;
	background:
		radial-gradient(rgba(120, 80, 30, .08) 1.2px, transparent 1.3px) 0 0 / 12px 12px,
		#e9c99a;
	border-radius: var(--mlc-radius);
	border: 10px solid #b98652;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, .15);
}
.mlc-board__list--archive { grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 0; }
.mlc-note-card {
	position: relative; background: #fffdf5; padding: 1.5rem 1.25rem 1rem;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .14); rotate: -1deg;
	border-radius: 3px;
}
.mlc-note-card:nth-child(2n) { rotate: 1.2deg; background: #fdfbe8; }
.mlc-note-card:nth-child(3n) { rotate: -.4deg; background: #f4fbf2; }
.mlc-board__list--archive .mlc-note-card { rotate: 0deg; }
.mlc-note-card::before {
	content: ""; position: absolute; top: -9px; left: 50%; translate: -50% 0;
	width: 20px; height: 20px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ff8a7a, #c0392b 60%);
	box-shadow: 0 2px 3px rgba(0, 0, 0, .35);
}
.mlc-note-card--urgent { outline: 3px solid #a3162d; outline-offset: -3px; }
.mlc-note-card__title { font-size: 1.15rem; margin: 0 0 .25rem; }
.mlc-note-card__title a { color: var(--mlc-ink); }
.mlc-note-card__date { font-size: .88rem; color: var(--mlc-muted); font-weight: 700; margin-bottom: .6rem; }
.mlc-note-card__body { font-size: .98rem; }
.mlc-note-card__body p { margin-bottom: .6em; }

/* =========================================================================
   14. Jadłospis
   ========================================================================= */
.mlc-today, .mlc-menuday {
	background: var(--mlc-surface); border-radius: var(--mlc-radius); box-shadow: var(--mlc-shadow);
	padding: clamp(1.25rem, 3vw, 1.75rem); border-left: 10px solid var(--mlc-deco-1);
}
.mlc-today .mlc-section__title { margin-bottom: .25rem; }
.mlc-today__date { color: var(--mlc-muted); font-weight: 700; }
.mlc-menuday { margin-bottom: 1.25rem; }
.mlc-menuday--today { border-left-color: var(--mlc-primary); background: var(--mlc-primary-soft); }
.mlc-menuday__title { margin: 0 0 1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; font-size: 1.4rem; }
.mlc-menuday__date { font-size: 1rem; font-weight: 700; color: var(--mlc-muted); }
.mlc-menuday__title .mlc-tag { margin: 0; }

.mlc-meals { margin: 0 0 1rem; display: grid; gap: .75rem; }
.mlc-meal { display: grid; grid-template-columns: 10rem 1fr; gap: .25rem 1rem; padding-bottom: .75rem; border-bottom: 1px dashed var(--mlc-line); }
.mlc-meal:last-child { border-bottom: 0; padding-bottom: 0; }
.mlc-meal dt { font-weight: 850; color: var(--mlc-primary-dark); }
.mlc-meal dd { margin: 0; }
.mlc-algs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-left: .25rem; font-size: .85rem; color: var(--mlc-muted); }
.mlc-algs__label { font-weight: 700; }
.mlc-alg {
	display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .3rem;
	border-radius: 999px; background: var(--mlc-accent-soft); color: var(--mlc-ink); font-weight: 800; cursor: help;
}
.mlc-legend { margin: 1.5rem 0; background: var(--mlc-surface); border-radius: var(--mlc-radius-sm); padding: .75rem 1.25rem; box-shadow: var(--mlc-shadow); }
.mlc-legend summary { cursor: pointer; font-weight: 800; min-height: 2.25rem; display: flex; align-items: center; }
.mlc-legend ol { columns: 2 14rem; margin-top: .75rem; }

/* =========================================================================
   15. Karty aktualności, grupy, wydarzenia, dokumenty
   ========================================================================= */
.mlc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.mlc-cards--list { grid-template-columns: 1fr; }
.mlc-card {
	position: relative; display: flex; flex-direction: column; background: var(--mlc-surface);
	border-radius: var(--mlc-radius); box-shadow: var(--mlc-shadow); overflow: hidden;
}
.mlc-cards--list .mlc-card { flex-direction: row; }
.mlc-cards--list .mlc-card__media { flex: 0 0 34%; }
.mlc-card__media img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mlc-card__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.mlc-card__title { font-size: 1.2rem; margin: 0; }
.mlc-card__title a { color: var(--mlc-ink); text-decoration: none; }
.mlc-card__title a::after { content: ""; position: absolute; inset: 0; } /* cała karta klikalna */
.mlc-card__title a:hover { text-decoration: underline; }
.mlc-card:focus-within { outline: 3px solid var(--mlc-focus); outline-offset: 3px; }
.mlc-card__title a:focus-visible { outline: none; box-shadow: none; }
.mlc-card__meta { font-size: .9rem; color: var(--mlc-muted); font-weight: 700; margin: 0; }
.mlc-card__excerpt p { margin: .4rem 0 0; }

.mlc-groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 100%), 1fr)); gap: 1rem; }
.mlc-groups--large { grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr)); gap: 1.5rem; }
.mlc-group a {
	display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center;
	padding: 1.1rem .75rem; min-height: 100%; background: var(--mlc-surface); border-radius: var(--mlc-radius);
	box-shadow: var(--mlc-shadow); color: var(--mlc-ink); text-decoration: none;
	transition: transform .15s ease;
}
.mlc-group a:hover { transform: translateY(-4px); color: var(--mlc-ink); }
.mlc-group-icon { display: block; background: var(--mlc-primary-soft); border-radius: 50%; padding: 6px; }
.mlc-group__name { font-weight: 900; font-size: 1.1rem; }
.mlc-group__age { font-size: .9rem; color: var(--mlc-muted); font-weight: 700; }
.mlc-group__lock { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 800; color: var(--mlc-accent); }

.mlc-grouphead { display: flex; align-items: center; gap: 1.25rem; }
.mlc-eyebrow { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--mlc-accent); }
.mlc-grouphead .mlc-entry-title { margin: 0; }

.mlc-events { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.mlc-event { display: flex; gap: 1rem; align-items: flex-start; }
.mlc-event > div { min-width: 0; }
.mlc-facts dd { overflow-wrap: anywhere; }
.mlc-events:not(.mlc-events--compact) .mlc-event { background: var(--mlc-surface); border-radius: var(--mlc-radius); box-shadow: var(--mlc-shadow); padding: 1rem 1.25rem; }
.mlc-event__title { font-size: 1.2rem; margin: 0 0 .2rem; overflow-wrap: anywhere; hyphens: auto; }
.mlc-event__time { display: block; color: var(--mlc-muted); font-size: .9rem; font-weight: 700; margin: 0; }
.mlc-events--compact a { font-weight: 800; }
.mlc-datebadge {
	flex: none; display: grid; place-items: center; width: 3.6rem; padding: .3rem 0 .35rem;
	border-radius: 14px; background: var(--mlc-accent); color: #fff; line-height: 1; text-align: center;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .18);
}
.mlc-datebadge__d { font-size: 1.5rem; font-weight: 900; }
.mlc-datebadge__m { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.mlc-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.mlc-doc { display: flex; gap: 1rem; align-items: flex-start; background: var(--mlc-surface); border-radius: var(--mlc-radius-sm); padding: 1rem 1.25rem; box-shadow: var(--mlc-shadow); }
.mlc-doc__icon { color: var(--mlc-accent); }
.mlc-doc__title { font-weight: 800; font-size: 1.08rem; }
.mlc-doc__body p { margin: .25rem 0 0; }
.mlc-doc__meta { font-size: .88rem; color: var(--mlc-muted); }
.mlc-filemeta { font-weight: 600; font-size: .9em; }

.mlc-linklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .5rem; }
.mlc-linklist a { display: flex; gap: .6rem; align-items: center; min-height: 2.75rem; font-weight: 800; }

.mlc-switch { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.mlc-switch a {
	display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem 1.1rem; border-radius: 999px;
	background: var(--mlc-surface); border: 2px solid var(--mlc-primary); color: var(--mlc-primary-dark); font-weight: 800; text-decoration: none;
}
.mlc-switch a[aria-current] { background: var(--mlc-primary); color: #fff; }

.mlc-facts { display: grid; gap: .5rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: var(--mlc-primary-soft); border-radius: var(--mlc-radius-sm); }
.mlc-facts--stack { grid-template-columns: minmax(0, 1fr); background: transparent; padding: 0; }
.mlc-facts dt { font-weight: 850; display: flex; gap: .4rem; align-items: center; color: var(--mlc-primary-dark); }
.mlc-facts dd { margin: 0; }

/* =========================================================================
   16. Treść wpisów i stron
   ========================================================================= */
.mlc-entry-header { margin-bottom: 1.5rem; }
.mlc-entry-title { margin: .5rem 0 .5rem; }
.mlc-entry-date { color: var(--mlc-muted); font-weight: 700; }
.mlc-entry-thumb { margin: 0 0 1.5rem; }
.mlc-entry-thumb img { border-radius: var(--mlc-radius); display: block; }
.mlc-entry-meta { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--mlc-line); color: var(--mlc-muted); font-size: .9rem; }
.mlc-lead { font-size: 1.15rem; font-weight: 600; }

.entry-content { max-width: 48rem; }
.mlc-layout--wide .entry-content { max-width: none; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--mlc-accent); font-weight: 800; }
.entry-content blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; background: var(--mlc-accent-soft); border-radius: var(--mlc-radius-sm); font-size: 1.1rem; }
.entry-content img { border-radius: var(--mlc-radius-sm); }
.entry-content figure { max-width: 100%; }
.entry-content figcaption, .wp-element-caption { font-size: .9rem; color: var(--mlc-muted); margin-top: .5rem; }
.entry-content hr { border: 0; height: 6px; margin: 2.5rem auto; width: 6rem; border-radius: 999px; background: var(--mlc-deco-2); }

/* Tabele – przewijane w poziomie tylko we własnym kontenerze (WCAG 1.4.10) */
.mlc-table-wrap, .wp-block-table { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; background: var(--mlc-surface); border-radius: var(--mlc-radius-sm); overflow: hidden; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--mlc-line); vertical-align: top; }
thead th { background: var(--mlc-primary); color: #fff; font-weight: 800; }
tbody tr:nth-child(even) { background: #fcf8ee; }
.wp-block-table figcaption { text-align: left; }

/* Formularz hasła (galerie grup) */
.post-password-form { background: var(--mlc-surface); border-radius: var(--mlc-radius); padding: 1.5rem; box-shadow: var(--mlc-shadow); max-width: 34rem; }
.post-password-form label { font-weight: 800; display: block; }
.post-password-form input[type="password"] { display: block; width: 100%; margin-top: .3rem; min-height: 2.75rem; padding: .4rem .8rem; border: 2px solid var(--mlc-line-strong); border-radius: var(--mlc-radius-sm); font: inherit; }
.post-password-form input[type="submit"] { margin-top: .75rem; min-height: 2.75rem; padding: .4rem 1.4rem; border: 0; border-radius: 999px; background: var(--mlc-primary); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

/* Galeria WP */
.wp-block-gallery img { border-radius: var(--mlc-radius-sm); }

/* Nawigacja stron */
.navigation.pagination .nav-links, .mlc-pages { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .8rem;
	border-radius: 999px; background: var(--mlc-surface); box-shadow: var(--mlc-shadow); font-weight: 800; text-decoration: none;
}
.page-numbers.current { background: var(--mlc-primary); color: #fff; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.post-navigation a { display: block; padding: 1rem 1.25rem; background: var(--mlc-surface); border-radius: var(--mlc-radius-sm); box-shadow: var(--mlc-shadow); font-weight: 800; text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.mlc-postnav__label { display: block; font-size: .85rem; color: var(--mlc-muted); font-weight: 700; }

/* ETR – większe litery, piktogramy, krótkie wiersze */
.mlc-etr .entry-content { font-size: 1.2rem; line-height: 1.7; max-width: 44rem; }
.mlc-etr__block { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 0; border-bottom: 2px solid var(--mlc-line); }
.mlc-etr__block .mlc-icon { color: var(--mlc-primary); background: var(--mlc-primary-soft); border-radius: 16px; padding: 6px; width: 64px; height: 64px; }
.mlc-etr__block h2 { margin-top: 0; }
.mlc-etr__block p { margin-bottom: .6em; }

.mlc-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.mlc-404 { text-align: left; }
.mlc-sitemap ul ul { margin-top: .35rem; }

/* =========================================================================
   17. Stopka – trawa, drzewo, zwierzątka
   ========================================================================= */
.mlc-footer { position: relative; margin-top: 0; }
.mlc-footer__scene { position: relative; height: 210px; overflow: hidden; }
.mlc-footer__scene .mlc-deco { z-index: 2; }
.mlc-grass {
	position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: var(--mlc-grass); z-index: 1;
	border-radius: 50% 50% 0 0 / 40px 40px 0 0;
}
.mlc-grass::before {
	content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 18px;
	background: var(--mlc-grass-dark);
	-webkit-mask: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 0 / 18px 18px repeat-x;
	mask: conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 0 / 18px 18px repeat-x;
	opacity: .8;
}
.mlc-deco--tree { left: 3%; bottom: 30px; width: 150px; height: auto; }
.mlc-deco--hedgehog { left: 20%; bottom: 36px; width: 80px; }
.mlc-deco--fox { right: 8%; bottom: 40px; width: 100px; }
.mlc-deco--bird { right: 30%; top: 40px; width: 60px; transition: opacity 1.5s ease; }
/* Ptaszek lata za dnia, jeżyk wychodzi o zmroku, lisek czuwa wieczorem. */
html[data-mlc-pora="rano"] .mlc-deco--bird,
html[data-mlc-pora="dzien"] .mlc-deco--bird { animation: mlc-fly 22s ease-in-out infinite; }
html[data-mlc-pora="wieczor"] .mlc-deco--bird,
html[data-mlc-pora="noc"] .mlc-deco--bird { opacity: 0; }
html[data-mlc-pora="wieczor"] .mlc-deco--hedgehog,
html[data-mlc-pora="noc"] .mlc-deco--hedgehog { animation: mlc-scurry 16s ease-in-out infinite; }
html[data-mlc-pora="dzien"] .mlc-deco--fox,
html[data-mlc-pora="wieczor"] .mlc-deco--fox { animation: mlc-peek 9s ease-in-out infinite; }
@keyframes mlc-scurry { 0%, 100% { translate: 0 0; } 45% { translate: 90px 0; } 50% { translate: 90px 0; } 95% { translate: 0 0; } }
@keyframes mlc-fly { 0%, 100% { translate: 0 0; rotate: 0deg; } 25% { translate: -70px -18px; rotate: -6deg; } 50% { translate: -130px 4px; rotate: 3deg; } 75% { translate: -60px -12px; rotate: -4deg; } }

.mlc-footer__main { background: var(--mlc-primary-dark); color: #fff; padding-top: 2.5rem; }
.mlc-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 2rem; padding-bottom: 2rem; }
.mlc-footer__title { color: #fff; font-size: 1.2rem; margin: 0 0 1rem; }
.mlc-footer a { color: #fff; }
.mlc-footer a:hover { color: #fff; text-decoration-thickness: .15em; }
.mlc-footer .mlc-contact .mlc-icon { color: var(--mlc-deco-3); }
.mlc-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.mlc-footer__menu a { display: inline-flex; min-height: 2rem; align-items: center; }
.mlc-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--mlc-primary-dark); }
/* Pasmo „Inspektor ochrony danych” i „Doręczenia elektroniczne” */
.mlc-fband {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
	gap: 1.5rem 3rem; padding-block: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, .22);
}
.mlc-fband__panel { min-width: 0; }
.mlc-fband__title {
	display: flex; align-items: center; gap: .6rem;
	margin: 0 0 1rem; color: var(--mlc-deco-3);
	font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
}
.mlc-fband__title::before {
	content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--mlc-deco-3);
}
.mlc-fband__rows { margin: 0; display: grid; gap: .55rem; }
.mlc-fband__rows > div { display: grid; grid-template-columns: minmax(6rem, 10.5rem) minmax(0, 1fr); gap: .25rem .9rem; align-items: center; }
.mlc-fband__rows dt { color: rgba(255, 255, 255, .8); font-weight: 600; }
.mlc-fband__rows dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 700; }
.mlc-fband__note { margin: .9rem 0 0; font-size: .9rem; opacity: .92; max-width: 34rem; }

.mlc-code {
	font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", Menlo, Consolas, monospace;
	font-size: .95em; letter-spacing: .02em; overflow-wrap: anywhere;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 8px; padding: .3rem .55rem; min-width: 0;
}
.mlc-copy {
	display: none; align-items: center; min-height: 2.25rem; padding: .2rem .7rem; flex: none;
	background: transparent; color: var(--mlc-deco-3);
	border: 2px solid var(--mlc-deco-3); border-radius: 999px;
	font: inherit; font-size: .85rem; font-weight: 800; cursor: pointer;
}
.js .mlc-copy { display: inline-flex; }
.mlc-copy:hover { background: var(--mlc-deco-3); color: var(--mlc-ink); }
.mlc-copy[data-mlc-copied="1"] { background: var(--mlc-deco-3); color: var(--mlc-ink); }

/* Odznaki i certyfikaty w stopce */
.mlc-badges { padding-bottom: 2rem; }
.mlc-badges .mlc-footer__title { font-size: 1.05rem; }
.mlc-badges__list { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.mlc-badges__list img { display: block; width: auto; height: 112px; background: #fff; border-radius: var(--mlc-radius-sm); padding: .4rem; }
.mlc-badges__list a { display: inline-block; border-radius: var(--mlc-radius-sm); }
.mlc-footer__note { font-size: .9rem; max-width: 46rem; margin: .5rem 0 0; opacity: .92; }
.mlc-ade__label { font-weight: 700; }
.mlc-ade__value { overflow-wrap: anywhere; }
.mlc-ade, .mlc-footer__menu li, .mlc-footer__menu a { overflow-wrap: anywhere; }

.mlc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .25); padding-block: 1rem; font-size: .9rem; }
.mlc-footer__bottom p { margin: 0; }

/* Bez ilustracji (opcja w Customizerze) */
.mlc-bez-ilustracji .mlc-deco,
.mlc-bez-ilustracji .mlc-header__sky,
.mlc-bez-ilustracji .mlc-hero__ground { display: none; }
.mlc-bez-ilustracji .mlc-footer__scene { height: 0; }

/* =========================================================================
   18. Responsywność
   ========================================================================= */
@media (max-width: 1100px) {
	.mlc-tiles ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.mlc-layout { grid-template-columns: minmax(0, 1fr); }
	.mlc-hero__inner { grid-template-columns: 1fr; }
	.mlc-hero__visual { max-width: 30rem; }
	.mlc-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.mlc-header__side { align-items: stretch; flex: 1 1 100%; }
	.mlc-contact--compact { justify-content: flex-start; }
	.mlc-search { width: 100%; }
}
@media (max-width: 782px) {
	.js .mlc-nav__toggle { display: inline-flex; }
	.js .mlc-nav__list { display: none; }
	.js .mlc-nav.is-open .mlc-nav__list { display: flex; }
	.mlc-nav__inner { flex-direction: column; align-items: stretch; }
	.mlc-nav__list { flex-direction: column; padding-bottom: .75rem; }
	.mlc-nav__list > li { flex-wrap: wrap; }
	.mlc-nav__list > li > a { flex: 1; }
	.mlc-nav__list .current-menu-item > a { border-radius: var(--mlc-radius-sm); }
	.mlc-nav__list .sub-menu { position: static; width: 100%; box-shadow: none; border-radius: var(--mlc-radius-sm); margin-bottom: .5rem; }
	.mlc-sub-toggle { width: 2.75rem; height: 2.75rem; margin: 0; }
	.mlc-tiles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mlc-meal { grid-template-columns: 1fr; }
	.mlc-cards--list .mlc-card { flex-direction: column; }
	.mlc-a11ybar__tools .mlc-tool span:not(.screen-reader-text):not([aria-hidden]) { font-size: .85rem; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
}
@media (max-width: 700px) {
	.mlc-zzz { display: none; }
	.mlc-fband__rows > div { grid-template-columns: minmax(0, 1fr); }
	.mlc-fband__rows dt { font-size: .85rem; }
}
@media (max-width: 560px) {
	.mlc-sun { width: 120px; height: 120px; top: -48px; right: -14px; }
	.mlc-brand__short { display: inline; }
	.mlc-brand__full {
		position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
	}
	.mlc-footer__cols { grid-template-columns: minmax(0, 1fr); }
	.mlc-a11ybar__tools .mlc-tool > span:not(.screen-reader-text):not([aria-hidden]) {
		position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
	}
	.mlc-a11ybar__links a span {
		position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
	}
	.mlc-deco--rabbit, .mlc-deco--hedgehog { display: none; }
	.mlc-privacy { font-size: .85rem; }
	.mlc-privacy__inner { padding-block: .5rem; }
	.mlc-header { padding-block: 1rem; }
	.mlc-brand__addr { font-size: .9rem; }
	.mlc-contact--compact li + li { display: none; } /* e-mail jest w stopce i w kolumnie „Kontakt” */
	.mlc-hero__title { font-size: 1.9rem; }
	.mlc-etr__block { grid-template-columns: 1fr; }
	.mlc-doc { flex-direction: column; gap: .25rem; }
}

/* =========================================================================
   19. Ruch – ograniczenie animacji (WCAG 2.2.2, 2.3.3)
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html.mlc-no-anim *, html.mlc-no-anim *::before, html.mlc-no-anim *::after { animation: none !important; transition: none !important; }
html.mlc-no-anim { scroll-behavior: auto; }

/* =========================================================================
   20. Wysoki kontrast (czarny/żółty/biały)
   ========================================================================= */
html.mlc-hc body, html.mlc-hc .mlc-header, html.mlc-hc .mlc-hero, html.mlc-hc .mlc-a11ybar {
	--mlc-bg: #000; --mlc-surface: #000; --mlc-ink: #fff; --mlc-muted: #fff; --mlc-line: #fff; --mlc-line-strong: #fff;
	--mlc-primary: #ffe600; --mlc-primary-dark: #000; --mlc-primary-soft: #000; --mlc-accent: #ffe600; --mlc-accent-soft: #000;
	--mlc-focus: #00e5ff; --mlc-focus-outer: #000;
	--mlc-tile-1: #000; --mlc-tile-2: #000; --mlc-tile-3: #000; --mlc-tile-4: #000; --mlc-tile-5: #000; --mlc-tile-6: #000;
}
html.mlc-hc body { background: #000; color: #fff; }
html.mlc-hc a { color: #ffe600; }
html.mlc-hc a:hover { color: #fff; }
html.mlc-hc .mlc-header { background: #000; border-bottom: 2px solid #fff; }
html.mlc-hc .mlc-header__sky,
html.mlc-hc .mlc-deco,
html.mlc-hc .mlc-hero__ground,
html.mlc-hc .mlc-footer__scene { display: none; }
html.mlc-hc .mlc-netbar, html.mlc-hc .mlc-nav, html.mlc-hc .mlc-footer__main, html.mlc-hc .mlc-privacy { background: #000; border-bottom: 2px solid #fff; box-shadow: none; }
html.mlc-hc .mlc-nav__list a, html.mlc-hc .mlc-netbar a, html.mlc-hc .mlc-footer a, html.mlc-hc .mlc-sub-toggle, html.mlc-hc .mlc-nav__toggle { color: #ffe600; }
html.mlc-hc .mlc-nav__list .current-menu-item > a { background: #ffe600; color: #000; box-shadow: none; }
html.mlc-hc .mlc-nav__list .sub-menu, html.mlc-hc .mlc-netbar__sites ul { background: #000; border: 2px solid #fff; }
html.mlc-hc .mlc-nav__list .sub-menu a, html.mlc-hc .mlc-netbar__sites ul a { color: #ffe600; }
html.mlc-hc .mlc-btn, html.mlc-hc .mlc-search__btn, html.mlc-hc .mlc-tool[aria-pressed="true"], html.mlc-hc .mlc-switch a[aria-current], html.mlc-hc .page-numbers.current, html.mlc-hc .mlc-datebadge, html.mlc-hc thead th, html.mlc-hc .mlc-sidenav__list .current-menu-item > a, html.mlc-hc .mlc-tag--urgent, html.mlc-hc .post-password-form input[type="submit"] {
	background: #ffe600 !important; color: #000 !important; border-color: #ffe600; box-shadow: none; filter: none;
}
html.mlc-hc .mlc-btn .mlc-icon { color: #000; }
html.mlc-hc .mlc-card, html.mlc-hc .mlc-box, html.mlc-hc .mlc-sidenav, html.mlc-hc .mlc-group a, html.mlc-hc .mlc-tile a, html.mlc-hc .mlc-doc, html.mlc-hc .mlc-today, html.mlc-hc .mlc-menuday, html.mlc-hc .mlc-legend, html.mlc-hc .mlc-note, html.mlc-hc .mlc-facts, html.mlc-hc .post-navigation a, html.mlc-hc .page-numbers, html.mlc-hc .mlc-events:not(.mlc-events--compact) .mlc-event, html.mlc-hc .post-password-form, html.mlc-hc .mlc-a11ybar__text, html.mlc-hc .mlc-search__row, html.mlc-hc table, html.mlc-hc tbody tr {
	background: #000 !important; color: #fff; border: 2px solid #fff; box-shadow: none;
}
html.mlc-hc .mlc-board__list { background: #000; border: 2px solid #fff; box-shadow: none; }
html.mlc-hc .mlc-note-card { background: #000 !important; color: #fff; border: 2px solid #fff; rotate: 0deg; }
html.mlc-hc .mlc-note-card::before { display: none; }
html.mlc-hc .mlc-tile__icon, html.mlc-hc .mlc-alg { background: #000; color: #ffe600; border: 2px solid #ffe600; }
html.mlc-hc .mlc-group-icon, html.mlc-hc .mlc-brand__mark img { filter: grayscale(1) contrast(1.2); }
html.mlc-hc .mlc-card__media img, html.mlc-hc .mlc-hero__photo img { border-color: #fff; }
html.mlc-hc .mlc-hero__title::after { background: #ffe600; }
html.mlc-hc .mlc-grass { display: none; }
html.mlc-hc .mlc-badges__list img { border: 2px solid #fff; }
html.mlc-hc .mlc-fband { border-top-color: #fff; }
html.mlc-hc .mlc-fband__title, html.mlc-hc .mlc-copy { color: #ffe600; }
html.mlc-hc .mlc-fband__title::before, html.mlc-hc .mlc-copy { border-color: #ffe600; background: transparent; }
html.mlc-hc .mlc-fband__title::before { background: #ffe600; }
html.mlc-hc .mlc-fband__rows dt { color: #fff; }
html.mlc-hc .mlc-code { background: #000; border: 2px solid #fff; color: #fff; }
html.mlc-hc .mlc-copy:hover, html.mlc-hc .mlc-copy[data-mlc-copied="1"] { background: #ffe600; color: #000; }
/* Logo i godło mają własne kolory – na czarnym tle dajemy im białą podkładkę,
   żeby ciemne elementy znaku nie zlewały się z tłem. */
html.mlc-hc .mlc-brand__logo img,
html.mlc-hc .mlc-brand__godlo { background: #fff; padding: 4px; border-radius: 6px; }
html.mlc-hc .mlc-brand__godlo { border-left-color: #fff; }
html.mlc-hc .mlc-search__input { color: #fff; }
html.mlc-hc :focus-visible { outline-color: #00e5ff !important; box-shadow: 0 0 0 6px #000 !important; }
