:root {
	--bg: #f4f8fc;
	--surface: #ffffff;
	--surface-soft: #f8fbff;
	--text: #08233f;
	--muted: #607286;
	--green: #08233f;
	--green-soft: #e7f4ff;
	--accent: #2ca6ff;
	--gold: #2ca6ff;
	--border: rgba(8, 35, 63, 0.12);
	--shadow: 0 24px 70px rgba(8, 35, 63, 0.10);
	--radius: 28px;
	--sidebar-width: 310px;
	--content-width: 1240px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
	background:
		linear-gradient(rgba(244,248,252,0.55), rgba(244,248,252,0.55)),
		url("../images/hero_background.png");
	background-size: cover;
	background-position: center top;
	background-attachment: scroll;
	background-repeat: no-repeat;
}

a {
	color: inherit;
}

.site-topbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.85);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}

.topnav {
	width: min(var(--content-width), calc(100% - 48px));
	margin: 0 auto;
	padding: 10px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.topnav-left {
	display: flex;
	align-items: center;
	gap: 24px;
	min-width: 0;
	flex: 1;
}

.site-name {
	color: var(--green);
	font-weight: 850;
	text-decoration: none;
	white-space: nowrap;
	font-size: 17px;
	flex-shrink: 0;
}

.topnav-links {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex: 1;
	gap: 14px;
	font-weight: 500;
	font-size: 17px;
}

.nav-item {
	position: relative;
	padding-bottom: 10px;
	margin-bottom: -10px;
}

.nav-item > a,
.nav-item > .nav-disabled {
	display: block;
	padding: 8px 14px;
	text-decoration: none;
	color: var(--green);
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}

.nav-item > a:hover,
.nav-item > .nav-disabled:hover {
	background: var(--green-soft);
}

.dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	min-width: 230px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 20px;
	box-shadow: var(--shadow);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 200;
}

.has-dropdown:hover .dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.dropdown a {
	display: block;
	padding: 11px 13px;
	color: var(--green);
	text-decoration: none;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 500;
}

.dropdown a:hover {
	background: var(--green-soft);
}

.search-form {
	width: var(--sidebar-width);
	flex: 0 0 var(--sidebar-width);
}

.search-form input {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 9px 16px;
	background: white;
	font-size: 15px;
	color: var(--text);
}

#content {
	width: min(var(--content-width), calc(100% - 48px));
	margin: 0 auto;
	padding: 0 0 80px;
}

.hero {
	display: block;
	margin-bottom: 30px;
}

.hero-left {
	width: 100%;
	min-height: 260px;
	padding: 30px 54px;
	display: flex;
	align-items: center;
	gap: 50px;
	background: linear-gradient(135deg, #08233f 0%, #10365e 100%);
	border-radius: 0 0 34px 34px;
	box-shadow: var(--shadow);
	color: white;
	overflow: hidden;
}

.hero-text-wrapper {
	display: flex;
	align-items: center;
	height: 100%;
}

.parish-symbol {
	width: 190px;
	height: 190px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	background: transparent;
	border: 0;
	box-shadow: none;
	align-self: flex-start;
	margin-top: -35px;
}

.parish-symbol img {
	width: 92%;
	height: 92%;
	object-fit: contain;
	display: block;
}

.hero h2 {
	margin: 0;
	color: white;
	line-height: 1.05;
	font-size: clamp(34px, 3.7vw, 56px);
	font-weight: 900;
	letter-spacing: -0.04em;
	max-width: none;
}

.hero-left > div:last-child {
	padding-top: 4px;
}

.hero h2 span:last-child {
	color: #62c9ff;
}

.layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
	gap: 34px;
	align-items: start;
}

.left-column {
	display: grid;
	gap: 34px;
}

.news-panel {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px;
	transition: none;
	background: rgba(255,255,255,0.78);
}

.news-panel:hover {
	transform: none;
}

.section-heading {
	margin-bottom: 18px;
}

.section-heading h2 {
	margin: 0;
	color: var(--green);
	line-height: 1.15;
	font-size: 42px;
}

.news-list {
	display: grid;
	gap: 0;
}

.news-card {
	position: relative;
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 28px;
	align-items: center;
	padding: 18px 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	border-bottom: 1px solid rgba(8, 35, 63, 0.09);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:last-child {
	border-bottom: 0;
}

.news-card:hover {
	transform: translateY(-2px);
	background: transparent;
}

.news-card img,
.news-placeholder {
	width: 250px;
	height: 145px;
	object-fit: cover;
	border-radius: 14px;
	margin: 0;
	align-self: center;
	box-shadow: none;
}

.news-placeholder {
	background:
		linear-gradient(135deg, rgba(44,166,255,0.18), rgba(255,255,255,0.62)),
		rgba(231,244,255,0.92);
	color: var(--green);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.news-placeholder svg {
	width: 78%;
	height: 78%;
}

.news-placeholder .placeholder-sun {
	fill: rgba(44,166,255,0.38);
}

.news-placeholder .placeholder-hill {
	fill: rgba(8,35,63,0.08);
}

.news-placeholder .placeholder-church {
	fill: none;
	stroke: rgba(8,35,63,0.68);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.news-content h3 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.22;
	color: var(--green);
}

.news-content p {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.45;
}

.news-content a {
	font-weight: 850;
	color: var(--accent);
	text-decoration: none;
}

.sidebar {
	display: grid;
	gap: 16px;
	position: sticky;
	top: 76px;
	width: var(--sidebar-width);
	align-self: start;
	z-index: 20;
}

.sidebar-card {
	width: 100%;
	min-height: 116px;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border: 1px solid var(--border);
	border-radius: 26px;
	box-shadow: 0 18px 48px rgba(8, 35, 63, 0.08);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: rgba(255,255,255,0.78);
}

.sidebar-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 60px rgba(8, 35, 63, 0.12);
}

.sidebar-card strong {
	display: block;
	color: var(--green);
	font-size: 24px;
	line-height: 1.15;
	font-weight: 850;
}

.sidebar-card span,
.card-details {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.45;
}

.info-card {
	min-height: 128px;
}

.info-card .card-details {
	margin-top: 8px;
	color: var(--text);
	font-size: 15px;
	line-height: 1.55;
}

.reading-card {
	padding: 20px;
	overflow: hidden;
	min-height: auto;
	background: #ffffff !important;
	backdrop-filter: none !important;
}

.opoka-widget {
	display: block;
	width: 100%;
	height: 390px;
	border: 0;
	border-radius: 18px;
	background: white;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 24px;
}

.pagination a,
.pagination span {
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--green);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(8, 35, 63, 0.06);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination a.active,
.pagination .current,
.pagination span.current,
.pagination a:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: white;
}

