/*
 * The public pages of parafian.pl rendered by the API (resources/views/site): the landing, "Dodaj
 * parafię", the page of a parish. The CSS of the accepted pages of docs/landing as it is; below
 * it what the real form controls and the badges of the stores need (the mock-up drew them as
 * plain boxes), at the end the page of a parish.
 */
:root {
	--navy: #132135;
	--navy2: #0f1c2e;
	--gold: #d6b46e;
	--gold2: #e6c88a;
	--paper: #f6f2e8;
	--paper2: #efe8d8;
	--ink: #1b2a40;
	--ink2: #3d4656;
	--mute: #6b7487;
	--line: #e2d9c4;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family:
		'Source Sans 3',
		-apple-system,
		'Segoe UI',
		Roboto,
		Arial,
		sans-serif;
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
}
.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}
.ic {
	flex-shrink: 0;
	display: block;
}
.logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}
.lrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.lrow .mk {
	display: block;
	flex-shrink: 0;
}
.lword {
	position: relative;
	font-family: 'Bitter', 'Zilla Slab', Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1;
}
.lword b {
	color: var(--gold);
	font-weight: 600;
}
.lslog {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Bitter', Georgia, serif;
	font-weight: 400;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.lslog i {
	display: inline-block;
	width: 14px;
	height: 1px;
	background: var(--gold);
}
h1,
h2,
h3 {
	font-family: 'Zilla Slab', 'Bitter', Georgia, serif;
	font-weight: 600;
	margin: 0;
	color: var(--navy);
}
.kick {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a6d2e;
}
.btn {
	min-height: 50px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 14px;
	border: 1.5px solid var(--navy);
	background: transparent;
	color: var(--navy);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}
.btn.p {
	background: var(--navy);
	color: #f2efe6;
}
.btn.g {
	background: var(--gold);
	border-color: var(--gold);
	color: #17120a;
}
/* nav */
/* a link to a section (#msze) stops under the bar that stays on top, not behind it */
html {
	scroll-padding-top: 96px;
}
.nav {
	position: sticky;
	top: 0;
	z-index: 5;
	background: rgba(246, 242, 232, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.nav .wrap {
	height: 84px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav nav {
	display: flex;
	gap: 26px;
	margin-left: 24px;
	font-weight: 600;
	font-size: 16px;
}
.nav nav a {
	text-decoration: none;
	color: var(--ink2);
}
.nav .sp {
	flex: 1;
}
.nav .acts {
	display: flex;
	gap: 10px;
}
.nav .btn {
	min-height: 44px;
	font-size: 15px;
}
.burger {
	display: none;
}
/* hero */
.hero {
	padding: 64px 0 72px;
	position: relative;
	overflow: hidden;
}
.hero:before {
	content: '';
	position: absolute;
	right: -180px;
	top: -160px;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(214, 180, 110, 0.3), rgba(214, 180, 110, 0) 65%);
}
.hgrid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: 56px;
	align-items: center;
}
.hero h1 {
	font-size: 60px;
	line-height: 1.04;
	letter-spacing: -0.01em;
}
.hero h1 em {
	font-style: normal;
	color: #8a6d2e;
}
.hero .lead {
	margin: 18px 0 28px;
	font-size: 20px;
	line-height: 1.55;
	color: var(--ink2);
	max-width: 34em;
}
.paths {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 14px;
}
.path {
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.path.a {
	background: #fff;
	border: 1.5px solid var(--line);
	box-shadow: 0 18px 40px -24px rgba(19, 33, 53, 0.35);
}
.path.b {
	background: var(--navy);
	color: #f2efe6;
}
.path.b h3 {
	color: #f2efe6;
}
.path h3 {
	font-size: 22px;
}
.path p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}
.path.b p {
	color: #c9d0dc;
}
.field {
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 54px;
	padding: 0 6px 0 14px;
	border-radius: 14px;
	border: 1.5px solid var(--navy);
	background: #fff;
	color: var(--mute);
	font-size: 17px;
}
.field > span:not(.go) {
	flex: 1;
	min-width: 0;
}
.field .go {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--navy);
	color: #f2efe6;
	display: flex;
	align-items: center;
	justify-content: center;
}
.minor {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 14px;
	font-weight: 700;
}
.minor a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--navy);
}
.path.b .btn {
	border-color: var(--gold);
	background: var(--gold);
	color: #17120a;
	margin-top: auto;
}
.path.b .minor a {
	color: var(--gold2);
}
/* phone */
.phonewrap {
	position: relative;
	display: flex;
	justify-content: center;
}
.phone {
	width: 300px;
	border-radius: 44px;
	padding: 12px;
	background: #0b1424;
	box-shadow: 0 40px 80px -30px rgba(19, 33, 53, 0.6);
}
.scr {
	border-radius: 34px;
	overflow: hidden;
	background: var(--navy);
	color: #f2efe6;
	padding: 18px 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 13px;
}
.scr .top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Bitter', Georgia, serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
}
.scr h4 {
	margin: 2px 0 0;
	font-family: 'Zilla Slab', Georgia, serif;
	font-size: 21px;
	font-weight: 600;
}
.scr .card {
	border-radius: 14px;
	background: #1a2a42;
	border: 1px solid #2c3f5e;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.scr .lab {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #a3aec2;
}
.masses {
	display: flex;
	gap: 6px;
}
.masses span {
	flex: 1;
	text-align: center;
	padding: 8px 0;
	border-radius: 10px;
	background: #0f1c2e;
	font-weight: 700;
	font-size: 14px;
}
.masses span.on {
	background: var(--gold);
	color: #17120a;
}
.scr .row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.scr .row b {
	display: block;
	font-size: 13.5px;
}
.scr .row small {
	color: #a3aec2;
	font-size: 11.5px;
}
.dot {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #3a3424;
	color: var(--gold2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px -18px rgba(19, 33, 53, 0.45);
	font-size: 14px;
	color: var(--ink);
	animation: bob 5s ease-in-out infinite;
}
.float b {
	display: block;
	font-size: 14px;
}
.float small {
	color: var(--mute);
	font-size: 12.5px;
}
.f1 {
	left: -40px;
	top: -18px;
}
.f2 {
	right: -24px;
	top: 230px;
	animation-delay: 1.6s;
}
.f3 {
	left: 6px;
	bottom: 40px;
	animation-delay: 3.1s;
}
@keyframes bob {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}
/* stores */
.stores {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 16px 0 14px;
	border-radius: 12px;
	background: #0b1424;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.05;
}
.store small {
	display: block;
	font-size: 11px;
	font-weight: 600;
	opacity: 0.8;
	letter-spacing: 0.02em;
}
.store.dark {
	background: #f6f2e8;
	color: #132135;
}
.installnote {
	font-size: 13px;
	color: var(--mute);
}
/* sections */
section.sec {
	padding: 84px 0;
}
.shead {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 720px;
	margin-bottom: 36px;
}
.shead h2 {
	font-size: 42px;
	line-height: 1.1;
}
.shead p {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	color: var(--ink2);
}
.feats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.feat {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.feat .fi {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--paper2);
	color: #8a6d2e;
	display: flex;
	align-items: center;
	justify-content: center;
}
.feat h3 {
	font-size: 21px;
}
.feat p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	counter-reset: s;
}
.step {
	position: relative;
	padding: 24px 22px 22px;
	border-radius: 18px;
	border: 1.5px dashed #cdbf9f;
}
.step .n {
	font-family: 'Zilla Slab', Georgia, serif;
	font-size: 46px;
	font-weight: 600;
	line-height: 1;
	color: var(--gold);
}
.step h3 {
	font-size: 21px;
	margin: 10px 0 6px;
}
.step p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink2);
}
/* map band */
.band {
	background: var(--navy);
	color: #f2efe6;
}
.band h2 {
	color: #f2efe6;
}
.band .shead p {
	color: #c9d0dc;
}
.band .kick {
	color: var(--gold);
}
.mapgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.mapbox {
	border-radius: 22px;
	background: #0f1c2e;
	border: 1px solid #22344f;
	padding: 22px;
}
.mapping {
	animation: ping 2.4s ease-out infinite;
}
.ping {
	animation: ping 2.4s ease-out infinite;
	transform-origin: center;
	transform-box: fill-box;
}
@keyframes ping {
	0% {
		transform: scale(1);
		opacity: 0.9;
	}
	100% {
		transform: scale(2.6);
		opacity: 0;
	}
}
.searchdark {
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 6px 0 16px;
	border-radius: 14px;
	background: #f6f2e8;
	color: #6b7487;
	font-size: 17px;
	margin: 20px 0 16px;
}
.searchdark > span:not(.go) {
	flex: 1;
}
.searchdark .go {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--gold);
	color: #17120a;
	display: flex;
	align-items: center;
	justify-content: center;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chip {
	height: 38px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	border: 1px solid #3a4f72;
	color: #f2efe6;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
/* parishes */
.pgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.plist {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pitem {
	display: flex;
	gap: 14px;
	padding: 16px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--line);
}
.pitem .fi {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.pitem b {
	display: block;
	font-size: 17px;
	margin-bottom: 2px;
}
.pitem span {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ink2);
}
.pcta {
	position: sticky;
	top: 110px;
	border-radius: 22px;
	padding: 28px;
	background: var(--navy);
	color: #f2efe6;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.pcta h3 {
	color: #f2efe6;
	font-size: 28px;
}
.pcta p {
	margin: 0;
	color: #c9d0dc;
	font-size: 16px;
	line-height: 1.55;
}
.pcta ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15.5px;
}
.pcta li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.pcta li .ic {
	color: var(--gold);
	margin-top: 2px;
}
.pcta .btn {
	border-color: var(--gold);
	background: var(--gold);
	color: #17120a;
}
.pcta .btn.o {
	background: transparent;
	color: #f2efe6;
	border-color: #3a4f72;
}
/* app band */
.appband {
	background: var(--paper2);
}
.appgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
}
.qr {
	width: 132px;
	height: 132px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--line);
	padding: 12px;
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 2px;
}
.qr i {
	background: var(--navy);
	border-radius: 1px;
}
.qr i.o {
	background: transparent;
}
/* faq */
.faq {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.q {
	padding: 18px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--line);
}
.q b {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 17px;
}
.q p {
	margin: 10px 0 0;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink2);
}
/* footer */
footer {
	background: var(--navy2);
	color: #c9d0dc;
	padding: 48px 0 36px;
}
.fgrid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 28px;
}
.fgrid h4 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #a3aec2;
}
.fgrid a.logo {
	display: inline-flex;
	margin: 0;
}
.fgrid a {
	display: block;
	text-decoration: none;
	color: #dfe3ea;
	font-size: 15px;
	margin: 0 0 8px;
}
.copy {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #22344f;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: #7d8aa3;
}
@media (prefers-reduced-motion: reduce) {
	.float,
	.ping {
		animation: none;
	}
}
/* ===== mobile ===== */
@media (max-width: 700px) {
	.wrap {
		padding: 0 18px;
	}
	.nav .wrap {
		height: 72px;
		gap: 12px;
	}
	.nav nav,
	.nav .acts .hide-m {
		display: none;
	}
	.burger {
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: none;
		color: var(--navy);
	}
	.nav .acts .btn {
		min-height: 40px;
		padding: 0 14px;
		font-size: 14px;
	}
	.hero {
		padding: 28px 0 44px;
	}
	.hero:before {
		right: -260px;
		top: -220px;
	}
	.hgrid,
	.mapgrid,
	.pgrid,
	.appgrid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.hero h1 {
		font-size: 38px;
	}
	.hero .lead {
		font-size: 17px;
		margin: 12px 0 20px;
	}
	.paths {
		grid-template-columns: 1fr;
	}
	.phonewrap {
		display: none;
	}
	section.sec {
		padding: 52px 0;
	}
	.shead h2 {
		font-size: 30px;
	}
	.shead p {
		font-size: 16px;
	}
	.feats,
	.steps,
	.faq {
		grid-template-columns: 1fr;
	}
	.pcta {
		position: static;
	}
	.fgrid {
		grid-template-columns: 1fr 1fr;
	}
	.fgrid .fl {
		grid-column: 1/-1;
	}
	.copy {
		flex-direction: column;
	}
	.qr {
		display: none;
	}
}

