/* ============================================================================
 *  SUMKEN ui-enhance.css — 章節目錄
 * ----------------------------------------------------------------------------
 *  本檔 8500+ 行為刻意合併方便部署（拆檔會影響 CSS 優先級與載入順序）。
 *  維護方式：下方目錄可用 Ctrl+F 搜尋「【xxx】」快速跳轉。
 *
 *  【1. 基礎層】
 *    L22  無障礙（a11y）           |  L105 Header 強化          |  L141 Hero
 *    L200 區塊標題                 |  L443 字體層級             |  L462 背景層次
 *    L470 表單輸入框               |  L589 Checkbox/Radio       |  L615 數字動畫
 *    L631 骨架屏                   |  L656 Toast                |  L680 Selection
 *
 *  【2. 導覽 / Footer】
 *    L308 Sidebar/分類             |  L322 Footer 升級          |  L353 手機底部導航
 *    L690 Footer 精修              |  L3480 Footer 電子報訂閱   |  L3615 搜尋面板
 *    L8485 語系切換按鈕
 *
 *  【3. 表單組件】
 *    L513 登入/註冊                |  L1653 auth 雙欄卡         |  L1908 註冊選擇卡
 *    L2063 產業 chip               |  L2112 單欄 auth 卡        |  L7440 HR 註冊
 *    L8500 sk-dz 拖曳上傳（新）
 *
 *  【4. 前台頁面】
 *    L1040 首頁 banner             |  L1083 新課上架橫條        |  L1187 活動 event-card
 *    L1264 找不到主題 sidebar      |  L1433 courseTopic 80%     |  L1491 coursePackage 篩選
 *    L1567 courseTopic 篩選        |  L2281 文章詳情頁          |  L2559 聯絡我們
 *    L2775 課程詳情頁              |  L3086 隱私權聲明          |  L3181 Cookie banner
 *    L3244 統編查詢                |  L3843 最新消息列表        |  L4076 最新消息詳情
 *    L4201 文章列表                |  L4508 公開課程列表        |  L4852 關於我們
 *    L5236 會員中心                |  L5710 搜尋結果            |  L5798 報名/訂單
 *    L5987 包班主題詳情            |  L7219 中日翻譯服務        |  L7686 aboutUs 擴充
 *    L7937 同意條款                |  L8050 aboutUs Hero 兩欄   |  L8127 隱私 TOC
 *    L8229 profile 進階            |  L8378 專家講師頁          |  L8460 主題註冊 CTA
 *    L8481 AdSense 容器
 *
 *  【5. 響應式 (RWD)】
 *    L433 平板                     |  L660 手機 Phase 2         |  L1021 手機 Phase 3
 *    L6558 390px 手機細修          |  L7200 全站 80% 滿版       |  L8526 ≤430px 極小螢幕
 *
 *  【6. 功能組件】
 *    L282 按鈕                     |  L604 連結+互動            |  L623 分隔線
 *    L648 圖片                     |  L912 Preloader            |  L921 頁面過渡
 *    L930 標籤 Badge               |  L940 表格                 |  L974 Tooltip
 *    L977 分頁器                   |  L998 Alert                |  L1008 空狀態
 *    L1033 列印                    |  L3301 AJAX loading        |  L3322 分頁元件
 *    L3376 課程 tags               |  L3401 section banner      |  L5099 系統訊息
 *    L6340 分享卡                  |  L6740 文章 Hero           |  L7051 文章側欄
 *    L8540 深色模式（預備）
 *
 *  修改建議：
 *   - 新增「頁面級」樣式 → 放在【4. 前台頁面】最後並補上目錄行
 *   - 新增「共用組件」  → 放在【6. 功能組件】最後
 *   - 新增 RWD 斷點     → 放在【5. RWD】的 L8526 附近
 *   - 避免跨章節改動已存在選擇器，以免其他頁面連帶破版
 * ============================================================================
 */
:root {
  --sk-primary: #2E7D32;
  --sk-primary-dark: #1B5E20;
  --sk-primary-light: #4CAF50;
  --sk-accent: #00897B;
  --sk-bg-soft: #F8FAF8;
  --sk-bg-card: #FFFFFF;
  --sk-text: #1A1A2E;
  --sk-text-muted: #5A6A7A;
  --sk-border: #E8ECE8;
  --sk-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sk-shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --sk-shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --sk-radius: 12px;
  --sk-radius-lg: 20px;
  --sk-transition: .3s cubic-bezier(.4,0,.2,1);
  --sk-bottom-nav-h: 64px;
}

* { -webkit-tap-highlight-color: transparent; }

/* ========== 無障礙（a11y）強化 ========== */
.sk-skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  padding: 10px 16px;
  background: var(--sk-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  text-decoration: none;
  transition: top .2s;
}
.sk-skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
main:focus { outline: none; }

/* 鍵盤使用者 focus ring 統一強化（滑鼠使用者不受影響） */
:focus-visible {
  outline: 3px solid var(--sk-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sk-primary);
  outline-offset: 2px;
}
/* 需要移除的（避免跟自訂 focus ring 重複） */
.sk-search-input:focus-visible,
.sk-topic-search input:focus-visible,
.sk-find-field input:focus-visible,
.sk-find-field select:focus-visible,
.sk-find-field textarea:focus-visible {
  outline: none;
}

/* 讓 .edu-btn 依 padding 決定尺寸，避免 inline padding 被預設 height:55px 拉大 */
a.edu-btn,
button.edu-btn,
.edu-btn {
  height: auto !important;
  line-height: 1.4 !important;
  padding: 14px 28px;
  text-align: center;
}
.edu-btn.w-100 { padding-left: 0; padding-right: 0; }

/* login/register/forgot/reset/chgEmail 頁的送出按鈕 — 修正文字置中 */
.sing-buttom button,
.sing-button button,
.sign-button .sign-btn,
.sing-btn,
.sign-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100%;
  padding: 14px 20px;
  height: auto !important;
  line-height: 1.4 !important;
  border: none;
}

body {
  color: var(--sk-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
  body { padding-bottom: var(--sk-bottom-nav-h); }
}

/* ========== HEADER 強化 ========== */
.sticky-header {
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255,255,255,.88) !important;
  border-bottom: 1px solid var(--sk-border);
  transition: box-shadow var(--sk-transition);
}
.sticky-header.sticky { box-shadow: var(--sk-shadow-sm); }

.header-logo img { height: 42px; transition: transform var(--sk-transition); }
.header-logo img:hover { transform: scale(1.04); }

.main-menu ul li a {
  font-weight: 500;
  letter-spacing: .02em;
  transition: color var(--sk-transition);
  position: relative;
}
.main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sk-primary);
  border-radius: 1px;
  transition: width var(--sk-transition), left var(--sk-transition);
}
.main-menu ul li a:hover::after,
.main-menu ul li.active a::after {
  width: 60%;
  left: 20%;
}

/* ========== HERO 升級 ========== */
.hero-arera,
.slider-area,
.carousel-container {
  position: relative;
  overflow: hidden;
}
.hero-arera::before,
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,.75) 0%, rgba(0,137,123,.5) 50%, rgba(0,0,0,.3) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-arera .container,
.carousel-container .hero-university-card { position: relative; z-index: 2; }
.carousel-slide .slide-content { z-index: 2; }

.course-item-height {
  background: linear-gradient(135deg, var(--sk-primary-dark) 0%, var(--sk-accent) 100%) !important;
}
.course-item-height::before { display: none; }
.course-item-height h2 { color: #fff !important; }
.course-item-height .breadcrumb-item,
.course-item-height .breadcrumb-item a,
.course-item-height .breadcrumb-item span { color: rgba(255,255,255,.8) !important; }
.course-item-height .breadcrumb-item.active span { color: #fff !important; }

.carousel-slide .slide-content h2,
.carousel-slide .slide-content p,
.hero-arera h2 {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

@keyframes sk-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.carousel-slide.active .slide-content h2,
.carousel-slide.active .slide-content p {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .carousel-slide.active .slide-content h2 {
    animation: sk-fadeUp .8s ease forwards;
  }
  .carousel-slide.active .slide-content p {
    animation: sk-fadeUp .8s .15s ease forwards;
  }
}

.hero-university-card {
  position: relative;
  z-index: 3;
}

/* ========== 區塊標題 ========== */
.section-title h2,
h4.fw-bold,
.category-item h2 {
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ========== 服務卡片（首頁主題包班/翻譯）========== */
.categori-course-item {
  background: var(--sk-bg-card);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius-lg);
  padding: 32px 28px;
  transition: transform var(--sk-transition), box-shadow var(--sk-transition);
  box-shadow: var(--sk-shadow-sm);
}
.categori-course-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--sk-shadow-lg);
  border-color: var(--sk-primary-light);
}

/* ========== 課程列表卡片化 ========== */
.course-wrapper,
.sidebar-widget,
.course-sidebar-widget {
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius);
  border: 1px solid var(--sk-border);
  box-shadow: var(--sk-shadow-sm);
  overflow: hidden;
}

.event-detalis {
  background: var(--sk-bg-card);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius);
  padding: 20px 24px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--sk-shadow-sm);
  transition: transform var(--sk-transition), box-shadow var(--sk-transition), border-color var(--sk-transition);
}
.event-detalis:hover {
  transform: translateX(6px);
  box-shadow: var(--sk-shadow-md);
  border-color: var(--sk-primary-light);
}
.event-detalis a {
  font-weight: 600;
  color: var(--sk-text);
  transition: color var(--sk-transition);
}
.event-detalis:hover a {
  color: var(--sk-primary) !important;
}

.course-sidebar-widget {
  padding: 24px;
  margin-bottom: 20px;
}
.course-sidebar-widget h3,
.course-sidebar-info h3 {
  font-weight: 700;
  font-size: 1.15rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sk-primary);
  display: inline-block;
  margin-bottom: 16px;
}

/* 課程標籤 */
.course-tag,
.course-wrapper .badge,
.course-wrapper span[class*="badge"] {
  border-radius: 6px;
  font-weight: 500;
  font-size: .75rem;
  padding: 4px 10px;
  letter-spacing: .02em;
}

/* ========== 按鈕升級 ========== */
.tp-btn,
.e-btn,
.user-btn-sign-up,
a.e-btn,
button.e-btn {
  border-radius: 8px !important;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--sk-transition);
  box-shadow: 0 2px 8px rgba(46,125,50,.2);
  position: relative;
  overflow: hidden;
}
.tp-btn:hover,
.e-btn:hover,
.user-btn-sign-up:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,.3);
}
.tp-btn:active,
.e-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(46,125,50,.2);
}

/* ========== Sidebar / 分類 ========== */
.sidebar-widget {
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-widget .sidebar-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sk-primary);
  display: inline-block;
}

/* ========== Footer 升級 ========== */
.footer-area {
  background: linear-gradient(180deg, #1A2A1A 0%, #0D1A0D 100%) !important;
}
.footer-area .footer-widget .footer-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.footer-area .footer-widget .footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--sk-primary-light);
  border-radius: 1px;
}

/* ========== 滾動淡入 ========== */
.sk-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.sk-reveal.sk-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 手機版底部導航列 ========== */
.sk-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  .sk-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--sk-bottom-nav-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--sk-border);
    z-index: 9999;
    padding: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  }
  .sk-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--sk-text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: color var(--sk-transition);
    position: relative;
    padding: 8px 0;
  }
  .sk-bottom-nav a i {
    font-size: 20px;
    transition: transform var(--sk-transition);
  }
  .sk-bottom-nav a.active,
  .sk-bottom-nav a:hover {
    color: var(--sk-primary);
  }
  .sk-bottom-nav a.active i {
    transform: scale(1.1);
  }
  .sk-bottom-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--sk-primary);
    border-radius: 0 0 2px 2px;
    transition: transform var(--sk-transition);
  }
  .sk-bottom-nav a.active::before {
    transform: translateX(-50%) scaleX(1);
  }

  /* 手機版 Hero 文字調整 */
  .slider-area .slider-content h2,
  .hero-arera h2 {
    font-size: 1.6rem !important;
    line-height: 1.4;
  }

  /* 手機版 back-to-top 往上移避開底部導航 */
  .progress-wrap {
    bottom: calc(var(--sk-bottom-nav-h) + 16px) !important;
  }

  /* 手機版 sticky header 更緊湊 */
  .sticky-header .header-main-wrapper { padding: 8px 0; }
  .header-logo img { height: 36px; }
}

/* ========== 平板優化 ========== */
@media (min-width: 768px) and (max-width: 1199px) {
  .course-main-wrapper .course-wrapper { padding: 18px 20px; }
  .categori-course-item { padding: 24px 20px; }
}

/* ================================================================
   PHASE 2 — 字體層級 + 登入/表單升級 + 微互動
   ================================================================ */

/* ========== 字體層級系統 ========== */
h1, .h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--sk-text); }
h2, .h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
h3, .h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.4; }
h4, .h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
h5, .h5 { font-size: 1rem; font-weight: 600; }
h6, .h6 { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--sk-text-muted); }

p, .body-text { line-height: 1.75; color: var(--sk-text-muted); }

.sk-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--sk-primary);
  margin-bottom: 4px;
}

/* ========== 全站背景層次 ========== */
.course-content-area,
.contact-area,
.signup-area,
.login-area {
  background: var(--sk-bg-soft);
}

/* ========== 表單輸入框升級 ========== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
textarea,
select,
.form-control,
.nice-select {
  border: 1.5px solid var(--sk-border) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: .95rem !important;
  background: #fff !important;
  transition: border-color var(--sk-transition), box-shadow var(--sk-transition) !important;
  -webkit-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: var(--sk-primary) !important;
  box-shadow: 0 0 0 3px rgba(46,125,50,.12) !important;
  outline: none !important;
}
input::placeholder,
textarea::placeholder {
  color: #B0B8C0 !important;
  font-weight: 400;
}

label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--sk-text);
  margin-bottom: 6px;
}

/* ========== 登入/註冊頁面升級 ========== */
.signup-page-area,
.login-area-start {
  padding: 60px 0;
}

.signup-form-wrapper {
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius-lg);
  box-shadow: var(--sk-shadow-lg);
  padding: 48px 40px;
  border: 1px solid var(--sk-border);
}

.signup-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.signup-wrapper h4,
.signup-box h4,
.signup-form-wrapper h4 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.signup-action a {
  color: var(--sk-primary);
  font-weight: 600;
  transition: color var(--sk-transition);
}
.signup-action a:hover {
  color: var(--sk-primary-dark);
  text-decoration: underline;
}

.signup-wrapper .e-btn,
.signup-box .e-btn,
.login-area-start .e-btn {
  width: 100%;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
  margin-top: 8px;
}

.signup-wrapper img,
.signup-box-l img {
  border-radius: var(--sk-radius-lg);
  object-fit: contain;
}

/* ========== 聯絡頁面升級 ========== */
.contact-form-wrapper {
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius-lg);
  box-shadow: var(--sk-shadow-md);
  padding: 40px 36px;
  border: 1px solid var(--sk-border);
}

.contact-info-wrapper {
  background: linear-gradient(135deg, var(--sk-primary-dark), var(--sk-accent));
  border-radius: var(--sk-radius-lg);
  padding: 40px 32px;
  color: #fff;
}
.contact-info-wrapper h3 { color: #fff; }
.contact-info-wrapper p,
.contact-info-wrapper a { color: rgba(255,255,255,.85); }
.contact-info-wrapper a:hover { color: #fff; }

/* ========== Checkbox / Radio 美化 ========== */
input[type="checkbox"],
.signup-checkbo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--sk-border);
  accent-color: var(--sk-primary);
  cursor: pointer;
  transition: all var(--sk-transition);
}
input[type="checkbox"]:checked {
  border-color: var(--sk-primary);
}

/* ========== 連結+互動升級 ========== */
a {
  transition: color var(--sk-transition);
}

.breadcrumb-item a {
  color: rgba(255,255,255,.7);
  transition: color var(--sk-transition);
}
.breadcrumb-item a:hover { color: #fff; }

/* ========== 數字動畫計數器（預備）========== */
.sk-counter {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sk-primary);
  font-variant-numeric: tabular-nums;
}

/* ========== 分隔線升級 ========== */
hr {
  border: none;
  height: 1px;
  background: var(--sk-border);
  margin: 24px 0;
}

/* ========== 載入骨架屏（預備）========== */
.sk-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes sk-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== 頁面間 Section 間距 ========== */
section, .section-area { margin-bottom: 0; }
.pt-100 { padding-top: 80px !important; }
.pb-100 { padding-bottom: 80px !important; }

/* ========== 圖片優化 ========== */
img { max-width: 100%; height: auto; }
.about-img img,
.signup-box-l img {
  border-radius: var(--sk-radius-lg);
  box-shadow: var(--sk-shadow-md);
}

/* ========== Toast 通知升級 ========== */
.toast-success { background: var(--sk-primary) !important; border-radius: 10px !important; }
.toast-error { border-radius: 10px !important; }

/* ========== 手機版 Phase 2 補強 ========== */
@media (max-width: 767px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.4rem; }
  h3, .h3 { font-size: 1.15rem; }

  .signup-wrapper,
  .signup-box {
    padding: 28px 20px;
    margin: 0 8px;
  }

  .contact-form-wrapper { padding: 24px 16px; }

  .course-item-height h2 { font-size: 1.5rem !important; }
}

/* ========== 平滑滾動 ========== */
html { scroll-behavior: smooth; }

/* ========== Selection 選取色 ========== */
::selection {
  background: rgba(46,125,50,.15);
  color: var(--sk-primary-dark);
}

/* ================================================================
   PHASE 3 — Footer精修 + 文章/課程詳情 + 載入體驗 + 最終打磨
   ================================================================ */

/* ========== Footer 精修 ========== */
.university-footer-area {
  background: linear-gradient(180deg, #1A2A1A 0%, #0D1A0D 100%) !important;
  padding-top: 64px !important;
  padding-bottom: 32px !important;
}
.university-footer-widget-title,
.footer-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff !important;
  position: relative;
  padding-bottom: 12px;
}
.university-footer-widget-title::after,
.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--sk-primary-light);
  border-radius: 1px;
}
.university-footer-widget-body p {
  color: rgba(255,255,255,.65) !important;
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 4px !important;
}
.university-footer-link ul {
  list-style: none !important;
  padding: 0 !important;
}
.university-footer-link ul li {
  list-style: none !important;
  margin-bottom: 10px;
}
.university-footer-link ul li a {
  color: rgba(255,255,255,.65) !important;
  font-size: .9rem;
  transition: color var(--sk-transition), padding-left var(--sk-transition);
}
.university-footer-link ul li a:hover {
  color: var(--sk-primary-light) !important;
  padding-left: 6px;
}
.university-footer-subscribe .form-control {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
}
.university-footer-subscribe .form-control:focus {
  border-color: var(--sk-primary-light) !important;
  box-shadow: 0 0 0 3px rgba(76,175,80,.15) !important;
}
.copyright-area {
  border-top: 1px solid rgba(255,255,255,.08) !important;
  margin-top: 24px;
  padding-top: 20px !important;
}
.copyright-area span { color: rgba(255,255,255,.45) !important; font-size: .85rem; }

.footer-logo img {
  height: 40px;
  opacity: .85;
  transition: opacity var(--sk-transition);
}
.footer-logo img:hover { opacity: 1; }

/* ========== About 頁面 ========== */
.about-area { background: var(--sk-bg-soft); }
.about-content h2 { color: var(--sk-primary-dark); }
.about-content li,
.about-content p {
  line-height: 1.9;
  color: var(--sk-text-muted);
}
.about-content li strong,
.about-content h5 {
  color: var(--sk-text);
  font-weight: 700;
}

