.tn-apartment {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem 4rem;
	display: grid;
	gap: 2.5rem;
}

.tn-apartment__nav {
	position: sticky;
	top: clamp(64px, 10vw, 96px);
	z-index: 12;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(6px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
	border-radius: 18px;
	padding: 0.65rem 1rem;
}

.tn-apartment__nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.tn-apartment__nav-list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(31, 95, 249, 0.3) transparent;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.tn-apartment__nav-list::-webkit-scrollbar {
	height: 6px;
}

.tn-apartment__nav-list::-webkit-scrollbar-track {
	background: transparent;
}

.tn-apartment__nav-list::-webkit-scrollbar-thumb {
	background: rgba(31, 95, 249, 0.35);
	border-radius: 999px;
}

.tn-apartment__nav-list li {
	flex: 0 0 auto;
	scroll-snap-align: center;
}

.tn-apartment__nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	border-radius: 14px;
	font-weight: 600;
	font-size: 0.95rem;
	color: rgba(15, 23, 42, 0.75);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.tn-apartment__nav-link:hover,
.tn-apartment__nav-link:focus-visible {
	background: rgba(31, 95, 249, 0.1);
	color: #1f3c88;
}

.tn-apartment__nav-link.is-active {
	background: rgba(31, 95, 249, 0.18);
	color: #10327c;
	box-shadow: 0 12px 20px rgba(31, 95, 249, 0.12);
}

.tn-apartment__nav-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.tn-apartment__nav-button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 1.25rem;
	border-radius: 14px;
	border: 1px solid rgba(31, 95, 249, 0.28);
	background: #1f5ff9;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 12px 26px rgba(31, 95, 249, 0.24);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tn-apartment__nav-button:hover,
.tn-apartment__nav-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(31, 95, 249, 0.3);
}

.tn-apartment__nav-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 1rem;
	border-radius: 14px;
	border: 1px dashed rgba(31, 95, 249, 0.35);
	background: rgba(31, 95, 249, 0.1);
	color: #1f3c88;
	font-weight: 600;
	text-decoration: none;
}

:where(#overview, #info, #amenities, #rules, #legal, #reviews, #availability, #price-match) {
	scroll-margin-top: clamp(96px, 12vw, 150px);
}

.tn-apartment__header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tn-apartment__breadcrumbs {
	color: rgba(15, 23, 42, 0.6);
	font-weight: 600;
	font-size: 0.95rem;
}

.tn-apartment__title {
	font-size: clamp(2.1rem, 3.75vw, 3rem);
	margin: 0;
}

.tn-apartment__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	color: rgba(15, 23, 42, 0.6);
	font-size: 0.95rem;
}

.tn-apartment__meta-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: rgba(31, 95, 249, 0.14);
	color: #1f3c88;
	font-weight: 600;
}

.tn-apartment__hero {
	display: grid;
	grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: start;
}

.tn-apartment__media-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(150px, 1fr));
	grid-template-areas:
		"main thumb1 thumb2"
		"main thumb3 thumb4";
	gap: 0.75rem;
}

.tn-apartment__media-main {
	grid-area: main;
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 26px 48px rgba(15, 23, 42, 0.16);
	background: #000;
}

.tn-apartment__media-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tn-apartment__media-thumb {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.tn-calendar-section {
	max-width: 1200px;
	width: 100%;
	height: auto;
	margin: 3rem auto;
	padding: 0 1rem;
	display: block;
	clear: both;
	position: relative;
}

.tn-calendar-section.tn-premium-section {
	margin: 4rem auto;
	padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
	overflow: hidden;
}

.tn-calendar-section--homepage-shell > * {
	position: relative;
	z-index: 1;
}

.tn-calendar-section__heading {
	margin: 0 0 0.75rem;
}

.tn-calendar-section__value-heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	line-height: 1.35;
	color: rgba(15, 23, 42, 0.72);
}

.tn-calendar-section__value-heading .tn-reviews-widget__overall {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	font-size: 1rem;
	box-shadow: 0 12px 24px rgba(13, 77, 215, 0.28);
}

.tn-calendar-section__value-label {
	font-weight: 600;
}

@media (max-width: 600px) {
	.tn-calendar-section__value-heading {
		flex-wrap: wrap;
	}
}

