body {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	padding-top: 56px;
}

body.home {
	padding-top: 0;
}

.hero h1 {
	font-family: 'Lato', serif;
	text-align: left;
	font-size: 2rem;
	max-width: 650px;
	text-shadow: 5px 5px 20px #1c1c1c;
}

h1.section_header {
	font-family: 'Lato', serif;
	font-size: 3.0rem;
	font-weight: 900;
	margin-bottom: 0px;
	line-height: 4.2rem;
}

.font-light {
	font-weight: 300;
}

#breadcrumbs {
	color: #e41d37;
	font-size: 0.7rem;
	padding-left: 0px;
}

#breadcrumbs a {
	color: #e41d37;
}

#breadcrumbs a:hover {
	text-decoration: underline;
}

b, strong {
	font-weight: 700;
}

.logo img {
	max-height: 100px;
}

.bg-red {
	background: #e41d37;
	color: #fff;
}

.hero::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
}

.hero-slider {
	position: relative;
}

.hero-slider__inner {
	position: relative;
}

.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: rgba(0, 0, 0, 0.15);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.hero-slider__arrow span[aria-hidden="true"] {
	font-size: 1.5rem;
	line-height: 1;
}

.hero-slider__arrow--prev {
	left: 30px;
}

.hero-slider__arrow--next {
	right: 30px;
}

.hero-slider__arrow:hover,
.hero-slider__arrow:focus {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border-color: #fff;
	outline: none;
}

.hero-slide .container .text-left {
	padding-bottom: 50px;
}

.rozsylacz-icons {
	position: relative;
}

.rozsylacz-icons__title {
	font-family: 'Lato', serif;
}

.rozsylacz-icons__row {
	row-gap: 30px;
}

.rozsylacz-icon-block {
	display: flex;
	justify-content: center;
	text-decoration: none;
	color: inherit;
	border-left: 1px solid #e5e5e5;
	transition: transform .3s ease, box-shadow .3s ease;
}

.rozsylacz-icon-block:first-child {
	border-left: 0;
}

.rozsylacz-icon-block:nth-child(4n + 1) {
	border-left: 0;
}

.rozsylacz-icon-block__inner {
	width: 100%;
	padding: 30px 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	transition: transform .3s ease, box-shadow .3s ease;
}

.rozsylacz-icon-block__icon img {
	max-width: 80px;
	height: auto;
}

.rozsylacz-icon-block__title {
	font-family: 'Lato', serif;
	font-size: 1.2rem;
}

.rozsylacz-icon-block__text {
	font-size: 0.9rem;
}

.rozsylacz-icon-block__arrow {
	color: #e41d37;
	font-size: 1.2rem;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .3s ease, transform .3s ease;
}

.rozsylacz-icon-block:hover,
.rozsylacz-icon-block:focus,
.rozsylacz-icon-block:active {
	text-decoration: none;
}

.rozsylacz-icon-block:hover .rozsylacz-icon-block__inner,
.rozsylacz-icon-block:focus .rozsylacz-icon-block__inner {
	transform: scale(1.03);
	box-shadow: 0 18px 35px rgba(17, 17, 17, 0.12);
}

.rozsylacz-icon-block:hover .rozsylacz-icon-block__arrow,
.rozsylacz-icon-block:focus .rozsylacz-icon-block__arrow {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 991.98px) {
	.rozsylacz-icon-block {
		border-left: 0;
		border-top: 1px solid #e5e5e5;
	}

	.rozsylacz-icon-block:first-child {
		border-top: 0;
	}
}

@media (max-width: 767.98px) {
	.hero-slider__arrow {
		width: 36px;
		height: 36px;
	}

	.hero-slider__arrow--prev {
		left: 15px;
	}

	.hero-slider__arrow--next {
		right: 15px;
	}
}

.wpcf7-submit,
.btn {
	border: 1px solid #1c1c1c;
	padding: 10px 15px;
	border-radius: 25px;
	background: transparent;
	color: #1c1c1c;
	transition: all ease .3s;
	font-size: 0.8rem;
}

.wpcf7-submit:hover,
.btn:hover {
	background: #e41d37;
	color: #fff;
	border: 1px solid #e41d37;
}

.hero .btn {
	background: #fff;
	border: 1px solid #fff;

}

.hero .btn:hover {
	background: #e41d37;
	border: 1px solid #e41d37;
	color: #fff;
}

