/*
Theme Name:   Boring Photog
Theme URI:    https://boringbrand.pl/
Description:  Motyw potomny Blocksy dla fotografów: stały panel boczny z menu, pozioma galeria z paskiem przewijania, lightbox, jasny minimalistyczny wygląd i lokalna czcionka Raleway. Wymaga motywu Blocksy (wersja darmowa wystarczy).
Author:       Szymon Fiutak
Template:     blocksy
Version: 2.0.1
Requires at least: 6.2
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  boring-photog
*/

/* ==========================================================================
   Czcionka Raleway (lokalnie, bez Google Fonts – zgodne z RODO)
   ========================================================================== */
@font-face {
	font-family: "Raleway";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/raleway-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Raleway";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/raleway-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Raleway";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/raleway-italic-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Raleway";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/raleway-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Zmienne i kolory (nadpisują paletę Blocksy)
   ========================================================================== */
:root {
	--lense-sidebar: 300px;
	--lense-dark: #2c2c2c;
	--lense-text: #494949;
	--lense-muted: #8a8a8a;
	--lense-line: #e6e6e6;
	--lense-track: #e6e6e6;
	--lense-gap: 12px;
	--lense-accent: #2c2c2c;
	--lense-page-bg: #ffffff;
	--lense-sidebar-bg: #ffffff;
	--lense-scroller-offset: 140px;
	--lense-menu-size: 11px;
	--lense-font-body: "Raleway", sans-serif;
	--lense-font-heading: "Raleway", sans-serif;

	--theme-palette-color-1: #2c2c2c;
	--theme-palette-color-2: #494949;
	--theme-palette-color-3: #8a8a8a;
	--theme-palette-color-4: #2c2c2c;
	--theme-palette-color-5: #e6e6e6;
	--theme-palette-color-6: #f1f1f1;
	--theme-palette-color-7: #fafafa;
	--theme-palette-color-8: #ffffff;
	--theme-text-color: #494949;
	--theme-headings-color: #2c2c2c;
	--theme-link-initial-color: #2c2c2c;
	--theme-link-hover-color: #000000;
	--theme-font-family: "Raleway", sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: var(--lense-font-body);
}

body {
	font-size: 15px;
	line-height: 1.7;
	color: var(--lense-text);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
	font-family: var(--lense-font-heading);
	font-weight: 600;
	color: var(--lense-dark);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 16px; }

/* ==========================================================================
   Lewy panel (tylko desktop). Na mobile działa standardowy nagłówek Blocksy.
   ========================================================================== */
.lense-sidebar {
	display: none;
}

@media (min-width: 1000px) {
	body.lense-layout #header {
		display: none;
	}

	body.lense-layout #main-container {
		padding-left: var(--lense-sidebar);
	}

	/* Blocksy liczy szerokość kontenera od 90vw; obok panelu wychodzi 100% i znikają marginesy. */
	body.lense-layout {
		--theme-container-width: min(calc(100% - 80px), calc(90vw - var(--lense-sidebar)));
	}

	.lense-sidebar {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: var(--lense-sidebar);
		padding: 44px 40px 32px 44px;
		overflow-y: auto;
		background: var(--lense-sidebar-bg);
		z-index: 50;
		box-sizing: border-box;
		scrollbar-width: thin;
	}

	body.admin-bar .lense-sidebar {
		top: 32px;
	}

	.lense-sidebar__brand {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 44px;
	}

	.lense-sidebar__brand img {
		max-width: 100%;
		height: auto;
		display: block;
	}

	.lense-sidebar__title {
		display: block;
		font-size: 20px;
		font-weight: 400;
		line-height: 1.05;
		letter-spacing: 0.01em;
		text-transform: uppercase;
		color: var(--lense-dark);
		text-decoration: none;
	}

	.lense-sidebar__title span {
		display: block;
	}
}

@media (min-width: 1000px) and (max-width: 1279px) {
	.lense-sidebar {
		padding: 36px 28px 28px 32px;
	}
}

/* Menu */
.lense-menu,
.lense-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lense-menu li {
	position: relative;
	margin: 0;
}

