.main { margin: 0 !important; padding: 0 !important; background: #f5f7fb; }
.main-body { margin: 0 !important; padding: 0 !important; }
.main-body-container { width: 100%; display: block !important; clear: both !important; margin: 0 !important; padding: 0 !important; }
.news-container { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; padding: 20px; }
.news-item { display: flex; gap: 20px; background: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.news-item:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.news-image { flex-shrink: 0; width: 220px; height: 140px; border-radius: 8px; overflow: hidden; background-color: #ffffff; }
.news-image .img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-image .img-sp { height: 140px; display: flex; justify-content: center; align-items: center; margin: 0 auto; }
.news-image .img-sp img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.news-item:hover .news-image img { transform: scale(1.05); }
.news-content { flex: 1; min-width: 0; }
.news-content h3 { margin-top: 0; margin-bottom: 10px; color: #333; }
.news-content h3 a { color: #007bff; text-decoration: none; font-size: 1.2em; display: block; }
.news-content h3 a:hover { color: #0056b3; text-decoration: underline; }
.news-content p { color: #666; line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { color: #999; font-size: 0.9em; }
.pagination { text-align: center !important; padding: 30px 0 !important; width: 100% !important; display: block !important; clear: both !important; float: none !important; }
.pagination-container { display: inline-flex !important; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 auto; }
.pagination-item { display: inline-block; padding: 8px 15px; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #333; transition: all 0.3s ease; background-color: #fff; min-width: 40px; text-align: center; }
.pagination-item:hover { background-color: #f5f5f5; }
.pagination-item.active { background-color: #007bff; color: white; border-color: #007bff; }
.pagination-item.prev, .pagination-item.next { background-color: #f8f9fa; }
.pagination-item.ellipsis { background-color: transparent; border: none; color: #999; cursor: default; pointer-events: none; }
.loading { text-align: center; padding: 40px; color: #666; font-size: 1.1em; }
.no-news { text-align: center; padding: 40px; color: #666; font-size: 1.1em; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.main-body-tit { text-align: center; font-size: 24px; font-weight: bold; margin: 0 auto !important; color: #333; }
.main-body-container, .main-body-container > *, .pagination, .pagination-container { position: relative; left: auto; right: auto; transform: none; }
.main-body:last-child, .main-body-container:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.main-body .carousel { max-width: 1000px; margin: 0 auto !important; position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); background: #f5f7fb; }
.carousel-slides { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; height: 550px; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: background 0.3s; z-index: 10; }
.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.6); cursor: pointer; transition: background 0.3s; }
.carousel-dot.active { background: white; }
.filter-row { max-width: 1000px; margin: 0 auto 20px auto; padding: 0 20px; display: flex; align-items: flex-start; gap: 16px; }
.filter-left { flex: 1; min-width: 0; background-color: #ffffff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.filter-header { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 0; min-height: 36px; }
.filter-header h3 { display: none; }
.toggle-btn { border-radius: 50%; width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; flex-shrink: 0; margin-top: 0; cursor: pointer; }
.toggle-btn:hover { background-color: transparent; }
.toggle-btn .arrow img { width: 100%; height: 100%; object-fit: contain; }
.toggle-btn .arrow svg { width: 100%; height: 100%; fill: white; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px 10px; transition: max-height 0.25s ease; overflow: hidden; flex: 1; align-self: flex-start; }
.filter-tabs.collapsed { display: flex; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; max-height: 36px; }
.filter-tabs.collapsed .filter-tab:nth-child(n+8) { display: none; }
.filter-tab { padding: 5px 16px; background-color: #f8f9fa; border-radius: 30px; font-size: 13px; font-weight: 500; color: #4a5568; cursor: pointer; transition: all 0.2s; white-space: nowrap; user-select: none; margin-top: 0; }
.filter-tab:hover { background-color: #e9ecef; border-color: #b3c0d0; color: #1e293b; }
.filter-tab.active { background-color: #007bff; border-color: #007bff; color: white; font-weight: 500; box-shadow: 0 4px 8px rgba(0,123,255,0.25); }
.search-right { flex-shrink: 0; width: 260px; }
.search-box { display: flex; align-items: center; background-color: #fff; border: 1px solid #ddd; border-radius: 30px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.03); height: 46px; }
.search-box input { flex: 1; border: none; outline: none; padding: 0 18px; font-size: 14px; background: transparent; height: 100%; }
.search-box button { background-color: transparent; border: none; border-left: 1px solid #eee; width: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 100%; transition: background 0.2s, color 0.2s; }
.search-box button:hover { background-color: #f2f2f2; color: #007bff; }
.search-box button img { width: 20px; height: 20px; fill: #666; }
.search-box button:hover img { fill: #007bff; }
.no-match { text-align: center; padding: 60px 20px; background: white; border-radius: 12px; color: #888; font-size: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
@media (max-width: 800px) { .filter-row { flex-direction: column; gap: 12px; } .search-right { width: 100%; } .filter-left { width: 100%; } .news-image { width: 80px; height: 80px; } .filter-tabs.collapsed { flex-wrap: wrap; } }
@media (max-width: 480px) { .filter-tab { padding: 4px 12px; font-size: 12px; } .news-item { flex-direction: column; } .news-image { width: 100%; height: 160px; } }
/*header*/
body { padding: 0; margin: 0; }
header { position: sticky; top: 0; z-index: 1000; background-color: white; }
a { text-decoration: none; color: #1a1a1a; font-size: 16px; }
a.active { color: #0464fa; }
.top { padding: 10px 310px; }
.header-inner { display: flex; height: 50px; align-items: center; }
.header-inner .logo { padding-right: 100px; }
.logo img { width: 130px; }
.menu { display: flex; list-style: none; gap: 2.5em; margin-left: auto; }
/*more-service*/
.more-service { position: fixed; right: 7%; top: 35%; transform: translateY(-50%); background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 20px; width: 240px; z-index: 998; }
.more-service h3 { margin: -20px -20px 15px -20px; font-size: 18px; color: white; font-weight: 600; padding: 12px 20px; background: #007bff; text-align: center; border-radius: 12px 12px 0 0; }
.more-service h3 img { width: 24px; height: 24px; vertical-align: middle; margin-right: 8px; }
.service-item { margin-bottom: 15px; }
.service-item:last-child { margin-bottom: 0; }
.service-label { font-size: 12px; color: #666; margin-bottom: 5px; }
.service-value { font-size: 14px; color: #333; line-height: 1.5; }
.qr-text { font-size: 12px; color: #666; margin-top: 8px; text-align: center; }
/*back-to-top*/
.back-to-top { position: fixed; bottom: 18%; right: 18%; width: 50px; height: 50px; background: #e9ecef; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,123,255,0.3); transition: all 0.3s ease; z-index: 999; opacity: 0; visibility: hidden; transform: translateY(20px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #e9ecef; box-shadow: 0 6px 16px rgba(0,123,255,0.4); transform: translateY(-5px); }
.back-to-top img { width: 24px; height: 24px; fill: white; }
/*footer*/
body { padding: 0; margin: 0; }
.footer { display: flex; text-align: center; align-items: center; justify-content: center; flex-direction: column; background-color: #2b3145; color: white; font-size: 14px; padding: 30px; }