@media (max-width: 760px) {
	.pagination {
		gap: 4px;
	}

	.pagination a,
	.pagination span {
		min-width: 30px;
		height: 30px;
		padding: 0 7px;
		font-size: 12px;
	}
}

.page-content,
.subpage-card {
	background: rgba(255,255,255,0.78);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.page-content {
	padding: 34px;
	margin-bottom: 30px;
	color: var(--muted);
	font-size: 18px;
}

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

.subpage-card {
	padding: 28px;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.subpage-card:hover {
	transform: translateY(-3px);
}

.subpage-card h3 {
	margin: 0 0 12px;
	color: var(--green);
	font-size: 24px;
}

.subpage-card span {
	color: var(--gold);
	font-weight: 850;
}

.edit-link,
.admin-quick-trigger {
	background: var(--green);
	color: white;
	padding: 10px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.edit-link {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 999;
}

.admin-quick-menu {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 999;
}

.admin-quick-trigger {
	display: inline-flex;
	align-items: center;
	border: 0;
	cursor: pointer;
	box-shadow: 0 14px 34px rgba(6, 26, 47, 0.2);
}

.admin-quick-trigger:hover,
.admin-quick-menu:hover .admin-quick-trigger,
.admin-quick-menu.is-open .admin-quick-trigger,
.admin-quick-menu:focus-within .admin-quick-trigger {
	transform: translateY(-1px);
}

.admin-quick-list {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	width: 230px;
	padding: 8px;
	border-radius: 18px;
	background: rgba(8, 31, 55, 0.96);
	box-shadow: 0 24px 60px rgba(6, 26, 47, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.14);
	display: grid;
	gap: 4px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-quick-list::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -14px;
	width: 100%;
	height: 14px;
}

.admin-quick-menu:hover .admin-quick-list,
.admin-quick-menu.is-open .admin-quick-list,
.admin-quick-menu:focus-within .admin-quick-list {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.admin-quick-list a {
	display: block;
	padding: 11px 12px;
	border-radius: 12px;
	color: white;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
}

.admin-quick-list a:hover,
.admin-quick-list a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	outline: none;
}

.page-panel {
	background: rgba(255,255,255,0.78);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 34px;
}

.page-panel h1 {
	margin: 0 0 24px;
	font-size: 44px;
	line-height: 1.1;
	color: var(--green);
}

.page-body {
	color: var(--text);
	font-size: 18px;
	line-height: 1.75;
}

.page-hero-image {
	width: 100%;
	border-radius: 22px;
	margin-bottom: 28px;
	display: block;
}

.post-list,
.simple-list {
	display: grid;
	gap: 18px;
}

.post-row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	align-items: center;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border);
	text-decoration: none;
}

.post-row img {
	width: 220px;
	height: 140px;
	object-fit: cover;
	border-radius: 16px;
}

.post-row h3,
.simple-list h3 {
	margin: 0 0 8px;
	color: var(--green);
	font-size: 24px;
}

.post-row p {
	margin: 0;
	color: var(--muted);
}

.simple-list a,
.subpage-card,
.gallery-card {
	text-decoration: none;
}

.simple-list a {
	background: rgba(255,255,255,0.7);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 24px;
}

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

.gallery-card {
	background: rgba(255,255,255,0.7);
	border: 1px solid var(--border);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(8,35,63,0.08);
}

.gallery-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.gallery-card h3 {
	margin: 0;
	padding: 18px;
	color: var(--green);
}

.gallery-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.gallery-photo-grid img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.contact-grid > div {
	background: rgba(255,255,255,0.7);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 22px;
}

.contact-grid h3 {
	margin: 0 0 8px;
	color: var(--green);
}

.contact-grid p {
	margin: 0;
	color: var(--muted);
}

.map-box {
	margin-top: 24px;
	border-radius: 22px;
	overflow: hidden;
}

.map-box iframe {
	width: 100%;
	min-height: 360px;
	border: 0;
}

.contact-page-panel {
	margin: 0;
	max-width: none;
	min-height: auto;
	padding: 28px;
	background: rgba(255,255,255,0.82);
	border: 1px solid rgba(255,255,255,0.65);
	border-radius: 34px;
	box-shadow: 0 30px 90px rgba(8,35,63,0.16);
}

.contact-layout {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr);
	gap: 26px;
	align-items: stretch;
}

.contact-cards {
	display: grid;
	gap: 14px;
}

.contact-card {
	padding: 20px 22px;
	border-radius: 24px;
	background: rgba(255,255,255,0.9);
	border: 1px solid rgba(8,35,63,0.08);
	box-shadow: 0 14px 34px rgba(8,35,63,0.07);
}

