/*
    Theme Name: Real Places Child
    Theme URI: http://themeforest.net/item/real-places-responsive-wordpress-real-estate-theme/12579089
    Description: Child theme for Real Places. Real Places is a WordPress theme for Real Estate Websites.
    Author: Inspiry Themes
    Author URI: http://themeforest.net/user/inspirythemes/portfolio
    Version: 1.2.1
    Template: inspiry-real-places

    ----------------------------------------------------------------------------------------------------------------*/

/* 桌機 (大螢幕) */
#site-logo img {
max-width: 180px;
	
}

.wp-block-group {
padding: 0px 20px;
}

.widget.widget_latest_posts {
  padding: 20px 0; /* 上下 20px，左右 0 */
	padding-right: 20px;
}

#site-logo .logo-inner-wrapper {
  display: flex;
  justify-content: center; /* 水平置中 */
  align-items: center;     /* 垂直置中（如果需要） */
}

  .header-variation-two .site-logo,
  .header-variation-three .site-logo {
    height: 100px;
    min-height: 100px;
    text-align: left;
  }

.header-variation-two .site-logo,
.header-variation-three .site-logo {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  overflow: hidden;
}

.footer-logo {
	margin-bottom: 0px !important;
}

.widget {
  margin-bottom: 10px ;
}

.img-responsive {
	max-height: 180px;
	max-width: auto;
}

@media (max-width: 1200px) {
  .site-footer-one .row {
    display: flex;
    flex-wrap: nowrap; /* 不換行 */
    align-items: flex-start;
  }
	.img-responsive{
		width:13rem;
	}

  .site-footer-one .footer-logo {
    flex: 0 0 auto; /* 左邊固定寬度 */
    margin-right: 0px; /* 左右間距 */
  }

  .site-footer-one .footer-widget-area {
    flex: 1 1 auto; /* 右邊撐滿剩餘空間 */
  }

  /* optional: 知識學堂文字靠左對齊 */
  .site-footer-one .footer-widget-area .widget-title {
    text-align: left;
  }
	.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0px;
  padding-right: 0px;
		padding-top: 0px;
}
}


.blog-post-entry-header {
	margin-top:-40px;
  padding-top: 20px;
  padding-bottom: 1px;
}

.blog-listing-post .entry-summary {
  padding-top: 25px;
  padding-bottom: 50px;
}


.swiper-button-prev,
.swiper-button-next {
    width: 30px !important;
    height: 30px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px !important; /* 對應箭頭大小 */
}


.page-head-content .page-title {
  text-shadow: 4px 4px 6px black;
}

.property-thumbnail.col-sm-3 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.property-listing-simple-1 .entry-title {
    margin-bottom: 5px;
    padding-left: 10px;
    padding-top: 10px;
  }


.icon-svg svg {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}



.limit-4-lines {
    display: -webkit-box;        /* 必須 */
    -webkit-line-clamp: 4;       /* 限制 4 行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.page-head {
/*   background: url("https://orangered-mule-661817.hostingersite.com/wp-content/themes/inspiry-real-places-child/images/banner.png") center/cover no-repeat; */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.3); /* 半透明白層 */
  backdrop-filter: blur(10px); /* 模糊背景 */
  -webkit-backdrop-filter: blur(10px);
}

.page-head .container {
  position: relative;
  z-index: 1;
  color: #000;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.page-head .container {
  position: relative;
  z-index: 1; /* 確保文字在上面 */
  text-align: center;
}
.page-head-content .page-title {
	font-size: 5rem;
}

.logo-inner-wrapper img {
  height: 12rem;
  width: auto;
}

.entry-summary {
	font-size: 1.6rem;
}

.date-range {
  display: flex;
  flex-wrap: wrap;  /* 讓內容太窄時自動換行 */
  gap: 4px;
  color: black;
}

.entry-header-margin-fix:first-of-type {
  margin-top: 40px;
}

.entry-header-margin-fix {
  margin-top: 60px;
}

