/*
Theme Name: Muzeum Regionalne 2026
Theme URI: https://studio-f5.com/museum
Author: studio f5
Author URI: https://studio-f5.com
Description: Lekki klasyczny motyw WordPress dla Muzeum Regionalnego im. Wł. St. Reymonta w Lipcach Reymontowskich. Motyw wspiera Gutenberg, natywne widgety, dwie kolumny boczne, dostępność WCAG 2.1 AA i szybkie ładowanie bez page builderów.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
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: muzeum-regionalne-2026
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, right-sidebar, left-sidebar, blog, education
*/

:root {
	--font-scale: 1;
	--color-text: #1b1b1b;
	--color-muted: #595959;
	--color-background: #fbf5ea;
	--color-surface: #ffffff;
	--color-border: #ded2bf;
	--color-primary: #b20d18;
	--color-primary-dark: #7f0911;
	--color-accent: #0068b5;
	--color-folk-yellow: #f7c600;
	--color-folk-green: #008b45;
	--color-folk-pink: #e6007e;
	--color-folk-violet: #5a247a;
	--color-focus: #ffbf47;
	--shadow-soft: 0 8px 24px rgba(27, 27, 27, 0.08);
	--content-width: 1240px;
	--radius: 8px;
	color-scheme: light;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: calc(100% * var(--font-scale));
	line-height: 1.65;
}

:root.is-high-contrast {
	--color-text: #ffffff;
	--color-muted: #f5f5f5;
	--color-background: #000000;
	--color-surface: #000000;
	--color-border: #ffffff;
	--color-primary: #ffff00;
	--color-primary-dark: #ffff00;
	--color-accent: #00ffff;
	--color-focus: #ffff00;
	--shadow-soft: none;
	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-text);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--color-primary-dark);
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 3px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
	font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
	font-size: 1.18rem;
}

p,
ul,
ol {
	margin-top: 0;
}

.skip-link {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	transform: translateY(-150%);
	padding: 0.8rem 1rem;
	background: var(--color-text);
	color: #ffffff;
	font-weight: 700;
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: relative;
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 2px 12px rgba(27, 27, 27, 0.06);
}

.site-header::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 8px;
	background: repeating-linear-gradient(
		90deg,
		var(--color-primary) 0 22px,
		var(--color-folk-yellow) 22px 36px,
		var(--color-accent) 36px 58px,
		var(--color-folk-green) 58px 76px,
		var(--color-folk-pink) 76px 94px,
		var(--color-folk-violet) 94px 110px,
		#111111 110px 126px
	);
	content: "";
}

.header-utility {
	border-bottom: 1px solid #ededed;
	background: #ffffff;
}

.header-utility__inner,
.site-header__inner,
.site-main,
.site-footer__inner,
.footer-legal {
	width: min(var(--content-width), calc(100% - 2rem));
	margin-right: auto;
	margin-left: auto;
}

.header-utility__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	min-height: 46px;
}

.quick-links,
.accessibility-tools,
.social-links {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.quick-links a,
.social-links a,
.utility-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.35rem 0.55rem;
	border: 0;
	border-right: 1px solid #ededed;
	background: transparent;
	color: #1b1b1b;
	font-weight: 800;
	font-size: 0.82rem;
	text-decoration: none;
	cursor: pointer;
}

.icon-link svg {
	display: block;
	overflow: visible;
}

.social-icon-fill {
	fill: currentColor;
	stroke: currentColor;
	transition: fill 160ms ease, stroke 160ms ease;
}

.social-icon-cutout {
	fill: #ffffff;
	stroke: #ffffff;
	transition: fill 160ms ease, stroke 160ms ease;
}

.social-icon-dot {
	fill: #ffffff;
	stroke: #ffffff;
}

