/* Dom Weselny Korona – style strony publicznej.
 * Ładowany po Bootstrap 5.3 (assets/vendor/bootstrap-5.3.8), Swiper i GLightbox – patrz application/libraries/Assets.php.
 * Używany też jako content_css edytora TinyMCE w panelu (body.mce-content-body).
 * Kolejność: fonty → zmienne → baza → layout → komponenty → widoki → baner cookie → zgodność z Bootstrap 3 (treści z CMS). */

/* ---------- Fonty: Lato z własnego serwera (assets/fonts/lato, SIL OFL) ---------- */
@font-face { font-family: Lato; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/lato/lato-latin-ext-300-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Lato; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/lato/lato-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato/lato-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato/lato-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Lato; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/lato/lato-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Lato; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/lato/lato-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Lato; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato/lato-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Lato; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato/lato-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Lato; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/lato/lato-latin-ext-700-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Lato; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/lato/lato-latin-700-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Lato; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato/lato-latin-ext-900-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Lato; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato/lato-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Zmienne ---------- */
:root {
	--korona-base: #170E05;        /* ciemny brąz: tło strony, stopka, formularz */
	--korona-base-dark: #020100;
	--korona-gold: #E9D08E;        /* złoty: akcenty */
	--korona-gold-2: #e5c779;
	--korona-gold-3: #e1be63;
	--korona-gold-4: #ddb54e;
	--korona-gold-light: #f9f0d5;
	--korona-brown: #654900;       /* przyciski główne */
	--korona-muted: #c1c1c1;
	--korona-grey: #646464;
	--korona-text-dark: #3c3a36;

	/* Bootstrap 5 dostrojony do metryk dawnego Bootstrapa 3 (14px, 30px odstępy), żeby wygląd się nie zmienił */
	--bs-body-font-family: Lato, sans-serif;
	--bs-body-font-size: 14px;
	--bs-body-line-height: 1.428571;
	--bs-body-color: #333;
	--bs-link-color: var(--korona-base);
	--bs-link-color-rgb: 23, 14, 5;
	--bs-link-hover-color: #000;
	--bs-link-hover-color-rgb: 0, 0, 0;
	--bs-border-radius: 4px;
	--bs-border-radius-sm: 3px;
	--bs-border-radius-lg: 6px;
}

/* ---------- Baza ---------- */
html {
	min-height: 100%;
}
/* stopka zawsze na dole: body jako kolumna, .site-main się rozciąga */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--korona-base);
}
body.mce-content-body {
	display: block;
	min-height: 0;
	padding: 10px;
	background-color: #fff;
}
::selection {
	background: var(--korona-grey);
	color: #fff;
}
::placeholder {
	color: var(--korona-muted) !important;
	opacity: 1;
}
a {
	text-decoration: none;
}
a:hover,
a:focus {
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Lato, sans-serif;
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 10px;
}
h1, h2, h3 { margin-top: 20px; }
h4, h5, h6 { margin-top: 10px; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
p {
	margin-bottom: 10px;
}
hr {
	margin: 20px 0;
	border-top: 1px solid #eee;
	opacity: 1;
}
label {
	margin-bottom: 5px;
	font-weight: 700;
}
.lead {
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
}

/* ---------- Layout ---------- */
/* Szerokości kontenera jak w BS3: 100% poniżej 992px, 970px, 1170px od 1200px w górę */
.container {
	--bs-gutter-x: 30px;
}
@media (max-width: 991.98px) {
	.container { max-width: none; }
}
@media (min-width: 992px) {
	.container { max-width: 970px; }
}
@media (min-width: 1200px) {
	.container { max-width: 1170px; }
}
.row {
	--bs-gutter-x: 30px;
}
.site-header img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.site-main {
	flex: 1 0 auto;
}
#contents {
	background: linear-gradient(to bottom, #edca82 0%, #f9f7e5 100%);
}
.container-pad {
	padding: 15px;
}
.site-footer {
	padding: 40px 0 0;
	background-color: var(--korona-base);
	color: var(--korona-muted);
	font-size: 14px;
	line-height: 22px;
}
.site-footer a {
	color: #fff;
}
.site-footer a:hover,
.site-footer a:focus {
	color: var(--korona-gold);
}
.footer-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	text-align: center;
}
.footer-logo {
	display: inline-block;
}
.footer-logo img {
	display: block;
	width: 152px;
	height: auto;
}
.footer-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(233, 208, 142, .25);
	color: var(--korona-gold);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}
.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-links .nav-item + .nav-item {
	margin-top: 2px;
}
.footer-links .nav-link {
	display: inline-block;
	padding: 3px 0;
	color: #fff;
	font-size: 15px;
}
.footer-links .nav-link small {
	margin-left: 6px;
	font-size: 12px;
	opacity: .7;
}
.footer-links .nav-link br {
	display: none;
}
.footer-links .nav-link.active {
	color: var(--korona-gold);
}
.footer-links .submenu {
	display: none;
}
.footer-contact li {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	margin-bottom: 12px;
	text-align: left;
}
.footer-contact .fa {
	flex: 0 0 auto;
	margin-top: 4px;
	color: var(--korona-gold);
}
.footer-contact li > span,
.footer-contact li > a {
	min-width: 0;
	overflow-wrap: anywhere;
}
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 24px;
	margin-top: 30px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 12px;
}
.footer-bottom-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 24px;
}
@media (min-width: 768px) {
	.footer-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		text-align: left;
	}
	.footer-brand {
		grid-column: 1 / -1;
		text-align: center;
	}
	.footer-contact li {
		justify-content: flex-start;
	}
}
@media (min-width: 992px) {
	.footer-cols {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
		gap: 40px;
		align-items: start;
	}
	.footer-brand {
		grid-column: auto;
		text-align: left;
	}
	.footer-bottom {
		justify-content: space-between;
	}
}
@media (max-width: 767.98px) {
	.footer-logo img { width: 120px; }
}
@media (max-width: 991.98px) {
	body { overflow-x: hidden; }
}