.site-pages {
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

.date-range .dash {
  margin: 0 4px;
  white-space: nowrap; /* 避免 dash 自己換行 */
}

.select2-container--open .select2-dropdown {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 容器吃父層寬度，但可控制 */
.select2-container {
  width: auto !important;   /* 不要無腦100% */
  min-width: 200px;         /* 自訂最小寬度 */
  max-width: 100%;          /* 不要超過父層 */
  box-sizing: border-box;
}

li.tel {
  display: flex;          /* 讓子元素在同一行 */
  align-items: center;    /* 垂直置中 */
  gap: 8px;               /* icon 與文字間距，可調整 */
}

li.tel svg {
  display: block;         /* 移除 SVG 的 inline 影響 */
  flex-shrink: 0;         /* 不讓 icon 被壓縮 */
}
.blog-post .entry-title {
	font-size: 2rem; !important;
}


.property-listing-simple {
    display: flex;
    flex-wrap: wrap;
    background-color: #c1c1c133;
}

.property-thumbnail {
    flex: 0 0 30%; /* 左側圖片 30% */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* 去掉 padding */
	aspect-ratio: 1;
}

.title-and-meta {
    flex: 0 0 40%; /* 中間標題 40% */
    position: relative; /* 按鈕絕對定位必須 */
    display: flex;
    flex-direction: column; /* 讓標題+地址垂直排列 */
    justify-content: flex-start;
    padding: 10px;
}

.title-and-meta header {
    width: 100%;
    position: relative; /* 保證按鈕定位基於 header */
    flex: 1; /* 讓 header 占滿中間欄高度 */
}

.floating-btn {
    position: absolute;
    bottom: 10px;
}

/* 右側說明 30% */
.property-description {
    flex: 0 0 30%;
    padding: 10px;
    box-sizing: border-box;
	background-color: #FFA300;
}


@media (min-width: 1200px) {
	.title-and-meta {
		width: 100%;
	}
	
	    body:not(.home) .site-header .header .header-variation-two {
        display: block !important; /* 原本 header 是 block */
    }
}
/* 桌面版：單列顯示，卡片間距 */
/* .site-main {
  display: grid;
  gap: 10px; /* 每個卡片的間距 */
} */

.entry-header-margin-fix {
  margin-top: 60px;
}

/* 每篇文章的縮圖圖片 */
.property-thumbnail img {
  width: 100%;
  height: auto; /* 依比例縮放 */
  object-fit: cover; /* 若要裁切鋪滿 */
}

@media (max-width: 560px) {
#vendor-intro-text > div > div > h4 {
    text-align: left;
  }
}

.vendor-intro {
 padding-top: 0px;
}

.site-pages {
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
}


/* 手機版 (max-width: 991px)：兩欄顯示 */
@media (max-width: 991px) {
  /* 文章卡片內部改為直列排列 */
  article.property-listing-simple {
    display: flex; /* 保持 flex 排版 */
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
  }
	
	
  /* 圖片在上，文字在下 */
  .property-thumbnail {
    width: 100%;
    padding: 0;
  }

  .property-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .title-and-meta {
    min-height: auto;
    width: 100%;
    padding: 5px 0;
  }

  /* 手機可選擇隱藏長文字區塊 */
  .property-description {
    display: none;
  }
	
	    .property-listing-simple {
        flex-direction: column; /* 改為垂直排列 */
    }
    .property-thumbnail,
    .title-and-meta,
    .property-description {
        flex: 0 0 100%;
    }
    .floating-btn {
        bottom: 10px;
        left: 10px;
		background-color : #FFA300; !important;
    }
	
	
	.property-thumbnail {
/* 		min-height: 330px; */
	}
	
	 body:not(.home) .site-header.header.header-variation-two {
        display: none !important;
    }
	
	.property-listing-simple-1 .entry-title {
    margin-bottom: 5px;
    padding-left: 10px;
    padding-top: 10px;
  }
}