.social-link--instagram:hover .social-icon-fill,
.social-link--instagram:focus-visible .social-icon-fill {
	fill: url(#instagram-gradient);
	stroke: url(#instagram-gradient);
}

.social-link--facebook:hover .social-icon-fill,
.social-link--facebook:focus-visible .social-icon-fill {
	fill: #1877f2;
	stroke: #1877f2;
}

.social-link--youtube:hover .social-icon-fill,
.social-link--youtube:focus-visible .social-icon-fill {
	fill: #ff0000;
	stroke: #ff0000;
}

.bip-link {
	letter-spacing: 0;
	border-left: 1px solid #ededed;
}

.utility-button:hover,
.quick-links a:hover,
.contrast-toggle[aria-pressed="true"] {
	background: #111111;
	color: #ffffff;
}

.social-links a:hover,
.social-links a:focus-visible {
	background: transparent;
	color: #1b1b1b;
}

.contrast-toggle {
	position: relative;
}

.contrast-toggle__icon {
	display: block;
	width: 1rem;
	height: 1rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: linear-gradient(90deg, currentColor 0 50%, transparent 50% 100%);
}

.header-search {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: 0.5rem;
}

.header-search input {
	width: min(15rem, 24vw);
	min-height: 44px;
	padding: 0.62rem 0.78rem;
	border: 1px solid #ededed;
	border-radius: 3px;
	background: #f6f6f6;
	color: #1b1b1b;
	font-size: 0.82rem;
}

.header-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: #1b1b1b;
	font-weight: 900;
	cursor: pointer;
}

.header-search button span {
	position: relative;
	display: block;
	width: 1rem;
	height: 1rem;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.header-search button span::after {
	position: absolute;
	right: -0.5rem;
	bottom: -0.35rem;
	width: 0.65rem;
	height: 3px;
	background: currentColor;
	transform: rotate(45deg);
	content: "";
}

.is-high-contrast .site-header,
.is-high-contrast .header-utility,
.is-high-contrast .content-area,
.is-high-contrast .exhibitions-section,
.is-high-contrast .news-section,
.is-high-contrast .news-item,
.is-high-contrast .sidebar,
.is-high-contrast .info-card,
.is-high-contrast .post-card,
.is-high-contrast .no-results,
.is-high-contrast .hero,
.is-high-contrast .front-hero {
	background: #000000;
	color: #ffffff;
	border-color: #ffffff;
}

.is-high-contrast .header-search input,
.is-high-contrast .search-form__input {
	background: #000000;
	color: #ffffff;
	border-color: #ffffff;
}

.is-high-contrast .quick-links a,
.is-high-contrast .social-links a,
.is-high-contrast .utility-button,
.is-high-contrast .header-search button,
.is-high-contrast .primary-menu a,
.is-high-contrast .footer-menu a {
	color: #ffffff;
	border-color: #ffffff;
}

.is-high-contrast a,
.is-high-contrast .entry-title a,
.is-high-contrast .primary-menu a:hover,
.is-high-contrast .primary-menu .current-menu-item > a {
	color: #ffff00;
}

.is-high-contrast .button,
.is-high-contrast .wp-block-button__link,
.is-high-contrast .search-form__submit,
.is-high-contrast button[type="submit"] {
	background: #ffff00;
	color: #000000;
	border-color: #ffff00;
}

.is-high-contrast .social-icon-fill,
.is-high-contrast .social-link--instagram:hover .social-icon-fill,
.is-high-contrast .social-link--instagram:focus-visible .social-icon-fill,
.is-high-contrast .social-link--facebook:hover .social-icon-fill,
.is-high-contrast .social-link--facebook:focus-visible .social-icon-fill,
.is-high-contrast .social-link--youtube:hover .social-icon-fill,
.is-high-contrast .social-link--youtube:focus-visible .social-icon-fill {
	fill: #ffffff;
	stroke: #ffffff;
}

.is-high-contrast .social-icon-cutout,
.is-high-contrast .social-icon-dot {
	fill: #000000;
	stroke: #000000;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 0 1.3rem;
}

.site-branding {
	display: block;
	flex: 0 0 auto;
	width: min(15.5rem, 32vw);
}

.site-branding a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.site-logo,
.custom-logo {
	width: auto;
	max-height: 4.4rem;
	object-fit: contain;
}

.primary-navigation {
	display: flex;
	justify-content: flex-end;
	flex: 1 1 auto;
}

.menu-toggle {
	display: none;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	gap: 0.55rem;
	border: 2px solid var(--color-primary);
	border-radius: var(--radius);
	background: #ffffff;
	color: var(--color-primary);
	font-weight: 700;
	cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 1.2rem;
	height: 2px;
	background: currentColor;
	content: "";
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	position: absolute;
	left: 0;
}

.menu-toggle__icon::before {
	top: -0.4rem;
}

.menu-toggle__icon::after {
	top: 0.4rem;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem 0.85rem;
}

.primary-menu a,
.footer-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.55rem 0.25rem;
	color: var(--color-text);
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: transparent;
	color: var(--color-primary);
}

.eyebrow {
	margin-bottom: 0.65rem;
	color: var(--color-accent);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.front-page {
	width: 100%;
}

.front-hero {
	position: relative;
	display: block;
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(247, 198, 0, 0.18), transparent 34rem),
		linear-gradient(135deg, #203d34, #132820);
	color: #ffffff;
}

.front-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(34rem, 1.18fr);
	align-items: center;
	gap: 0;
	width: min(var(--content-width), calc(100% - 2rem));
	margin: auto;
	padding: clamp(2.5rem, 5.5vw, 4.8rem) 0;
}

.front-hero__content > * {
	max-width: 45rem;
}

.front-hero__content {
	position: relative;
	z-index: 2;
	padding-right: clamp(1rem, 3vw, 3rem);
}

.front-hero__media {
	position: relative;
	z-index: 1;
	margin: 0 0 0 clamp(-5rem, -7vw, -2rem);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.front-hero__media::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, #1d473b 0%, rgba(29, 71, 59, 0.92) 13%, rgba(29, 71, 59, 0.58) 29%, rgba(29, 71, 59, 0) 48%),
		linear-gradient(270deg, rgba(19, 40, 32, 0.18), rgba(19, 40, 32, 0));
	content: "";
	pointer-events: none;
}

.front-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.front-hero h1 {
	font-size: clamp(2.25rem, 5vw, 4.6rem);
	text-wrap: balance;
}

.front-hero p {
	font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.museum-status-box {
	display: inline-flex;
	align-items: center;
	margin-bottom: 15px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	color: #ffffff;
	font-size: 10.5pt;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.status-badge {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	border-radius: 50%;
	background: #888e99;
}

.status-open {
	background: #2ec4b6;
	box-shadow: 0 0 8px #2ec4b6;
}

.status-closed {
	background: #e71d36;
	box-shadow: 0 0 8px #e71d36;
}

.status-message strong {
	color: #ffffff;
}

.exhibitions-section,
.news-section {
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.section-title {
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid #11141a;
	color: #11141a;
	font-size: 20pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1.2;
	text-transform: uppercase;
}

.exhibitions-grid,
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

.exhibition-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 280px;
	overflow: hidden;
	background-color: #1a1d24;
	background-image: var(--bg-image);
	background-position: center;
	background-size: cover;
	border-radius: 4px;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exhibition-card:hover,
.exhibition-card:focus-visible {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	transform: translateY(-5px);
}

.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(17, 20, 26, 0.95) 0%, rgba(17, 20, 26, 0.4) 70%, rgba(17, 20, 26, 0.1) 100%);
}

.card-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 20px;
}

.card-tag {
	display: block;
	margin-bottom: 6px;
	color: #ffb84d;
	font-size: 9pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.card-name {
	margin: 0;
	color: #ffffff;
	font-size: 13pt;
	font-weight: 800;
	line-height: 1.4;
}

.news-section {
	max-width: 1200px;
	margin: 50px auto;
	padding: 0 20px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

.news-item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #ffffff;
	border-radius: 4px;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.news-item:hover {
	transform: translateY(-3px);
}

.news-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #fcfcfc;
	text-decoration: none;
}

.news-thumb img {
	width: 100% !important;
	height: 100% !important;
	background: #f7f7f7;
	object-fit: contain !important;
}

.news-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 15px 5px;
}

.news-date {
	display: block;
	margin-bottom: 6px;
	color: #888e99;
	font-size: 10pt;
}

.news-title {
	margin: 0;
	color: #11141a;
	font-size: 13pt;
	font-weight: 800;
	line-height: 1.4;
}

.news-title a {
	color: #11141a;
	text-decoration: none;
}

.news-title a:hover {
	text-decoration: underline;
}

.current-news-page {
	background: #fcfbfa;
	padding: 60px 0;
}

.news-page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.page-header-box {
	margin-bottom: 50px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8e6e1;
}

.page-title {
	margin: 0 0 10px;
	color: #11141a;
	font-size: 26pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-subtitle {
	margin: 0;
	color: #707785;
	font-size: 11pt;
}

.featured-news-item {
	overflow: hidden;
	margin-bottom: 40px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(17, 20, 26, 0.04);
}

.featured-link-wrapper {
	display: flex;
	color: inherit;
	text-decoration: none;
}

.featured-thumb {
	width: 55%;
	height: 380px;
	overflow: hidden;
	background: #f7f7f7;
}

.featured-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 45%;
	padding: 40px;
}

.featured-title {
	margin: 10px 0 15px;
	color: #11141a;
	font-size: 18pt;
	font-weight: 800;
	line-height: 1.3;
}

.featured-excerpt {
	margin: 0 0 20px;
	color: #555a66;
	font-size: 10.5pt;
	line-height: 1.6;
}

.read-more-link {
	color: #11141a;
	font-size: 10pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.standard-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

.grid-news-item {
	overflow: hidden;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 4px 15px rgba(17, 20, 26, 0.03);
}

.grid-link-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.grid-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #fdfdfd;
}

.grid-thumb img {
	width: 100% !important;
	height: 100% !important;
	background: #f7f7f7;
	object-fit: contain !important;
}

.grid-body {
	flex-grow: 1;
	padding: 20px 15px;
}

.grid-title {
	margin: 8px 0 0;
	color: #11141a;
	font-size: 12.5pt;
	font-weight: 800;
	line-height: 1.4;
}

.news-date {
	color: #888e99;
	font-size: 9pt;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.news-pagination {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e8e6e1;
	text-align: center;
}

.news-pagination .nav-links {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.news-pagination .page-numbers {
	padding: 8px 14px;
	background: #ffffff;
	border-radius: 4px;
	color: #11141a;
	font-size: 10pt;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
	transition: background 0.2s, color 0.2s;
}

.news-pagination .page-numbers.current {
	background: #11141a;
	color: #ffffff;
}

.news-pagination .page-numbers:hover:not(.current) {
	background: #ffb84d;
	color: #11141a;
}

.featured-link-wrapper:focus-visible,
.grid-link-wrapper:focus-visible,
.news-pagination .page-numbers:focus-visible {
	outline: 4px solid var(--color-focus);
	outline-offset: 4px;
}

.museum-contact-page {
	background: #fcfbfa;
	padding: 50px 0;
}

.contact-page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.contact-header {
	margin-bottom: 45px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8e6e1;
}

.contact-title {
	margin: 0 0 8px;
	color: #11141a;
	font-size: 24pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1.2;
	text-transform: uppercase;
}

.contact-subtitle {
	margin: 0;
	color: #707785;
	font-size: 11pt;
}

.contact-grid-wrapper {
	display: block;
}

.contact-info-column {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.contact-card-block {
	padding: 25px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 4px 15px rgba(17, 20, 26, 0.02);
}

.contact-card-block h2 {
	margin: 0 0 12px;
	color: #11141a;
	font-size: 13pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.contact-detail-line {
	margin: 0 0 8px;
	color: #555a66;
	font-size: 10.5pt;
	line-height: 1.5;
}

.contact-detail-line strong {
	display: inline-block;
	width: 85px;
	color: #11141a;
}

.contact-director-name strong {
	width: auto;
	white-space: nowrap;
}

.contact-detail-line a {
	color: #11141a;
	border-bottom: 1px solid transparent;
	font-weight: 800;
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s;
}

.contact-detail-line a:hover,
.contact-detail-line a:focus {
	color: #ffb84d;
	border-color: #ffb84d;
}

.highlight-block {
	background: #fffcf7;
	border-left: 4px solid #ffb84d;
}

.highlight-block p {
	margin: 0;
	color: #555a66;
	font-size: 10.5pt;
	line-height: 1.5;
}

.alert-note {
	margin-top: 12px !important;
	color: #c44536 !important;
	font-weight: 800;
}

.contact-map-container {
	grid-column: 1 / -1;
	overflow: hidden;
	margin-top: 25px;
	border-radius: 4px;
	box-shadow: 0 4px 15px rgba(17, 20, 26, 0.02);
}

.contact-map-container iframe {
	display: block;
	width: 100%;
	border: 0;
}

.exhibition-page {
	width: 100%;
	background: #fcfbfa;
}

.exhibition-article {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) 0;
}

.exhibition-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.exhibition-title {
	margin: 0 0 1rem;
	color: #11141a;
	font-size: clamp(2rem, 5vw, 4.2rem);
	line-height: 1.05;
	text-wrap: balance;
}

.exhibition-lead {
	margin: 0;
	color: #555a66;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.65;
}

.exhibition-hero__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	background: #eef0f4;
	box-shadow: 0 14px 40px rgba(17, 20, 26, 0.12);
}

.exhibition-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.exhibition-content {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	background: #ffffff;
	border: 1px solid #e8e6e1;
	border-radius: var(--radius);
	box-shadow: 0 10px 32px rgba(17, 20, 26, 0.04);
}

.exhibition-content > :first-child {
	margin-top: 0;
}

.exhibition-content > :last-child {
	margin-bottom: 0;
}

.exhibition-content p,
.exhibition-content li {
	color: #333842;
	font-size: 1.03rem;
	line-height: 1.75;
}

.form-box-wrapper {
	padding: 35px;
	background: #ffffff;
	border: 1px solid #eef0f4;
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(17, 20, 26, 0.04);
}

.form-box-wrapper h2 {
	margin: 0 0 8px;
	color: #11141a;
	font-size: 13pt;
	font-weight: 800;
	text-transform: uppercase;
}

.form-intro {
	margin: 0 0 25px;
	color: #707785;
	font-size: 10pt;
}

.form-group {
	margin-bottom: 18px;
}

.form-group label {
	display: block;
	margin-bottom: 6px;
	color: #11141a;
	font-size: 9pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
	width: 100%;
	padding: 11px 14px;
	background: #fafafa;
	border: 1px solid #dcdfd8;
	border-radius: 4px;
	box-sizing: border-box;
	color: #11141a;
	font-size: 10.5pt;
	transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
	background: #ffffff;
	border-color: #11141a;
	outline: none;
}

.form-consent-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 20px;
}

.form-consent-checkbox input {
	margin-top: 3px;
}

.form-consent-checkbox label {
	color: #707785;
	font-size: 9pt;
	line-height: 1.4;
}

.form-consent-checkbox label a {
	color: #11141a;
	text-decoration: underline;
}

.submit-contact-btn {
	width: 100%;
	padding: 12px 20px;
	background: #11141a;
	border: 0;
	border-radius: 4px;
	color: #ffffff;
	cursor: pointer;
	font-size: 10.5pt;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: background 0.2s, color 0.2s;
}

.submit-contact-btn:hover,
.submit-contact-btn:focus {
	background: #ffb84d;
	color: #11141a;
}

.news-archive-trigger {
	margin-top: 40px;
	text-align: center;
}

.archive-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 30px;
	background: #11141a;
	border-radius: 4px;
	color: #ffffff;
	font-size: 11pt;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.2s ease;
}

.archive-btn:hover {
	background: var(--color-primary);
	color: #ffffff;
}

.exhibition-card:focus-visible,
.news-thumb:focus-visible,
.news-title a:focus-visible,
.archive-btn:focus-visible {
	outline: 4px solid var(--color-focus);
	outline-offset: 4px;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.button,
.wp-block-button__link,
.search-form__submit,
button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.75rem 1rem;
	border: 2px solid var(--color-primary);
	border-radius: var(--radius);
	background: var(--color-primary);
	color: #ffffff;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
.search-form__submit:hover {
	background: var(--color-primary-dark);
	color: #ffffff;
}

.button-secondary {
	background: #ffffff;
	color: var(--color-primary);
}

.button-secondary:hover {
	background: #eef6fb;
	color: var(--color-primary-dark);
}

.layout-three-columns {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 260px);
	gap: 1.25rem;
	align-items: start;
	padding-top: 2rem;
	padding-bottom: 2.5rem;
}

.content-area,
.sidebar,
.info-card,
.post-card,
.no-results {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.content-area {
	min-width: 0;
	padding: clamp(1rem, 3vw, 2rem);
}

.sidebar {
	padding: 1rem;
}

.widget + .widget {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
}

.widget-title {
	font-size: 1.05rem;
}

.widget ul {
	padding-left: 1.2rem;
}

.widget a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.archive-header,
.entry-header {
	margin-bottom: 1.25rem;
}

.entry-meta,
.archive-description,
.entry-summary,
.post-card time {
	color: var(--color-muted);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child,
.content-area > *:last-child {
	margin-bottom: 0;
}

.entry-thumbnail {
	margin: 0 0 1.5rem;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.5rem 0 2rem;
}

.info-card {
	padding: 1rem;
}

.info-card h2 {
	font-size: 1.2rem;
}

.post-list {
	display: grid;
	gap: 1rem;
}

.post-card {
	overflow: hidden;
}

.post-card__body {
	padding: 1rem;
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.entry-title a {
	color: var(--color-text);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--color-primary);
	text-decoration: underline;
}

.navigation.pagination,
.post-navigation {
	margin-top: 1.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers,
.post-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.55rem 0.75rem;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--color-text);
	color: #ffffff;
}

.search-form {
	max-width: 42rem;
}

.search-form__label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 800;
}

.search-form__row {
	display: flex;
	gap: 0.5rem;
}

.search-form__input {
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	background: #ffffff;
	color: var(--color-text);
}

.site-footer {
	position: relative;
	background: #1b1b1b;
	color: #ffffff;
	font-size: min(0.875rem, 14px);
	line-height: 1.45;
}

.site-footer a {
	color: #ffffff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr 1fr 1fr;
	gap: 1rem;
	padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.footer-column {
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.45rem);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: var(--radius);
	font-size: min(0.875rem, 14px);
}

.site-footer :where(p, li, address, a, span, strong, em) {
	font-size: min(0.875rem, 14px);
}

.site-footer :where(.has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-x-large-font-size) {
	font-size: min(0.875rem, 14px) !important;
}

.footer-column p,
.footer-column ul,
.footer-column address {
	margin-bottom: 0.85rem;
}

.footer-column h2 {
	position: relative;
	margin-bottom: 1.35rem;
	padding-bottom: 0.8rem;
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.3rem, 1.8vw, 1.75rem);
	font-weight: 700;
	line-height: 1.1;
}

