/* html5 */

  /* 基礎全域設定 */
  :root {
    --primary-color: #000066;       /* 主色調：沉穩佛寺竹綠 #336601 */
    --primary-hover: #000066;       /* 懸停深綠 #234800 */
    --text-color: #000066;          /* 傳統深藍內文 */
    --bg-color: #FFFFFD;            /* 經典暖白背景 */
    --card-bg: #FFFFFF;             /* 卡片純白背景 */
    --border-color: #e2e8f0;        /* 輕微邊框線 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  body {
    margin: 0;
    background-color: #f0f0f0; /* 灰色背景 */
    min-height: 100vh;
    
    /* 使用 Flexbox 將子元素垂直/水平排版控制 */
    /* display: flex; */
    /* justify-content: center; */   /* 水平居中置中 *
  }

  .container {
    /* background-color: var(--bg-color); */
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  /* 頁首標題區 */
  header.site-header {
    text-align: center;
    margin-bottom: 28px;
  }

  .title-large {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 12px;
  }

  .title-large a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .title-large a:hover {
    /* color: var(--primary-color); */
    color: #000066;
  }

  .divider-line {
    max-width: 100%;
    height: auto;
    margin: 8px auto;
    display: block;
  }

  .subtitle-kaishu {
  font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    color: #000066;
    margin: 12px 0;
  }

  /* 現代化選單卡片 (HTML5 <nav> & <section>) */
  .menu-card {
    max-width: 500px;
    margin: 0 auto 0;
    /* background-color: var(--card-bg); */
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
    overflow: hidden;
  }

  .menu-title {
    /* background-color: var(--primary-color); */
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    margin: 0;
    letter-spacing: 1px;
  }

  .menu-title small {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.9;
  }

  .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menu-list li {
    border-bottom: 1px solid #f1f5f9;
  }

  .menu-list li:last-child {
    border-bottom: none;
  }

  .menu-list a {
    display: block;
    padding: 14px 20px;
    color: var(--text-color);
    text-decoration: none;
    text-align: center; /* 內文置中 */
    font-size: 18px;
    transition: all 0.2s ease;
  }

  /* 滑鼠懸停與點擊效果 */
  .menu-list a:hover {
    background-color: #f4f8f1; /* 微綠亮色背景 */
    color: var(--primary-color);
    font-weight: bold;
  }

  /* 頁尾連結 */
  footer.site-footer {
    text-align: center;
    margin-top: 0px;
    padding-top: 0px;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .footer-links img {
    vertical-align: middle;
    transition: opacity 0.2s ease;
  }

  .footer-links img:hover {
    opacity: 0.8;
  }

  .thanks-link {
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
  }

  .thanks-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
  }

/* end of main menu index */

