@charset "UTF-8";

 



.project-card::before{
  opacity: .7;
  transition: opacity .2s ease;
}

.project-card:hover::before{
  opacity: 1;
}

/*------------------------------------------------------------*/
/* 卡片本體 */
.project-card{
  position: relative;
  overflow: hidden; /* 讓色條不跑出圓角 */
}

/* 都更專區卡片上緣色條 */
/*------- 🔥 改畫在 image 上層 */
.project-card-image::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 3;

  background: linear-gradient(
    90deg,
     var(--wt-gold-700, #c9a85d),
    rgba(13,59,102,0)
  );
}

/* 確保 image 容器是定位點 */
.project-card-image{
  position: relative;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #b88a2e; /* 武泰偏金 */
  text-decoration: none;
}

.card-cta::after {
  content: "→";
  transition: transform .25s ease;
}

.card-cta:hover {
  color: #9f7422;
}

.card-cta:hover::after {
  transform: translateX(4px);
}


/* ================= 空拍圖區塊 ================= */
.wenzizhen-aerial {
  padding: 96px 0 110px;
  background: linear-gradient(
    180deg,
    #f7f9fb 0%,
    #ffffff 60%
  );
}

.wenzizhen-aerial .aerial-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.wenzizhen-aerial .section-sub {
  margin-top: 12px;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.9;
}

.aerial-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0,0,0,.18);
}

.aerial-figure img {
  width: 100%;
  display: block;
}