.footer-column h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 3.25rem;
	height: 3px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-folk-yellow), var(--color-accent));
	content: "";
}

.footer-column h3 {
	margin: 1rem 0 0.45rem;
	color: #ffffff;
	font-size: min(0.95rem, 15px);
	font-weight: 800;
}

.footer-column ul {
	padding-left: 1.1rem;
}

.footer-column address {
	font-style: normal;
}

.footer-muted {
	color: #b6b6b6;
	font-size: min(0.85rem, 13px);
}

.footer-column hr {
	margin: 1.4rem 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-map {
	margin-top: 1rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
}

.footer-map iframe {
	display: block;
	width: 100%;
	min-height: 11rem;
	border: 0;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	width: 100%;
	padding: 1.1rem 1rem;
	background: #222630;
	color: #d9dce3;
	font-size: min(0.75rem, 12px);
	line-height: 1.35;
	text-align: center;
}

.footer-legal p {
	margin: 0;
}

.footer-organizer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-basis: 100%;
	color: #ffffff;
}

.footer-organizer__mark {
	width: 2rem;
	height: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background:
		linear-gradient(90deg, var(--color-primary) 0 33%, var(--color-folk-yellow) 33% 66%, var(--color-folk-green) 66% 100%);
	box-shadow: inset 0 0 0 4px rgba(34, 38, 48, 0.9);
}

