@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Satoshi', system-ui, sans-serif;

	--primary-color: hsl(120 61% 34%);
	--primary-color-light: hsl(120 61% 44%);
	--primary-color-dark: hsl(120 61% 24%);

	--xxl: 5rem;
	--xl: calc(var(--xxl)/2);

	--bs-primary: hsl(120 61% 34%);
	--bs-primary-rgb: 34, 139, 34;

	--bs-secondary: hsl(225 73% 57%);
	--bs-secondary-rgb: 65, 105, 225;

	--bs-light: hsl(0 0% 92%);
	--bs-light-rgb: 235, 235, 235;

	--bs-dark: black;
	--bs-dark-rgb: 0, 0, 0;

	--bs-body-color: black;

	--bs-link-color: hsl(120 61% 34%);
	--bs-link-color-rgb: 34, 140, 34;
	--bs-link-hover-color: hsl(225 73% 57%);
	--bs-link-hover-color-rgb: 65, 105, 225;

	--h1: clamp(3.55rem, 6.5vw, 6.3125rem);
	--h2: clamp(2.7rem, 5vw, 4.7375rem);
	--h3: clamp(2.25rem, 4vw, 3.55rem);
	--h4: clamp(2rem, 3vw, 2.6625rem);
	--h5: clamp(1.25rem, 2vw, 2rem);
	--h6: clamp(1.15rem, 1.5vw, 1.5rem);
	--lead: var(--h6);
	--affix-height: 80px;
	--letter-spacing: .25em;
}

[x-cloak] {
	display: none !important;
}

@view-transition {
	navigation: auto;
}

@keyframes fade-in {
	from {
		opacity: 0;
		background-color: var(--primary-color);
	}

	to {
		opacity: 1;
		background-color: var(--primary-color);
	}
}

@keyframes fade-out {
	from {
		opacity: 1;
		background-color: var(--primary-color);
	}

	to {
		opacity: 0;
		background-color: var(--primary-color);
	}
}

::view-transition-old(root) {
	animation: 800ms ease-in forwards fade-out;
}

::view-transition-new(root) {
	animation: 400ms ease-in forwards fade-in;
}

:focus-visible {
	outline: 2px dashed var(--primary-color);
	outline-offset: 2px;
}

html {
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
	scroll-padding-top: var(--affix-height);
}

body {
	font-family: var(--font);
	line-height: 1.7;
	font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.text-loose {
	letter-spacing: var(--letter-spacing);
}

.font-size-12px {
	font-size: .75rem;
}

.font-size-14px {
	font-size: .875rem;
}

.font-size-16px {
	font-size: 1rem;
}

.font-size-18px {
	font-size: 1.125rem;
}

.font-size-20px {
	font-size: 1.25rem;
}

.font-size-22px {
	font-size: 1.375rem;
}

.font-size-24px {
	font-size: 1.5rem;
}

.font-size-26px {
	font-size: 1.625rem;
}

.font-size-28px {
	font-size: 1.75rem;
}

.font-size-30px {
	font-size: 1.875rem;
}

.font-size-32px {
	font-size: 2rem;
}

.font-size-34px {
	font-size: 2.125rem;
}

.font-size-36px {
	font-size: 2.25rem;
}

.font-size-38px {
	font-size: 2.375rem;
}

.font-size-40px {
	font-size: 2.5rem;
}

.font-size-42px {
	font-size: 2.625rem;
}

.font-size-44px {
	font-size: 2.75rem;
}

.font-size-46px {
	font-size: 2.875rem;
}

.font-size-48px {
	font-size: 3rem;
}

.font-size-50px {
	font-size: 3.125rem;
}

.icon {
	width: var(--icon-size, 72px);
}

.icon-72px,
[src*="_72px"] {
	width: 72px;
}

.icon-48px,
[src*="_48px"] {
	width: 48px;
}

.icon-32px,
[src*="_32px"] {
	width: 32px;
}

.icon-16px,
[src*="_16px"] {
	width: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--font);
	margin-bottom: 1rem;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 3%;

	small.text-uppercase {
		letter-spacing: var(--letter-spacing);
	}
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h1 em,
.h2 em,
.h3 em,
.h4 em,
.h5 em,
.h6 em {
	font-style: normal;
	color: var(--primary-color);
}

h1,
.h1 {
	font-size: var(--h1) !important;
	text-wrap-style: balance;
}

h2,
.h2 {
	font-size: var(--h2) !important;
	text-wrap-style: balance;
}

h3,
.h3 {
	font-size: var(--h3) !important;
	text-wrap-style: balance;
}

h4,
.h4 {
	font-size: var(--h4) !important;
}

h5,
.h5 {
	font-size: var(--h5) !important;
}

h6,
.h6 {
	font-size: var(--h6) !important;
}

.lead {
	font-size: var(--lead);
	line-height: 1.4;
	font-weight: inherit;
}

@supports (text-wrap-style: pretty) {

	.lead,
	p,
	li {
		text-wrap-style: pretty;
	}
}


.container-fluid {
	padding-inline: 3vw;
}

.inset-0 {
	inset: 0;
}

.p-xxl {
	padding: var(--xxl);
}

.p-xl {
	padding: var(--xl);
}

.px-xxl {
	padding-inline: var(--xxl)
}

.px-xl {
	padding-inline: var(--xl)
}

.pt-xxl {
	padding-top: var(--xxl);
}

.pb-xxl {
	padding-bottom: var(--xxl);
}

.py-xxl {
	padding-top: var(--xxl);
	padding-bottom: var(--xxl);
}

.mt-xxl {
	margin-top: var(--xxl);
}

.mb-xxl {
	margin-bottom: var(--xxl);
}

.my-xxl {
	margin-top: var(--xxl);
	margin-bottom: var(--xxl);
}

.pt-xl {
	padding-top: var(--xl);
}

.pb-xl {
	padding-bottom: var(--xl);
}

.py-xl {
	padding-top: var(--xl);
	padding-bottom: var(--xl);
}

.mt-xl {
	margin-top: var(--xl);
}

.mb-xl {
	margin-bottom: var(--xl);
}

.my-xl {
	margin-top: var(--xl);
	margin-bottom: var(--xl);
}

#main ol li ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#main ol li+li {
	margin-top: 1rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 1.875rem;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;

	background-color: transparent;
	transition: padding 200ms, background-color 200ms, box-shadow 200ms;
}