/* ========== 文章列表卡片 ========== */
.article-card {
  background: var(--sk-bg-card);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius);
  overflow: hidden;
  transition: transform var(--sk-transition), box-shadow var(--sk-transition);
  box-shadow: var(--sk-shadow-sm);
  height: 100%;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sk-shadow-lg);
}
.article-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-thumb img {
  transform: scale(1.05);
}
.article-content {
  padding: 20px;
}
.article-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--sk-text);
  transition: color var(--sk-transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover .article-title { color: var(--sk-primary); }
.article-excerpt {
  font-size: .88rem;
  color: var(--sk-text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.article-cats span,
.article-cats a {
  font-size: .75rem;
  font-weight: 500;
  color: var(--sk-primary);
  background: rgba(46,125,50,.08);
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 4px;
}
.article-footer {
  font-size: .82rem;
  color: var(--sk-text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--sk-border);
}
.blog-main-wrapper { background: transparent !important; }

/* ========== 課程詳情頁 ========== */
.course-detalis-wrapper {
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius);
  border: 1px solid var(--sk-border);
  box-shadow: var(--sk-shadow-sm);
  padding: 32px !important;
}
.course-learn-wrapper {
  background: var(--sk-bg-soft);
  border-radius: var(--sk-radius);
  padding: 24px;
  border: 1px solid var(--sk-border);
}
.course-widget-wrapper {
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius);
  border: 1px solid var(--sk-border);
  box-shadow: var(--sk-shadow-sm);
  padding: 24px;
  overflow: hidden;
}
.get-btn {
  display: inline-block;
  background: var(--sk-primary) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 600;
  text-align: center;
  transition: all var(--sk-transition);
  box-shadow: 0 2px 8px rgba(46,125,50,.2);
}
.get-btn:hover {
  background: var(--sk-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,.3);
}

/* ========== 會員中心 ========== */
.profile-tab-wrapper {
  background: var(--sk-bg-card);
  border-radius: var(--sk-radius-lg);
  box-shadow: var(--sk-shadow-md);
  padding: 32px;
  border: 1px solid var(--sk-border);
}
.nav-tabs .nav-link {
  border-radius: 8px 8px 0 0 !important;
  font-weight: 600;
  color: var(--sk-text-muted);
  transition: color var(--sk-transition), background var(--sk-transition);
  padding: 12px 20px;
}
.nav-tabs .nav-link.active {
  color: var(--sk-primary) !important;
  border-bottom-color: var(--sk-primary) !important;
}
.nav-tabs .nav-link:hover { color: var(--sk-primary); }

/* 會員訂單列表 */
.order-history-item {
  background: var(--sk-bg-card);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius);
  padding: 20px;
  margin-bottom: 12px;
  transition: border-color var(--sk-transition);
}
.order-history-item:hover { border-color: var(--sk-primary-light); }

/* ========== Preloader 升級 ========== */
#preloader {
  transition: opacity .4s ease, visibility .4s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* ========== 頁面過渡動畫 ========== */
main {
  animation: sk-pageIn .5s ease both;
}
@keyframes sk-pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 標籤 Badge 統一 ========== */
.badge, span[class*="badge"],
.tag-badge, .course-tag-badge {
  border-radius: 6px;
  font-weight: 500;
  font-size: .75rem;
  padding: 4px 10px;
  letter-spacing: .01em;
}

/* ========== 表格優化（前台訂單/會員頁）========== */
.table {
  border-radius: var(--sk-radius);
  overflow: hidden;
}
.table thead th {
  background: var(--sk-bg-soft);
  font-weight: 600;
  font-size: .85rem;
  color: var(--sk-text);
  border-bottom: 2px solid var(--sk-border);
  padding: 12px 16px;
}
.table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--sk-border);
}
.table tbody tr:hover { background: rgba(46,125,50,.02); }

/* ========== 搜尋結果頁 ========== */
.search-result-item {
  background: var(--sk-bg-card);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: transform var(--sk-transition), box-shadow var(--sk-transition);
}
.search-result-item:hover {
  transform: translateX(4px);
  box-shadow: var(--sk-shadow-md);
}

/* ========== Hover 工具提示強化 ========== */
[data-bs-toggle="tooltip"] { cursor: pointer; }

/* ========== 分頁器美化 ========== */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 3px;
  font-weight: 500;
  border: 1px solid var(--sk-border);
  color: var(--sk-text);
  transition: all var(--sk-transition);
}
.pagination .page-item.active .page-link {
  background: var(--sk-primary) !important;
  border-color: var(--sk-primary) !important;
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,125,50,.25);
}
.pagination .page-link:hover {
  background: var(--sk-bg-soft);
  border-color: var(--sk-primary-light);
  color: var(--sk-primary);
}

/* ========== 通知 Alert 美化 ========== */
.alert {
  border-radius: var(--sk-radius) !important;
  border: none;
  font-weight: 500;
}
.alert-success { background: rgba(46,125,50,.08); color: var(--sk-primary-dark); }
.alert-danger { background: rgba(211,47,47,.08); color: #C62828; }
.alert-warning { background: rgba(237,108,2,.08); color: #E65100; }

/* ========== 空狀態 ========== */
.sk-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--sk-text-muted);
}
.sk-empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--sk-border);
}
.sk-empty-state p { font-size: 1rem; }

/* ========== 手機版 Phase 3 補強 ========== */
@media (max-width: 767px) {
  .university-footer-area { padding-top: 40px !important; }
  .course-detalis-wrapper { padding: 20px !important; }
  .course-widget-wrapper { padding: 16px; }
  .profile-tab-wrapper { padding: 16px; margin: 0 4px; }
  .article-thumb img { height: 160px; }

  .course-item-height { padding: 24px 0 !important; min-height: auto !important; }
  .course-item-height h2 { font-size: 1.4rem !important; }
}

/* ========== 列印優化 ========== */
@media print {
  .sticky-header, .sk-bottom-nav, .progress-wrap, .side-info, .offcanvas-overlay { display: none !important; }
  body { padding-bottom: 0; }
  .course-detalis-wrapper { box-shadow: none; border: 1px solid #ccc; }
}

/* ========== 首頁 banner 排版調整 ========== */
.carousel-container { height: 480px !important; }
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.slide-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
  max-width: 1200px;
  padding: 0 32px !important;
  width: 100% !important;
}
.slide-content h2 {
  color: #fff !important;
  text-align: left !important;
  font-size: 42px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.8), 0 0 20px rgba(0,0,0,.5) !important;
  margin-bottom: 12px !important;
  max-width: 640px;
}
.slide-content p {
  color: #fff !important;
  text-align: left !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.8), 0 0 14px rgba(0,0,0,.5) !important;
  max-width: 640px;
  margin: 0 !important;
}
@media (max-width: 767px) {
  .carousel-container { height: 360px !important; }
  .slide-content { padding: 0 20px !important; }
  .slide-content h2 { font-size: 26px !important; }
  .slide-content p { font-size: 14px !important; }
}

/* ========== 首頁「新課上架」橫條（banner 下方獨立區塊）========== */
.sk-new-course-strip {
  position: relative;
  margin-top: -28px;
  z-index: 5;
}
.sk-new-course-wrapper {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 14px 20px;
  gap: 16px;
}
.sk-new-course-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sk-new-course-header i { font-size: 14px; }
.sk-new-course-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.sk-new-course-marquee ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0 16px;
  white-space: nowrap;
  animation: sk-new-course-scroll 35s linear infinite;
}
.sk-new-course-marquee:hover ul { animation-play-state: paused; }
.sk-new-course-marquee li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sk-text);
  font-size: 14px;
  transition: color var(--sk-transition);
}
.sk-new-course-marquee li a:hover { color: var(--sk-primary); }
.sk-new-course-date {
  display: inline-block;
  background: var(--sk-bg-soft);
  color: var(--sk-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Noto Sans TC", system-ui;
}
.sk-new-course-title {
  font-weight: 500;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sk-new-course-marquee .badge.badge-hot {
  font-size: 10px;
  padding: 3px 8px;
}
.sk-new-course-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sk-primary);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--sk-transition);
}
.sk-new-course-more:hover {
  color: var(--sk-primary-dark);
  gap: 10px;
}
@keyframes sk-new-course-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .sk-new-course-strip { margin-top: 12px; padding: 0; }
  .sk-new-course-strip > .container { padding-left: 0; padding-right: 0; max-width: 100%; }
  .sk-new-course-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid var(--sk-border);
    border-bottom: 1px solid var(--sk-border);
  }
  .sk-new-course-title { max-width: 240px; }
}

/* ========== 首頁活動訊息 event-card（統一結構）========== */
.sk-event-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 14px;
  height: 100%;
  color: var(--sk-text);
  transition: var(--sk-transition);
  text-decoration: none;
}
.sk-event-card:hover {
  transform: translateY(-4px);
  border-color: var(--sk-primary);
  box-shadow: 0 12px 32px rgba(46,125,50,.15);
  color: var(--sk-text);
  text-decoration: none;
}
.sk-event-card-date {
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}
.sk-event-day { font-size: 24px; font-weight: 700; line-height: 1; }
.sk-event-month { font-size: 11px; letter-spacing: .5px; margin-top: 4px; opacity: .95; }
.sk-event-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.sk-event-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  background: rgba(227,30,50,.1);
  color: #d84859;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sk-event-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  color: var(--sk-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sk-event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--sk-text-muted);
  margin-top: auto;
}
.sk-event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sk-event-meta i { color: var(--sk-primary); }

/* ========== 「找不到主題」sidebar 表單 ========== */
.sk-find-topic-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  position: sticky;
  top: 100px;
}
.sk-find-topic-header {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sk-find-topic-header::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.sk-find-topic-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}
.sk-find-topic-header h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}
.sk-find-topic-header p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.sk-find-topic-form {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sk-find-field {
  position: relative;
  display: block;
  width: 100%;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.sk-find-field:focus-within {
  border-color: var(--sk-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.sk-find-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sk-text-muted);
  font-size: 14px;
  width: 16px;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}
.sk-find-field-textarea .sk-find-icon {
  top: 16px;
  transform: none;
}
.sk-find-field input,
.sk-find-field select,
.sk-find-field textarea {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: var(--sk-text) !important;
  padding: 12px 16px 12px 48px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  resize: vertical;
  box-shadow: none !important;
}
.sk-find-field input,
.sk-find-field select { height: 44px !important; }
.sk-find-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='%235a6a7a' d='M10 14l-5-5h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.sk-find-field textarea { min-height: 100px; line-height: 1.6; }
.sk-find-field .nice-select {
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  background: transparent !important;
  border: none !important;
  float: none !important;
  padding: 0 36px 0 40px !important;
  color: var(--sk-text) !important;
}
.sk-find-field .nice-select .current { color: var(--sk-text) !important; }
.sk-find-field .nice-select::after {
  border-color: var(--sk-text-muted) !important;
  right: 14px !important;
}
.sk-find-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  height: 48px;
  background: var(--sk-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-find-submit:hover {
  background: var(--sk-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46,125,50,.3);
}
.sk-find-footnote {
  text-align: center;
  color: var(--sk-text-muted);
  font-size: 11px;
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.sk-find-footnote i { color: var(--sk-primary); }

/* ========== courseTopic 頁面 80% 滿版 ========== */
.sk-topic-container {
  max-width: min(80vw, 1440px) !important;
  width: 100% !important;
}
@media (max-width: 991px) {
  .sk-topic-container { max-width: 95vw !important; }
}
.sk-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.sk-topic-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: var(--sk-transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk-topic-card:hover {
  border-color: var(--sk-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(46,125,50,.1);
}
.sk-topic-card-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sk-topic-card-field {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--sk-bg-soft);
  color: var(--sk-primary);
  border-radius: 999px;
  font-weight: 500;
}
.sk-topic-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  color: var(--sk-text);
}
.sk-topic-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--sk-text-muted);
  margin-top: auto;
}
.sk-topic-card-meta i { color: var(--sk-primary); margin-right: 4px; }

/* ========== coursePackage 搜尋與篩選列 ========== */
.sk-pkg-filter {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  align-items: stretch;
}
.sk-pkg-search {
  position: relative;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.sk-pkg-search:focus-within {
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.sk-pkg-search i.fa-search {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sk-text-muted);
  font-size: 14px;
  width: 16px;
  text-align: center;
  pointer-events: none;
}
.sk-pkg-search input {
  width: 100% !important;
  height: 44px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 16px 0 48px !important;
  font-size: 14px !important;
  color: var(--sk-text) !important;
  outline: none !important;
  box-shadow: none !important;
}
.sk-pkg-select select {
  width: 100%;
  height: 44px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  padding: 0 36px 0 16px;
  font-size: 14px;
  color: var(--sk-text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='%235a6a7a' d='M10 14l-5-5h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.sk-pkg-select select:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.sk-pkg-select .nice-select {
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  background: #fff !important;
  border: 1px solid var(--sk-border) !important;
  border-radius: 10px !important;
  padding: 0 36px 0 16px !important;
  float: none !important;
  color: var(--sk-text) !important;
}
@media (max-width: 575px) {
  .sk-pkg-filter { grid-template-columns: 1fr; }
}

/* ========== courseTopic 搜尋與篩選列 ========== */
.sk-topic-filter { margin-bottom: 20px; }
.sk-topic-search {
  position: relative;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.sk-topic-search:focus-within {
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.sk-topic-search i.fa-search {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sk-text-muted);
  font-size: 14px;
  width: 16px;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}
.sk-topic-search input {
  width: 100% !important;
  height: 44px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 44px 0 48px !important;
  font-size: 14px !important;
  color: var(--sk-text) !important;
  outline: none !important;
  box-shadow: none !important;
}
.sk-topic-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--sk-transition);
}
.sk-topic-search-clear:hover { background: var(--sk-primary); color: #fff; }
.sk-topic-field-select select {
  width: 100%;
  height: 44px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  padding: 0 36px 0 16px;
  font-size: 14px;
  color: var(--sk-text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='%235a6a7a' d='M10 14l-5-5h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.sk-topic-field-select select:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.sk-topic-field-select .nice-select {
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  background: #fff !important;
  border: 1px solid var(--sk-border) !important;
  border-radius: 10px !important;
  padding: 0 36px 0 16px !important;
  float: none !important;
  color: var(--sk-text) !important;
}

/* ========== 登入/註冊頁（現代化雙欄卡片）========== */
.sk-auth-page {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 40%);
  min-height: 70vh;
}
.sk-auth-card {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.sk-auth-aside {
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.sk-auth-aside::before,
.sk-auth-aside::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.sk-auth-aside::before {
  width: 260px; height: 260px;
  top: -120px; right: -80px;
}
.sk-auth-aside::after {
  width: 180px; height: 180px;
  bottom: -80px; left: -60px;
}
.sk-auth-aside-inner { position: relative; z-index: 1; }
.sk-auth-aside h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: .3px;
}
.sk-auth-aside p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin: 0 0 28px;
}
.sk-auth-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sk-auth-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #fff;
  padding: 8px 0;
}
.sk-auth-benefits i {
  color: rgba(255,255,255,.85);
  font-size: 16px;
}

.sk-auth-main {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sk-auth-main-header { margin-bottom: 28px; }
.sk-auth-main-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 8px;
}
.sk-auth-main-header p {
  font-size: 14px;
  color: var(--sk-text-muted);
  margin: 0;
}
.sk-auth-main-header a {
  color: var(--sk-primary);
  font-weight: 600;
  text-decoration: none;
}
.sk-auth-main-header a:hover { text-decoration: underline; }

.sk-auth-form { display: flex; flex-direction: column; gap: 14px; }
.sk-auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: -4px;
}
.sk-auth-field {
  position: relative;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.sk-auth-field:focus-within {
  border-color: var(--sk-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}
.sk-auth-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sk-text-muted);
  font-size: 14px;
  width: 16px;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}
.sk-auth-field input {
  width: 100% !important;
  height: 48px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 48px 0 48px !important;
  font-size: 14px !important;
  color: var(--sk-text) !important;
  font-family: inherit !important;
  box-shadow: none !important;
}
.sk-auth-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--sk-text-muted);
  border-radius: 6px;
  cursor: pointer;
}
.sk-auth-toggle:hover { color: var(--sk-primary); background: rgba(0,0,0,.04); }

.sk-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.sk-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sk-text-muted);
  cursor: pointer;
  margin: 0;
}
.sk-auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--sk-primary);
  cursor: pointer;
}
.sk-auth-forgot {
  font-size: 13px;
  color: var(--sk-primary);
  text-decoration: none;
  font-weight: 500;
}
.sk-auth-forgot:hover { text-decoration: underline; }

.sk-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.25);
  margin-top: 8px;
}
.sk-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46, 125, 50, 0.35);
}

.sk-auth-divider {
  position: relative;
  text-align: center;
  color: var(--sk-text-muted);
  font-size: 12px;
  margin: 20px 0 4px;
}
.sk-auth-divider::before,
.sk-auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 24px);
  height: 1px;
  background: var(--sk-border);
}
.sk-auth-divider::before { left: 0; }
.sk-auth-divider::after { right: 0; }
.sk-auth-divider span { background: #fff; padding: 0 10px; position: relative; }

.sk-auth-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border: 2px solid var(--sk-primary);
  color: var(--sk-primary);
  background: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  text-decoration: none;
}
.sk-auth-register-link:hover {
  background: var(--sk-primary);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .sk-auth-card { grid-template-columns: 1fr; }
  .sk-auth-aside { padding: 32px 24px; }
  .sk-auth-main { padding: 32px 24px; }
}

/* ========== 註冊類型選擇 3 卡片 ========== */
.sk-register-page {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 40%);
  padding-top: 48px;
  padding-bottom: 80px;
}
.sk-register-intro { text-align: center; margin-bottom: 40px; }
.sk-register-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 0 0 12px;
  letter-spacing: .3px;
}
.sk-register-intro p {
  font-size: 15px;
  color: var(--sk-text-muted);
  line-height: 1.8;
  margin: 0;
}
.sk-register-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.sk-register-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: var(--sk-transition);
  display: flex;
  flex-direction: column;
}
.sk-register-card:hover {
  transform: translateY(-4px);
  border-color: var(--sk-primary);
  box-shadow: 0 16px 40px rgba(46,125,50,.12);
}
.sk-register-card-popular {
  border: 2px solid var(--sk-primary);
  box-shadow: 0 12px 32px rgba(46,125,50,.15);
}
.sk-register-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d84859, #c0392b);
  color: #fff;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(216, 72, 89, 0.3);
}
.sk-register-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: #fff;
}
.sk-register-icon-blue { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.sk-register-icon-green { background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)); }
.sk-register-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.sk-register-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 10px;
}
.sk-register-desc {
  font-size: 13px;
  color: var(--sk-text-muted);
  line-height: 1.75;
  margin: 0 0 18px;
  min-height: 60px;
}
.sk-register-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
}
.sk-register-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--sk-text);
}
.sk-register-features i {
  color: var(--sk-primary);
  font-size: 11px;
  flex-shrink: 0;
}
.sk-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 44px;
  background: var(--sk-bg-soft);
  color: var(--sk-primary);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
  margin-top: auto;
}
.sk-register-btn:hover {
  background: var(--sk-primary);
  color: #fff;
  text-decoration: none;
  gap: 10px;
}
.sk-register-card-popular .sk-register-btn {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
}
.sk-register-card-popular .sk-register-btn:hover {
  box-shadow: 0 8px 20px rgba(46,125,50,.3);
  transform: translateY(-1px);
}

.sk-register-footer {
  text-align: center;
  color: var(--sk-text-muted);
  font-size: 14px;
}
.sk-register-footer a {
  color: var(--sk-primary);
  font-weight: 600;
  margin-left: 4px;
  text-decoration: none;
}
.sk-register-footer a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .sk-register-grid { grid-template-columns: 1fr; }
}

/* ========== 產業領域 chip 多選 ========== */
.sk-field-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 6px 0 14px;
}
.sk-field-chip {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.sk-field-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sk-field-chip span {
  display: block;
  padding: 10px 14px;
  background: var(--sk-bg-soft);
  border: 2px solid var(--sk-border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--sk-text);
  text-align: center;
  line-height: 1.4;
  transition: var(--sk-transition);
  user-select: none;
}
.sk-field-chip:hover span {
  border-color: var(--sk-primary-light);
  color: var(--sk-primary-dark);
}
.sk-field-chip input:checked + span {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border-color: var(--sk-primary-dark);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(46,125,50,.2);
}
.sk-field-chip input:focus + span {
  outline: 3px solid rgba(46,125,50,.15);
  outline-offset: 1px;
}
@media (max-width: 575px) {
  .sk-field-chips { grid-template-columns: repeat(2, 1fr); }
}

/* ========== 單欄 auth 卡片（忘記密碼 / 驗證）========== */
.sk-auth-card-single {
  grid-template-columns: 1fr !important;
  max-width: 460px;
}
.sk-auth-wide {
  width: 80%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.sk-auth-card-wide {
  max-width: 100% !important;
  width: 100%;
}
.sk-auth-card-wide .sk-auth-main {
  padding: 56px 64px;
}
.sk-auth-card-wide .sk-field-chips {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1199px) {
  .sk-auth-wide { width: 90%; }
  .sk-auth-card-wide .sk-auth-main { padding: 48px 40px; }
  .sk-auth-card-wide .sk-field-chips { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .sk-auth-wide { width: 100%; padding-left: 16px; padding-right: 16px; }
  .sk-auth-card-wide .sk-auth-main { padding: 32px 22px; }
  .sk-auth-card-wide .sk-field-chips { grid-template-columns: repeat(2, 1fr); }
}

/* 分段標題 */
.sk-form-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--sk-border);
}
.sk-form-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.sk-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.sk-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(46,125,50,.25);
}
.sk-section-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-section-head h3 em {
  color: #d84859;
  font-style: normal;
  margin-left: 4px;
}
.sk-label-hint {
  display: inline-block;
  font-size: 12px;
  color: var(--sk-text-muted);
  font-weight: 400;
  margin-left: 4px;
}