.dp {
	padding: 56px 0 80px;
}
.dpg {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 56px;
	align-items: start;
}
.dp h1 {
	font-size: 46px;
	line-height: 1.08;
}
.dp .lead {
	margin: 16px 0 28px;
	font-size: 18px;
	line-height: 1.55;
	color: var(--ink2);
}
.tl {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.tl .it {
	position: relative;
	display: flex;
	gap: 16px;
	padding-bottom: 24px;
}
.tl .it:not(:last-child):after {
	content: '';
	position: absolute;
	left: 19px;
	top: 42px;
	bottom: 4px;
	width: 2px;
	background: #d9cdb0;
}
.tl .n {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Zilla Slab', Georgia, serif;
	font-weight: 600;
	font-size: 19px;
}
.tl b {
	display: block;
	font-size: 18px;
	margin: 8px 0 4px;
}
.tl span {
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.note {
	margin-top: 8px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--paper2);
	display: flex;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}
.note .ic {
	color: #8a6d2e;
	margin-top: 2px;
}
.form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 30px 60px -40px rgba(19, 33, 53, 0.45);
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.form h2 {
	font-size: 26px;
}
.fs {
	border: 0;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.fs legend {
	grid-column: 1/-1;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a6d2e;
	margin-bottom: 12px;
}
.fl {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fl.w {
	grid-column: 1/-1;
}
.fl span {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--ink);
}
.in {
	height: 50px;
	border-radius: 12px;
	border: 1.5px solid #cfc4ab;
	background: #fffdf8;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 16px;
	color: var(--ink);
}
.in.ph {
	color: #8a90a0;
}
.in.focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(214, 180, 110, 0.35);
}
.hint {
	font-size: 13px;
	color: var(--mute);
}
.roles {
	grid-column: 1/-1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.role {
	height: 42px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	border: 1.5px solid #cfc4ab;
	font-size: 15px;
	font-weight: 600;
}
.role.on {
	background: var(--navy);
	border-color: var(--navy);
	color: #f2efe6;
}
.mods {
	grid-column: 1/-1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.mod {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1.5px solid #e2d9c4;
	font-size: 15px;
	font-weight: 600;
}
.mod .cb {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 6px;
	border: 2px solid #b9ab8a;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mod.on {
	border-color: var(--gold);
	background: #fbf6ea;
}
.mod.on .cb {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--gold);
}
.consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.consent .cb {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	border-radius: 6px;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sub {
	display: flex;
	align-items: center;
	gap: 16px;
}
.sub .btn {
	min-height: 56px;
	padding: 0 28px;
	font-size: 17px;
}
.sug {
	margin-top: 6px;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.sug div {
	padding: 10px 14px;
	font-size: 15px;
	border-top: 1px solid #f0eadb;
}
.sug div:first-child {
	border-top: 0;
	background: #fbf6ea;
}
.sug small {
	color: var(--mute);
}
@media (max-width: 700px) {
	.dpg,
	.fs,
	.mods {
		grid-template-columns: 1fr;
	}
	.dp h1 {
		font-size: 34px;
	}
	.form {
		padding: 20px;
	}
}
[hidden] {
	display: none !important;
}

/* ---------- the real controls of the form (the look of the mock-up) ---------- */
input.in,
select.in,
textarea.in {
	width: 100%;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
}
input.in::placeholder,
textarea.in::placeholder {
	color: var(--mute);
}
input.in:focus,
select.in:focus,
textarea.in:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(19, 33, 53, 0.12);
}
select.in {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231b2a40' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 44px;
}
.fl .err {
	font-size: 14px;
	color: #a3302a;
	font-weight: 600;
}
.fl.bad .in {
	border-color: #a3302a;
}
label.role,
label.mod {
	cursor: pointer;
	position: relative;
}
label.role input,
label.mod input,
label.consent input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
label.role:has(input:checked) {
	background: var(--navy);
	border-color: var(--navy);
	color: #f2efe6;
}
label.role:has(input:focus-visible),
label.mod:has(input:focus-visible),
label.consent:has(input:focus-visible) {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}
label.mod .cb svg,
label.consent .cb svg {
	display: none;
}
label.mod:has(input:checked) .cb svg,
label.consent:has(input:checked) .cb svg {
	display: block;
}
label.mod:has(input:checked) {
	border-color: var(--gold);
	background: #fbf6ea;
}
label.consent .cb {
	background: transparent;
	border: 2px solid #b9ab8a;
}
label.mod:has(input:checked) .cb,
label.consent:has(input:checked) .cb {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--gold);
}
button.btn {
	font: inherit;
	cursor: pointer;
}
.hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.formerr {
	padding: 14px 16px;
	border-radius: 12px;
	background: #f6dedb;
	color: #7a231d;
	font-weight: 600;
}

/* ---------- the official badges of the stores ---------- */
.stores .badge {
	display: inline-block;
	line-height: 0;
	border-radius: 9px;
}
.stores .badge img {
	height: 52px;
	width: auto;
	display: block;
}
.stores .badge.gp img {
	height: 76px;
	margin: -12px -10px;
}
.stores .badge:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}
.qr svg {
	display: block;
	/* the whole box, not one cell of the grid of the mock-up */
	grid-column: 1 / -1;
	grid-row: 1 / -1;
	width: 100%;
	height: auto;
}

/* ---------- the search field of the hero: a real form ---------- */
form.field input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	outline: none;
}
form.field input::placeholder {
	color: inherit;
	opacity: 0.75;
}
form.field button.go {
	border: 0;
	cursor: pointer;
	font: inherit;
}
form.searchdark input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: inherit;
	outline: none;
}
form.searchdark input::placeholder {
	color: inherit;
	opacity: 0.8;
}
form.searchdark button.go {
	border: 0;
	cursor: pointer;
	font: inherit;
}