.navbar.affix {
	--bs-navbar-padding-y: .5rem;
	background-color: hsl(0 0% 100%);
	box-shadow: 0 0 1rem hsl(0 0% 0% / .15);

	.navbar-brand-text,
	.navbar-nav .nav-link {
		color: var(--bs-dark);
	}

}

.navbar-brand-image {
	height: 64px;
	transition: height 200ms;
}

.navbar-brand-text {
	font-weight: 900;
	line-height: 1.1;
	font-size: var(--h6);
	transition: font-size 200ms, color 200ms;
}

.affix .navbar-brand-text {
	font-size: 1rem;
}

.affix .navbar-brand-image {
	height: 46px;
}

.navbar-nav .nav-link {
	font-weight: bold;
	text-transform: uppercase;
	color: white;
	font-size: .75rem;
	letter-spacing: var(--letter-spacing);
	transition: color 300ms;

	&:hover,
	&:focus,
	&.active,
	&.show {
		color: var(--primary-color);
	}
}

.dropdown-menu {
	border: 0;
	padding: .75rem 1rem;
	border-radius: 0;
	box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25);
	background-color: hsl(0 0% 100% / .8);
}

.dropdown-item {
	padding: 0.25rem 0;
	transition: color 200ms, border-color 200ms;
	border-bottom: 1px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: var(--primary-color);
	background-color: transparent;
	border-bottom-color: var(--primary-color);
}

/*  MARK: header  */