/* 下拉選單（auth 表單專用） */
.sk-auth-select {
  position: relative;
  width: 100%;
}
.sk-auth-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--sk-text-muted);
  border-bottom: 2px solid var(--sk-text-muted);
  pointer-events: none;
  transition: var(--sk-transition);
}
.sk-auth-select select {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 16px;
  font-size: 14px;
  color: var(--sk-text);
  background: #fff;
  border: 1.5px solid var(--sk-border);
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-auth-select select:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}
.sk-auth-select:hover::after { border-color: var(--sk-primary); }
.sk-auth-select .nice-select {
  width: 100%;
  height: 48px;
  line-height: 44px;
  padding-left: 16px;
  padding-right: 42px;
  border: 1.5px solid var(--sk-border);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
}
.sk-auth-single-header { text-align: center; margin-bottom: 28px; }
.sk-auth-single-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(46,125,50,.25);
}
.sk-auth-single-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 8px;
}
.sk-auth-single-header p {
  font-size: 14px;
  color: var(--sk-text-muted);
  line-height: 1.7;
  margin: 0;
}
.sk-auth-single-back { text-align: center; margin-top: 16px; }
.sk-auth-single-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sk-text-muted);
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-auth-single-back a:hover {
  color: var(--sk-primary);
  transform: translateX(-4px);
}

/* ========== 文章詳情頁（現代化質感）========== */
.sk-article-detail-page {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 25%);
}
.sk-article-detail-wide {
  width: 80%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
@media (max-width: 1199px) {
  .sk-article-detail-wide { width: 92%; }
}
@media (max-width: 767px) {
  .sk-article-detail-wide { width: 100%; padding: 32px 16px 56px; }
}
.sk-article-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.sk-article-category {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.sk-article-category-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .3px;
}
.sk-article-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--sk-text);
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: .3px;
}
.sk-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sk-border);
  margin-bottom: 28px;
  color: var(--sk-text-muted);
  font-size: 13px;
}
.sk-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sk-article-meta i { color: var(--sk-primary); }

.sk-article-cover {
  margin: 0 -48px 32px;
  overflow: hidden;
}
.sk-article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.sk-article-content {
  font-size: 16px;
  line-height: 1.95;
  color: var(--sk-text);
}
.sk-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 16px 0;
}
.sk-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.sk-article-content th,
.sk-article-content td {
  padding: 10px 14px;
  border: 1px solid var(--sk-border);
}
.sk-article-content th {
  background: var(--sk-bg-soft);
  font-weight: 600;
  color: var(--sk-primary-dark);
}
.sk-article-content blockquote {
  margin: 20px 0;
  padding: 14px 22px;
  border-left: 4px solid var(--sk-primary);
  background: var(--sk-bg-soft);
  color: var(--sk-text);
  font-style: normal;
  border-radius: 0 8px 8px 0;
}

.sk-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--sk-border);
  flex-wrap: wrap;
}
.sk-article-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sk-article-share > span {
  font-size: 13px;
  color: var(--sk-text-muted);
  margin-right: 4px;
}
.sk-article-share a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sk-border);
  border-radius: 50%;
  color: var(--sk-text-muted);
  transition: var(--sk-transition);
}
.sk-article-share a:hover {
  background: var(--sk-primary);
  color: #fff;
  border-color: var(--sk-primary);
  transform: translateY(-2px);
}
.sk-article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--sk-bg-soft);
  color: var(--sk-primary);
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: var(--sk-transition);
}
.sk-article-back:hover {
  background: var(--sk-primary);
  color: #fff;
  text-decoration: none;
  transform: translateX(-4px);
}

/* Sidebar */
.sk-article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.sk-sidebar-widget {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.sk-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--sk-primary-dark);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sk-bg-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sk-sidebar-title i { color: var(--sk-primary); }
.sk-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sk-sidebar-list li { margin-bottom: 2px; }
.sk-sidebar-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--sk-text);
  border-radius: 8px;
  transition: var(--sk-transition);
  text-decoration: none;
}
.sk-sidebar-list a:hover {
  background: var(--sk-bg-soft);
  color: var(--sk-primary);
  transform: translateX(4px);
}
.sk-sidebar-list a i {
  font-size: 10px;
  color: var(--sk-primary);
}

.sk-sidebar-cta {
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46,125,50,.2);
}
.sk-sidebar-cta::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.sk-sidebar-cta h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.sk-sidebar-cta p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.sk-sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--sk-primary-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
  position: relative;
  z-index: 1;
}
.sk-sidebar-cta-btn:hover {
  background: rgba(255,255,255,.9);
  color: var(--sk-primary-dark);
  transform: translateX(4px);
  text-decoration: none;
}

@media (max-width: 767px) {
  .sk-article-card { padding: 28px 22px; }
  .sk-article-title { font-size: 22px; }
  .sk-article-cover { margin: 0 -22px 24px; }
  .sk-article-sidebar { position: static; }
}

/* ========== 聯絡我們頁（2 欄卡片）========== */
.sk-contact-page {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 25%);
}
.sk-contact-info-card {
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
  box-shadow: 0 10px 40px rgba(46, 125, 50, 0.18);
  position: relative;
  overflow: hidden;
}
.sk-contact-info-card::before,
.sk-contact-info-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.sk-contact-info-card::before {
  width: 220px;
  height: 220px;
  top: -100px;
  right: -60px;
}
.sk-contact-info-card::after {
  width: 140px;
  height: 140px;
  bottom: -60px;
  left: -40px;
}
.sk-contact-info-header { position: relative; z-index: 1; margin-bottom: 28px; }
.sk-contact-info-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: .3px;
}
.sk-contact-info-header p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin: 0;
}
.sk-contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.sk-contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sk-contact-info-list li:last-child { border-bottom: none; }
.sk-contact-info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sk-contact-info-list li small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: .5px;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.sk-contact-info-list li a,
.sk-contact-info-list li span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.sk-contact-info-list li a:hover { color: #fff; text-decoration: underline; }
.sk-contact-info-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 1;
}
.sk-contact-info-footer p {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin: 0;
}

.sk-contact-form-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.sk-contact-form-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--sk-border); }
.sk-contact-form-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--sk-primary-dark);
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sk-contact-form-header h3 i { color: var(--sk-primary); }
.sk-contact-form-header p { font-size: 14px; color: var(--sk-text-muted); margin: 0; }
.sk-contact-form-header p strong { color: var(--sk-primary-dark); }

.sk-contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: 6px;
}
.sk-contact-label span { color: #d84859; margin-left: 2px; }
.sk-contact-input {
  display: block;
  width: 100%;
  height: 46px;
  background: #fff !important;
  border: 1px solid var(--sk-border) !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: var(--sk-text) !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-shadow: none !important;
}
.sk-contact-input:focus {
  border-color: var(--sk-primary) !important;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1) !important;
}
select.sk-contact-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='%235a6a7a' d='M10 14l-5-5h10z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}
.sk-contact-textarea {
  height: auto !important;
  padding: 12px 14px !important;
  line-height: 1.7 !important;
  resize: vertical;
  min-height: 120px;
}
.sk-contact-agreement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sk-text);
  cursor: pointer;
  margin: 0;
}
.sk-contact-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sk-primary);
  cursor: pointer;
}
.sk-contact-agreement a { color: var(--sk-primary); font-weight: 500; text-decoration: underline; }
.sk-contact-agreement em { color: #d84859; font-style: normal; margin-left: 2px; }

.sk-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.25);
}
.sk-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.35);
  color: #fff;
}

@media (max-width: 767px) {
  .sk-contact-info-card { padding: 28px 22px; }
  .sk-contact-form-card { padding: 28px 22px; }
}

/* ========== 課程詳情頁（現代化質感）========== */
.sk-course-detail-page {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-course-detail-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.sk-course-detail-header {
  background: linear-gradient(135deg, #fff 0%, var(--sk-bg-soft) 100%);
  padding: 40px 44px 32px;
  border-bottom: 1px solid var(--sk-border);
}
.sk-course-slogan {
  display: inline-block;
  background: linear-gradient(135deg, #d84859, #c0392b);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(216, 72, 89, 0.25);
}
.sk-course-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--sk-text);
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: .3px;
}
.sk-course-tagline {
  font-size: 16px;
  color: var(--sk-primary-dark);
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.7;
}
.sk-course-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--sk-text-muted);
}
.sk-course-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 8px;
}
.sk-course-meta-item i { color: var(--sk-primary); font-size: 14px; }

.sk-course-board {
  margin: 32px 44px 0;
  padding: 18px 22px;
  background: linear-gradient(90deg, rgba(46,125,50,.08), rgba(46,125,50,.03));
  border-left: 4px solid var(--sk-primary);
  border-radius: 10px;
  color: var(--sk-text);
  line-height: 1.85;
}

.sk-course-section {
  padding: 36px 44px;
  border-top: 1px solid var(--sk-border);
}
.sk-course-section:first-of-type { border-top: none; }
.sk-course-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--sk-primary-dark);
  margin: 0 0 18px;
}
.sk-course-section-title i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sk-primary);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
}
.sk-course-section-body {
  color: var(--sk-text);
  line-height: 1.9;
  font-size: 15px;
}
.sk-course-section-body img { max-width: 100%; height: auto; border-radius: 8px; }
.sk-course-section-notice .sk-course-section-title i {
  background: #f59e0b;
}
.sk-course-section-notice .sk-course-section-body {
  background: rgba(245, 158, 11, 0.05);
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 18px 22px;
}

/* Sidebar */
.sk-course-sidebar { position: sticky; top: 100px; }
.sk-course-signup-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.sk-course-signup-badge { margin-bottom: 16px; }
.sk-course-signup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.sk-course-signup-status-open {
  background: rgba(46, 125, 50, 0.1);
  color: var(--sk-primary-dark);
}
.sk-course-signup-status-open i { color: #22c55e; font-size: 8px; animation: sk-pulse 2s infinite; }
@keyframes sk-pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.sk-course-signup-status-closed {
  background: rgba(0, 0, 0, 0.06);
  color: var(--sk-text-muted);
}

.sk-course-signup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.25);
}
.sk-course-signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(46, 125, 50, 0.35);
  color: #fff;
  text-decoration: none;
}
.sk-course-signup-btn-disabled {
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
.sk-course-signup-btn-disabled:hover { transform: none; box-shadow: none; }

/* 報名 form：人數選擇 + 送出 */
.sk-course-signup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sk-course-signup-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  border-radius: 12px;
}
.sk-course-signup-people > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
}
.sk-stepper {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 999px;
  overflow: hidden;
}
.sk-stepper-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--sk-primary-dark);
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.sk-stepper-btn:hover { background: var(--sk-bg-soft); }
.sk-stepper-btn:active { background: rgba(46,125,50,.15); }
.sk-stepper-input {
  width: 44px;
  height: 34px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-text);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.sk-stepper-input::-webkit-outer-spin-button,
.sk-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sk-stepper-input:focus { outline: none; }

.sk-course-signup-info {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.sk-course-signup-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--sk-border);
  gap: 12px;
}
.sk-course-signup-row:last-child { border-bottom: none; }
.sk-course-signup-row dt {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--sk-text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.sk-course-signup-row dt i { color: var(--sk-primary); }
.sk-course-signup-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-text);
  text-align: right;
  word-break: break-all;
}

.sk-course-signup-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sk-border);
}
.sk-course-signup-share span {
  font-size: 12px;
  color: var(--sk-text-muted);
  margin-right: 4px;
}
.sk-course-signup-share a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sk-border);
  border-radius: 50%;
  color: var(--sk-text-muted);
  transition: var(--sk-transition);
}
.sk-course-signup-share a:hover {
  background: var(--sk-primary);
  color: #fff;
  border-color: var(--sk-primary);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .sk-course-detail-header { padding: 28px 22px 22px; }
  .sk-course-title { font-size: 22px; }
  .sk-course-board { margin: 24px 22px 0; }
  .sk-course-section { padding: 26px 22px; }
  .sk-course-sidebar { position: static; }
}

/* ========== 隱私權聲明排版 ========== */
.sk-policy-container {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-policy-article {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  line-height: 1.9;
  color: var(--sk-text);
}
.sk-policy-article > :first-child { margin-top: 0; }
.sk-policy-article > :last-child { margin-bottom: 0; }
.sk-policy-article h1,
.sk-policy-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--sk-primary-dark);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sk-bg-soft);
}
.sk-policy-article h3,
.sk-policy-article h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sk-primary-dark);
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--sk-primary);
  line-height: 1.5;
}
.sk-policy-article strong {
  color: var(--sk-primary-dark);
  font-weight: 600;
}
.sk-policy-article p { line-height: 1.9; color: var(--sk-text); margin-bottom: 14px; }
.sk-policy-article ul,
.sk-policy-article ol { padding-left: 24px; margin-bottom: 16px; }
.sk-policy-article li { line-height: 1.9; margin-bottom: 6px; position: relative; }
.sk-policy-article ul li::marker { color: var(--sk-primary); }
.sk-policy-article a { color: var(--sk-primary); text-decoration: underline; }
.sk-policy-article a:hover { color: var(--sk-primary-dark); }

/* 針對 DB 來源的純文字標題（如「一、」「二、」模式）自動抓取排版 */
.sk-policy-article--db p:has(strong:only-child) strong,
.sk-policy-article p strong:first-child:only-child {
  display: inline-block;
  font-size: 17px;
  color: var(--sk-primary-dark);
  margin: 16px 0 6px;
  padding-left: 12px;
  border-left: 4px solid var(--sk-primary);
}
.sk-policy-article hr {
  border: none;
  height: 1px;
  background: var(--sk-border);
  margin: 28px 0;
}
/* DB 來源 HTML 的視覺淨化 */
.sk-policy-article--db p {
  margin-bottom: 18px;
  text-indent: 0;
}
.sk-policy-article--db p:has(br) { line-height: 2.05; }
/* 覆蓋 SunEditor 編輯者常用的紅字強調 → 品牌色高亮膠囊 */
.sk-policy-article--db span[style*="color:#e74c3c"],
.sk-policy-article--db span[style*="color: #e74c3c"],
.sk-policy-article--db span[style*="color:#E74C3C"],
.sk-policy-article--db span[style*="color:red"],
.sk-policy-article--db span[style*="color: red"],
.sk-policy-article--db font[color="red"] {
  color: var(--sk-primary-dark) !important;
  background: linear-gradient(180deg, transparent 55%, rgba(46,125,50,.18) 55%);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}
/* 強調 <strong> 在紅字區內 → 不重複加粗，改為稍濃顏色 */
.sk-policy-article--db span[style*="color:#e74c3c"] strong,
.sk-policy-article--db span[style*="color:#E74C3C"] strong {
  color: inherit;
  font-weight: 700;
}
/* 避免 &nbsp; 造成的段首過度縮排感，限縮首行間距 */
.sk-policy-article--db p { padding-left: 0; }
@media (max-width: 767px) {
  .sk-policy-article { padding: 28px 22px; font-size: 14px; }
  .sk-policy-article h3, .sk-policy-article h4 { font-size: 15px; }
}

/* ========== Cookie 同意 banner ========== */
.sk-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0,0,0,.18);
  padding: 20px 22px;
  z-index: 1040;
  display: none;
  align-items: center;
  gap: 16px;
  animation: sk-cookie-slide-in .4s ease;
}
.sk-cookie-banner.is-visible { display: flex; }
@keyframes sk-cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.sk-cookie-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sk-bg-soft);
  color: var(--sk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.sk-cookie-text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sk-text);
}
.sk-cookie-text a { color: var(--sk-primary); font-weight: 500; }
.sk-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.sk-cookie-btn {
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-cookie-btn-primary { background: var(--sk-primary); color: #fff; }
.sk-cookie-btn-primary:hover { background: var(--sk-primary-dark); transform: translateY(-1px); }
.sk-cookie-btn-ghost { background: transparent; color: var(--sk-text-muted); border: 1px solid var(--sk-border); }
.sk-cookie-btn-ghost:hover { background: var(--sk-bg-soft); }
@media (max-width: 575px) {
  .sk-cookie-banner { flex-direction: column; text-align: center; gap: 12px; bottom: 10px; left: 10px; right: 10px; padding: 16px; }
  .sk-cookie-icon { margin: 0 auto; }
}

/* ========== 統編即時查詢 ========== */
.sk-ban-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  min-height: 18px;
  flex-wrap: wrap;
}
.sk-ban-footer .sk-label-hint {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sk-ban-footer .sk-label-hint i { color: var(--sk-text-muted); font-size: 11px; }
.sk-ban-status {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}
.sk-ban-status:empty { display: none; }
.sk-ban-status-loading {
  color: var(--sk-text-muted);
}
.sk-ban-status-loading::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--sk-border);
  border-top-color: var(--sk-primary);
  border-radius: 50%;
  animation: sk-spin 0.7s linear infinite;
  display: inline-block;
}
.sk-ban-status-hint { color: #b8770b; }
.sk-ban-status-success {
  color: var(--sk-primary-dark);
  background: rgba(46,125,50,.08);
  padding: 2px 10px;
  border-radius: 999px;
}
.sk-ban-status-error {
  color: #c23c4b;
  background: rgba(216,72,89,.08);
  padding: 2px 10px;
  border-radius: 999px;
}
/* 查詢到公司名稱時，隱藏同行的 hint（避免重複冗餘） */
.sk-ban-footer:has(.sk-ban-status-success) .sk-label-hint,
.sk-ban-footer:has(.sk-ban-status-error) .sk-label-hint { display: none; }

/* ========== AJAX 搜尋 loading 視覺 ========== */
#skTopicResult { position: relative; transition: opacity .2s; }
#skTopicResult.sk-loading { opacity: .45; pointer-events: none; }
#skTopicResult.sk-loading::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 3px solid var(--sk-bg-soft);
  border-top-color: var(--sk-primary);
  border-radius: 50%;
  animation: sk-spin .8s linear infinite;
  z-index: 5;
}
@keyframes sk-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

/* ========== 分頁元件 ========== */
.sk-pagination {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.sk-pagination li { display: inline-block; }
.sk-pagination a,
.sk-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 8px;
  color: var(--sk-text);
  font-size: 14px;
  font-weight: 500;
  transition: var(--sk-transition);
  text-decoration: none;
}
.sk-pagination a:hover {
  border-color: var(--sk-primary);
  color: var(--sk-primary);
  transform: translateY(-1px);
}
.sk-pagination li.active a,
.sk-pagination li.active span {
  background: var(--sk-primary);
  color: #fff;
  border-color: var(--sk-primary);
}
.sk-pagination li.disabled span {
  color: #ccc;
  cursor: not-allowed;
  background: var(--sk-bg-soft);
}
.sk-pagination-dots span {
  background: transparent;
  border: none;
  color: var(--sk-text-muted);
}
.sk-topic-pagination-info {
  text-align: right;
  font-size: 13px;
}

/* ========== 課程主題 tags 清爽化 ========== */
.sk-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  max-height: 68px;
  overflow: hidden;
}
.sk-topic-tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 5px 10px;
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
  border-radius: 999px;
  white-space: nowrap;
}
.sk-topic-tag-more {
  background: var(--sk-primary);
  color: #fff;
  font-weight: 600;
}

/* ========== 首頁 section 美化 banner heading ========== */
.sk-section-banner {
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(46,125,50,.18);
}
.sk-section-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.sk-section-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.sk-section-banner-text h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.sk-section-banner-text p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}
.sk-section-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--sk-primary);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--sk-transition);
  white-space: nowrap;
}
.sk-section-banner-cta:hover {
  background: rgba(255,255,255,.9);
  color: var(--sk-primary-dark);
  transform: translateX(4px);
  text-decoration: none;
}
.sk-section-banner-icon {
  font-size: 48px;
  opacity: .25;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}
