/**
 * Contact Form 7 Custom Styles
 * Dopasowane do stylów motywu wartaTL
 */

/* ===================================
   Header Logo Styles
   =================================== */
.main-header__logo img,
.custom-logo {
	max-width: 200px;
	height: auto;
	display: block;
}

/* ===================================
   Blog Archive Section - Remove Top Margin
   =================================== */
.blog {
	padding: 2rem 0 !important;
	margin-top: 0 !important;
}

/* ===================================
   Główny kontener formularza
   =================================== */
.wpcf7 {
	margin: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.wpcf7-form *,
.wpcf7-form *::before,
.wpcf7-form *::after {
	box-sizing: border-box;
}

/* ===================================
   Etykiety pól formularza
   =================================== */
.wpcf7-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #1a1a1a;
	font-size: 0.875rem;
}

/* ===================================
   Pola wejściowe (input, textarea)
   =================================== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.5;
	color: #1a1a1a;
	background-color: #ffffff;
	transition: all 0.2s ease;
	outline: none;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
	color: #9ca3af;
}

/* Focus state */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	border-color: #003d7a;
	box-shadow: 0 0 0 3px rgba(0, 61, 122, 0.1);
}

/* ===================================
   Textarea
   =================================== */
.wpcf7-form textarea {
	min-height: 150px;
	resize: vertical;
}

/* ===================================
   Checkbox i Radio
   =================================== */
.wpcf7-form .wpcf7-list-item {
	margin: 0;
	padding: 0;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
	width: auto;
	margin-right: 0.5rem;
	accent-color: #003d7a;
}

.wpcf7-form .wpcf7-list-item-label {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

/* Checkbox dla polityki prywatności */
.wpcf7-form .wpcf7-acceptance {
	margin: 1rem 0;
}

.wpcf7-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
	margin-top: 0.25rem;
	flex-shrink: 0;
}

.wpcf7-form .wpcf7-acceptance a {
	color: #003d7a;
	text-decoration: underline;
}

.wpcf7-form .wpcf7-acceptance a:hover {
	color: #002855;
}

/* ===================================
   Przycisk Submit
   =================================== */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: #ffffff;
	background: linear-gradient(135deg, #003d7a 0%, #005cb8 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 61, 122, 0.15);
	width: 100%;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
	background: linear-gradient(135deg, #002855 0%, #004a9c 100%);
	box-shadow: 0 4px 12px rgba(0, 61, 122, 0.25);
	transform: translateY(-2px);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 61, 122, 0.15);
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form button[type="submit"]:disabled {
	background: #d1d5db;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ===================================
   Komunikaty błędów i sukcesów
   =================================== */

/* Komunikaty walidacji dla pojedynczych pól */
.wpcf7-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #dc2626;
	font-weight: 500;
}

/* Pole z błędem */
.wpcf7-form .wpcf7-not-valid {
	border-color: #dc2626 !important;
	background-color: #fef2f2;
}

/* Główne komunikaty formularza */
.wpcf7-form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 500;
	border: 2px solid;
}

/* Komunikat o błędach walidacji */
.wpcf7-form .wpcf7-validation-errors {
	background-color: #fef2f2;
	color: #991b1b;
	border-color: #fca5a5;
}

/* Komunikat sukcesu */
.wpcf7-form .wpcf7-mail-sent-ok {
	background-color: #f0fdf4;
	color: #166534;
	border-color: #86efac;
}

/* Komunikat błędu wysyłki */
.wpcf7-form .wpcf7-mail-sent-ng {
	background-color: #fef2f2;
	color: #991b1b;
	border-color: #fca5a5;
}

/* Komunikat spam */
.wpcf7-form .wpcf7-spam-blocked {
	background-color: #fffbeb;
	color: #92400e;
	border-color: #fde68a;
}

/* Ukryj domyślny komunikat walidacji (wyświetlany na górze) jeśli wolisz */
.wpcf7-form .wpcf7-validation-errors {
	display: none;
}

/* ===================================
   Spinner (ikona ładowania)
   =================================== */
.wpcf7-form .wpcf7-spinner {
	display: none !important;
}

@keyframes wpcf7-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ===================================
   Dodatkowe elementy formularza
   =================================== */

/* Jeśli używasz captcha */
.wpcf7-form .wpcf7-captcha {
	margin: 1rem 0;
}

/* Jeśli używasz quizu */
.wpcf7-form .wpcf7-quiz-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

/* ===================================
   Responsive - układ dwukolumnowy
   =================================== */

