/* ========================== */
/* 🎯 最新消息區塊樣式        */
/* ========================== */
#wpsp-2819 .wp-show-posts-single {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}
#wpsp-2819 .wp-show-posts-single:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

#wpsp-2819 .wp-show-posts-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

#wpsp-2819 .wp-show-posts-entry-meta time {
  font-size: 14px;
  color: #ccc;
  background-color: rgba(255,255,255,0.08);
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

.wp-show-posts-updated {
  display: none !important;
}

#wpsp-2819 .wp-show-posts-entry-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#wpsp-2819 .wp-show-posts-entry-title a {
  color: #FFD700 !important;
  text-decoration: none;
}
#wpsp-2819 .wp-show-posts-entry-title a:hover {
  color: #FFA500 !important;
}

#wpsp-2819 .wp-show-posts-entry-header::after {
  content: '➜';
  font-size: 16px;
  color: #fff;
  background-color: #FFD700;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s ease;
}
#wpsp-2819 .wp-show-posts-entry-header:hover::after {
  transform: translateX(5px);
}

.wpsp-load-more {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
}
.wpsp-load-more .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #FFD700;
  color: #FFD700;
  background-color: transparent;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.wpsp-load-more .page-numbers.current {
  background-color: #FFD700;
  color: #000;
  font-weight: bold;
}
.wpsp-load-more .page-numbers:hover {
  background-color: #FFA500;
  color: #000;
}

#wpsp-2819 li::before {
  content: "📰";
  position: absolute;
  left: 0;
}
#wpsp-2819 li {
  list-style: none;
  padding-left: 1.4em;
  position: relative;
}

/* ========================== */
/* 📸 燈箱 Modula 與 Jetpack 圖說 */
/* ========================== */
.jp-carousel-caption {
  font-size: 40px !important;
  font-weight: 600 !important;
  color: #f1f1f1 !important;
  text-align: center;
  margin-top: 16px;
  padding: 0 20px;
  max-width: 80%;
  line-height: 1.4;
}
.jp-carousel-photo-caption p,
.jp-carousel-photo-title {
  font-size: 24px !important;
  color: #ffffff !important;
  text-align: center;
  line-height: 1.5;
  padding: 8px 16px;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 600;
  max-width: 90%;
  margin: 0 auto;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.jp-carousel-caption p {
  font-size: 20px !important;
  color: #dddddd !important;
  padding: 6px 12px;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}
@media (max-width: 768px) {
  .jp-carousel-photo-caption p,
  .jp-carousel-photo-title,
  .jp-carousel-caption p {
    font-size: 16px !important;
    padding: 6px 10px;
  }
}
.modula-lightbox img,
.modula-lightbox__image img,
.modula-lightbox__slide img {
  max-width: 95vw !important;
  max-height: 95vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* ========================== */
/* 📊 TablePress #7 樣式     */
/* ========================== */
#tablepress-7_wrapper .dt-paging nav[aria-label="pagination"] .dt-paging-button,
#tablepress-7_wrapper .dt-paging nav[aria-label="pagination"] .dt-paging-button * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#tablepress-7_wrapper .dt-paging .dt-paging-button {
  background: transparent !important;
  border: 1px solid #999 !important;
  opacity: 1 !important;
}
#tablepress-7_wrapper .dt-paging .dt-paging-button:hover:not(.disabled) {
  color: #ffcc00 !important;
  background: transparent !important;
}
#tablepress-7_wrapper .dt-paging .dt-paging-button.current {
  background: #444 !important;
  border-color: #444 !important;
}
#tablepress-7_wrapper .dt-paging .dt-paging-button.disabled {
  color: #777 !important;
  border-color: #555 !important;
}
#tablepress-7_wrapper .dt-length,
#tablepress-7_wrapper .dt-info,
#tablepress-7_wrapper .dt-search label {
  color: #ffffff !important;
}
#tablepress-7_wrapper .dt-search input {
  color: #ffffff !important;
  background-color: #222222 !important;
  border: 1px solid #555555 !important;
}

######################################