.sk-section-banner--topic { background: linear-gradient(135deg, #00897B 0%, #004D40 100%); box-shadow: 0 8px 28px rgba(0,137,123,.18); }
.sk-section-banner--topic .sk-section-banner-cta { color: #00695C; }
.sk-section-banner--topic .sk-section-banner-cta:hover { color: #004D40; }
@media (max-width: 767px) {
  .sk-section-banner { padding: 24px; border-radius: 14px; }
  .sk-section-banner-text h2 { font-size: 20px; }
}

/* ========== Footer 訂閱電子報（新設計）========== */
.sk-edm-intro {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.sk-edm-form { display: flex; flex-direction: column; gap: 10px; }
.sk-edm-field {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.sk-edm-field:focus-within {
  border-color: var(--sk-primary-light);
  background: rgba(255,255,255,.12);
}
.sk-edm-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  font-size: 14px;
  width: 16px;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}
.sk-edm-field input,
.sk-edm-field select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  line-height: 44px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 0 40px 0 48px;
  font-size: 14px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  vertical-align: middle;
}
.sk-edm-field input::placeholder { color: rgba(255,255,255,.45); }
.sk-edm-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'><path fill='rgba(255,255,255,0.6)' d='M10 14l-5-5h10z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 12px;
}
.sk-edm-field select::-ms-expand { display: none; }
.sk-edm-field select option { color: #1a1a2e; background: #fff; padding: 8px; }
.sk-edm-field select:focus { outline: none; }

/* Nice Select 套件覆蓋（footer 深色版） */
.sk-edm-field .nice-select {
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  float: none !important;
  padding: 0 40px 0 40px !important;
  color: #fff !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.sk-edm-field .nice-select::after {
  border-color: rgba(255,255,255,.6) !important;
  right: 16px !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: -5px !important;
}
.sk-edm-field .nice-select .current {
  color: #fff !important;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sk-edm-field .nice-select .list {
  background: #fff !important;
  color: #1a1a2e !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.25) !important;
  width: 100% !important;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 6px;
}
.sk-edm-field .nice-select .option {
  color: #1a1a2e !important;
  padding: 8px 16px !important;
  line-height: 1.4;
  min-height: 0;
}
.sk-edm-field .nice-select .option.selected,
.sk-edm-field .nice-select .option.focus,
.sk-edm-field .nice-select .option:hover {
  background: var(--sk-bg-soft) !important;
  color: var(--sk-primary) !important;
}
.sk-edm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  background: var(--sk-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-edm-submit:hover {
  background: var(--sk-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46,125,50,.35);
}
.sk-edm-submit:active { transform: translateY(0); }

/* ========== 全站搜尋面板（展開式 + 即時預覽）========== */
.sk-search-trigger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0,0,0,.08);
  color: var(--sk-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--sk-transition);
}
.sk-search-trigger:hover {
  background: var(--sk-bg-soft);
  border-color: var(--sk-primary);
  color: var(--sk-primary);
}

.sk-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  z-index: 1050;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.sk-search-panel[hidden] { display: block !important; }
.sk-search-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
header { position: relative; }

.sk-search-panel-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 16px;
}
.sk-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sk-search-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sk-text-muted);
  font-size: 16px;
  width: 16px;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}
.sk-search-input {
  flex: 1;
  height: 52px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0 110px 0 52px !important;
  font-size: 16px;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
  background: #fff;
}
.sk-search-input:focus {
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 4px rgba(46,125,50,.15);
}
.sk-search-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--sk-text);
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-search-close:hover { background: var(--sk-bg-soft); }

.sk-search-preview {
  margin-top: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  overflow: hidden;
  max-height: 60vh;
  overflow-y: auto;
}
.sk-search-preview-head {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--sk-text-muted);
  background: var(--sk-bg-soft);
  border-bottom: 1px solid #e5e7eb;
}
.sk-search-preview-body { padding: 8px 0; }
.sk-search-preview-empty { padding: 28px 16px; text-align: center; color: var(--sk-text-muted); font-size: 14px; }
.sk-search-preview-group { padding: 8px 0; }
.sk-search-preview-group + .sk-search-preview-group { border-top: 1px solid #f1f5f4; }
.sk-search-preview-group-title {
  padding: 6px 16px;
  font-size: 12px;
  color: var(--sk-text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sk-search-preview-item {
  display: block;
  padding: 10px 16px;
  color: var(--sk-text);
  transition: background var(--sk-transition);
  border-left: 3px solid transparent;
}
.sk-search-preview-item:hover,
.sk-search-preview-item:focus {
  background: var(--sk-bg-soft);
  border-left-color: var(--sk-primary);
  color: var(--sk-primary);
  text-decoration: none;
}
.sk-search-preview-item-title { font-size: 14px; font-weight: 500; }
.sk-search-preview-item-subtitle { font-size: 12px; color: var(--sk-text-muted); margin-top: 2px; }
.sk-search-preview-viewall {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-primary);
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.sk-search-preview-viewall:hover { background: var(--sk-bg-soft); }

/* 搜尋結果頁 */
.sk-search-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0;
  margin-bottom: 24px;
  margin-top: 16px;
}
.sk-search-tab {
  background: transparent;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--sk-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--sk-transition);
}
.sk-search-tab:hover { color: var(--sk-text); }
.sk-search-tab.active {
  color: var(--sk-primary);
  border-bottom-color: var(--sk-primary);
  font-weight: 600;
}
.sk-search-count {
  background: rgba(0,0,0,.06);
  color: inherit;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 500;
}
.sk-search-tab.active .sk-search-count {
  background: var(--sk-primary);
  color: #fff;
}
.sk-search-section { margin-bottom: 40px; }
.sk-search-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sk-search-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sk-search-result-card {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: var(--sk-text);
  transition: var(--sk-transition);
}
.sk-search-result-card:hover {
  border-color: var(--sk-primary);
  box-shadow: 0 4px 16px rgba(46,125,50,.12);
  color: var(--sk-text);
  text-decoration: none;
  transform: translateY(-2px);
}
.sk-search-result-title { font-weight: 500; font-size: 15px; line-height: 1.5; }
.sk-search-result-subtitle { font-size: 12px; color: var(--sk-text-muted); margin-top: 4px; }

@media (max-width: 767px) {
  .sk-search-panel-inner { padding: 14px 12px; }
  .sk-search-input { height: 46px; font-size: 14px; padding-right: 80px; }
  .sk-search-close { padding: 6px 10px; font-size: 13px; }
}

/* ========== 最新消息列表 ========== */
.sk-news-page {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-news-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,.04);
  border: 1px solid rgba(46,125,50,.08);
}
.sk-news-intro-text { flex: 1; min-width: 0; }
.sk-news-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46,125,50,.1);
  color: var(--sk-primary-dark);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.sk-news-intro-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.sk-news-intro-text p {
  font-size: 14px;
  color: var(--sk-text-muted);
  line-height: 1.7;
  margin: 0;
}
.sk-news-count {
  flex-shrink: 0;
  text-align: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-radius: 16px;
  min-width: 110px;
  box-shadow: 0 10px 24px rgba(46,125,50,.25);
}
.sk-news-count-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.sk-news-count-label {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.9;
  letter-spacing: 1px;
}
.sk-news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.sk-news-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: var(--sk-transition);
}
.sk-news-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sk-primary), var(--sk-primary-dark));
  opacity: 0;
  transition: var(--sk-transition);
}
.sk-news-card:hover {
  border-color: rgba(46,125,50,.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(46,125,50,.1);
}
.sk-news-card:hover::before { opacity: 1; }
.sk-news-date {
  flex-shrink: 0;
  width: 96px;
  text-align: center;
  padding: 14px 10px;
  background: var(--sk-bg-soft);
  border-radius: 12px;
  align-self: center;
  border: 1px solid var(--sk-border);
}
.sk-news-card:hover .sk-news-date {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border-color: transparent;
  color: #fff;
}
.sk-news-day {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--sk-primary-dark);
  letter-spacing: -1px;
}
.sk-news-card:hover .sk-news-day { color: #fff; }
.sk-news-ym {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sk-text-muted);
  letter-spacing: 1px;
}
.sk-news-card:hover .sk-news-ym { color: rgba(255,255,255,.9); }
.sk-news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sk-news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--sk-text-muted);
}
.sk-news-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ff6b6b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.sk-news-time i { margin-right: 4px; }
.sk-news-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--sk-text);
  line-height: 1.5;
  transition: var(--sk-transition);
}
.sk-news-card:hover .sk-news-title { color: var(--sk-primary-dark); }
.sk-news-excerpt {
  margin: 0;
  font-size: 13px;
  color: var(--sk-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sk-news-arrow {
  flex-shrink: 0;
  align-self: center;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sk-text-muted);
  font-size: 14px;
  transition: var(--sk-transition);
}
.sk-news-card:hover .sk-news-arrow {
  color: var(--sk-primary);
  transform: translateX(4px);
}

/* 空狀態 */
.sk-empty {
  text-align: center;
  padding: 80px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px dashed var(--sk-border);
}
.sk-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sk-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--sk-text-muted);
}
.sk-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 8px;
}
.sk-empty p {
  margin: 0;
  color: var(--sk-text-muted);
  font-size: 14px;
}

@media (max-width: 767px) {
  .sk-news-intro { flex-direction: column; text-align: center; padding: 28px 24px; }
  .sk-news-count { width: 100%; }
  .sk-news-card { flex-direction: row; padding: 18px; gap: 14px; }
  .sk-news-date { width: 72px; padding: 10px 8px; }
  .sk-news-day { font-size: 24px; }
  .sk-news-arrow { display: none; }
}

/* ========== 最新消息詳情頁 ========== */
.sk-news-detail {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-article-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}
.sk-article-head {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--sk-border);
}
.sk-article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46,125,50,.1);
  color: var(--sk-primary-dark);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.sk-article-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--sk-text);
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin: 0 0 16px;
}
.sk-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 13px;
  color: var(--sk-text-muted);
}
.sk-article-meta i { margin-right: 6px; color: var(--sk-primary); }
.sk-article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--sk-text);
}
.sk-article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
.sk-article-content h2,
.sk-article-content h3 { color: var(--sk-primary-dark); margin-top: 28px; }
.sk-article-content a { color: var(--sk-primary-dark); text-decoration: underline; }
.sk-article-content blockquote {
  border-left: 4px solid var(--sk-primary);
  background: var(--sk-bg-soft);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 12px 12px 0;
  color: var(--sk-text);
}
.sk-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--sk-border);
  flex-wrap: wrap;
}
.sk-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--sk-bg-soft);
  color: var(--sk-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-article-back:hover {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: translateX(-4px);
}
.sk-article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sk-text-muted);
}
.sk-article-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sk-bg-soft);
  color: var(--sk-text);
  border: 1px solid var(--sk-border);
  transition: var(--sk-transition);
  cursor: pointer;
}
.sk-article-share-btn:hover {
  background: var(--sk-primary);
  color: #fff;
  border-color: var(--sk-primary);
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .sk-article-wrap { padding: 32px 22px; border-radius: 16px; }
  .sk-article-title { font-size: 22px; }
  .sk-article-meta { gap: 10px; font-size: 12px; }
}

/* ========== 技術文章列表頁 ========== */
.sk-article-page {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.sk-article-main { min-width: 0; }
.sk-article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sk-article-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--sk-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sk-article-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
}
.sk-article-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1.5px solid var(--sk-border);
  border-radius: 999px;
  color: var(--sk-text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-article-clear:hover {
  color: #d84859;
  border-color: #ffdbdb;
  background: #fff5f5;
}
.sk-article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sk-article-grid .sk-article-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  transition: var(--sk-transition);
  height: 100%;
  box-shadow: none;
  padding: 0;
}
.sk-article-grid .sk-article-card:hover {
  transform: translateY(-3px);
}
.sk-article-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sk-bg-soft);
  width: 100%;
  margin: 0;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  transition: var(--sk-transition);
}
.sk-article-grid .sk-article-card:hover .sk-article-thumb {
  box-shadow: 0 18px 40px rgba(46,125,50,.14);
}
.sk-article-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.sk-article-grid .sk-article-card:hover .sk-article-thumb img { transform: scale(1.06); }
.sk-article-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--sk-border);
}
.sk-article-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  color: var(--sk-primary-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.sk-article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 4px 0;
}
.sk-article-card-title {
  flex: 1;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--sk-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--sk-transition);
}
.sk-article-grid .sk-article-card:hover .sk-article-card-title { color: var(--sk-primary-dark); }
.sk-article-card-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: var(--sk-text-muted);
  padding-top: 12px;
  border-top: 1px dashed var(--sk-border);
}
.sk-article-card-meta i { margin-right: 4px; color: var(--sk-primary); }

/* 文章分頁 */
.sk-article-pagination {
  margin-top: 40px;
  text-align: center;
}
.sk-pagination-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(46,125,50,.25);
}
.sk-pagination-info {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--sk-text-muted);
}

/* 文章側欄 */
.sk-article-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}
.sk-aside-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-aside-head {
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-text);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--sk-bg-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sk-aside-head i { color: var(--sk-primary); }
.sk-aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sk-aside-list li { margin-bottom: 4px; }
.sk-aside-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--sk-text);
  font-size: 14px;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-aside-list li a i {
  font-size: 11px;
  color: var(--sk-text-muted);
  transition: var(--sk-transition);
}
.sk-aside-list li a:hover {
  background: var(--sk-bg-soft);
  color: var(--sk-primary-dark);
}
.sk-aside-list li a:hover i { color: var(--sk-primary); transform: translateX(2px); }
.sk-aside-list li.sk-aside-active a {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-weight: 600;
}
.sk-aside-list li.sk-aside-active a i { color: #fff; }
.sk-aside-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sk-aside-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--sk-bg-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--sk-text);
  font-size: 13px;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-aside-chip:hover {
  background: #fff;
  border-color: var(--sk-primary);
  color: var(--sk-primary-dark);
}
.sk-aside-chip-active {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}
.sk-aside-chip-active:hover { color: #fff; background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)); }
.sk-aside-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--sk-border);
  border-radius: 10px;
  color: var(--sk-primary-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  width: 100%;
  justify-content: center;
}
.sk-aside-toggle:hover {
  border-color: var(--sk-primary);
  background: var(--sk-bg-soft);
}

@media (max-width: 1199px) {
  .sk-article-layout { grid-template-columns: 1fr; }
  .sk-article-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .sk-aside-card { flex: 1 1 300px; }
}
@media (max-width: 767px) {
  .sk-article-grid { grid-template-columns: 1fr; }
  .sk-article-aside { flex-direction: column; }
}

/* ========== 公開課程 / 包班主題列表 ========== */
.sk-course-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sk-course-card {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 16px;
  transition: var(--sk-transition);
  position: relative;
  overflow: hidden;
}
.sk-course-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sk-primary), var(--sk-primary-dark));
  opacity: 0;
  transition: var(--sk-transition);
}
.sk-course-card:hover {
  border-color: rgba(46,125,50,.2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(46,125,50,.1);
}
.sk-course-card:hover::before { opacity: 1; }
.sk-course-date-block {
  text-align: center;
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  transition: var(--sk-transition);
}
.sk-course-card:hover .sk-course-date-block {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border-color: transparent;
  color: #fff;
}
.sk-course-date-day {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--sk-primary-dark);
}
.sk-course-card:hover .sk-course-date-day { color: #fff; }
.sk-course-date-mon {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sk-text-muted);
  letter-spacing: 1px;
}
.sk-course-card:hover .sk-course-date-mon { color: rgba(255,255,255,.9); }
.sk-course-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46,125,50,.1), rgba(27,94,32,.2));
  color: var(--sk-primary-dark);
  font-size: 30px;
  transition: var(--sk-transition);
}
.sk-course-card:hover .sk-course-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.sk-course-main { min-width: 0; }
.sk-course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.sk-course-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.sk-course-badge-hot {
  background: #fff;
  color: #b94a3b;
  border: 1px solid rgba(185,74,59,.28);
}
.sk-course-badge-field {
  background: #f6faf6;
  color: var(--sk-primary-dark);
  border: 1px solid rgba(46,125,50,.2);
}

/* Live status（開放報名）— Linear / Stripe 風 */
.sk-course-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  background: #fff;
  border: 1px solid rgba(46,125,50,.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sk-primary-dark);
  letter-spacing: 0.2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sk-course-status-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30b961;
  flex-shrink: 0;
}
.sk-course-status-dot::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #30b961;
  opacity: .4;
  animation: sk-status-pulse 1.8s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes sk-status-pulse {
  0% { transform: scale(1); opacity: .5; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-course-status-dot::before { animation: none; opacity: 0; }
}
.sk-course-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.sk-course-title a {
  color: var(--sk-text);
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-course-card:hover .sk-course-title a { color: var(--sk-primary-dark); }
.sk-course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--sk-text-muted);
  margin-bottom: 8px;
}
.sk-course-meta-row i { margin-right: 4px; color: var(--sk-primary); }
.sk-course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sk-course-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  border-radius: 999px;
  font-size: 11px;
  color: var(--sk-text-muted);
}
.sk-course-action { flex-shrink: 0; }
.sk-course-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--sk-bg-soft);
  border: 1.5px solid var(--sk-border);
  border-radius: 999px;
  color: var(--sk-primary-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
  white-space: nowrap;
}
.sk-course-btn i { transition: transform .3s ease; }
.sk-course-btn:hover {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border-color: transparent;
  color: #fff;
}
.sk-course-btn:hover i { transform: translateX(3px); }
.sk-course-card-pkg {
  grid-template-columns: 96px 1fr auto;
}

.sk-course-more-wrap { text-align: center; margin-top: 28px; }
.sk-course-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  border: 1.5px solid var(--sk-border);
  border-radius: 999px;
  color: var(--sk-primary-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-course-more-btn:hover {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46,125,50,.2);
}

/* 包班搜尋列 */
.sk-pkg-filter {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 10px;
  background: #fff;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--sk-border);
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}
.sk-pkg-search {
  position: relative;
}
.sk-pkg-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sk-text-muted);
}
.sk-pkg-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 40px;
  background: var(--sk-bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  transition: var(--sk-transition);
}
.sk-pkg-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}
.sk-pkg-select select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 16px;
  background: var(--sk-bg-soft) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 9L1 4h10L6 9z' fill='%23828282'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  color: var(--sk-text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-pkg-select select:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--sk-primary);
}
.sk-pkg-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  height: 44px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  white-space: nowrap;
}
.sk-pkg-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46,125,50,.25);
}
.sk-aside-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  background: var(--sk-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}
.sk-aside-active .sk-aside-count { background: #fff; color: var(--sk-primary-dark); }

@media (max-width: 767px) {
  .sk-course-card {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .sk-course-date-block {
    display: inline-block;
    min-width: 120px;
  }
  .sk-course-icon { margin: 0 auto; }
  .sk-course-meta-row, .sk-course-tags { justify-content: center; }
  .sk-course-action { width: 100%; }
  .sk-course-btn { width: 100%; justify-content: center; }
  .sk-pkg-filter { grid-template-columns: 1fr; }
}

/* ========== 關於我們頁 ========== */
.sk-about-page {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 40%);
}
.sk-about-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}
.sk-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(46,125,50,.1);
  color: var(--sk-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.sk-about-intro h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--sk-text);
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.sk-about-intro p {
  font-size: 16px;
  color: var(--sk-text-muted);
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto;
}
.sk-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.sk-stat-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--sk-border);
  transition: var(--sk-transition);
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
}
.sk-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(46,125,50,.12);
  border-color: rgba(46,125,50,.2);
}
.sk-stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46,125,50,.1), rgba(27,94,32,.18));
  color: var(--sk-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--sk-transition);
}
.sk-stat-card:hover .sk-stat-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.sk-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--sk-text);
  letter-spacing: -1.5px;
  line-height: 1;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sk-stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--sk-text-muted);
  font-weight: 500;
}
.sk-about-content {
  background: #fff;
  border-radius: 20px;
  padding: 56px 64px;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
  border: 1px solid var(--sk-border);
  font-size: 15px;
  line-height: 1.9;
  color: var(--sk-text);
}
.sk-about-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.sk-about-content h2,
.sk-about-content h3,
.sk-about-content h4 {
  color: var(--sk-primary-dark);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.sk-about-content h2 { font-size: 26px; position: relative; padding-bottom: 12px; }
.sk-about-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sk-primary), var(--sk-primary-dark));
}
.sk-about-content h3 { font-size: 20px; }
.sk-about-content h4 { font-size: 17px; }
.sk-about-content a { color: var(--sk-primary-dark); text-decoration: underline; }
.sk-about-content blockquote {
  border-left: 4px solid var(--sk-primary);
  background: var(--sk-bg-soft);
  padding: 16px 24px;
  margin: 20px 0;
  border-radius: 0 14px 14px 0;
}
.sk-about-content ul, .sk-about-content ol { padding-left: 24px; }
.sk-about-content ul li, .sk-about-content ol li { margin-bottom: 8px; }