/* Dla pól w rzędzie (np. imię i email obok siebie) */
.wpcf7-form .contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 640px) {
	.wpcf7-form .contact-form__row {
		grid-template-columns: 1fr;
	}
}

/* ===================================
   Ukrywanie domyślnych elementów CF7
   =================================== */

/* Ukryj domyślne obramowania i marginesy */
.wpcf7-form p {
	margin: 0;
}

/* Ukryj domyślne paragrafy wokół pól */
.wpcf7-form p:empty {
	display: none;
}

/* Ukryj domyślne br tagi */
.wpcf7-form br {
	display: none;
}

/* Ukryj domyślne div wrappers */
.wpcf7-form div:empty {
	display: none;
}

/* Ukryj domyślne style dla pól w paragrafach */
.wpcf7-form p input,
.wpcf7-form p textarea,
.wpcf7-form p select {
	width: 100%;
}

/* Ukryj domyślne obramowania CF7 */
.wpcf7-form .wpcf7-form-control-wrap {
	margin: 0;
	padding: 0;
}

/* Ukryj domyślne margesy dla label */
.wpcf7-form label {
	margin: 0 0 0.5rem 0;
}

/* Ukryj niepotrzebne elementy span */
.wpcf7-form span.wpcf7-form-control-wrap {
	display: block;
}

/* Ukryj domyślne style dla submit button */
.wpcf7-form input[type="submit"] {
	padding: 1rem 2rem;
}

/* Ukryj domyślne margesy dla checkboxów */
.wpcf7-form .wpcf7-list-item {
	margin-bottom: 0.75rem;
}

/* Ukryj domyślne style dla radio buttons */
.wpcf7-form input[type="radio"] {
	margin-right: 0.5rem;
}

/* Ukryj domyślne obramowania dla pól z błędem */
.wpcf7-form .wpcf7-not-valid {
	box-shadow: none;
}

/* Ukryj domyślne ikony/symbole */
.wpcf7-form .wpcf7-validation-errors::before,
.wpcf7-form .wpcf7-mail-sent-ok::before,
.wpcf7-form .wpcf7-mail-sent-ng::before {
	display: none;
}

/* Ukryj domyślne style dla datepicker */
.wpcf7-form input[type="date"] {
	padding: 0.875rem 1rem;
}

/* Ukryj domyślne style dla file input */
.wpcf7-form input[type="file"] {
	padding: 0.5rem;
}

/* Ukryj domyślne obramowania dla textarea */
.wpcf7-form textarea {
	box-shadow: none;
}

/* Ukryj domyślne style dla select */
.wpcf7-form select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1.5em 1.5em;
	padding-right: 2.5rem;
}

/* Ukryj domyślne style dla multiple select */
.wpcf7-form select[multiple] {
	background-image: none;
	padding-right: 1rem;
}

/* Ukryj hidden-fields-container */
.wpcf7-form .hidden-fields-container {
	display: none !important;
}

.wpcf7-form .hidden-fields-container * {
	display: none !important;
}

/* ===================================
   Dostępność (a11y)
   =================================== */

/* Focus visible dla lepszej dostępności */
.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible,
.wpcf7-form select:focus-visible {
	outline: 2px solid #003d7a;
	outline-offset: 2px;
}

/* Screen reader only text */
.wpcf7-form .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

/* ===================================
   Zabezpieczenie przed scrollem horyzontalnym
   =================================== */
body {
	overflow-x: hidden;
}

/* ===================================
   Formularz Hero - Contact Form 7
   =================================== */

.hero__form-wrapper .wpcf7 {
	margin: 0;
	padding: 0;
}

.hero__form-wrapper .wpcf7-form {
	display: block;
}

.hero__form-wrapper .wpcf7-form p {
	margin: 0;
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	align-items: flex-end;
	box-sizing: border-box;
}

.hero__form-wrapper .wpcf7-form p br {
	display: none;
}

.hero__form-wrapper .wpcf7-form p span.wpcf7-form-control-wrap {
	flex: 1;
	display: block;
}

/* Input w hero */
.hero__form-wrapper .wpcf7-form input[type="tel"],
.hero__form-wrapper .wpcf7-form input[type="text"],
.hero__form-wrapper .wpcf7-form input[type="email"] {
	flex: 1;
	min-width: 200px;
	padding: 0.875rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.5;
	color: #1a1a1a;
	background-color: #ffffff;
	transition: all 0.2s ease;
	outline: none;
	box-sizing: border-box;
}