header {
	--minh: 850px;
	color: white;
	min-height: var(--minh);

	&::before {
		content: '';
		display: block;
		width: 373px;
		max-width: 15%;
		aspect-ratio: 373/670;
		background-image: url(../img/leafs.webp);
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		bottom: -20%;
		left: 0;
		z-index: 30;
	}

	&::after {
		content: '';
		display: block;
		width: 100%;
		height: 120px;

		position: absolute;
		z-index: 10;
		bottom: 0;
		left: 0;

		background-image: url(../img/wave.svg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center top;
	}

	small.text-uppercase {
		font-size: .75rem;
		letter-spacing: var(--letter-spacing);
	}

	.col h3 {
		margin-bottom: 0;
	}
}

header h1 {
	color: white;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

header h1 small {
	font-size: .75rem;
	font-weight: normal;
}

header .lead {
	margin-bottom: 0;
}

header .col+.col {
	border-left: 1px solid hsl(0 0% 100% / .5);
	padding-left: 3rem;
}

header .position-absolute {
	isolation: isolate;
	background-image: linear-gradient(to right, hsl(145 58% 6% / .8), transparent);

	&::before,
	&::after {
		content: '';
		display: block;
		width: 100%;
		height: 200px;
		position: absolute;
		left: 0;
		z-index: -1;
	}

	&::before {
		top: 0;
		background-image: linear-gradient(to bottom, hsl(145 58% 6% / .8), transparent);
	}

	&::after {
		bottom: 0;
		background-image: linear-gradient(to top, hsl(145 58% 6% / .8), transparent);
	}
}

.swiper__image {
	height: 100vh;
	min-height: var(--minh);
	object-position: right;
}

/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: .75rem;
	--bs-btn-font-weight: 400;
	--bs-btn-line-height: 1.5;
	letter-spacing: var(--letter-spacing);
	text-transform: uppercase;
}

.btn-primary {
	color: white;
	border: 0;
	background-image: linear-gradient(-45deg, var(--primary-color), var(--bs-secondary));
	transition: filter 300ms, transform 300ms, box-shadow 300ms;

	&:hover,
	&:focus {
		filter: brightness(1.2);
		transform: translateY(-2px);
		box-shadow: 0 1rem 1rem -.5rem hsl(0 0% 0% / .25), 1rem 1rem 2rem hsl(120 61% 34% / .15), -1rem 1rem 2rem hsl(225 73% 57% / .15);
	}
}

.btn-outline-primary {
	--bs-btn-color: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color);
	--bs-btn-hover-border-color: var(--primary-color);
	--bs-btn-active-bg: var(--primary-color);
	--bs-btn-active-border-color: var(--primary-color);
}

section h2 small {
	font-size: .75rem;
	font-weight: normal;
	margin-bottom: 1rem;
}