.sk-about-cta {
  margin-top: 48px;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(46,125,50,.25);
}
.sk-about-cta::before,
.sk-about-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.sk-about-cta::before {
  width: 220px;
  height: 220px;
  top: -60px;
  right: -60px;
}
.sk-about-cta::after {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: 15%;
  background: rgba(255,255,255,.05);
}
.sk-about-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.sk-about-cta-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.sk-about-cta-text p {
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.7;
}
.sk-about-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sk-about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
  white-space: nowrap;
}
.sk-about-cta-primary {
  background: #fff;
  color: var(--sk-primary-dark);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.sk-about-cta-primary:hover {
  background: var(--sk-bg-soft);
  transform: translateY(-2px);
  color: var(--sk-primary-dark);
}
.sk-about-cta-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
}
.sk-about-cta-secondary:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .sk-about-stats { grid-template-columns: repeat(2, 1fr); }
  .sk-about-content { padding: 40px 28px; }
  .sk-about-intro h1 { font-size: 30px; }
}
@media (max-width: 575px) {
  .sk-about-cta { padding: 28px 22px; border-radius: 18px; }
  .sk-about-cta-inner { flex-direction: column; text-align: center; }
  .sk-about-cta-actions { width: 100%; justify-content: center; }
  .sk-about-intro h1 { font-size: 24px; }
  .sk-stat-num { font-size: 32px; }
}

/* ========== 系統訊息頁（錯誤/警告/資訊）========== */
.sk-msg-page {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.sk-msg-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #fff;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
  border: 1px solid var(--sk-border);
  position: relative;
  overflow: hidden;
}
.sk-msg-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--sk-primary);
}
.sk-msg-error::before { background: linear-gradient(90deg, #ff6b6b, #ee5a24); }
.sk-msg-warning::before { background: linear-gradient(90deg, #feca57, #ff9f43); }
.sk-msg-info::before { background: linear-gradient(90deg, #48dbfb, #0abde3); }
.sk-msg-success::before { background: linear-gradient(90deg, var(--sk-primary), var(--sk-primary-dark)); }
.sk-msg-success .sk-msg-icon {
  background: rgba(46,125,50,.12);
  color: var(--sk-primary-dark);
  animation: sk-msg-pop 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes sk-msg-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.sk-msg-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.sk-msg-error .sk-msg-icon {
  background: rgba(255,107,107,.12);
  color: #ee5a24;
  animation: sk-msg-shake 0.5s ease;
}
.sk-msg-warning .sk-msg-icon {
  background: rgba(254,202,87,.2);
  color: #ff9f43;
}
.sk-msg-info .sk-msg-icon {
  background: rgba(72,219,251,.18);
  color: #0abde3;
}
@keyframes sk-msg-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.sk-msg-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.sk-msg-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--sk-text-muted);
  margin: 0 0 28px;
}
.sk-msg-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.sk-msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-msg-btn-primary {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(46,125,50,.25);
}
.sk-msg-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46,125,50,.35);
}
.sk-msg-btn-ghost {
  background: var(--sk-bg-soft);
  color: var(--sk-text);
  border: 1.5px solid var(--sk-border);
}
.sk-msg-btn-ghost:hover {
  background: #fff;
  border-color: var(--sk-primary);
  color: var(--sk-primary-dark);
}
.sk-msg-tip {
  margin-top: 24px;
  padding: 12px 18px;
  background: rgba(72,219,251,.08);
  border-left: 3px solid #0abde3;
  border-radius: 8px;
  font-size: 13px;
  color: var(--sk-text-muted);
  text-align: left;
}
.sk-msg-tip i { color: #0abde3; margin-right: 6px; }
.sk-msg-tip a { color: var(--sk-primary-dark); text-decoration: underline; font-weight: 600; }

@media (max-width: 575px) {
  .sk-msg-card { padding: 32px 22px; }
  .sk-msg-icon { width: 72px; height: 72px; font-size: 28px; }
  .sk-msg-title { font-size: 18px; }
}

/* ========== 會員中心 (profile) ========== */
.sk-profile-page {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
  padding-top: 40px !important;
}
.sk-profile-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  padding: 28px 36px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 16px 40px rgba(46,125,50,.22);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}
.sk-profile-hero::before,
.sk-profile-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.sk-profile-hero::before {
  width: 180px; height: 180px; top: -40px; right: -30px;
}
.sk-profile-hero::after {
  width: 120px; height: 120px; bottom: -40px; left: 40%;
  background: rgba(255,255,255,.05);
}
.sk-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  z-index: 1;
}
.sk-profile-hero-info {
  flex: 1;
  min-width: 0;
  z-index: 1;
}
.sk-profile-hello {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.sk-profile-hello span { color: #fff; }
.sk-profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.88);
}
.sk-profile-hero-meta i { margin-right: 6px; opacity: 0.85; }
.sk-profile-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
  backdrop-filter: blur(8px);
  z-index: 1;
}
.sk-profile-logout:hover {
  background: rgba(255,255,255,.95);
  color: var(--sk-primary-dark);
  border-color: #fff;
  transform: translateY(-2px);
}

/* 原本隱藏 author 區塊 */
.sk-profile-page .student-profile-author { display: none; }

/* 側邊 tab */
.sk-profile-page .student-profile-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 20px !important;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  position: sticky;
  top: 90px;
}
.sk-profile-page .student-profile-sidebar .nav-tabs {
  border: none;
  flex-direction: column;
  gap: 4px;
}
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--sk-text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: var(--sk-transition);
  width: 100%;
}
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link i {
  width: 20px;
  color: var(--sk-text-muted);
  transition: var(--sk-transition);
}
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link:hover {
  background: var(--sk-bg-soft);
  color: var(--sk-primary-dark);
}
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link:hover i { color: var(--sk-primary); }
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link.active,
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link.active:hover,
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link.active:focus {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)) !important;
  background-color: var(--sk-primary) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(46,125,50,.25);
  --bs-nav-tabs-link-active-color: #fff;
  --bs-nav-tabs-link-active-bg: transparent;
  --bs-nav-tabs-link-active-border-color: transparent;
}
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link.active i,
.sk-profile-page .student-profile-sidebar .nav-tabs .nav-link.active span {
  color: #fff !important;
}

/* 主內容區 */
.sk-profile-page .student-profile-content {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-profile-page .student-profile-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-text);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sk-bg-soft);
  position: relative;
  display: inline-block;
}
.sk-profile-page .student-profile-content h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--sk-primary), var(--sk-primary-dark));
}

/* 資訊列表 */
.sk-profile-page .student-profile-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sk-profile-page .student-profile-info li {
  padding: 14px 18px;
  background: var(--sk-bg-soft);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: var(--sk-transition);
}
.sk-profile-page .student-profile-info li:hover {
  background: #fff;
  border-color: rgba(46,125,50,.15);
  box-shadow: 0 6px 18px rgba(46,125,50,.08);
}
.sk-profile-page .student-profile-info li h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--sk-text-muted);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sk-profile-page .student-profile-info li span {
  font-size: 15px;
  color: var(--sk-text);
  font-weight: 600;
  word-break: break-word;
  line-height: 1.55;
  display: inline-block;
  min-height: 23px;
}
/* 空值的欄位顯示 placeholder */
.sk-profile-page .student-profile-info li span:empty::before {
  content: "未填寫";
  color: var(--sk-text-muted);
  font-weight: 400;
  font-size: 13px;
  font-style: italic;
  opacity: 0.7;
}
/* h4 區塊分組標題補強 */
.sk-profile-page .student-profile-content > .tab-content h4,
.sk-profile-page .tab-pane h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.sk-profile-page .tab-pane h4::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--sk-primary), var(--sk-primary-dark));
}
.sk-profile-page .sidebar__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #fff;
  color: var(--sk-primary-dark);
  border: 1px solid rgba(46,125,50,.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin: 3px 5px 3px 0;
  transition: var(--sk-transition);
}
.sk-profile-page .sidebar__tag::before {
  content: "#";
  color: var(--sk-primary);
  margin-right: 4px;
  font-weight: 700;
}

/* 表格 */
.sk-profile-page .your-order-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sk-border);
}
.sk-profile-page table.datatables-basic {
  width: 100%;
  border-collapse: collapse;
}
.sk-profile-page table.datatables-basic thead th {
  background: var(--sk-bg-soft);
  color: var(--sk-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 12px;
  border-bottom: 2px solid var(--sk-border);
  white-space: nowrap;
}
.sk-profile-page table.datatables-basic tbody td {
  padding: 14px 12px;
  font-size: 13px;
  vertical-align: middle;
  border-bottom: 1px solid var(--sk-bg-soft);
}
.sk-profile-page table.datatables-basic tbody tr:hover td { background: var(--sk-bg-soft); }
.sk-profile-page table.datatables-basic tbody tr.bg-light td { opacity: 0.65; }
.sk-profile-page .status-color,
.sk-profile-page .payment-color {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.sk-profile-page .status-color-1, .sk-profile-page .payment-color-1 {
  background: rgba(255,107,107,.12);
  color: #e74c3c;
}
.sk-profile-page .status-color-2, .sk-profile-page .payment-color-3 {
  background: rgba(46,125,50,.12);
  color: var(--sk-primary-dark);
}
.sk-profile-page .payment-color-2 {
  background: rgba(254,202,87,.2);
  color: #b8770b;
}
.sk-profile-page .payment-color-4 {
  background: rgba(120,120,120,.12);
  color: #555;
}
.sk-profile-page .order-btn {
  display: inline-block;
  padding: 5px 12px;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sk-text);
  text-decoration: none;
  margin: 2px;
  transition: var(--sk-transition);
  cursor: pointer;
}
.sk-profile-page .order-btn:hover {
  background: var(--sk-primary);
  color: #fff;
  border-color: var(--sk-primary);
}

/* 設定頁表單 */
.sk-profile-page .student-profile-settings h4 {
  display: block;
  margin: 20px 0 16px;
}
.sk-profile-page .checkout-form-list label.form-label,
.sk-profile-page .country-select label.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: 6px;
}
.sk-profile-page .checkout-form-list .form-control,
.sk-profile-page .country-select select {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--sk-border);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  transition: var(--sk-transition);
}
.sk-profile-page .checkout-form-list textarea.form-control {
  height: auto;
  padding: 12px 14px;
}
.sk-profile-page .checkout-form-list .form-control:focus,
.sk-profile-page .country-select select:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}
.sk-profile-page .change-btn {
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(46,125,50,.1);
  border: 1px solid rgba(46,125,50,.2);
  border-radius: 999px;
  color: var(--sk-primary-dark);
  font-weight: 600;
  cursor: pointer;
}
.sk-profile-page .change-btn:hover {
  background: var(--sk-primary);
  color: #fff;
}
.sk-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
}
.sk-profile-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  height: auto !important;
  width: auto !important;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: var(--sk-transition);
  box-shadow: 0 8px 20px rgba(46,125,50,.22);
  text-decoration: none;
}
.sk-profile-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46,125,50,.35);
  color: #fff !important;
  background: linear-gradient(135deg, var(--sk-primary-dark), var(--sk-primary)) !important;
}
.sk-profile-submit i { font-size: 13px; }
@media (max-width: 575px) {
  .sk-form-actions { justify-content: stretch; }
  .sk-profile-submit { width: 100% !important; justify-content: center; }
}

/* 設定 Tab2 */
.sk-profile-page #myTab2 {
  gap: 4px;
  border-bottom: 2px solid var(--sk-bg-soft);
  padding-bottom: 0;
}
.sk-profile-page #myTab2 .nav-link {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
}
.sk-profile-page #myTab2 .nav-link.active {
  color: var(--sk-primary-dark);
  border-bottom-color: var(--sk-primary);
}
.sk-profile-page .fielddiv label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sk-bg-soft);
  cursor: pointer;
  font-size: 13px;
  transition: var(--sk-transition);
}
.sk-profile-page .fielddiv label:has(input:checked) {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
}

@media (max-width: 991px) {
  .sk-profile-page .student-profile-sidebar {
    position: static;
    margin-bottom: 20px;
  }
  .sk-profile-page .student-profile-sidebar .nav-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sk-profile-page .student-profile-info { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .sk-profile-hero { flex-direction: column; text-align: center; padding: 28px 20px; }
  .sk-profile-hero-meta { justify-content: center; }
  .sk-profile-page .student-profile-content { padding: 22px; }
}

/* ========== 搜尋結果頁（course / package / topic）========== */
.sk-search-result-page {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-search-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(46,125,50,.1);
  color: var(--sk-primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 10px;
}
.sk-search-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--sk-text);
  letter-spacing: -0.3px;
}
.sk-search-highlight {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 4px;
}
.sk-search-header p {
  margin: 0;
  font-size: 13px;
  color: var(--sk-text-muted);
}
.sk-search-header p strong {
  color: var(--sk-primary-dark);
  font-weight: 700;
  font-size: 15px;
}
.sk-search-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--sk-bg-soft);
  border: 1.5px solid var(--sk-border);
  border-radius: 999px;
  color: var(--sk-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-search-back:hover {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-color: transparent;
  transform: translateX(-3px);
}
.sk-course-btn-disabled {
  background: #f5f5f5 !important;
  border-color: #e5e5e5 !important;
  color: #999 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}
.sk-course-btn-disabled:hover { transform: none !important; background: #f5f5f5 !important; color: #999 !important; }

@media (max-width: 767px) {
  .sk-search-header { flex-direction: column; text-align: center; padding: 24px 20px; }
  .sk-search-back { width: 100%; justify-content: center; }
}

/* ========== 報名流程 / 訂單頁面（checkout 共用包裝）========== */
.sk-signup-page {
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 20%);
  padding-top: 48px !important;
  padding-bottom: 80px !important;
}
.sk-signup-intro {
  background: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 28px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
.sk-signup-intro h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 10px 0 14px;
  letter-spacing: -0.3px;
}
.sk-signup-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--sk-text-muted);
}
.sk-signup-info i {
  margin-right: 6px;
  color: var(--sk-primary);
}

.sk-signup-page .checkbox-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-signup-page .checkbox-form h4,
.sk-signup-page .checkbox-form h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--sk-text);
  padding-bottom: 10px;
  margin-top: 8px;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.sk-signup-page .checkbox-form h4 {
  font-size: 18px;
  padding-bottom: 12px;
}
.sk-signup-page .checkbox-form h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--sk-primary), var(--sk-primary-dark));
}
.sk-signup-page .checkbox-form hr {
  border-color: var(--sk-bg-soft);
  margin: 24px 0;
  border-width: 1px 0 0;
}
.sk-signup-page .checkout-form-list label.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: 6px;
}
.sk-signup-page .checkout-form-list .form-control,
.sk-signup-page .country-select,
.sk-signup-page .checkout-form-list { width: 100%; }
.sk-signup-page select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1.5px solid var(--sk-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--sk-text);
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23828282' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: var(--sk-transition);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  line-height: 1.4;
  display: block;
  box-sizing: border-box;
}
.sk-signup-page select:hover { border-color: var(--sk-primary); }
.sk-signup-page .checkout-form-list .form-control:focus,
.sk-signup-page .country-select select:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}
.sk-signup-page .checkout-form-list .form-control[readonly] {
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
}
.sk-signup-page .your-order {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  position: sticky;
  top: 90px;
}
.sk-signup-page .your-order h3,
.sk-signup-page .your-order h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--sk-text);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--sk-bg-soft);
}
.sk-signup-page .item-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--sk-border);
}
.sk-signup-page .item-amount:last-child { border-bottom: none; padding-top: 14px; }
.sk-signup-page .item-amount .item { color: var(--sk-text); }
.sk-signup-page .item-amount .amount {
  color: var(--sk-text);
  font-weight: 600;
}
.sk-signup-page .item-amount:last-child .amount {
  font-size: 20px;
  color: var(--sk-primary-dark) !important;
}
.sk-signup-page .sign-check,
.sk-signup-page .signup-checkbo {
  font-size: 13px;
  color: var(--sk-text);
}

/* 報名按鈕 */
.sk-signup-page .cont-btn,
.sk-signup-page button.cont-btn,
.sk-signup-page .sign-btn,
.sk-signup-page button[type="submit"]:not(.order-btn):not(.sk-msg-btn):not(.sk-auth-submit) {
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border: none;
  border-radius: 999px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  box-shadow: 0 10px 24px rgba(46,125,50,.22);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sk-signup-page .cont-btn:hover,
.sk-signup-page .sign-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46,125,50,.32);
  color: #fff !important;
}

@media (max-width: 991px) {
  .sk-signup-page .your-order { position: static; margin-top: 20px; }
}
@media (max-width: 575px) {
  .sk-signup-page .checkbox-form { padding: 22px; }
  .sk-signup-intro { padding: 22px; }
  .sk-signup-intro h2 { font-size: 19px; }
}

/* ========== 包班主題詳情頁 ========== */
.sk-pkg-detail-page {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-pkg-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.sk-pkg-detail-main { min-width: 0; }
.sk-pkg-detail-head {
  background: linear-gradient(135deg, rgba(46,125,50,.06), rgba(27,94,32,.1));
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 24px;
  border: 1px solid rgba(46,125,50,.1);
  position: relative;
  overflow: hidden;
}
.sk-pkg-detail-head::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  background: rgba(46,125,50,.06);
  border-radius: 50%;
}
.sk-pkg-detail-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.sk-pkg-field-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.sk-pkg-detail-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.sk-pkg-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--sk-text-muted);
  position: relative;
  z-index: 1;
}
.sk-pkg-detail-meta i {
  margin-right: 6px;
  color: var(--sk-primary);
}
.sk-pkg-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.sk-pkg-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--sk-text);
}
.sk-pkg-tag i {
  margin-right: 4px;
  color: var(--sk-primary);
  font-size: 10px;
}
.sk-pkg-detail-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 20px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
}
.sk-pkg-detail-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sk-bg-soft);
}
.sk-pkg-detail-section-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(46,125,50,.25);
}
.sk-pkg-detail-section-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-pkg-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk-pkg-related-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--sk-bg-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-pkg-related-item:hover {
  background: #fff;
  border-color: rgba(46,125,50,.2);
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(46,125,50,.1);
}
.sk-pkg-related-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(46,125,50,.1);
  color: var(--sk-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sk-pkg-related-item:hover .sk-pkg-related-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
}
.sk-pkg-related-body { flex: 1; min-width: 0; }
.sk-pkg-related-body h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-pkg-related-body span {
  font-size: 12px;
  color: var(--sk-text-muted);
}
.sk-pkg-related-body span i { margin-right: 4px; color: var(--sk-primary); }
.sk-pkg-related-arrow {
  color: var(--sk-text-muted);
  transition: var(--sk-transition);
}
.sk-pkg-related-item:hover .sk-pkg-related-arrow {
  color: var(--sk-primary-dark);
  transform: translateX(4px);
}

.sk-pkg-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
}
.sk-pkg-contact-card p {
  font-size: 13px;
  color: var(--sk-text-muted);
  line-height: 1.8;
  margin: 0 0 14px;
}
.sk-pkg-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
  box-shadow: 0 8px 20px rgba(46,125,50,.22);
}
.sk-pkg-contact-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46,125,50,.32);
}

/* FAQ Accordion */
.sk-faq-accordion .accordion-item {
  background: transparent;
  border: 1px solid var(--sk-border);
  border-radius: 12px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.sk-faq-accordion .accordion-button {
  background: var(--sk-bg-soft);
  padding: 14px 44px 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  box-shadow: none !important;
  border: none;
  border-radius: 0 !important;
  text-align: left;
  line-height: 1.5;
}
.sk-faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
}
.sk-faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 9L1 4h10L6 9z' fill='%23828282'/%3E%3C/svg%3E");
  background-size: 12px;
}
.sk-faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 9L1 4h10L6 9z' fill='white'/%3E%3C/svg%3E");
}
.sk-faq-accordion .accordion-body {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sk-text);
  background: #fff;
}
.sk-faq-accordion .accordion-body h4 {
  font-size: 13px;
  line-height: 1.8;
  color: var(--sk-text);
  margin: 0;
  font-weight: 400;
}

@media (max-width: 1199px) {
  .sk-pkg-detail-layout { grid-template-columns: 1fr; }
  .sk-pkg-detail-aside { position: static; }
}
@media (max-width: 767px) {
  .sk-pkg-detail-head { padding: 28px 22px; }
  .sk-pkg-detail-title { font-size: 22px; }
  .sk-pkg-detail-card { padding: 22px; }
}