/* ---------- the menu of the phone (the burger of the bar): over the page, under the bar ---------- */
.sitemenu {
	position: fixed;
	left: 0;
	right: 0;
	top: 72px;
	z-index: 40;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 18px 16px;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 18px 32px rgba(23, 18, 10, 0.18);
}
.sitemenu[hidden],
.moremenu[hidden],
.moremenu a[hidden] {
	display: none;
}
/* "Więcej": the links that did not fit, under the button */
.moremenu {
	position: fixed;
	z-index: 40;
	width: 232px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
	box-shadow: 0 18px 36px rgba(23, 18, 10, 0.2);
}
.moremenu a {
	padding: 10px 14px;
	border-radius: 9px;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
}
.moremenu a:hover,
.moremenu a:focus-visible {
	background: rgba(23, 33, 53, 0.07);
}
.sitemenu a {
	padding: 12px 4px;
	font-size: 17px;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.sitemenu a:last-child {
	border-bottom: 0;
}

/* ---------- the page of a parish (docs/landing/wizytowka-parafii.html) ---------- */
.pnav .wrap {
	height: 80px;
	display: flex;
	align-items: center;
	gap: 26px;
}
.pbrand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	/* The name never squeezed: the links that do not fit go under "Więcej". */
	flex-shrink: 0;
}
/* The logo of the parish (set on its page), as high as the bar lets it. */
.pbrand .plogo {
	display: block;
	height: 34px;
	width: auto;
	max-width: min(360px, calc(100vw - 150px));
	object-fit: contain;
	object-position: left center;
}
@media (max-width: 700px) {
	/* The logo takes what is left of the bar and grows smaller with it (never under the buttons). */
	.pbrand {
		flex: 1 1 auto;
		min-width: 0;
		margin-right: 8px;
	}
	.pnav .sp {
		display: none;
	}
	.pbrand .plogo {
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: 26px;
	}
}
.pbrand .crest {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Zilla Slab', Georgia, serif;
	font-weight: 700;
	font-size: 17px;
}
.pbrand b {
	white-space: nowrap;
	display: block;
	font-family: 'Zilla Slab', Georgia, serif;
	font-size: 22px;
	color: var(--navy);
	line-height: 1;
}
.pbrand small {
	display: block;
	font-size: 13px;
	color: var(--mute);
	margin-top: 3px;
}
.pnav nav {
	display: flex;
	gap: 22px;
	font-weight: 600;
	font-size: 15.5px;
}
.pnav nav a {
	text-decoration: none;
	color: var(--ink2);
}
.phero {
	position: relative;
	height: 520px;
	overflow: hidden;
	color: #f2efe6;
}
.phero .ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.phero .ov {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(11, 20, 36, 0.86) 0%,
		rgba(11, 20, 36, 0.55) 45%,
		rgba(11, 20, 36, 0.1) 100%
	);
}
.phero .wrap {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: 56px;
}
.phero h1 {
	color: #f2efe6;
	font-size: 58px;
	line-height: 1.05;
}
.phero .sub {
	margin: 12px 0 22px;
	font-size: 19px;
	color: #dfe3ea;
	max-width: 34em;
}
.phero .acts {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.phero .btn {
	border-color: #f2efe6;
	color: #f2efe6;
}
.phero .btn.g {
	color: #17120a;
	border-color: var(--gold);
}
.phlabel {
	position: absolute;
	right: 16px;
	top: 16px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	display: flex;
	gap: 6px;
	align-items: center;
}
.today {
	position: relative;
	margin-top: -46px;
	z-index: 2;
}
.tcard {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: 0 30px 60px -40px rgba(19, 33, 53, 0.5);
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	overflow: hidden;
}
.tcard > div {
	position: relative;
	padding: 22px 24px;
}
/* a part of the strip that leads to its block: the whole part is the link (over it, empty) */
.tgo {
	position: absolute;
	inset: 0;
	z-index: 1;
	transition: background-color 0.18s ease;
}
.tgo:hover {
	background: rgba(214, 180, 110, 0.12);
}
/* the arrow in the corner: this part leads further */
.tgo::after {
	content: '→';
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 17px;
	font-weight: 700;
	color: #8a6d2e;
	opacity: 0.55;
	transition: opacity 0.18s ease;
}
.tgo:hover::after {
	opacity: 1;
}
.tgo:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: -4px;
}
.tcard > div + div {
	border-left: 1px solid var(--line);
}
.tl2 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a6d2e;
	margin-bottom: 10px;
	display: flex;
	gap: 6px;
	align-items: center;
}
.ms {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ms span {
	min-width: 64px;
	text-align: center;
	padding: 10px 0;
	border-radius: 12px;
	background: var(--paper);
	font-weight: 700;
	font-size: 18px;
}
.ms span.on {
	background: var(--navy);
	color: var(--gold);
}
.tcard p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}
.tcard b {
	color: var(--ink);
}
.grid2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
}
.tbl {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}
.tbl td {
	padding: 12px 0;
	border-top: 1px solid var(--line);
}
.tbl td:first-child {
	font-weight: 700;
	width: 42%;
}
.tbl td:last-child {
	color: var(--ink2);
}
.ann {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.annc {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 22px;
}
.annc h3 {
	font-size: 22px;
}
.annc .d {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d2e;
}
.annc ol {
	margin: 12px 0 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--navy);
	text-decoration: none;
	font-size: 15px;
}
.priests {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.pr {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
}
.pr .ph {
	height: 220px;
	position: relative;
	background: linear-gradient(160deg, #d9cfb8, #b9a983);
}
.pr .ph span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: rgba(19, 33, 53, 0.55);
}
.pr .ph svg.person {
	width: 62%;
	height: auto;
}
.pr .tx {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.pr b {
	font-size: 18px;
}
.pr .fn {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d2e;
}
.pr p {
	margin: 6px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.sacr {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.sc {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
}
.sc .fi {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--paper2);
	color: #8a6d2e;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sc h3 {
	font-size: 20px;
}
.sc p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.sc .more {
	margin-top: auto;
}
.hist {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 48px;
}
.hist .lead2 {
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink2);
	margin: 0 0 16px;
}
/* The text of the history, in pages to turn. */
.hist .hpar {
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
	margin: 0 0 16px;
}
.hpage[hidden] {
	display: none;
}
.hnav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 18px 0 4px;
}
.hnav[hidden] {
	display: none;
}
.hbtn {
	border: 1.5px solid var(--navy);
	background: none;
	color: var(--navy);
	border-radius: 999px;
	padding: 9px 18px;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}
.hbtn:hover:not(:disabled) {
	background: var(--navy);
	color: var(--paper);
}
.hbtn:disabled {
	opacity: 0.35;
	cursor: default;
}
.hdots {
	margin-top: 0;
}
/* On the light page the pills are dark, the one of the page shown gold. */
.hnav .hdots button::before {
	width: 10px;
	height: 10px;
	background: rgba(19, 33, 53, 0.35);
}
.hnav .hdots button[aria-current='true']::before {
	width: 30px;
	background: var(--gold);
	box-shadow: 0 0 0 2px var(--navy);
}
.hnav .hdots button:hover::before {
	background: var(--navy);
}
.ev a.thumb {
	display: block;
	cursor: zoom-in;
}
.tline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding-left: 28px;
}
.tline:before {
	content: '';
	position: absolute;
	left: 7px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: #d9cdb0;
}
.ev {
	position: relative;
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 16px;
}
.ev:before {
	content: '';
	position: absolute;
	left: -27px;
	top: 6px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--paper);
	border: 3px solid var(--gold);
}
.ev .y {
	font-family: 'Zilla Slab', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--navy);
	line-height: 1.1;
}
.ev b {
	display: block;
	font-size: 17px;
	margin-bottom: 4px;
}
.ev span {
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}
.ev .thumb {
	grid-column: 2;
	height: 120px;
	border-radius: 12px;
	margin-top: 8px;
	background: linear-gradient(160deg, #c9bd9f, #8f7f5c);
	position: relative;
}
.gal {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 180px 180px;
	gap: 10px;
}
.gal div,
.gal a {
	display: block;
	border-radius: 14px;
	position: relative;
	overflow: hidden;
	cursor: zoom-in;
}
.gal > :first-child {
	grid-row: span 2;
}
.ph-note {
	position: absolute;
	left: 10px;
	bottom: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	gap: 5px;
	align-items: center;
}
.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #fff;
}
.contact .c1 {
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.crow {
	display: flex;
	gap: 12px;
	font-size: 16px;
	line-height: 1.45;
}
.crow .ic {
	color: #8a6d2e;
	margin-top: 2px;
}
.crow b {
	display: block;
}
.contact .map {
	background: #e6dcc6;
	position: relative;
	min-height: 360px;
}
.appstrip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 30px;
	border-radius: 22px;
	background: var(--navy);
	color: #f2efe6;
}
.appstrip h3 {
	color: #f2efe6;
	font-size: 24px;
}
.appstrip p {
	margin: 4px 0 0;
	color: #c9d0dc;
}
.pfoot {
	background: var(--navy2);
	color: #a3aec2;
	padding: 28px 0;
}
.pfoot .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-size: 14px;
}
.pfoot a {
	color: #dfe3ea;
	text-decoration: none;
}
.powered {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #c9d0dc;
	text-decoration: none;
}
@media (max-width: 700px) {
	.pnav nav {
		display: none;
	}
	.pbrand b {
		font-size: 19px;
	}
	.pbrand small {
		display: none;
	}
	.hide-m {
		display: none;
	}
	.pnav .btn {
		min-height: 42px;
		padding: 0 14px;
	}
	.phero {
		height: auto;
	}
	.phero .wrap {
		padding-top: 170px;
		padding-bottom: 56px;
	}
	.phero h1 {
		font-size: 36px;
	}
	.phero .sub {
		font-size: 16px;
	}
	.phero .acts .btn:last-child {
		display: none;
	}
	.phero .kick {
		font-size: 11.5px;
	}
	.today {
		margin-top: -28px;
	}
	.tcard {
		grid-template-columns: 1fr;
	}
	.tcard > div + div {
		border-left: 0;
		border-top: 1px solid var(--line);
	}
	.grid2,
	.hist,
	.contact {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.priests,
	.sacr {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	.pr .ph {
		height: 150px;
	}
	.pr p {
		display: none;
	}
	.sc p {
		display: none;
	}
	.sc {
		padding: 16px;
	}
	.gal {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 160px 110px 110px;
	}
	.gal > :first-child {
		grid-column: span 2;
		grid-row: auto;
	}
	.ev {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.ev .thumb {
		grid-column: 1;
	}
	.appstrip {
		flex-direction: column;
		align-items: flex-start;
	}
	.pfoot .wrap {
		flex-direction: column;
		align-items: flex-start;
	}
}
.powered .logo {
	flex-direction: row;
	gap: 8px;
}
.powered .lslog {
	display: none;
}

/* ---------- the photos of the parish and the links the mock-up drew as boxes ---------- */
.phero img.ph,
.pr .ph img,
.gal img,
.ev .thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ev .thumb {
	overflow: hidden;
}
.contact a.map {
	display: block;
}
.crow a {
	color: inherit;
	text-decoration: none;
}
/* A long timeline: the introduction of the history stays in sight. */
@media (min-width: 701px) {
	.hist > div:first-child {
		position: sticky;
		top: 110px;
		align-self: start;
	}
}

/* ---------- the page of a sacrament (docs/landing/wizytowka-sakrament.html) ---------- */
.crumb {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 14px;
	color: var(--mute);
	padding: 22px 0 0;
}
.crumb a {
	color: var(--ink2);
	text-decoration: none;
	font-weight: 600;
}
.shero {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 20px 0 26px;
}
.shero .fi {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.shero h1 {
	font-size: 44px;
}
.sintro {
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink2);
	margin: 0 0 26px;
	max-width: 40em;
}
.sgrid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px;
	padding-bottom: 70px;
}
.box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.box h2 {
	font-size: 22px;
}
.box + .box {
	margin-top: 16px;
}
.chk {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 16px;
	line-height: 1.45;
}
.chk li {
	display: flex;
	gap: 10px;
}
.chk .ic {
	color: #2f8f53;
	margin-top: 2px;
}
.stp {
	counter-reset: s;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stp li {
	counter-increment: s;
	display: flex;
	gap: 12px;
	font-size: 16px;
	line-height: 1.45;
}
.stp li:before {
	content: counter(s);
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Zilla Slab', Georgia, serif;
	font-weight: 600;
}
.when {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.when div {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-size: 16px;
}
.when div:first-child {
	border-top: 0;
}
.when b {
	color: var(--navy);
}
.side .box.dk {
	background: var(--navy);
	color: #f2efe6;
	border: 0;
}
.side .box.dk h2 {
	color: #f2efe6;
}
.side .box.dk p {
	margin: 0;
	color: #c9d0dc;
	line-height: 1.5;
}
.side .btn {
	width: 100%;
}
.side .box.dk .btn {
	border-color: var(--gold);
	background: var(--gold);
	color: #17120a;
}
.side .box.dk .btn.o {
	background: transparent;
	color: #f2efe6;
	border-color: #3a4f72;
}
.upd {
	font-size: 13px;
	color: var(--mute);
}
@media (max-width: 700px) {
	.shero h1 {
		font-size: 32px;
	}
	.shero .fi {
		width: 52px;
		height: 52px;
	}
	.sgrid {
		grid-template-columns: 1fr;
	}
}
.when div b {
	text-align: right;
}

/* "Znajdź parafię" (/parafie): the search and its results */
.fp form.field {
	max-width: 640px;
}
.fpminor {
	margin-top: 14px;
}
.fpnote {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--ink2);
}
.fph {
	margin: 44px 0 16px;
	font-size: 26px;
}
.fpl {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.fpc {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
}
.fpi {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--navy);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 17px;
}
.fpb {
	flex: 1;
	min-width: 0;
}
.fpb h3 {
	margin: 0;
	font-size: 19px;
}
.fpb h3 a {
	color: var(--ink);
	text-decoration: none;
}
.fpb p {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--ink2);
}
.fpb .fpm {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--mute);
}
.fpa {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}
.fpmiss {
	margin-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-radius: 16px;
	background: var(--paper2);
}
.fpmiss h3 {
	margin: 0;
	font-size: 19px;
}
.fpmiss p {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--ink2);
}
@media (max-width: 720px) {
	.fpc {
		flex-wrap: wrap;
	}
	.fpa {
		width: 100%;
		justify-content: flex-start;
	}
	.fpmiss {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------- the films of the parish and its profiles elsewhere ---------- */
.vids {
	display: grid;
	gap: 16px;
}
.vmain {
	max-width: 880px;
}
.vplay,
.vframe {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--navy);
}
/* A reel of Facebook: upright, as high as the screen lets it. */
.vframe.vvert {
	aspect-ratio: 9 / 16;
	width: auto;
	height: min(78vh, 720px);
	max-width: 100%;
	margin: 0 auto;
}
/* A film of Facebook without a picture. */
.vnone {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	background: var(--navy);
	color: var(--gold);
	font-size: 14px;
	font-weight: 700;
}
.vplay img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.vbtn {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(19, 33, 53, 0.86);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 4px;
}
.vplay:hover .vbtn,
.vplay:focus-visible .vbtn {
	background: var(--navy);
}
.vtitle {
	margin: 10px 0 0;
	font-size: 17px;
	font-weight: 700;
}
.vrow {
	list-style: none;
	margin: 0;
	padding: 0 0 6px;
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}
.vrow li {
	flex: 0 0 220px;
	scroll-snap-align: start;
}
.vcard {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}
.vthumb {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid transparent;
}
.vcard[aria-current='true'] .vthumb {
	border-color: var(--gold);
}
.vthumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.social a {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1.5px solid currentColor;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pfoot .social a {
	color: #a3aec2;
	width: 36px;
	height: 36px;
}
/* Facebook and YouTube: their full marks (the letter and the triangle cut out) in the colour of the page. */
.social a.brand svg {
	display: block;
}
@media (max-width: 700px) {
	.vrow li {
		flex-basis: 70%;
	}
	.pfoot .social {
		order: -1;
	}
}

/* ---------- the photos of the header: whole in the width of the page, blurred around it ---------- */
.pslides {
	position: absolute;
	inset: 0;
	background: var(--navy2);
}
.pslide {
	position: absolute;
	inset: 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.9s ease;
}
.pslide.on {
	opacity: 1;
}
.pblur {
	position: absolute;
	inset: -48px;
	width: calc(100% + 96px);
	height: calc(100% + 96px);
	object-fit: cover;
	filter: blur(28px) brightness(0.8);
}
.pimg {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(100%, 1200px);
	height: 100%;
	object-fit: cover;
}
.pdots {
	display: flex;
	gap: 4px;
	margin-top: 22px;
}
.pdots button {
	height: 24px;
	padding: 0 4px;
	border: 0;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: center;
}
.pdots button::before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(242, 239, 230, 0.55);
	transition: width 0.3s ease;
}
.pdots button[aria-current='true']::before {
	width: 26px;
	background: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
	.pslide,
	.pdots button::before {
		transition: none;
	}
}
/* A screen wider than the page: the edges of the photo melt into the blurred one. */
@media (min-width: 1240px) {
	.pimg {
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	}
}
.vbtn svg {
	fill: currentColor;
}
.vthumb {
	background: var(--navy);
}

/* ---------- the note on the cookies (only the necessary ones) ---------- */
.cookies {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 50;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px 14px 20px;
	border-radius: 16px;
	background: var(--navy);
	color: #e6e2d6;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.cookies[hidden] {
	display: none;
}
.cookies .ckrow {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 14px;
}
.cookie-icon {
	flex-shrink: 0;
	transform-origin: 50% 55%;
	animation: cookie-wobble 900ms ease-out 300ms both;
}
@keyframes cookie-wobble {
	0% {
		transform: rotate(-16deg) scale(0.6);
	}
	45% {
		transform: rotate(8deg) scale(1.05);
	}
	75% {
		transform: rotate(-4deg) scale(1);
	}
	100% {
		transform: rotate(0deg) scale(1);
	}
}
@media (prefers-reduced-motion: reduce) {
	.cookie-icon {
		animation: none;
	}
}
.cookies p {
	margin: 0;
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
}
.cookies a {
	color: var(--gold2);
}
.cookies .btn.p {
	flex-shrink: 0;
	background: var(--gold);
	border-color: var(--gold);
	color: #17120a;
}
@media (max-width: 560px) {
	.cookies {
		flex-direction: column;
		align-items: stretch;
	}
}
.cookies button.btn {
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- "Napisz do nas" ---------- */
.formok {
	margin: 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: #e3efdc;
	color: #2c5121;
	font-weight: 600;
}
.cnote {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mute);
}
.cform .btn {
	align-self: flex-start;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.cform textarea.in {
	resize: vertical;
	min-height: 130px;
}
.cwrap {
	margin-top: 28px;
	max-width: 760px;
}

/* ---------- Artykuły: the cards, the archive, an article ---------- */
.arts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.artc {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}
.artc:hover h3 {
	text-decoration: underline;
}
.artimg {
	display: block;
	margin: -18px -18px 8px;
	aspect-ratio: 16 / 9;
	border-radius: 18px 18px 0 0;
	overflow: hidden;
	background: var(--paper2);
}
.artimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.artc .d {
	font-size: 13px;
	font-weight: 700;
	color: var(--mute);
}
.artc h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
}
.artc p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}
.ayear {
	margin: 36px 0;
}
.ayear h2 {
	margin: 0 0 14px;
	font-size: 26px;
}
.abody {
	max-width: 720px;
	margin: 12px 0 40px;
}
.abody h1 {
	margin: 10px 0 0;
	font-size: 40px;
	line-height: 1.12;
}
.abody .alead {
	margin: 16px 0 0;
	font-size: 20px;
	line-height: 1.5;
	color: var(--ink2);
}
.abody .acover {
	display: block;
	width: 100%;
	margin: 24px 0 8px;
	border-radius: 18px;
}
.abody h2 {
	margin: 28px 0 0;
	font-size: 24px;
}
.abody p {
	margin: 16px 0 0;
	font-size: 18px;
	line-height: 1.7;
	white-space: pre-line;
}
/* the lists and the quotations of the visual editor */
.abody ul,
.abody ol {
	margin: 16px 0 0;
	padding-left: 28px;
	font-size: 18px;
	line-height: 1.7;
}
.abody li + li {
	margin-top: 4px;
}
.abody blockquote {
	margin: 20px 0 0;
	padding: 2px 0 2px 20px;
	border-left: 3px solid var(--gold);
	color: var(--ink2);
}
.abody blockquote p {
	margin: 10px 0 0;
	font-style: italic;
}
.abody blockquote p:first-child {
	margin-top: 0;
}
/* a photo between the paragraphs, its caption */
.abody .afig {
	margin: 24px 0 0;
}
.abody .afig img {
	display: block;
	width: 100%;
	border-radius: 14px;
}
.abody .afig a[data-photo] {
	display: block;
	cursor: zoom-in;
}
/* a film between the paragraphs: its picture, then its player */
.abody .afilm .vplay img {
	border-radius: 0;
}
/* an album of the gallery between the paragraphs: its cover, its title, how many photos */
.abody .aalbum {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 24px 0 0;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}
.abody .aalbum:hover {
	border-color: var(--gold);
}
.abody .aalbum img {
	width: 132px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
	flex: none;
}
.abody .aalbum span {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.abody .aalbum small {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d1f;
}
.abody .aalbum b {
	font-size: 17px;
	line-height: 1.35;
}
.abody .aalbum span span {
	font-size: 14px;
	color: var(--mute);
}
/* a document of the library as a card: the big icon of its type, its name, its type and size */
.abody .afcard {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 24px 0 0;
	padding: 12px 16px 12px 12px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}
.abody .afcard:hover {
	border-color: var(--gold);
}
.abody .afcard-ic {
	display: flex;
	flex: none;
}
.abody .afcard-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.abody .afcard-body b {
	font-size: 17px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.abody .afcard-body span {
	font-size: 14px;
	color: var(--mute);
}
.abody .afcard-go {
	flex: none;
	color: #8a6d1f;
}
/* a document of the library in a line of the text: the icon of its type and its name */
a.afile {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
a.afile .afile-ic {
	display: inline-block;
	margin-right: 4px;
	vertical-align: -3px;
}
a.afile .afile-ic .ic,
a.afile .afile-ic svg {
	display: block;
}
.abody .afig figcaption {
	margin-top: 8px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--mute);
}
/* who wrote it and when: a frame under the text */
.aauthor {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 36px 0 0;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
}
.aauthor .av {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--navy);
	color: var(--gold2);
	font-family: 'Zilla Slab', serif;
	font-size: 20px;
	font-weight: 700;
}
.aauthor .who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.aauthor small {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mute);
}
.aauthor b {
	font-size: 18px;
	color: var(--navy);
}
.aauthor .who span {
	font-size: 14.5px;
	color: var(--ink2);
}
.afollow {
	margin: 28px 0 0;
	padding: 14px 18px;
	border-radius: 14px;
	background: var(--paper2);
	font-size: 15.5px;
}
.abody .afollow {
	font-size: 15.5px;
	line-height: 1.5;
	white-space: normal;
}
@media (max-width: 700px) {
	.abody h1 {
		font-size: 30px;
	}
	.abody p {
		font-size: 17px;
	}
}

