body {
   font-family: "微軟正黑體", "Microsoft JhengHei",  "儷黑 Pro", "LiHei Pro",  "文泉驛正黑", "WenQuanYi Zen Hei",  "標楷體", DFKai-SB, "新細明體", PMingLiU , LiSungLight, "Times New Roman", "AR PL UMing", serif !important;

   font-size:18px;
   background: #fff;
   font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      /* color: #000; */
   color: var(--primary-textmid-color);      
   margin: 0;
   padding: 0;
    }

img {
   display: inline-block;
} 

#sp-top-bar {
  /*display: none; */
  height:30px;
  font-size:13px;
  background-image: linear-gradient(to right, #E2D1C8 , #FFFEFF)!important;


}
#sp-top2 .search{
  margin-top:-5px;
}
#mod-search-searchword194 {
  font-size:10px;

}
#sp-header {
    height: 0px;   
}
#sp-header .container{
  /* background:rgba(128,128,128,0.35); */
  background:rgba(255,255,255,0.35);
  box-shadow: rgba(0, 0, 0, 0.09) 0px 12px 4px -10px;
/*  width: 100%;*/
}

#sp-menu li>a {
  font-size:17px;
  /*font-weight:bold;*/

}
#sp-menu .search {
    width: 100px;
}
.header-modules .search form input {
  background:rgba(255,255,255,0.4);
}
#sp-logo .logo-image {
    height: 56px;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span, .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
   /*font-family:  "微軟正黑體", "Microsoft JhengHei",  "儷黑 Pro", "LiHei Pro",  "文泉驛正黑", "WenQuanYi Zen Hei", "標楷體", DFKai-SB, "新細明體", PMingLiU , LiSungLight, "Times New Roman", "AR PL UMing", serif !important; */
    text-decoration: none;
    padding:0 10px;
    /* letter-spacing: 0px;*/
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 254, 255, 1) 10%, rgba(255, 254, 255, 1) 85% ,rgba(255, 255, 255, 0.7) 100%);


    padding:10px;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
  padding:4px 10px;
}

.sp-scroll-up  {
  background:rgba(192, 172, 131,0.6)!important;
}

#sp-main-body {
    padding: 10px 0;
}
#sp-section-2 {
    margin-top: 60px;
    font-size: 0.8rem;
}
@media (min-width:982px) and (max-width:1080px) {
     #sp-section-2 {
        margin-top: 180px;
    }
}
@media (min-width:1081px) and (max-width:1280px) {
     #sp-section-2 {
        margin-top: 120px;
    }
}
.breadcrumb {
    padding: 0.5rem 0; 
    /*background-color: #fff;*/
    background-color: transparent;
}
.breadcrumb .fa-map-marker-alt:before {
    content: ""!important;
}
#sp-left .sp-module
/*, #sp-right .sp-module */
{
    margin-top: 50px;
    border: 1px solid #f3f3f3;
    padding: 10px;
    border-radius: 3px;
}
.menu-left {
  font-size:15px;
}
.nav-opacity {
   /*background:#fff!important;*/
  background-image: linear-gradient(to right,  #E2D1C8 , #FFFEFF)!important;
}

#sp-footer, #sp-bottom {
    background: #000;
    color: #FFFFFF;
}

.article-social-share .social-share-icon ul li a:hover, .article-social-share .social-share-icon ul li a:focus {
    background: #E2D1C9;
}
.page-item.active .page-link {
    border-color: #E2D1C9;
    background-color: #E2D1C9;
}

.pagination>.active>a:hover, .pagination>.active>a:focus, .pagination>.active>span:hover, .pagination>.active>span:focus {
    border-color: #E2D1C9;
    background-color: #E2D1C9;
}


@media (min-width: 576px) {
  /*.container, .container-sm {*/
    #sp-header .container {
      /*max-width: 540px;*/
      max-width: none;
  }

}
@media (min-width: 768px) {
  /*.container, .container-md, .container-sm {*/
  #sp-header .container {
      /*max-width: 720px;*/
      max-width: none;
  }
}
@media (min-width: 992px) {
  /*.container, .container-lg, .container-md, .container-sm {*/
  #sp-header .container {
      max-width: none;
  }
}

