@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;
}
.city-fastigheter-background {
  background-color: #342017;
}

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

.city-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;
}
.city-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;
}
.city-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: 500px;
  min-height: 400px;
  position: relative;
  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;
}

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

.city-real-estate-grid-title {
  text-align: center;
  padding-top: 40px;
  margin-bottom: 80px;
}
.city-real-estate-grid-title h2 {
  color: #E5DAD1;
}

.city-fastigheter-info-container {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.city-fastigheter-info-container .city-real-estate-content-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-top: 110px;
}
@media all and (max-width: 1200px) {
  .city-fastigheter-info-container .city-real-estate-content-container {
    flex-direction: column;
  }
}
.city-fastigheter-info-container .city-real-estate-content-image-wrapper {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  max-width: 560px;
  max-height: 580px;
  width: 100%;
}
@media all and (max-width: 1200px) {
  .city-fastigheter-info-container .city-real-estate-content-image-wrapper {
    max-height: 400px;
    max-width: 100%;
    width: 100%;
  }
}
.city-fastigheter-info-container .city-real-estate-content-image-wrapper::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  -o-border-image: linear-gradient(136deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
     border-image: linear-gradient(136deg, #AA884D 0%, #664320 22%, #A5804F 41%, #F6E1B6 60%, #DAB77F 78%, #896233 100%) 1;
  pointer-events: none;
  z-index: -1;
}
.city-fastigheter-info-container .city-real-estate-content-image {
  width: 100%;
  height: 100%;
}
.city-fastigheter-info-container .city-real-estate-content-image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
@media all and (max-width: 1200px) {
  .city-fastigheter-info-container .city-real-estate-content-image img {
    max-height: 400px;
  }
}
.city-fastigheter-info-container .city-real-estate-content-text {
  flex: 0 1 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.city-fastigheter-info-container .city-real-estate-content-text .city-real-estate-title-font h2 {
  font-family: "RoyalAmbition", serif !important;
}
.city-fastigheter-info-container .city-real-estate-button-gap {
  margin-top: 15px;
}/*# sourceMappingURL=taxonomy-fastigheter_stad.css.map */