/* ---------- Menu główne ---------- */
#main-menu {
	--bs-navbar-padding-y: 0;
	--bs-navbar-padding-x: 0;
	--bs-navbar-nav-link-padding-x: 25px;
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	text-align: center;
}
#main-menu > .container {
	padding-left: 0;
	padding-right: 0;
}
#main-menu-collapse {
	justify-content: center;
	background: var(--korona-base) url('../images/back_menu.png') top center / cover no-repeat;
	border-radius: 20px;
}
#main-menu .nav-link {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 6px 25px;
	color: var(--korona-base);
	font-size: 16px;
	line-height: 1.25;
	transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
#main-menu .nav-link small {
	display: block;
	margin-top: 1px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .02em;
	opacity: .8;
}
#main-menu .nav-link:hover,
#main-menu .nav-link:focus,
#main-menu .nav-link.active {
	background-color: rgba(255, 255, 255, .8);
	color: #000;
	text-decoration: none;
}
#main-menu .has-submenu {
	position: relative;
}
#main-menu .submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 220px;
	padding: 15px;
	background-color: #fff;
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	text-align: left;
}
#main-menu .has-submenu:hover .submenu,
#main-menu .has-submenu:focus-within .submenu {
	display: block;
}
#main-menu .navbar-toggler {
	align-items: center;
	gap: 10px;
	height: 40px;
	margin: 10px auto;
	padding: 0 16px;
	border-color: #fff;
	border-radius: 4px;
	color: #fff;
}
#main-menu .navbar-toggler-text {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
}
#main-menu .navbar-toggler:hover,
#main-menu .navbar-toggler:focus {
	background-color: #6d6f71;
	box-shadow: none;
}
#main-menu .navbar-toggler-icon {
	width: 22px;
	height: 22px;
}
@media (min-width: 768px) and (max-width: 991.98px) {
	#main-menu .nav-link { padding: 0 20px; }
}
@media (max-width: 767.98px) {
	#main-menu .navbar-toggler { display: flex; }
	#main-menu .submenu {
		position: static;
		box-shadow: none;
	}
}

/* ---------- Slider (Swiper) ---------- */
#slider {
	position: relative;
	margin-bottom: 105px;
	--swiper-theme-color: #fff;
	--swiper-navigation-color: #fff;
	--swiper-pagination-color: #fff;
	--swiper-pagination-bullet-inactive-color: #fff;
	--swiper-pagination-bullet-inactive-opacity: .4;
	--swiper-pagination-bottom: 70px;
}
#slider .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}
#slider .swiper-slide img {
	display: block;
	max-width: 100%;
	height: auto;
}
#slider .swiper-slide .caption {
	position: absolute;
	z-index: 2;
}
#slider .ribbon {
	position: absolute;
	bottom: -125px;
	left: 0;
	z-index: 3;
	display: block;
	max-width: 100%;
	height: auto;
	pointer-events: none;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	#slider { margin-bottom: 95px; }
	#slider .ribbon { bottom: -104px; }
}
@media (max-width: 991.98px) {
	#slider { margin-bottom: 10px; }
	#slider .ribbon { display: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	#slider .swiper-slide .caption { transform: scale(.8); }
}
@media (max-width: 767.98px) {
	#slider .swiper-slide .caption { transform: scale(.5); }
}

/* ---------- Typografia i pomocnicze ---------- */
.heading,
.heading2 {
	font-size: 24px;
	line-height: 24px;
	font-weight: 700;
	margin-top: 0;
	color: var(--korona-base);
}
.heading {
	margin-bottom: 30px;
}
.heading2 {
	display: block;
	margin-bottom: 10px;
}
.color-base { color: var(--korona-base); }
.color-second { color: var(--korona-gold); }
.nowrap { white-space: nowrap; }
.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.full-width { min-width: 100%; }
.mt30 { margin-top: 30px; }
.mb15 { margin-bottom: 15px; }
.mb30 { margin-bottom: 30px; }
hr.separator {
	margin-top: 0;
	margin-bottom: 0;
	border-top: 15px solid var(--korona-base);
}
.table.table-unbordered > :not(caption) > * > * {
	border: 0;
}
.text-center .img-responsive,
.text-center .img-fluid {
	margin-left: auto;
	margin-right: auto;
}
article {
	display: block;
	margin-bottom: 30px;
}
article::after {
	content: "";
	display: table;
	clear: both;
}

