body.term-erhverv #lease-filters {
	display: none!important;
}
.lease-archive section {
	margin: 2rem 0;
}
.heading h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	text-align: center;
	font-weight: 600;
	margin-top: 0;
}
.heading h1 span {
	color: #C5995A;
}
.heading p {
	text-align: center;
	line-height: 1.5;
	max-width: 750px;
	margin: 0 auto;
}
.result-wrapper {
	position: relative;
}
#notaloader {
	background: #F0F4FA;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 93%;
	z-index: 99999;
	transition: 0.3s ease-in-out;
	opacity: 0;
	padding-top: 6rem;
	pointer-events: none;
	display: flex;
	justify-content: center;
}
#notaloader.loading {
	opacity: 1;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #1F2C47;
  border-bottom-color: #C5995A;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
 }

 @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
 } 
#lease-results {
	overflow: hidden;
	border-radius: 6px;
}
#lease-filters {
	padding: 1.2rem;
	background: #fff;
	border-radius: 8px;
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
#lease-filters .form-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
}
#lease-filters .form-row:last-of-type {
	justify-content: center;
	align-items: center;
	margin-top: 1rem;
}
#lease-filters .custom-dropdown {
	margin-top: 0.5rem;
}
.input-wrapper,
#lease-filters button {
	flex: 1;
}
.input-wrapper label {
	font-size: 0.8rem;
	font-weight: 600;
}
#lease-filters button {
	border-radius: 6px;
	border: 2px solid #1F2C47;
	background-color: #1F2C47;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .2rem .5rem;
	min-width: calc(31% - 1rem);
	font-weight: 600;
	height: 40px;
	font-family: 'Montserrat', sans-serif;
	cursor: pointer;
	transition: .3s ease-in-out;
}
#lease-filters button:hover {
	border: 2px solid #C5995A;
	background-color: #C5995A;
}
#lease-filters button .icon {
	display: flex;
}
#lease-filters button svg {
	fill: #fff;
	width: 1rem;
	height: 1rem;
}
#lease-filters #reset-filters {
	display: none;
	flex: 0;
	background: none;
	border: 1px solid #a7a7a7;
	color: #a7a7a7;
	justify-content: center;
	min-width: 150px;
}
.count {
	flex: 5;
	text-align: center;
}
#lease-count-label {
	font-weight: 600;
	color: #1F2C47;
	margin: 0;
}
#lease-count-label span {
	color: #C5995A;
}

.views {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.views.end,
.term-erhverv .views {
	justify-content: flex-end;
}
.view-controls {
	display: flex;
	gap: 1rem;
}
.sort-controls {
	display: flex;
	gap: 1rem;
}
.sort-controls.hidden {
	display: none;
}
.views.map {
	justify-content: flex-end;
}
.views label {
	display: none;
}
.views button {
	background: white;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.views svg {
	width: 24px;
	fill: #1F2C47;
	max-height: 20px;
	transition: .3s ease-in-out;
}
.view-toggle.active {
	pointer-events: none;
}
.view-toggle.active svg {
	fill: #C5995A;
}
.views button:hover svg {
	fill: #C5995A;
}
.custom-dropdown {
  position: relative;
  border: 2px solid #1f2c47;
  border-radius: 6px;
  padding: 0 0.5rem;
  height: 36px;
  cursor: pointer;
  background: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.8rem;
  min-width: 180px;
}
.custom-dropdown .icon {
	display: flex;
}
.custom-dropdown .icon svg {
	width: 1rem;
	height: 1rem;
	fill: #1f2c47;
}
.custom-dropdown[aria-expanded="true"] {
  border-color: #333;
}

.custom-dropdown .dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background: white;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-dropdown .dropdown-options li {
  padding: 0.5em;
}

.custom-dropdown .dropdown-options li:hover,
.custom-dropdown .dropdown-options li.active {
  background: #eee;
}
@media only screen and (max-width: 650px) {
	#lease-filters .form-row {
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
	}
	#lease-filters .form-row:last-of-type {
		flex-direction: row;
	}
	.input-wrapper {
		flex: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
	}
	#lease-filters button {
		width: 100%;
		flex: unset;
	}
	.view-controls,
	.sort-controls {
		gap: 0.5rem;
	}
	.sort-controls .custom-dropdown {
		min-width: 100px;
	}
	.title .city {
		display: none;
	}
}

#lease-map {
	height: 600px;
	width: 100%;
}