.lense-menu a {
	display: block;
	padding: 5px 0;
	font-size: var(--lense-menu-size);
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lense-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.lense-menu a:hover,
.lense-menu .current-menu-item > a,
.lense-menu .current-menu-ancestor > a,
.lense-menu .current_page_item > a {
	color: #000;
}

.lense-menu .current-menu-item > a::before,
.lense-menu .current_page_item > a::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2.5px;
	border-radius: 50%;
	background: var(--lense-accent);
}

.lense-menu .menu-item-has-children > a {
	padding-right: 18px;
}

.lense-menu .menu-item-has-children > a::after {
	content: "\203A";
	position: absolute;
	right: 4px;
	top: 3px;
	font-size: 14px;
	line-height: 1.4;
	transition: transform 0.2s ease;
}

.lense-menu .menu-item-has-children:hover > a::after,
.lense-menu .current-menu-ancestor > a::after {
	transform: rotate(90deg);
}

.lense-menu .sub-menu {
	display: none;
	padding: 2px 0 6px 12px;
}

.lense-menu li:hover > .sub-menu,
.lense-menu li:focus-within > .sub-menu,
.lense-menu .current-menu-ancestor > .sub-menu {
	display: block;
}

/* Widget "O mnie" */
.lense-sidebar__widgets {
	margin-top: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--lense-line);
}

.lense-sidebar__widgets .widget {
	margin: 0 0 20px;
}

.lense-sidebar__widgets .widget-title,
.lense-sidebar__widgets h2,
.lense-sidebar__widgets h3 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--lense-dark);
}

.lense-sidebar__widgets p {
	margin: 0 0 10px;
	font-size: 11px;
	line-height: 1.8;
	color: var(--lense-text);
}

/* Social */
.lense-social {
	margin-top: 28px;
}

.lense-sidebar .lense-social {
	margin-top: 40px;
	padding-top: 48px;
	border-top: 1px solid var(--lense-line);
}

.lense-social ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lense-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 37px;
	background: var(--lense-accent);
	color: var(--lense-page-bg);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: lowercase;
	text-decoration: none;
	transition: background 0.2s ease;
}

.lense-social a:hover {
	opacity: 0.8;
	color: var(--lense-page-bg);
}

.lense-sidebar__footer {
	margin-top: auto;
	padding-top: 24px;
	font-size: 10px;
	color: var(--lense-muted);
}

/* ==========================================================================
   Galerie – style bloku "Galeria"
   ========================================================================== */