.contact-card h3 {
	margin: 0 0 10px;
	font-size: 16px;
	color: var(--green);
}

.contact-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--text);
}

.contact-map {
	height: 610px;
	border-radius: 26px;
	overflow: hidden;
	border: 1px solid rgba(8,35,63,0.1);
	box-shadow: 0 18px 50px rgba(8,35,63,0.12);
	background: white;
}

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

.site-footer {
	width: min(var(--content-width), calc(100% - 48px));
	margin: 24px auto;
	padding: 12px 20px;

	text-align: center;
	font-size: 13px;
	color: var(--muted);

	background: rgba(255,255,255,0.55);
	backdrop-filter: blur(4px);

	border: 1px solid rgba(8,35,63,0.08);
	border-radius: 12px;
}

.site-footer span {
	margin: 0 8px;
	color: var(--gold);
	font-weight: 700;
}

.page-lead {
	margin: 0 0 28px;
	font-size: 20px;
	line-height: 1.65;
	color: var(--muted);
}

.history-page h1 {
	margin-bottom: 16px;
}

.history-body h2 {
	margin: 42px 0 14px;
	font-size: 30px;
	line-height: 1.2;
	color: var(--green);
}

.history-body h3 {
	margin: 28px 0 10px;
	font-size: 22px;
	color: var(--green);
}

.history-body p {
	margin: 0 0 18px;
}

.history-body ul {
	margin: 0 0 24px;
	padding-left: 22px;
}

.history-body li {
	margin-bottom: 8px;
}

.history-body blockquote {
	margin: 26px 0;
	padding: 22px 26px;
	border-left: 5px solid var(--gold);
	background: rgba(255,255,255,0.65);
	border-radius: 18px;
	color: var(--text);
	font-style: italic;
}

.history-full-link {
	margin-top: 40px;
	text-align: center;
}

.history-full-link a {
	display: inline-block;
	padding: 14px 24px;
	border-radius: 999px;
	background: var(--green);
	color: white;
	text-decoration: none;
	font-weight: 700;
	transition: .2s;
}

.history-full-link a:hover {
	transform: translateY(-2px);
}

/* =========================
   RESPONSYWNOŚĆ — CLEAN
   ========================= */

@media (max-width: 1100px) {
	:root {
		--sidebar-width: 100%;
	}

	#content,
	.site-footer {
		width: calc(100% - 32px);
	}

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

	.sidebar {
		position: static;
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.reading-card {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	body {
		overflow-x: hidden;
	}

	.site-name {
		display: none !important;
	}

	.topnav {
		width: 100% !important;
		padding: 8px 14px !important;
		flex-direction: column !important;
		gap: 8px !important;
	}

	.topnav-left {
		display: block !important;
	}

	.topnav-links {
		width: 100% !important;
		justify-content: center !important;
		gap: 18px !important;
		font-size: 17px !important;
		flex-wrap: nowrap !important;
	}

	.nav-item {
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	.nav-item > a,
	.nav-item > .nav-disabled {
		padding: 4px 8px !important;
	}

	.search-form {
		width: 100% !important;
		flex: none !important;
	}

	.search-form input {
		padding: 8px 14px !important;
		font-size: 15px !important;
	}

	#content {
		width: 100% !important;
		padding: 0 14px 50px !important;
	}

	.hero-left {
		min-height: auto !important;
		padding: 28px 22px 30px !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 18px !important;
		border-radius: 0 0 28px 28px !important;
		overflow: visible !important;
	}

	.parish-symbol {
		display: none !important;
	}

	.parish-symbol img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
	}

	.hero-text-wrapper {
		width: 100%;
		display: block !important;
	}

	.hero h2 {
		font-size: clamp(30px, 8.8vw, 36px) !important;
		line-height: 1.08 !important;
		letter-spacing: -0.035em !important;
		text-align: left !important;
	}

	.news-panel,
	.page-panel,
	.contact-page-panel {
		padding: 22px !important;
		border-radius: 24px !important;
	}

	.section-heading h2,
	.page-panel h1 {
		font-size: 36px !important;
	}

	.news-card,
	.post-row {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}

	.news-card img,
	.news-placeholder,
	.post-row img,
	.gallery-card img,
	.gallery-photo-grid img {
		width: 100% !important;
		height: 210px !important;
	}

	.subpage-grid,
	.gallery-grid,
	.gallery-photo-grid,
	.contact-grid,
	.contact-layout,
	.sidebar {
		grid-template-columns: 1fr !important;
	}

	.contact-map {
		height: 380px !important;
	}

	.site-footer {
		width: calc(100% - 28px) !important;
	}
}

@media (max-width: 420px) {
	.topnav-links {
		font-size: 16px !important;
		gap: 14px !important;
	}

	.hero-left {
		padding: 24px 18px 28px !important;
		gap: 16px !important;
	}

	.parish-symbol {
		width: 96px !important;
		height: 96px !important;
	}

	.hero h2 {
		font-size: 29px !important;
	}

	.section-heading h2,
	.page-panel h1 {
		font-size: 32px !important;
	}
}

.groups-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
}

.group-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 24px;
	border-radius: 22px;
	background: rgba(255,255,255,0.72);
	border: 1px solid var(--border);
	box-shadow: 0 14px 34px rgba(8,35,63,0.07);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.group-card:hover {
	transform: translateY(-3px);
	background: rgba(255,255,255,0.9);
	box-shadow: 0 20px 44px rgba(8,35,63,0.11);
}

.group-card h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
	color: var(--green);
}

.group-card span {
	color: var(--gold);
	font-weight: 800;
}