/* ---------- the page of the films: the search, the tags, all the films ---------- */
.vhead {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	max-width: none;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
}
.vall {
	gap: 8px;
}
.vsearch {
	max-width: 640px;
	margin-top: 8px;
}
/* the categories of the films: a row of pills (it scrolls on a phone), the count in each */
.vcats {
	display: flex;
	gap: 8px;
	margin: 16px 0 8px;
	padding: 2px 0 6px;
	overflow-x: auto;
	scrollbar-width: thin;
}
.vcats .chip {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-color: var(--line);
	background: #fff;
	color: var(--navy);
	white-space: nowrap;
}
.vcats .chip b {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(23, 33, 53, 0.08);
	font-size: 12px;
	text-align: center;
}
.vcats .chip.on {
	background: var(--navy);
	border-color: var(--navy);
	color: #f2efe6;
}
.vcats .chip.on b {
	background: var(--gold);
	color: #17120a;
}
.vpage {
	margin: 24px 0 48px;
}
.vgrid {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px 14px;
}
.vtagline {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--mute);
}

/* ---------- the gallery: the albums, the photos, a photo big ---------- */
.albums {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px 16px;
}
.apage {
	margin: 24px 0 48px;
}
.albc {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--ink);
	text-decoration: none;
}
.albimg {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: var(--paper2);
}
.albimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
/* the cover of a group of films: 16:9, so the black bars of the thumbnails of YouTube (4:3) are cut off */
.albimg.vcov {
	aspect-ratio: 16 / 9;
}
.albc:hover .albimg img {
	transform: scale(1.03);
}
.albn {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 6px 0 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--navy);
	font-size: 13.5px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(19, 33, 53, 0.18);
}
.albn b {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--gold);
	color: #17120a;
	font-size: 12px;
	text-align: center;
}
.albt {
	margin-top: 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.albd {
	font-size: 13.5px;
	color: var(--mute);
}
.phgrid {
	list-style: none;
	margin: 24px 0 48px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
}
.phgrid a {
	display: block;
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--paper2);
}
.phgrid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.phcap {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--ink2);
}
.lbox {
	/* The whole window without its scrollbar (100vw would put the right buttons under it). */
	width: 100%;
	height: 100%;
	inset: 0;
	box-sizing: border-box;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 48px 64px 56px;
	border: 0;
	background: rgba(8, 14, 24, 0.94);
	color: #f2efe6;
}
.lbox[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.lbox::backdrop {
	background: rgba(8, 14, 24, 0.7);
}
.lbox img {
	max-width: 100%;
	max-height: calc(100vh - 140px);
	object-fit: contain;
	border-radius: 8px;
	/* back in its place after a finger let it go (it follows the finger while swiping) */
	transition: transform 0.2s ease;
	touch-action: pan-y pinch-zoom;
}
.lbox p {
	margin: 12px 0 0;
	min-height: 1.4em;
	font-size: 15px;
	text-align: center;
}
.lbx {
	position: absolute;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(242, 239, 230, 0.14);
	color: #f2efe6;
	font: 600 30px/1 sans-serif;
	cursor: pointer;
}
.lbx:hover,
.lbx:focus-visible {
	background: rgba(242, 239, 230, 0.28);
}
.lclose {
	top: 20px;
	right: max(28px, env(safe-area-inset-right));
}
.lprev {
	left: max(28px, env(safe-area-inset-left));
	top: 50%;
	transform: translateY(-50%);
}
.lnext {
	right: max(28px, env(safe-area-inset-right));
	top: 50%;
	transform: translateY(-50%);
}
.lcount {
	position: absolute;
	top: 26px;
	left: 20px;
	font-size: 14px;
	font-weight: 700;
	opacity: 0.8;
}
@media (max-width: 700px) {
	.lbox {
		padding: 56px 8px 64px;
	}
	.lprev,
	.lnext {
		top: auto;
		bottom: max(16px, env(safe-area-inset-bottom));
		transform: none;
	}
	.lprev {
		left: 20px;
	}
	.lnext,
	.lclose {
		right: 20px;
	}
	.phgrid {
		grid-template-columns: repeat(3, 1fr);
		gap: 4px;
	}
	.phgrid a {
		border-radius: 6px;
	}
}

/* ---------- a bar whose links do not fit (the script of the layout): the menu of the button ---------- */
.nav nav,
.nav nav a {
	white-space: nowrap;
}
.nav nav {
	flex-shrink: 0;
}
.nav.tight nav,
.nav.tight .acts .hide-m {
	display: none;
}
.nav.tight .burger {
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	background: none;
	color: var(--navy);
	cursor: pointer;
}
.nav.tight .pbrand small {
	white-space: nowrap;
}
.navmore {
	flex-shrink: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--ink2);
	cursor: pointer;
	white-space: nowrap;
}
.navmore::after {
	content: ' ▾';
	font-size: 0.8em;
}
.navmore[aria-expanded='true']::after {
	content: ' ▴';
}
.navmore[hidden] {
	display: none;
}

