/* Reset & Base */
* { box-sizing: border-box; }
body { font-family: 'Noto Sans TC','Microsoft JhengHei',sans-serif; background-color: #f4f7fb; color: #2c3e50; margin: 0; padding: 0; line-height: 1.8; -webkit-font-smoothing: antialiased; }
.wrap {max-width: 100%;margin: 0 auto;padding: 60px 20px;background-image: linear-gradient(to bottom, #f4f7fb, #ffffff);}
section { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
/* Main Content Area */
.content-main {flex: 1 1 0%;min-width: 65%;background-color: #ffffff;padding: 50px;border-radius: 24px;transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1);}

.tit { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 2px solid #eef2f6; }
.topBar .h3-style { font-size: 32px; font-weight: 800; color: #061539; margin: 0; position: relative; padding-left: 20px; letter-spacing: 2px; }
.topBar .h3-style::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 6px; background: linear-gradient(180deg,#00a8ff,#0056b3); border-radius: 10px; }
.waylink { font-size: 14px; color: #95a5a6; font-weight: 500; }
.waylink a {color: #00a8ff;text-decoration: none;transition: color 0.3s ease;font-size: 1rem;}
.waylink a:hover { color: #061539; }
.waylink i { margin: 0 8px; font-size: 12px; color: #dcdde1; }
#sub-banner{position:relative;}
#sub-banner .wave-separator { position: absolute; bottom: -8px; width: 100%; }
#sub-banner .wave-separator svg path { fill: #f4f7fb; }


/* Article & Typography */
#article { font-size: 16px; color: #34495e; }
/* Social & Aside Sidebar */
#community { margin-top: 50px; padding-top: 30px; border-top: 1px dashed #eef2f6; }
#community ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 15px; align-items: center; }
aside { flex: 0 0 320px; display: flex; flex-direction: column; gap: 30px; }
aside img {max-width: 100%;height: auto;border-radius: 0;filter: drop-shadow(0px 0px 5px rgb(71 71 71 / 30%));transition: transform 0.3s ease;width: 95%;margin: 0 auto;}
aside img:hover { transform: scale(1.02); }
aside .nav { list-style: none; padding: 0; margin: 0; background-color: #ffffff; border-radius: 20px; box-shadow: 0 15px 35px rgba(6,21,57,0.05); overflow: hidden; border: 1px solid #eef2f6; }
aside .nav li { border-bottom: 1px solid #f4f7fb; transition: background-color 0.3s ease; }
aside .nav li:last-child { border-bottom: none; }
aside .nav li a { display: flex; align-items: center; padding: 20px 25px; color: #2c3e50; text-decoration: none; font-size: 16px; font-weight: 600; transition: all 0.3s ease; }
aside .nav li i { margin-right: 15px; color: #00a8ff; font-size: 18px; transition: transform 0.3s ease; }
aside .nav li:hover,aside .nav li.action { background: linear-gradient(90deg,#00a8ff,#007bb5); }
aside .nav li:hover a,aside .nav li.action a { color: #ffffff; padding-left: 32px; }
aside .nav li:hover i,aside .nav li.action i { color: #ffffff; transform: translateX(5px); }
#ad-list .bxslider { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
#ad-list .photo {display: block;border-radius: 20px;overflow: hidden;box-shadow: 0 10px 25px rgba(6,21,57,0.1);transition: transform 0.3s ease;background-color: #e6f0fa;background-size: cover;background-position: center;height: 163px;position: relative;}
#ad-list .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(6,21,57,0.4),transparent); opacity: 0; transition: opacity 0.3s ease; }
#ad-list .photo:hover { transform: translateY(-5px); }
#ad-list .photo:hover::after { opacity: 1; }
#ad-list .photo img { display: none; }
.wrapper .side-progress { display: none; }



/* News List Grid - #newsList */
#newsList { display: flex; flex-direction: column; gap: 30px; }
#newsList .list {position: relative;display: flex;background-color: #ffffff;border-radius: 20px;box-shadow: 0 10px 25px rgba(6, 21, 57, 0.05);overflow: hidden;transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);border: 1px solid #eef2f6;align-items: stretch;}
#newsList .list:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(6, 21, 57, 0.1); border-color: #00a8ff; }
#newsList .newPhoto { flex: 0 0 35%; min-width: 250px; overflow: hidden; position: relative; }
#newsList .newPhoto .photo { display: block; width: 100%; height: 100%; min-height: 220px; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
#newsList .list:hover .newPhoto .photo { transform: scale(1.08); }
#newsList .newPhoto img { display: none; }
#newsList .newPhoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgba(255,255,255,0.1)); pointer-events: none; }
#newsList .info { flex: 1; padding: 35px; display: flex; flex-direction: column; justify-content: center; }
#newsList .info .time { font-size: 14px; color: #00a8ff; font-weight: 600; margin: 0 0 10px 0; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
#newsList .info .time::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background-color: #00a8ff; }
#newsList .info .h4-style { font-size: 22px; font-weight: 800; color: #061539; margin: 0 0 15px 0; line-height: 1.4; transition: color 0.3s ease; }
#newsList .info .h4-style a { color: inherit; text-decoration: none; }
#newsList .list:hover .info .h4-style { color: #00a8ff; }
#newsList .info article { font-size: 15px; color: #7f8c8d; line-height: 1.8; margin-bottom: 25px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
#newsList .info article:empty { display: none; }
#newsList .info .more { align-self: flex-start; padding: 10px 24px; background-color: #f4f7fb; color: #061539; font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 50px; transition: all 0.3s ease; border: 1px solid #eef2f6; display: inline-flex; align-items: center; gap: 8px; mt-auto; }
#newsList .info .more:hover { background: linear-gradient(90deg, #00a8ff, #007bb5); color: #ffffff; border-color: transparent; box-shadow: 0 8px 15px rgba(0, 168, 255, 0.2); transform: translateX(5px); }


#products ul {display: grid;grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));gap: 30px;list-style: none;padding: 0;margin: 0;width: 100%;}
#products li { background-color: #ffffff; border-radius: 20px; box-shadow: 0 10px 25px rgba(6, 21, 57, 0.05); overflow: hidden; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid #eef2f6; display: flex; flex-direction: column; }
#products li:hover {transform: translateY(-8px);box-shadow: 1px 0px 10px rgba(6, 21, 57, 0.1);border-color: #00a8ff;}
#products .productPhoto { width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative; }
#products .photo { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
#products li:hover .photo { transform: scale(1.10); }
#products .photo img { display: none; }
#products .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 21, 57, 0.5) 0%, transparent 50%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
#products li:hover .photo::after { opacity: 1; }
#products .h3-style { padding: 25px 20px; text-align: center; flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; background-color: #ffffff; position: relative; z-index: 2; }
#products .info { font-size: 18px; font-weight: 800; color: #061539; text-decoration: none; transition: color 0.3s ease; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
#products li:hover .info { color: #00a8ff; }


/* FAQ Accordion Styles (New #faqlist) */
#faqlist { margin-top: 10px; }
#faqlist ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
#faqlist li { background-color: #ffffff; border-radius: 16px; box-shadow: 0 8px 25px rgba(6, 21, 57, 0.04); border: 1px solid #eef2f6; overflow: hidden; transition: all 0.3s ease; }
#faqlist li:hover { box-shadow: 0 15px 35px rgba(0, 168, 255, 0.08); border-color: #cceeff; }
#faqlist li.current { border-color: #00a8ff; box-shadow: 0 15px 35px rgba(0, 168, 255, 0.15); }
#faqlist .menu_head { padding: 20px 25px; font-size: 18px; font-weight: 700; color: #061539; cursor: pointer; display: flex; align-items: center; transition: all 0.3s ease; background: #ffffff; position: relative; }
#faqlist li.current .menu_head {background: linear-gradient(135deg, #0036a0, #277da8);color: #ffffff;}
#faqlist .menu_head i { font-size: 20px; color: #00a8ff; margin-right: 15px; width: 24px; text-align: center; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#faqlist li.current .menu_head i { color: #ffffff; transform: rotate(180deg); }
#faqlist .menu_body { padding: 25px 25px 25px 64px; display: none; font-size: 16px; color: #555555; line-height: 1.8; background-color: #f8fbff; border-top: 1px solid rgba(0, 168, 255, 0.1); }
#faqlist .menu_body * { line-height: 1.8 !important; }



@media (max-width:992px) {
  .content-main,aside {flex: 1;min-width: 100%;padding: 0;background: url();}
  .tit { flex-direction: column; align-items: flex-start; gap: 15px; }
  .wrap { padding: 30px 15px; }
}


@media (max-width: 768px) {
  .topBar .h3-style{font-size: 28px;}
#newsList .list { flex-direction: column; }
#newsList .newPhoto { flex: 1 1 auto; width: 100%; }
#newsList .newPhoto .photo { min-height: 200px; }
#newsList .info { padding: 25px; }
#products ul { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
#faqlist .menu_body{padding: 25px 25px 25px 20px;}
}