.group-arrow {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--green-soft);
	color: var(--gold);
	font-size: 28px;
	font-weight: 700;
	padding-left: 2px;
}

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

	.group-card {
		padding: 20px;
	}
}


.people-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.people-card {
	padding: 24px;
	border-radius: 22px;
	background: rgba(255,255,255,0.72);
	border: 1px solid var(--border);
	box-shadow: 0 14px 34px rgba(8,35,63,0.07);
}

.people-card h2 {
	margin: 0 0 16px;
	font-size: 26px;
	color: var(--green);
}

.people-card ul {
	margin: 0;
	padding-left: 22px;
	columns: 2;
	column-gap: 30px;
}

.people-card li {
	margin-bottom: 6px;
	break-inside: avoid;
}

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

	.people-card ul {
		columns: 1;
	}
}

.people-card-single {
	grid-column: 1 / -1;
	margin-top: 24px;
}

.rada-page .people-card-single {
	margin-top: 28px;
}

.rada-sections {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.rada-sections .people-card ul {
	columns: 1;
}

@media (max-width: 900px) {
	.rada-sections {
		grid-template-columns: 1fr;
	}
}


.rose-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 24px;
}

.rose-card {
	min-height: 56px;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border-radius: 16px;
	background: rgba(255,255,255,0.58);
	border: 1px solid var(--border);
	box-shadow: 0 10px 26px rgba(8,35,63,0.06);
	text-decoration: none;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.rose-card:hover {
	transform: translateX(3px);
	background: rgba(255,255,255,0.84);
	box-shadow: 0 14px 32px rgba(8,35,63,0.09);
}

.rose-card h3 {
	margin: 0;
	color: var(--text);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.3;
}

.rose-arrow {
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(44,166,255,0.15);
	color: var(--accent);
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
}

.rose-members {
	margin-top: 28px;
}

@media (max-width: 760px) {
	.rose-card {
		min-height: 52px;
		padding: 11px 14px;
	}

	.rose-card h3 {
		font-size: 17px;
	}

	.rose-arrow {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
		font-size: 24px;
	}
}

.history-more {
	margin-top: 40px;
	text-align: center;
}

.history-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: all .2s ease;
	box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.history-button:hover {
	transform: translateY(-2px);
	opacity: .92;
}

.full-history {
	max-width: 920px;
	margin: 0 auto;
}

.history-intro-box {
	padding: 22px 24px;
	margin-bottom: 28px;
	border-radius: 22px;
	background: rgba(255,255,255,0.72);
	border: 1px solid var(--border);
	box-shadow: 0 12px 32px rgba(8,35,63,0.06);
}

.history-intro-box p {
	margin: 0 0 10px;
}

.history-intro-box p:last-child {
	margin-bottom: 0;
}

.history-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 34px;
}

.history-toc a {
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--green-soft);
	color: var(--green);
	text-decoration: none;
	font-weight: 650;
	font-size: 14px;
}

.history-section h2 {
	margin: 36px 0 20px;
	font-size: 34px;
	line-height: 1.15;
	color: var(--green);
}

.history-section h3 {
	margin: 30px 0 14px;
	font-size: 25px;
	line-height: 1.2;
	color: var(--green);
}

.history-section p,
.history-section blockquote {
	font-size: 17px;
	line-height: 1.75;
}

.history-section blockquote {
	margin: 22px 0;
	padding: 18px 22px;
	border-left: 5px solid var(--gold);
	border-radius: 16px;
	background: rgba(255,255,255,0.65);
}

.history-note {
	color: var(--muted);
}

.history-timeline {
	margin: 18px 0 30px;
	padding-left: 22px;
}