/* Wspólne */
.wp-block-gallery[class*="is-style-lense-"] {
	--wp--style--unstable-gallery-gap: var(--lense-gap);
	gap: var(--lense-gap);
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-gallery[class*="is-style-lense-"] .wp-block-image img {
	transition: opacity 0.25s ease;
}

.wp-block-gallery[class*="is-style-lense-"] .wp-block-image:hover img {
	opacity: 0.88;
}

/* 1. Scroller – poziomy pas zdjęć z paskiem postępu */
.wp-block-gallery.is-style-lense-scroller {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	cursor: grab;
	height: calc(100vh - var(--lense-scroller-offset));
	min-height: 320px;
}

.wp-block-gallery.is-style-lense-scroller::-webkit-scrollbar {
	display: none;
}

.wp-block-gallery.is-style-lense-scroller.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.wp-block-gallery.is-style-lense-scroller .wp-block-image {
	flex: 0 0 auto !important;
	width: auto !important;
	height: 100%;
	margin: 0;
	scroll-snap-align: start;
}

.wp-block-gallery.is-style-lense-scroller .wp-block-image img {
	height: 100% !important;
	width: auto !important;
	max-width: none;
	object-fit: cover;
	-webkit-user-drag: none;
	user-select: none;
}

/* Pasek pod galerią: szary tor + ciemny uchwyt do przeciągania (jak w Lense). */
.lense-progress-row {
	margin: 22px 0 0;
	padding: 0 4px;
}

.lense-progress {
	position: relative;
	height: 20px;
	cursor: pointer;
	touch-action: none;
	user-select: none;
}

.lense-progress::before {
	content: "";
	position: absolute;
	top: 4px;
	right: -4px;
	left: -4px;
	height: 12px;
	border-radius: 12px;
	background: var(--lense-track);
}

.lense-progress__bar {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 20%;
	height: 20px;
	border-radius: 20px;
	background: var(--lense-accent);
	cursor: grab;
	will-change: transform;
}

.lense-progress.is-dragging .lense-progress__bar {
	cursor: grabbing;
}

@media (max-width: 999px) {
	.wp-block-gallery.is-style-lense-scroller {
		height: 62vh;
	}
}

/* ==========================================================================
   Pozostałe elementy
   ========================================================================== */
.entry-title {
	font-size: 22px;
}

.wp-block-button__link,
.ct-button,
button[type="submit"],
input[type="submit"] {
	border-radius: 0;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
	border-radius: 0;
}

.ct-footer {
	font-size: 12px;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
body.lense-mod-lightbox .wp-block-gallery .wp-block-image img,
body.lense-mod-lightbox .entry-content .wp-block-image img {
	cursor: zoom-in;
}

body.lense-mod-lightbox .wp-block-gallery.is-style-lense-scroller .wp-block-image img {
	cursor: grab;
}

.lense-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(12, 12, 12, 0.95);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lense-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lense-lightbox__img {
	max-width: calc(100vw - 140px);
	max-height: calc(100vh - 100px);
	width: auto;
	height: auto;
	object-fit: contain;
	user-select: none;
}

.lense-lightbox__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	text-align: center;
	font-size: 12px;
	color: #bdbdbd;
}

.lense-lightbox button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.75;
}

.lense-lightbox button:hover,
.lense-lightbox button:focus-visible {
	opacity: 1;
}

.lense-lightbox__close {
	top: 14px;
	right: 14px;
}

.lense-lightbox__prev {
	left: 14px;
	top: 50%;
	margin-top: -24px;
}

.lense-lightbox__next {
	right: 14px;
	top: 50%;
	margin-top: -24px;
}

.lense-lightbox__counter {
	position: absolute;
	top: 26px;
	left: 24px;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #bdbdbd;
}

@media (max-width: 599px) {
	.lense-lightbox__img {
		max-width: 100vw;
		max-height: calc(100vh - 120px);
	}
}

/* ==========================================================================
   Etykiety i linki w treści (klasy dodawane w edytorze: Zaawansowane → Dodatkowe klasy CSS)
   ========================================================================== */

.lense-label,
.lense-more {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.lense-label {
	color: var(--lense-muted);
}

.lense-more a {
	color: var(--lense-dark);
	text-decoration: none;
}

.lense-more a:hover {
	color: var(--lense-muted);
}

/* ==========================================================================
   Jasny, minimalistyczny wygląd (klasa body.lense-light na każdej stronie)
   ========================================================================== */

body.lense-light {
	--theme-text-color: var(--lense-text);
	--theme-headings-color: var(--lense-dark);
	--theme-heading-color: var(--lense-dark);
	--theme-link-initial-color: var(--lense-dark);
	--theme-link-hover-color: var(--lense-muted);
	--theme-font-family: var(--lense-font-body);
	background-color: #ffffff !important;
	color: var(--lense-text);
}

body.lense-light :is(h1, h2, h3, h4, h5, h6) {
	--theme-font-family: var(--lense-font-heading);
	--theme-font-weight: 300;
	--theme-text-transform: none;
	font-family: var(--lense-font-heading);
	font-weight: 300;
	text-transform: none;
	color: var(--lense-dark);
}

body.lense-light .ct-trending-block,
body.lense-light .ct-related-posts-container {
	display: none;
}

/* Menu mobilne (offcanvas Blocksy): białe tło, tylko menu i ikony social. */
body.lense-light #offcanvas {
	--theme-icon-color: var(--lense-dark);
	background: #ffffff !important;
}

body.lense-light #offcanvas .ct-toggle-close {
	--theme-icon-color: var(--lense-dark);
	color: var(--lense-dark) !important;
}