/* ======================== */
/* 🎯 TablePress #8 樣式     */
/* ======================== */
#tablepress-8 {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto 0 0 !important; /* ← 左對齊、右自動 */
  border-collapse: collapse !important;
  background: #000 !important;
  color: #fff !important;
  table-layout: fixed !important;
}

#tablepress-8 caption {
  display: none !important;
}

#tablepress-8 td,
#tablepress-8 th {
  border: 1px solid #fff !important;
  padding: 14px 18px !important;
  text-align: center !important;
  vertical-align: middle !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  height: 60px !important;
  width: 20% !important;
  min-width: 220px !important;
  max-width: 220px !important;
  background: #000 !important;
  color: #fff !important;
}

/* ✅ hover 效果 */
#tablepress-8 tbody tr:hover td {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* 📱 手機版：RWD 雙欄顯示 */
@media screen and (max-width: 768px) {
  #tablepress-8 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 10px 0 !important;
    max-width: 100% !important;
    border: none !important;
    background: #000 !important;
    margin: 0 auto !important;
  }

  #tablepress-8 thead,
  #tablepress-8 tbody,
  #tablepress-8 tr {
    display: contents !important;
  }

  #tablepress-8 td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #000 !important;
    color: #fff !important;
    padding: 12px !important;
    border: 1px solid #fff !important;
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-width: unset !important;
    max-width: unset !important;
  }
}

/* ✅ 讓表格容器向左靠攏，不壓到右邊內容 */
.elementor-element-025b373 {
  max-width: 1100px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-right: 40px !important;
}

/* 只影響桌機版：把整塊表格往左挪一點 */
@media (min-width: 1025px) {
  .elementor-element-025b373 {
    max-width: 1000px !important;   /* 視覺上也收斂一點，避免頂到右側 */
    transform: translateX(-80px);   /* ← 需要更左就改成 -100 / -120px */
    /* 如果被其他東西擠壓，就打開下一行：
    margin-right: auto !important;
    */
  }
}


###################################
/* ========================== */
/* 🎯 最新消息區塊樣式        */
/* ========================== */
#wpsp-2819 .wp-show-posts-single {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}
#wpsp-2819 .wp-show-posts-single:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

#wpsp-2819 .wp-show-posts-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

#wpsp-2819 .wp-show-posts-entry-meta time {
  font-size: 14px;
  color: #ccc;
  background-color: rgba(255,255,255,0.08);
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

.wp-show-posts-updated {
  display: none !important;
}

#wpsp-2819 .wp-show-posts-entry-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#wpsp-2819 .wp-show-posts-entry-title a {
  color: #FFD700 !important;
  text-decoration: none;
}
#wpsp-2819 .wp-show-posts-entry-title a:hover {
  color: #FFA500 !important;
}

#wpsp-2819 .wp-show-posts-entry-header::after {
  content: '➜';
  font-size: 16px;
  color: #fff;
  background-color: #FFD700;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s ease;
}
#wpsp-2819 .wp-show-posts-entry-header:hover::after {
  transform: translateX(5px);
}

.wpsp-load-more {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
}
.wpsp-load-more .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #FFD700;
  color: #FFD700;
  background-color: transparent;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.wpsp-load-more .page-numbers.current {
  background-color: #FFD700;
  color: #000;
  font-weight: bold;
}
.wpsp-load-more .page-numbers:hover {
  background-color: #FFA500;
  color: #000;
}

#wpsp-2819 li::before {
  content: "📰";
  position: absolute;
  left: 0;
}
#wpsp-2819 li {
  list-style: none;
  padding-left: 1.4em;
  position: relative;
}

/* ========================== */
/* 📱 手機版 Link Grid 樣式 */
/* ========================== */
@media (max-width: 768px) {
  .link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-items: center;
    text-align: center;
    padding: 12px 0;
  }

  .link-grid .elementor-widget-container {
    width: 100%;
  }

  .link-grid a {
    white-space: normal;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 每行顯示 3 個 */
    gap: 12px 8px;
    padding: 10px;
    text-align: center;
    justify-items: center;
  }

  .link-grid .elementor-widget-heading {
    width: 100%;
  }

  .link-grid a {
    display: inline-block;
    white-space: normal !important;  /* ✅ 允許換行 */
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
  }
}