/* an address in a text of the parish: a link with the icon of an outside page */
a.lnk {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
a.lnk .lnk-ic {
	display: inline-block;
	margin-left: 4px;
	vertical-align: -1px;
	color: var(--gold);
}

/* Udostępnij: the address of the page to the menu of the phone, to Facebook, WhatsApp, X, copied */
.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 28px 0 0;
}
.share-b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.share-b:hover {
	border-color: var(--navy);
}
.share-b[hidden] {
	display: none;
}
/* Udostępnij: its list under it (Facebook, WhatsApp, X, other apps) */
.share-menu {
	position: relative;
}
.share-menu > summary {
	list-style: none;
}
.share-menu > summary::-webkit-details-marker {
	display: none;
}
.share-menu > summary .ic:last-child {
	transition: transform 0.18s ease;
}
.share-menu[open] > summary {
	border-color: var(--navy);
}
.share-menu[open] > summary .ic:last-child {
	transform: rotate(180deg);
}
.share-list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	min-width: 200px;
	display: flex;
	flex-direction: column;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(19, 33, 53, 0.16);
	animation: softin 0.18s ease both;
}
.share-list.share-end {
	left: auto;
	right: 0;
}
.share-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--navy);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.share-item:hover,
.share-item:focus-visible {
	background: var(--paper2);
}
.share-item[hidden] {
	display: none;
}