/* ---------- Przyciski (wariant Bootstrap 5 w kolorach marki, metryki BS3) ---------- */
.btn {
	--bs-btn-padding-x: 12px;
	--bs-btn-padding-y: 6px;
	--bs-btn-font-size: 14px;
	--bs-btn-line-height: 1.428571;
	--bs-btn-border-radius: 4px;
	--bs-btn-focus-box-shadow: 0 0 0 .2rem rgba(101, 73, 0, .35);
}
.btn-sm {
	--bs-btn-padding-x: 10px;
	--bs-btn-padding-y: 5px;
	--bs-btn-font-size: 12px;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: 3px;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--korona-brown);
	--bs-btn-border-color: #402e00;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--korona-base-dark);
	--bs-btn-hover-border-color: #000;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #000;
	--bs-btn-active-border-color: #000;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--korona-brown);
	--bs-btn-disabled-border-color: #402e00;
}
.btn-secondary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--korona-gold);
	--bs-btn-border-color: var(--korona-gold-2);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--korona-gold-2);
	--bs-btn-hover-border-color: var(--korona-gold-3);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--korona-gold-3);
	--bs-btn-active-border-color: var(--korona-gold-4);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--korona-gold);
	--bs-btn-disabled-border-color: var(--korona-gold-2);
}
.btn-light,
.btn-default {
	--bs-btn-color: #333;
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #ccc;
	--bs-btn-hover-color: #333;
	--bs-btn-hover-bg: #e6e6e6;
	--bs-btn-hover-border-color: #adadad;
	--bs-btn-active-color: #333;
	--bs-btn-active-bg: #d4d4d4;
	--bs-btn-active-border-color: #8c8c8c;
}
.btn:hover,
.btn:focus {
	text-decoration: none;
}

/* ---------- Paginacja, okruszki ---------- */
.pagination {
	--bs-pagination-color: var(--korona-base);
	--bs-pagination-hover-color: var(--korona-base);
	--bs-pagination-focus-color: var(--korona-base);
	--bs-pagination-active-bg: var(--korona-base);
	--bs-pagination-active-border-color: #000;
	--bs-pagination-font-size: 14px;
	--bs-pagination-padding-x: 12px;
	--bs-pagination-padding-y: 6px;
	margin-bottom: 0;
}
.breadcrumb-outer {
	padding-bottom: 30px;
	margin-top: 25px;
}
.breadcrumb-outer .breadcrumb {
	--bs-breadcrumb-divider: "\00BB";
	--bs-breadcrumb-item-padding-x: 10px;
	padding: 30px 0;
	margin-bottom: 0;
	background-color: transparent;
	line-height: 20px;
	font-size: 14px;
	font-weight: 300;
}
.breadcrumb-outer h1.heading {
	margin-bottom: 0;
	font-size: 30px;
	font-weight: 400;
}

/* ---------- Ikony stopki (klasy fa-* z tekstu "stopka" w języku; Bootstrap Icons, MIT) ---------- */
.fa {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -.125em;
	background-color: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.fa-map-marker {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10m0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6'/%3E%3C/svg%3E");
}
.fa-phone {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.68.68 0 0 0 .178.643l2.457 2.457a.68.68 0 0 0 .644.178l2.189-.547a1.75 1.75 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.6 18.6 0 0 1-7.01-4.42 18.6 18.6 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877z'/%3E%3C/svg%3E");
}
.fa-envelope {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414zM0 4.697v7.104l5.803-3.558zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586zm3.436-.586L16 11.801V4.697z'/%3E%3C/svg%3E");
}

/* ---------- Miniatury, karty galerii, pliki ---------- */
.thumbnail {
	display: block;
	padding: 4px;
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	transition: border-color .2s ease-in-out;
}
.thumbnail > img {
	display: block;
	max-width: 100%;
	height: auto;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail:active {
	border-color: var(--korona-base);
}
.thumbnail video {
	background-color: #000;
}
.file_download_link {
	display: block;
	float: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #444;
}
.file_download_link img {
	float: left;
	margin-right: 15px;
	margin-top: 5px;
}
.file_download_link:hover,
.file_download_link:focus {
	text-decoration: none;
}
.file_download_link:hover span,
.file_download_link:focus span {
	text-decoration: underline;
}
.video-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
}
.video-link svg {
	flex: none;
	width: 1em;
	height: 1em;
}

/* ---------- Strona główna: aktualności, kafelki ---------- */
.articles a {
	display: block;
	margin-top: 15px;
	color: var(--korona-text-dark);
}
.articles a::after {
	content: "";
	display: table;
	clear: both;
}
.articles a img {
	float: left;
	max-width: 200px;
	max-height: 112px;
	border: 3px solid var(--korona-gold-light);
}
.articles a .fake-block {
	display: block;
	padding-left: 215px;
}
.articles a strong {
	display: block;
	font-size: 17px;
	line-height: 1.3;
	margin-bottom: 8px;
	color: #69280e;
}
.articles a:hover,
.articles a:focus {
	text-decoration: none;
}
.articles a:hover strong,
.articles a:focus strong {
	text-decoration: underline;
}
.articles a:hover img,
.articles a:focus img {
	border-color: #fff;
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.articles a img { max-width: 180px; }
	.articles a .fake-block { padding-left: 195px; }
}
@media (max-width: 767.98px) {
	.articles a img { max-width: 130px; }
	.articles a .fake-block { padding-left: 145px; }
}
#main-pages a.link,
.subpages a {
	display: block;
	color: var(--korona-text-dark);
}
#main-pages a.link {
	margin-bottom: 10px;
}
.subpages a {
	margin-bottom: 30px;
}
#main-pages a.link img,
.subpages a img {
	border: 3px solid var(--korona-gold-light);
}
#main-pages a.link strong {
	display: block;
	font-size: 20px;
	line-height: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #000;
}
.subpages a strong {
	display: block;
	margin-top: 10px;
	margin-bottom: 10px;
}
#main-pages a.link:hover,
#main-pages a.link:focus,
.subpages a:hover,
.subpages a:focus {
	text-decoration: none;
}
#main-pages a.link:hover strong,
#main-pages a.link:focus strong,
.subpages a:hover strong,
.subpages a:focus strong {
	text-decoration: underline;
}
#main-pages a.link:hover img,
#main-pages a.link:focus img,
.subpages a:hover img,
.subpages a:focus img {
	border-color: #fff;
}
@media (max-width: 991.98px) {
	#main-pages .btn { margin-bottom: 30px; }
}

