/* ==========================================================================
   通用 Reset & 全域 Flex 工具類別
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", sans-serif;
  color: #222222;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.renew_building_text{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 90px 0px;
}
.renew_building_top_title{
  font-size: 12px;
  letter-spacing: 4.5px;
}
.renew_building_title{
  font-size: 36px;
  letter-spacing: 5px;
  padding: 0px;
}
.renew-building-header #bo-hr{
  margin-bottom: 0px;
}
/* Flexbox 常用工具卡 */
.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-center-v {
  align-items: center;
}

.flex-center-h {
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-start-h {
  justify-content: flex-start;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. 頁首 Header & 導覽列
   ========================================================================== */
.site-header {
  border-bottom: 1px solid #e2e8f0;
}

.header-top {
  padding: 12px 0;
  background-color: #ffffff;
}

.brand-logo img {
  height: 40px;
  object-fit: contain;
}

.lang-switch {
  gap: 2px;
}

.btn-lang {
  border: none;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  background-color: #e2e8f0;
  color: #4a5568;
}

.btn-lang.active {
  background-color: #2d3748;
  color: #ffffff;
}

.main-nav {
  background-color: #1a2530;
}

.nav-list {
  flex-wrap: wrap;
}

.nav-list a {
  display: block;
  padding: 12px 18px;
  color: #cbd5e0;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  background-color: #5c93cf;
  color: #ffffff;
}

/* ==========================================================================
   2. Hero Banner & 麵包屑
   ========================================================================== */
.hero-banner {
  height: 200px;
  background: linear-gradient(rgba(45, 115, 195, 0.8), rgba(30, 85, 150, 0.85)),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.hero-subtext {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-top: 4px;
}

.breadcrumb-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-size: 13px;
}

.breadcrumb-list {
  gap: 8px;
  color: #718096;
}

.breadcrumb-list .active {
  color: #5c93cf;
}

/* ==========================================================================
   3. 主要雙欄佈局 (Flex Main Layout)
   ========================================================================== */
.main-content {
  padding: 80px 0 90px;
}

.main-layout-gap {
  display: flex;
  gap: 60px;
}

.content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 2;
  min-width: 0;
}

.content-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  min-width: 0;
}

/* 內頁元件樣式 */
.eyebrow-text {
  font-size: 12px;
  color: #5c93cf;
  font-weight: 700;
  letter-spacing: 2px;
}

.project-title {
  font-family: Noto Sans TC;
  font-weight: 700;
  font-size: 42px;
  line-height: 145%;
  letter-spacing: 3px;
  margin: 0px;
}

.double-circle {
  width: 13px;
  height: 13px;
  border: 1px solid #5c93cf;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.double-circle::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #5c93cf;
  border-radius: 50%;
}

.location-text {
  display: flex;
  gap: 8px;
  font-family: Noto Sans TC;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.3px;
  color: #4A4A4A;
  align-items: center;
}

.badges{
  display:flex;
  gap:8px;
}
.badges span{
  background-color:#E8EDF7;
  color:#679BDB;
  font-size:14px;
  padding: 7px 14px;
  border-radius: 2px;
}

.main-image-container img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.img-caption {
  font-family: Noto Sans TC;
  font-weight: 400;
  font-size: 13px;
  line-height: 170%;
  letter-spacing: 0.3px;
  color: #767676;
  margin-bottom: 0px;
}

.detail-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-title {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-size: 26px;
  font-weight: 700;
  color: #1E1E1E;
  font-family: Noto Sans TC;
  line-height: 150%;
  letter-spacing: 2px;
  margin: 0px;
}