@media (max-width: 768px) {
	.tn-calendar-section.tn-premium-section {
		padding: 2.5rem 1.5rem;
		border-radius: 24px;
	}
}

.tn-calendar-section__panel.tn-search-calendar__panel {
	margin: 0 auto;
	position: relative;
}

.tn-calendar-section__controls.tn-search-form__summary {
	width: 100%;
	max-width: 100%;
	margin-bottom: 1rem;
}

.tn-calendar-section__controls .tn-search-summary__item {
	min-width: 0;
}

.tn-calendar-section__controls .tn-search-summary__item--dates {
	flex: 1 1 58%;
}

.tn-calendar-section__controls .tn-search-summary__item--guests {
	flex: 1 1 42%;
}

.tn-calendar-section__footer {
	margin-top: 0;
}

.tn-calendar-section__cta {
	position: static;
	display: flex;
	justify-content: flex-end;
	margin: 0;
}

.tn-calendar-section__cta .tn-search-calendar__submit {
	text-decoration: none;
}

.tn-calendar-section .tn-search-calendar__legend {
	margin-top: 0;
	flex-wrap: wrap;
}

@media (max-width: 720px) {
	.tn-calendar-section__controls.tn-search-form__summary {
		margin-bottom: 0.85rem;
	}
}

.tn-apartment__media-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tn-apartment__media-thumb--1 { grid-area: thumb1; }
.tn-apartment__media-thumb--2 { grid-area: thumb2; }
.tn-apartment__media-thumb--3 { grid-area: thumb3; }
.tn-apartment__media-thumb--4 { grid-area: thumb4; }

.tn-apartment__media-more {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.45rem 0.85rem;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.tn-apartment__hero-side {
	display: grid;
	gap: 1rem;
}

.tn-apartment__review-card {
	display: grid;
	gap: 0.75rem;
	padding: 1.25rem;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.tn-apartment__review-score {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tn-apartment__review-score strong {
	font-size: 1.35rem;
}

.tn-apartment__review-score span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #1f5ff9;
	color: #fff;
	font-weight: 700;
}

.tn-apartment__review-meta {
	display: grid;
	gap: 0.15rem;
	font-size: 0.9rem;
	color: rgba(15, 23, 42, 0.65);
}

.tn-apartment__mini-map {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
	min-height: 220px;
	position: relative;
}

.tn-apartment__mini-map iframe,
.tn-apartment__mini-map .tn-apartment__mini-map-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tn-apartment__mini-map-placeholder {
	display: grid;
	place-items: center;
	background: rgba(15, 23, 42, 0.05);
	color: rgba(15, 23, 42, 0.6);
	font-weight: 600;
}

.tn-apartment__summary {
	display: grid;
	gap: 1rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(15, 23, 42, 0.78);
}

.tn-apartment__content {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2.5rem;
}

.tn-apartment__description {
	display: grid;
	gap: 1.25rem;
}

.tn-apartment__amenities ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
}

.tn-apartment__amenities li {
	padding: 0.65rem 0.85rem;
	border-radius: 999px;
	background: rgba(13, 77, 215, 0.1);
	font-weight: 600;
	color: #0b43be;
}

.tn-popular-amenities {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0.75rem 1rem;
}

.tn-popular-amenities__item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.78);
}

.tn-popular-amenities__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #0d4dd7;
}

.tn-popular-amenities__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.tn-popular-amenities__text {
	border-bottom: 1px dotted rgba(15, 23, 42, 0.25);
	padding-bottom: 0.1rem;
}

.tn-property-description-section .tn-apartment__section-headline {
	margin-bottom: 1.5rem;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.75rem;
}

.tn-property-amenities-section .tn-apartment__section-headline {
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem 1rem;
}

.tn-property-description-section .tn-gallery-section__heading,
.tn-property-amenities-section .tn-gallery-section__heading {
	margin: 0;
}

.tn-property-description-section__ratings-heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.72);
}

.tn-property-description-section__ratings-heading .tn-reviews-widget__overall {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	font-size: 1rem;
	box-shadow: 0 12px 24px rgba(13, 77, 215, 0.28);
}