.hero__form-wrapper .wpcf7-form input[type="tel"]::placeholder,
.hero__form-wrapper .wpcf7-form input[type="text"]::placeholder,
.hero__form-wrapper .wpcf7-form input[type="email"]::placeholder {
	color: #9ca3af;
}

/* Focus state */
.hero__form-wrapper .wpcf7-form input[type="tel"]:focus,
.hero__form-wrapper .wpcf7-form input[type="text"]:focus,
.hero__form-wrapper .wpcf7-form input[type="email"]:focus {
	border-color: #003d7a;
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(0, 61, 122, 0.1);
}

/* Button w hero */
.hero__form-wrapper .wpcf7-form input[type="submit"],
.hero__form-wrapper .wpcf7-form button[type="submit"] {
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	color: #ffffff;
	background: linear-gradient(135deg, #003d7a 0%, #005cb8 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 61, 122, 0.15);
	white-space: nowrap;
	display: inline-block;
}

.hero__form-wrapper .wpcf7-form input[type="submit"]:hover,
.hero__form-wrapper .wpcf7-form button[type="submit"]:hover {
	background: linear-gradient(135deg, #002855 0%, #004a9c 100%);
	box-shadow: 0 4px 12px rgba(0, 61, 122, 0.25);
	transform: translateY(-2px);
}

.hero__form-wrapper .wpcf7-form input[type="submit"]:active,
.hero__form-wrapper .wpcf7-form button[type="submit"]:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Błędy w hero */
.hero__form-wrapper .wpcf7-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #ffcccc;
	font-weight: 500;
}

.hero__form-wrapper .wpcf7-form .wpcf7-not-valid {
	border-color: #ff6b6b !important;
	background-color: rgba(255, 107, 107, 0.1) !important;
}

/* Komunikaty w hero */
.hero__form-wrapper .wpcf7-form .wpcf7-response-output {
	margin: 0.75rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 500;
	border: 2px solid;
}

.hero__form-wrapper .wpcf7-form .wpcf7-mail-sent-ok {
	background-color: rgba(34, 197, 94, 0.1);
	color: #86efac;
	border-color: #86efac;
}

.hero__form-wrapper .wpcf7-form .wpcf7-mail-sent-ng {
	background-color: rgba(239, 68, 68, 0.1);
	color: #fca5a5;
	border-color: #fca5a5;
}

/* Ukryj spinner w hero */
.hero__form-wrapper .wpcf7-form .wpcf7-spinner {
	display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
	.hero__form-wrapper .wpcf7-form p {
		flex-direction: column;
		gap: 0.5rem;
		align-items: stretch;
	}
	
	.hero__form-wrapper .wpcf7-form p span.wpcf7-form-control-wrap {
		flex: 1;
	}
	
	.hero__form-wrapper .wpcf7-form input[type="tel"],
	.hero__form-wrapper .wpcf7-form input[type="text"],
	.hero__form-wrapper .wpcf7-form input[type="email"] {
		min-width: auto;
		width: 100%;
	}
	
	.hero__form-wrapper .wpcf7-form input[type="submit"],
	.hero__form-wrapper .wpcf7-form button[type="submit"] {
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
		width: 100%;
	}
}

/* ===================================
   Karta Zadowolonych Klientów - Hero
   =================================== */

.hero-card--stats {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hero-card__refresh {
	order: 3;
	align-self: flex-start;
	margin-top: auto;
	top: auto !important;
	bottom: 0.75rem !important;
}

/* ===================================
   Service Offer - Przewijalne zakładki na mobile
   =================================== */

/* Mobile: Horizontal scrollable tabs */
@media (max-width: 1024px) {
	.service-sidebar {
		overflow-x: auto !important;
		overflow-y: visible !important;
		-webkit-overflow-scrolling: touch !important; /* Smooth scrolling na iOS */
		margin-bottom: 1.5rem;
		position: relative !important;
		z-index: 100 !important;
		display: block !important;
	}
	
	.service-sidebar__list {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 0.75rem;
		padding-bottom: 0.5rem; /* Miejsce na scrollbar */
		padding-right: 1rem; /* Padding dla ostatniego elementu */
		list-style: none !important;
		margin: 0 !important;
	}
	
	.service-sidebar__item {
		flex-shrink: 0 !important; /* Zapobiega zmniejszaniu przycisków */
		position: relative !important;
		z-index: 10 !important;
		display: block !important;
	}
	
	.service-sidebar__button {
		white-space: nowrap !important; /* Tekst w jednej linii */
		min-width: auto !important;
		pointer-events: auto !important;
		touch-action: manipulation !important;
		cursor: pointer !important;
		-webkit-tap-highlight-color: rgba(0, 61, 122, 0.1) !important;
		position: relative !important;
		z-index: 1 !important;
		display: flex !important;
		align-items: center !important;
	}
	
	/* Ukryj scrollbar ale zachowaj funkcjonalność */
	.service-sidebar::-webkit-scrollbar {
		height: 6px;
	}
	
	.service-sidebar::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0.05);
		border-radius: 3px;
	}
	
	.service-sidebar::-webkit-scrollbar-thumb {
		background: rgba(0, 61, 122, 0.3);
		border-radius: 3px;
	}
	
	.service-sidebar::-webkit-scrollbar-thumb:hover {
		background: rgba(0, 61, 122, 0.5);
	}
	
	/* Upewnij się że container nie blokuje kliknięć */
	.service-offer__container {
		position: relative !important;
		pointer-events: auto !important;
	}
	
	/* Service offer section */
	.service-offer {
		position: relative !important;
		pointer-events: auto !important;
	}
	
	/* Usuń potencjalne nakładki */
	.service-sidebar::before,
	.service-sidebar::after {
		display: none !important;
	}
	
	/* Dodatkowa specyficzność dla przycisków */
	.service-sidebar nav,
	nav.service-sidebar {
		pointer-events: auto !important;
		touch-action: auto !important;
	}
	
	.service-sidebar__button svg,
	.service-sidebar__button span {
		pointer-events: none !important; /* Kliknięcia przechodzą przez ikony i tekst do przycisku */
	}
	
	/* Active state dla touch devices */
	.service-sidebar__button:active {
		transform: scale(0.98);
		transition: transform 0.1s ease;
		background-color: rgba(0, 61, 122, 0.1) !important;
	}
}