/* Udostępnij in the box of a photo: under its caption, on the dark */
.lshare {
	display: flex;
	justify-content: center;
}
.lshare {
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
}
.lshare .share {
	margin: 0;
}
.lshare .like[hidden] {
	display: none;
}
.lshare .share-list {
	top: auto;
	bottom: calc(100% + 6px);
}
/*
	On a narrow phone the three do not fit in a row of pills: they become three equal buttons side
	by side, the icon over the words (Lubię to with its number), like the bar of an app.
*/
@media (max-width: 560px) {
	.lshare {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		align-items: stretch;
		gap: 6px;
		width: 100%;
	}
	.lshare .share {
		display: contents;
	}
	.lshare .share-menu {
		display: flex;
		min-width: 0;
	}
	.lshare .like,
	.lshare .share-b {
		width: 100%;
		min-width: 0;
		height: auto;
		min-height: 56px;
		padding: 7px 4px;
		border-radius: 14px;
		font-size: 12.5px;
		line-height: 1.2;
		white-space: nowrap;
	}
	.lshare .share-b {
		flex-direction: column;
		justify-content: center;
		gap: 4px;
	}
	/* Lubię to: the heart over the words and the number */
	.lshare .like {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: center;
		align-content: center;
		align-items: center;
		column-gap: 5px;
		row-gap: 4px;
	}
	.lshare .like .ic {
		grid-column: 1 / -1;
		justify-self: center;
	}
	.lshare .like b {
		min-width: 0;
		padding: 0 6px;
		font-size: 11px;
	}
	/* the arrow of the list: on a phone Udostępnij opens the menu of the phone itself */
	.lshare .share-menu > summary .ic:last-child {
		display: none;
	}
	.lshare .share-list {
		left: 50%;
		transform: translateX(-50%);
	}
}