.section-title-left-border{
  width: 4px;
  height: 26px;
  background-color: #679BDB;
}
.paragraph-text {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* 檔案下載列表 */
.download-list {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.download-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 2px;
  border: 1px solid #679BDB;
}
/* 預設隱藏第 3 個以後的檔案 */
.download-card.is-hidden {
  display: none !important;
}
/* 展開時將箭頭旋轉 180 度 */
.see-more.is-expanded .toggle-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.file-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: auto;
  min-width: 0;
}
.file-name {
  font-family: Noto Sans TC;
  font-weight: 500;
  font-size: 17px;
  line-height: 195%;
  letter-spacing: 0.4px;
  color: #1E1E1E;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.file-pdf-icon{
  font-size: 17px;
  color: #1C2C63;
}

.btn-download {
  width: 80px;
  background-color: #679BDB;
  color: #ffffff !important;
  padding: 5px 9px;
  border-radius: 2px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: Noto Sans TC;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 1px;
  cursor: pointer;
}

.btn-download:hover {
  background-color: #4a80bc;
}
.see-more{
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.btn-see-more {
  background: none;
  border: none;
  font-family: Noto Sans TC;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 1px;
}

.link-item{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.icon-link {
  color: #5c93cf;
  margin-right: 8px;
}

.external-link {
  font-family: Noto Sans TC;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.3px;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: #457ABA !important;
}

/* 右側 Sidebar 資訊卡片 */
.info-card {
  background-color: #F5F6F8;
  border: 1px solid #E2E2E2;
  border-radius: 4px;
  padding: 26px 28px 28px;
}
.right-section-title {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-family: Noto Sans TC;
  font-weight: 700;
  font-size: 19px;
  line-height: 150%;
  letter-spacing: 1.5px;
  margin: 0px 0px 18px 0px;
}
.section-title-left-border{
  width: 3px;
  height: 18px;
  background-color: #679BDB;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E2E2;
}

.info-row.no-border {
  border-bottom: none;
}

.info-label {
  font-family: Noto Sans TC;
  font-weight: 400;
  font-size: 13px;
  line-height: 160%;
  letter-spacing: 0.8px;
  color: #767676;
}

.info-val {
  font-family: Noto Sans TC;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.3px;
  color: #1E1E1E;
}

.font-bold {
  font-weight: 700;
}

.sidebar-actions {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.btn-primary,.btn-outline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 17px;
  padding-bottom: 17px;
  border-radius: 2px;
  font-family: Noto Sans TC;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 1px;
}
.btn-primary{
  background-color: #679BDB;
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: #4a80bc;
}

.btn-primary.fit-content {
  width: fit-content;
}
.arrow-up-right {
  transform: rotate(-45deg);
}
.btn-outline {
  background-color: #ffffff;
  border: 1px solid #C9CDD6;
  color: #4A4A4A !important;
}

.btn-outline:hover {
  background-color: #edf2f7;
}

/* ==========================================================================
   4. 其他個案 (Flex 水平與輪播卡片)
   ========================================================================== */
.other-projects-section {
  background-color: #F5F6F8;
  padding: 70px 0;
}
.other-projects-wrapper{
  display: flex;
  gap: 36px;
  flex-direction: column;
  align-items: center;
}
.other-projects-wrapper .section-header{
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}
.other-projects-wrapper .eyebrow-text{
  font-family: Inter;
  font-weight: 600;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 3px;
  color: #679BDB;
}
.other-title {
  font-family: Noto Sans TC;
  font-weight: 700;
  font-size: 30px;
  line-height: 140%;
  letter-spacing: 2px;
  color: #1E1E1E;
  margin: 0px;
}

.carousel-wrapper {
  width: 100%;
  max-width: 880px;
  position: relative;
  gap: 16px;
}

.arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: none;
  background-color: #5c93cf;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.arrow-btn:hover {
  background-color: #4a80bc;
}

.project-item-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  flex: 1;
  width: calc(100% - 104px);
  margin: auto;
}

.card-img-box {
  width: 50%;
  flex-shrink: 0;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-img-box .project-card-cover{
  background-color: #D8DCE4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.card-img-box .project-card-cover img{
  width: auto;
  height: auto;
}
.card-content-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 50%;
  padding: 30px 32px 32px;
}

