/* ===== 一日上線戰鬥營頁面 (One Day Bootcamp) - 專屬樣式 ===== */
/*
  【文字大小規範】參考 Rule/FontSizeRule.txt
  - 區塊標題：1.5em（桌面）→ 1.3em（平板）→ 1.2em（手機）
  - 小節標題：1.125em
  - 一般內文：1em
  - 次要內文：0.95em
  - 輔助文字：0.85em
  
  【顏色規範】僅使用品牌色
  - 主色：var(--primary-blue)
  - 輔色：var(--accent-yellow)
  - 文字：var(--text-primary), var(--text-secondary)
*/

/* ===== 頁面容器 ===== */
.one-day-bootcamp-page {
  padding-top: 0;
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
}

.one-day-bootcamp-page .pathways-expanded-list {
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
  padding: 0;
}

/* ===== 區塊基礎樣式 ===== */
.one-day-bootcamp-page .pathway-row {
  padding: 80px 0;
  border-bottom: none;
}


/* ===== 標題樣式（參考規範：區塊副標題 1.5em） ===== */
.one-day-bootcamp-page .pathway-row-title {
  font-size: 1.8em;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.3;
}

/* 裝飾性漸層符號已移除 */


/* ===== 描述文字（參考規範：一般內文 1em） ===== */
.one-day-bootcamp-page .pathway-row-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 700px;
}

/* ===== 置中區塊容器 ===== */
.bootcamp-section-centered {
  justify-content: center;
  padding-top: 48px !important;
}

.bootcamp-section-centered .pathway-content {
  max-width: 900px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

/* ===== 參加資格檢測區塊（移除紅綠色，改用品牌色） ===== */
.bootcamp-eligibility-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: nowrap;
  margin-top: 32px;
  width: 100%;
}

.bootcamp-eligibility-card {
  flex: 1;
  min-width: 280px;
  padding: 28px;
  border-radius: 16px;
  text-align: left;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.bootcamp-eligibility-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(1, 132, 255, 0.15);
}

/* 適合參加卡片 - 移除上方裝飾條 */
.bootcamp-eligibility-card--suitable {
  /* border-top 已移除 */
}

/* 不適合參加卡片 - 移除上方裝飾條 */
.bootcamp-eligibility-card--unsuitable {
  /* border-top 已移除 */
}

/* 資格標題（參考規範：小節標題 1.125em） */
.bootcamp-eligibility-title {
  font-size: 1.125em;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text-primary);
  text-align: center;
}

/* 資格描述（參考規範：一般內文 1em） */
.bootcamp-eligibility-desc {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 資格提示（參考規範：輔助文字 0.85em） */
.bootcamp-eligibility-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  font-size: 0.85em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.bootcamp-eligibility-note i {
  margin-right: 6px;
  color: var(--text-secondary);
}

.bootcamp-eligibility-note a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* ===== 事前準備區塊 ===== */
.bootcamp-preparation-list {
  text-align: left;
  margin-top: 24px;
  width: 100%;
}

.bootcamp-preparation-item {
  margin-bottom: 32px;
  padding: 0;
  border-bottom: none;
}

.bootcamp-preparation-item:last-child {
  margin-bottom: 0;
}

.bootcamp-preparation-item-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

/* 編號圓形（參考規範：輔助文字 0.85em） */
/* 使用更高優先級選擇器覆蓋全域 .main-container div 的 !important */
.one-day-bootcamp-page.main-container .bootcamp-preparation-number,
.one-day-bootcamp-page .bootcamp-preparation-number {
  background: var(--primary-blue) !important;
  color: #fff !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85em;
  flex-shrink: 0;
}

.bootcamp-preparation-content {
  flex: 1;
}

/* 準備標題（參考規範：主要內文 1.125em，字重 600） */
.bootcamp-preparation-title {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.4;
  font-size: 1em;
}

/* 準備描述（參考規範：次要內文 0.95em） */
.bootcamp-preparation-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95em;
}

/* ===== 活動時程區塊 ===== */
.bootcamp-schedule-list {
  text-align: left;
  margin-top: 24px;
  width: 100%;
}

.bootcamp-schedule-item {
  margin-bottom: 24px;
  padding: 0;
  border-bottom: none;
}

.bootcamp-schedule-item:last-child {
  margin-bottom: 0;
}

.bootcamp-schedule-item-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

/* 時間標籤（參考規範：輔助文字加粗） */
.bootcamp-schedule-time {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9em;
  flex-shrink: 0;
  min-width: 72px;
  text-align: center;
}

/* 正常活動時間 - 藍色 */
/* 使用更高優先級選擇器覆蓋全域 .main-container div 的 !important */
.one-day-bootcamp-page.main-container .bootcamp-schedule-time--normal,
.one-day-bootcamp-page .bootcamp-schedule-time--normal {
  background: var(--primary-blue) !important;
  color: #fff !important;
}

/* 休息/特殊時間 - 黃色 */
.bootcamp-schedule-time--break {
  background: var(--accent-yellow);
  color: var(--text-primary);
}

