/* 網站主要內容的CSS */
 /* 網頁內頁選單歸位正確位置 */
  :root {
    scroll-padding-top: 80px;
  }


  /* TOC選單設定 */

  #toc {
    margin-top: 10px;
    padding: 10px 26px;
    border: 1px solid #b3b3b3;
    border-radius: 8px;
    background-color: #f9f9f9;
    display: inline-block;
    /* 讓 TOC 根據內容自動調整寬度 */
    max-width: 100%;
    /* 在手機版和桌面版都不會超過 100% 的寬度 */
    width: auto;
    /* 根據內容自適應寬度 */
  }

  #toc ul {
    list-style-type: none;
    padding: 0;
    display: block;
    /* 預設為顯示 */
  }

  #toc ul.hidden {
    display: none;
    /* 隱藏 TOC 列表 */
  }

  #toc-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
  }

  #toc ul li {
    font-size: 1em;
  }

  /* 隱藏選單按鈕樣式 */
  #toggle-button {
    cursor: pointer;
    color: #8a8a8a;
    font-weight: normal;
    margin-left: 10px;
    font-size: 14px;
  }



  /* 選單NEW!的顯示設定 */
  .new-label::after {
    content: "NEW!";
    color: red;
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
  }

  /* 新案上架分隔設定 */
  .new-divider::after {
    content: "── ▲ 新案上架 ▲ ──";
    color: #808080;
    font-size: 1em;
  }



  /* 文章建案cases內容CSS設定 */

  article.cases {
    color: #4a4a4a;
    line-height: 1.9em;
    font-size: 1.1rem;
  }


  article.cases ul {
    margin: 0;
    padding: 10px;
  }

  article.cases li {
    margin-left: 10px;
    line-height: 2em;
  }

  article.cases h2 {
    padding-left: 18px;
    border-left: 8px solid #eb6100;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #525252;
  }

  article.cases h3,
  article.cases h4 {
    margin-top: 20px;
  }

  article.cases .aerial-panorama-iframe {
    height: 500px;
    width: 100%;
  }

  article.cases .youtube-video-iframe {
    height: 220px;
    width: 100%;
  }

  article.cases img {
    width: 1000px;
    height: auto;
  }

  article.news .img-100p,
  article.cases .img-100p {
    width: 100%;
    height: auto;
  }


  /* GOOGLE街景地圖圖標設定   */
  a.map-link {
    display: inline-flex;
    /* 保持內聯排列並支援對齊 */
    align-items: center;
    /* 垂直居中對齊 */
    margin-left: 10px;
    /* 與前方標題保持間距 */
  }

  a.map-link img {
    width: 15px;
    /* 固定寬度 */
    margin-right: 5px;
    /* 圖標與文字之間留間距 */
  }


  /* 連絡我按鈕設定 */
  /* .contact-btn {
    margin-top: 20px;
    text-align: center;
  }
  .contact-btn img {
    display: inline-block;
    margin: 0 auto;
    width: 80%;
    height: auto;
  } */


  /* 廣告欄位設定 */
  .ad-slot {
    margin-top: 30px;
  }


  /* 其他字體樣式設定 */
  .red-font {
    color: #d60000;
  }

  .article-link a {
    color: #eb6100;
    text-decoration: underline;
  }


  /* === 實價登錄卡片設計 === */
  .custom-card {
    max-width: 100%;
    margin: 20px auto;
    border-radius: 12px;
    border: 2px dotted #ffda56;
    /*box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);*/
    background: linear-gradient(to right, #fffaf0, #fff);
  }

  .card-body-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  /* === 左側內容 === */
  .card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-card img.card-icon {
    width: 50px !important;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .card-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
  }

  .card-subtext {
    font-size: 0.85rem;
    color: gray;
    margin: 0;
  }

  /* === 按鈕樣式 === */
  .card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffc107;
    color: black;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    gap: 10px;
  }

  .card-button:hover {
    background-color: #ffb326;
    color: black;
  }