.btn.btn-white {
	background: #fff;
	color: #1c1c1c;
	border: 1px solid #fff;
}

.cta {
	background-color: #f1f1f1 !important;
	color: #1c1c1c !important;
}

.cta .btn.btn-white {
	border: 1px solid #e41d37;
	color: #e41d37;
	background-color: #fff;
}
.cta .btn.btn-white:hover {
	background-color: #fff;
	color: #e41d37;
}

/* Strona główna – tło FAQ i ciemne CTA pod spodem */
.home #section-faq {
	background-color: #f1f1f1;
}

.home .cta {
	background-color: #111 !important;
	color: #fff !important;
}

.home .cta .section_header {
	color: #fff;
}

.accordion,
.accordion-item,
.accordion-button:not(.collapsed) {
	background: transparent;
	border: 0px !important;
}

.accordion-button:not(.collapsed) {
	box-shadow: 0;
	color: #e41d37;
	font-weight: 700;
}

.accordion-button {
	background: transparent;
	color: #111;
	font-weight: 700;
}

.offer-item {
	transition: all 0.6s ease;
	height: 500px;
	cursor: pointer;
	position: relative;
	padding: 15px;
}

.offer-item .offer-bg {
	filter: grayscale(100%) contrast(0.8);
	transition: all 0.5s ease;
}

.offer-item .offer-content,
.offer-item .offer-title-rotated {
	display: none;
}

.offer-item.active {
	flex: 0 0 70% !important;
	max-width: 70% !important;
}

.offer-item.active .offer-bg {
	filter: none;
}

.offer-item.active .offer-content {
	display: flex;
	z-index: 2;
	position: relative;
}

.offer-item:not(.active) {
	flex: 0 0 30% !important;
	max-width: 30% !important;
}

.offer-item:not(.active) .offer-content>.offer-title,
.offer-item:not(.active) .offer-content>.offer-text,
.offer-item:not(.active) .offer-content>a {
	display: none;
}

.offer-item:not(.active) .offer-title-rotated {
	display: block;
	transform: rotate(-90deg) !important;
	transform-origin: left top;
	white-space: nowrap;
	/* zapobiega łamaniu tekstu */
	position: absolute !important;
	text-align: left !important;
	bottom: 25px;
	left: 30px;
	font-size: 1.8rem !important;
	text-shadow: 5px 5px 15px #1c1c1c;
}


.offer-item .offer-content {
	border-radius: 25px;
	position: relative;
}

.offer-item .offer-content::before {
	content: '';
	display: block;
	background: #1f1f1f;
	background: linear-gradient(to right, rgba(0, 0, 0, 1), transparent);
	opacity: 0.75;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 25px;
}

.offer-item:not(.active) {
	filter: grayscale(100%);
}

.offer-item .offer-content>* {
	z-index: 2;
}

.offer-item .offer-content a {
	border: 1px solid #e41d37;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none !important;
	width: fit-content;
}

.offer-item .offer-content a:hover {
	color: #e41d37 !important;
	border: 1px solid #fff;
	background: #fff;


}

/* Mobile layout dla sekcji ofert – boxy jeden pod drugim, tekst poziomo */
@media (max-width: 767.98px) {
	.offer-item,
	.offer-item.active {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100%;
		height: auto;
	}

	.offer-item.active .offer-content {
		width: 100%;
	}

	.offer-item:not(.active) {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.offer-item:not(.active) .offer-content > .offer-title {
		display: block;
	}

	.offer-item .offer-content {
		display: flex !important;
	}

	.offer-item .offer-title-rotated {
		display: none !important;
	}
}

#header {
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

#header:not(.fixed-top):not(.fixed-bottom) {
	position: sticky;
	top: 0;
	z-index: 1030;
}

#header.is-sticky {
	background-color: #fff !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#header.navbar-light.bg-light {
	background-color: #fff !important;
}

.bg-grey {
	background-color: #f1f1f1;
}

#main {
	margin-top: 0;
}

#header.navbar-light.bg-light {
	width: 100%;
	z-index: 3;
}

 #header.navbar-light.bg-light:not(.is-sticky) {
	position: absolute;
	background-color: transparent !important;
}

 #header.navbar-light.bg-light.is-sticky {
	position: fixed;
	z-index: 1030;
}

.navbar-nav {
	background: #fff;
	border-radius: 15px;
}