.bootcamp-schedule-content {
  flex: 1;
}

/* 時程標題（參考規範：一般內文 1em，字重 600） */
.bootcamp-schedule-title {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.4;
  font-size: 1em;
}

/* 時程描述（參考規範：次要內文 0.95em） */
.bootcamp-schedule-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95em;
}

/* ===== 專家團隊區塊 ===== */
.bootcamp-team-section {
  padding-top: 48px !important;
}

.bootcamp-team-section .pathway-content {
  max-width: 900px;
}

/* 團隊成員網格 - 桌面版固定 3 欄 */
.bootcamp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
  margin-top: 32px;
  width: 100%;
}

/* 單一成員 */
.bootcamp-team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
}

/* 特色成員（與其他成員一致） */
.bootcamp-team-member--featured {
  /* 無特殊樣式 */
}

/* 成員頭像 */
.bootcamp-team-member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.bootcamp-team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 成員資訊 */
.bootcamp-team-member-info {
  text-align: center;
}

/* 成員名字（參考規範：一般內文 1em，字重 700） */
.bootcamp-team-member-name {
  font-size: 1em;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

/* 成員職稱（參考規範：輔助文字 0.85em） */
.bootcamp-team-member-role {
  font-size: 0.85em;
  color: var(--text-secondary);
  display: block;
  line-height: 1.4;
}

/* 團隊說明文字（參考規範：輔助文字 0.85em） */
.bootcamp-team-note {
  margin-top: 24px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  font-size: 0.85em;
  color: var(--text-secondary);
}

.bootcamp-team-note i {
  margin-right: 6px;
  color: var(--primary-blue);
}

/* ===== 獎項區塊 ===== */
.bootcamp-awards-wrapper {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.bootcamp-awards-wrapper .pathway-content {
  max-width: 800px;
}

/* 獎項卡片 - 品牌色漸層 */
/* 使用 .one-day-bootcamp-page 提高選擇器優先級 */
.one-day-bootcamp-page .bootcamp-award-card {
  position: relative;
  margin-top: 24px;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 40%, var(--accent-yellow) 100%) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

/* 卡片內容 */
.bootcamp-award-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* 獎項圖示 */
/* 使用 .one-day-bootcamp-page 提高選擇器優先級 */
.one-day-bootcamp-page .bootcamp-award-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  color: #fff !important;
  flex-shrink: 0;
}

/* 獎項資訊 */
.bootcamp-award-info {
  text-align: center;
  width: 100%;
}

/* 獎項標籤（參考規範：輔助文字 0.85em） */
/* 使用 .one-day-bootcamp-page 提高選擇器優先級 */
.one-day-bootcamp-page .bootcamp-award-label {
  display: block;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 8px;
  text-align: center;
}

/* 獎項金額（參考規範：數據數字 2em） */
/* 使用 .one-day-bootcamp-page 提高選擇器優先級 */
.one-day-bootcamp-page .bootcamp-award-value {
  font-size: 2em;
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  text-align: center;
}

/* 獎項說明（參考規範：輔助文字 0.85em） */
/* 使用 .one-day-bootcamp-page 提高選擇器優先級 */
.one-day-bootcamp-page .bootcamp-award-detail {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0;
  text-align: center;
}

/* 更多獎品提示（參考規範：次要內文 0.95em） */
.bootcamp-awards-hint {
  margin-top: 20px;
  font-size: 0.95em;
  color: var(--text-secondary);
}

.bootcamp-awards-hint i {
  margin-right: 6px;
  color: var(--accent-yellow);
}

/* ===== 專案贊助區塊 ===== */
.bootcamp-sponsors-section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.bootcamp-sponsors-section .pathway-content {
  max-width: 800px;
}

/* 贊助商網格 - 桌面版固定 2 欄 */
.bootcamp-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
}

/* 單一贊助商卡片 */
.bootcamp-sponsor-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bootcamp-sponsor-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(1, 132, 255, 0.15);
}

/* 贊助商內容 */
.bootcamp-sponsor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* 贊助商名稱 (參考規範:小節標題 1.125em) */
.bootcamp-sponsor-name {
  font-size: 1.125em;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* 贊助金額 (參考規範:一般內文 1em) */
.bootcamp-sponsor-amount {
  font-size: 1em;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
}

/* ===== 報名須知區塊 ===== */
.bootcamp-notice-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 16px;
}

/* 使用 .one-day-bootcamp-page 提高選擇器優先級 */
.one-day-bootcamp-page .bootcamp-notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--primary-blue);
  color: #fff !important;
}

/* 標題圖示（參考規範：一般內文） */
.one-day-bootcamp-page .bootcamp-notice-header i {
  font-size: 1.1em;
  color: #fff !important;
}

/* 標題文字（參考規範：小節標題 1.125em） */
.one-day-bootcamp-page .bootcamp-notice-header h3 {
  margin: 0;
  font-size: 1.125em;
  font-weight: 600;
  color: #fff !important;
}