/* 主題詳情頁（無側欄）窄版佈局 */
.sk-pkg-detail-layout-narrow {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}
.sk-topic-cta-card {
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%) !important;
  border: none !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sk-topic-cta-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.sk-topic-cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.sk-topic-cta-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.sk-topic-cta-text {
  flex: 1;
  min-width: 200px;
}
.sk-topic-cta-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.sk-topic-cta-text p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}
.sk-topic-cta-card .sk-pkg-contact-btn {
  width: auto;
  flex-shrink: 0;
  background: #fff;
  color: var(--sk-primary-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.sk-topic-cta-card .sk-pkg-contact-btn:hover {
  background: var(--sk-bg-soft);
  color: var(--sk-primary-dark);
}

/* ========== 分享卡 (Share Card) ========== */
.sk-share-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  margin-top: 18px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-share-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-text);
  margin-bottom: 6px;
}
.sk-share-head i {
  color: var(--sk-primary);
  font-size: 14px;
}
.sk-share-desc {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--sk-text-muted);
  line-height: 1.7;
}
.sk-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sk-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--sk-bg-soft);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--sk-text);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--sk-transition);
  text-align: center;
  line-height: 1.3;
}
.sk-share-btn i {
  font-size: 18px;
  transition: var(--sk-transition);
}
.sk-share-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.sk-share-btn-line:hover { color: #06c755; border-color: #06c755; }
.sk-share-btn-line:hover i { color: #06c755; }
.sk-share-btn-fb:hover { color: #1877f2; border-color: #1877f2; }
.sk-share-btn-fb:hover i { color: #1877f2; }
.sk-share-btn-x:hover { color: #000; border-color: #000; }
.sk-share-btn-x:hover i { color: #000; }
.sk-share-btn-mail:hover { color: var(--sk-primary-dark); border-color: var(--sk-primary); }
.sk-share-btn-mail:hover i { color: var(--sk-primary); }
.sk-share-btn-copy:hover { color: var(--sk-primary-dark); border-color: var(--sk-primary); }
.sk-share-btn-copy:hover i { color: var(--sk-primary); }
.sk-share-btn-qr:hover { color: #6c5ce7; border-color: #6c5ce7; }
.sk-share-btn-qr:hover i { color: #6c5ce7; }

/* QR Modal */
.sk-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sk-qr-modal.show { display: flex; animation: sk-qr-fade .2s ease; }
@keyframes sk-qr-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.sk-qr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.sk-qr-modal-inner {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
  animation: sk-qr-pop .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes sk-qr-pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.sk-qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
  cursor: pointer;
  transition: var(--sk-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sk-qr-close:hover {
  background: var(--sk-primary);
  color: #fff;
}
.sk-qr-modal-inner h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-qr-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--sk-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sk-qr-img-wrap {
  background: var(--sk-bg-soft);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  display: inline-block;
}
.sk-qr-img-wrap img {
  display: block;
  width: 240px;
  height: 240px;
  margin: 0 auto;
}
.sk-qr-url {
  font-size: 11px;
  color: var(--sk-text-muted);
  word-break: break-all;
  margin: 0 0 14px;
  padding: 8px 12px;
  background: var(--sk-bg-soft);
  border-radius: 8px;
  line-height: 1.5;
}
.sk-qr-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  border: none;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sk-transition);
  box-shadow: 0 8px 20px rgba(46,125,50,.22);
}
.sk-qr-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46,125,50,.32);
}

/* Mini toast */
.sk-mini-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translate(-50%, -20px);
  padding: 12px 22px;
  background: rgba(27,94,32,.95);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(46,125,50,.35);
  backdrop-filter: blur(10px);
  opacity: 0;
  z-index: 10000;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.sk-mini-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 575px) {
  .sk-qr-modal-inner { padding: 28px 22px 22px; }
  .sk-qr-img-wrap img { width: 200px; height: 200px; }
}

/* ========== 390px 手機版細修（iPhone 14/15 基準）========== */
@media (max-width: 430px) {
  /* 全域容器內距統一 */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero breadcrumb 小字 */
  .hero-arera .hero-course-1-text h2 { font-size: 22px; line-height: 1.35; }
  .hero-arera .breadcrumb { font-size: 12px; flex-wrap: wrap; }

  /* ======= 共用卡片系列 ======= */
  .sk-auth-page { padding: 32px 0 56px; }
  .sk-about-page, .sk-news-page, .sk-article-page, .sk-pkg-detail-page,
  .sk-search-result-page { padding: 32px 0 56px; }

  /* ======= 註冊/登入寬版 ======= */
  .sk-auth-wide { width: 100%; padding-left: 12px; padding-right: 12px; }
  .sk-auth-card-wide .sk-auth-main { padding: 28px 18px; }
  .sk-auth-card-wide .sk-field-chips { grid-template-columns: 1fr 1fr; }
  .sk-section-head { gap: 10px; }
  .sk-section-num { width: 30px; height: 30px; font-size: 11px; }
  .sk-section-head h3 { font-size: 15px; }
  .sk-auth-form .sk-auth-label { font-size: 12px; }

  /* ======= 新消息列表 ======= */
  .sk-news-intro { padding: 22px 18px; }
  .sk-news-intro-text h2 { font-size: 22px; }
  .sk-news-intro-text p { font-size: 13px; }
  .sk-news-count { padding: 12px 18px; min-width: auto; }
  .sk-news-count-num { font-size: 26px; }
  .sk-news-card { padding: 14px; gap: 10px; }
  .sk-news-date { width: 60px; padding: 8px 4px; }
  .sk-news-day { font-size: 20px; }
  .sk-news-ym { font-size: 10px; letter-spacing: 0.5px; }
  .sk-news-title { font-size: 14px; }
  .sk-news-excerpt { font-size: 12px; -webkit-line-clamp: 2; }

  /* 新消息詳情 */
  .sk-article-wrap { padding: 24px 18px; border-radius: 14px; }
  .sk-article-title { font-size: 20px; }
  .sk-article-footer { flex-direction: column; align-items: stretch; }
  .sk-article-back, .sk-article-share { justify-content: center; }
  .sk-article-share { flex-wrap: wrap; }

  /* ======= 文章列表 ======= */
  .sk-article-header h2 { font-size: 18px; }
  .sk-article-grid { grid-template-columns: 1fr; gap: 14px; }
  .sk-article-card-title { font-size: 14px; }
  .sk-article-chip { font-size: 10px; padding: 4px 10px; }

  /* 側欄（文章/課程共用）*/
  .sk-aside-card { padding: 18px; }
  .sk-aside-head { font-size: 14px; }
  .sk-aside-list li a { padding: 9px 12px; font-size: 13px; }
  .sk-aside-chip { font-size: 12px; padding: 5px 12px; }

  /* ======= 課程/包班卡片 ======= */
  .sk-course-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }
  .sk-course-card::before { width: 3px; }
  .sk-course-date-block { padding: 10px; min-width: 0; display: block; width: 100%; text-align: center; }
  .sk-course-date-day { font-size: 22px; }
  .sk-course-icon { width: 60px; height: 60px; font-size: 22px; border-radius: 14px; }
  .sk-course-title { font-size: 15px; }
  .sk-course-meta-row { font-size: 12px; gap: 10px; }
  .sk-course-btn { padding: 10px 18px; font-size: 12px; }

  /* 包班搜尋列 */
  .sk-pkg-filter { grid-template-columns: 1fr; padding: 12px; gap: 8px; }
  .sk-pkg-submit { width: 100%; }

  /* ======= 關於我們 ======= */
  .sk-about-intro h1 { font-size: 22px; }
  .sk-about-intro p { font-size: 13px; line-height: 1.8; }
  .sk-about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sk-stat-card { padding: 20px 12px; }
  .sk-stat-icon { width: 48px; height: 48px; font-size: 18px; border-radius: 14px; margin-bottom: 10px; }
  .sk-stat-num { font-size: 28px; }
  .sk-stat-label { font-size: 11px; }
  .sk-about-content { padding: 24px 18px; font-size: 14px; line-height: 1.8; border-radius: 14px; }
  .sk-about-content h2 { font-size: 20px; }
  .sk-about-content h3 { font-size: 17px; }
  .sk-about-cta { padding: 24px 18px; border-radius: 16px; }
  .sk-about-cta-text h3 { font-size: 18px; }
  .sk-about-cta-text p { font-size: 13px; }
  .sk-about-cta-btn { font-size: 13px; padding: 12px 22px; }

  /* ======= 訊息/狀態頁 ======= */
  .sk-msg-page { padding: 50px 0; min-height: 60vh; }
  .sk-msg-card { padding: 28px 20px; border-radius: 18px; }
  .sk-msg-icon { width: 66px; height: 66px; font-size: 26px; margin-bottom: 18px; }
  .sk-msg-title { font-size: 17px; }
  .sk-msg-desc { font-size: 13px; line-height: 1.75; }
  .sk-msg-btn { padding: 11px 20px; font-size: 13px; width: 100%; justify-content: center; }
  .sk-msg-actions { flex-direction: column; }

  /* ======= Profile 會員中心 ======= */
  .sk-profile-hero {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 14px;
  }
  .sk-profile-hero-meta { justify-content: center; font-size: 12px; gap: 10px; }
  .sk-profile-avatar { width: 60px; height: 60px; font-size: 24px; border-radius: 16px; }
  .sk-profile-hello { font-size: 18px; }
  .sk-profile-logout { padding: 8px 16px; font-size: 12px; width: 100%; justify-content: center; }
  .sk-profile-page .student-profile-content { padding: 20px; }
  .sk-profile-page .student-profile-sidebar { padding: 14px !important; }
  .sk-profile-page .student-profile-sidebar .nav-tabs .nav-link {
    padding: 10px 14px;
    font-size: 13px;
  }
  .sk-profile-page table.datatables-basic {
    font-size: 11px;
  }
  .sk-profile-page table.datatables-basic thead th,
  .sk-profile-page table.datatables-basic tbody td {
    padding: 10px 6px;
  }

  /* ======= 搜尋結果頁 ======= */
  .sk-search-header { padding: 22px 18px; }
  .sk-search-header h2 { font-size: 18px; }

  /* ======= 包班/主題 詳情頁 ======= */
  .sk-pkg-detail-head { padding: 24px 18px; border-radius: 16px; }
  .sk-pkg-detail-title { font-size: 20px; letter-spacing: 0; }
  .sk-pkg-detail-meta { gap: 10px; font-size: 13px; }
  .sk-pkg-detail-card { padding: 22px 18px; border-radius: 14px; }
  .sk-pkg-detail-section-head { gap: 10px; margin-bottom: 16px; padding-bottom: 12px; }
  .sk-pkg-detail-section-num { width: 32px; height: 32px; font-size: 13px; }
  .sk-pkg-detail-section-head h2 { font-size: 17px; }
  .sk-pkg-related-item { padding: 12px; gap: 10px; }
  .sk-pkg-related-icon { width: 38px; height: 38px; font-size: 15px; }
  .sk-pkg-related-body h4 { font-size: 13px; }
  .sk-pkg-related-arrow { display: none; }
  .sk-topic-cta-inner { flex-direction: column; text-align: center; }
  .sk-topic-cta-card .sk-pkg-contact-btn { width: 100%; }

  /* ======= 分享卡 & QR Modal ======= */
  .sk-share-card { padding: 18px; }
  .sk-share-head { font-size: 14px; }
  .sk-share-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .sk-share-btn { padding: 10px 4px; font-size: 10px; }
  .sk-share-btn i { font-size: 16px; }
  .sk-qr-modal-inner { padding: 24px 18px 20px; max-width: 94vw; }
  .sk-qr-img-wrap { padding: 10px; }
  .sk-qr-img-wrap img { width: 180px; height: 180px; }

  /* ======= 報名頁 ======= */
  .sk-signup-page .checkbox-form { padding: 20px 16px; }
  .sk-signup-intro { padding: 18px 16px; border-radius: 14px; }
  .sk-signup-intro h2 { font-size: 17px; }
  .sk-signup-info { gap: 10px; font-size: 12px; }
  .sk-signup-page .your-order { padding: 22px 18px; }

  /* ======= Course 詳情 signup card ======= */
  .sk-course-detail-card { padding: 24px 18px; }
  .sk-course-title { font-size: 20px; line-height: 1.4; }
  .sk-course-tagline { font-size: 13px; }
  .sk-course-meta-item { font-size: 12px; }
  .sk-course-section { padding: 20px 0 0; }
  .sk-course-section-title { font-size: 15px; }
  .sk-course-signup-card { padding: 22px 18px; border-radius: 16px; }
  .sk-course-signup-btn { padding: 12px 20px; font-size: 14px; }

  /* Mini toast */
  .sk-mini-toast { top: 70px; font-size: 12px; padding: 10px 18px; max-width: 80vw; text-align: center; }
}

/* iPhone SE / 360px 更小螢幕 */
@media (max-width: 374px) {
  .sk-about-stats { grid-template-columns: 1fr; }
  .sk-auth-card-wide .sk-field-chips { grid-template-columns: 1fr; }
  .sk-share-grid { grid-template-columns: 1fr 1fr; }
  .sk-news-intro-text h2 { font-size: 19px; }
  .sk-about-intro h1 { font-size: 20px; }
}

/* ========== 文章頁 Hero（精選 + 最新）========== */
.sk-article-hero {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sk-hero-section-head {
  margin-bottom: 22px;
}
.sk-hero-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.sk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(46,125,50,.12), rgba(27,94,32,.18));
  color: var(--sk-primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.sk-hero-eyebrow-latest {
  background: linear-gradient(135deg, rgba(254,202,87,.18), rgba(255,159,67,.18));
  color: #b8770b;
}
.sk-hero-section-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.sk-hero-section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--sk-text-muted);
  line-height: 1.7;
}
.sk-hero-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  border: 1.5px solid var(--sk-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-hero-more:hover {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-color: transparent;
  transform: translateX(3px);
}
.sk-hero-more:hover i { transform: translateX(2px); }
.sk-hero-more i { transition: transform .25s ease; }

/* 精選文章 3 欄佈局（1 大 + 2 小）*/
.sk-hero-featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 440px;
}
.sk-hero-featured-main {
  grid-row: span 2;
}
.sk-hero-featured-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--sk-border);
  transition: var(--sk-transition);
  position: relative;
}
.sk-hero-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(46,125,50,.15);
  border-color: rgba(46,125,50,.2);
}
.sk-hero-featured-thumb {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--sk-bg-soft);
}
.sk-hero-featured-main .sk-hero-featured-thumb {
  aspect-ratio: 16/10;
}
.sk-hero-featured-side {
  flex-direction: row;
}
.sk-hero-featured-side .sk-hero-featured-thumb {
  width: 40%;
  min-height: 100%;
}
.sk-hero-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sk-hero-featured-card:hover .sk-hero-featured-thumb img { transform: scale(1.06); }
.sk-hero-featured-thumb .sk-article-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--sk-border);
}
.sk-hero-featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}
.sk-hero-featured-side .sk-hero-featured-body {
  padding: 16px 18px;
}
.sk-hero-featured-cat {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(46,125,50,.1);
  color: var(--sk-primary-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.sk-hero-featured-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--sk-text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--sk-transition);
}
.sk-hero-featured-side .sk-hero-featured-body h3 {
  font-size: 14px;
  -webkit-line-clamp: 3;
}
.sk-hero-featured-card:hover .sk-hero-featured-body h3 { color: var(--sk-primary-dark); }
.sk-hero-featured-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--sk-text-muted);
  padding-top: 10px;
  border-top: 1px dashed var(--sk-border);
}
.sk-hero-featured-meta i { margin-right: 4px; color: var(--sk-primary); }
.sk-hero-featured-side .sk-hero-featured-meta {
  font-size: 10px;
  padding-top: 6px;
}

/* 最新文章橫向清單（4 欄）*/
.sk-hero-latest-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sk-hero-latest-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--sk-border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--sk-transition);
}
.sk-hero-latest-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,159,67,.3);
  box-shadow: 0 16px 36px rgba(255,159,67,.1);
}
.sk-hero-latest-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--sk-bg-soft);
}
.sk-hero-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sk-hero-latest-item:hover .sk-hero-latest-thumb img { transform: scale(1.05); }
.sk-hero-latest-thumb .sk-article-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--sk-border);
}
.sk-hero-latest-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sk-hero-latest-cat {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255,159,67,.15);
  color: #b8770b;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  align-self: flex-start;
}
.sk-hero-latest-body h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--sk-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  transition: var(--sk-transition);
}
.sk-hero-latest-item:hover .sk-hero-latest-body h4 { color: #b8770b; }
.sk-hero-latest-meta {
  font-size: 11px;
  color: var(--sk-text-muted);
}
.sk-hero-latest-meta i { margin-right: 4px; color: #ff9f43; }

@media (max-width: 991px) {
  .sk-article-hero { gap: 32px; margin-bottom: 32px; }
  .sk-hero-section-head { margin-bottom: 18px; }
  .sk-hero-section-head h2 { font-size: 22px; }
  .sk-hero-section-head p { font-size: 12.5px; }
  .sk-hero-featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    gap: 12px;
  }
  .sk-hero-featured-main { grid-row: auto; }
  .sk-hero-featured-main .sk-hero-featured-thumb { aspect-ratio: 16/9; }
  .sk-hero-featured-side { flex-direction: row; }
  .sk-hero-featured-side .sk-hero-featured-thumb { width: 38%; min-height: 120px; }
  .sk-hero-featured-body { padding: 18px 20px; }
  .sk-hero-featured-side .sk-hero-featured-body { padding: 14px 16px; }
  .sk-hero-featured-body h3 { font-size: 16px; -webkit-line-clamp: 3; }
  .sk-hero-featured-side .sk-hero-featured-body h3 { font-size: 13px; }
  .sk-hero-latest-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sk-hero-latest-body h4 { font-size: 12.5px; }
}
@media (max-width: 767px) {
  .sk-article-layout { gap: 22px; }
  .sk-article-aside { position: static; flex-direction: column !important; gap: 14px; }
  .sk-article-page { padding: 32px 0 56px; }
  .sk-hero-section-head-row { gap: 10px; }
  .sk-hero-more { padding: 6px 14px; font-size: 12px; }
}
@media (max-width: 575px) {
  .sk-article-hero { gap: 26px; margin-bottom: 26px; }
  .sk-hero-section-head h2 { font-size: 20px; }
  .sk-hero-featured-main .sk-hero-featured-thumb { aspect-ratio: 4/3; }
  .sk-hero-featured-side { flex-direction: column; }
  .sk-hero-featured-side .sk-hero-featured-thumb { width: 100%; aspect-ratio: 16/9; min-height: 0; }
  .sk-hero-featured-body h3 { font-size: 15px; }
  .sk-hero-featured-side .sk-hero-featured-body h3 { font-size: 15px; }
  .sk-hero-latest-list { grid-template-columns: 1fr; }
  .sk-hero-latest-thumb { aspect-ratio: 16/10; }
  .sk-article-grid { gap: 20px; }
}
@media (max-width: 430px) {
  .sk-article-hero { gap: 22px; margin-bottom: 22px; }
  .sk-hero-eyebrow { font-size: 11px; padding: 4px 12px; margin-bottom: 8px; }
  .sk-hero-section-head h2 { font-size: 18px; }
  .sk-hero-section-head p { font-size: 12px; line-height: 1.7; }
  .sk-hero-featured-body { padding: 16px 16px 18px; }
  .sk-hero-featured-body h3 { font-size: 14px; }
  .sk-hero-featured-cat { font-size: 10px; padding: 2px 8px; }
  .sk-hero-featured-meta { font-size: 10px; gap: 10px; padding-top: 8px; }
}

/* ========== 文章詳情側欄：精選 / 最新 ========== */
.sk-sidebar-featured .sk-sidebar-title i { color: var(--sk-primary); }
.sk-sidebar-latest .sk-sidebar-title i { color: #ff9f43; }

.sk-sidebar-featured-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sk-sidebar-featured-item + .sk-sidebar-featured-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--sk-border);
}
.sk-sidebar-featured-item > a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: var(--sk-transition);
}
.sk-sidebar-featured-thumb {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sk-bg-soft);
  position: relative;
  flex-shrink: 0;
}
.sk-sidebar-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.sk-sidebar-featured-item a:hover .sk-sidebar-featured-thumb img { transform: scale(1.08); }
.sk-sidebar-featured-thumb .sk-article-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--sk-border);
}
.sk-sidebar-featured-body {
  min-width: 0;
}
.sk-sidebar-featured-body h4 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sk-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--sk-transition);
}
.sk-sidebar-featured-item a:hover .sk-sidebar-featured-body h4 { color: #ee5a24; }
.sk-sidebar-featured-body span {
  font-size: 11px;
  color: var(--sk-text-muted);
}
.sk-sidebar-featured-body span i { margin-right: 3px; color: #ee5a24; }

/* 最新文章（小圖 + 標題） */
.sk-sidebar-latest-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.sk-sidebar-latest-item + .sk-sidebar-latest-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--sk-border);
}
.sk-sidebar-latest-item > a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.sk-sidebar-latest-thumb {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sk-bg-soft);
  position: relative;
  flex-shrink: 0;
}
.sk-sidebar-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.sk-sidebar-latest-item a:hover .sk-sidebar-latest-thumb img { transform: scale(1.08); }
.sk-sidebar-latest-thumb .sk-article-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--sk-border);
}
.sk-sidebar-latest-body { min-width: 0; }
.sk-sidebar-latest-body h4 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sk-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--sk-transition);
}
.sk-sidebar-latest-item a:hover .sk-sidebar-latest-body h4 { color: #b8770b; }
.sk-sidebar-latest-body span {
  font-size: 11px;
  color: var(--sk-text-muted);
}
.sk-sidebar-latest-body span i { margin-right: 3px; color: #ff9f43; }
.sk-sidebar-latest-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--sk-primary-dark);
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-sidebar-latest-more i { transition: transform .25s ease; font-size: 10px; }
.sk-sidebar-latest-more:hover { color: var(--sk-primary); }
.sk-sidebar-latest-more:hover i { transform: translateX(3px); }

@media (max-width: 575px) {
  .sk-sidebar-featured-item > a { grid-template-columns: 64px 1fr; gap: 8px; }
  .sk-sidebar-featured-thumb,
  .sk-sidebar-latest-thumb { width: 64px; height: 48px; }
  .sk-sidebar-featured-body h4,
  .sk-sidebar-latest-body h4 { font-size: 12px; }
}

/* ========== 全站前台 80% 滿版 ========== */
@media (min-width: 1200px) {
  main .container,
  .header-area > .container,
  .university-footer-area > .container {
    max-width: 80% !important;
    width: 80%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  main .container,
  .header-area > .container,
  .university-footer-area > .container {
    max-width: 92% !important;
    width: 92%;
  }
}

/* ========== 中日翻譯服務頁 ========== */
.sk-translation-page {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 35%);
}
.sk-translation-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.sk-translation-hero-text h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--sk-text);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 14px 0 20px;
}
.sk-translation-hero-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--sk-text-muted);
  margin: 0 0 24px;
}
.sk-translation-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sk-translation-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-translation-btn-primary {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(46,125,50,.25);
}
.sk-translation-btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(46,125,50,.35);
}
.sk-translation-btn-ghost {
  background: #fff;
  color: var(--sk-text);
  border: 1.5px solid var(--sk-border);
}
.sk-translation-btn-ghost:hover {
  background: var(--sk-bg-soft);
  border-color: var(--sk-primary);
  color: var(--sk-primary-dark);
}
.sk-translation-hero-img {
  position: relative;
}
.sk-translation-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(46,125,50,.12);
  background: #fff;
}
.sk-translation-hero-img::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(46,125,50,.08), rgba(27,94,32,.12));
  z-index: -1;
}