@media (max-width: 768px) {
  .elementor-element-be11017 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);  /* ← 想要2欄就改成 repeat(2, 1fr) */
    gap: 12px 8px;
    padding: 0 12px;
    justify-items: center;
    text-align: center;
  }

  .elementor-element-be11017 > .elementor-widget-heading {
    width: 100%;
  }

  .elementor-element-be11017 a {
    white-space: normal !important;
    word-break: break-word;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    line-height: 1.4;
  }
}


#####################################
#8/28
/* === 只針對 TablePress #7 === */
#tablepress-7 {
  background: #111 !important;         /* 全表黑底 */
  color: #fff !important;               /* 全表白字 */
  border: 1px solid #444 !important;
}

/* 標題列（你的 thead 內同時有 th 和 td） */
#tablepress-7 thead th,
#tablepress-7 thead td {
  background: #ffd700 !important;       /* 金色 */
  color: #000 !important;               /* 黑字 */
  font-weight: 700 !important;
  text-align: center !important;
  border-color: #d1b400 !important;
}

/* 內容列 */
#tablepress-7 tbody td {
  background: #111 !important;          /* 預設黑底 */
  color: #fff !important;
  border-color: #333 !important;
}

/* 斑馬紋（偶數列） */
#tablepress-7 tbody tr:nth-child(even) td {
  background: #1a1a1a !important;
}

/* 滑鼠移入高亮 */
#tablepress-7 tbody tr:hover td {
  background: #333 !important;
  color: #ffd700 !important;            /* 文字變金色 */
}

/* 排序小箭頭顏色（DataTables v2） */
#tablepress-7 .dt-column-order { filter: invert(1); }

/* ============== DataTables 控制列（每頁顯示 / 搜尋） ============== */
/* v1 舊類名 + v2 新類名 一起寫，確保通吃 */
#tablepress-7_wrapper .dataTables_length select,
#tablepress-7_wrapper .dataTables_filter input,
#tablepress-7_wrapper .dt-length select,
#tablepress-7_wrapper .dt-search input {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #ffd700 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
}
#tablepress-7_wrapper .dataTables_filter label,
#tablepress-7_wrapper .dt-search label,
#tablepress-7_wrapper .dataTables_length label,
#tablepress-7_wrapper .dt-length label {
  color: #fff !important;
}
#tablepress-7_wrapper .dataTables_filter input:focus,
#tablepress-7_wrapper .dt-search input:focus,
#tablepress-7_wrapper .dataTables_length select:focus,
#tablepress-7_wrapper .dt-length select:focus {
  outline: 2px solid #ffd700 !important;
  outline-offset: 2px;
}


##################################
#8/29
/* ✅ TablePress 表格 #8（桌機版本） */
#tablepress-8,
#tablepress-8-no-2,
.tablepress-id-8 {
  width: 100% !important;
  max-width: 1100px !important; /* 💡這是容器大小，要小於等於畫面寬 */
  margin: 0 auto !important;
  border-collapse: collapse !important;
  table-layout: auto !important; /* ✅ 讓欄位自動適應內容 */
  background-color: #000 !important;
  color: #fff !important;
}

/* ✅ 每個格子統一 padding + 邊框 + 文字 */
#tablepress-8 td,
#tablepress-8 th,
#tablepress-8-no-2 td,
#tablepress-8-no-2 th,
.tablepress-id-8 td,
.tablepress-id-8 th {
  border: 1px solid white !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  background: #000 !important;
  color: #fff !important;
  white-space: normal !important;
  word-break: break-word !important;
  min-width: 200px !important;   /* ✅ 為避免過小 */
  max-width: 240px !important;   /* ✅ 為避免過寬 */
}

/* ✅ hover 效果 */
#tablepress-8 tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* ✅ 手機版：雙欄排列 */
@media screen and (max-width: 768px) {
  #tablepress-8,
  #tablepress-8-no-2,
  .tablepress-id-8 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
    background-color: #000 !important;
    width: 100% !important;
  }

  #tablepress-8 tr,
  #tablepress-8-no-2 tr,
  .tablepress-id-8 tr {
    display: contents !important;
  }

  #tablepress-8 td,
  #tablepress-8-no-2 td,
  .tablepress-id-8 td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px !important;
    border: 1px solid #fff !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* ✅ 隱藏 caption 編輯連結 */