/* ---------- Strona główna: hero, oferta, wnętrza, aktualności, CTA (views/welcome.php) ---------- */
.home-hero {
	padding: 30px 30px 40px;
	text-align: center;
}
.home-eyebrow {
	margin-bottom: 10px;
	color: var(--korona-brown);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.home-hero-title {
	margin: 0 0 8px;
	color: var(--korona-base);
	font-size: 40px;
	font-weight: 900;
	line-height: 1.15;
}
.home-hero-lead {
	margin-bottom: 18px;
	color: #69280e;
	font-size: 20px;
	font-style: italic;
}
.home-hero-lead::after {
	content: "";
	display: block;
	width: 90px;
	height: 3px;
	margin: 18px auto 0;
	background: linear-gradient(90deg, transparent, var(--korona-gold-4), transparent);
}
.home-hero-text {
	max-width: 720px;
	margin: 0 auto 24px;
	color: var(--korona-text-dark);
	font-size: 16px;
	line-height: 1.6;
}
.home-hero-actions,
.home-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.home-hero-actions .btn,
.home-cta-actions .btn {
	padding: 12px 28px;
	font-size: 16px;
	font-weight: 700;
}
.btn-outline-dark {
	--bs-btn-color: var(--korona-base);
	--bs-btn-border-color: var(--korona-base);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--korona-base);
	--bs-btn-hover-border-color: var(--korona-base);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--korona-base);
	--bs-btn-active-border-color: var(--korona-base);
}
.btn-outline-light {
	--bs-btn-color: #fff;
	--bs-btn-border-color: rgba(255, 255, 255, .7);
	--bs-btn-hover-color: var(--korona-base);
	--bs-btn-hover-bg: #fff;
	--bs-btn-hover-border-color: #fff;
	--bs-btn-active-color: var(--korona-base);
	--bs-btn-active-bg: #fff;
	--bs-btn-active-border-color: #fff;
}
.btn-gold {
	--bs-btn-color: var(--korona-base);
	--bs-btn-bg: var(--korona-gold);
	--bs-btn-border-color: var(--korona-gold-3);
	--bs-btn-hover-color: var(--korona-base);
	--bs-btn-hover-bg: #f3e1b0;
	--bs-btn-hover-border-color: #f3e1b0;
	--bs-btn-active-color: var(--korona-base);
	--bs-btn-active-bg: #f3e1b0;
	--bs-btn-active-border-color: #f3e1b0;
}
.home-hero .bi,
.home-cta .bi {
	margin-right: 4px;
}
.home-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
	max-width: 900px;
	margin: 34px auto 0;
	padding: 22px 0 0;
	border-top: 1px solid rgba(101, 73, 0, .2);
	list-style: none;
}
.home-features li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--korona-text-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}
.home-features .bi {
	color: var(--korona-brown);
	font-size: 28px;
	line-height: 1;
}
.home-section {
	padding: 40px 30px;
	border-top: 1px solid rgba(101, 73, 0, .18);
}
.home-title {
	margin: 0 0 8px;
	color: var(--korona-base);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}