/* 服務項目（2 卡）*/
.sk-translation-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.sk-translation-service-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: var(--sk-transition);
}
.sk-translation-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,125,50,.2);
  box-shadow: 0 18px 44px rgba(46,125,50,.14);
}
.sk-translation-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46,125,50,.1), rgba(27,94,32,.18));
  color: var(--sk-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: var(--sk-transition);
}
.sk-translation-service-card:hover .sk-translation-service-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.sk-translation-service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.sk-translation-service-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--sk-text-muted);
}
.sk-translation-service-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sk-translation-service-card ul li {
  padding: 6px 0 6px 22px;
  font-size: 13px;
  color: var(--sk-text);
  line-height: 1.7;
  position: relative;
}
.sk-translation-service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 2px;
  background: var(--sk-primary);
  border-radius: 2px;
}

/* CTA 底部 */
.sk-translation-cta {
  padding: 36px 44px;
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  border-radius: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(46,125,50,.22);
}
.sk-translation-cta::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.sk-translation-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.sk-translation-cta-inner h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.sk-translation-cta-inner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}
.sk-translation-cta .sk-translation-btn-primary {
  background: #fff;
  color: var(--sk-primary-dark);
  flex-shrink: 0;
}
.sk-translation-cta .sk-translation-btn-primary:hover {
  background: var(--sk-bg-soft);
  color: var(--sk-primary-dark);
}

@media (max-width: 991px) {
  .sk-translation-hero { grid-template-columns: 1fr; gap: 32px; }
  .sk-translation-hero-text h1 { font-size: 30px; }
  .sk-translation-services { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .sk-translation-hero-text h1 { font-size: 24px; }
  .sk-translation-service-card { padding: 24px 20px; }
  .sk-translation-cta { padding: 28px 22px; border-radius: 18px; }
  .sk-translation-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .sk-translation-cta .sk-translation-btn-primary { width: 100%; justify-content: center; }
}

/* ========== 人資 HR 會員頁 ========== */
.sk-hr-page {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--sk-bg-soft) 0%, #fff 30%);
}
.sk-hr-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.sk-hr-hero-text h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 14px 0 20px;
  color: var(--sk-text);
}
.sk-hr-hero-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--sk-text-muted);
  margin: 0 0 24px;
}
.sk-hr-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.sk-hr-hero-visual {
  position: relative;
}
.sk-hr-hero-visual::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(46,125,50,.08), rgba(27,94,32,.14));
  z-index: 0;
}
.sk-hr-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 8px;
}
.sk-hr-stat {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--sk-border);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: var(--sk-transition);
}
.sk-hr-stat:nth-child(2n) { transform: translateY(12px); }
.sk-hr-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(46,125,50,.25);
  box-shadow: 0 20px 40px rgba(46,125,50,.12);
}
.sk-hr-stat:nth-child(2n):hover { transform: translateY(8px); }
.sk-hr-stat-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.sk-hr-stat-label {
  font-size: 12px;
  color: var(--sk-text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* 區塊標題 */
.sk-hr-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.sk-hr-section-head h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 12px 0 8px;
  letter-spacing: -0.3px;
}
.sk-hr-section-head p {
  font-size: 14px;
  color: var(--sk-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* 會員權益 6 卡 */
.sk-hr-benefits { margin-bottom: 64px; }
.sk-hr-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sk-hr-benefit-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: var(--sk-transition);
  position: relative;
  overflow: hidden;
}
.sk-hr-benefit-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sk-primary), var(--sk-primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.sk-hr-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,125,50,.22);
  box-shadow: 0 18px 44px rgba(46,125,50,.14);
}
.sk-hr-benefit-card:hover::before { transform: scaleX(1); }
.sk-hr-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46,125,50,.1), rgba(27,94,32,.18));
  color: var(--sk-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: var(--sk-transition);
}
.sk-hr-benefit-card:hover .sk-hr-benefit-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.sk-hr-benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.sk-hr-benefit-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sk-text-muted);
}

/* 合作流程 4 步驟 */
.sk-hr-flow { margin-bottom: 56px; }
.sk-hr-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: hrstep;
  position: relative;
}
.sk-hr-steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(46,125,50,.25) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.sk-hr-steps li {
  background: #fff;
  padding: 22px 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--sk-border);
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.sk-hr-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(46,125,50,.28);
}
.sk-hr-steps h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-hr-steps p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--sk-text-muted);
}

.sk-hr-cta { margin-top: 8px; }

@media (max-width: 991px) {
  .sk-hr-hero { grid-template-columns: 1fr; gap: 36px; }
  .sk-hr-hero-text h1 { font-size: 28px; }
  .sk-hr-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .sk-hr-steps { grid-template-columns: repeat(2, 1fr); }
  .sk-hr-steps::before { display: none; }
}
@media (max-width: 575px) {
  .sk-hr-hero-text h1 { font-size: 22px; }
  .sk-hr-stat-grid { gap: 10px; }
  .sk-hr-stat { padding: 22px 16px; }
  .sk-hr-stat:nth-child(2n) { transform: none; }
  .sk-hr-stat-num { font-size: 26px; }
  .sk-hr-benefit-grid { grid-template-columns: 1fr; }
  .sk-hr-steps { grid-template-columns: 1fr; }
  .sk-hr-section-head h2 { font-size: 22px; }
}

/* ========== aboutUs 擴充區塊 ========== */
.sk-about-section {
  margin-top: 64px;
}
.sk-about-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.sk-about-section-head h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--sk-text);
  margin: 12px 0 10px;
  letter-spacing: -0.3px;
}
.sk-about-section-head p {
  font-size: 14px;
  color: var(--sk-text-muted);
  margin: 0;
  line-height: 1.75;
}

/* 使命 3 卡 */
.sk-about-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sk-about-mission-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: var(--sk-transition);
}
.sk-about-mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,125,50,.22);
  box-shadow: 0 18px 44px rgba(46,125,50,.14);
}
.sk-about-mission-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46,125,50,.1), rgba(27,94,32,.18));
  color: var(--sk-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--sk-transition);
}
.sk-about-mission-card:hover .sk-about-mission-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.sk-about-mission-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0 0 10px;
}
.sk-about-mission-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--sk-text-muted);
}

/* Timeline */
.sk-about-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.sk-about-timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(46,125,50,.25) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.sk-about-timeline li {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 22px 18px 24px;
  border-radius: 16px;
  border: 1px solid var(--sk-border);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.sk-about-timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(46,125,50,.22);
}
.sk-about-timeline h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-about-timeline p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--sk-text-muted);
}

/* 服務卡 */
.sk-about-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sk-about-service {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 26px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--sk-transition);
  position: relative;
}
.sk-about-service:hover {
  transform: translateY(-4px);
  border-color: rgba(46,125,50,.22);
  box-shadow: 0 18px 44px rgba(46,125,50,.14);
  color: inherit;
}
.sk-about-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46,125,50,.1), rgba(27,94,32,.18));
  color: var(--sk-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--sk-transition);
}
.sk-about-service:hover .sk-about-service-icon {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}
.sk-about-service h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sk-text);
  margin: 0;
}
.sk-about-service p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--sk-text-muted);
  flex: 1;
}
.sk-about-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-primary-dark);
  margin-top: 4px;
}
.sk-about-service-link i { transition: transform .25s ease; font-size: 11px; }
.sk-about-service:hover .sk-about-service-link i { transform: translateX(4px); }

/* 團隊價值 */
.sk-about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sk-about-value {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid var(--sk-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-about-value-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.sk-about-value h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--sk-text);
}
.sk-about-value p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--sk-text-muted);
}

@media (max-width: 991px) {
  .sk-about-mission-grid { grid-template-columns: 1fr; }
  .sk-about-timeline { grid-template-columns: repeat(2, 1fr); }
  .sk-about-timeline::before { display: none; }
  .sk-about-service-grid { grid-template-columns: 1fr; }
  .sk-about-values { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .sk-about-section { margin-top: 48px; }
  .sk-about-section-head h2 { font-size: 22px; }
  .sk-about-timeline { grid-template-columns: 1fr; }
}

/* ========== 同意條款區（個資條款）========== */
.sk-consent-box {
  margin: 28px 0 8px;
  padding: 20px 22px;
  background: var(--sk-bg-soft);
  border: 1px solid var(--sk-border);
  border-radius: 14px;
}
.sk-consent-detail {
  margin-bottom: 14px;
}
.sk-consent-detail > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-text);
  cursor: pointer;
  list-style: none;
  transition: var(--sk-transition);
}
.sk-consent-detail > summary::-webkit-details-marker { display: none; }
.sk-consent-detail > summary:hover {
  border-color: var(--sk-primary);
  background: #fbfefb;
}
.sk-consent-summary-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sk-consent-summary-left i {
  color: var(--sk-primary);
  font-size: 15px;
}
.sk-consent-summary-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--sk-text-muted);
}
.sk-consent-summary-right i { transition: transform .25s ease; font-size: 10px; }
.sk-consent-detail[open] .sk-consent-summary-right i { transform: rotate(180deg); }
.sk-consent-text {
  margin-top: 10px;
  padding: 16px 18px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--sk-text-muted);
  white-space: pre-line;
}
.sk-consent-text::-webkit-scrollbar { width: 6px; }
.sk-consent-text::-webkit-scrollbar-thumb { background: var(--sk-border); border-radius: 3px; }
.sk-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--sk-transition);
}
.sk-consent-check:hover {
  border-color: var(--sk-primary);
  background: #fbfefb;
}
.sk-consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sk-primary);
  cursor: pointer;
}
.sk-consent-check span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sk-text);
}
.sk-consent-check strong {
  color: var(--sk-primary-dark);
  font-weight: 700;
}
.sk-consent-check em {
  color: #d84859;
  font-style: normal;
  margin-left: 2px;
  font-weight: 700;
}

@media (max-width: 575px) {
  .sk-consent-box { padding: 16px; }
  .sk-consent-detail > summary { padding: 10px 12px; font-size: 13px; }
  .sk-consent-summary-right { font-size: 11px; }
  .sk-consent-text { padding: 12px 14px; font-size: 12px; max-height: 200px; }
}

/* ========== aboutUs Hero 兩欄（文字 + AI 形象圖）========== */
.sk-about-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.sk-about-hero-text h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--sk-text);
  letter-spacing: -0.5px;
  margin: 14px 0 18px;
}
.sk-about-hero-text p {
  font-size: 15px;
  color: var(--sk-text-muted);
  line-height: 1.9;
  margin: 0 0 20px;
}
.sk-about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sk-about-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sk-text);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.sk-about-hero-badges i {
  color: var(--sk-primary);
  font-size: 11px;
}
.sk-about-hero-visual {
  position: relative;
}
.sk-about-hero-visual::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(46,125,50,.1), transparent 60%),
    linear-gradient(135deg, rgba(46,125,50,.05), rgba(27,94,32,.12));
  z-index: -1;
}
.sk-about-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(46,125,50,.14);
  background: #fff;
}

@media (max-width: 991px) {
  .sk-about-hero { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .sk-about-hero-badges { justify-content: center; }
  .sk-about-hero-text h1 { font-size: 30px; }
}
@media (max-width: 575px) {
  .sk-about-hero-text h1 { font-size: 24px; }
  .sk-about-hero-visual::before { inset: -12px; border-radius: 24px; }
  .sk-about-hero-visual img { border-radius: 18px; }
}

/* ========== 隱私權政策：外層 80% + TOC 兩欄 ========== */
.sk-policy-wrap { padding: 60px 20px 80px; }
.sk-policy-wrap .sk-policy-article {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.sk-policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 960px);
  gap: 40px;
  align-items: start;
  justify-content: center;
}
.sk-policy-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.sk-policy-toc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sk-text);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--sk-bg-soft);
}
.sk-policy-toc-head i { color: var(--sk-primary); }
.sk-policy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.sk-policy-toc-list li {
  counter-increment: toc;
  margin-bottom: 2px;
}
.sk-policy-toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--sk-text);
  text-decoration: none;
  transition: var(--sk-transition);
}
.sk-policy-toc-list a::before {
  content: counter(toc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  transition: var(--sk-transition);
}
.sk-policy-toc-list a:hover {
  background: var(--sk-bg-soft);
  color: var(--sk-primary-dark);
}
.sk-policy-toc-list a:hover::before {
  background: var(--sk-primary);
  color: #fff;
}
.sk-policy-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--sk-bg-soft);
  border-radius: 999px;
  font-size: 12px;
  color: var(--sk-text-muted);
  margin-bottom: 18px;
}
.sk-policy-update i { color: var(--sk-primary); }
/* 錨點跳轉避開 sticky header */
.sk-policy-article h3 { scroll-margin-top: 96px; }

@media (max-width: 991px) {
  .sk-policy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sk-policy-toc { position: static; }
}

/* ========== 會員中心 profile 進階強化 ========== */
/* profile 頁所有 select 統一樣式（與 signup 同款）*/
.sk-profile-page select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1.5px solid var(--sk-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--sk-text);
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23828282' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: var(--sk-transition);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  line-height: 1.4;
  display: block;
  box-sizing: border-box;
}
.sk-profile-page select:hover { border-color: var(--sk-primary); }
.sk-profile-page select:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}

/* 編輯表單容器：group 區塊化 */
.sk-profile-page .student-profile-settings form .row.g-3 > h4 {
  width: 100%;
  margin-top: 20px;
  padding-bottom: 10px;
  font-size: 16px;
}
.sk-profile-page .student-profile-settings form .row.g-3 > h4:first-child { margin-top: 0; }

/* 表格 horizontal scroll 滑動提示 */
.sk-profile-page .your-order-table {
  border-radius: 12px;
  position: relative;
}
.sk-profile-page .your-order-table.table-responsive {
  -webkit-overflow-scrolling: touch;
}
.sk-profile-page table.datatables-basic {
  min-width: 760px;
}

/* zebra 條紋 */
.sk-profile-page table.datatables-basic tbody tr:nth-child(even) td {
  background: rgba(248,250,248,0.6);
}

/* Tab 區塊間距強化 */
.sk-profile-page .tab-pane { padding-top: 4px; }
.sk-profile-page .student-profile-enroll h4 { margin-top: 24px; }
.sk-profile-page .student-profile-enroll h4:first-child { margin-top: 0; }

/* 編輯模式切到「密碼」Tab 時的輸入框統一 */
.sk-profile-page input[type="text"]:not([disabled]),
.sk-profile-page input[type="email"]:not([disabled]),
.sk-profile-page input[type="password"]:not([disabled]),
.sk-profile-page input[type="tel"]:not([disabled]),
.sk-profile-page textarea:not([disabled]) {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--sk-border);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  transition: var(--sk-transition);
  box-sizing: border-box;
}
.sk-profile-page textarea:not([disabled]) {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  line-height: 1.7;
}
.sk-profile-page input:focus,
.sk-profile-page textarea:focus {
  outline: none;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
}
.sk-profile-page input[disabled],
.sk-profile-page input[readonly] {
  background: var(--sk-bg-soft);
  color: var(--sk-text-muted);
  cursor: not-allowed;
  border-color: var(--sk-border);
}

/* setting 裡 fielddiv checkbox 區塊 — 產業領域多選更現代 */
.sk-profile-page .student-profile-settings table[style*="border-collapse: collapse"] {
  width: 100%;
  border: 1px solid var(--sk-border);
  border-radius: 12px;
  background: var(--sk-bg-soft);
  padding: 14px;
  border-collapse: separate !important;
}
.sk-profile-page .student-profile-settings .fielddiv label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: 13px;
  transition: var(--sk-transition);
  min-width: 0;
  width: 100%;
  justify-content: flex-start;
}
.sk-profile-page .student-profile-settings .fielddiv label:hover {
  border-color: var(--sk-primary);
  color: var(--sk-primary-dark);
}
.sk-profile-page .student-profile-settings .fielddiv input[type="checkbox"] {
  accent-color: var(--sk-primary);
  cursor: pointer;
}