.leafs {
	width: 130%;
	aspect-ratio: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.leafed-circle .z-1 {
	margin-left: 1rem;
	max-width: 100%;
}

.rounded-circle {
	aspect-ratio: 1;
	height: auto;
	display: block;
}

.home #news {
	background-image: url(../img/waterbg.webp);
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;

	h2 {
		color: white;
	}

	.swiper-button-prev,
	.swiper-button-next {
		position: relative;
		margin: 0;
		padding: 0;
		color: white;
	}

	&::before {
		content: '';
		display: block;
		width: 100%;
		height: 120px;

		position: absolute;
		z-index: 10;
		top: 0;
		left: 0;

		background-image: url(../img/bottom-wave.svg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center top;
	}

	&::after {
		content: '';
		display: block;
		width: 100%;
		height: 120px;

		position: absolute;
		z-index: 10;
		bottom: 0;
		left: 0;

		background-image: url(../img/wave.svg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center top;
	}
}

#news .swiper-slide a {
	border-radius: .75rem .75rem .75rem 0;
	color: var(--bs-body-color);

	.bg-white {
		width: 75%;

		&::before {
			content: '';
			display: block;
			width: 0;
			height: 0;
			border: 1rem solid transparent;
			border-bottom-color: white;

			position: absolute;
			left: 1.5rem;
			top: -2rem;
		}
	}

	.h6 {
		margin-bottom: 1.5rem;
		display: block;
	}

	.more,
	.text-muted {
		font-size: .75rem;
	}

	strong {
		transition: color 200ms;
	}

	.bg-white {
		padding: clamp(1rem, 2vw, 1.875rem);
	}

	img {
		width: 100%;
		object-fit: cover;
		aspect-ratio: 4/3;
		transition: transform 700ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	&:hover,
	&:focus {
		strong {
			color: var(--bs-secondary);
		}

		img {
			transform: scale(1.1);
		}
	}
}




/*  MARK: stopka */

footer a {
	text-decoration: none;
	color: var(--bs-body-color);
	transition: color 200ms;
}

footer a:hover,
footer a:focus {
	color: var(--primary-color);
}

footer small.text-uppercase {
	display: block;
	margin-bottom: 0.75rem;
}

footer h3 {
	small {
		font-size: .75rem;
		font-weight: normal;
		margin-bottom: 1rem;
	}
}

footer a[href*="polityka"] {
	opacity: .7
}

.list-unstyled li+li {
	margin-top: 0.75em;
}

.madeby {
	display: flex;
	align-items: center;
}

.madeby small {
	font-size: 0.625rem;
	margin: 0.2em 0.2em 0 0;
}

/*  MARK: sub content  */

.sub:not(:has(header)) {
	padding-top: 124px;
}

@media (width >=1200px) {
	.sub .navbar {
		background-color: white;
	}

	.sub .navbar-nav .nav-link {
		color: var(--bs-body-color);
	}
}

.sub .navbar-brand-text {
	color: var(--bs-body-color);
}

.card-title-link {
	color: var(--bs-body-color);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

.card-img-top {
	width: 100%;
	display: block;
	overflow: hidden;

	img {
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
		aspect-ratio: 4/3;
	}
}

.card-body .more {
	font-family: monospace;
	font-weight: bold;
	font-size: var(--h5);
	width: 2.5rem;
	aspect-ratio: 1;
	border-radius: .35rem;
	background-color: var(--bs-dark);
	color: white;
	flex-shrink: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	align-items: center;
	line-height: 1;
	overflow: hidden;

	.arrows {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 5rem;
		flex-shrink: 0;
		transform: translateX(-50%);
		transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1);

		span {
			width: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
}

.text-loose {
	letter-spacing: .15em;
}

.card {
	background-color: transparent;
}

.card[x-data] {
	cursor: pointer;

	&:hover img {
		transform: scale(1.1);
	}

	&:hover .arrows {
		transform: translateX(0);
	}
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: .5rem;
}

.gallery a img {
	width: 100%;
	display: block;
	transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery a:hover img {
	transform: scale(1.1);
}

.downloads a {
	text-decoration: none;
	color: black;
	border: 1px solid hsl(0 0% 90%);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;

	.h5 {
		font-weight: normal;
		font-size: clamp(1rem, 1.2vw, 1.125rem) !important;
	}
}

.downloads a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-control,
.form-select,
.form-check-input {
	padding: 0.75rem;
	border-radius: .25rem;
	transition: border-color 300ms;

	&:hover {
		border-color: var(--bs-primary);
	}

	&:focus {
		border-color: var(--bs-secondary);
	}
}

.form-check .form-check-input {
	margin-left: -2.5em;
}

.form-check {
	min-height: 2.5rem;
	padding-left: 2.5em;

	label {
		margin-top: 0.15em;
	}
}

.form-control.error {
	border-color: red;
}

.error-msg {
	color: red;
}

/*  MARK: paginator  */

.pagination {
	display: flex;
}

.pagination li {
	display: none;
}

.pagination .active,
.pagination .insertPage,
.pagination li:first-child,
.pagination li:last-child {
	display: block;
}

.pagination a,
.pagination input {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	color: #bbb;
	border: 1px solid #e1e1e1;
	text-decoration: none;
	transition: all .2s;
}

.pagination a:focus,
.pagination a:hover,
.pagination input:focus,
.pagination input:hover {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.pagination input::placeholder {
	color: #bbb;
	font-size: 16px;
	font-weight: 500;
}

.pagination .active a {
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
	color: #fff;
	cursor: text;
}

.pagination .insertPage+.insertPage {
	display: none;
}

/* MARK: MAPA */

/* === Mapa strony === */
nav[aria-label="Mapa strony"] {
  padding: 2rem;
  font-family: inherit;
}

.site-tree,
.site-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Poziom 1 — główne elementy */
.site-tree {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-tree > li {
  position: relative;
  padding-left: 0;
}

.site-tree > li > a {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bs-dark);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  background-color: var(--bs-light);
  border-left: 4px solid var(--bs-primary);
  transition: background 0.2s, color 0.2s;
}

.site-tree > li > a:hover {
  background-color: var(--bs-primary);
  color: #fff;
}

/* Poziomy zagłębione — wspólne */
.site-tree ul {
  margin-top: 0.25rem;
  margin-left: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid #e2e2e2;
}

.site-tree ul li {
  position: relative;
  margin: 0.2rem 0;
}

/* Poziomy — linia pozioma przed elementem */
.site-tree ul li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 0.75rem;
  height: 2px;
  background-color: var(--bs-light);
  transform: translateY(-50%);
}

/* Poziom 2 */
.site-tree > li > ul > li > a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bs-dark);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  background-color: var(--bs-light);
  transition: background 0.2s, color 0.2s;
}

.site-tree > li > ul > li > a:hover {
  background-color: var(--bs-primary);
  color: #fff;
}

/* Poziom 3 */
.site-tree > li > ul > li > ul {
  border-left-color: #e2e2e2;
}

.site-tree > li > ul > li > ul > li > a {
  display: inline-block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--bs-dark);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  background-color: var(--bs-light);
  transition: background 0.2s, color 0.2s;
}

.site-tree > li > ul > li > ul > li > a:hover {
  background-color: var(--bs-primary);
  color: #ffffff;
}

/*  MARK: RWD  */

@media (width < 1400px) {
	.navbar-nav .nav-link {
		letter-spacing: normal;
	}
}

@media (width < 1200px) {
	:root {
		--letter-spacing: .15em;

		--h1: clamp(3rem, 5vw, 5rem);
		--h2: clamp(2.25rem, 4vw, 4rem);
		--h3: clamp(2.15rem, 3vw, 3rem);
		--h4: clamp(1.5rem, 2vw, 2rem);
		--h5: clamp(1.25rem, 1.5vw, 1.5rem);
		--h6: clamp(1.1rem, 1.25vw, 1.25rem);
	}

	.navbar-dark,
	.navbar[data-bs-theme=dark] {
		--bs-navbar-toggler-border-color: rgba(255, 255, 255, 1);
		--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='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

		&.affix {
			--bs-navbar-toggler-border-color: rgba(0, 0, 0, 1);
			--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='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");


			.navbar-nav .nav-link {
				color: white;
			}
		}
	}

	.sub:not(:has(header)) .navbar-dark {
		--bs-navbar-toggler-border-color: rgba(0, 0, 0, 1);
		--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='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.sub:has(header) .navbar-brand-text {
		color: white;
	}

	.offcanvas-body {
		display: flex;
		flex-direction: column;
	}

	.navbar-nav {
		margin-bottom: 3rem;
	}

	.navbar-nav .nav-link {
		letter-spacing: var(--letter-spacing);
		font-size: 1rem;
	}

	header {
		small.text-uppercase {
			display: block;
			line-height: 1.3;
			margin-top: .5rem;
		}
	}

	header::after {
		margin-bottom: -1px;
	}

	header::after,
	.home #news::before,
	.home #news::after {
		height: auto !important;
		aspect-ratio: 1920/121;
		background-size: contain;
	}
}


@media (width < 992px) {
	:root {
		--letter-spacing: .1em;
		--xxl: 4rem;
		--xl: 1.5rem;
	}

	header .slogan {
		text-align: center;
	}

	.fundusze-eu {
		max-width: 350px;
		margin-inline: auto;
	}

	header .col,
	header .col+.col {
		border-left: 0;
		padding: var(--xl);
		text-align: center;
	}

	.opacity-50 {
		opacity: .85 !important;
	}

	#onas {
		text-align: center;
	}

	#onas .col-lg-6+.col-lg-6 {
		margin-top: 6rem;
	}

	.leafed-circle .z-1 {
		margin-left: 0;
	}

	.leafs {
		width: 111%;
		top: 38%;
	}

	#news .swiper-slide a img {
		aspect-ratio: 16/9;
	}

	footer {
		text-align: center;
	}

	.sub header .d-flex.justify-content-end {
		justify-content: center !important;
	}

	textarea {
		height: 10.5rem;
	}
}