.tn-property-amenities-section__ratings-heading,
.tn-property-environment-section__ratings-heading {
	flex: 1 0 100%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.72);
}

.tn-property-amenities-section__ratings-heading .tn-reviews-widget__overall,
.tn-property-environment-section__ratings-heading .tn-reviews-widget__overall {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	font-size: 1rem;
	box-shadow: 0 12px 24px rgba(13, 77, 215, 0.28);
}

.tn-property-amenities-section__ratings-label,
.tn-property-environment-section__ratings-label {
	font-weight: 600;
}

.tn-property-amenities-section .tn-gallery-section__gallery-col {
	flex-basis: 100% !important;
	max-width: 100%;
}

.tn-property-amenities-section__categories {
	--tn-amenities-masonry-row: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
	align-items: start;
}

.tn-property-amenities-section__categories.is-masonry {
	grid-auto-rows: var(--tn-amenities-masonry-row);
	align-items: start;
}

.tn-property-amenities-section__categories.is-masonry .tn-amenities-category {
	align-self: start;
	height: auto;
}

.tn-amenities-category {
	border: 1px solid rgba(226, 232, 240, 0.95);
	background: #f8fafc;
	border-radius: 16px;
	padding: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-self: start;
}

.tn-amenities-category__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

		.tn-amenities-category__icon {
			flex: 0 0 auto;
			width: 46px;
			height: 46px;
			border-radius: 14px;
			background: #ffffff;
			border: 1px solid rgba(226, 232, 240, 0.95);
			display: inline-grid;
			place-items: center;
			--tn-amenities-icon: none;
			--tn-amenities-icon-color: #0d4dd7;
			--tn-amenities-icon-size: 26px;
		}

		.tn-amenities-category__icon::before {
			content: "";
			grid-area: 1 / 1;
			width: var(--tn-amenities-icon-size);
			height: var(--tn-amenities-icon-size);
			background: var(--tn-amenities-icon-color);
			display: none;
		}

		.tn-amenities-category__icon img {
			width: var(--tn-amenities-icon-size);
			height: var(--tn-amenities-icon-size);
			display: block;
			grid-area: 1 / 1;
			object-fit: contain;
			/* Fallback for <img> SVGs when mask is unavailable (works best with monochrome SVGs). */
			filter: invert(21%) sepia(92%) saturate(5637%) hue-rotate(212deg) brightness(92%) contrast(104%);
		}

	.tn-amenities-category[data-category="rozne"] .tn-amenities-category__icon {
		--tn-amenities-icon-size: 30px;
	}

	@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
		.tn-amenities-category__icon::before {
			display: block;
			-webkit-mask-image: var(--tn-amenities-icon);
			mask-image: var(--tn-amenities-icon);
			-webkit-mask-repeat: no-repeat;
			mask-repeat: no-repeat;
			-webkit-mask-size: contain;
			mask-size: contain;
			-webkit-mask-position: center;
			mask-position: center;
		}

		.tn-amenities-category__icon img {
			opacity: 0;
			filter: none;
		}
	}

.tn-amenities-category__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 800;
	color: #0f172a;
}

.tn-amenities-category__description {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: rgba(15, 23, 42, 0.72);
}

.tn-amenities-category__list {
	margin: 0;
	padding-left: 1.15rem;
	display: grid;
	gap: 0.4rem;
}

.tn-amenities-category__list li {
	margin: 0;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.78);
}

.tn-property-reviews-section .tn-reviews-carousel {
	margin-left: 0;
	margin-right: 0;
	--tn-reviews-carousel-visible: 4;
}

.tn-property-reviews-section .tn-apartment__section-headline {
	margin-bottom: 1.5rem;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.tn-property-reviews-section .tn-gallery-section__heading {
	margin: 0;
}

.tn-property-reviews-section__heading-group {
	display: grid;
	gap: 0.65rem;
	min-width: 0;
}

.tn-property-reviews-section__ratings-heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.72);
}

.tn-property-reviews-section__ratings-heading .tn-reviews-widget__overall {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	font-size: 1rem;
	box-shadow: 0 12px 24px rgba(13, 77, 215, 0.28);
}

.tn-property-reviews-section__ratings-label {
	font-weight: 600;
}

.tn-property-reviews-section__averages {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.1rem;
}