#tablepress-8 caption,
#tablepress-8-no-2 caption {
  display: none !important;
}


/***** =============================== *****
 * TablePress #7（含變體）— 本體樣式
 ***** =============================== *****/
table[id^="tablepress-7"] {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  width: 100% !important;
}
table[id^="tablepress-7"] thead th,
table[id^="tablepress-7"] thead td {
  background: #ffd700 !important;
	/* 金底 */
  color: #000 !important;         /* 白字（你指定的） */
  font-weight: 700 !important;
  text-align: center !important;
  border-color: #d1b400 !important;
}
table[id^="tablepress-7"] tbody td {
  background: #111 !important;
  color: #fff !important;
  border-color: #333 !important;
}
table[id^="tablepress-7"] tbody tr:nth-child(even) td { background: #1a1a1a !important; }
table[id^="tablepress-7"] tbody tr:hover td { background: #333 !important; color: #ffd700 !important; }
table[id^="tablepress-7"] .dt-column-order { filter: invert(1); }

/* #7 控制列（搜尋/每頁/分頁/資訊） */
#tablepress-7_wrapper .dataTables_length label,
#tablepress-7_wrapper .dataTables_filter label,
#tablepress-7_wrapper .dt-length label,
#tablepress-7_wrapper .dt-search label,
#tablepress-7_wrapper .dt-info,
#tablepress-7_wrapper .dataTables_info { color: #fff !important; }

#tablepress-7_wrapper .dataTables_length select,
#tablepress-7_wrapper .dataTables_filter input,
#tablepress-7_wrapper .dt-length select,
#tablepress-7_wrapper .dt-search input {
  background: #111 !important; color: #fff !important; border: 1px solid #ffd700 !important;
  border-radius: 6px !important; padding: 6px 10px !important;
}
#tablepress-7_wrapper .dataTables_filter input:focus,
#tablepress-7_wrapper .dt-search input:focus,
#tablepress-7_wrapper .dataTables_length select:focus,
#tablepress-7_wrapper .dt-length select:focus { outline: 2px solid #ffd700 !important; outline-offset: 2px; }

/* #7 分頁按鈕 */
#tablepress-7_wrapper .dt-paging .dt-paging-button { background: transparent !important; border: 1px solid #999 !important; color:#fff !important; }
#tablepress-7_wrapper .dt-paging .dt-paging-button:hover:not(.disabled) { color:#ffcc00 !important; background:transparent !important; }
#tablepress-7_wrapper .dt-paging .dt-paging-button.current { background:#444 !important; border-color:#444 !important; }
#tablepress-7_wrapper .dt-paging .dt-paging-button.disabled { color:#777 !important; border-color:#555 !important; }
/***** =============================== *****
 * TablePress #11（含變體）
 ***** =============================== *****/
table[id^="tablepress-11"] {
  background:#111 !important; color:#fff !important; border:1px solid #444 !important; width:100% !important;
}
table[id^="tablepress-11"] thead th,
table[id^="tablepress-11"] thead td {
  background:#ffd700 !important;
	color:#000 !important;
	font-weight:700 !important;
	text-align:center !important;
	border-color:#d1b400 !important;
}
table[id^="tablepress-11"] tbody td { background:#111 !important; color:#fff !important; border-color:#333 !important; }
table[id^="tablepress-11"] tbody tr:nth-child(even) td { background:#1a1a1a !important; }
table[id^="tablepress-11"] tbody tr:hover td { background:#333 !important; color:#ffd700 !important; }
table[id^="tablepress-11"] .dt-column-order { filter: invert(1); }

/* #11 控制列 */
#tablepress-11_wrapper .dataTables_length label,
#tablepress-11_wrapper .dataTables_filter label,
#tablepress-11_wrapper .dt-length label,
#tablepress-11_wrapper .dt-search label,
#tablepress-11_wrapper .dt-info,
#tablepress-11_wrapper .dataTables_info { color:#fff !important; }
#tablepress-11_wrapper .dataTables_length select,
#tablepress-11_wrapper .dataTables_filter input,
#tablepress-11_wrapper .dt-length select,
#tablepress-11_wrapper .dt-search input {
  background:#111 !important; color:#fff !important; border:1px solid #ffd700 !important; border-radius:6px !important; padding:6px 10px !important;
}
#tablepress-11_wrapper .dataTables_filter input:focus,
#tablepress-11_wrapper .dt-search input:focus,
#tablepress-11_wrapper .dataTables_length select:focus,
#tablepress-11_wrapper .dt-length select:focus { outline:2px solid #ffd700 !important; outline-offset:2px; }
#tablepress-11_wrapper .dt-paging .dt-paging-button { background:transparent !important; border:1px solid #999 !important; color:#fff !important; }
#tablepress-11_wrapper .dt-paging .dt-paging-button:hover:not(.disabled){ color:#ffcc00 !important; background:transparent !important; }
#tablepress-11_wrapper .dt-paging .dt-paging-button.current{ background:#444 !important; border-color:#444 !important; }
#tablepress-11_wrapper .dt-paging .dt-paging-button.disabled{ color:#777 !important; border-color:#555 !important; }

/***** =============================== *****
 * TablePress #12（含變體）
 ***** =============================== *****/
table[id^="tablepress-12"] {
  background:#111 !important; color:#fff !important; border:1px solid #444 !important; width:100% !important;
}
table[id^="tablepress-12"] thead th,
table[id^="tablepress-12"] thead td {
  background:#ffd700 !important;
	color:#000 !important;
	font-weight:700 !important;
	text-align:center !important;
	border-color:#d1b400 !important;
}
table[id^="tablepress-12"] tbody td { background:#111 !important; color:#fff !important; border-color:#333 !important; }
table[id^="tablepress-12"] tbody tr:nth-child(even) td { background:#1a1a1a !important; }
table[id^="tablepress-12"] tbody tr:hover td { background:#333 !important; color:#ffd700 !important; }
table[id^="tablepress-12"] .dt-column-order { filter: invert(1); }

/* #12 控制列 */
#tablepress-12_wrapper .dataTables_length label,
#tablepress-12_wrapper .dataTables_filter label,
#tablepress-12_wrapper .dt-length label,
#tablepress-12_wrapper .dt-search label,
#tablepress-12_wrapper .dt-info,
#tablepress-12_wrapper .dataTables_info { color:#fff !important; }
#tablepress-12_wrapper .dataTables_length select,
#tablepress-12_wrapper .dataTables_filter input,
#tablepress-12_wrapper .dt-length select,
#tablepress-12_wrapper .dt-search input {
  background:#111 !important; color:#fff !important; border:1px solid #ffd700 !important; border-radius:6px !important; padding:6px 10px !important;
}
#tablepress-12_wrapper .dataTables_filter input:focus,
#tablepress-12_wrapper .dt-search input:focus,
#tablepress-12_wrapper .dataTables_length select:focus,
#tablepress-12_wrapper .dt-length select:focus { outline:2px solid #ffd700 !important; outline-offset:2px; }
#tablepress-12_wrapper .dt-paging .dt-paging-button { background:transparent !important; border:1px solid #999 !important; color:#fff !important; }
#tablepress-12_wrapper .dt-paging .dt-paging-button:hover:not(.disabled){ color:#ffcc00 !important; background:transparent !important; }
#tablepress-12_wrapper .dt-paging .dt-paging-button.current{ background:#444 !important; border-color:#444 !important; }
#tablepress-12_wrapper .dt-paging .dt-paging-button.disabled{ color:#777 !important; border-color:#555 !important; }

/* =============== TablePress #10：本體（用 class 最穩） =============== */
.tablepress-id-13 {
  background:#111 !important;
  color:#fff !important;
  border:1px solid #444 !important;
  width:100% !important;
}
.tablepress-id-13 thead th,
.tablepress-id-13 thead td{
  background:#ffd700 !important;/* 金底 */
  color:#000 !important;/* 白字 */
  font-weight:700 !important;
  text-align:center !important;
  border-color:#d1b400 !important;
}
.tablepress-id-13 tbody td{ background:#111 !important; color:#fff !important; border-color:#333 !important; }
.tablepress-id-13 tbody tr:nth-child(even) td{ background:#1a1a1a !important; }
.tablepress-id-13 tbody tr:hover td{ background:#333 !important; color:#ffd700 !important; }
.tablepress-id-13 .dt-column-order{ filter: invert(1); }

/* =============== TablePress #13：控制列（任何 wrapper 變體都抓得到） =============== */
/* wrapper 的 id 會長 tablepress-13-xxx_wrapper，所以用「包含 13」+「尾巴是 _wrapper」 */
[id*="tablepress-13"][id$="_wrapper"] .dataTables_length label,
[id*="tablepress-13"][id$="_wrapper"] .dataTables_filter label,
[id*="tablepress-13"][id$="_wrapper"] .dt-length label,
[id*="tablepress-13"][id$="_wrapper"] .dt-search label,
[id*="tablepress-13"][id$="_wrapper"] .dataTables_info,
[id*="tablepress-13"][id$="_wrapper"] .dt-info{
  color:#fff !important;
}

[id*="tablepress-13"][id$="_wrapper"] .dataTables_length select,
[id*="tablepress-13"][id$="_wrapper"] .dataTables_filter input,
[id*="tablepress-13"][id$="_wrapper"] .dt-length select,
[id*="tablepress-13"][id$="_wrapper"] .dt-search input{
  background:#111 !important;
  color:#fff !important;
  border:1px solid #ffd700 !important;
  border-radius:6px !important;
  padding:6px 10px !important;
}

[id*="tablepress-13"][id$="_wrapper"] .dataTables_filter input:focus,
[id*="tablepress-13"][id$="_wrapper"] .dt-search input:focus,
[id*="tablepress-13"][id$="_wrapper"] .dataTables_length select:focus,
[id*="tablepress-13"][id$="_wrapper"] .dt-length select:focus{
  outline:2px solid #ffd700 !important;
  outline-offset:2px;
}

[id*="tablepress-13"][id$="_wrapper"] .dt-paging .dt-paging-button{
  background:transparent !important;
  border:1px solid #999 !important;
  color:#fff !important;
}
[id*="tablepress-13"][id$="_wrapper"] .dt-paging .dt-paging-button:hover:not(.disabled){
  color:#ffcc00 !important;
  background:transparent !important;
}
[id*="tablepress-13"][id$="_wrapper"] .dt-paging .dt-paging-button.current{ background:#444 !important; border-color:#444 !important; }
[id*="tablepress-13"][id$="_wrapper"] .dt-paging .dt-paging-button.disabled{ color:#777 !important; border-color:#555 !important; }

/* === TablePress 7 / 11 / 12：控制列通殺（支援 v1/v2，含 -no-2 變體） === */
[id*="tablepress-7"][id$="_wrapper"],
[id*="tablepress-11"][id$="_wrapper"],
[id*="tablepress-12"][id$="_wrapper"] { /* 只是集合，不需樣式 */ }

/* 標籤字：每頁顯示 / 搜尋 */
[id*="tablepress-7"][id$="_wrapper"] .dataTables_length label,
[id*="tablepress-7"][id$="_wrapper"] .dataTables_filter label,
[id*="tablepress-7"][id$="_wrapper"] .dt-length label,
[id*="tablepress-7"][id$="_wrapper"] .dt-search label,
[id*="tablepress-11"][id$="_wrapper"] .dataTables_length label,
[id*="tablepress-11"][id$="_wrapper"] .dataTables_filter label,
[id*="tablepress-11"][id$="_wrapper"] .dt-length label,
[id*="tablepress-11"][id$="_wrapper"] .dt-search label,
[id*="tablepress-12"][id$="_wrapper"] .dataTables_length label,
[id*="tablepress-12"][id$="_wrapper"] .dataTables_filter label,
[id*="tablepress-12"][id$="_wrapper"] .dt-length label,
[id*="tablepress-12"][id$="_wrapper"] .dt-search label {
  color: #fff !important;
}

/* 下拉選單 & 搜尋框 */
[id*="tablepress-7"][id$="_wrapper"] .dataTables_length select,
[id*="tablepress-7"][id$="_wrapper"] .dt-length select,
[id*="tablepress-7"][id$="_wrapper"] .dataTables_filter input,
[id*="tablepress-7"][id$="_wrapper"] .dt-search input,
[id*="tablepress-11"][id$="_wrapper"] .dataTables_length select,
[id*="tablepress-11"][id$="_wrapper"] .dt-length select,
[id*="tablepress-11"][id$="_wrapper"] .dataTables_filter input,
[id*="tablepress-11"][id$="_wrapper"] .dt-search input,
[id*="tablepress-12"][id$="_wrapper"] .dataTables_length select,
[id*="tablepress-12"][id$="_wrapper"] .dt-length select,
[id*="tablepress-12"][id$="_wrapper"] .dataTables_filter input,
[id*="tablepress-12"][id$="_wrapper"] .dt-search input {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #FFD700 !important; /* 黃框 */
  border-radius: 6px !important;
  padding: 6px 10px !important;
}

/* 聚焦效果 */
[id*="tablepress-7"][id$="_wrapper"] .dataTables_length select:focus,
[id*="tablepress-7"][id$="_wrapper"] .dt-length select:focus,
[id*="tablepress-7"][id$="_wrapper"] .dataTables_filter input:focus,
[id*="tablepress-7"][id$="_wrapper"] .dt-search input:focus,
[id*="tablepress-11"][id$="_wrapper"] .dataTables_length select:focus,
[id*="tablepress-11"][id$="_wrapper"] .dt-length select:focus,
[id*="tablepress-11"][id$="_wrapper"] .dataTables_filter input:focus,
[id*="tablepress-11"][id$="_wrapper"] .dt-search input:focus,
[id*="tablepress-12"][id$="_wrapper"] .dataTables_length select:focus,
[id*="tablepress-12"][id$="_wrapper"] .dt-length select:focus,
[id*="tablepress-12"][id$="_wrapper"] .dataTables_filter input:focus,
[id*="tablepress-12"][id$="_wrapper"] .dt-search input:focus {
  outline: 2px solid #FFD700 !important;
  outline-offset: 2px;
}

/* 分頁按鈕 */
[id*="tablepress-7"][id$="_wrapper"] .dt-paging .dt-paging-button,
[id*="tablepress-11"][id$="_wrapper"] .dt-paging .dt-paging-button,
[id*="tablepress-12"][id$="_wrapper"] .dt-paging .dt-paging-button {
  background: transparent !important;
  border: 1px solid #999 !important;
  color: #fff !important;
}
[id*="tablepress-7"][id$="_wrapper"] .dt-paging .dt-paging-button:hover:not(.disabled),
[id*="tablepress-11"][id$="_wrapper"] .dt-paging .dt-paging-button:hover:not(.disabled),
[id*="tablepress-12"][id$="_wrapper"] .dt-paging .dt-paging-button:hover:not(.disabled) {
  color: #ffcc00 !important;
  background: transparent !important;
}
[id*="tablepress-7"][id$="_wrapper"] .dt-paging .dt-paging-button.current,
[id*="tablepress-11"][id$="_wrapper"] .dt-paging .dt-paging-button.current,
[id*="tablepress-12"][id$="_wrapper"] .dt-paging .dt-paging-button.current {
  background: #444 !important;
  border-color: #444 !important;
}
[id*="tablepress-7"][id$="_wrapper"] .dt-paging .dt-paging-button.disabled,
[id*="tablepress-11"][id$="_wrapper"] .dt-paging .dt-paging-button.disabled,
[id*="tablepress-12"][id$="_wrapper"] .dt-paging .dt-paging-button.disabled {
  color: #777 !important;
  border-color: #555 !important;
}



#####################################
#9/5
html, body {
  overflow-x: hidden;
  width: 100%;
}


#####################################
#9/8
.wsp-container {
  background-color: #111 !important; /* 背景變深灰，可改成 red 測試 */
  color: #fff !important; /* 全部字變白 */
}

.wsp-container a {
  color: #fff !important; /* 所有連結也變白 */
}

.wsp-container h2 {
  color: #fff !important; /* 分類標題變白 */
}

html, body {
  overflow-x: hidden;   /* 禁止水平捲動 */
  width: 100%;          /* 確保不會超出 */
}