.navbar-nav a {
	color: #1c1c1c;
	font-size: 0.9rem;
	padding: 7px 10px !important;
	border-radius: 15px;
	text-align: left;
}



.navbar-nav a:hover {
	color: #e41d37;
}

.navbar-nav .menu-cta a {
	background: #e41d37;
	color: #fff;
	font-weight: 400;
}

.navbar-nav a.dropdown-item {
	padding: 5px 12px !important;
	text-align: left;
}

/* Domyślnie przycisk do submenu ukryty (desktop) */
.nav-subtoggle {
	display: none;
}

/* Mobilny hamburger – biała ikonka na przezroczystym headerze */
#header.navbar-light.bg-light .navbar-toggler {
	border-color: #fff;
}

#header.navbar-light.bg-light:not(.is-sticky) .navbar-toggler-icon {
	filter: invert(1);
}

/* Nowoczesne menu mobilne – pełna szerokość, ładne odstępy, podmenu wewnątrz listy */
@media (max-width: 991.98px) {
	#header .navbar-collapse {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1020;
		background: #ffffff;
		border-radius: 20px;
		box-shadow: 0 18px 35px rgba(17, 17, 17, 0.14);
		padding: 10px 12px;
	}

	#header .navbar-nav {
		flex-direction: column;
		gap: 4px;
		background: transparent;
		border-radius: 0;
	}

	#header .navbar-nav .nav-item + .nav-item {
		border-top: 1px solid #f1f1f1;
	}

	#header .navbar-nav .nav-link {
		padding: 10px 14px !important;
		border-radius: 12px;
		font-size: 0.95rem;
	}

	#header .navbar-nav .dropdown-menu {
		position: static;
		float: none;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 4px 0 4px 8px;
		margin-top: 2px;
	}

	#header .navbar-nav .dropdown-item {
		padding: 6px 14px !important;
		border-radius: 10px;
		font-size: 0.9rem;
	}

	/* Układ pozycji z podmenu: [link] | [strzałka] */
	#header .navbar-nav .nav-item.dropdown {
		display: flex;
		flex-wrap: wrap; /* pozwala opaść submenu pod wiersz link+strzałka */
		align-items: stretch;
	}

	#header .navbar-nav .nav-item.dropdown > .nav-link {
		flex: 1 1 auto;
		border-radius: 12px 0 0 12px;
		border-right: 1px solid #f1f1f1;
	}

	#header .navbar-nav .nav-item.dropdown > .nav-subtoggle {
		flex: 0 0 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		padding: 0;
		margin: 0;
		border-radius: 0 12px 12px 0;
		color: #1c1c1c;
		cursor: pointer;
	}

	#header .navbar-nav .nav-item.dropdown > .nav-subtoggle:hover,
	#header .navbar-nav .nav-item.dropdown > .nav-subtoggle:focus {
		background-color: #f7f7f7;
	}

	#header .navbar-nav .nav-subtoggle-icon {
		font-size: 0.8rem;
	}

	/* submenu pełnej szerokości pod rodzicem */
	#header .navbar-nav .nav-item.dropdown .dropdown-menu {
		flex: 0 0 100%;
		width: 100%;
		margin-top: 4px;
	}

	/* CTA w menu mobilnym – jako przycisk pod listą */
	#header .navbar-nav .menu-cta a {
		background: #e41d37;
		color: #fff;
		font-weight: 400;
		width: fit-content;
		margin-top: 10px;
	}
}

.social-icons {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.social-icon {
	width: 40px;
	height: 40px;
	border: 1px solid #1c1c1c;
	color: #1c1c1c;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
	text-decoration: none;
}

.social-icon:hover {
	background-color: #e41d37;
	border-color: #e41d37;
	color: #ffffff;
}

#footer {
	background-color: #e41d37;
}
#footer .social-icon {
	border: 1px solid #fff;
	color: #fff;
}

#footer .social-icon:hover {
	border: 1px solid #1c1c1c;
	color: #1c1c1c;
}

#footer a {
	color: #fff;
}
.contact-wrap {
	--bs-gutter-x: 30px;
	--bs-gutter-y: 24px;
}