@media (min-width: 1200px)
#sp-main-body .container-inner, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1040px!important;
}

@media (min-width: 1400px)
#sp-main-body .container-inner, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1120px!important;
}


.buttom-curve-white{
height:105px;
} 

.line-btn {
    --line-green: #06C755;
    --line-green-hover: #05b84e;
    --line-green-active: #04a746;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--line-green);
    color: #fff;
    font: 600 15px/1.2 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(6,199,85,0.25);
    transition: transform .03s ease, box-shadow .2s ease, background .15s ease;
  }
  .line-btn:hover { background: var(--line-green-hover); box-shadow: 0 8px 16px rgba(6,199,85,0.3); }
  .line-btn:active { background: var(--line-green-active); transform: translateY(1px); }
  .line-btn:focus-visible { outline: 3px solid rgba(6,199,85,0.35); outline-offset: 3px; }

  .line-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
}
.line-icon svg { width: 100%; height: 100%; display: block; }

.line-text { 
  white-space: nowrap; 
  color:white;
}
  
  /* Small & large variants (optional) */
.line-btn.is-small { padding: 8px 12px; font-size: 14px; }
.line-btn.is-large { padding: 12px 18px; font-size: 16px; }
  
  /* Optional: dark mode tweak */
  @media (prefers-color-scheme: dark) {
    .line-btn { box-shadow: 0 6px 14px rgba(0,0,0,0.35); }
}

/* 20260418 */

/* =============================================
   Sub-category 兩欄式列表樣式 (Page 2 style)
   只影響 .categories-list，不影響其他頁面
   ============================================= */

/* 隱藏原本的 list-group 邊框與徽章樣式 */
.categories-list .list-group-item {
      border: none;
      background: transparent;
      padding: 0;
}

/* 隱藏文章數徽章 */
.categories-list .badge {
      display: none;
}

/* 兩欄式 grid 排版 */
.categories-list {
      display: grid;
      grid-template-columns: 300px 300px;
      gap: 0 40px;
      border: none;
      background: transparent;
      padding: 20px 0 10px 0;
      justify-content: center;
}

/* 每個子分類連結樣式（bullet 圓點） */
/* 每個子分類連結樣式（bullet 圓點） */
.categories-list .list-group-item h5 {
      font-size: 1.25rem;
      margin: 0;
      padding: 10px 0;
      border-bottom: 1px solid #e0e0e0;
      font-weight: normal;
}

.categories-list .list-group-item h5 a::before {
      content: "• ";
      color: #8B4513;
}

.categories-list .list-group-item h5 a {
      color: #5a3e2b;
      text-decoration: none;
}

.categories-list .list-group-item h5 a:hover {
      color: #a0522d;
      text-decoration: underline;
}

/* 移除 d-flex 的干擾 */
.categories-list .d-flex {
      display: block !important;
}

/* 手機版改回單欄 */
@media (max-width: 768px) {
    .categories-list {
        grid-template-columns: 1fr;
    }
}

/* 橫幅圖片 - 比兩欄寬，比全視窗稍窄，置中顯示 */
.categories-list .category-desc,
.categories-list .base-desc {
    grid-column: 1 / -1;
    padding: 0;
    width: auto;
    position: static;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

.fact-banner-wrap {
    width:100%;
    margin-left: -100px;
    margin-right: -100px;
    border-radius: 4px;
    overflow: hidden;
}

/* 詳全文連結不換行，緊接在文章摘要後面 */
/* blog css  */
.article-introtext p:last-of-type {
    display: inline;
}
.readmore {
    display: inline;
    margin-left: 0.3em;
}

/* 文章摘要文字：黑色、字體縮小 */
.article-introtext p {
    color: #000 !important;
    font-size: 17px !important;
}

/* 縮小標題與內容之間的間距 */
.article .article-header h2 {
    font-size:18px;
    margin-bottom: 8px !important;
}
.article .article-info {
    margin-bottom: 0 !important;
}

/* 移除文章外輪廓細線 - add bottom */
.article {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* 縮小文章與文章之間的間距 */
.article {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}