.aerial-figure figcaption {
  padding: 14px 18px;
  font-size: 0.95rem;
  color: rgba(17,24,39,.65);
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* ================================================================================================================
   書香世家二期｜文件列表（event-files）
   不影響既有 btn 樣式
================================ */

/* ===============================
   event-files｜文件列表（最終版・不動 btn）
================================ */

.event-files{
  position: relative;
  background:
    radial-gradient(1200px 480px at 18% 0%, rgba(201,170,109,.10), transparent 60%),
    radial-gradient(900px 420px at 90% 18%, rgba(16,24,40,.06), transparent 55%),
    linear-gradient(180deg, #fbfbfc 0%, #f7f8fb 100%);
  padding: 56px 0 64px;
}

/* 標題區 */
.event-files .section-head{
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.event-files .section-title{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  letter-spacing: .04em;
  color: rgba(11,18,32,.92);
}

.event-files .section-sub{
  margin: 0 auto;
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.95;
  color: rgba(17,24,39,.74);
}

.event-files .section-hint{
  display: inline-block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,24,39,.08);
  font-size: .92rem;
  color: rgba(17,24,39,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 列表 */
.event-files .file-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

/* 卡片 */
.event-files .file-item{
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;

  /* ✅ 上方多留空間，避免左上/右上標籤壓到標題 */
  padding: 52px 26px 24px;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;

  box-shadow:
    0 14px 36px rgba(0,0,0,.06),
    0 2px 10px rgba(0,0,0,.03);

  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;

  /* ✅ 上緣金色細條（不用 pseudo-element，不打架） */
  background-image: linear-gradient(90deg,
    rgba(201,170,109,.92),
    rgba(201,170,109,.42),
    rgba(16,24,40,.10)
  );
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: 0 0;
}

/* hover */
.event-files .file-item:hover{
  transform: translateY(-2px);
  border-color: rgba(201,170,109,.28);
  box-shadow:
    0 18px 44px rgba(0,0,0,.085),
    0 6px 18px rgba(0,0,0,.04);
}

/* 左側文字 */
.event-files .file-main{ min-width: 0; }

.event-files .file-title{
  margin: 0 0 10px;
  font-size: 1.10rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(11,18,32,.92);
}

.event-files .file-meta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16,24,40,.04);
  border: 1px solid rgba(16,24,40,.08);
  font-size: .92rem;
  color: rgba(17,24,39,.62);
  line-height: 1.2;
}

.event-files .file-desc{
  margin: 0;
  font-size: .98rem;
  line-height: 1.8;
  color: rgba(17,24,39,.72);
}

/* 右側按鈕區（只管排列，不改 btn） */
.event-files .file-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* hover 時按鈕微亮 */
.event-files .file-item:hover .file-actions{
  filter: saturate(1.05);
}

/* ===============================
   右上：文件類型（data-type）
   用 ::after
================================ */
.event-files .file-item[data-type]::after{
  content: attr(data-type);
  position: absolute;
  top: 14px;
  right: 16px;
  left: auto;
  z-index: 2;

  padding: 6px 12px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;

  background: rgba(255,255,255,.78);
  color: rgba(11,18,32,.75);
  border: 1px solid rgba(17,24,39,.12);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* type 配色 */
.event-files .file-item[data-type="公文"]::after{
  background: rgba(201,170,109,.18);
  border-color: rgba(201,170,109,.35);
}
.event-files .file-item[data-type="會議紀錄"]::after{
  background: rgba(59,130,246,.12);
  border-color: rgba(59,130,246,.28);
}
.event-files .file-item[data-type="開會通知"]::after{
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.28);
}
.event-files .file-item[data-type="邀請函"]::after{
  background: rgba(168,85,247,.12);
  border-color: rgba(168,85,247,.28);
}

/* ===============================
   左上：里程碑（data-milestone）
   用 ::before
================================ */
.event-files .file-item[data-milestone]::before{
  content: attr(data-milestone);
  position: absolute;
  top: 14px;
  left: 16px;
  right: auto;
  z-index: 2;

  padding: 6px 12px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;

  background: rgba(255,255,255,.88);
  border: 1px solid rgba(17,24,39,.14);
  color: rgba(11,18,32,.85);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* milestone 配色 */
.event-files .file-item[data-milestone="已核准"]::before{
  background: rgba(16,185,129,.20);
  border-color: rgba(16,185,129,.40);
  color: rgba(6,95,70,.95);
}
.event-files .file-item[data-milestone="已立案"]::before{
  background: rgba(59,130,246,.20);
  border-color: rgba(59,130,246,.40);
  color: rgba(30,64,175,.95);
}
.event-files .file-item[data-milestone="已完成"]::before{
  background: rgba(201,170,109,.24);
  border-color: rgba(201,170,109,.45);
  color: rgba(120,83,26,.95);
}
.event-files .file-item[data-milestone="進行中"]::before{
  background: rgba(245,158,11,.22);
  border-color: rgba(245,158,11,.42);
  color: rgba(146,64,14,.95);
}

/* 區塊底部 */
.event-files .section-foot{
  margin-top: 34px;
  text-align: center;
}
.event-files .section-note{
  margin: 0;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,24,39,.08);
  color: rgba(17,24,39,.62);
}

/* ===============================
   RWD：平板
================================ */
@media (max-width: 980px){
  .event-files{
    padding: 44px 0 56px;
  }

  .event-files .section-head{
    text-align: left;
  }

  .event-files .file-item{
    grid-template-columns: 1fr;
    padding: 50px 20px 22px;
  }

  .event-files .file-actions{
    justify-content: flex-start;
    margin-top: 10px;
  }
}

/* ===============================
   RWD：手機
================================ */
@media (max-width: 600px){
  .event-files .section-hint{
    border-radius: 14px;
    width: 100%;
  }

  .event-files .file-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .event-files .file-actions .btn{
    width: 100%;
    text-align: center;
  }

  .event-files .file-item[data-milestone]::before{
    top: 10px;
    left: 12px;
    font-size: .8rem;
  }
  .event-files .file-item[data-type]::after{
    top: 10px;
    right: 12px;
    font-size: .8rem;
  }
}


/*---------------------------------------------------------------------------------------------*/
/* ===============================
   event-files｜檢視 / 下載 按鈕設計（不跟標籤長一樣）
   只作用在 .event-files 區塊
================================ */

.event-files .file-actions{
  gap: 12px;
}

/* 讓兩顆按鈕更像「操作」而不是「標籤」 */
.event-files .file-actions .btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;          /* 比標籤大一點，行為感更強 */
  border-radius: 12px;         /* 跟標籤(999px)拉開風格 */
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;

  text-decoration: none;
  border: 1px solid rgba(17,24,39,.16);

  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

/* hover 手感 */
.event-files .file-actions .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
  border-color: rgba(201,170,109,.35);
}

/* === 檢視：輕量（外框＋淡底） === */
.event-files .file-actions .btn.btn-outline{
  background: rgba(255,255,255,.92);
}

/* 檢視 icon（不需要改 HTML） */
.event-files .file-actions .btn.btn-outline::before{
  content: "👁";
  margin-right: 8px;
  font-size: 1rem;
  opacity: .9;
}

/* === 下載：更明確（實心淡金） === */
.event-files .file-actions .btn.btn-ghost{
  background: rgba(201,170,109,.18);
  border-color: rgba(201,170,109,.40);
}

/* 下載 icon（不需要改 HTML） */
.event-files .file-actions .btn.btn-ghost::before{
  content: "⬇";
  margin-right: 8px;
  font-size: 1rem;
  opacity: .95;
}

/* 下載 hover：更有行動感 */
.event-files .file-actions .btn.btn-ghost:hover{
  background: rgba(201,170,109,.26);
  border-color: rgba(201,170,109,.55);
}

/* 手機：維持滿版好按 */
@media (max-width: 600px){
  .event-files .file-actions .btn{
    padding: 12px 14px;
    border-radius: 14px;
  }
}


/* ======================================
   【調色】避免與「下載 PDF」淡金色混淆
   左上：里程碑（狀態色）
   右上：文件類型（冷色系）
====================================== */

/* ===============================
   左上：里程碑（data-milestone）
   → 狀態色（非金色）
================================ */

/* 已核准：穩定綠 */
.event-files .file-item[data-milestone="已核准"]::before{
  background: rgba(16, 185, 129, .18);   /* emerald */
  border-color: rgba(16, 185, 129, .45);
  color: rgb(6, 95, 70);
}

/* 進行中：提示橘 */
.event-files .file-item[data-milestone="進行中"]::before{
  background: rgba(245, 158, 11, .20);   /* amber */
  border-color: rgba(245, 158, 11, .45);
  color: rgb(146, 64, 14);
}

/* 已完成：中性灰（不再用金） */
.event-files .file-item[data-milestone="已完成"]::before{
  background: rgba(148, 163, 184, .22);  /* slate */
  border-color: rgba(148, 163, 184, .45);
  color: rgb(71, 85, 105);
}

/* ===============================
   右上：文件類型（data-type）
   → 冷色系分類，不像 CTA
================================ */

/* 公文：冷藍 */
.event-files .file-item[data-type="公文"]::after{
  background: rgba(59, 130, 246, .14);
  border-color: rgba(59, 130, 246, .35);
  color: rgb(30, 64, 175);
}

/* 會議紀錄：靛藍 */
.event-files .file-item[data-type="會議紀錄"]::after{
  background: rgba(99, 102, 241, .14);
  border-color: rgba(99, 102, 241, .35);
  color: rgb(55, 48, 163);
}

/* 開會通知：青綠 */
.event-files .file-item[data-type="開會通知"]::after{
  background: rgba(20, 184, 166, .16);
  border-color: rgba(20, 184, 166, .40);
  color: rgb(15, 118, 110);
}

/* 邀請函：紫灰（保留正式感） */
.event-files .file-item[data-type="邀請函"]::after{
  background: rgba(168, 85, 247, .14);
  border-color: rgba(168, 85, 247, .35);
  color: rgb(88, 28, 135);
}



/* ===============================
   已核准：綠色 + ✓ 圖示
================================ */



/* ===============================
   進行中：淡淡脈動點
================================ */



/* ===============================
   右上：開會通知（改成青藍色）
   綠色只留給「已核准」
================================ */

.event-files .file-item[data-type="開會通知"]::after{
  background: rgba(14, 165, 233, .14);   /* cyan / sky */
  border-color: rgba(14, 165, 233, .40);
  color: rgb(3, 105, 161);
}


/*---------------------------------------------------------------------------*/
 


.docs-hero{
  width: min(1100px, 100%);
  margin: 24px auto 10px;
  padding: 12px;

  background: #f5f7fa;              /* 淡灰公告底 */
  border: 1px solid #d1d5db;         /* 公文線條感 */
}

.docs-hero img{
  display: block;
  width: 100%;
  height: clamp(200px, 30vw, 420px);
  object-fit: contain;
  background: #fff;                  /* 公文掃描底色 */
}

 



/*------------------------------------------------------*/
/* =========================
   公文與會議文件公開
   ========================= */
.section.event-files{
  position: relative;
  padding: 56px 0 42px;

  /* 淡淡公告底色，不走卡片 */
  background:
    radial-gradient(1200px 260px at 50% 0%,
      rgba(243,235,220,.55),
      rgba(255,255,255,0)
    );
}

/* 標題區整體 */
.section.event-files .section-head{
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* 主標題 */
.section.event-files .section-title{
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: .12em;
  color: #0f172a; /* 深藍黑，公文感 */
}

/* 說明文字 */
.section.event-files .section-sub{
  margin: 0 auto 0px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(15,23,42,.82);
}

/* 提醒說明（提示框感，但不是卡片） */
.section.event-files .section-hint{
  display: inline-block;
  margin-top: 6px;
  padding: 8px 18px;

  font-size: .95rem;
  color: rgba(15,23,42,.7);

  border: 1px dashed rgba(15,23,42,.25);
  background: rgba(255,255,255,.65);
}

/* 手機微調 */
@media (max-width: 768px){
  .section.event-files{
    padding: 42px 0 34px;
  }

  .section.event-files .section-sub{
    font-size: 1rem;
    line-height: 1.85;
  }

  .section.event-files .section-hint{
    font-size: .9rem;
  }
}

.section.event-files .section-title::after{
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 12px auto 0;
  background: #9ca3af;
}

.section.event-files{
  border-top: 1px solid rgba(15,23,42,.15);
}
