/**
 * Podgląd Oferty (hub + kategorie)
 * body.page-template-page-offer-test
 * body.page-template-page-offer-category-test
 */

.page-template-page-offer-test,
.page-template-page-offer-category-test {
	--of-surface: #ffffff;
	--of-surface-muted: #f3f4f2;
	--of-surface-soft: #eef1ea;
	--of-border: rgba(33, 59, 0, 0.08);
	--of-shadow: 0 14px 30px rgba(33, 59, 0, 0.07);
	--of-arrows-green: url("../img/arrows-right-green.svg");
	--of-arrows-light: url("../img/btn-icon.svg");
}

.offer-page--preview .offer-hub,
.offer-page--preview .offer-category {
	margin: 0;
	padding-block: clamp(2.25rem, 5vw, 4rem);
	background: var(--of-surface-muted);
}

.offer-hub__header,
.offer-category__header {
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
	max-width: 42rem;
}

.offer-hub__header .section-annotation,
.offer-category__header .section-annotation {
	margin: 0 0 0.75rem;
	color: var(--clr-green-700);
}

.offer-hub__header .section-title,
.offer-category__header .section-title {
	margin: 0 0 0.85rem;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
}

.offer-hub__header .rank-math-breadcrumb,
.offer-category__header .rank-math-breadcrumb {
	margin-bottom: 1.25rem;
}

.offer-hub__lead {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--clr-dark-800);
}

.offer-category__back {
	margin: 0.85rem 0 0;
	font-size: 0.95rem;
}

.offer-category__back a {
	color: var(--clr-green-700);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.offer-category__back a:hover {
	color: var(--clr-green-500);
}

.offer-hub__empty,
.offer-prices__empty {
	margin: 0;
	padding: 1.25rem 1.35rem;
	background: var(--of-surface);
	border: 1px solid var(--of-border);
	border-radius: 12px;
	border-left: 4px solid var(--clr-green-500);
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--clr-dark-800);
}

.offer-prices__empty code {
	font-size: 0.85em;
}

/* --- Kafelki hub --- */
.offer-tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
}

.offer-tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--of-surface);
	border: 1px solid var(--of-border);
	border-radius: 14px;
	text-decoration: none;
	color: var(--clr-dark-800);
	box-shadow: 0 8px 22px rgba(33, 59, 0, 0.04);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}

.offer-tile:hover {
	transform: translateY(-3px);
	border-color: rgba(56, 87, 31, 0.28);
	box-shadow: var(--of-shadow);
	color: var(--clr-dark-800);
}

.offer-tile__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--of-surface-soft);
}

.offer-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.offer-tile:hover .offer-tile__media img {
	transform: scale(1.04);
}

.offer-tile__media--placeholder {
	background:
		linear-gradient(145deg, var(--of-surface-soft) 0%, #e2e7db 100%);
	position: relative;
}

.offer-tile__media--placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 40%, rgba(56, 87, 31, 0.12), transparent 55%);
}

.offer-tile__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.15rem 1.25rem 1.3rem;
	flex: 1;
}

.offer-tile__title {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.35rem);
	font-weight: 600;
	line-height: 1.3;
	text-wrap: balance;
}

.offer-tile__lead {
	font-size: 0.92rem;
	line-height: 1.45;
	color: rgba(43, 38, 33, 0.72);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.offer-tile__cta {
	margin-top: auto;
	padding-top: 0.65rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--clr-green-700);
}

.offer-tile:hover .offer-tile__cta {
	color: var(--clr-green-500);
}