.other-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0px;
}
.project-item-card .location-text{
  font-size: 15px;
}
.project-item-card .badges span{
  padding: 6px 12px;
  font-size:13px;
}
.specs-table {
  padding: 18px 0px 0px 0px;
  font-size: 13px;
}

.spec-row {
  display: flex;
  border-bottom: 1px solid #edf2f7;
  padding: 10px 0;
  gap:16px
}

.spec-row.no-border {
  border-bottom: none;
}

.spec-label {
  font-family: Noto Sans TC;
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.5px;
  color: #767676;
}

.spec-val {
  font-family: Noto Sans TC;
  font-weight: 500;
  font-size: 15px;
  line-height: 160%;
  letter-spacing: 0.3px;
  color: #1E1E1E;
}
.project-actions{
  display: flex;
  gap: 12px;
}
.project-actions .btn-primary,.project-actions .btn-outline{
  flex: 1;
}
.other-projects-wrapper .owl-theme .owl-nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  position: absolute;
  top: calc(50% - 22px);
  width: 100%;
}
/* .owl-carousel .owl-stage-outer{
  width: calc(100% - 104px);
  margin: auto;
} */
.owl-theme .owl-nav [class*=owl-]{
  background: transparent;
  width: 32px;
  height: 32px;
  margin: 0px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.owl-theme .owl-nav [class*=owl-]:hover{
  background: transparent;
}
.owl-custom-nav{
  width: 32px;
  height: 32px;
  background-color: #679BDB !important;
}
.mobile-show{
  display:none
}
/* RWD 響應式佈局 (Flex 切換) */
@media (max-width: 540px){
  .mobile-hide{
    display:none
  }
  .mobile-show{
    display:block
  }
  #banner_background{
    background: linear-gradient(90deg, #7FC0FB 0%, #9ACFFF 100%) !important;
  }
  .renew_building_text{
    text-align: center;
    padding: 42px 0px;
    gap: 8px;
  }
  .renew_building_top_title{
    font-size: 9px;
    letter-spacing: 2px;
  }
  .renew_building_title{
    font-size: 24px;
    letter-spacing: 3px;
    padding: 8px 0px;
  }
  .renew-building-bo-breadcrumb li{
    font-size: 12px;
  }
  .renew-building-bo-breadcrumb li::after{
    padding: 0 7px;
  }
  .main-content{
    padding: 24px 20px;
  }
  .eyebrow{
    font-size: 11px;
  }
  .project-title{
    font-size: 28px;
  }
  .location-text{
    font-size: 14px;
  }
  .badges span{
    padding: 6px 11px;
    font-size: 12px;
  }
  .img-caption{
    font-size: 12px;
  }
  .right-section-title{
    margin-bottom: 14px;
  }
  .right-section-title{
    font-size: 21px;
  }
  .info-card{
    padding: 6px 20px 8px;
  }
  .info-row{
    padding: 13px 0px;
    gap: 3px;
  }
  .info-label{
    font-size: 12px;
  }
  .info-val{
    font-size: 15px;
  }
  .download-card{
    padding: 4px 8px;
  }
  .file-name-row{
    gap: 4px;
  }
  .file-name{
    font-size: 14px;
  }
  .btn-download{
    font-size: 14px;
    gap: 4px;
  }
  .btn-see-more{
    font-size: 14px;
  }
  .external-link{
    font-size: 14px;
  }
  .main-layout-gap {
    flex-direction: column;
    gap: 38px;
  }
  .sidebar-actions.mobile-show{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 14px 16px 18px 16px;
    border-top: 1px solid #E2E2E2;
    box-shadow: 0px -2px 12px 0px #00000014;
  }
  .project-action-mobile{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .btn-primary, .btn-outline{
    font-size: 15px;
  }
  .btn-primary, .btn-outline{
    flex: 1;
  }
  .content-right {
    width: 100%;
  }

  .project-item-card {
    flex-direction: column;
  }

  .card-img-box, .card-content-box {
    width: 100%;
  }

  .arrow-btn {
    display: none;
  }
}