.pagination .page-button.active {

  background-color: #1F2C47;
  color: white;
}
.lease-archive {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	background: #F0F4FA;
	color: #1F2C47;
}
.pagination {
	display: flex;
  margin: 1rem 0;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.page-button {
	background: #fff;
  color: #1f2c47;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
.page-button.active {
	background: #1f2c47;
	color: #f0f4f4;
}
/* Tile view */
.tile-grid {
  display: grid;
  gap: 2rem;

  /* Default: 3 columns */
  grid-template-columns: repeat(3, 1fr);
}

/* Medium screens: 2 columns */
@media (max-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens: 1 column */
@media (max-width: 600px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
}
.lejlighed {
	display: flex;
	flex-direction: column;
	height: 100%;

}
.lejlighed a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	background-color: #fff;
  padding: .6rem;
  border-radius: 8px;
  transition: .3s ease;
  color: #1F2C47;
  font-family: 'Montserrat';
  position: relative;
  height: 100%;
  
}
.lejlighed .badge {
	position: absolute;
	top: 25px;
	left: 25px;
	background: rgba(255,255,255, 0.8);
	backdrop-filter: blur(6px);
	color: #1F2C47;
	padding: .8rem 2rem;
	font-weight: 600;
	border-radius: 6px;
	font-size: 0.9rem;
}
@media only screen and (max-width: 650px) {
	.lejlighed .badge {
		padding: .4rem 1rem;
	}
}
.lejlighed img {
	width: 100%;
	border-radius: 5px;
	height: 280px!important;
	min-height: 280px;
	object-fit: cover;
}
.placeholder {
	width: 100%;
	height: 100%;
	min-height: 280px;
	border-radius: 5px;
	background: #f0f4fa;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-weight: 500;
}
.lejlighed .text-wrapper {
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: left;
}
.lejlighed h3 {
	font-size: 1.4rem!important;
	color: #1F2C47;
	font-weight: 700;
	margin: 0;
	transition: .3s ease-in-out;
}

.lejlighed a:hover h3 {
	color: #c5995a;
}
@media only screen and (max-width: 650px) {
	.lejlighed h3 {
		font-size: 1.2rem!important;
	}
}
.lejlighed .info {
	color: #1f2c47;
	font-weight: 600;
	margin: 1rem 0;
  position: relative;
  left: -6px;
  flex: 1;
}
.lejlighed .info p {
	margin: 0.4rem;
	font-size: 0.8rem!important;
}
.lejlighed .info p span {
	color: #c5995a;
	font-size: 0.8rem;
}
.lejlighed.list p span {
	color: #c5995a;
	font-size: 0.8rem;
}
.lejlighed.list p:not(:first-of-type) {
	text-align: right;
}
.pills {
	padding: 0;
	margin: 0;
	list-style: none;
	flex: 0;
	display: flex;
	gap: 0.5rem;
}

.pill {
	background: #f0f4fa;
  padding: 0.2rem 1rem;
  color: #1f2c47;
  border-radius: 8px;
  height: 30px;
  font-weight: 500;
  font-size: 0.8rem!important;
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 650px) {
	.pills {
		gap: 0.3rem;
		justify-content: space-between;
	}
	.pill {
		padding: 0.2rem 0.8rem;
	}
}
/* List view */
.lejlighed.list a {
	width: 100%;
	flex-direction: row;
	transition: .3s ease-in-out;
}
.lejlighed.list:nth-of-type(2n) a {
	background: #f0f4fa;
}
.lejlighed.list:hover a {
	background: rgba(201,159,91, 0.2);
}
.list-wrapper {
	display: flex;
	flex-direction: column;
}
.lejlighed.list {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-evenly;
	gap: 3rem;
}
.lejlighed.list .title {
	flex: 3;
}
.lejlighed.list p {
	flex: 1;
	margin: 0;
}
.lejlighed.list .mobile-row {
	display: flex;
	flex: 4;
	justify-content: space-between;
}
@media only screen and (max-width: 900px) {
	.lejlighed.list a {
		flex-direction: column;
	}
	.lejlighed.list .title {
		width: 100%;
		font-weight: 600;
		margin-bottom: 0.2rem;
	}
	.lejlighed.list p span {
		display: none;
	}
}
@media only screen and (max-width: 650px) {
	.lejlighed .text-wrapper {
		padding: 1rem 0.4rem 0.4rem 0.4rem;
	}
}
/* Map view */
.gm-style .gm-style-iw-c {
	border-radius: 6px;
	padding: 0!important;
}
.gm-style-iw-d {
	padding: 0!important;
	overflow: hidden!important;
}
.gm-style-iw-chr {
	position: absolute;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	z-index: 9;
}
.gm-style-iw-chr button {
	background: #fff!important;
	border-radius: 6px!important;
	opacity: 1!important;
	width: 36px!important;
	height: 36px!important;
}
.gm-style-iw-chr button span {
	width: 20px!important;
	height: 20px!important;
	margin: 7px!important;
}
.infowindow {
	position: relative;
	padding: 0.5rem;
	font-family: 'Montserrat', sans-serif;
}
.infowindow .text-wrapper {
	padding: 0.5rem;
}
.infowindow img {
	width: 100%;
	min-width: 300px;
	max-height: 200px;
	object-fit: cover;
	border-radius: 6px;
}
.infowindow .placeholder {
	width: 100%;
	height: 100%;
	min-width: 300px;
	min-height: 200px!important;
	border-radius: 5px;
	background: #f0f4fa;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-weight: 500;
}
.infowindow  strong {
	font-size: 1rem;
	font-weight: 600;
}
.infowindow .info {
	margin: 0.5rem 0;
}
.infowindow .info p {
	font-weight: 600;
	margin: 0;
	font-size: 0.8rem!important;
}
.infowindow .info p span {
	color: #c5995a;
  font-size: 0.6rem;
}
.infowindow .pill {
	padding: 0.1rem 0.6rem;
	font-size: 0.8rem!important;
}
.infowindow a {
	display: inline-block;
  padding: 0.5rem 2rem;
  background: #1f2c47;
  color: #fff;
  border-radius: 6px;
  margin-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease-in-out;
}
.infowindow a.newline {
	display: table;
}
.infowindow a:hover {
	background: #C5995A;
}