.timeline-item {
	display: list-item;
	list-style: disc;
	margin-bottom: 10px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.timeline-date {
	display: inline;
	font-weight: 800;
	color: var(--green);
	margin-right: 8px;
}

.timeline-text {
	display: inline;
	line-height: 1.7;
}

.intentions-body {
	font-size: 17px;
	line-height: 1.7;
}

.intentions-body p {
	margin: 0 0 10px;
}

.intentions-body strong,
.intentions-body b {
	color: var(--green);
	font-size: 20px;
}

.intentions-list {
	display: grid;
	gap: 18px;
}

.intention-day {
	padding: 20px 22px;
	border-radius: 20px;
	background: rgba(255,255,255,0.68);
	border: 1px solid var(--border);
}

.intention-day h2 {
	margin: 0 0 14px;
	font-size: 23px;
	color: var(--green);
}

.intention-day ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.intention-day li {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: start;
}

.intention-time {
	font-weight: 850;
	color: var(--accent);
}

@media (max-width: 520px) {
	.intention-day li {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

.nav-disabled {
	cursor: default;
	user-select: none;
}

.announcements-panel {
	margin-top: 34px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px;
	background: rgba(255,255,255,0.78);
}

.announcements-list {
	display: grid;
	gap: 14px;
}

.announcement-card {
	padding: 22px 24px;
	border-radius: 22px;
	background: rgba(255,255,255,0.72);
	border: 1px solid var(--border);
	box-shadow: 0 14px 34px rgba(8,35,63,0.06);
}

.announcement-card time {
	display: block;
	margin-bottom: 6px;
	color: var(--gold);
	font-size: 14px;
	font-weight: 850;
}

.announcement-card h3 {
	margin: 0 0 8px;
	font-size: 23px;
	line-height: 1.25;
	color: var(--green);
}

.announcement-card p {
	margin: 0 0 10px;
	color: var(--muted);
}

.announcement-card a {
	font-weight: 850;
	color: var(--green);
	text-decoration: none;
}

.basic-page-content h1,
.news-item-page h1,
.news-list-page h1 {
	margin-top: 0;
}

@media (max-width: 760px) {
	.announcements-panel {
		padding: 22px !important;
		border-radius: 24px !important;
	}

	.announcement-card {
		padding: 20px !important;
	}
}


.news-panel.is-loading #news-ajax {
	opacity: 0.55;
	pointer-events: none;
}

/* Ładniejsza karta pojedynczego wpisu aktualności */
.news-item-page {
	padding: 38px;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 16px;
}

.article-pill,
.article-date {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 12px;
	border: 1px solid rgba(44,166,255,0.18);
	border-radius: 999px;
	background: rgba(44,166,255,0.10);
	color: var(--green);
	font-size: 14px;
	font-weight: 850;
	line-height: 1;
}

.article-date {
	background: rgba(255,255,255,0.68);
	color: var(--muted);
}

.news-item-page h1.article-title {
	max-width: 980px;
	margin: 0 0 26px;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.article-figure {
	margin: 0 0 24px;
	border: 1px solid var(--border);
	border-radius: 26px;
	overflow: hidden;
	background: rgba(255,255,255,0.68);
	box-shadow: 0 18px 48px rgba(8,35,63,0.08);
}

.article-figure img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.article-body-card {
	padding: 28px 30px;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: rgba(255,255,255,0.68);
	box-shadow: 0 14px 34px rgba(8,35,63,0.05);
}

.article-body > :first-child {
	margin-top: 0;
}

.article-body > :last-child {
	margin-bottom: 0;
}

.article-body p {
	margin: 0 0 18px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
	margin: 30px 0 12px;
	color: var(--green);
	line-height: 1.2;
}

.article-body h2 {
	font-size: 30px;
}

.article-body h3 {
	font-size: 24px;
}

.article-body ul,
.article-body ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

.article-body li {
	margin-bottom: 8px;
}

.article-back {
	display: inline-flex;
	align-items: center;
	margin-top: 24px;
	padding: 10px 15px;
	border: 1px solid rgba(44,166,255,0.20);
	border-radius: 999px;
	background: rgba(44,166,255,0.10);
	color: var(--green);
	font-weight: 850;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-back:hover {
	transform: translateY(-2px);
	background: rgba(44,166,255,0.16);
}

@media (max-width: 760px) {
	.news-item-page {
		padding: 22px !important;
	}

	.article-body-card {
		padding: 22px !important;
		border-radius: 20px !important;
	}

	.article-meta {
		margin-bottom: 12px;
	}
}


/* =========================
   Pojedyncze aktualności / ogłoszenia / galerie — czytelny układ treści
   ========================= */
.article-detail-page {
	padding: 40px 42px;
}

.article-detail-header {
	max-width: 980px;
	margin-bottom: 24px;
}

.article-detail-page .article-meta {
	margin-bottom: 14px;
}

.article-detail-page .article-title {
    margin: 0;
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--green);
}

.article-detail-page .article-body-card {
	margin-top: 22px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.article-detail-page .article-body {
	max-width: 920px;
	font-size: 19px;
	line-height: 1.8;
}

.article-detail-page .article-body > :first-child {
	margin-top: 0;
}

.article-detail-page .article-body > :last-child {
	margin-bottom: 0;
}

.article-paragraph,
.article-detail-page .article-body p {
	margin: 0 0 18px;
}

.article-points {
	display: grid;
	gap: 16px;
	margin-top: 8px;
}

.article-point {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: rgba(255,255,255,0.58);
	box-shadow: 0 10px 28px rgba(8,35,63,0.045);
}

.article-point-number {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
}

.article-point-text {
	padding-top: 2px;
	color: var(--text);
}

.article-figure {
	margin: 0 0 24px;
	border-radius: 26px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.52);
	box-shadow: 0 18px 48px rgba(8,35,63,0.08);
}

.article-figure img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.article-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.article-gallery-item {
	display: block;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.54);
	box-shadow: 0 10px 28px rgba(8,35,63,0.045);
}

.article-gallery-item img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform 0.24s ease;
}

.article-gallery-item:hover img {
	transform: scale(1.035);
}

.article-detail-page .article-back {
	margin-top: 28px;
}

@media (max-width: 760px) {
	.article-detail-page {
		padding: 24px !important;
	}

	.article-detail-page .article-title {
		font-size: clamp(31px, 10vw, 42px);
	}

	.article-detail-page .article-body {
		font-size: 17px;
		line-height: 1.75;
	}

	.article-point {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 17px;
	}

	.article-gallery-grid {
		grid-template-columns: 1fr;
	}
}

/* Lista aktualności na podstronie /aktualnosci/ */
.news-archive-page {
	padding: 38px;
}

.news-archive-header h1 {
	margin: 0 0 24px;
	font-size: clamp(38px, 4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--green);
}

.news-archive-list {
	display: grid;
	gap: 18px;
}

.news-archive-card {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 26px;
	align-items: stretch;
	padding: 18px;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: rgba(255,255,255,0.58);
	box-shadow: 0 10px 28px rgba(8,35,63,0.045);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-archive-card:hover {
	transform: translateY(-2px);
	border-color: rgba(44,166,255,0.22);
	box-shadow: 0 16px 38px rgba(8,35,63,0.07);
}

.news-archive-media {
	display: block;
	min-height: 170px;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	background: rgba(231,244,255,0.72);
}

.news-archive-media img,
.news-archive-media .news-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 170px;
	border-radius: 20px;
	object-fit: cover;
}

.news-archive-media .news-placeholder svg {
	width: 72%;
	height: 72%;
}

.news-archive-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 4px 6px 4px 0;
}

.news-archive-content h2 {
	margin: 0 0 10px;
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.14;
	letter-spacing: -0.025em;
	color: var(--green);
}