/* ===================================
   Szablon Strony Oferta
   =================================== */

/* Keyframes dla animacji wejścia */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Breadcrumb */
.offer-breadcrumb {
	font-size: 0.9375rem;
}

.offer-breadcrumb--hero a {
	color: #ffffff !important;
	font-weight: 600 !important;
}

.offer-breadcrumb--hero a:hover {
	color: #e6f3ff !important;
	text-decoration: underline !important;
}

.offer-breadcrumb--hero li:not(:last-child)::after {
	color: rgba(255, 255, 255, 0.9) !important;
}

.offer-breadcrumb--hero span[property="name"] {
	color: #ffffff !important;
	font-weight: 600 !important;
}

/* Rank Math breadcrumb - wszystkie elementy tekstowe */
.offer-breadcrumb--hero {
	color: #ffffff !important;
}

.offer-breadcrumb--hero * {
	color: #ffffff !important;
}

.offer-breadcrumb--hero li {
	color: #ffffff !important;
}

.offer-breadcrumb--hero ol li {
	color: #ffffff !important;
}

.offer-breadcrumb--hero ol li a {
	color: #ffffff !important;
	font-weight: 600 !important;
}

.offer-breadcrumb--hero ol li span {
	color: #ffffff !important;
	font-weight: 600 !important;
}

.offer-breadcrumb--hero nav {
	color: #ffffff !important;
}

.offer-breadcrumb--hero nav * {
	color: #ffffff !important;
}

.offer-breadcrumb:not(.offer-breadcrumb--hero) {
	padding: 1.5rem 0;
	background-color: #f8f9fa;
	border-bottom: 1px solid #e9ecef;
}

.offer-breadcrumb nav {
	display: flex;
	align-items: center;
}

.offer-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.offer-breadcrumb li {
	display: flex;
	align-items: center;
	margin: 0;
}

.offer-breadcrumb li:not(:last-child)::after {
	content: '/';
	margin: 0 0.75rem;
	color: #999999;
}

.offer-breadcrumb a {
	color: #003d7a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.offer-breadcrumb a:hover {
	color: #005cb8;
	text-decoration: underline;
}

.offer-breadcrumb span[property="name"] {
	color: #666666;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
	.offer-breadcrumb {
		padding: 1rem 0;
		font-size: 0.875rem;
	}
	
	.offer-breadcrumb li:not(:last-child)::after {
		margin: 0 0.5rem;
	}
}