body.lense-light #offcanvas :is(.ct-header-text, .ct-header-cta) {
	display: none !important;
}

body.lense-light #offcanvas .mobile-menu {
	--menu-items-spacing: 22px;
}

body.lense-light #offcanvas .mobile-menu a {
	font-family: var(--lense-font-body) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lense-muted) !important;
}

body.lense-light #offcanvas .mobile-menu :is(.current-menu-item, .current_page_item) > a {
	color: var(--lense-dark) !important;
}

body.lense-light #offcanvas .ct-header-socials :is(a, .ct-icon-container) {
	--theme-icon-color: var(--lense-dark);
	background: transparent !important;
	color: var(--lense-dark) !important;
}

body.lense-light #offcanvas .ct-header-socials svg {
	fill: var(--lense-dark) !important;
}

/* Lista wpisów (archiwum Blocksy): 2 kolumny, zdjęcie → kategoria → tytuł → data, bez tła kart. */
body.lense-light .hero-section[data-type="type-2"] {
	min-height: 0 !important;
	--min-height: 0;
	padding-top: 0 !important;
}

body:not(.single).lense-light .hero-section[data-type="type-2"] {
	height: auto !important;
	background: none !important;
}

body:not(.single).lense-light .hero-section[data-type="type-2"] > figure,
body.lense-light .hero-section .ct-breadcrumbs,
body.lense-light .hero-section .page-description {
	display: none;
}

body:not(.single).lense-light .hero-section[data-type="type-2"] .entry-header {
	position: static !important;
	width: var(--theme-container-width);
	min-height: 0;
	margin: 0 auto;
	padding: 88px 0 0 !important;
	text-align: left !important;
	align-items: flex-start !important;
}

body:not(.single).lense-light .hero-section .page-title {
	font-family: var(--lense-font-body) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase !important;
	color: var(--lense-muted) !important;
}

body.lense-light .entries[data-layout="grid"] {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 48px !important;
	row-gap: 72px !important;
}

body.lense-light .entry-card {
	gap: 12px;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* "boundless" w Blocksy poszerza zdjęcie o padding karty; bez paddingu wchodziło na sąsiednią kolumnę. */
body.lense-light .entry-card > .ct-media-container {
	width: 100% !important;
	max-width: 100%;
	order: -2;
	margin: 0 0 6px !important;
	border-radius: 0;
}

body.lense-light .entry-card > .entry-meta:first-of-type {
	order: -1;
}

body.lense-light .entry-card .meta-categories a {
	padding: 0 !important;
	background: none !important;
	color: var(--lense-muted) !important;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

body.lense-light .entry-card .entry-title {
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1.3;
	text-transform: none !important;
}

body.lense-light .entry-card .entry-title a {
	color: var(--lense-dark);
}

body.lense-light .entry-card .entry-meta {
	--theme-text-color: var(--lense-muted);
	font-size: 12px;
	color: var(--lense-muted);
}

body.lense-light .entry-card .entry-excerpt,
body.lense-light .entry-card .entry-button,
body.lense-light .entry-card .meta-author {
	display: none;
}

/* Stronicowanie: Blocksy miał tu prawie biały kolor (widoczny dopiero po najechaniu). */
body.lense-light .ct-pagination .page-numbers {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lense-muted) !important;
}

body.lense-light .ct-pagination .page-numbers:is(.current, :hover) {
	color: var(--lense-dark) !important;
}

/* Bieżąca strona: sama ciemna cyfra z cienką kreską, bez szarego kwadratu z Blocksy. */
body.lense-light .ct-pagination .page-numbers.current {
	background: transparent !important;
	box-shadow: inset 0 -1px 0 var(--lense-dark) !important;
	border-radius: 0 !important;
}

/* Odstęp pod stronicowaniem, żeby przycisk „do góry” nie zasłaniał „Następne”. */
body.lense-light .ct-pagination {
	margin-bottom: 120px;
}

@media (max-width: 689.98px) {
	body.lense-light .entries[data-layout="grid"] {
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 48px !important;
	}
}

/* Przezroczysty nagłówek mobilny Blocksy nie może zachodzić na galerię. */
body.lense-light #header [data-device="mobile"][data-transparent] {
	position: relative !important;
}