.news-archive-content h2 a {
	color: inherit;
	text-decoration: none;
}

.news-archive-content p {
	max-width: 780px;
	margin: 0 0 14px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.65;
}

.news-archive-more {
	align-self: flex-start;
	color: var(--accent);
	font-weight: 900;
	text-decoration: none;
}

.news-archive-more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.news-archive-empty {
	padding: 22px 24px;
	border: 1px solid var(--border);
	border-radius: 22px;
	background: rgba(255,255,255,0.58);
}

.news-archive-empty p {
	margin: 0;
	color: var(--muted);
	font-size: 17px;
}

@media (max-width: 860px) {
	.news-archive-page {
		padding: 24px !important;
	}

	.news-archive-card {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.news-archive-media,
	.news-archive-media img,
	.news-archive-media .news-placeholder {
		min-height: 210px;
	}

	.news-archive-content {
		padding: 0;
	}
}

@media (max-width: 520px) {
	.news-archive-page {
		padding: 20px !important;
	}

	.news-archive-card {
		padding: 14px;
		border-radius: 22px;
	}

	.news-archive-media,
	.news-archive-media img,
	.news-archive-media .news-placeholder {
		min-height: 180px;
		border-radius: 18px;
	}
}

/* Lista galerii — układ jak lista aktualności, ale dla galerii */
.gallery-archive-page {
	padding: 38px;
}

.gallery-archive-intro {
	max-width: 900px;
	margin: -8px 0 24px;
	color: var(--muted);
}

.gallery-archive-card {
	align-items: stretch;
}

.gallery-archive-media {
	min-height: 190px;
}

.gallery-archive-media img,
.gallery-archive-media .news-placeholder {
	min-height: 190px;
}

.gallery-archive-date {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-bottom: 8px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(44,166,255,0.10);
	color: var(--muted);
	font-size: 13px;
	font-weight: 850;
	line-height: 1;
}

.gallery-archive-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 2px;
}

.gallery-archive-footer span {
	color: var(--muted);
	font-size: 15px;
	font-weight: 750;
}

/* Pojedyncza galeria */
.gallery-detail-page {
	padding: 40px 42px;
}

.gallery-detail-header {
	margin-bottom: 26px;
}

.gallery-description-card {
	max-width: 920px;
	margin: 0 0 26px !important;
}

.gallery-detail-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.gallery-detail-photo {
	display: block;
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255,255,255,0.56);
	box-shadow: 0 12px 34px rgba(8,35,63,0.06);
	text-decoration: none;
}

.gallery-detail-photo img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform 0.24s ease, filter 0.24s ease;
}

.gallery-detail-photo:hover img {
	transform: scale(1.035);
	filter: saturate(1.04);
}

.gallery-empty {
	margin-top: 10px;
}

@media (max-width: 1000px) {
	.gallery-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.gallery-archive-page,
	.gallery-detail-page {
		padding: 24px !important;
	}

	.gallery-detail-grid {
		grid-template-columns: 1fr;
	}

	.gallery-detail-photo img {
		height: 240px;
	}
}

@media (max-width: 520px) {
	.gallery-detail-photo img {
		height: 205px;
	}
}

/* Podgląd zdjęć galerii bez opuszczania strony */
.gallery-detail-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(2, 25, 52, 0) 48%, rgba(2, 25, 52, 0.34) 100%);
	opacity: 0;
	transition: opacity 0.22s ease;
	pointer-events: none;
}

.gallery-detail-photo:hover::after,
.gallery-detail-photo:focus-visible::after {
	opacity: 1;
}

.gallery-detail-zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,0.88);
	color: var(--text);
	font-size: 13px;
	font-weight: 850;
	box-shadow: 0 8px 22px rgba(8,35,63,0.15);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-detail-photo:hover .gallery-detail-zoom,
.gallery-detail-photo:focus-visible .gallery-detail-zoom {
	opacity: 1;
	transform: translateY(0);
}

.gallery-lightbox-open {
	overflow: hidden;
}

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 34px 84px;
	background: rgba(2, 20, 42, 0.88);
	backdrop-filter: blur(10px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.gallery-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.gallery-lightbox-figure {
	position: relative;
	max-width: min(1180px, 100%);
	max-height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.gallery-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	object-fit: contain;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(0,0,0,0.38);
	background: rgba(255,255,255,0.08);
}

.gallery-lightbox-image.is-loading {
	opacity: 0.5;
}

.gallery-lightbox-caption,
.gallery-lightbox-counter {
	color: rgba(255,255,255,0.92);
	font-weight: 750;
	text-align: center;
	text-shadow: 0 2px 12px rgba(0,0,0,0.32);
}

.gallery-lightbox-caption {
	font-size: 16px;
}

.gallery-lightbox-counter {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,0.12);
	backdrop-filter: blur(10px);
	font-size: 14px;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.92);
	color: var(--text);
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 16px 42px rgba(0,0,0,0.22);
	transition: transform 0.18s ease, background 0.18s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
	background: #fff;
	transform: scale(1.04);
}

.gallery-lightbox-close {
	position: absolute;
	top: 22px;
	right: 24px;
	width: 48px;
	height: 48px;
	font-size: 34px;
	line-height: 1;
}