.footer-organizer__crest {
	display: block;
	width: auto;
	max-width: 8.5rem;
	max-height: 3.25rem;
	object-fit: contain;
}

.footer-organizer a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.footer-legal a {
	color: #ffffff;
	font-weight: 800;
	text-decoration: underline;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
}

.footer-menu a {
	color: #ffffff;
	min-height: 0;
	padding: 0;
	font-size: min(0.75rem, 12px);
	text-decoration: underline;
	text-transform: none;
}

.site-footer .footer-col h2,
.site-footer .footer-col h3 {
	margin-bottom: 18px;
	color: #ffffff;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11.5pt !important;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.site-footer .footer-col h2::after {
	display: none;
}

.site-footer .footer-col p,
.site-footer .footer-col ul,
.site-footer .footer-col li {
	color: #a0a5b0;
	font-size: 10pt !important;
	line-height: 1.5;
}

.site-footer .footer-col strong {
	color: #ffffff;
	font-weight: 600;
}

.site-footer .footer-col a {
	color: #a0a5b0;
	border-bottom: 1px solid transparent;
	font-size: 10pt !important;
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s;
}

.site-footer .footer-col a:hover,
.site-footer .footer-col a:focus {
	color: #ffffff;
	border-bottom-color: #ffffff;
}

.footer-legal > a,
.footer-legal > p a,
.footer-menu a {
	color: #707785;
	text-decoration: underline;
}