.contact-wrap .contact-section {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-wrap .contact-row {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	font-size: 0.95rem;
	margin-bottom: 0;
}

.contact-wrap .contact-row i {
	font-size: 1.2rem;
	width: 22px;
	text-align: center;
	margin-top: 3px;
}

.contact-wrap .contact-row strong {
	font-weight: 600;
}

.contact-wrap .contact-row .muted {
	opacity: 0.7;
	font-size: 0.85rem;
}

.contact-wrap a {
	text-decoration: none;
}

.contact-wrap a:hover,
.contact-wrap a:focus {
	text-decoration: underline;
}

.contact-wrap a:focus {
	outline: 2px solid rgba(255, 255, 255, 0.35);
	outline-offset: 2px;
}

#footer .contact-wrap {
	color: #fff;
}

#footer .contact-wrap a {
	color: #fff;
}

#footer .contact-wrap a:hover,
#footer .contact-wrap a:focus {
	color: #fff;
}

#footer .contact-wrap [aria-hidden="true"] {
	color: #fff;
}

.text-danger {
	margin-left: -15px;
	font-weight: 300 !important;
	position:relative;
	font-size: 0;
	color:transparent;
}

.text-danger::before {
content: '';
display: inline-block;
width: 31px;
height: 31px;
margin-right: 8px;
background-image: url('/wp-content/themes/borose/assets/images/fav.png');
background-repeat: no-repeat;
background-size: contain;
vertical-align: middle;
position: absolute;
top: 5px;
left: -7px;
}

.cta .section_header {

	display: block;
	font-weight: 400;
	margin: 0px auto;
	margin-bottom: 15px;
	font-family: 'Lato', serif;
}

.about-first {
	padding-top: 50px;
	padding-bottom: 50px;
	margin-bottom: 0;
}

.about-first.py-5 {
	padding-bottom: 0 !important;
}

.about-first .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.col-about-text {
	flex: 0 0 50%;
	max-width: 50%;
	display: flex;
	flex-direction: column;
	padding-bottom: 15px;
}

.col-about-text .bg-white {
	flex: 1;
}

.col-about-image {
	flex: 0 0 50%;
	max-width: 50%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	position: relative;
	min-height: 100%;
}

.col-about-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

@media (max-width: 1000px) {
	.col-about-text {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 30px;
	}
	
	.col-about-image {
		flex: 0 0 100%;
		max-width: 100%;
		justify-content: center;
	}
	
	.col-about-image img {
		width: 100%;
		max-width: 100%;
	}
}

.box-contact {
	background: #f1f1f1;
	border-top: 4px solid red;
	border-left: 4px solid red;
	border-radius: 25px;
	margin: 0px auto;
}

.box-contact input,
.box-contact textarea {
	width: 100%;
}

.box-contact input[type="checkbox"] {
	width: auto;

}

.box-contact textarea {
	height: 100px;
}

.box-contact input.wpcf7-submit {
	width: auto;

}

.submit-row p {
	display: flex;
	flex-direction: row-reverse;
}

body:not(.home) {
	background-image: url('/wp-content/themes/borose/assets/images/subpage-header.png');
	background-position: top right;
	background-repeat: no-repeat;
	background-size: 60%;
}

body:not(.home) #header.navbar-light.bg-light:not(.is-sticky) {
	background-color: transparent !important;
}

.rozsylacze {
	margin: 0px auto;
}

.rozsylacz-item {
	padding: 20px;
	border: 1px solid #d2d2d2;
	border-radius: 25px;
	margin: 0px auto;
}

.rozsylacz-item:nth-child(odd) {
	background: #f1f1f1;
	margin-top: 30px;
	margin-bottom: 30px;
}

.about-first .bg-white {
	background-color: rgba(255, 255, 255, 0.5) !important;
}

.dropdown-item.active, .dropdown-item:active {
	background-color: transparent;
	background-image: none;
	color: #1c1c1c;
}

.contact-details a {
	color: #1c1c1c;
	font-weight: bold;
}

.contact-details a:hover {
	color: #e41d37;
}

.contact-details-link {
	margin-top: 5px;
}

.contact-details-link p {
	margin-bottom: 0;
}

.realizacje-details i {
	color: #e41d37;
}

.paginations .page-numbers {
	padding: 10px;
	display: block;
	width: 45px;
	height: 45px;
	border: 1px solid #eee;
	border-radius: 100%;
	color: #1c1c1c;
}

.paginations .page-numbers:hover {
	background: #eee;
	border: 1px solid #1f1f1f;
}

.paginations .page-numbers.current {
	color: #fff;
	background: #e41d37;
	border: 1px solid #e41d37;
}