.home-subtitle {
	margin-bottom: 28px;
	color: var(--korona-text-dark);
	font-size: 16px;
	text-align: center;
}
.offer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}
.offer-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 20px 20px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #e6d5a3;
	border-top: 3px solid var(--korona-gold-4);
	border-radius: 4px;
	text-align: center;
	transition: box-shadow .2s, transform .2s;
}
.offer-card:hover {
	box-shadow: 0 6px 18px rgba(23, 14, 5, .15);
	transform: translateY(-2px);
}
.offer-card .bi,
.offer-card .icon-svg {
	color: var(--korona-brown);
	font-size: 46px;
	line-height: 1;
}
/* własne ikony SVG (assets/images/icons) jako maska, kolor z currentColor */
.icon-svg {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.icon-rings { --icon: url(../images/icons/rings.svg); }
.icon-hourglass { --icon: url(../images/icons/hourglass.svg); }
.icon-chalice { --icon: url(../images/icons/chalice.svg); }
.icon-baptism { --icon: url(../images/icons/baptism.svg); }
.icon-cake { --icon: url(../images/icons/cake.svg); }
.icon-toast { --icon: url(../images/icons/toast.svg); }
.icon-balloons { --icon: url(../images/icons/balloons.svg); }
.icon-bed { --icon: url(../images/icons/bed.svg); }
.offer-card h3 {
	margin: 12px 0 8px;
	color: #69280e;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}
.offer-card p {
	margin-bottom: 14px;
	color: var(--korona-text-dark);
	line-height: 1.5;
}
.offer-card a {
	margin-top: auto;
	color: var(--korona-brown);
	font-weight: 700;
}
.home-rooms #main-pages {
	margin-top: 24px;
}
.home-apartments .page-hero {
	margin-bottom: 0;
}
.home-apartments .offer-tiles-section {
	margin-top: 24px;
}
.home-videos .row {
	margin-top: 20px;
}
.home-news-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 20px;
	margin-bottom: 18px;
}
.home-news-head .home-title {
	margin: 0;
	font-size: 22px;
	text-align: left;
}
.home-news-head a {
	color: var(--korona-brown);
	font-weight: 700;
}
.news-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}
.news-card {
	display: flex;
	gap: 14px;
	color: var(--korona-text-dark);
	background: rgba(255, 255, 255, .6);
	border: 1px solid #e6d5a3;
	border-radius: 4px;
	overflow: hidden;
}
.news-card:hover,
.news-card:focus {
	text-decoration: none;
	border-color: var(--korona-gold-4);
}
.news-card:hover strong,
.news-card:focus strong {
	text-decoration: underline;
}
.news-card img {
	flex: none;
	width: 110px;
	height: auto;
	object-fit: cover;
}
.news-body {
	display: block;
	min-width: 0;
	padding: 10px 12px 10px 0;
}
.news-body strong {
	display: -webkit-box;
	margin-bottom: 4px;
	overflow: hidden;
	color: #69280e;
	font-size: 15px;
	line-height: 1.3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.news-lead {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.home-cta-wrap {
	padding: 10px 30px 40px;
}
.home-cta {
	position: relative;
	padding: 44px 30px;
	background: linear-gradient(135deg, #3a2410 0%, var(--korona-base) 70%);
	border-radius: 6px;
	color: #e8e0cf;
	text-align: center;
}
.home-cta::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(233, 208, 142, .4);
	border-radius: 3px;
	pointer-events: none;
}
.home-cta::after {
	content: "";
	display: table;
	clear: both;
}
.home-cta h2 {
	margin: 0 0 10px;
	color: var(--korona-gold);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}
.home-cta p {
	max-width: 620px;
	margin: 0 auto 24px;
	font-size: 16px;
	line-height: 1.6;
}
@media (min-width: 576px) {
	.offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.news-card { flex-direction: column; gap: 0; }
	.news-card img { width: 100%; aspect-ratio: 16 / 9; }
	.news-body { padding: 12px 14px 14px; }
}
@media (min-width: 992px) {
	.offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
	.offer-grid { gap: 12px; }
	.offer-card {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 14px;
		align-items: start;
		padding: 16px 14px;
		text-align: left;
	}
	.offer-card .bi,
	.offer-card .icon-svg {
		grid-row: 1 / span 3;
		font-size: 38px;
		text-align: center;
	}
	.offer-card h3 { margin: 0 0 4px; }
	.offer-card p { margin-bottom: 8px; }
	.offer-card a { margin-top: 0; }
}
@media (max-width: 767.98px) {
	.home-hero { padding: 24px 15px 30px; }
	.home-hero-title { font-size: 30px; }
	.home-hero-lead { font-size: 17px; }
	.home-hero-actions .btn,
	.home-cta-actions .btn { width: 100%; }
	.home-section { padding: 30px 15px; }
	.home-title { font-size: 22px; }
	.home-cta-wrap { padding: 10px 15px 30px; }
	.home-cta { padding: 34px 20px; }
	.home-cta h2 { font-size: 24px; }
}

/* ---------- Podstrony oferty i sal: hero, treść, pasek zdjęć, kroki, mozaika, kafelki (views/page_offer.php, offer_tiles.php) ----------
 * Klasy treści (.lead-p, .facts, .feature-grid, .callout, hr.ornament, .sec-title) działają też w edytorze TinyMCE (content_css). */
.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 260px;
	margin-bottom: 30px;
	padding: 36px 24px 30px;
	background: linear-gradient(135deg, #3a2410 0%, var(--korona-base) 70%);
	border-radius: 6px;
	overflow: hidden;
	color: #fff;
}
.page-hero.has-image {
	min-height: 360px;
	background: linear-gradient(to top, rgba(23, 14, 5, .92) 0%, rgba(23, 14, 5, .62) 50%, rgba(23, 14, 5, .3) 100%), var(--hero) center / cover no-repeat;
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(233, 208, 142, .45);
	border-radius: 3px;
	pointer-events: none;
}
.page-hero-inner {
	position: relative;
	width: 100%;
	max-width: 760px;
}
.page-hero-eyebrow {
	margin-bottom: 8px;
	color: var(--korona-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.page-hero-eyebrow a {
	color: var(--korona-gold);
}
.page-hero-eyebrow a:hover,
.page-hero-eyebrow a:focus {
	color: #fff;
	text-decoration: none;
}
.page-hero-title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 42px;
	font-weight: 900;
	line-height: 1.12;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.page-hero-lead {
	max-width: 620px;
	margin-bottom: 20px;
	color: #f1e8d3;
	font-size: 18px;
	font-style: italic;
	line-height: 1.5;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.page-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.page-hero-actions .btn {
	padding: 11px 26px;
	font-size: 16px;
	font-weight: 700;
}
.page-hero .bi {
	margin-right: 4px;
}

/* treść z CMS */
.page-body {
	max-width: 900px;
	margin: 0 auto 10px;
	color: var(--korona-text-dark);
	font-size: 16px;
	line-height: 1.7;
}
.page-body h2,
.page-body h3 {
	margin: 1.4em 0 .5em;
	color: #69280e;
	font-weight: 700;
	line-height: 1.25;
}
.page-body h2 { font-size: 26px; }
.page-body h3 { font-size: 20px; }
.page-body ul { padding-left: 1.2em; }
.page-body li::marker { color: var(--korona-gold-4); }
.lead-p {
	color: var(--korona-base);
	font-size: 20px;
	line-height: 1.6;
	font-weight: 300;
}
.lead-p::first-letter {
	color: #69280e;
	font-size: 1.5em;
	font-weight: 700;
}
.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
	padding: 0 !important;
	list-style: none;
}
.facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid #e6d5a3;
	border-radius: 30px;
	color: var(--korona-base);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}
.facts .bi {
	color: var(--korona-brown);
	font-size: 17px;
}
.sec-title {
	margin: 0 0 24px;
	color: var(--korona-base);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}
.feature-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 24px 0;
}
.feature {
	padding: 20px 18px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #e6d5a3;
	border-top: 3px solid var(--korona-gold-4);
	border-radius: 4px;
}
.feature .bi {
	display: block;
	margin-bottom: 8px;
	color: var(--korona-brown);
	font-size: 32px;
	line-height: 1;
}
.page-body .feature h3 {
	margin: 0 0 6px;
	font-size: 17px;
}
.feature p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
.callout {
	margin: 28px 0;
	padding: 18px 22px;
	background: var(--korona-gold-light);
	border-left: 4px solid var(--korona-gold-4);
	border-radius: 0 4px 4px 0;
	color: var(--korona-base);
}
.callout p:last-child {
	margin-bottom: 0;
}
.callout-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

/* separator ozdobny (hr.ornament): złote linie z rombem */
hr.ornament {
	position: relative;
	height: 14px;
	margin: 38px auto;
	border: 0;
	background:
		linear-gradient(90deg, transparent, var(--korona-gold-4)) left center / calc(50% - 22px) 1px no-repeat,
		linear-gradient(90deg, var(--korona-gold-4), transparent) right center / calc(50% - 22px) 1px no-repeat;
	opacity: 1;
}
hr.ornament::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	background: var(--korona-gold-4);
	transform: translate(-50%, -50%) rotate(45deg);
}

/* pasek zdjęć + mozaika */
.photo-strip,
.photo-mosaic {
	display: grid;
	gap: 10px;
}
.photo-strip {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.photo-strip a:first-child {
	grid-column: 1 / -1;
}
.photo-strip a,
.photo-mosaic a {
	display: block;
	overflow: hidden;
	background: #1c1109;
	border: 3px solid var(--korona-gold-light);
	border-radius: 4px;
}
.photo-strip a { aspect-ratio: 3 / 2; }
.photo-mosaic {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: dense;
}
.photo-mosaic a { aspect-ratio: 4 / 3; }
.photo-strip img,
.photo-mosaic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.photo-strip a:hover img,
.photo-strip a:focus img,
.photo-mosaic a:hover img,
.photo-mosaic a:focus img {
	transform: scale(1.05);
}

/* kroki */
.steps-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.steps-list li {
	position: relative;
	padding: 22px 18px 18px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #e6d5a3;
	border-radius: 4px;
	text-align: center;
}
.steps-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 10px;
	background: var(--korona-base);
	border: 2px solid var(--korona-gold-4);
	border-radius: 50%;
	color: var(--korona-gold);
	font-size: 18px;
	font-weight: 900;
}
.steps-list h3 {
	margin: 0 0 6px;
	color: #69280e;
	font-size: 17px;
	font-weight: 700;
}
.steps-list p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

/* kafelki stron (zdjęcie w tle) */
.offer-tiles {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}
.offer-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 200px;
	background: linear-gradient(135deg, #3a2410 0%, var(--korona-base) 80%);
	border: 3px solid var(--korona-gold-light);
	border-radius: 4px;
	overflow: hidden;
	color: #fff;
}
.offer-tile.has-image {
	background: var(--tile) center / cover no-repeat;
}
.offer-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(23, 14, 5, .92) 0%, rgba(23, 14, 5, .55) 55%, rgba(23, 14, 5, .1) 100%);
	transition: background .25s;
}
.offer-tile:hover,
.offer-tile:focus {
	color: #fff;
	text-decoration: none;
	border-color: #fff;
}
.offer-tile:hover::before,
.offer-tile:focus::before {
	background: linear-gradient(to top, rgba(23, 14, 5, .95) 0%, rgba(23, 14, 5, .7) 70%, rgba(23, 14, 5, .25) 100%);
}
.offer-tile-body {
	position: relative;
	display: block;
	padding: 16px 16px 14px;
}
.offer-tile strong {
	display: block;
	margin-bottom: 4px;
	color: var(--korona-gold);
	font-size: 19px;
	line-height: 1.25;
}
.offer-tile-lead {
	display: -webkit-box;
	margin-bottom: 8px;
	overflow: hidden;
	color: #efe6d2;
	font-size: 13px;
	line-height: 1.45;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.offer-tile-more {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
}
.rich-cta {
	margin-top: 44px;
}
@media (min-width: 576px) {
	.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.offer-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.photo-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.photo-strip a:first-child { grid-column: auto; }
}
@media (min-width: 992px) {
	.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.steps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.offer-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.photo-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.photo-mosaic a:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
	.offer-tiles .offer-tile:last-child:nth-child(3n+1) { grid-column: 1 / -1; min-height: 160px; }
}
@media (max-width: 767.98px) {
	.page-hero { min-height: 220px; padding: 28px 16px 22px; }
	.page-hero.has-image { min-height: 300px; }
	.page-hero-title { font-size: 30px; }
	.page-hero-lead { font-size: 16px; }
	.page-hero-actions .btn { width: 100%; }
	.page-body { font-size: 15px; }
	.lead-p { font-size: 18px; }
	.sec-title { font-size: 22px; }
	hr.ornament { margin: 30px auto; }
	.rich-cta { margin-top: 34px; }
}

/* mapa dojazdu (views/route_map.php) */
.route-map-lead {
	max-width: 640px;
	margin: -10px auto 24px;
	text-align: center;
}
.route-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
.route-card {
	padding: 18px 18px 16px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #e6d5a3;
	border-top: 4px solid var(--route, var(--korona-gold-4));
	border-radius: 4px;
}
.route-card h3 {
	margin: 0 0 10px;
	color: var(--route, var(--korona-base));
	font-size: 18px;
	font-weight: 700;
}
.route-card-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0 0 8px;
	font-size: 15px;
}
.route-card-stats .bi {
	margin-right: 4px;
	color: var(--route, var(--korona-brown));
}
.route-card-via {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--korona-grey);
}
.route-card-nav {
	font-size: 14px;
	font-weight: 700;
}
#route-map {
	width: 100%;
	height: 380px;
	border: 1px solid #e6d5a3;
	border-radius: 6px;
	overflow: hidden;
}
.route-map-note {
	margin: 10px 0 0;
	color: var(--korona-grey);
	font-size: 12px;
}
.route-pin span {
	display: block;
	width: 22px;
	height: 22px;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
@media (min-width: 768px) {
	.route-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#route-map { height: 440px; }
}

/* ---------- Formularz kontaktowy, mapa ---------- */
#gmap {
	position: relative;
	width: 100%;
	height: 320px;
	border: 1px solid #e6d5a3;
	border-radius: 6px;
	overflow: hidden;
}
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
}
.contact-layout article {
	font-size: 16px;
	line-height: 1.5;
}
.contact-intro {
	margin-bottom: 20px;
	color: var(--korona-base);
	font-size: 18px;
	line-height: 1.55;
	font-weight: 300;
}
.contact-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}
@media (min-width: 576px) {
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact-card {
	padding: 18px 20px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #e6d5a3;
	border-top: 3px solid var(--korona-gold-4);
	border-radius: 4px;
}
.contact-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.contact-card .bi {
	display: block;
	margin-bottom: 8px;
	color: var(--korona-brown);
	font-size: 28px;
	line-height: 1;
}
.contact-layout article .contact-card h3 {
	margin: 0 0 6px;
	color: var(--korona-brown);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.contact-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}
.contact-card a {
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	word-break: break-word;
}
.contact-card a:hover { text-decoration: underline; }
@media (min-width: 992px) {
	.contact-layout {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		grid-template-areas: "text form" "map form";
		grid-template-rows: auto 1fr;
	}
	.contact-text { grid-area: text; }
	.contact-form-col { grid-area: form; }
	.contact-map { grid-area: map; min-height: 320px; }
	.contact-map #gmap { height: 100%; min-height: 320px; }
}
#contact-form {
	position: relative;
	display: block;
	margin: 0;
	padding: 26px 24px 24px;
	background-color: var(--korona-base);
	border-top: 3px solid var(--korona-gold-4);
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(23, 14, 5, .25);
	color: #fff;
}
#contact-form h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: var(--korona-gold);
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
}
#contact-form .form-label {
	margin-bottom: 5px;
	color: var(--korona-gold-light);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
}
#contact-form .form-control {
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 15px;
	padding: 10px 12px;
}
#contact-form .form-control:focus {
	border-color: var(--korona-gold-4);
	box-shadow: 0 0 0 .2rem rgba(233, 208, 142, .35);
}
#contact-form .form-control::placeholder { color: #9a9a9a; }
#contact-form .btn {
	width: 100%;
	margin-top: 4px;
	padding: 11px 12px;
	color: var(--korona-base);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