.tn-property-reviews-section__average-item {
	border: 1px solid rgba(226, 232, 240, 0.95);
	background: #f8fafc;
	border-radius: 14px;
	padding: 0.85rem 1rem;
	display: grid;
	gap: 0.55rem;
}

.tn-property-reviews-section__average-label {
	margin: 0;
	font-weight: 700;
	font-size: 0.96rem;
	line-height: 1.35;
	color: rgba(15, 23, 42, 0.86);
}

.tn-property-reviews-section__average-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.tn-property-reviews-section__stars {
	display: inline-grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 0.14rem;
	align-items: center;
}

.tn-property-reviews-section__star {
	--tn-star-fill: 0%;
	position: relative;
	display: block;
	width: 0.92rem;
	height: 0.92rem;
}

.tn-property-reviews-section__star::before,
.tn-property-reviews-section__star::after {
	content: "★";
	position: absolute;
	inset: 0;
	font-size: 0.92rem;
	line-height: 1;
}

.tn-property-reviews-section__star::before {
	color: rgba(245, 158, 11, 0.25);
}

.tn-property-reviews-section__star::after {
	color: #f5b301;
	width: var(--tn-star-fill);
	overflow: hidden;
}

.tn-property-reviews-section__average-score {
	flex: 0 0 auto;
	min-width: 2.2rem;
	text-align: right;
	font-weight: 700;
	color: #0f172a;
}

.tn-property-reviews-section .tn-gallery-section__columns {
	flex-direction: column;
	gap: 1.25rem;
}

.tn-property-reviews-section .tn-gallery-section__gallery-col,
.tn-property-reviews-section .tn-gallery-section__side {
	flex-basis: 100% !important;
	max-width: 100%;
}

.tn-property-reviews-section .tn-gallery-section__side {
	display: block;
	height: auto;
}

@media (max-width: 1200px) {
	.tn-property-reviews-section .tn-reviews-carousel {
		--tn-reviews-carousel-visible: 2;
	}
}

@media (max-width: 960px) {
	.tn-property-reviews-section .tn-reviews-carousel {
		--tn-reviews-carousel-visible: 1;
	}
}

@media (max-width: 640px) {
	.tn-property-reviews-section__average-item {
		padding: 0.7rem 0.75rem;
	}

	.tn-property-reviews-section__average-meta {
		gap: 0.45rem;
	}

	.tn-property-reviews-section__star {
		width: 0.58rem;
		height: 0.58rem;
	}

	.tn-property-reviews-section__star::before,
	.tn-property-reviews-section__star::after {
		font-size: 0.58rem;
	}

	.tn-property-reviews-section__average-score {
		min-width: 1.85rem;
		font-size: 0.86rem;
	}
}

.tn-apartment__availability,
.tn-apartment__reviews,
.tn-apartment__questions,
.tn-apartment__environment,
.tn-apartment__rules,
.tn-apartment__legal,
.tn-apartment__faq,
.tn-apartment__important {
	display: grid;
	gap: 1.5rem;
}

.tn-apartment__availability > p {
	margin: 0;
}

.tn-apartment__availability-panel {
	padding: 1.5rem;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.tn-apartment__notice {
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: 14px;
	background: rgba(248, 250, 252, 0.85);
	color: rgba(15, 23, 42, 0.65);
}

.tn-apartment__section-headline {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tn-apartment h2 {
	font-size: clamp(1.6rem, 2.3vw, 2rem);
	margin: 0;
}

.tn-apartment__questions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}

.tn-apartment__question-card {
	border-radius: 18px;
	padding: 1rem 1.25rem;
	box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-decoration: none;
	color: #0f172a;
	font-weight: 600;
}

.tn-apartment__question-card:hover,
.tn-apartment__question-card:focus-visible {
	box-shadow: 0 24px 45px rgba(15, 23, 42, 0.14);
}

.tn-apartment__host {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.5rem;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.tn-apartment__host-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.tn-apartment__host-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	background: rgba(31, 95, 249, 0.12);
	color: #1f3c88;
	font-weight: 600;
	margin-top: 0.35rem;
}

.tn-apartment__environment-grid {
	--tn-environment-masonry-row: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
	align-items: start;
}

.tn-apartment__environment-grid.is-masonry {
	grid-auto-rows: var(--tn-environment-masonry-row);
	align-items: start;
}

.tn-apartment__environment-grid.is-masonry .tn-apartment__environment-column {
	align-self: start;
	height: auto;
}

.tn-apartment__environment-column {
	border: 1px solid rgba(226, 232, 240, 0.95);
	background: #f8fafc;
	border-radius: 16px;
	padding: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tn-apartment__environment-column h4 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 800;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tn-property-environment-section .tn-apartment__section-headline {
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem 1rem;
}

.tn-property-environment-section .tn-gallery-section__heading {
	margin: 0;
}

.tn-property-environment-section .tn-gallery-section__gallery-col {
	flex-basis: 100% !important;
	max-width: 100%;
}

.tn-apartment__environment-icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.95);
	display: inline-grid;
	place-items: center;
	color: #0d4dd7;
}