.alignwide {
	width: min(100%, 1100px);
}

.alignfull {
	width: 100%;
}

@media (max-width: 992px) {
	.front-hero__inner {
		grid-template-columns: 1fr;
	}

	.front-hero__media {
		margin-left: 0;
		max-width: 34rem;
	}

	.header-utility__inner {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0.5rem;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	.header-search {
		width: 100%;
		margin-left: 0;
	}

	.header-search input {
		width: 100%;
	}

	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	.site-branding {
		width: min(18rem, 70vw);
	}

	.primary-navigation {
		width: 100%;
		justify-content: flex-start;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-menu {
		display: none;
		width: 100%;
		margin-top: 0.75rem;
		border-top: 1px solid var(--color-border);
	}

	.primary-navigation.is-open .primary-menu {
		display: block;
	}

	.primary-menu a {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
		border-bottom: 1px solid var(--color-border);
	}

	.layout-three-columns {
		grid-template-columns: 1fr;
	}

	.exhibitions-grid,
	.news-grid,
	.standard-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.featured-link-wrapper {
		flex-direction: column;
	}

	.featured-thumb,
	.featured-body {
		width: 100%;
	}

	.featured-thumb {
		height: 260px;
	}

	.contact-grid-wrapper {
		display: block;
	}

	.contact-info-column {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.exhibition-hero {
		grid-template-columns: 1fr;
	}

	.content-area {
		order: 1;
	}

	.sidebar-left {
		order: 2;
	}

	.sidebar-right {
		order: 3;
	}

	.info-grid {
		grid-template-columns: 1fr;
	}

	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.exhibitions-grid,
	.news-grid,
	.standard-news-grid {
		grid-template-columns: 1fr;
	}

	.exhibition-card {
		height: 220px;
	}

	.page-title {
		font-size: 20pt;
	}

	.featured-body {
		padding: 25px;
	}
}

@media (max-width: 560px) {
	.header-utility__inner,
	.site-header__inner,
	.site-main,
	.site-footer__inner,
	.footer-legal,
	.hero,
	.front-hero__inner {
		width: min(100% - 1rem, var(--content-width));
	}

	.quick-links,
	.accessibility-tools,
	.social-links {
		flex-wrap: wrap;
	}

	.quick-links a,
	.social-links a,
	.utility-button {
		border: 1px solid #ededed;
		border-radius: var(--radius);
	}

	.site-logo,
	.custom-logo {
		max-height: 5rem;
	}

	.front-hero {
		min-height: auto;
	}

	.front-hero__inner {
		grid-template-columns: 1fr;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.front-hero__content {
		padding-right: 0;
	}

	.front-hero__media {
		margin-left: 0;
	}

	.front-hero__image {
		height: min(72vw, 24rem);
	}

	.contact-info-column {
		grid-template-columns: 1fr;
	}

	.front-hero h1 {
		font-size: clamp(2rem, 12vw, 3.1rem);
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.footer-column {
		padding: 1rem;
	}

	.hero {
		margin-top: 1rem;
		padding: 1.25rem;
	}

	.search-form__row,
	.button-row,
	.footer-legal {
		flex-direction: column;
		align-items: stretch;
	}

	.button,
	.search-form__submit {
		width: 100%;
	}
}

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

.layout-single-column {
	display: flex;
	justify-content: center;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.layout-single-column .content-area {
	width: 100%;
	max-width: 840px;
	border: none;
	background: var(--color-surface);
	box-shadow: none;
}

.layout-single-column .entry {
	max-width: 840px;
	margin-right: auto;
	margin-left: auto;
}

.layout-single-column .entry-header {
	margin-bottom: 1.5rem;
	text-align: left;
}

.layout-single-column .entry-title {
	margin-top: 0;
	margin-bottom: 0.75rem;
	color: var(--color-text);
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1.12;
}

.layout-single-column .entry-meta {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.layout-single-column .entry-content {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	color: var(--color-text);
	font-size: 1.05rem;
	line-height: 1.65;
}

.layout-single-column .post-navigation {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   ZDJECIE WYROZNIONE Z PODPISEM (HERO)
   ========================================================================== */
.layout-single-column .entry-thumbnail-wrapper {
	margin: 0 0 2.5rem 0;
	padding: 0;
	width: 100%;
}

.layout-single-column .thumbnail-image-box {
	background-color: #f4f6f8;
	border-radius: var(--radius);
	overflow: hidden;
	text-align: center;
}

.layout-single-column .thumbnail-image-box img {
	width: auto !important;
	height: auto !important;
	max-height: 500px;
	max-width: 100%;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
}

.layout-single-column .thumbnail-caption {
	margin-top: 10px;
	padding: 0 10px 15px;
	color: #707785;
	font-size: 0.9rem;
	text-align: center;
	font-style: italic;
	border-bottom: 1px solid #eaeaea;
}

.wp-block-gallery,
.gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px !important;
	margin: 2rem 0;
}

.wp-block-gallery.has-nested-images {
	display: grid !important;
	gap: 16px !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image,
.wp-block-gallery figure,
.gallery-item {
	position: relative;
	width: 100% !important;
	margin: 0 !important;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: #eef0f4;
}

.wp-block-gallery img,
.gallery img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	border-radius: var(--radius);
	object-fit: cover;
	transition: filter 180ms ease, transform 180ms ease;
}

.wp-block-gallery a,
.gallery a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: var(--radius);
}

.wp-block-gallery a:hover img,
.wp-block-gallery a:focus-visible img,
.gallery a:hover img,
.gallery a:focus-visible img {
	filter: brightness(1.05);
	transform: scale(1.035);
}

.wp-block-gallery figcaption,
.gallery-caption {
	display: none !important;
}

.wp-block-gallery a:focus-visible,
.gallery a:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 3px;
}

.wp-block-image {
	overflow: hidden;
	border-radius: var(--radius);
}

.wp-block-image img {
	display: block;
	border-radius: var(--radius);
	transition: opacity 180ms ease, transform 180ms ease;
}

.wp-block-image a {
	display: block;
	border-radius: var(--radius);
}

.wp-block-image a:hover img,
.wp-block-image a:focus-visible img {
	opacity: 0.9;
	transform: scale(1.02);
}

.layout-single-column .entry-content .wp-block-image {
	display: flex;
	justify-content: center;
	background-color: #f8f9fa;
	border-radius: var(--radius);
}

.layout-single-column .entry-content .wp-block-image img {
	width: auto;
	max-width: 100%;
	max-height: 500px;
	height: auto !important;
	object-fit: contain !important;
}

@media (max-width: 768px) {
	.layout-single-column {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.layout-single-column .content-area {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.layout-single-column .entry-title {
		font-size: clamp(1.8rem, 9vw, 2.25rem);
	}

	.layout-single-column .entry-content {
		font-size: 1rem;
	}

	.layout-single-column .thumbnail-image-box img {
		max-height: 320px;
	}
}

/* ==========================================================================
   WYGLAD GALERII GUTENBERG W TRESCI
   ========================================================================== */
.layout-single-column .wp-block-gallery {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.layout-single-column .wp-block-gallery .wp-block-image img {
	border-radius: var(--radius);
	transition: transform 0.3s ease, filter 0.3s ease;
}

.layout-single-column .wp-block-gallery .wp-block-image:hover img {
	transform: scale(1.02);
	filter: brightness(1.05);
	cursor: pointer;
}

/* ==========================================================================
   WYGLAD KLASYCZNEJ GALERII (SHORTCODE)
   ========================================================================== */
.layout-single-column .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 2rem 0;
	clear: both;
}

.layout-single-column .gallery-item {
	margin: 0 !important;
	width: 100% !important;
	max-width: none;
	text-align: center;
}

.gallery-icon,
.layout-single-column .gallery-icon {
	width: 100%;
	height: 100%;
}

.layout-single-column .gallery-icon img {
	border-radius: var(--radius);
	border: none !important;
	transition: transform 0.3s ease, filter 0.3s ease;
	display: block;
}

.layout-single-column .gallery-icon img:hover {
	transform: scale(1.03);
	filter: brightness(1.05);
	cursor: zoom-in;
}

.layout-single-column .gallery-caption {
	display: none !important;
}

/* Styl dla dolnego menu w stopce */
.site-footer__bottom-menu {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin: 2rem auto;
	width: min(var(--content-width), calc(100% - 2rem));
	padding-top: 1.5rem;
}

.footer-bottom-nav {
	display: flex;
	justify-content: center;
	gap: 3rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-bottom-nav a {
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.2s;
}

.footer-bottom-nav a:hover,
.footer-bottom-nav a:focus-visible {
	color: var(--color-primary);
}

@media (max-width: 560px) {
	.footer-bottom-nav {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}
}

.muzeum-accordion {
	margin: 2rem 0;
}

.accordion-item {
	border: 1px solid var(--color-border);
	margin-bottom: 10px;
	border-radius: var(--radius);
	background: #ffffff;
	color: #11141a;
	overflow: hidden;
}

.accordion-header {
	padding: 1rem;
	color: #11141a;
	font-weight: 800;
	cursor: pointer;
	background: #f8f9fa;
}

.accordion-content {
	padding: 1.5rem;
	background: #ffffff;
	border-top: 1px solid var(--color-border);
	color: #1b1b1b;
}

.static-card {
	padding: 2rem;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	margin-bottom: 20px;
}

.static-card h2,
.accordion-header {
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
}

.button-green {
	background: var(--color-folk-green);
	border-color: var(--color-folk-green);
	color: #ffffff;
}

.button-green:hover,
.button-green:focus-visible {
	background: #006b36;
	border-color: #006b36;
	color: #ffffff;
}

.button-violet {
	background: var(--color-folk-violet);
	border-color: var(--color-folk-violet);
	color: #ffffff;
}

.button-violet:hover,
.button-violet:focus-visible {
	background: #3c1653;
	border-color: #3c1653;
	color: #ffffff;
}

.folk-divider {
	height: 6px;
	width: 100px;
	margin: 1rem 0 2rem 0;
	background: repeating-linear-gradient(
		90deg,
		var(--color-primary) 0 10px,
		var(--color-folk-yellow) 10px 20px,
		var(--color-accent) 20px 30px,
		var(--color-folk-green) 30px 40px
	);
	border-radius: 3px;
}

.education-benefits-card {
	background: var(--color-background);
	border-color: var(--color-folk-yellow);
	border-left: 5px solid var(--color-folk-yellow);
}

.education-container {
	margin: 2rem 0;
}

.lessons-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.static-card.green {
	border-left: 5px solid var(--color-folk-green);
}

.static-card.violet {
	border-left: 5px solid var(--color-folk-violet);
}

.static-card.yellow {
	border-left: 5px solid var(--color-folk-yellow);
}

.education-teacher-pack {
	background: var(--color-background);
	border-color: var(--color-folk-yellow);
}

.education-cta-card {
	background: var(--color-background);
	border-color: var(--color-folk-yellow);
	color: var(--color-text);
	text-align: center;
}

.education-cta-card h2,
.education-cta-card p {
	color: var(--color-text);
}

.accordion-header::marker {
	color: var(--color-primary);
}

.accordion-content a {
	color: var(--color-primary);
	font-weight: 800;
}

.director-card {
	padding: 1.25rem;
	background: #fcfcfc;
	border: 1px solid #eee;
	border-radius: var(--radius);
}

.director-card__role {
	margin: 0 0 0.35rem;
	color: #595959;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.director-card__name {
	margin: 0 0 1rem;
	color: #11141a;
	font-size: 1.2rem;
	font-weight: 800;
}

.director-card__phone {
	width: fit-content;
}

.is-high-contrast .accordion-item,
.is-high-contrast .accordion-content,
.is-high-contrast .director-card {
	background: #000000;
	color: #ffffff;
	border-color: #ffffff;
}

.is-high-contrast .accordion-header {
	background: #ffff00;
	color: #000000;
	border-color: #ffff00;
}

.is-high-contrast .accordion-header::marker {
	color: #000000;
}

.is-high-contrast .accordion-content a,
.is-high-contrast .director-card__role,
.is-high-contrast .director-card__name {
	color: #ffff00;
}

.is-high-contrast .accordion-content .button,
.is-high-contrast .accordion-content .button-secondary,
.is-high-contrast .accordion-content .wp-block-button__link {
	background: #ffff00;
	color: #000000;
	border-color: #ffff00;
}

.is-high-contrast .accordion-content .button:hover,
.is-high-contrast .accordion-content .button:focus-visible,
.is-high-contrast .accordion-content .button-secondary:hover,
.is-high-contrast .accordion-content .button-secondary:focus-visible,
.is-high-contrast .accordion-content .wp-block-button__link:hover,
.is-high-contrast .accordion-content .wp-block-button__link:focus-visible {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
}

.is-high-contrast .static-card,
.is-high-contrast .about-facts,
.is-high-contrast .documents-content {
	background: #000000;
	color: #ffffff;
	border-color: #ffffff;
}

.is-high-contrast .static-card h2,
.is-high-contrast .about-facts h2,
.is-high-contrast .documents-content h2,
.is-high-contrast .documents-content h3 {
	color: #ffffff;
}

.is-high-contrast .education-benefits-card,
.is-high-contrast .education-teacher-pack,
.is-high-contrast .education-cta-card {
	background: #000000;
	color: #ffffff;
	border-color: #ffffff;
}

.is-high-contrast .button-green,
.is-high-contrast .button-violet {
	background: #ffff00;
	color: #000000;
	border-color: #ffff00;
}

.is-high-contrast .button-green:hover,
.is-high-contrast .button-green:focus-visible,
.is-high-contrast .button-violet:hover,
.is-high-contrast .button-violet:focus-visible {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
}

@media (max-width: 560px) {
	.lessons-grid {
		grid-template-columns: 1fr;
	}
}

.museum-about-page,
.museum-documents-page {
	background: #fcfbfa;
	padding: 50px 0;
}

.about-page-container,
.documents-page-container {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
}

.about-header,
.documents-header {
	max-width: 880px;
	margin: 0 auto 45px;
	text-align: center;
}

.about-title,
.documents-title {
	margin: 0 0 14px;
	color: #11141a;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1.08;
	text-transform: uppercase;
}

.about-lead,
.documents-lead {
	margin: 0;
	color: #555a66;
	font-size: clamp(1.05rem, 2vw, 1.22rem);
	line-height: 1.75;
}

.about-split-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	margin-bottom: 36px;
}

.about-split-layout--text-only {
	grid-template-columns: 1fr;
	max-width: 860px;
	margin-right: auto;
	margin-left: auto;
}

.about-photo {
	margin: 0;
}

.about-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.about-photo figcaption {
	margin-top: 10px;
	color: #707785;
	font-size: 0.9rem;
	font-style: italic;
	text-align: center;
}

.about-facts,
.documents-content {
	background: #ffffff;
	border: 1px solid #e8e6e1;
	border-radius: var(--radius);
	box-shadow: 0 4px 15px rgba(17, 20, 26, 0.02);
}

.about-facts {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.section-eyebrow {
	margin: 0 0 8px;
	color: var(--color-primary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.about-facts h2 {
	color: #11141a;
	font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.about-facts-list {
	display: grid;
	gap: 0.65rem;
	margin: 1.2rem 0 0;
	padding-left: 1.25rem;
}

.about-editor-content,
.documents-content {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 860px) {
	.about-split-layout {
		grid-template-columns: 1fr;
	}
}