#contact-form .btn:hover,
#contact-form .btn:focus-visible { color: #fff; }
@media (max-width: 767.98px) {
	/* 16px = iOS Safari nie przybliża strony po wejściu w pole */
	#contact-form .form-control { font-size: 16px; }
	#contact-form { padding: 22px 16px 18px; }
}
#contact-form .form-control.is-invalid {
	box-shadow: inset 0 0 0 2px #dc3545;
}
#contact-form .invalid-feedback {
	color: #ff8f8f;
}
#contact-form-response {
	margin-top: 15px;
	padding: 15px;
	border-radius: 4px;
	color: #fff;
}
#contact-form-response:empty {
	display: none;
}
#contact-form-response.is-error {
	background-color: #a94442;
}
#contact-form-response.is-success {
	background-color: #3c763d;
}
#contact-form-response strong {
	display: block;
	margin-bottom: 5px;
	font-size: 16px;
}
@media (max-width: 500px) {
	#contact-form h2 span { display: block; }
}
.grecaptcha-badge {
	display: none !important;
}

/* ---------- Baner zgód cookie – assets/js/consent.js ---------- */
.cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1030;
	max-height: 100vh;
	overflow-y: auto;
	padding: 18px 0;
	background-color: var(--korona-base);
	border-top: 2px solid var(--korona-gold);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, .5);
	color: var(--korona-gold-light);
	font-size: 14px;
	line-height: 1.5;
}
.cookie-consent[hidden],
.cookie-consent [hidden] {
	display: none !important;
}
.cookie-consent-title {
	margin: 0 0 6px;
	color: var(--korona-gold);
	font-size: 17px;
	font-weight: 700;
}
.cookie-consent-desc {
	margin: 0 0 12px;
}
.cookie-consent a {
	color: var(--korona-gold);
	text-decoration: underline;
}
.cookie-consent a:hover,
.cookie-consent a:focus {
	color: #fff;
}
.cookie-consent-settings {
	margin: 0 0 12px;
	padding: 10px 15px;
	border: 1px solid var(--korona-text-dark);
}
.cookie-consent-option {
	display: block;
	margin: 6px 0;
	font-weight: 400;
	cursor: pointer;
}
.cookie-consent-option input {
	margin: 0 8px 0 0;
	vertical-align: -1px;
}
.cookie-consent-option input[disabled] {
	cursor: not-allowed;
}
.cookie-consent-option strong {
	color: var(--korona-gold);
}
.cookie-consent-buttons {
	text-align: right;
}
.cookie-consent-btn {
	display: inline-block;
	min-width: 170px;
	margin: 4px 0 4px 8px;
	padding: 8px 18px;
	border: 2px solid var(--korona-gold);
	border-radius: 0;
	background-color: var(--korona-gold);
	color: var(--korona-base);
	font-weight: 700;
	text-align: center;
}
.cookie-consent-btn:hover,
.cookie-consent-btn:focus {
	background-color: var(--korona-gold-light);
	border-color: var(--korona-gold-light);
	outline: none;
}
.cookie-consent-btn:focus-visible {
	box-shadow: 0 0 0 2px #fff;
}
.cookie-consent-btn-link {
	min-width: 0;
	background-color: transparent;
	color: var(--korona-gold);
}
.cookie-consent-btn-link:hover,
.cookie-consent-btn-link:focus {
	background-color: transparent;
	color: #fff;
}
/* film YouTube/Vimeo zablokowany do czasu zgody */
iframe.consent-embed-blocked {
	display: none !important;
}
.consent-embed {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: safe center;
	min-height: 220px;
	padding: 20px;
	background-color: var(--korona-base);
	border: 1px solid var(--korona-text-dark);
	color: var(--korona-gold-light);
	font-size: 14px;
	text-align: center;
}
.ratio > .consent-embed,
.embed-responsive > .consent-embed {
	position: absolute;
	inset: 0;
	min-height: 0;
	overflow: auto;
}
.consent-embed p {
	margin: 0 0 12px;
}
/* filmy ułożone jedno pod drugim na tablecie – bez rozciągania na całą szerokość */
@media (min-width: 576px) and (max-width: 991.98px) {
	.col-lg-4 > .ratio,
	.col-lg-4 > .thumbnail {
		max-width: 520px;
		margin: 0 auto 20px;
	}
}
.consent-embed .cookie-consent-btn {
	margin: 4px;
}
/* wąski ekran: pole zgody rośnie z treścią zamiast przewijać się wewnątrz proporcji 16:9 */
@media (max-width: 575.98px) {
	.ratio:has(> .consent-embed)::before {
		display: none;
	}
	.ratio > .consent-embed {
		position: static;
		width: 100%;
		min-height: 190px;
	}
}
@media (max-width: 767.98px) {
	.cookie-consent {
		padding: 12px 0;
		font-size: 13px;
	}
	.cookie-consent-buttons {
		text-align: center;
	}
	.cookie-consent-btn {
		display: block;
		width: 100%;
		margin: 6px 0 0;
	}
}

/* ---------- Zgodność z Bootstrap 3 ----------
 * Treści z CMS (WYSIWYG, opisy slajdów, podmenu) mogą zawierać klasy BS3, których nie ma w BS5.
 * col-xs-12 nie wymaga reguły (w BS5 kolumna bez klasy ma 100% szerokości); col-sm/md/lg istnieją w BS5,
 * ale z progami przesuniętymi o jeden (BS3 md = 992px, BS5 md = 768px). */
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}
.center-block {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.pull-left { float: left !important; }
.pull-right { float: right !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.btn-block {
	display: block;
	width: 100%;
}
.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}
.embed-responsive-16by9 { padding-bottom: 56.25%; }
.embed-responsive-4by3 { padding-bottom: 75%; }
.embed-responsive > iframe,
.embed-responsive > embed,
.embed-responsive > object,
.embed-responsive > video,
.embed-responsive .embed-responsive-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
@media (max-width: 767.98px) {
	.hidden-xs { display: none !important; }
}
