:is(.single-property, .post-type-archive-property, .pagecreator_posttypelist:has(.type-property)) {
	--akpr-columns:             12;
	--akpr-gutter:              1.5rem;
	--akpr-column:              12;

	--akpr-size-medium:         1rem;
	--akpr-size-large:          1.5rem;
	--akpr-size-huge:           2.25rem;
	--akpr-primary-color:       #014;
	--akpr-secondary-color:     #8d0;
	--akpr-color:               currentColor;
	--akpr-active-color:        var(--akpr-secondary-color);

	--akpr-font-regular:        'FagoWeb', sans-serif;
	--akpr-font-bold:           'FagoWebBold', sans-serif;

	--akpr-keyfacts-background: #fff;
	--akpr-keyfacts-backdrop:   #f0f0f0;

	--akpr-arrow-left:          url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='m22.35 12.21-2.12-2.12L6.32 24l13.91 13.91 2.12-2.12L12.06 25.5h29v-3h-29z'/%3E%3C/svg%3E");
	--akpr-arrow-right:         url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M25.65 12.21 35.94 22.5h-29v3h29L25.65 35.79l2.12 2.12L41.68 24 27.77 10.09z'/%3E%3C/svg%3E");
	--akpr-pin:                 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 14.19c-3.77 0-6.83 3.06-6.83 6.83s3.06 6.83 6.83 6.83 6.83-3.06 6.83-6.83-3.06-6.83-6.83-6.83m0 10.66c-2.11 0-3.83-1.72-3.83-3.83s1.72-3.83 3.83-3.83 3.83 1.72 3.83 3.83-1.72 3.83-3.83 3.83m10.57-14.03-.15-.2-.1-.05c-5.8-5.61-15.09-5.55-20.81.18-2.8 2.8-4.35 6.53-4.35 10.5 0 3.96 1.54 7.69 4.35 10.5l10.5 10.5 10.5-10.5c5.76-5.76 5.79-15.13.07-20.92Zm-2.19 18.8-8.37 8.37-8.37-8.38c-2.24-2.24-3.47-5.21-3.47-8.37s1.23-6.14 3.47-8.38c2.31-2.31 5.34-3.46 8.38-3.46s6.06 1.15 8.37 3.45c4.62 4.63 4.62 12.14 0 16.76Z'/%3E%3C/svg%3E");
	--akpr-price:               url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M28.26 13.16H37v-3h-8.74c-6.26 0-11.55 4.17-13.25 9.88H9v3h5.47c-.02.32-.05.63-.05.95 0 .76.08 1.5.2 2.22H9v3h6.45c2.07 5.05 7.02 8.62 12.81 8.62H37v-3h-8.74c-4.08 0-7.64-2.27-9.49-5.62h15.81v-3H17.65c-.15-.72-.23-1.46-.23-2.22 0-.32.02-.64.05-.95h17.1v-3H18.18c1.58-4.02 5.5-6.88 10.08-6.88'/%3E%3C/svg%3E");
	--akpr-space:               url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M43.59 33.55h-6.95V13.58l6.27-6.27-2.12-2.12-6.27 6.26H14.37V4.5h-3v6.96H4.41v3h6.95v22.09h22.27v6.95h3v-6.95h6.95v-3ZM31.51 14.46 14.37 31.59V14.46zM16.65 33.55l16.98-16.97v16.97z'/%3E%3C/svg%3E");
	--akpr-rooms:               url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M27.62 39.25H8.65V8.75h30.7v22.67H27.62zm-15.97-3h12.97v-7.83h11.73V11.75h-24.7z'/%3E%3C/svg%3E");
	--akpr-qm-price:            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M11.49 11.82h11.84v5.42l3-2.86V8.82H8.49v30.3h6.79v-3h-3.79zm17.12 4.54L18.28 26.2v12.92H39V26.2l-10.4-9.84Zm7.4 19.76H21.29v-8.63l7.33-6.99 7.39 6.99z'/%3E%3C/svg%3E");
	--akpr-yield:               url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M16.83 14.5h14.55L10.88 35 13 37.12l20.5-20.5v14.55h3V11.5H16.83z'/%3E%3C/svg%3E");
	--akpr-rented:              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M36.89 29.07c.72-.91 1.17-2.04 1.17-3.29 0-2.93-2.38-5.31-5.31-5.31s-5.31 2.38-5.31 5.31c0 1.25.45 2.38 1.17 3.28-3.1 1.53-5.24 4.72-5.24 8.41v1.5h3v-1.5c0-3.52 2.86-6.38 6.38-6.38s6.38 2.86 6.38 6.38v1.5h3v-1.5c0-3.69-2.14-6.87-5.24-8.41Zm-4.14-.97c-1.27 0-2.31-1.04-2.31-2.31s1.04-2.31 2.31-2.31 2.31 1.04 2.31 2.31-1.04 2.31-2.31 2.31M23.1 10.57l6.92 6.55h4.36L23.08 6.43 8.24 20.58V39h11.51v-3h-8.51V21.86l11.85-11.29Z'/%3E%3C/svg%3E");
	--akpr-mail:                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M6 10.35v27.3h36v-27.3zm30.36 3L24 24.48 11.64 13.35h24.71ZM9 34.65V15.01l13.33 12a2.5 2.5 0 0 0 3.34 0l13.33-12v19.64z'/%3E%3C/svg%3E");
	--akpr-pt:                  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M33 6H15a6 6 0 0 0-5.8 5.8v20.7c0 2.6 1.8 4.8 4.2 5.5v1a3.1 3.1 0 0 0 6.2 0v-.7h8.8v.7a3.1 3.1 0 0 0 6.2 0v-1c2.4-.7 4.2-2.9 4.2-5.5V11.8c0-3.3-2.6-5.9-5.8-5.9M17.6 39q-.1 1-1.1 1c-1 0-1.1-.4-1.1-1v-.7h2.2zm15 0q-.1 1-1.1 1-1.3 0-1.1-1v-.7h2.2zm4.2-6.5c0 2-1.7 3.8-3.8 3.8H15a4 4 0 0 1-3.8-3.8V11.8c0-2.2 1.7-3.9 3.8-3.9h18c2.1 0 3.8 1.7 3.8 3.9zm-8-20.2h-9.6a6 6 0 0 0-5.8 5.8v2.4c0 3.2 2.6 5.8 5.8 5.8h9.6c3.2 0 5.8-2.6 5.8-5.8V18c0-3.2-2.6-5.8-5.8-5.8m3.8 8.2c0 2-1.7 3.8-3.8 3.8h-9.6a4 4 0 0 1-3.8-3.8V18c0-2.1 1.7-3.8 3.8-3.8h9.6c2.1 0 3.8 1.7 3.8 3.8zM17 28h-.4a3.2 3.2 0 0 0 0 6.4h.4a3.2 3.2 0 0 0 0-6.5m0 4.4h-.4a1.2 1.2 0 1 1 0-2.5h.4a1.2 1.2 0 1 1 0 2.5M31.4 28H31a3.2 3.2 0 0 0 0 6.4h.4a3.2 3.2 0 0 0 0-6.5m0 4.4H31a1.2 1.2 0 1 1 0-2.5h.4a1.2 1.2 0 1 1 0 2.5M19.6 10.9h8.7q.9-.1 1-1c0-1-.5-1-1-1h-8.7q-.9 0-1 1c0 1 .5 1 1 1'/%3E%3C/svg%3E");
	--akpr-fm:                  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M31.9 19.5 29 6.3H19L16 19.5h-12V26h3.4l.5 4.5h5l.4-4.5h1.4l-3.4 15.8h25.2l-3.4-15.8h1.3l.6 4.4H40l.5-4.4H44v-6.4zM27.4 8.3l2.4 11.2H25V8.3zm-6.8 0H23v11.2h-4.8zm-6.7 31.4 3-13.8H23v13.8zm20.2 0H25V25.9h6.2zm7.8-15.8h-3.1l-.6 4.5H37l-.6-4.4H11.7l-.6 4.4H9.8L9.2 24H6.2v-2.5h35.8z'/%3E%3C/svg%3E");
	--akpr-mrs:                 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M31.5 26.8h-.6a3.1 3.1 0 0 0 0 6.2h.6a3.1 3.1 0 0 0 0-6.2m0 4.2h-.6q-1-.1-1.1-1 0-1.4 1.1-1.2h.6q1 .1 1.1 1.1 0 1.3-1.1 1.1m7.3-.2v-18C38.8 9.6 36.2 7 33 7h-4q-.7-1.6-2.6-1.8H21q-1.9.2-2.6 1.8H15a6 6 0 0 0-5.8 5.8v18c0 2.8 2 5.2 4.7 5.7L10 41.1a1 1 0 0 0 .2 1.4l.6.3q.5 0 .8-.4l1.9-2.3h21l1.9 2.3q.3.3.8.4l.6-.3q.7-.6.1-1.4l-3.8-4.6a6 6 0 0 0 4.7-5.7M21 7.2h5.4q.7.1.8.8 0 1-.8.8H21q-.7 0-.8-.8c-.1-.8.4-.8.8-.8m-5.9 31 1.2-1.6h15.3l1.2 1.5zM33 34.5H15a4 4 0 0 1-3.8-3.8v-18c0-2 1.7-3.8 3.8-3.8h3.4q.7 1.7 2.6 1.8h5.4q1.9 0 2.6-1.8h4c2.1 0 3.8 1.7 3.8 3.8v18c0 2.1-1.7 3.8-3.8 3.8m-15.9-7.8h-.6a3.1 3.1 0 0 0 0 6.2h.6a3.1 3.1 0 0 0 0-6.2m0 4.2h-.6q-1-.1-1.1-1 0-1.4 1.1-1.2h.6q1 .1 1.1 1.1 0 1.3-1.1 1.1m11.7-18.6h-9.6a6 6 0 0 0-5.8 5.8v.6c0 3.2 2.6 5.8 5.8 5.8h9.6c3.2 0 5.8-2.6 5.8-5.8v-.6c0-3.2-2.6-5.8-5.8-5.8m3.8 6.4c0 2.1-1.7 3.8-3.8 3.8h-9.6a4 4 0 0 1-3.8-3.8v-.6c0-2 1.7-3.8 3.8-3.8h9.6c2.1 0 3.8 1.7 3.8 3.8z'/%3E%3C/svg%3E");
	--akpr-airport:             url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='m15.7 42.6-2.1-8.4-8.4-2.1 3.5-3.5 4.7-.1 6.3-6.3-13-4.9 4.3-4.2 15.8 2 7.5-7.5a4.5 4.5 0 0 1 6.3 6.3l-7.8 7.9 1.9 14.9-4.3 4.2-4.6-12.1-6.5 6.4v4zM9 31l6.1 1.6 1.6 6.1.4-.4.1-4 9.3-9.2 4.6 12.2 1.3-1.4L30.7 21l8.5-8.5c1-1 1-2.5 0-3.5s-2.5-1-3.5 0l-8.2 8.2-15.7-2-1.4 1.3 12.9 5-9 9H9.5z'/%3E%3C/svg%3E");
	--akpr-contact:             url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='m19.3 9 .7 3h17.8l-10.1 9.2q-.9.6-1.7 0L21 17.3a5 5 0 0 1-1.3 2.8l4.5 3.4a4 4 0 0 0 5.5 0L40.2 14v17.9h-6.5l.3.3a5 5 0 0 1 1.6 2.7h7.6V9zm6.4 19.2c-1-.8-2.5-.8-3.5.1l-2 2-.2.2-.3-.3a14 14 0 0 1-3.8-4.3 14 14 0 0 1-2.1-5.7l.4-.2 2.5-.8c1.3-.4 2-1.7 1.7-3l-2-8.8a2.5 2.5 0 0 0-3-1.9l-3 .6-2.1.7H8l-.2.2Q6.5 8 5.7 9.6v.3a27 27 0 0 0 2.6 20l.5.9c3.8 5.8 9.7 10 16.5 11.7h.1a6 6 0 0 0 2.5-.2h.2l.2-.1q1.5-.9 2.5-2.2l2-2.4c.8-1 .7-2.6-.3-3.5zm2.8 9.9-1.6 1.4h-1c-6-1.5-11.2-5.2-14.6-10.3l-.4-.8C7.9 23 7 16.8 8.5 10.8q.3-.8 1-1.3L11 9l2.5-.5 1.9 7.9-2.2.6c-.8.3-2.2.9-2.4 2V21q.7 3.5 2.5 6.4 1.7 3 4.6 5.2a5 5 0 0 0 2.1 1h.5l.5-.2 1.4-1 1.6-1.7 6.1 5.4z'/%3E%3C/svg%3E");
}