@media (max-width: 767px) {
  /* 表格在手機版維持 scroll + 邊界提示 */
  .sk-profile-page .your-order-table {
    overflow-x: auto;
    background: linear-gradient(to right, #fff 92%, rgba(46,125,50,.1) 100%);
    border-radius: 12px;
  }
  .sk-profile-page .your-order-table::after {
    content: "← 左右滑動查看完整資料 →";
    display: block;
    padding: 8px;
    text-align: center;
    font-size: 11px;
    color: var(--sk-text-muted);
    background: var(--sk-bg-soft);
  }
}

/* ========== 專家講師頁 ========== */
.sk-speaker-page { padding: 80px 0 120px; background: #fafbfc; }
.sk-speaker-intro { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.sk-speaker-intro-text { max-width: 640px; }
.sk-speaker-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(46,125,50,.08); color: var(--sk-primary); border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.sk-speaker-intro-text h2 { font-size: 40px; font-weight: 800; color: #111; margin: 0 0 12px; letter-spacing: -0.02em; }
.sk-speaker-intro-text p { font-size: 16px; line-height: 1.75; color: #555; margin: 0; }
.sk-speaker-count { text-align: center; padding: 28px 36px; background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)); color: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(46,125,50,.25); }
.sk-speaker-count-num { font-size: 48px; font-weight: 800; line-height: 1; }
.sk-speaker-count-label { font-size: 14px; opacity: 0.9; margin-top: 6px; }

.sk-speaker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.sk-speaker-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 28px 22px; text-decoration: none; color: inherit; box-shadow: 0 4px 20px rgba(0,0,0,.04); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.sk-speaker-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(46,125,50,.05), transparent 60%); opacity: 0; transition: opacity .25s; }
.sk-speaker-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.sk-speaker-card:hover::before { opacity: 1; }
.sk-speaker-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #f0f2f5; margin-bottom: 18px; position: relative; }
.sk-speaker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sk-speaker-avatar-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; color: #c7cbd1; }
.sk-speaker-avatar-ph.lg { font-size: 64px; }
.sk-speaker-body { flex: 1; position: relative; }
.sk-speaker-name { font-size: 19px; font-weight: 700; color: #111; margin: 0 0 10px; }
.sk-speaker-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sk-primary); background: rgba(46,125,50,.08); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.sk-speaker-major { font-size: 13px; color: #6b7280; line-height: 1.55; }
.sk-speaker-arrow { position: absolute; right: 18px; top: 22px; width: 32px; height: 32px; border-radius: 50%; background: rgba(46,125,50,.08); color: var(--sk-primary); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: background .25s, transform .25s; }
.sk-speaker-card:hover .sk-speaker-arrow { background: var(--sk-primary); color: #fff; transform: translateX(2px); }

/* 詳情頁（重構）*/
.sk-speaker-detail { padding: 56px 0 120px; background: #f7f9fb; }

/* Hero */
.sk-speaker-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #fff;
  box-shadow: 0 16px 60px rgba(0,0,0,.08);
}
.sk-speaker-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(46,125,50,.14) 0%, transparent 60%),
    radial-gradient(70% 100% at 0% 100%, rgba(0,137,123,.10) 0%, transparent 60%),
    linear-gradient(135deg, #fff 0%, #f4f8f5 100%);
  z-index: 0;
}
.sk-speaker-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,125,50,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,125,50,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 80%);
}
.sk-speaker-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 48px;
  padding: 48px 56px; flex-wrap: wrap;
}
.sk-speaker-hero-avatar {
  width: 200px; height: 200px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: #f0f2f5;
  box-shadow: 0 20px 48px rgba(46,125,50,.18), inset 0 0 0 6px rgba(255,255,255,.9);
  outline: 2px solid rgba(46,125,50,.15); outline-offset: 8px;
}
.sk-speaker-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sk-speaker-hero-body { flex: 1; min-width: 280px; }
.sk-speaker-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sk-primary-dark);
  background: rgba(46,125,50,.1);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.sk-speaker-hero-name {
  font-size: 42px; font-weight: 800; color: #111;
  margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.15;
}
.sk-speaker-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.sk-speaker-hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(46,125,50,.1); color: var(--sk-primary-dark);
}
.sk-speaker-hero-chip-ghost {
  background: #fff; color: #4a5568;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), inset 0 0 0 1px #e5e9ed;
}
.sk-speaker-hero-chip i { font-size: 12px; }
.sk-speaker-hero-major {
  display: inline-flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; margin-bottom: 24px;
  background: #fff; border-radius: 12px;
  border-left: 4px solid var(--sk-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  max-width: 100%;
}
.sk-speaker-hero-major-label {
  font-size: 12px; font-weight: 700; color: var(--sk-primary-dark);
  letter-spacing: .04em; white-space: nowrap;
  padding-top: 2px;
}
.sk-speaker-hero-major-value { font-size: 14px; color: #333; line-height: 1.5; }
.sk-speaker-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sk-speaker-btn-primary, .sk-speaker-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: var(--sk-transition);
}
.sk-speaker-btn-primary {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(46,125,50,.28);
}
.sk-speaker-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46,125,50,.38); }
.sk-speaker-btn-ghost {
  background: #fff; color: var(--sk-primary-dark) !important;
  box-shadow: inset 0 0 0 1.5px rgba(46,125,50,.25);
}
.sk-speaker-btn-ghost:hover { background: var(--sk-bg-soft); box-shadow: inset 0 0 0 1.5px var(--sk-primary); }

/* 雙欄布局 */
.sk-speaker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: flex-start;
}
.sk-speaker-main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* Section */
.sk-speaker-section { background: #fff; border-radius: 20px; padding: 32px 36px; box-shadow: 0 4px 20px rgba(0,0,0,.04); margin: 0; }
.sk-speaker-section-title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #eef0f3; }
.sk-speaker-section-title i { color: var(--sk-primary); width: 28px; height: 28px; background: rgba(46,125,50,.08); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.sk-speaker-section-content { font-size: 15px; line-height: 1.85; color: #333; }

/* Rich text from editor */
.sk-speaker-rich-text p { margin: 0 0 12px; }
.sk-speaker-rich-text p:last-child { margin-bottom: 0; }
.sk-speaker-rich-text u { text-decoration: none; border-bottom: 2px solid var(--sk-primary); color: var(--sk-primary-dark); font-weight: 700; padding: 0 2px; }
.sk-speaker-rich-text ul, .sk-speaker-rich-text ol { padding-left: 22px; margin: 0 0 12px; }
.sk-speaker-rich-text li { margin-bottom: 6px; }
.sk-speaker-rich-text a { color: var(--sk-primary-dark); text-decoration: underline; }
.sk-speaker-rich-text img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }

/* Topics */
.sk-speaker-topic-list { list-style: none; padding: 0; margin: 0; }
.sk-speaker-topic-list li {
  padding: 16px 0;
  border-bottom: 1px dashed #eef0f3;
  font-size: 15px; color: #333;
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 10px;
  row-gap: 8px;
  align-items: start;
}
.sk-speaker-topic-list li:last-child { border-bottom: none; }
.sk-speaker-topic-list li > i {
  color: var(--sk-primary);
  line-height: 1.6;
  padding-top: 4px;
}
.sk-speaker-topic-name { font-weight: 600; line-height: 1.6; word-break: break-word; }
.sk-speaker-topic-tags {
  grid-column: 2;
  font-size: 12.5px;
  color: #6b7280;
  background: var(--sk-bg-soft);
  padding: 6px 12px;
  border-radius: 8px;
  border-left: 3px solid rgba(46,125,50,.3);
  line-height: 1.6;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Articles */
.sk-speaker-article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.sk-speaker-article-card { position: relative; display: block; padding: 20px 22px 48px; background: var(--sk-bg-soft); border-radius: 14px; text-decoration: none; color: inherit; transition: var(--sk-transition); border: 1px solid transparent; }
.sk-speaker-article-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--sk-primary); background: #fff; }
.sk-speaker-article-date { font-size: 12px; color: var(--sk-primary-dark); font-weight: 700; margin-bottom: 8px; }
.sk-speaker-article-date i { margin-right: 4px; }
.sk-speaker-article-title { font-size: 14.5px; font-weight: 700; color: #111; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sk-speaker-article-arrow { position: absolute; right: 20px; bottom: 16px; color: var(--sk-primary); font-size: 13px; transition: transform var(--sk-transition); }
.sk-speaker-article-card:hover .sk-speaker-article-arrow { transform: translateX(4px); }

/* Back link */
.sk-speaker-back { padding: 8px 4px; }
.sk-speaker-back a { display: inline-flex; align-items: center; gap: 8px; color: #6b7280; font-size: 14px; text-decoration: none; font-weight: 600; transition: color var(--sk-transition); }
.sk-speaker-back a:hover { color: var(--sk-primary-dark); }

/* Sidebar */
.sk-speaker-sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.sk-speaker-card { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.sk-speaker-card-title { font-size: 15px; font-weight: 700; color: #111; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.sk-speaker-card-title i { color: var(--sk-primary); }
.sk-speaker-info-list { list-style: none; margin: 0; padding: 0; }
.sk-speaker-info-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eef0f3; font-size: 14px; }
.sk-speaker-info-list li:last-child { border-bottom: none; }
.sk-speaker-info-list span { color: #6b7280; }
.sk-speaker-info-list strong { color: #111; font-weight: 700; }

.sk-speaker-card-cta { background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%); color: #fff; }
.sk-speaker-card-cta-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sk-speaker-card-cta-head i { font-size: 22px; color: #ffd54f; }
.sk-speaker-card-cta h4 { margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.sk-speaker-card-cta p { font-size: 13.5px; line-height: 1.65; margin: 0 0 14px; color: rgba(255,255,255,.9); }
.sk-speaker-card-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; width: 100%;
  justify-content: center;
  padding: 11px 20px; border-radius: 10px;
  background: #fff; color: var(--sk-primary-dark) !important;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: var(--sk-transition);
}
.sk-speaker-card-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }

.sk-speaker-share-list { display: flex; gap: 10px; }
.sk-speaker-share-list a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sk-bg-soft); color: var(--sk-primary-dark);
  font-size: 16px; text-decoration: none;
  transition: var(--sk-transition);
}
.sk-speaker-share-list a:hover { background: var(--sk-primary); color: #fff; transform: translateY(-2px); }

@media (max-width: 991px) {
  .sk-speaker-layout { grid-template-columns: 1fr; }
  .sk-speaker-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sk-speaker-sidebar .sk-speaker-card { flex: 1 1 260px; }
}

@media (max-width: 768px) {
  .sk-speaker-page { padding: 48px 0 80px; }
  .sk-speaker-intro-text h2 { font-size: 28px; }
  .sk-speaker-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sk-speaker-card { padding: 22px 18px; }
  .sk-speaker-avatar { width: 72px; height: 72px; margin-bottom: 14px; }
  .sk-speaker-detail { padding: 32px 0 64px; }
  .sk-speaker-hero-inner { padding: 32px 22px; gap: 24px; flex-direction: column; text-align: center; }
  .sk-speaker-hero-avatar { width: 140px; height: 140px; outline-offset: 6px; }
  .sk-speaker-hero-name { font-size: 30px; }
  .sk-speaker-hero-meta { justify-content: center; }
  .sk-speaker-hero-major { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 14px; }
  .sk-speaker-hero-actions { justify-content: center; }
  .sk-speaker-section { padding: 24px 20px; }
  .sk-speaker-section-title { font-size: 18px; }
  .sk-speaker-article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .sk-speaker-grid { grid-template-columns: 1fr; }
}

/* ========== 主題詳情「引導註冊」CTA（未登入訪客顯示） ========== */
.sk-topic-register-card { background: linear-gradient(135deg, #e8f5e9, #ffffff) !important; border-left: 4px solid var(--sk-primary); }
.sk-topic-register-inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 8px 0; }
.sk-topic-register-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 6px 16px rgba(46,125,50,.28); }
.sk-topic-register-text { flex: 1; min-width: 260px; }
.sk-topic-register-text h3 { font-size: 20px; font-weight: 800; color: #111; margin: 0 0 8px; letter-spacing: -0.01em; }
.sk-topic-register-text p { font-size: 14.5px; color: #455; line-height: 1.7; margin: 0; }
.sk-topic-register-text strong { color: var(--sk-primary-dark); }
.sk-topic-register-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sk-btn-register-primary { background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark)) !important; color: #fff !important; }
.sk-btn-register-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(46,125,50,.3); }
.sk-topic-register-login { font-size: 13.5px; color: #455; text-decoration: none; transition: color .2s; }
.sk-topic-register-login span { color: var(--sk-primary); font-weight: 600; }
.sk-topic-register-login:hover { color: var(--sk-primary-dark); }
.sk-topic-register-login:hover span i { transform: translateX(3px); }
.sk-topic-register-login span i { transition: transform .2s; }
@media (max-width: 768px) {
  .sk-topic-register-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sk-topic-register-actions { width: 100%; justify-content: space-between; }
}

/* ========== AdSense 廣告容器 ========== */
.sk-adsense { margin: 30px auto; padding: 12px 0; text-align: center; min-height: 100px; position: relative; }
.sk-adsense::before { content: '贊助廣告'; display: block; font-size: 10px; color: #999; letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; opacity: 0.7; }

/* ========== 語系切換按鈕 ========== */
.sk-lang-switch-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--sk-primary, #2E7D32);
  background: rgba(46,125,50,.08);
  text-decoration: none; transition: all .2s;
}
.sk-lang-switch-btn:hover {
  background: var(--sk-primary, #2E7D32);
  color: #fff;
}
.sk-lang-switch-btn i { font-size: 14px; }

/* ========== 拖曳上傳區 sk-dz ========== */
.sk-dz-zone {
  position: relative;
  display: block;
  min-height: 120px;
  padding: 18px;
  border: 2px dashed #c7d0d8;
  border-radius: 12px;
  background: #fafbfc;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.sk-dz-zone:hover, .sk-dz-zone.is-drag {
  border-color: var(--sk-primary, #2E7D32);
  background: rgba(46,125,50,.04);
}
.sk-dz-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: #7a8694; }
.sk-dz-icon { font-size: 36px; color: var(--sk-primary, #2E7D32); }
.sk-dz-label { font-size: 14px; color: #333; }
.sk-dz-label .sk-dz-browse { color: var(--sk-primary, #2E7D32); font-weight: 600; text-decoration: underline; cursor: pointer; }
.sk-dz-preview { display: flex; align-items: center; gap: 14px; padding: 6px 4px; }
.sk-dz-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #eef0f3; flex-shrink: 0; }
.sk-dz-meta { flex: 1; min-width: 0; }
.sk-dz-name { font-size: 14px; color: #111; word-break: break-all; }
.sk-dz-remove { flex-shrink: 0; }

/* ========== 極小螢幕 ≤ 430px 補強 ========== */
@media (max-width: 430px) {
  .sk-lang-switch-btn { padding: 5px 10px; font-size: 12px; }
  .sk-lang-switch-btn span { display: none !important; } /* 只保留 icon */
  .sk-msg-actions { flex-direction: column; gap: 10px; }
  .sk-msg-actions .sk-msg-btn { width: 100%; }
  .sk-topic-register-actions { flex-direction: column; align-items: stretch !important; }
  .sk-topic-register-actions .sk-pkg-contact-btn { justify-content: center; }
  .sk-adsense { margin: 20px auto; }
  .sk-pkg-detail-head { padding: 22px 16px !important; }
  .sk-speaker-hero-inner { padding: 24px 18px; }
  .sk-speaker-hero-avatar { width: 120px; height: 120px; }
  .sk-speaker-hero-name { font-size: 26px; }
}

/* ========== 文章列表：wccftech 風格輕移植 ========== */
.sk-article-card-prefix {
  color: var(--sk-primary);
  font-weight: 800;
  letter-spacing: .2px;
  margin-right: 6px;
  text-transform: uppercase;
  font-size: .92em;
}
.sk-article-grid .sk-article-card:hover .sk-article-card-prefix { color: var(--sk-primary-dark); }

.sk-article-grid { gap: 14px 20px; }
.sk-article-body { padding: 12px 2px 0; }
.sk-article-card-title { font-size: 15.5px; line-height: 1.55; margin-bottom: 10px; -webkit-line-clamp: 3; }
.sk-article-card-meta { padding-top: 8px; gap: 12px; font-size: 11.5px; }

/* 熱門閱讀側邊欄 */
.sk-aside-trending { padding: 0; overflow: hidden; }
.sk-aside-head-trending {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-primary-dark) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sk-aside-head-trending i { color: #ffd54f; }
.sk-aside-trending-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  counter-reset: trend;
}
.sk-aside-trending-list > li { border-bottom: 1px dashed var(--sk-border); }
.sk-aside-trending-list > li:last-child { border-bottom: none; }
.sk-aside-trending-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  transition: background var(--sk-transition);
}
.sk-aside-trending-item:hover { background: var(--sk-bg-soft); }
.sk-aside-trending-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--sk-text-muted);
  border: 1px solid var(--sk-border);
  border-radius: 6px;
  background: #fff;
}
.sk-aside-trending-list > li:nth-child(1) .sk-aside-trending-rank,
.sk-aside-trending-list > li:nth-child(2) .sk-aside-trending-rank,
.sk-aside-trending-list > li:nth-child(3) .sk-aside-trending-rank {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark));
  color: #fff;
  border-color: transparent;
}
.sk-aside-trending-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sk-bg-soft);
  position: relative;
}
.sk-aside-trending-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-aside-trending-thumb .sk-article-thumb-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--sk-border); font-size: 20px; }
.sk-aside-trending-body { min-width: 0; flex: 1; }
.sk-aside-trending-body h4 {
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 4px;
  color: var(--sk-text);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--sk-transition);
}
.sk-aside-trending-item:hover .sk-aside-trending-body h4 { color: var(--sk-primary-dark); }
.sk-aside-trending-body span { font-size: 11.5px; color: var(--sk-text-muted); }
.sk-aside-trending-body span i { margin-right: 4px; color: var(--sk-primary); }

@media (max-width: 991px) {
  .sk-aside-trending-thumb { width: 52px; height: 52px; }
  .sk-aside-trending-body h4 { font-size: 13px; }
}

/* ========== 深色模式預備（未啟用）========== */
@media (prefers-color-scheme: dark) {
  /* 預留 dark mode tokens */
}
/* ========== 課程詳情：影片回放區塊 (2026-05-04) ========== */
.sk-replay-section { margin-top: 28px; }
.sk-replay-section .sk-course-section-title i { color: var(--sk-primary); }

.sk-replay-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--sk-border, #e5e7eb);
  border-radius: 14px;
  margin-bottom: 14px;
  background: #fff;
  transition: all .25s ease;
  align-items: center;
}
.sk-replay-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(46,125,50,.08);
  border-color: var(--sk-primary-light, #c8e6c9);
}
.sk-replay-card-locked { opacity: .82; }
.sk-replay-card-locked:hover { transform: none; box-shadow: none; }

.sk-replay-thumb {
  position: relative;
  width: 180px;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f6f7;
}
.sk-replay-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-replay-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 28px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.sk-replay-thumb-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45); color: #fff; font-size: 26px;
  opacity: 0; transition: opacity .2s ease;
}
.sk-replay-card:hover .sk-replay-thumb-overlay { opacity: 1; }
.sk-replay-thumb-overlay--play { background: rgba(46,125,50,.55); }
.sk-replay-card-locked .sk-replay-thumb-overlay { opacity: 1; background: rgba(15,23,42,.55); }

.sk-replay-body { min-width: 0; }
.sk-replay-title {
  font-size: 17px; font-weight: 700; margin: 0 0 6px;
  color: var(--sk-text-strong, #0f172a);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sk-replay-desc {
  font-size: 13px; color: var(--sk-text-muted, #6b7280);
  margin: 0 0 8px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sk-replay-meta { display: flex; gap: 14px; font-size: 12.5px; color: #6b7280; }
.sk-replay-meta i { margin-right: 4px; color: var(--sk-primary); }

.sk-replay-action { display: flex; align-items: center; }
.sk-replay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: all .2s ease;
  border: none; cursor: pointer;
}
.sk-replay-btn-watch {
  background: linear-gradient(135deg, var(--sk-primary), var(--sk-primary-dark, #1B5E20));
  color: #fff;
}
.sk-replay-btn-watch:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(46,125,50,.35);
  color: #fff;
}
.sk-replay-btn-locked {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}
a.sk-replay-btn-locked { cursor: pointer; }
a.sk-replay-btn-locked:hover { background: #e2e8f0; color: #475569; }

.sk-replay-cta {
  margin-top: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-left: 4px solid var(--sk-primary);
  border-radius: 8px;
  font-size: 14px;
  color: #065f46;
}
.sk-replay-cta i { margin-right: 8px; color: var(--sk-primary); }

@media (max-width: 768px) {
  .sk-replay-card {
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .sk-replay-thumb { width: 120px; }
  .sk-replay-action { grid-column: 1 / -1; }
  .sk-replay-btn { width: 100%; justify-content: center; }
  .sk-replay-title { font-size: 15px; }
}

/* ========== 會員中心：我的回放 (2026-05-04) ========== */
.sk-replay-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--sk-text-muted, #6b7280);
}
.sk-replay-empty i { font-size: 48px; opacity: .4; margin-bottom: 16px; display: block; }
.sk-replay-empty p { font-size: 16px; margin: 0 0 8px; }
.sk-replay-empty small { font-size: 13px; opacity: .7; }

.sk-myreplay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.sk-myreplay-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--sk-border, #e5e7eb);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
}
.sk-myreplay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(46,125,50,.12);
  border-color: var(--sk-primary-light, #c8e6c9);
  color: inherit;
}
.sk-myreplay-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #f4f6f7;
  overflow: hidden;
}
.sk-myreplay-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-myreplay-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 36px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.sk-myreplay-duration {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0,0,0,.75); color: #fff;
  padding: 2px 8px; border-radius: 4px;
  font-size: 11.5px; font-family: monospace; font-weight: 600;
}
.sk-myreplay-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46,125,50,.55); color: #fff;
  font-size: 32px; opacity: 0;
  transition: opacity .2s ease;
}
.sk-myreplay-card:hover .sk-myreplay-play { opacity: 1; }

.sk-myreplay-body { padding: 14px 16px; }
.sk-myreplay-title {
  font-size: 15px; font-weight: 700; margin: 0 0 6px;
  color: var(--sk-text-strong, #0f172a);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4;
}
.sk-myreplay-course {
  font-size: 12.5px;
  color: var(--sk-primary);
  margin: 0 0 4px;
  font-weight: 500;
}
.sk-myreplay-course i { margin-right: 4px; }
.sk-myreplay-date {
  font-size: 11.5px;
  color: var(--sk-text-muted, #6b7280);
}
.sk-myreplay-date i { margin-right: 4px; }

@media (max-width: 480px) {
  .sk-myreplay-grid { grid-template-columns: 1fr; }
}