/* === 實價登錄區塊設計V2 === */
.real-price-section {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 12px;
  border: 2px dotted #ffda56;
  background: linear-gradient(to right, #fffaf0, #fff);
}

.real-price-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

/* === 左側內容 === */
.real-price-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.real-price-icon {
  width: 50px !important;
  margin-right: 10px;
  margin-bottom: 10px;
}

.real-price-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.real-price-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 1px;
}

.real-price-subtext {
  font-size: 0.85rem;
  color: gray;
  margin: 0;
}

/* === 按鈕樣式 === */
.real-price-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffc107;
  color: black;
  font-size: 1.1rem;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  gap: 10px;
}

.real-price-button:hover {
  background-color: #ffb326;
  color: black;
}

/* 同仁密碼區CSS設定 */



    #passwordInput {
      background-color: #f3f3f3;
      /* 設定輸入框背景為淺灰色 */
      border: 1px solid #e0e0e0;
      /* 設定輸入框邊框為淺灰色 */
      outline: none;
      /* 移除點擊時的黑色框線 */
      padding: 5px;
      border-radius: 5px;
    }

    #passwordInput:focus {
      border: 1px solid #A9A9A9;
      /* 點擊後保持淺灰色邊框，不出現黑色框線 */
    }

    #passwordInput::placeholder {
      color: #B0B0B0;
    }

    #hiddenContent {
      display: none;
      /* 初始隱藏內容 */
    }

/* ======================================== */
  /* ======= 電腦版992以上CSS設定 ====== */
/* ======================================== */

  @media screen and (min-width: 992px) {

    /* 選單設定 */
    #toc {
      max-width: 400px;    
    }

    /* 文章樣式設定 */
    /* 360全景尺寸設定 */
    article.cases .aerial-panorama-iframe {
      height: 800px;
    }
    /* youtube尺寸設定 */
    article.cases .youtube-video-iframe {
      height: 800px;
    }

    .contact-btn {
      text-align: left;
    }

    .contact-btn img {
      width: 30% !important;
      max-width: none;
    }

     /* === 實價登錄卡片設計 === */
    .card-body-flex {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 20px 30px;
    }

    .card-left {
      flex-direction: row;
      align-items: center;
      text-align: left;
    }

    .card-icon {
      margin-bottom: 0;
      margin-right: 15px;
      width: 50px;
    }

    .card-text-group {
      align-items: flex-start;
      text-align: left;
    }

    .card-title {
      font-size: 1.5rem;
    }

    .card-button {
      font-size: 1.3rem;
      padding: 15px 25px;
    }

 /* === 實價登錄卡片設計v2 === */
   .real-price-body {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
  }

  .real-price-left {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .real-price-icon {
    margin-bottom: 0;
    margin-right: 15px;
    width: 50px;
  }

  .real-price-text {
    align-items: flex-start;
    text-align: left;
  }

  .real-price-title {
    font-size: 1.5rem;
  }

  .real-price-button {
    font-size: 1.3rem;
    padding: 15px 25px;
  }

  }




/* 暫時修改的CSS */

/* .header .navbar .navbar-collapse > .navbar-nav > .nav-item:nth-child(4) > .nav-link {
  color: var(--main-color);
}
 */


/* 選單的橘色按鈕 */

.banner .slick .slick-dots {
  --dot-width: 5px;
  --dot-height: 5px;
  bottom: 2px;
  z-index: 5;
}
.slick-dotted.slick-slider{
margin-bottom:10px;
  
}

/* footer新增的證號 */
.footer .branch-box .info ul li.usertie:before {
  content: "\f8c8";
}

  @media screen and (min-width: 992px) {

.banner .slick .slick-dots {
  --dot-width: 8px;
  --dot-height: 8px;
  bottom: 4px;
  z-index: 5;
}


.slick-dotted.slick-slider{
margin-bottom:30px;
  
}

    
  }