.gallery-lightbox-nav {
	position: absolute;
	top: 50%;
	width: 54px;
	height: 54px;
	transform: translateY(-50%);
	font-size: 42px;
	line-height: 1;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
	transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox-prev {
	left: 24px;
}

.gallery-lightbox-next {
	right: 24px;
}

@media (max-width: 760px) {
	.gallery-lightbox {
		padding: 64px 14px 54px;
	}

	.gallery-lightbox-image {
		max-height: calc(100vh - 170px);
		border-radius: 14px;
	}

	.gallery-lightbox-close {
		top: 12px;
		right: 12px;
		width: 44px;
		height: 44px;
		font-size: 30px;
	}

	.gallery-lightbox-nav {
		top: auto;
		bottom: 10px;
		width: 46px;
		height: 46px;
		font-size: 34px;
		transform: none;
	}

	.gallery-lightbox-nav:hover,
	.gallery-lightbox-nav:focus-visible {
		transform: scale(1.04);
	}

	.gallery-lightbox-prev {
		left: 18px;
	}

	.gallery-lightbox-next {
		right: 18px;
	}

	.gallery-lightbox-counter {
		bottom: 16px;
	}
}

/* Korekty galerii v15 */
.gallery-archive-card {
	background: transparent;
	box-shadow: none;
}

.gallery-archive-card:hover {
	background: transparent;
	box-shadow: none;
}

.gallery-detail-page .article-title {
	max-width: 900px;
	font-size: clamp(26px, 2.5vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.gallery-detail-zoom {
	display: none !important;
}

.gallery-lightbox-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	line-height: 1;
}

.gallery-lightbox-nav::before {
	display: block;
	font-size: 38px;
	line-height: 1;
	transform: translateY(-1px);
}

.gallery-lightbox-prev::before {
	content: '‹';
}

.gallery-lightbox-next::before {
	content: '›';
}

@media (max-width: 760px) {
	.gallery-detail-page .article-title {
		font-size: clamp(24px, 7vw, 30px);
	}

	.gallery-lightbox-nav::before {
		font-size: 32px;
	}
}


/* Korekty v17: boczne menu, listy aktualności/galerii i klikalne kafelki */
.sidebar-title-nowrap {
	white-space: nowrap;
}

.mass-hours-card {
	gap: 10px;
}

.mass-hours-list {
	display: grid;
	gap: 9px;
	margin-top: 10px;
}

.mass-hours-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	padding: 0 0 8px;
	border-bottom: 1px solid rgba(8,35,63,0.08);
}

.mass-hours-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.mass-hours-row span {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.mass-hours-row b {
	color: var(--green);
	font-size: 15px;
	line-height: 1.35;
	font-weight: 850;
}

.mass-hours-row small {
	font-size: 12px;
	font-weight: 800;
	color: var(--muted);
	white-space: nowrap;
}

.news-card.is-clickable-card {
	cursor: pointer;
}

.news-card:hover,
.news-card.is-clickable-card:hover {
	background: transparent !important;
	transform: translateY(-2px);
}

.news-card.is-clickable-card:focus-visible {
	outline: 3px solid rgba(44,166,255,0.45);
	outline-offset: 6px;
	border-radius: 18px;
}

/* Korekty v18: uproszczone Intencje Mszalne i estetyczniejsza rozpiska Mszy */
.sidebar-card-compact {
	min-height: 96px;
	padding-top: 22px;
	padding-bottom: 22px;
}

.sidebar-card-compact strong {
	font-size: 22px;
}

.mass-hours-card {
	gap: 14px;
	padding: 24px;
}

.mass-hours-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.mass-hours-block {
	min-width: 0;
	min-height: 76px;
	padding: 12px 13px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	border: 1px solid rgba(44, 166, 255, 0.18);
	border-radius: 18px;
	background: rgba(231, 244, 255, 0.48);
}

.mass-hours-block-wide {
	grid-column: 1 / -1;
	min-height: 68px;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mass-hours-block span {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.15;
	font-weight: 850;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.mass-hours-block b {
	color: var(--green);
	font-size: 17px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.01em;
}

.mass-hours-main {
	display: flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.mass-hours-main small {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.2;
	font-weight: 800;
}

@media (max-width: 420px) {
	.mass-hours-grid {
		grid-template-columns: 1fr;
	}

	.mass-hours-block-wide {
		grid-column: auto;
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Korekty v19: czytelniejsza rozpiska Mszy Świętych w bocznym menu */
.mass-hours-card {
	gap: 14px;
	padding: 24px 24px 22px;
}

.mass-schedule {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}

.mass-schedule-group {
	padding: 14px;
	border: 1px solid rgba(8, 35, 63, 0.08);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.34);
}

.mass-schedule-group-muted {
	background: rgba(231, 244, 255, 0.26);
	border-color: rgba(44, 166, 255, 0.14);
}

.mass-schedule-label {
	margin: 0 0 9px;
	color: var(--accent);
	font-size: 12px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.mass-schedule-line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid rgba(8, 35, 63, 0.075);
}

.mass-schedule-line:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.mass-schedule-line:last-child {
	padding-bottom: 0;
}

.mass-schedule-line span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.2;
	font-weight: 750;
}

.mass-schedule-line b {
	color: var(--green);
	font-size: 16px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

@media (max-width: 420px) {
	.mass-schedule-group {
		padding: 13px;
	}

	.mass-schedule-line {
		gap: 8px;
	}

	.mass-schedule-line span {
		font-size: 13px;
	}

	.mass-schedule-line b {
		font-size: 15px;
	}
}


/* Korekty v20: standardowe kafelki boczne i prosta rozpiska Mszy */
.sidebar-plain-lines {
	margin-top: 10px;
	color: var(--text);
	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;
}

.sidebar-plain-lines strong,
.sidebar-plain-lines b,
.sidebar-plain-lines span {
	font-weight: 400;
}

.sidebar .sidebar-card:not(.reading-card) {
	background: rgba(255,255,255,0.78);
	border: 1px solid var(--border);
	border-radius: 26px;
	box-shadow: 0 18px 48px rgba(8, 35, 63, 0.08);
}

.sidebar .sidebar-card:not(.reading-card):hover {
	background: rgba(255,255,255,0.78);
}

/* Korekty v26: galerie wideo z YouTube */
.news-card-video-thumb {
	background: rgba(231, 244, 255, 0.92);
}

.gallery-video-card {
	max-width: 980px;
	margin: 0 0 26px;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: rgba(255,255,255,0.54);
	box-shadow: 0 16px 42px rgba(8,35,63,0.08);
	padding: 12px;
}

.gallery-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	background: rgba(8, 35, 63, 0.12);
}

.gallery-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media (max-width: 760px) {
	.gallery-video-card {
		padding: 8px;
		border-radius: 20px;
	}

	.gallery-video-frame {
		border-radius: 15px;
	}
}

/* Korekty v28: strona „Ustawa Kamilka” jako czytelny dokument na stronie */
.legal-document-page {
	max-width: 980px;
}

.legal-document-header {
	padding-bottom: 22px;
	margin-bottom: 28px;
	border-bottom: 1px solid rgba(8, 35, 63, 0.10);
}

.legal-document-kicker {
	margin: 0 0 10px;
	color: var(--accent);
	font-size: 13px;
	line-height: 1.2;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.legal-document-page h1 {
	max-width: 860px;
	margin-bottom: 0;
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.legal-document-body {
	max-width: 860px;
	font-size: 18px;
	line-height: 1.78;
}

.legal-document-body > :first-child {
	margin-top: 0;
}

.legal-document-body > :last-child {
	margin-bottom: 0;
}

.legal-document-body p {
	margin: 0 0 18px;
}

.legal-document-body ul,
.legal-document-body ol {
	margin: 0 0 20px;
	padding-left: 26px;
}

.legal-document-body li {
	margin-bottom: 8px;
}

.legal-document-body .document-heading,
.legal-document-body .document-section-title,
.legal-document-body .document-subheading,
.legal-document-body h2,
.legal-document-body h3 {
	color: var(--green);
	line-height: 1.18;
}

.legal-document-body .document-heading,
.legal-document-body h2 {
	margin: 42px 0 18px;
	font-size: clamp(24px, 2.4vw, 32px);
	letter-spacing: -0.018em;
}

.legal-document-body .document-section-title {
	margin: 48px 0 18px;
	padding-top: 24px;
	border-top: 1px solid rgba(8, 35, 63, 0.10);
}

.legal-document-body .document-subheading,
.legal-document-body h3 {
	margin: 30px 0 12px;
	font-size: 22px;
}

@media (max-width: 760px) {
	.legal-document-page {
		padding: 26px 22px;
	}

	.legal-document-body {
		font-size: 16px;
		line-height: 1.72;
	}
}

/* Korekty v29: czytelny widok strony „Ustawa Kamilka” używanej przez template about-page */
.legal-document-page {
	padding: clamp(30px, 4vw, 56px);
}

.legal-document-header {
	margin-bottom: 30px;
}

.legal-document-body {
	max-width: 880px;
	font-size: 17px;
	line-height: 1.8;
	color: var(--text);
}

.legal-document-body p {
	margin: 0 0 18px;
}

.legal-document-body .document-heading,
.legal-document-body .document-section-title {
	clear: both;
	max-width: 820px;
}

.legal-document-body .document-heading {
	margin: 46px 0 18px;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 900;
	letter-spacing: -0.02em;
}

.legal-document-body .document-section-title {
	margin: 52px 0 20px;
	padding-top: 24px;
	border-top: 1px solid rgba(8, 35, 63, 0.12);
	font-size: clamp(22px, 2.25vw, 31px);
	font-weight: 900;
	letter-spacing: -0.02em;
}

.legal-document-body .document-subheading {
	margin: 30px 0 12px;
	font-size: 20px;
	font-weight: 850;
	line-height: 1.25;
}

.legal-document-body .document-list-line {
	position: relative;
	padding-left: 24px;
}

.legal-document-body .document-list-line::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 0.78em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

.legal-document-kicker {
	margin-bottom: 12px;
}

@media (max-width: 760px) {
	.legal-document-page {
		padding: 28px 22px;
	}

	.legal-document-body {
		font-size: 16px;
		line-height: 1.72;
	}

	.legal-document-body .document-heading,
	.legal-document-body .document-section-title {
		margin-top: 34px;
	}
}


/* Korekty v32: brak hovera dla statycznych kafelków w bocznym menu */
.sidebar .sidebar-card.sidebar-static-card:hover {
	transform: none;
	box-shadow: 0 18px 48px rgba(8, 35, 63, 0.08);
	background: rgba(255,255,255,0.78);
}

/* Delikatny komunikat o przebudowie strony */
.site-update-notice {
	width: 100%;
	padding: 10px 24px;
	background: rgba(231, 244, 255, 0.88);
	border-bottom: 1px solid rgba(8, 35, 63, 0.1);
	color: var(--text);
	font-size: 14px;
	line-height: 1.45;
}

.site-update-notice-inner {
	width: min(var(--content-width), calc(100% - 48px));
	margin: 0 auto;
	text-align: center;
}

.site-update-notice strong {
	color: var(--green);
	font-weight: 850;
}

@media (max-width: 760px) {
	.site-update-notice {
		padding: 9px 14px;
		font-size: 13px;
	}

	.site-update-notice-inner {
		width: 100%;
	}
}
/* Klikalny baner prowadzący do strony głównej */
.hero-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.hero-link:hover,
.hero-link:focus {
	text-decoration: none;
}

.hero-link .hero {
	cursor: pointer;
}

.article-title {
    font-size: 34px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}