@media (width < 768px) {

	header::after,
	.home #news::before,
	.home #news::after {
		height: 48px;
		background-size: contain;
	}

	.leafed-circle .z-1 {
		margin-left: auto;
		max-width: 70%;
		margin-right: auto;
	}

	.leafs {
		width: 110%;
		top: 51%;
		left: 51%;
	}
}


@media (width <=575px) {

	header::after,
	.home #news::before,
	.home #news::after {
		height: 36px;
		background-size: contain;
	}

	header {
		--minh: 700px;

		&::before {
			display: none;
		}
	}

	.slogan {
		margin-top: 120px;
	}

	.leafed-circle .z-1 {
		margin-left: auto;
		max-width: 58%;
		margin-right: auto;
	}

	.leafs {
		width: 90%;
		top: 51%;
		left: 51%;
	}

	header,
	main,
	footer {
		overflow: hidden;
	}

	#onas .col-lg-6+.col-lg-6 {
		margin-top: 4rem;
	}

	#news .swiper-slide a img {
		aspect-ratio: 1;
	}


	#news .swiper-slide a {
		.bg-white {
			width: 85%;
		}
	}
}


@media (width < 500px) {

	header::after,
	.home #news::before,
	.home #news::after {
		height: 22.75px;
		background-size: contain;
	}

	header {
		--minh: 800px;

		&::before {
			display: none;
		}
	}

	.slogan {
		margin-top: 120px;
	}

	.leafed-circle .z-1 {
		margin-left: auto;
		max-width: 58%;
		margin-right: auto;
	}

	.leafs {
		width: 90%;
		top: 51%;
		left: 51%;
	}

	header,
	main,
	footer {
		overflow: hidden;
	}

	.home #news::before {
		margin-top: -1px;
	}

	section .d-flex:has(h2) {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}
}