body.home :is(div, section, article):has(>.pagecreator_objectsearch) {
	display: contents !important;
}

.single-property {
	.container-content { /* KIG exclusive */
		container-name: akpr-wrapper;
		container-type: inline-size;

		&::before {
			content:        '';
			background:     linear-gradient(180deg, rgba(109, 109, 109, 0.125), transparent);
			pointer-events: none;
			z-index:        -1;
			position:       absolute;
			width:          100vw;
			height:         12.5rem;
			left:           calc(50% - 50vw);
		}

		.has-background {
			padding-block: clamp(2rem, 5vw, 6rem) calc(clamp(1rem, 5vw, 6rem) - 1rem);
			margin-bottom: clamp(1rem, 5vw, 6rem);

			&::before {
				content:  '';
				position: absolute;
				inset:    0 calc(50% - 50vw);
			}

			&:has(.akprop__button) {
				padding-block: clamp(1rem, 2.5vw, 3rem);

				* {
					color: #fff !important;
				}
			}

			&:not(:has(.akprop__button))::before {
				background: var(--akpr-keyfacts-backdrop);
			}
		}
	}

	:is(div,article,section):has(> .akpr__attachments) {
		container-name: akpr-wrapper;
		container-type: inline-size;
	}

	:is(div,article,section):has(.akpr__attachments--slider):has(>.tns-outer) .tns-outer {
		display:            grid;
		grid-template-rows: 1fr min-content;

		.tns-visually-hidden {
			position: absolute;
			z-index:  -1;
			opacity:  0;
		}

		.tns-controls {
			grid-row:        1;
			grid-column:     1;
			display:         flex;
			align-items:     center;
			justify-content: space-between;
			z-index:         1;

			[data-controls="prev"],
			[data-controls="next"] {
				position:     relative;
				display:      block;
				width:        3rem;
				aspect-ratio: 1/1;
				border:       none;
				background:   none;
				font-size:    0 !important;
				color:        transparent;
				filter:       drop-shadow(0 0 12px #000);

				&::before {
					content:    '';
					position:   absolute;
					inset:      0;
					background: #fff;
					mask-image: var(--akpr-arrow-left);
					transition: all 0.25s ease-in-out;
				}

				&:is(:hover, :active, :focus)::before {
					background: var(--akpr-active-color);
				}
			}

			[data-controls="next"]::before {
				mask-image: var(--akpr-arrow-right);
			}
		}

		.tns-ovh {
			grid-row:    1;
			grid-column: 1;
		}
	}

	:is(div,article,section):has(>h1 + p [data-key="short_address"]:only-child) {
		margin-bottom: 0;

		~ :is(div,article,section) h2 {
			font-size:   var(--akpr-size-huge) !important;
			line-height: 1;
		}

		~ :is(div,article,section) h3 {
			font-size:   var(--akpr-size-large) !important;
			line-height: 1;
		}

		~ :is(div,article,section) :is(h4,h5,h6) {
			font-size:   var(--akpr-size-medium) !important;
			line-height: 1;
		}
	}

	h1:has(+ p [data-key*="short_address"]:only-child) {
		font-size:     var(--akpr-size-huge) !important;
		margin-block:  0.25rem 1rem !important;
		width:         calc((var(--akpr-column) * (100cqw + var(--akpr-gutter)) - var(--akpr-columns) * var(--akpr-gutter)) / var(--akpr-columns));
		--akpr-column: 10;
	}

	.akprop__button {
		display:    inline-block;
		font-size:  clamp(1rem, var(--akpr-size-large), 5vw);
		border:     none;
		padding:    0.75rem 1.5rem;
		margin-top: 0.5rem;

		&.akprop__button--primary {
			background-color: var(--akpr-secondary-color);
			color:            #fff;
		}

		&[href^="mailto:"]::before {
			content:        '';
			display:        inline-block;
			width:          2.25rem;
			grid-row:       1;
			grid-column:    2;
			aspect-ratio:   1/1;
			margin-right:   0.25em;
			align-self:     center;
			vertical-align: middle;
			background:     currentColor;
			mask-image:     var(--akpr-mail);
			transform:      translateY(-0.1em);
		}
	}

	.akprop-detailview {
		&[data-key="keyfacts"] {
			display:               grid;
			grid-template-columns: max-content min-content 1fr;
			background:            var(--akpr-keyfacts-background);
			margin:                1rem 0;
			padding-block:         0.5rem;

			@media screen and (min-width: 800px) {
				display:       flex;
				flex-wrap:     wrap;
				padding-block: 2.25rem;
			}

			&::before {
				content:       '';
				position:      absolute;
				inset:         0 auto;
				width:         100vw;
				margin-inline: calc(50% - 50vw);
				z-index:       -1;
				background:    var(--akpr-keyfacts-backdrop);
			}

			> * {
				grid-column:           1 / span 3;
				display:               grid;
				grid-template-columns: subgrid;
				grid-template-rows: repeat(2, min-content);
				flex:                  1 1 100%;
				padding:               1rem;
				column-gap:            0.75rem;
				align-items:           center;
				justify-content:       flex-start;
				align-self:            flex-start;

				&:not(:last-child):not(:nth-child(5)) {
					border-bottom: 1px solid #d9d9d9;
				}

				@media screen and (min-width: 800px) {
					grid-template-columns: min-content min-content 1fr;
					flex-basis: auto;
					padding:    1.25rem 2rem;

					&:has(~ :last-child:nth-child(2)) {
						max-width: 20rem;

						+ * {
							max-width: 20rem;
						}
					}

					&:not(:last-child):not(:nth-child(5)) {
						border-right:  1px solid #d9d9d9;
						border-bottom: none;
					}
				}

				&:nth-child(n+6) {
					display: none;
				}

				&[data-key]::before {
					content:      '';
					width:        3rem;
					grid-row:     1;
					grid-column:  2;
					aspect-ratio: 1/1;
					align-self:   center;
					background:   var(--akpr-color);
					mask-image:   linear-gradient(transparent);

					@media screen and (min-width: 800px) {
						grid-row:    1 / span 2;
						grid-column: 1;
					}
				}

				&:is([data-key*="price" i], [data-key*="rent" i], [data-key*="deposit" i])::before {
					mask-image: var(--akpr-price);
				}

				&:is([data-key*="space" i], [data-key*="area" i])::before {
					mask-image: var(--akpr-space);
				}

				&[data-key*="rooms" i]::before {
					mask-image: var(--akpr-rooms);
				}

				&[data-key*="qm" i]::before,
				&[data-key*="site_development_type" i]::before {
					mask-image: var(--akpr-qm-price);
				}

				&[data-key*="yield" i]::before {
					mask-image: var(--akpr-yield);
				}

				&[data-key*="rented" i]::before,
				&[data-key*="recommended_use_types" i]::before,
				&[data-key*="rs_category" i]::before {
					mask-image: var(--akpr-rented);
				}

				dt {
					grid-row:    1;
					grid-column: 1;
					font-weight: normal;

					@media screen and (min-width: 800px) {
						grid-row:    2;
						grid-column: 2 / span 2;
					}
				}

				dd {
					grid-row:    1;
					grid-column: 3;
					font-family: var(--akpr-font-bold);
					font-weight: bolder;
					font-size:   1.5em;

					@media screen and (min-width: 800px) {
						grid-row:    1;
						grid-column: 2 / span 2;
					}
				}
			}
		}
	}

	:is(article,section,div) {
		&:has(> .akprop-detailview:is([data-key="details"], [data-key="prices"], [data-key="investment"], [data-key="areas"], [data-key="features"], [data-key="energy"])) {
			margin-bottom: var(--akpr-gutter);
			padding:       clamp(1.5rem, 2.5vw, 3rem) clamp(1rem, 2.5vw, 3rem) clamp(1rem, 2.5vw, 3rem);
			background:    var(--akpr-keyfacts-background);

			@media screen and (max-width: 799px) {
				margin-inline:  -20px;
				padding-inline: 20px;
				width:          calc(100% + 40px);
			}

			dl {
				display:               grid;
				grid-template-columns: max-content 1fr;
				column-gap:            var(--akpr-gutter);

				> * {
					display:               grid;
					grid-template-columns: subgrid;
					grid-column:           1 / span 2;
					padding-top:           1rem;

					&:not(:last-child) {
						border-bottom:  1px solid #d9d9d9;
						padding-bottom: 1rem;
					}

					dt {
						font-weight: normal;
					}

					dd {
						font-family: var(--akpr-font-bold);
						font-weight: bolder;
						text-align:  right;
					}
				}
			}
		}

		&:first-child:has(~:is(article, section, div)> .akprop-detailview:is([data-key="details"], [data-key="prices"], [data-key="investment"], [data-key="areas"], [data-key="features"], [data-key="energy"])) {
			margin-bottom: 0 !important;
		}

		&:has(>.akpr__nocontent:only-child) {
			display: none !important;
		}

		&:has(> .akpr__location-note) {
			border:  1px solid #d9d9d9;
			padding: clamp(1.5rem, 3.25vw, 3rem) clamp(1.5rem, 3.75vw, 4.5rem);
		}

		.akpr__location-note {
			display:    grid;
			column-gap: calc(clamp(1rem, 2.5vw, 3rem) * 2);

			@media screen and (min-width: 500px) {
				.akpr__first-sentence {
					font-size:   var(--akpr-size-large);
					line-height: 1.5;
				}
			}

			@media screen and (min-width: 1100px) {
				&:has(.akpr__first-sentence) {
					grid-template-columns: 1fr 2fr;
				}

				.akpr__first-sentence {
					grid-column: 1;
					grid-row:    1 / span 10000;
				}
			}
		}
	}

	[data-key*="address"]::before {
		content:           '';
		display:           inline-block;
		background:        var(--akpr-color);
		mask-image:        var(--akpr-pin);
		width:             2.25rem;
		aspect-ratio:      1/1;
		vertical-align:    middle;
		margin-inline-end: 0.25rem;
	}

	[data-key="distances"] {
		display:               grid;
		grid-template-columns: min-content max-content 1fr;
		grid-row-gap:          0.75rem;
		margin:                1rem 0 0;
		padding:               0;

		> * {
			display:               grid;
			grid-template-columns: subgrid;
			grid-column:           1 / span 3;
			grid-column-gap:       1rem;
			margin:                0;
			padding:               0;

			&[data-key]::before {
				content:      '';
				width:        2.25rem;
				grid-row:     1;
				grid-column:  1;
				aspect-ratio: 1/1;
				align-self:   center;
				background:   var(--akpr-color);
				mask-image:   linear-gradient(transparent);
			}

			&:is([data-key*="to_fm" i])::before {
				mask-image: var(--akpr-fm);
			}

			&:is([data-key*="to_pt" i])::before {
				mask-image: var(--akpr-pt);
			}

			&:is([data-key*="to_mrs" i])::before {
				mask-image: var(--akpr-mrs);
			}

			&:is([data-key*="to_airport" i])::before {
				mask-image: var(--akpr-airport);
			}

			dt {
				font-weight: normal;
				grid-column: 3;
				grid-row:    1;
				align-self:  center;
			}

			dd {
				grid-column: 2;
				grid-row:    1;
				align-self:  center;
				font-family: var(--akpr-font-bold);
				font-weight: bolder;
			}
		}
	}

	.akpr__attachments {
		&.akpr__attachments--gallery {
			display:               grid;
			grid-template-columns: repeat(3, 1fr);
			margin:                -0.75rem;

			.akpr__attachment {
				aspect-ratio: 4/5;
				height:       100%;
				object-fit:   contain;
				padding:      0.75rem;

				&:nth-child(4n+1),
				&:nth-child(4n+4) {
					grid-column-end: span 2;
					aspect-ratio:    8/5;
				}
			}
		}

		&.akpr__attachments--slider {
			display:            flex;
			flex-wrap:          nowrap;
			scroll-snap-type:   x mandatory;
			overflow-x:         scroll;
			overflow-y:         hidden;
			-ms-overflow-style: none;
			scrollbar-width:    none;
			margin-bottom:      1.5rem;

			&:only-child {
				margin-bottom: 2rem;
			}

			&:not(.tns-slider) {
				&:has(.akpr__attachment:nth-child(2)) {
					width:         100vw;
					margin-inline: calc(50% - 50vw);
				}

				column-gap: 1.5rem;
			}

			&::-webkit-scrollbar {
				display: none !important;
			}

			.akpr__attachment {
				flex:              0 0 auto;
				width:             calc((var(--akpr-column) * (100cqw + var(--akpr-gutter)) - var(--akpr-columns) * var(--akpr-gutter)) / var(--akpr-columns));
				max-width:         calc(100vw - 3rem);
				object-fit:        cover;
				aspect-ratio:      4/3;
				--akpr-column:     12;
				scroll-snap-align: center;

				@media screen and (min-width: 800px) {
					--akpr-column: 8;
				}

				&:only-child {
					object-fit:   contain;
					aspect-ratio: 0;
				}
			}
		}
	}

	.akpr__attachment-thumbnails {
		display:            flex;
		flex-wrap:          nowrap;
		column-gap:         0.25rem;
		margin-block:       0 2rem;
		overflow-x:         scroll;
		overflow-y:         hidden;
		-ms-overflow-style: none;
		scrollbar-width:    none;

		&::-webkit-scrollbar {
			display: none !important;
		}

		> * {
			display:      block;
			flex:         1 1 25%;
			min-width:    4rem;
			max-width:    8.25rem;
			aspect-ratio: 4/3;
			object-fit:   cover;
			cursor:       pointer;
		}
	}

	.akpr__broker {
		.akpr__broker_data {
			list-style: none;
			margin:     1rem 0 1.5rem;
			padding:    0;
		}

		.akpr__broker_contact {
			list-style: none;
			margin:     0;
			padding:    0;

			li {
				margin-block: 0.5rem;

				&:first-child {
					font-size: var(--akpr-size-large);
				}

				a {
					text-decoration: underline;
				}
			}
		}
	}

	.has-background:has(.akpr__broker) {
		padding-inline: clamp(1.5rem, 3.75vw, 4.5rem);

		&::before {
			width: 100%;
			inset: 0;
		}

		:is(article, section, div) {
			margin: 0 !important;

			@media screen and (max-width: 800px) {
				margin-block: 1rem !important;
			}
		}
	}

	.has-background .akpr__broker {
		display:               grid;
		grid-template-columns: max-content 1fr;
		column-gap:            1.5rem;

		@media screen and (max-width: 800px) {
			grid-template-columns: 1fr;
		}

		.akpr__broker_avatar {
			max-width: 11.5rem;
			grid-row:  1 / span 10;

			@media screen and (max-width: 800px) {
				margin-bottom: 2rem;
			}
		}

		.akpr__broker_name {
			font-size: inherit !important;
			margin:    0;
		}

		.akpr__broker_data {
			margin: 0.5rem 0 0.75rem;
		}

		.akpr__broker_contact {
			li {
				&:first-child {
					font-size: inherit !important;
				}
			}
		}
	}

	.akpr__map {
		margin-block: clamp(1rem, 2.5vw, 3rem);

		.map {
			position:   relative !important;
			min-height: 37vw;
		}
	}

	.akpr__fixed {
		position:         fixed;
		top:              calc(50% + 3.75rem);
		right:            0;
		transform:        translateY(-50%);
		background-color: var(--akpr-keyfacts-background);
		padding:          1.5rem;
		z-index:          100;
		filter:           drop-shadow(0 0 1.5rem rgba(0, 0, 0, 0.16));
		transition:       transform 0.25s ease-in-out;

		@media screen and (max-width: 499px) {
			display: none !important;
		}

		&:not(:has(:checked)) {
			transform: translateX(100%) translateY(-50%);
		}

		label {
			position: absolute;
			bottom:   100%;
			left:     0;
			display:  block;
			width:    100%;
			height:   3.75rem;
			margin:   0 -3.5rem 0 -3.5rem;
			z-index:  2;
			opacity:  0;
			cursor:   pointer;
		}

		> h3 {
			position:         absolute;
			display:          flex;
			align-items:      center;
			bottom:           100%;
			padding:          0.625rem;
			margin:           0 0 0 -5rem;
			width:            calc(100% + 3.5rem);
			background-color: var(--akpr-secondary-color);
			color:            #fff;

			&::before {
				content:      '';
				display:      inline-block;
				background:   #fff;
				mask-image:   var(--akpr-contact);
				width:        2.5rem;
				margin-right: 0.5em;
				aspect-ratio: 1/1;
			}
		}

		.akpr__broker_avatar {
			max-width:     9rem;
			margin-bottom: 1.5rem;
		}
	}
}

body:has(:is(.post-type-archive-property, .pagecreator_posttypelist .type-property)) {
	.form-group:has([type="radio"][value="base_rent"]):not(:has(~ .form-group [type="text"][data-field="total_rent"])) {
		margin-bottom: 0;

		input,
		input + label {
			display: none;
		}
	}

	.form-group:has([type="radio"][value="base_rent"]) {
		&:has([value="base_rent"]:checked) ~ .form-group:has([type="text"][data-field="total_rent"]) {
			display: none;
		}
	}

	.form-group:has([type="radio"][value="total_rent"]) {
		&:has([value="total_rent"]:checked) ~ .form-group:has([type="text"][data-field="base_rent"]) {
			display: none;
		}
	}

	.col-xs-12.col-sm-auto:empty {
		display: none;
	}
}

:is(.post-type-archive-property, .pagecreator_posttypelist:has(.type-property)) {
	padding-top: calc(var(--akpr-gutter, 1.5rem) + 0.625rem);

	.type-property {
		display:       flex;
		flex-flow:     column;
		background:    var(--akpr-keyfacts-background, #fff);
		box-shadow:    0 0 1.5rem rgba(0, 0, 0, 0.2);
		margin-bottom: var(--akpr-gutter, 1.5rem);
		padding:       0 var(--akpr-gutter, 1.5rem) var(--akpr-gutter, 1.5rem);
		transition:    transform 0.25s ease-in-out;
		transform:     translateY(0);

		.article-header {
			:is(h2, h3, h4, h5, h6) {
				display:            -webkit-box;
				-webkit-line-clamp: 2;
				-webkit-box-orient: vertical;
				overflow:           hidden;
			}
		}

		time:not(:empty) {
			position:       absolute;
			top:            0.5rem;
			left:           0.5rem;
			padding:        0.5rem 1.5rem 0.3rem;
			font-size:      1.25rem;
			line-height:    1;
			color:          #ef3838;
			text-transform: uppercase;
			background:     rgba(255, 255, 255, 0.9);

			font-family:    var(--akpr-font-bold);
			font-weight:    bolder;
		}

		[data-key*="address"] {
			display:             inline-flex;
			margin-inline-start: -0.25rem;

			&::before {
				content:           '';
				display:           inline-block;
				background:        var(--akpr-color);
				mask-image:        var(--akpr-pin);
				width:             1.5rem;
				aspect-ratio:      1/1;
				vertical-align:    middle;
				margin-inline-end: 0.25rem;
				align-self:        flex-start;
			}
		}

		.embed-responsive {
			order:  -1;
			margin: 0 calc(var(--akpr-gutter, 1.5rem) * -1) var(--akpr-gutter, 1.5rem);

			img {
				width:      100%;
				height:     100%;
				object-fit: cover;
			}
		}

		a {
			position: absolute;
			inset:    0;
			color:    transparent;
		}

		&:has(:hover, :active, :focus) {
			transform: translateY(-0.625rem);
		}

		dl {
			display:               grid;
			grid-template-columns: max-content 1fr;
			column-gap:            var(--akpr-gutter);
			margin:                1rem 0 0;

			> * {
				display:               grid;
				grid-template-columns: subgrid;
				grid-column:           1 / span 2;
				padding-top:           0.625rem;

				&:not(:last-child) {
					border-bottom:  1px solid #d9d9d9;
					padding-bottom: 0.4375rem;
				}

				dt {
					font-weight: normal;
				}

				dd {
					font-family: var(--akpr-font-bold);
					font-weight: bolder;
					text-align:  right;
				}
			}
		}
	}
}