.tn-apartment__environment-icon svg {
	width: 26px;
	height: 26px;
	display: block;
}

.tn-apartment__environment-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
	color: rgba(15, 23, 42, 0.72);
	font-size: 0.95rem;
}

.tn-property-environment-section .tn-apartment__environment-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.tn-property-environment-section .tn-apartment__environment-name {
	flex: 1 1 auto;
	min-width: 0;
	color: rgba(15, 23, 42, 0.78);
	font-weight: 600;
	border-bottom: 1px dotted rgba(15, 23, 42, 0.22);
	padding-bottom: 0.1rem;
}

.tn-property-environment-section .tn-apartment__environment-distance {
	flex: 0 0 auto;
	color: rgba(15, 23, 42, 0.55);
	font-weight: 600;
	white-space: nowrap;
}

.tn-apartment__environment-list span {
	color: rgba(15, 23, 42, 0.55);
}

.tn-apartment__rules-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
}

.tn-property-rules-section .tn-gallery-section__gallery-col {
	flex-basis: 100% !important;
	max-width: 100%;
}

.tn-property-rules-section__notice {
	margin: 0;
}

.tn-property-rules-section__notice p {
	margin: 0;
}

.tn-property-rules-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.tn-property-rules-list__item {
	border: 1px solid rgba(226, 232, 240, 0.95);
	background: #f8fafc;
	border-radius: 16px;
	padding: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tn-property-rules-list__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tn-property-rules-list__icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.95);
	display: inline-grid;
	place-items: center;
	color: #0d4dd7;
}

.tn-property-rules-list__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.tn-property-rules-list__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 800;
	color: #0f172a;
}

.tn-property-trust-links {
	max-width: 1200px;
	margin: 0 auto 4rem;
	padding: 0 1rem;
	display: grid;
	gap: 1.5rem;
}

.tn-property-trust-links__intro {
	display: grid;
	gap: 0.65rem;
	max-width: 760px;
}

.tn-property-trust-links__eyebrow {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1f5ff9;
}

.tn-property-trust-links__title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1.15;
	color: #0f172a;
}

.tn-property-trust-links__description {
	margin: 0;
	color: rgba(15, 23, 42, 0.72);
	font-size: 1rem;
	line-height: 1.7;
}

.tn-property-trust-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.tn-property-trust-links__card {
	display: grid;
	gap: 0.65rem;
	padding: 1.35rem;
	border-radius: 20px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
	box-shadow: 0 22px 42px rgba(15, 23, 42, 0.08);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tn-property-trust-links__card:hover,
.tn-property-trust-links__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12);
	border-color: rgba(31, 95, 249, 0.28);
}

.tn-property-trust-links__card-title {
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}

.tn-property-trust-links__card-description {
	color: rgba(15, 23, 42, 0.72);
	line-height: 1.65;
}

.tn-property-trust-links__card-cta {
	color: #1f5ff9;
	font-weight: 700;
}

@media (max-width: 900px) {
	.tn-property-trust-links__grid {
		grid-template-columns: 1fr;
	}
}

.tn-property-rules-list__content {
	color: rgba(15, 23, 42, 0.72);
	font-size: 0.95rem;
}

.tn-property-rules-list__content p {
	margin: 0;
}

.tn-property-rules-list__content p + p {
	margin-top: 0.35rem;
}