/* --- Cennik: TablePress → lista kart (nie wygląd Excela) --- */
.offer-prices {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.offer-prices__label {
	margin: 0 0 1rem;
	color: var(--clr-green-700);
}

.offer-prices__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.offer-page--preview .offer-prices__list .tablepress-table-name,
.offer-page--preview .offer-prices__list caption,
.offer-page--preview .offer-prices__list .dataTables_wrapper .dataTables_length,
.offer-page--preview .offer-prices__list .dataTables_wrapper .dataTables_filter,
.offer-page--preview .offer-prices__list .dataTables_wrapper .dataTables_info,
.offer-page--preview .offer-prices__list .dataTables_wrapper .dataTables_paginate,
.offer-page--preview .offer-prices__list .tablepress-edit-link,
.offer-page--preview .offer-prices__list .dt-buttons {
	display: none !important;
}

.offer-page--preview .offer-prices__list .tablepress-table-wrapper,
.offer-page--preview .offer-prices__list .dataTables_wrapper {
	margin: 0 !important;
	overflow: visible !important;
}

.offer-page--preview .offer-prices__list .tablepress {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	font-family: "Plus Jakarta Sans", sans-serif;
	background: transparent !important;
}

.offer-page--preview .offer-prices__list .tablepress thead {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.75rem !important;
}

/* Karta usługi: nazwa + cena, opis poniżej */
.offer-page--preview .offer-prices__list .tablepress tbody tr {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	grid-template-areas:
		"name price"
		"desc desc" !important;
	gap: 0.35rem 1.25rem !important;
	align-items: start !important;
	margin: 0 !important;
	padding: 1.2rem 1.3rem !important;
	background: var(--of-surface) !important;
	border: 1px solid var(--of-border) !important;
	border-radius: 12px !important;
	box-shadow: 0 6px 18px rgba(33, 59, 0, 0.04) !important;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr:hover {
	border-color: rgba(56, 87, 31, 0.22) !important;
	box-shadow: 0 10px 24px rgba(33, 59, 0, 0.07) !important;
	transform: translateY(-1px);
}

/* Śródtytuł / przerywnik: tylko 1. kolumna wypełniona (JS → .is-section) */
.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section {
	display: block !important;
	margin: 0.85rem 0 0.15rem !important;
	padding: 0.85rem 0.15rem 0.35rem !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	border-bottom: 2px solid rgba(56, 87, 31, 0.22) !important;
	box-shadow: none !important;
	transform: none !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section:first-child {
	margin-top: 0 !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section:hover {
	border-color: transparent !important;
	border-bottom-color: rgba(56, 87, 31, 0.35) !important;
	box-shadow: none !important;
	transform: none !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section td {
	display: none !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section td.column-1,
.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section td:first-child {
	display: block !important;
	font-family: "Plus Jakarta Sans", sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: var(--clr-green-700) !important;
	line-height: 1.3 !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section td.column-1 a,
.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section td:first-child a {
	color: var(--clr-green-700) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	pointer-events: none;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-section td strong {
	font-weight: 700 !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody td {
	display: block !important;
	width: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--clr-dark-800) !important;
	vertical-align: top !important;
	line-height: 1.45 !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody td.column-1 {
	grid-area: name !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	text-wrap: balance;
}

.offer-page--preview .offer-prices__list .tablepress tbody td.column-2 {
	grid-area: desc !important;
	font-size: 0.92rem !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	color: rgba(43, 38, 33, 0.72) !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody td.column-3,
.offer-page--preview .offer-prices__list .tablepress tbody td:last-child:not(.column-1):not(.column-2) {
	grid-area: price !important;
	justify-self: end !important;
	align-self: start !important;
	padding: 0.35rem 0.75rem !important;
	border-radius: 999px !important;
	background: var(--of-surface-soft) !important;
	color: var(--clr-green-700) !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	text-align: right !important;
	line-height: 1.2 !important;
}

/* 2 kolumny: usługa + cena (bez opisu) — tabela 2-kolumnowa */
.offer-page--preview .offer-prices__list .tablepress tbody tr:has(> td:nth-child(2):last-child) {
	grid-template-areas: "name price" !important;
	align-items: center !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr:has(> td:nth-child(2):last-child) td.column-2 {
	grid-area: price !important;
	justify-self: end !important;
	padding: 0.35rem 0.75rem !important;
	border-radius: 999px !important;
	background: var(--of-surface-soft) !important;
	color: var(--clr-green-700) !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
}

/* 3 kolumny z pustym opisem: nazwa | cena w jednej linii */
.offer-page--preview .offer-prices__list .tablepress tbody tr.is-compact {
	grid-template-areas: "name price" !important;
	align-items: center !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-compact td.is-empty,
.offer-page--preview .offer-prices__list .tablepress tbody tr.is-compact td.column-2:empty {
	display: none !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody tr.is-compact td.column-3,
.offer-page--preview .offer-prices__list .tablepress tbody tr.is-compact td:last-child {
	grid-area: price !important;
}

/* Linki usług: zieleń kliniki, nie fiolet z globalnego a */
.offer-page--preview .offer-prices__list .tablepress tbody td.column-1 a,
.offer-page--preview .offer-prices__list .tablepress tbody td a {
	color: var(--clr-dark-800) !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	transition: color 0.2s ease !important;
}

.offer-page--preview .offer-prices__list .tablepress tbody td.column-1 a:hover,
.offer-page--preview .offer-prices__list .tablepress tbody td a:hover {
	color: var(--clr-green-700) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

.offer-page--preview .offer-prices__list .tablepress > .row-hover > tr:hover > * {
	background: transparent !important;
}

/* --- SEO pod cennikiem --- */
.offer-seo {
	margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

.offer-seo__card {
	padding: clamp(1.35rem, 3vw, 2rem);
	background: var(--of-surface);
	border: 1px solid var(--of-border);
	border-radius: 14px;
	border-top: 3px solid var(--clr-green-500);
	box-shadow: 0 10px 28px rgba(33, 59, 0, 0.04);
}

.offer-seo__card .section-annotation {
	margin: 0 0 0.65rem;
	color: var(--clr-green-700);
}

.offer-seo__body {
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--clr-dark-800);
	max-width: 72rem;
}

.offer-seo__body > *:first-child {
	margin-top: 0;
}

.offer-seo__body > *:last-child {
	margin-bottom: 0;
}

.offer-seo__body p {
	margin: 0 0 1rem;
}

.offer-seo__body h2,
.offer-seo__body h3,
.offer-seo__body h4 {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 600;
	margin: 1.5rem 0 0.65rem;
	color: var(--clr-dark-800);
}

.offer-seo__body ul,
.offer-seo__body ol {
	margin: 0 0 1rem;
	padding-left: 1.35rem;
}

.offer-seo__body ul {
	list-style: disc;
}

.offer-seo__body ol {
	list-style: decimal;
}

.offer-seo__body li {
	margin-bottom: 0.4rem;
	padding-left: 0.15rem;
}

.offer-seo__body li::marker {
	color: var(--clr-green-700);
}

.offer-seo__body a {
	color: var(--clr-green-700);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --- CTA --- */
.offer-page--preview .offer-cta {
	margin: 0;
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	background: var(--of-surface-soft);
	border-bottom: 4px solid var(--clr-green-500);
}

.offer-cta__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: flex-start;
}

.offer-cta__copy .section-annotation {
	margin: 0 0 0.5rem;
	color: var(--clr-green-700);
}

.offer-cta__title {
	margin: 0 0 0.65rem;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: clamp(1.55rem, 3.5vw, 2.1rem);
	font-weight: 600;
	color: var(--clr-dark-800);
}

.offer-cta__copy p:not(.section-annotation) {
	margin: 0;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--clr-dark-800);
}

.offer-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.offer-page--preview .btn-green-bg {
	background-color: var(--clr-green-500);
	border-color: var(--clr-green-700);
	color: var(--clr-white);
}

.offer-page--preview .btn-green-bg::after {
	background-image: var(--of-arrows-light);
	filter: brightness(0) invert(1);
}

.offer-page--preview .btn-green-bg:hover {
	background-color: var(--clr-green-700);
	border-color: var(--clr-green-700);
	color: var(--clr-white);
}

.offer-page--preview .btn-green-bg:hover::after {
	background-image: var(--of-arrows-light);
	filter: brightness(0) invert(1);
}

@media (min-width: 640px) {
	.offer-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.35rem;
	}
}

@media (min-width: 768px) {
	.offer-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2.5rem;
	}
}

@media (min-width: 992px) {
	.offer-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

/* Publiczna oferta i cennik. */
.meritum-offer {
	--catalog-ink: var(--clr-dark-800);
	--catalog-green: var(--clr-green-700);
	--catalog-muted: #545d4d;
	--catalog-line: #dce2d2;
	--catalog-tint: #edf1e4;
	--catalog-paper: #f7f8f3;
	color: var(--catalog-ink);
	background: var(--catalog-paper);
}

.offer-catalog {
	width: min(calc(100% - 3rem), 76rem);
	margin-inline: auto;
	padding-block: clamp(1.5rem, 3.5vw, 3.25rem) clamp(3rem, 6vw, 5rem);
}

.offer-catalog a:focus-visible,
.offer-catalog summary:focus-visible {
	outline: 3px solid var(--clr-green-500);
	outline-offset: 3px;
}

.offer-catalog__hero {
	display: grid;
	grid-template-columns: 1.03fr 1fr;
	margin: 0;
	overflow: hidden;
	border-radius: 1.6rem;
	background: linear-gradient(120deg, var(--clr-green-500), var(--catalog-green));
	color: #fff;
}

.offer-catalog__intro {
	align-self: center;
	padding: clamp(2rem, 3.2vw, 2.9rem) clamp(2rem, 4.5vw, 4rem);
}

.offer-catalog__location {
	margin-bottom: 0.9rem;
	color: #dce8d3;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.offer-catalog__hero h1,
.offer-service__header h1 {
	margin: 0;
	font-family: Domine, Georgia, serif;
	font-size: clamp(2.5rem, 5.2vw, 4.6rem);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 1.04;
	text-wrap: balance;
}

.offer-catalog__lead {
	margin-top: 1.1rem;
	max-width: 35ch;
	color: #e6efe0;
	font-size: clamp(0.98rem, 1.4vw, 1.14rem);
	line-height: 1.65;
}

.offer-catalog__photo {
	position: relative;
	min-height: 20rem;
	margin: 0;
}

.offer-catalog__photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

.offer-catalog__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.15rem;
	margin-top: 1.7rem;
}

.offer-catalog a.offer-catalog__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 2.85rem;
	padding: 0.65rem 1rem;
	border: 1px solid transparent;
	border-radius: 0.6rem;
	color: var(--catalog-green);
	background: var(--catalog-tint);
	font-weight: 700;
	font-size: 0.925rem;
	text-decoration: none;
}

.offer-catalog a.offer-catalog__button:hover {
	border-color: #9baa92;
	background: #e2ebdb;
}

.offer-catalog a.offer-catalog__call {
	display: inline-flex;
	align-items: center;
	min-height: 2.85rem;
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.23em;
}

.offer-catalog__hero a:focus-visible,
.offer-service__header a:focus-visible {
	outline-color: #e1efda;
}

.offer-catalog__categories {
	margin-block: clamp(2.25rem, 4vw, 3.4rem) 0;
}

.offer-catalog__section-title {
	margin: 0;
	font-size: clamp(1.55rem, 2.7vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.035em;
}

.offer-catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 1rem;
}

.offer-catalog a.offer-catalog__tile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.3rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--catalog-line);
	border-radius: 0.8rem;
	background: #fff;
	color: var(--catalog-ink);
	text-decoration: none;
}

.offer-catalog a.offer-catalog__tile:hover {
	border-color: #a7b59d;
	background: var(--catalog-tint);
}

.offer-catalog__tile strong {
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	line-height: 1.25;
}

.offer-catalog__tile span {
	color: var(--catalog-muted);
	font-size: 0.9rem;
}

.offer-catalog__tile .offer-catalog__tile-action {
	margin-top: 0.25rem;
	color: var(--catalog-green);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.offer-catalog__insurance-row {
	margin-top: 1.35rem;
}

.offer-catalog__insurance,
.offer-catalog__insurance:hover {
	color: var(--catalog-green);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.offer-catalog__price-index {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.offer-catalog__price-index a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--catalog-line);
	border-radius: 0.6rem;
	background: #fff;
	color: var(--catalog-green);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.offer-catalog__price-index a:hover {
	background: var(--catalog-tint);
}

.offer-catalog__price-section {
	margin: clamp(1rem, 3vw, 2rem) 0 0;
	padding: clamp(0.8rem, 2.5vw, 1.5rem);
	border: 1px solid var(--catalog-line);
	border-radius: 0.85rem;
	background: #fff;
	scroll-margin-top: 6rem;
}

.offer-catalog__price-section > h2 {
	margin-bottom: 0.9rem;
}

.offer-catalog__table {
	overflow-x: auto;
	border: 1px solid var(--catalog-line);
	border-radius: 0.65rem;
}

.offer-catalog .tablepress {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-family: inherit;
}

.offer-catalog .tablepress > :not(caption) > * > * {
	padding: 0.75rem clamp(0.5rem, 1.4vw, 1.05rem);
	border: 0;
	border-bottom: 1px solid #e6ebe2;
	background-color: #fff;
	box-shadow: none;
	color: var(--catalog-ink);
	font-size: clamp(0.83rem, 1.2vw, 0.96rem);
	line-height: 1.5;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.offer-catalog .tablepress > thead > tr > th {
	background: var(--catalog-green);
	color: #fff;
	font-weight: 700;
}

.offer-catalog .tablepress th.column-1:empty::after {
	content: "Usługa";
}

.offer-catalog .tablepress-id-1 th.column-2:empty::after {
	content: "Opis";
}

.offer-catalog .tablepress > tbody > tr:nth-child(even) > td {
	background: #f5f8f3;
}

.offer-catalog .tablepress > tbody > tr:last-child > td {
	border-bottom: 0;
}

.offer-catalog .tablepress > :not(caption) > tr > :last-child:not([colspan]) {
	width: 18%;
	min-width: 5rem;
	text-align: end;
}

.offer-catalog .tablepress > tbody > tr > td:last-child:not([colspan]) {
	font-weight: 700;
	color: var(--catalog-green);
	font-variant-numeric: tabular-nums;
}

.offer-catalog .tablepress td[colspan],
.offer-catalog .tablepress td:first-child:has(+ td:empty:last-child) strong {
	color: var(--catalog-green);
}

.offer-catalog .tablepress a {
	color: var(--clr-green-500);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.offer-catalog .tablepress a:hover {
	color: var(--catalog-green);
}

.offer-service__header {
	padding: clamp(1.5rem, 4vw, 3.25rem);
	border-radius: 1.6rem;
	background: linear-gradient(120deg, var(--clr-green-500), var(--catalog-green));
	color: #fff;
}

.offer-service__header h1 {
	margin-block: 0.75rem 1.2rem;
	max-width: 24ch;
	font-size: clamp(2.15rem, 4.3vw, 3.65rem);
}

.offer-service__header .offer-service__back {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.offer-service__content {
	margin-top: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1rem, 3vw, 2.5rem);
	border: 1px solid var(--catalog-line);
	border-radius: 0.85rem;
	background: #fff;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.offer-service__content :is(h2, h3, h4) {
	margin-block: 1.55em 0.6em;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.offer-service__content h2 {
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.offer-service__content h3 {
	font-size: clamp(1.1rem, 2.1vw, 1.4rem);
}

.offer-service__content p + p {
	margin-top: 0.8rem;
}

.offer-service__content > :first-child {
	margin-top: 0;
}

.offer-service__content a:not(.btn) {
	color: var(--clr-green-500);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.offer-service__content .tablepress {
	border: 1px solid var(--catalog-line);
	border-radius: 0.65rem;
	overflow: hidden;
}

.offer-service__content img {
	max-width: 100%;
	height: auto;
}

.offer-service__return {
	margin-top: 1.4rem;
}

@media (max-width: 760px) {
	.offer-catalog {
		width: min(calc(100% - 1.5rem), 76rem);
	}

	.offer-catalog__hero {
		grid-template-columns: 1fr;
		border-radius: 1.1rem;
	}

	.offer-catalog__intro {
		padding: 1.55rem 1.25rem;
	}

	.offer-service__header {
		border-radius: 1.1rem;
	}

	.offer-catalog__photo {
		min-height: clamp(10rem, 43vw, 17rem);
	}

	.offer-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 430px) {
	.offer-catalog a.offer-catalog__tile {
		padding: 0.7rem 0.62rem;
		gap: 0.25rem;
	}

	.offer-catalog__tile span {
		font-size: 0.84rem;
	}

	.offer-catalog .tablepress > :not(caption) > * > * {
		padding: 0.6rem 0.45rem;
	}

	.offer-catalog .tablepress > :not(caption) > tr > :last-child:not([colspan]) {
		min-width: 3.65rem;
	}
}