/* the map of the church in the contact: our map with its pin (none without a pin) */
.smapbox {
	position: relative;
	padding: 0;
	overflow: hidden;
}
/* MapLibre makes its box `relative`: here it fills the place of the map. */
.contact .smapbox .smap {
	position: absolute;
	inset: 0;
	height: 100%;
}
.smapgo {
	position: absolute;
	right: 12px;
	bottom: 28px;
	z-index: 2;
	padding: 8px 14px;
	border-radius: 10px;
	background: #fff;
	color: var(--navy);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(19, 33, 53, 0.25);
}
/* No pin of the church: the contact alone, the whole width. */
.contact:not(:has(.map)) {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------- gentle motion: a page of the history, the box of a photo, the cards ---------- */
@keyframes softin {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.hpage:not([hidden]) {
	animation: softin 0.35s ease both;
}
.lbox[open] {
	animation: fadein 0.2s ease both;
}
.lbox[open] img {
	animation: softin 0.3s ease both;
}
.albc,
.artc,
.vcard,
.aalbum,
.afcard,
.share-b,
.hbtn {
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease,
		background-color 0.18s ease;
}
.albc .albimg img,
.artimg img,
.phgrid img,
.vthumb img {
	transition: transform 0.4s ease;
}
/* The cards stay where they are; the photo in them comes a little closer. */
.albc:hover .albimg img,
.artc:hover .artimg img,
.phgrid a:hover img,
.vcard:hover .vthumb img {
	transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
	.hpage:not([hidden]),
	.lbox[open],
	.lbox[open] img,
	.share-list,
	.like[aria-pressed='true'] .ic {
		animation: none;
	}
	.albc,
	.artc,
	.vcard,
	.aalbum,
	.afcard,
	.share-b,
	.hbtn,
	.albc .albimg img,
	.artimg img,
	.phgrid img,
	.vthumb img {
		transition: none;
	}
	.albc:hover .albimg img,
	.artc:hover .artimg img,
	.phgrid a:hover img,
	.vcard:hover .vthumb img {
		transform: none;
	}
}

/* ---------- the tools of reading: the size of the text, Drukuj ---------- */
.rtools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* The groups (the size, reading and printing, sharing) go to the next row whole. */
	gap: 10px 18px;
	margin: 12px 0 22px;
}
.rgroup,
.rtools .share {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.rbtn[hidden],
.rbtn [hidden] {
	display: none;
}
.rbtn > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.rbtn[aria-pressed='true'] {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}
/* Czytaj na głos: the paragraph read now */
.rnow {
	background: rgba(214, 180, 110, 0.24);
	box-shadow: 0 0 0 6px rgba(214, 180, 110, 0.24);
	border-radius: 4px;
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}
.rtools-l {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mute);
	margin-right: 4px;
}
.rbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 40px;
	height: 36px;
	justify-content: center;
	padding: 0 12px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.18s ease;
}
.rbtn:hover {
	border-color: var(--navy);
}
/* The text in the size chosen (the same as in the app). */
.readable {
	zoom: var(--read, 1);
}

/* ---------- printing: the text alone ---------- */
@media print {
	.nav,
	.pnav,
	.moremenu,
	.sitemenu,
	.pfoot,
	footer.pfoot,
	.rtools,
	.share,
	.afollow,
	.ayear,
	.crumb,
	.appstrip,
	.cookie,
	.ckbar,
	.lbox,
	.smapbox,
	.sgrid aside,
	.pzoom,
	.like,
	.alike,
	script {
		display: none !important;
	}
	body {
		background: #fff;
		color: #000;
	}
	.readable {
		zoom: 1;
	}
	.abody,
	.wrap {
		max-width: none;
		margin: 0;
		padding: 0;
	}
	a {
		color: inherit;
		text-decoration: none;
	}
	.abody .afig,
	.box {
		break-inside: avoid;
	}
	/* A sacrament: its boxes over the whole width (the office and the others are not printed). */
	.sgrid {
		display: block;
		padding-bottom: 0;
	}
	.sintro {
		max-width: none;
	}
}

/* the magnifier of the photos of the header */
.phero .pzoom {
	position: absolute;
	/* The top right corner of the photo (as wide as the page at most, in the middle). */
	top: 16px;
	right: calc(max(0px, (100% - 1200px) / 2) + 16px);
	z-index: 4;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(242, 239, 230, 0.35);
	border-radius: 50%;
	background: rgba(19, 33, 53, 0.45);
	color: #f2efe6;
	cursor: zoom-in;
	backdrop-filter: blur(4px);
	transition: background-color 0.18s ease;
}
.phero .pzoom:hover {
	background: rgba(19, 33, 53, 0.75);
}
@media (prefers-reduced-motion: reduce) {
	.phero .pzoom {
		transition: none;
	}
}

/* under the film: its description and its likes */
.vdesc {
	margin: 6px 0 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink2);
	white-space: pre-line;
	max-width: 760px;
}
.vdesc[hidden] {
	display: none;
}
.like {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 12px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition:
		border-color 0.18s ease,
		background-color 0.18s ease;
}
.like:hover {
	border-color: #b4232c;
}
.like .ic {
	color: #b4232c;
	transition: transform 0.2s ease;
}
.like[aria-pressed='true'] {
	border-color: #b4232c;
	background: #fdf0f0;
}
.like[aria-pressed='true'] .ic {
	fill: currentColor;
	animation: likepop 0.3s ease;
}
.like b {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--paper2);
	font-size: 12px;
	text-align: center;
}
@keyframes likepop {
	50% {
		transform: scale(1.25);
	}
}
/* "Podobał się wpis?" after the text, over its author */
.abody .alike + .aauthor {
	margin-top: 14px;
}
.abody .alike {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 24px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
}
.vacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
}
.vacts .share {
	margin: 0;
}

/* the archive of the articles: the words of following them, away from the footer */
.afollow {
	margin-bottom: 48px;
}