.tn-apartment__legal-content,
.tn-apartment__important-info {
	padding: 1.25rem 1.5rem;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(15, 23, 42, 0.08);
	display: grid;
	gap: 0.75rem;
}

.tn-apartment__faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}

.tn-apartment__faq-item {
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
}

.tn-apartment__faq-item details {
	padding: 1rem 1.25rem;
}

.tn-apartment__faq-item summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.tn-apartment__faq-item summary::-webkit-details-marker {
	display: none;
}

.tn-apartment__faq-item details[open] summary {
	color: #1f5ff9;
}

.tn-apartment__gallery {
	display: grid;
	gap: 0.75rem;
}

.tn-apartment__gallery-main {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.tn-apartment__gallery-main img {
	width: 100%;
	height: clamp(320px, 40vw, 520px);
	object-fit: cover;
	display: block;
}

.tn-apartment__thumbnails {
	display: grid;
	grid-auto-flow: column;
	gap: 0.75rem;
	overflow-x: auto;
	padding: 0.25rem;
}

.tn-apartment__thumbnail {
	border: none;
	padding: 0;
	background: none;
	cursor: pointer;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.tn-apartment__thumbnail img {
	width: clamp(100px, 20vw, 180px);
	height: clamp(80px, 12vw, 120px);
	object-fit: cover;
	display: block;
}

.tn-apartment__thumbnail:hover,
.tn-apartment__thumbnail:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
	outline: 2px solid rgba(13, 77, 215, 0.35);
	outline-offset: 2px;
}

.tn-apartment__thumbnail.is-active {
	box-shadow: 0 0 0 3px rgba(13, 77, 215, 0.55);
}

@media (max-width: 1024px) {
	.tn-apartment__hero {
		grid-template-columns: 1fr;
	}

	.tn-apartment__nav-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.tn-apartment__nav-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.tn-apartment__mini-map {
		min-height: 200px;
	}
}

@media (max-width: 960px) {
	.tn-apartment__content {
		grid-template-columns: 1fr;
	}

	.tn-apartment__media-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"main main"
			"thumb1 thumb2"
			"thumb3 thumb4";
	}
}

@media (max-width: 720px) {
	.tn-apartment {
		padding: 1.5rem 1rem 3rem;
	}

	.tn-apartment .tn-gallery-section__columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1rem;
	}

	.tn-apartment .tn-gallery-section__gallery-col,
	.tn-apartment .tn-gallery-section__side {
		width: 100%;
		max-width: 100%;
		flex: 0 0 100% !important;
	}

	.tn-apartment .tn-gallery-section__card {
		width: 100%;
		max-width: none;
	}

	.tn-gallery-section__side-top .tn-reviews-widget {
		height: auto;
		min-height: 0;
	}

	.tn-gallery-section__side-top .tn-reviews-widget__viewport {
		flex: 0 0 auto;
		min-height: 0;
	}

	.tn-gallery-section__side-top .tn-reviews-widget__slide[data-active="true"] {
		position: relative;
		inset: auto;
	}

	.tn-gallery-section__side-top .tn-reviews-widget__header {
		flex-wrap: wrap;
	}

	.tn-gallery-section__side-top .tn-reviews-widget__footer {
		flex-wrap: wrap;
	}

	.tn-apartment__nav {
		top: 56px;
	}

	.tn-apartment__nav-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.tn-apartment__nav-button,
	.tn-apartment__nav-secondary {
		width: 100%;
		justify-content: center;
	}

	.tn-apartment__nav-list {
		width: 100%;
	}

	.tn-apartment__host {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.tn-apartment .tn-apartment__section-headline {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.75rem;
	}

	.tn-apartment .tn-apartment__section-headline > * {
		width: 100%;
	}

	.tn-property-reviews-section__averages {
		grid-template-columns: 1fr;
	}

	.tn-property-reviews-section__average-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.tn-property-environment-section .tn-apartment__environment-list li {
		flex-direction: column;
		align-items: flex-start;
	}

	.tn-property-environment-section .tn-apartment__environment-distance {
		white-space: normal;
	}

	.tn-apartment__questions-grid,
	.tn-apartment__faq-grid,
	.tn-apartment__environment-grid {
		grid-template-columns: 1fr;
	}
}