/* Post Breadcrumb (Single Post) */
.post-breadcrumb {
	font-size: 0.9375rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.post-breadcrumb nav {
	display: flex;
	align-items: center;
}

.post-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-breadcrumb li {
	display: flex;
	align-items: center;
	margin: 0;
}

.post-breadcrumb li:not(:last-child)::after {
	content: '/';
	margin: 0 0.75rem;
	color: #999999;
}

.post-breadcrumb a {
	color: #003d7a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.post-breadcrumb a:hover {
	color: #005cb8;
	text-decoration: underline;
}

.post-breadcrumb span[property="name"] {
	color: #666666;
	font-weight: 500;
}

@media (max-width: 768px) {
	.post-breadcrumb {
		font-size: 0.875rem;
		margin-bottom: 1rem;
		padding-bottom: 1rem;
	}
	
	.post-breadcrumb li:not(:last-child)::after {
		margin: 0 0.5rem;
	}
}

/* Archive Breadcrumb (Blog List) */
.archive-breadcrumb {
	font-size: 0.9375rem;
}

.archive-breadcrumb nav {
	display: flex;
	align-items: center;
	justify-content: center;
}

.archive-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.archive-breadcrumb li {
	display: flex;
	align-items: center;
	margin: 0;
}

.archive-breadcrumb li:not(:last-child)::after {
	content: '/';
	margin: 0 0.75rem;
	color: #999999;
}

.archive-breadcrumb a {
	color: #003d7a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.archive-breadcrumb a:hover {
	color: #005cb8;
	text-decoration: underline;
}

.archive-breadcrumb span[property="name"] {
	color: #666666;
	font-weight: 500;
}

@media (max-width: 768px) {
	.archive-breadcrumb {
		font-size: 0.875rem;
	}
	
	.archive-breadcrumb li:not(:last-child)::after {
		margin: 0 0.5rem;
	}
}

/* Hero Section */
.offer-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 4rem;
}

.offer-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 61, 122, 0.85) 0%, rgba(0, 92, 184, 0.75) 100%);
	display: flex;
	align-items: center;
}

.offer-hero__content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 3rem 0;
}

.offer-hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1rem;
	line-height: 1.2;
	animation: fadeInUp 0.8s ease-out;
}

.offer-hero__description {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Offer Sections Container */
.offer-sections {
	margin-bottom: 0;
}

/* Individual Offer Section */
.offer-section {
	padding: 4rem 0;
	position: relative;
}

.offer-section:nth-child(even) {
	background-color: #f8f9fa;
}

.offer-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

/* Image Left Layout */
.offer-section--image-left .offer-section__image {
	order: 1;
	animation: fadeInLeft 0.8s ease-out;
}

.offer-section--image-left .offer-section__content {
	order: 2;
	animation: fadeInRight 0.8s ease-out;
}

/* Image Right Layout */
.offer-section--image-right .offer-section__content {
	order: 1;
	animation: fadeInLeft 0.8s ease-out;
}

.offer-section--image-right .offer-section__image {
	order: 2;
	animation: fadeInRight 0.8s ease-out;
}

/* Content */
.offer-section__content {
	padding: 1rem 0;
}

.offer-section__title {
	font-size: 2rem;
	font-weight: 700;
	color: #003d7a;
	margin-bottom: 1.5rem;
	line-height: 1.3;
}

.offer-section__text {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #333333;
	margin-bottom: 1.5rem;
}

.offer-section__text p {
	margin-bottom: 1rem;
}

.offer-section__text p:last-child {
	margin-bottom: 0;
}

.offer-section__text ul,
.offer-section__text ol {
	margin: 1rem 0 1rem 1.5rem;
	padding: 0;
}

.offer-section__text li {
	margin-bottom: 0.5rem;
}

.offer-section__cta {
	margin-top: 2rem;
}

/* Image */
.offer-section__image {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.offer-section__image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Responsive */
@media (max-width: 1024px) {
	.offer-hero__title {
		font-size: 2rem;
	}
	
	.offer-hero__description {
		font-size: 1.125rem;
	}
	
	.offer-section__title {
		font-size: 1.75rem;
	}
}

@media (max-width: 768px) {
	.offer-hero {
		min-height: 300px;
	}
	
	.offer-hero__title {
		font-size: 1.75rem;
	}
	
	.offer-hero__description {
		font-size: 1rem;
	}
	
	.offer-section {
		padding: 3rem 0;
	}
	
	.offer-section__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	/* Na mobile zawsze obraz na górze */
	.offer-section--image-left .offer-section__image,
	.offer-section--image-right .offer-section__image {
		order: 1;
	}
	
	.offer-section--image-left .offer-section__content,
	.offer-section--image-right .offer-section__content {
		order: 2;
	}
	
	.offer-section__title {
		font-size: 1.5rem;
	}
	
	.offer-section__text {
		font-size: 1rem;
	}
}