/* the page of the films: the player and what is under it in one card */
.vpage .vmain {
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 6px 22px rgba(19, 33, 53, 0.06);
}
.vpage .vmain .vplay,
.vpage .vmain .vframe {
	border-radius: 14px;
}
.vinfo {
	padding: 16px 12px 6px;
}
.vinfo .kick {
	display: block;
	margin-bottom: 4px;
}
.vinfo .vtitle {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
}
.vinfo .vdesc {
	margin-top: 8px;
}
.vinfo .vacts {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
	.vpage .vmain {
		padding: 6px;
		border-radius: 18px;
	}
	.vinfo {
		padding: 12px 8px 4px;
	}
	.vinfo .vtitle {
		font-size: 19px;
	}
}

/* Polecamy: the newest film of each playlist chosen, one card each, side by side */
.pfeat {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 18px;
}
/* the cards of one line share the heights of their parts (subgrid): the films stand in one line */
.pfeat > li {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	row-gap: 0;
}
.fcard {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	row-gap: 6px;
	align-content: start;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
}
/* the heading with its subtitle: the room left over stays under them, above the film */
.ftop {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fcard h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.fcard h3 a {
	color: inherit;
	text-decoration: none;
}
.fcard h3 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-underline-offset: 3px;
}
.fsub {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--mute);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.fplay {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 6px;
	color: var(--ink);
	text-decoration: none;
}
.fplay .vthumb {
	position: relative;
	border: 0;
	background: var(--paper2);
}
.fplay .vbtn {
	width: 52px;
	height: 52px;
}
.fplay:hover .vthumb img {
	transform: scale(1.04);
}
.ftitle {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.fsrc {
	margin-top: -4px;
	font-size: 13px;
	color: var(--mute);
}
/* Zobacz wszystkie: the whole playlist, with how many films it has */
.fall {
	align-self: end;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	margin-top: 6px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--navy);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color 0.18s ease;
}
.fall:hover {
	border-color: var(--gold);
}
.fall b {
	min-width: 22px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--gold);
	color: #17120a;
	font-size: 12px;
	text-align: center;
}
/* on a phone the cards of Polecamy stand in one row that scrolls sideways (the next one peeks out) */
@media (max-width: 700px) {
	.pfeat {
		grid-template-columns: none;
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		grid-auto-columns: 84%;
		gap: 0 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
	}
	.pfeat > li {
		scroll-snap-align: start;
	}
}
/*
	On a phone the albums of the gallery and the films of the start page (`mrow`: two of them or more)
	stand in one row that scrolls sideways too, as Polecamy. Of the films the player is the first card
	and the film in it is not in the row again; a card tapped plays in the first card (videos_script
	puts it there and scrolls the row back to it).
*/
@media (max-width: 700px) {
	.mrow {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 84%;
		gap: 0 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
	}
	.mrow > *,
	.mrow .vrow > li {
		scroll-snap-align: start;
	}
	.mrow .vrow {
		display: contents;
	}
	.mrow .vrow > li:has(> [aria-current='true']) {
		display: none;
	}
	/* the first card as the others: the picture in the same frame, the button of Polecamy, the title under it */
	.mrow .vplay,
	.mrow .vframe {
		border-radius: 12px;
	}
	.mrow .vplay {
		border: 2px solid transparent;
	}
	.mrow .vbtn {
		width: 52px;
		height: 52px;
	}
	.mrow .vbtn svg {
		width: 22px;
		height: 22px;
	}
	.mrow .vtitle {
		margin-top: 6px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.35;
	}
}
/* the page of a playlist of YouTube: its source; the groups of the page of the films; its pages */
.vsource {
	margin: 6px 0 0;
	font-size: 14.5px;
	color: var(--ink2);
}
.vsource a {
	color: var(--navy);
	font-weight: 700;
}
.vgroup {
	margin: 34px 0 14px;
	font-size: 24px;
}
.vpager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 34px 0 64px;
	font-weight: 700;
}
.vpnums {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.vpbtn,
.vpnum {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: 14.5px;
	text-decoration: none;
	transition: border-color 0.18s ease;
}
.vpbtn:hover,
a.vpnum:hover {
	border-color: var(--navy);
}
.vpnum[aria-current='page'] {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}
.vpgap {
	color: var(--mute);
	padding: 0 2px;
}
.vpnarrow {
	display: none;
}
@media (max-width: 700px) {
	.vpbtn span,
	.vpstep,
	.vpwide {
		display: none;
	}
	.vpnarrow {
		display: inline-flex;
	}
	.vpager {
		gap: 5px;
	}
	.vpbtn,
	.vpnum {
		min-width: 36px;
		height: 36px;
		padding: 0 9px;
	}
}

/* "Zainstaluj aplikację" (/zainstaluj): the app installed from the browser */
.inst .dpg {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.iperks {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.iperks li,
.iparish,
.idone {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.iperks b,
.idone b {
	display: block;
	font-size: 17px;
	margin: 2px 0 2px;
}
.iperks span:not(.gic),
.idone span:not(.gic) {
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--ink2);
}
.gic {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--navy);
	color: var(--gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.iparish {
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--paper2);
	color: var(--ink2);
	font-size: 15.5px;
}
.iparish .ic {
	color: #8a6d2e;
}
.inst .sub {
	flex-wrap: wrap;
}
.istatus:empty {
	display: none;
}
.istatus {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink2);
}
.idone {
	align-items: center;
	flex-wrap: wrap;
	padding: 22px 24px;
	border-radius: 20px;
	background: var(--navy);
	color: #f2efe6;
}
.idone > div {
	flex: 1;
	min-width: 200px;
}
.idone b {
	color: #f2efe6;
}
.idone span:not(.gic) {
	color: #c9d0dc;
}
.idone .gic {
	background: var(--gold);
	color: var(--navy);
}
.ioff {
	margin-top: 0;
}
.istores {
	margin-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.iguides {
	padding: 28px 30px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid var(--line);
}
.imain {
	margin-top: 14px;
	border-radius: 16px;
}
.imain.flash {
	animation: iflash 1.4s ease-out;
}
@keyframes iflash {
	0% {
		box-shadow: 0 0 0 4px rgba(214, 180, 110, 0.85);
	}
	100% {
		box-shadow: 0 0 0 14px rgba(214, 180, 110, 0);
	}
}
.iguide h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 24px;
	margin-bottom: 20px;
	outline: none;
}
.iguide ol.tl {
	list-style: none;
	margin: 0;
	padding: 0;
}
.iguide .tl b {
	margin-top: 7px;
}
.key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 4px;
	margin: 0 2px;
	vertical-align: middle;
	border-radius: 7px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--navy);
	font-weight: 700;
	font-size: 14px;
}
.gnote {
	margin: 4px 0 0;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--paper2);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ink2);
}
.gwarn {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #fbf0d9;
	border: 1px solid #ecd6a4;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
}
.gwarn .btn {
	margin-top: 10px;
	min-height: 40px;
	padding: 0 14px;
	font-size: 15px;
}
.ilist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ilist b {
	display: block;
	font-size: 16.5px;
	margin-bottom: 2px;
}
.ilist span {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink2);
}
.iothers {
	margin-top: 22px;
	border-top: 1px solid var(--line);
}
.iothers > summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 0 4px;
	cursor: pointer;
	font-weight: 700;
	font-size: 17px;
	color: var(--navy);
}
.iothers > summary::-webkit-details-marker {
	display: none;
}
.iothers[open] > summary .ic {
	transform: rotate(180deg);
}
.iothers .iguide {
	padding-top: 22px;
	margin-top: 18px;
	border-top: 1px dashed var(--line);
}
.iothers .iguide:first-child {
	border-top: 0;
	margin-top: 0;
}
.iothers .iguide h3 {
	font-size: 20px;
}
.iothers .gic {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}
@media (max-width: 900px) {
	.inst .dpg {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}
@media (max-width: 700px) {
	.iguides {
		padding: 22px 18px;
	}
	.iguide h3 {
		font-size: 21px;
	}
	.inst .sub .btn {
		flex: 1;
	}
	.idone .btn {
		width: 100%;
	}
}
/* the block of the app of a parish: "Otwórz aplikację" and "Zainstaluj" */
.appacts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.appstrip .btn.o {
	background: transparent;
	color: #f2efe6;
	border-color: #3a4f72;
}
