@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
  font-family: "RoyalAmbition";
  src: url("/wp-content/themes/tivala-main/assets/fonts/RoyalAmbitionScript.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
.archive-fastigheter-background {
  background-color: #342017;
}

.real-estate-posts {
  margin-bottom: 80px;
}

.real-estate-grid {
  padding-top: 50px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 25px;
}
@media all and (max-width: 450px) {
  .real-estate-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
.real-estate-grid .for-sale-card-wrapper:first-child::before {
  content: "";
  position: absolute;
  left: -25px;
  top: -25px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  -o-border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
     border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
  pointer-events: none;
  z-index: -1;
}
.real-estate-grid .for-sale-card-wrapper:last-child::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  -o-border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
     border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
  pointer-events: none;
  z-index: -1;
}

.for-sale-card-wrapper {
  height: 100%;
  min-height: 400px;
  position: relative;
  height: 500px;
  z-index: 0;
}

.for-sale-cards-image-container {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  width: 100%;
}
.for-sale-cards-image-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}
.for-sale-cards-image-container:hover::before {
  transform: scale(1.09);
}
.for-sale-cards-image-container .for-sale-text-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 180px 30px 15px 30px;
  text-align: center;
  background: linear-gradient(to top, #A28771 0%, #A28771 20%, rgba(162, 135, 113, 0.85) 45%, rgba(162, 135, 113, 0.3) 70%, transparent 100%);
  transform: translateY(15%);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  min-height: 370px;
}
.for-sale-cards-image-container .for-sale-text-container .for-sale-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.for-sale-cards-image-container .for-sale-text-container .for-sale-divider {
  height: 16px;
  width: 1px;
  background-color: #70635A;
}
.for-sale-cards-image-container .for-sale-text-container h2 {
  color: #E5DAD1;
  margin-bottom: 20px;
  font-size: 32px;
  font-family: "Raleway", regular;
}
.for-sale-cards-image-container .for-sale-text-container p {
  color: #E5DAD1;
  line-height: 20px;
  font-size: 16px;
}
.for-sale-cards-image-container .for-sale-text-container .for-sale-hover-content {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.for-sale-cards-image-container .for-sale-text-container .for-sale-hover-content p:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.for-sale-cards-image-container .for-sale-text-container .for-sale-detail-container {
  margin-top: 10px;
}
.for-sale-cards-image-container .for-sale-text-container .for-sale-detail-container .for-sale-detail {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.for-sale-cards-image-container:hover .for-sale-hover-content {
  opacity: 1;
}
.for-sale-cards-image-container:hover .for-sale-text-container {
  transform: translateY(0);
}

.overlay {
  background: linear-gradient(rgba(52, 32, 23, 0.7), rgba(52, 32, 23, 0.6));
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
}

.d-flex-just-c {
  display: flex;
  justify-content: center;
}

.archive-fastigheter-pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.archive-all-cities-container {
  padding: 40px 0;
  width: 100%;
  background-color: #A28771;
}

.archive-cities-section {
  padding: 80px 0;
}
.archive-cities-section h2 {
  color: black;
  text-align: center;
  margin-bottom: 50px;
  font-family: "Raleway", regular;
}

.archive-cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}
@media all and (max-width: 600px) {
  .archive-cities-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.archive-city-card-wrapper {
  position: relative;
  z-index: 1;
}
.archive-city-card-wrapper--first::after {
  content: "";
  position: absolute;
  left: -25px;
  top: -25px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  -o-border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
     border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
  pointer-events: none;
  z-index: -1;
}
.archive-city-card-wrapper--last::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  -o-border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
     border-image: linear-gradient(209deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
  pointer-events: none;
  z-index: -1;
}
.archive-city-card-wrapper .archive-city-card {
  width: 100%;
  height: 100%;
}

.archive-city-card--pos-1 {
  grid-row: span 2;
}

.archive-city-card--pos-4 {
  grid-column: span 2;
}

.archive-city-card {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}
.archive-city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  z-index: 0;
}
.archive-city-card:hover::before {
  transform: scale(1.05);
}
.archive-city-card .archive-city-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(52, 32, 23, 0.6);
  transition: background-color 0.3s ease;
  z-index: 1;
}
.archive-city-card:hover .archive-city-overlay {
  background-color: rgba(52, 32, 23, 0.5);
}
.archive-city-card h3 {
  position: relative;
  z-index: 2;
  color: #E5DAD1;
}

.archive-filter-container {
  display: flex;
  gap: 15px;
  padding-top: 40px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.archive-dropdown {
  position: relative;
  display: inline-flex;
  flex-direction: column;
}
.archive-dropdown.active .fa-chevron-down {
  transform: rotate(180deg);
}

.archive-dropdown-btn {
  background: transparent;
  border: 1px solid #A28771;
  color: #A28771;
  padding: 8px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  font-family: "Raleway", regular;
  width: 100%;
  white-space: nowrap;
}
.archive-dropdown-btn i {
  transition: transform 0.2s ease;
}

.archive-dropdown-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #342017;
  border: none;
  z-index: 100;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  width: 100%;
  white-space: nowrap;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.archive-dropdown.active .archive-dropdown-content {
  max-height: 350px;
  padding: 10px 0;
  overflow: hidden;
  border: 1px solid #A28771;
}

.archive-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  color: #A28771;
  font-size: 16px;
  font-family: "Raleway", regular;
  box-sizing: border-box;
}
.archive-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.archive-dropdown-item input[type=checkbox] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #A28771;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.archive-dropdown-item input[type=checkbox]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #A28771;
  font-size: 12px;
}

.fastigheter-last-section-footer-padding {
  padding-bottom: 800px;
}
@media all and (max-width: 2200px) {
  .fastigheter-last-section-footer-padding {
    padding-bottom: 700px;
  }
}
@media all and (max-width: 1900px) {
  .fastigheter-last-section-footer-padding {
    padding-bottom: 600px;
  }
}
@media all and (max-width: 1025px) {
  .fastigheter-last-section-footer-padding {
    padding-bottom: 750px;
  }
}
@media all and (max-width: 600px) {
  .fastigheter-last-section-footer-padding {
    padding-bottom: 1350px;
  }
}/*# sourceMappingURL=archive-fastigheter.css.map */