.paginations .page-numbers.prev,
.paginations .page-numbers.next {
	border: 0px;
	border-radius: 0;
	color: #1c1c1c;
	width: auto;
}

.paginations .page-numbers.prev:hover,
.paginations .page-numbers.next:hover {
	background: transparent;
	color: #e41d37;
}

.realizacje-card {
	background-color: #fff;
	border: 1px solid #d2d2d2;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 18px 35px rgba(17, 17, 17, 0.08);
}

.realizacje-card__image {
	position: relative;
	background-color: #f5f5f5;
	overflow: hidden;
}

.realizacje-card__image::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0) 55%);
	pointer-events: none;
	opacity: 1;
	transition: opacity .3s ease;
}

.realizacje-card--reverse .realizacje-card__image::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0) 55%);
}

.realizacje-card__image:hover::after,
.realizacje-card__image:focus-within::after,
.realizacje-card--reverse .realizacje-card__image:hover::after,
.realizacje-card--reverse .realizacje-card__image:focus-within::after {
	opacity: 1;
}

.realizacje-card__image img,
.realizacje-card__image-media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.realizacje-card__image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 220px;
	background-color: #f1f1f1;
}

.realizacje-card__body {
	padding: 3.5rem 2rem;
	background-color: #fff;
}

.realizacje-card__meta-item strong {
	display: block;
	font-weight: 600;
	color: #1c1c1c;
	margin-bottom: 0.25rem;
}

.realizacje-card__meta-item span {
	display: block;
	font-size: 0.95rem;
	color: #555;
}

.realizacje-card__meta-item i {
	color: #e41d37;
}

.realizacje-card__title-link {
	color: #1c1c1c;
	text-decoration: none;
	transition: color .3s ease;
}

.realizacje-card__title-link:hover,
.realizacje-card__title-link:focus {
	color: #e41d37;
	text-decoration: none;
}

.realizacje-card__excerpt p:last-child {
	margin-bottom: 0;
}

.realizacje-card__link,
.cta .btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	border: 1px solid #e41d37;
	border-radius: 999px;
	background-color: #fff;
	color: #e41d37;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 0 0 rgba(228, 29, 55, 0);
	transition: color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.realizacje-card__link:hover,
.realizacje-card__link:focus,
.cta .btn:hover,
.cta .btn:focus {
	color: #e41d37;
	transform: translateY(-1px);
	box-shadow: 0 14px 24px rgba(228, 29, 55, 0.18);
}

.realizacje-card__link {
	justify-content: flex-start;
	padding-right: 1.75rem;
	transition: color .3s ease, box-shadow .3s ease, transform .3s ease, padding-right .3s ease;
}

.realizacje-card__link > span:first-child {
	display: inline-block;
}

.realizacje-card__link:hover,
.realizacje-card__link:focus {
	padding-right: 3rem;
}

.realizacje-card__link .rozsylacz-icon-block__arrow {
	position: absolute;
	right: 1.75rem;
	top: 50%;
	transform: translateY(-50%) translateX(-8px);
	display: none;
	opacity: 0;
	font-size: 1.2rem;
	color: #e41d37;
	transition: opacity .3s ease, transform .3s ease;
	pointer-events: none;
}

.realizacje-card__link .rozsylacz-icon-block__arrow span {
	display: block;
	line-height: 1;
}

.realizacje-card__link:hover .rozsylacz-icon-block__arrow,
.realizacje-card__link:focus .rozsylacz-icon-block__arrow {
	display: inline-flex;
	opacity: 1;
	transform: translateY(-50%) translateX(10px);
}

@media (max-width: 767.98px) {
	.realizacje-card__body {
		padding: 1.5rem;
	}

	.realizacje-card__image-placeholder {
		min-height: 260px;
	}
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	width: 100%;
	padding: 8px 16px;
	border-radius: 15px;
	border: 1px solid #d2d2d2
}

textarea { 
	height: 158px;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
textarea:focus-visible {
	outline: none;
	border-color: #e41d37;
}

.realizacje-singlebox {
	border: 1px solid #d2d2d2;

}

.realizacje-singlebox .text-danger {
	display: none;
}

@media (min-width: 992px) {
	.post-type-archive-realizacje .cta .section_header {
		max-width: 80%;
		margin: 0 auto !important;
	}
}

@media (max-width: 575.98px) {
	.hero h1 {
		font-size: 2.2rem;
	}
}