body.lense-light #header [data-device="mobile"] [data-transparent-row="yes"] {
	background-color: #fff !important;
}

/* Pojedynczy wpis: tytuł i data nad zdjęciem, zamiast tytułu na zdjęciu. */
body.lense-light.single .hero-section[data-type="type-2"] {
	display: flex;
	flex-direction: column-reverse;
	height: auto;
}

body.lense-light.single .hero-section[data-type="type-2"] > figure {
	position: relative !important;
	inset: auto !important;
	width: var(--theme-container-width);
	height: auto;
	margin: 0 auto;
}

body.lense-light.single .hero-section[data-type="type-2"] > figure::after,
body.lense-light.single .hero-section[data-type="type-2"] > figure .ct-media-container::after {
	display: none !important;
}

body.lense-light.single .hero-section[data-type="type-2"] > figure .ct-media-container {
	height: auto;
	aspect-ratio: 16 / 9;
}

body.lense-light.single .hero-section[data-type="type-2"] > figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.lense-light.single .hero-section[data-type="type-2"] .entry-header {
	--theme-text-color: var(--lense-muted);
	position: static !important;
	width: var(--theme-container-width);
	min-height: 0;
	margin: 0 auto;
	padding: 72px 0 40px !important;
	text-align: left !important;
	align-items: flex-start !important;
}

body.lense-light.single .hero-section .page-title {
	max-width: 760px;
	font-family: var(--lense-font-heading) !important;
	font-size: clamp(30px, 3.2vw, 44px) !important;
	font-weight: 300 !important;
	line-height: 1.2;
	text-transform: none !important;
	color: var(--lense-dark) !important;
}

body.lense-light.single .hero-section .entry-meta,
body.lense-light.single .hero-section .entry-meta a {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lense-muted) !important;
}

/* Formularz kontaktowy (Fluent Forms): pola z samą dolną linią, obrysowany przycisk. */
body.lense-light .fluentform :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select) {
	border: 0 !important;
	border-bottom: 1px solid var(--lense-line) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding-left: 0 !important;
}

body.lense-light .fluentform :is(input, textarea):focus {
	border-bottom-color: var(--lense-dark) !important;
}

body.lense-light .fluentform .ff-el-input--label label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lense-muted);
}

body.lense-light .fluentform .ff-el-tc label {
	font-size: 13px;
	color: var(--lense-text);
}

body.lense-light .fluentform .ff-btn-submit {
	background: transparent !important;
	border: 1px solid var(--lense-dark) !important;
	border-radius: 0 !important;
	color: var(--lense-dark) !important;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 16px 32px !important;
}

body.lense-light .fluentform .ff-btn-submit:hover {
	background: var(--lense-dark) !important;
	color: #ffffff !important;
}

body.lense-light .entry-content a:not(.wp-element-button) {
	text-decoration-color: var(--lense-line);
	text-underline-offset: 4px;
}

/* Stopka Blocksy jest zbędna: na desktopie copyright jest w panelu, na telefonie w .lense-mobile-footer. */
body.lense-light .ct-footer {
	display: none;
}

.lense-mobile-footer {
	padding: 32px 20px 40px;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--lense-muted);
}

.lense-mobile-footer a {
	color: inherit;
}

@media (min-width: 1000px) {
	.lense-mobile-footer {
		display: none;
	}

	/* Galeria pozioma dochodzi do prawej krawędzi ekranu, jak w demo Lense.
	   Układ "constrained" WordPressa wymusza margin:auto !important, stąd !important tutaj. */
	body.lense-layout .is-layout-constrained > .wp-block-gallery.is-style-lense-scroller,
	body.lense-layout .is-layout-constrained > .lense-progress-row {
		max-width: none !important;
		width: auto !important;
		margin-left: 48px !important;
		margin-right: 0 !important;
	}

	body.lense-layout .is-layout-constrained > .lense-progress-row {
		margin-right: 72px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lense-lightbox,
	.lense-progress__bar {
		transition: none;
	}
}