.bootcamp-notice-body {
  padding: 20px 24px;
}

.bootcamp-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.bootcamp-notice-item:last-child {
  margin-bottom: 0;
}

.bootcamp-notice-icon {
  width: 20px;
  height: 20px;
  background: rgba(1, 132, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bootcamp-notice-icon i {
  font-size: 0.6em;
  color: var(--primary-blue);
}

/* 須知內文（參考規範：一般內文 1em） */
.bootcamp-notice-item p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: left;
}

.bootcamp-notice-item p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.bootcamp-notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* 底部文字（參考規範：輔助文字 0.85em） */
.bootcamp-notice-footer span {
  font-size: 0.85em;
  color: var(--text-secondary);
}

/* 底部連結（參考規範：輔助文字 0.85em，字重 600） */
.bootcamp-notice-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
}

.bootcamp-notice-link i {
  font-size: 0.8em;
}

/* ===== 響應式設計（參考規範：768px / 480px 斷點） ===== */
@media screen and (max-width: 768px) {
  .one-day-bootcamp-page {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 60px;
  }

  .one-day-bootcamp-page .pathway-row {
    padding: 48px 0;
  }

  /* 標題：1.5em → 1.3em */
  .one-day-bootcamp-page .pathway-row-title {
    font-size: 1.3em;
  }

  .bootcamp-eligibility-grid {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .bootcamp-eligibility-card {
    min-width: auto;
    flex: none;
    width: 100%;
  }

  /* 資格標題：1.125em → 1em */
  .bootcamp-eligibility-title {
    font-size: 1em;
  }

  /* 專家團隊響應式 - 平板 2 欄 */
  .bootcamp-team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .bootcamp-team-member {
    padding: 16px 10px;
  }

  .bootcamp-team-member-avatar {
    width: 84px;
    height: 84px;
  }

  /* 名字：1em → 0.95em */
  .bootcamp-team-member-name {
    font-size: 0.95em;
  }

  /* 職稱：0.85em → 0.8em */
  .bootcamp-team-member-role {
    font-size: 0.8em;
  }

  /* 獎項區塊響應式 */
  .bootcamp-award-card {
    padding: 32px 20px;
  }

  .bootcamp-award-card-content {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .bootcamp-award-info {
    text-align: center;
  }

  .bootcamp-award-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4em;
  }

  /* 獎項金額：2em → 1.8em */
  .bootcamp-award-value {
    font-size: 1.8em;
  }

  /* 專案贊助響應式 */
  .bootcamp-sponsors-grid {
    gap: 16px;
  }

  .bootcamp-sponsor-card {
    padding: 20px;
  }

  .bootcamp-sponsor-name {
    font-size: 1em;
  }

  /* 報名須知響應式 */
  .bootcamp-notice-header {
    padding: 14px 20px;
  }

  .bootcamp-notice-body {
    padding: 16px 20px;
  }

  .bootcamp-notice-footer {
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  /* 標題：1.3em → 1.2em */
  .one-day-bootcamp-page .pathway-row-title {
    font-size: 1.2em;
  }

  .bootcamp-preparation-item-inner,
  .bootcamp-schedule-item-inner {
    flex-direction: column;
    gap: 10px;
  }

  .bootcamp-preparation-number,
  .bootcamp-schedule-time {
    align-self: flex-start;
  }

  .bootcamp-eligibility-card {
    padding: 20px;
  }

  /* 專家團隊響應式 - 小螢幕維持 2 欄 */
  .bootcamp-team-member {
    padding: 14px 8px;
  }

  .bootcamp-team-member-avatar {
    width: 72px;
    height: 72px;
  }

  /* 名字：0.95em → 0.9em */
  .bootcamp-team-member-name {
    font-size: 0.9em;
  }

  /* 職稱：0.8em → 0.75em */
  .bootcamp-team-member-role {
    font-size: 0.75em;
  }

  .bootcamp-team-note {
    font-size: 0.8em;
  }

  /* 獎項區塊響應式 - 小螢幕 */
  .bootcamp-award-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .bootcamp-award-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2em;
  }

  /* 獎項金額：1.8em → 1.6em */
  .bootcamp-award-value {
    font-size: 1.6em;
  }

  .bootcamp-award-label,
  .bootcamp-award-detail {
    font-size: 0.8em;
  }

  .bootcamp-awards-hint {
    font-size: 0.85em;
  }

  /* 專案贊助響應式 - 小螢幕 1 欄 */
  .bootcamp-sponsors-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .bootcamp-sponsor-card {
    padding: 16px;
  }

  .bootcamp-sponsor-name {
    font-size: 0.95em;
  }

  .bootcamp-sponsor-amount {
    font-size: 0.9em;
  }

  /* 報名須知響應式 - 小螢幕 */
  .bootcamp-notice-header h3 {
    font-size: 1em;
  }

  .bootcamp-notice-item p {
    font-size: 0.95em;
  }

  .bootcamp-notice-footer span,
  .bootcamp-notice-link {
    font-size: 0.8em;
  }
}
