/**
 * style.css — Site9 全局公共样式
 * Phase 2 | 公共模块
 * 配色: #c5853a | 字体: Open Sans
 */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
   --color:#44993C;
  --color1:var(--color, #5a9a5a);
  --bgcolor:linear-gradient(118deg, var(--color), var(--color1));

  --fontcolor: #000003;
  --summarycolor: #555555;
  --fontfamily: "Open Sans", "Roboto", "Lato", "Poppins", "Oswald", "Noto Sans", "Montserrat", sans-serif;
  --border: 3px;
  --white: #fff;
  --black: #000;
  --fontsize12: 12px;
  --fontsize13: 13px;
  --fontsize14: 14px;
  --fontsize15: 15px;
  --fontsize16: 16px;
  --fontsize18: 18px;
  --fontsize20: 20px;
  --fontsize22: 22px;
  --fontsize24: 24px;
  --fontsize26: 26px;
  --fontsize28: 28px;
  --fontsize30: 30px;
  --fontsize36: 36px;
  --fontsize40: 40px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  margin: 0 auto;
  padding-top: 140px;
  max-width: 2560px;
  color: var(--fontcolor);
  font-family: var(--fontfamily);
  font-size: var(--fontsize16);
  line-height: 1.6;
}

body.hidden {
  overflow: hidden;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--color);
}

ul, ol, li {
  list-style: none;
}

iframe, video {
  max-width: 100%;
  outline: none;
  border: none;
  vertical-align: bottom;
}

button {
  outline: none;
  border: none;
  cursor: pointer;
}

b, h1, h2, h3, h4, h5, h6 {
  text-transform: capitalize;
  font-weight: 500;
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(122, 122, 122, .1);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
}

::-webkit-scrollbar-thumb {
  background: #d7d7d7;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
}

::-webkit-scrollbar {
  width: 8px;
  height: 1px;
}

/* ============================================================
   Layout Container
   ============================================================ */
.l-wrap {
  margin: 0 auto;
  padding: 0 70px;
  width: 100%;
  max-width: 1700px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border);
  font-weight: 500;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--bgcolor);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--color);
  color: var(--white);
  opacity: .9;
}

.btn-white {
  background: var(--white);
  color: var(--color);
}

.btn-white:hover {
  background: var(--color);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--color);
  background: transparent;
  color: var(--color);
}

.btn-outline:hover {
  background: var(--bgcolor);
  color: var(--white);
}

.btn-lg {
  padding: 14px 40px;
  font-size: var(--fontsize18);
}

/* ============================================================
   Header
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background: var(--white);
}

/* Header scroll state */
header.is-active .head-top {
  visibility: hidden;
  margin-top: -40px;
  opacity: 0;
}

header.is-active .head-info {
  height: 80px;
}

/* Top Bar */
.head-top {
  height: 40px;
  background: var(--bgcolor);
  color: var(--white);
  transition: margin .1s linear;
}

.head-top .l-wrap {
  display: flex;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

.head-contact {
  display: flex;
  align-items: center;
}

.head-contact .item {
  display: flex;
  margin-right: 20px;
  align-items: center;
  font-size: var(--fontsize14);
}

.head-contact .item em {
  margin-right: 5px;
  color: var(--white);
  font-size: var(--fontsize18);
}

.head-contact .item a {
  color: var(--white);
}

.head-lang {
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-share {
  display: flex;
  height: 100%;
  align-items: center;
}

.head-share ul {
  display: flex;
  margin-right: 10px;
  height: 100%;
  align-items: center;
}

.head-share ul li {
  margin: 0 4px;
  width: 26px;
  height: 26px;
}

.head-share ul li a {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: var(--border);
  color: var(--white);
  transition: all .1s linear;
  justify-content: center;
  align-items: center;
}

.head-share ul li a:hover {
  background-color: var(--white);
  color: var(--color);
}

/* Language */
.lang {
  position: relative;
  z-index: 9999;
  margin-right: 20px;
  width: auto;
  text-align: left;
}

.lang-icon {
  display: flex;
  width: 100%;
  height: 30px;
  border: none;
  white-space: nowrap;
  font-size: var(--fontsize14);
  cursor: pointer;
  align-items: center;
  user-select: none;
}

.lang-icon span {
  position: relative;
  padding-right: 18px;
  color: var(--white);
}

.lang-icon > img {
  margin-right: 5px;
}

.lang-icon span::before {
  position: absolute;
  top: 11px;
  right: 4px;
  width: 8px;
  height: 1px;
  background: var(--white);
  content: "";
  transform: rotate(50deg);
}

.lang-icon span::after {
  position: absolute;
  top: 11px;
  right: 0;
  width: 8px;
  height: 1px;
  background: var(--white);
  content: "";
  transform: rotate(-50deg);
}

.lang-drop {
  position: absolute;
  top: calc(100% + 26px);
  right: 50%;
  z-index: 9999;
  visibility: hidden;
  border: 1px solid #ebeef5;
  border-radius: var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
  opacity: 0;
  transition: opacity .3s, top .3s;
  transform: translateX(50%);
}

.lang-drop.active {
  top: calc(100% + 12px);
  visibility: visible;
  opacity: 1;
}

.lang-arrow {
  position: absolute;
  top: -6px;
  left: 50%;
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid #ebeef5;
  border-left: 1px solid #ebeef5;
  background-color: var(--white);
  transform: translateX(-50%) rotate(45deg);
}

.lang-wrap {
  box-sizing: border-box;
  padding: 8px 0;
  width: 140px;
}

.lang-wrap li {
  box-sizing: border-box;
  padding: 8px 16px;
  width: 100%;
  transition: background-color .3s;
}

.lang-wrap li.lang-active,
.lang-wrap li:hover {
  background-color: #eee;
}

.lang-wrap li a {
  display: block;
  overflow: hidden;
  color: var(--fontcolor);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

.lang-wrap li img {
  display: inline-block;
  margin-right: 4px;
  width: 24px;
  height: 16px;
  vertical-align: -.25em;
}

/* Main Nav */
.head-info {
  height: 100px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, .1);
  transition: all .1s linear;
}

.head-info .l-wrap {
  display: flex;
  padding: 0 15px;
  height: 100%;
  max-width: 1600px;
  justify-content: space-between;
  align-items: center;
}

.head-logo {
  display: flex;
  max-width: 50%;
  align-items: center;
}

.head-logo a {
  display: inline-flex;
  align-items: center;
}

.head-logo a span {
  padding-left: 10px;
  font-size: var(--fontsize18);
}

.head-logo img {
  width: auto;
  max-height: 60px;
}

.head-nav {
  display: flex;
  height: 100%;
  align-items: center;
}

/* Navigation Menu */
.nav-ul {
  display: flex;
  height: 100%;
}

.nav-ul > li {
  position: relative;
  display: flex;
  padding: 0 15px;
  height: 100%;
  align-items: center;
  white-space: nowrap;
  text-transform: capitalize;
  font-weight: 500;
  font-size: var(--fontsize15);
}

.nav-ul > li > a {
  display: flex;
  align-items: center;
  transition: color .2s;
}

.nav-ul > li:hover > a,
.nav-ul > li.active > a {
  color: var(--color);
}

.nav-ul > li > em {
  margin-left: 2px;
  font-size: 12px;
  transition: transform .2s;
}

.nav-ul > li:hover > em {
  transform: rotate(180deg);
}

/* Dropdown Submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  visibility: hidden;
  padding: 6px 0;
  min-width: 220px;
  border-radius: var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  opacity: 0;
  transition: all .2s;
  transform: translateX(-50%);
}

.nav-ul > li:hover .submenu {
  visibility: visible;
  opacity: 1;
}

.submenu li a {
  display: block;
  padding: 8px 20px;
  font-size: var(--fontsize14);
  font-weight: 400;
  transition: all .15s;
}

.submenu li a:hover {
  color: var(--color);
  background: rgba(197, 133, 58, .06);
  padding-left: 25px;
}

/* Search */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.head-search {
  display: flex;
  align-items: center;
}

.head-search > button {
  display: flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 133, 58, .1);
  color: var(--color);
  font-size: var(--fontsize18);
  justify-content: center;
  align-items: center;
  transition: all .2s;
}

.head-search > button:hover {
  background: var(--color);
  color: var(--white);
}

.search-input {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  visibility: hidden;
  padding: 6px;
  min-width: 320px;
  border-radius: var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  opacity: 0;
  transition: all .2s;
}

.search-input.active {
  top: calc(100% + 8px);
  visibility: visible;
  opacity: 1;
}

.search-input select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: var(--border) 0 0 var(--border);
  background: #f8f8f8;
  outline: none;
  font-size: var(--fontsize14);
}

.search-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-right: none;
  outline: none;
  font-size: var(--fontsize14);
}

.search-input .search-btn {
  padding: 8px 16px;
  border-radius: 0 var(--border) var(--border) 0;
  background: var(--bgcolor);
  color: var(--white);
  font-size: var(--fontsize18);
}

/* Mobile Menu Toggle (Hamburger) */
.m-menu {
  display: none;
}

.m-menu span {
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--color);
  transition: all .2s linear;
}

.m-menu span:first-child {
  top: 25%;
  width: 80%;
}

.m-menu span:nth-child(2) {
  top: 48%;
  width: 60%;
}

.m-menu span:nth-child(3) {
  top: 73%;
  width: 80%;
}

.m-menu.act span {
  top: 48%;
  width: 32px;
}

.m-menu.act span:first-child {
  transform: rotate(45deg);
}

.m-menu.act span:nth-child(2) {
  width: 0;
}

.m-menu.act span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ============================================================
   Inquiry Popup
   ============================================================ */
.inquiry-popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.inquiry-popup.active {
  display: flex;
}

.inquiry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
}

.popup-box {
  position: relative;
  padding: 0;
  width: 500px;
  max-width: 90vw;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.popup-header {
  display: flex;
  padding: 16px 24px;
  background: var(--bgcolor);
  color: var(--white);
  font-weight: 600;
  font-size: var(--fontsize18);
  justify-content: space-between;
  align-items: center;
}

.popup-close {
  background: none;
  color: var(--white);
  font-size: var(--fontsize20);
}

.popup-body {
  padding: 24px;
}

.popup-body .form-group {
  margin-bottom: 16px;
}

.popup-body .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: var(--fontsize14);
}

.popup-body .form-group label em {
  color: #e74c3c;
}

.popup-body .form-group input,
.popup-body .form-group textarea {
  display: block;
  padding: 10px 14px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: var(--border);
  outline: none;
  font-family: inherit;
  font-size: var(--fontsize14);
  transition: border-color .2s;
}

.popup-body .form-group input:focus,
.popup-body .form-group textarea:focus {
  border-color: var(--color);
}

.popup-body .form-group textarea {
  height: 100px;
  resize: vertical;
}

.submit-btn {
  display: block;
  padding: 12px 30px;
  width: 100%;
  border-radius: var(--border);
  background: var(--bgcolor);
  color: var(--white);
  font-weight: 600;
  font-size: var(--fontsize16);
  cursor: pointer;
  transition: opacity .2s;
}

.submit-btn:hover {
  opacity: .85;
}

/* ============================================================
   Back to Top
   ============================================================ */
.gotop {
  position: fixed;
  right: 35px;
  bottom: 130px;
  z-index: 99;
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color);
  color: var(--white);
  font-size: var(--fontsize20);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.gotop.act {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gotop:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.gotop em {
  display: block;
  transform: rotate(180deg);
}

/* ============================================================
   Right Float Bar (Desktop)
   ============================================================ */
.rfloat {
  position: fixed;
  right: 10px;
  bottom: 200px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rfloat a {
  position: relative;
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color);
  color: var(--white);
  font-size: var(--fontsize20);
  justify-content: center;
  align-items: center;
  transition: all .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.rfloat a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.rfloat a .tip {
  position: absolute;
  right: 100%;
  top: 50%;
  visibility: hidden;
  margin-right: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .75);
  color: var(--white);
  white-space: nowrap;
  font-size: var(--fontsize12);
  opacity: 0;
  transform: translateY(-50%);
  transition: all .2s;
}

.rfloat a:hover .tip {
  visibility: visible;
  opacity: 1;
}

/* ============================================================
   Mobile Bottom Bar
   ============================================================ */
.bottom-btn {
  display: none;
}

/* ============================================================
   Video Overlay
   ============================================================ */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8);
  justify-content: center;
  align-items: center;
}

.video-overlay.active {
  display: flex;
}

.video-overlay .video-wrap {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.video-overlay .video-wrap::before {
  display: block;
  padding-bottom: 56.25%;
  content: "";
}

.video-overlay .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  color: var(--white);
  font-size: var(--fontsize30);
}

/* ============================================================
   Footer
   ============================================================ */
.footer-main {
  background: #1a1a1a;
  color: #ccc;
  font-size: var(--fontsize14);
}

.footer-grid {
  display: grid;
  padding: 60px 0 40px;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-title {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 12px;
  color: var(--white);
  text-transform: capitalize;
  font-weight: 600;
  font-size: var(--fontsize18);
}

.footer-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--bgcolor);
  content: "";
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about .logo img {
  max-height: 50px;
}

.footer-about p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #444;
  color: #ccc;
  font-size: var(--fontsize16);
  justify-content: center;
  align-items: center;
  transition: all .3s;
}

.footer-social a:hover {
  background: var(--bgcolor);
  border-color: var(--color);
  color: var(--white);
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ccc;
  transition: all .2s;
}

.footer-links ul li a:hover {
  color: var(--color);
  padding-left: 5px;
}

.footer-contact .info-item {
  display: flex;
  margin-bottom: 12px;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact .info-item em {
  color: var(--color);
  font-size: var(--fontsize18);
  flex-shrink: 0;
}

.footer-contact .info-item a {
  color: #ccc;
}

.footer-contact .info-item a:hover {
  color: var(--color);
}

.copyright {
  padding: 16px 0;
  border-top: 1px solid #333;
  text-align: center;
  font-size: var(--fontsize13);
}

.copyright a {
  color: var(--color);
}

/* ============================================================
   Page Banner (Inner Pages)
   ============================================================ */
.crumbs .banner-img {
  width: 100%;
}

.crumbs .banner-img img {
  width: 100%;
}

.crumbs .banner-content {
  padding: 10px 0;
  background-color: #eee;
}

.crumbs .banner-content .l-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crumbs .banner-content .banner-title-h1 {
  text-transform: capitalize;
  font-weight: 500;
  font-size: var(--fontsize18);
}

.crumbs .banner-content .banner-breadcrumbs {
  font-size: var(--fontsize14);
}

.crumbs .banner-content .banner-breadcrumbs em {
  margin-right: 2px;
  color: var(--color);
}

.crumbs .banner-content .banner-breadcrumbs a {
  text-transform: capitalize;
  transition: all .1s linear;
}

.crumbs .banner-content .banner-breadcrumbs a:hover {
  color: var(--color);
}

.crumbs .banner-content .banner-breadcrumbs span {
  text-transform: capitalize;
}

/* ============================================================
   Section Title
   ============================================================ */
.section-title {
  margin-bottom: 40px;
  text-align: center;
}

.section-title .subtitle {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 16px;
  border-radius: 20px;
  background: rgba(197, 133, 58, .1);
  color: var(--color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: var(--fontsize12);
}

.section-title h2 {
  margin-bottom: 15px;
  color: var(--fontcolor);
  font-weight: 600;
  font-size: var(--fontsize36);
}

.section-title .line {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.section-title .line span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--color);
}

.section-title .line span:nth-child(2) { width: 16px; opacity: .8; }
.section-title .line span:nth-child(3) { width: 12px; opacity: .6; }
.section-title .line span:nth-child(4) { width: 8px; opacity: .4; }
.section-title .line span:nth-child(5) { width: 4px; opacity: .2; }

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  margin-top: 40px;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: flex;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: var(--border);
  color: var(--fontcolor);
  font-size: var(--fontsize14);
  justify-content: center;
  align-items: center;
  transition: all .2s;
}

.pagination a:hover,
.pagination span.current {
  background: var(--bgcolor);
  border-color: var(--color);
  color: var(--white);
}

/* ============================================================
   Sidebar (Inner Pages)
   ============================================================ */
.sidebar-widget {
  margin-bottom: 30px;
  border-radius: var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.sidebar-widget .widget-title {
  padding: 14px 20px;
  background: var(--bgcolor);
  color: var(--white);
  font-weight: 600;
  font-size: var(--fontsize18);
}

.sidebar-widget .widget-body {
  padding: 16px 20px;
}

.sidebar-search form {
  display: flex;
}

.sidebar-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: var(--border) 0 0 var(--border);
  outline: none;
  font-size: var(--fontsize14);
}

.sidebar-search button {
  padding: 10px 16px;
  border-radius: 0 var(--border) var(--border) 0;
  background: var(--bgcolor);
  color: var(--white);
  font-size: var(--fontsize16);
}

/* Sidebar Category List */
.sidebar-cat-list li {
  border-bottom: 1px solid #eee;
}

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

.sidebar-cat-list li a {
  display: block;
  padding: 12px 0;
  font-size: var(--fontsize15);
  transition: all .15s;
}

.sidebar-cat-list li a:hover,
.sidebar-cat-list li.active a {
  color: var(--color);
  padding-left: 8px;
}

/* Sidebar Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: var(--fontsize13);
  transition: all .2s;
}

.tag-cloud a:hover {
  background: var(--bgcolor);
  border-color: var(--color);
  color: var(--white);
}

/* Sidebar News List */
.sidebar-news-list li {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  gap: 12px;
}

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

.sidebar-news-list .thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.sidebar-news-list .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-news-list .info {
  flex: 1;
  min-width: 0;
}

.sidebar-news-list .info .title {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 500;
  font-size: var(--fontsize14);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar-news-list .info .date {
  margin-top: 4px;
  color: #999;
  font-size: var(--fontsize12);
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-item {
  margin-bottom: 12px;
  border: 1px solid #eee;
  border-radius: var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  padding: 16px 20px;
  background: #fafafa;
  font-weight: 600;
  font-size: var(--fontsize16);
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  transition: all .2s;
}

.faq-question:hover {
  background: rgba(197, 133, 58, .05);
}

.faq-question::after {
  content: "+";
  font-weight: 300;
  font-size: var(--fontsize24);
  transition: transform .3s;
}

.faq-item.active .faq-question {
  background: rgba(197, 133, 58, .08);
  color: var(--color);
}

.faq-item.active .faq-question::after {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  color: var(--summarycolor);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================================
   Responsive — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  body {
    padding-top: 55px;
  }

  .l-wrap {
    padding: 0 15px;
  }

  /* Header */
  .head-top {
    display: none;
  }

  .head-info {
    height: 60px;
  }

  header.is-active .head-info {
    height: 60px;
  }

  header.is-active .head-info .head-nav {
    top: 59px;
    height: calc(100vh - 50px);
  }

  .head-logo img {
    max-height: 45px;
  }

  header .head-logo {
    max-width: inherit;
  }

  /* Mobile search */
  .head-search {
    display: none;
  }

  .search-box {
    width: 100%;
    height: auto;
  }

  .search-input {
    position: static;
    display: flex;
    visibility: inherit;
    overflow: hidden;
    margin: 10px 0;
    width: 100%;
    border: 1px solid #c2c2c2;
    border-radius: 5px;
    box-shadow: none;
    opacity: 1;
    transform: none;
    align-items: center;
  }

  .search-box input {
    flex: 1;
  }

  /* Mobile nav dropdown (matches reference: full-width dropdown from header) */
  header .head-nav {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 9999;
    visibility: hidden;
    display: flex;
    padding: 10px 20px;
    width: 100%;
    height: calc(100vh - 55px);
    background: var(--white);
    opacity: 0;
    transition: all .2s linear;
    transform: translateY(-20px);
    flex-direction: column-reverse;
    justify-content: flex-end;
  }

  header .head-nav.head-nav-act {
    visibility: inherit;
    opacity: 1;
    transform: translateY(-5px);
  }

  header .head-nav .nav-ul {
    display: block;
    overflow-y: auto;
    padding: 0 0 100px;
    width: 100%;
    height: 100%;
    flex-direction: column;
  }

  header .head-nav .nav-ul > li {
    height: auto;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
  }

  header .head-nav .nav-ul > li > a {
    padding: 12px 0;
    height: auto;
    font-weight: 600;
    font-size: var(--fontsize18);
    justify-content: flex-start;
  }

  header .head-nav .nav-ul > li > a::after {
    content: none;
  }

  header .head-nav .nav-ul > li > em {
    top: 8px;
    right: 0;
    display: flex;
    width: 40px;
    height: 40px;
    font-size: var(--fontsize22);
    cursor: pointer;
    transition: all .1s linear;
    transform: none;
    align-items: center;
    justify-content: center;
  }

  header .head-nav .nav-ul > li.cur > a {
    color: var(--color);
  }

  header .head-nav .nav-ul > li.cur > em {
    color: var(--color);
    transform: rotateX(180deg);
  }

  header .head-nav .nav-ul > li:hover > a,
  header .head-nav .nav-ul > li:hover > em {
    color: inherit;
  }

  header .head-nav .nav-ul > li .submenu {
    position: static;
    display: none;
    visibility: inherit;
    padding-left: 10px;
    min-width: inherit;
    box-shadow: none;
    opacity: 1;
    transition: none;
    transform: none;
  }

  header .head-nav .nav-ul > li .submenu li {
    height: auto;
    border-bottom: none;
  }

  header .head-nav .nav-ul > li .submenu li:hover {
    background: transparent;
  }

  header .head-nav .nav-ul > li .submenu li a {
    padding: 5px 0;
    border: none;
    font-weight: 600;
  }

  header .head-nav .nav-ul > li .submenu > li em {
    display: none;
  }

  header .head-nav .nav-ul > li:hover .submenu {
    visibility: inherit;
    opacity: inherit;
    transform: none;
  }

  .m-menu {
    position: relative;
    display: block;
    width: 35px;
    height: 40px;
    cursor: pointer;
  }

  /* Right float bar — hide on tablet */
  .rfloat {
    display: none;
  }

  /* Gotop — hide on tablet (handled by bottom-btn) */
  .gotop {
    display: none;
  }

  /* Mobile Bottom Bar */
  .bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    padding: 0;
    width: 100%;
    background: var(--color);
    justify-content: center;
    align-items: center;
    transition: transform .3s;
  }

  .bottom-btn.bottom-btn-hide {
    transform: translateY(100%);
  }

  .bottom-btn .btn-item {
    position: relative;
    display: flex;
    width: 20%;
    height: 55px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .bottom-btn .btn-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: var(--fontsize12);
    text-decoration: none;
  }

  .bottom-btn .btn-item em {
    display: block;
    margin-bottom: 2px;
    font-size: var(--fontsize18);
  }

  .bottom-btn .btn-item p {
    font-size: 10px;
    line-height: 1;
  }

  .bottom-btn .btn-item .gotop {
    position: static;
    display: flex;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: var(--fontsize16);
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .bottom-btn .btn-item .gotop em {
    display: block;
    margin-bottom: 0;
    transform: rotate(180deg);
  }

  .rfixed-scnum {
    position: absolute;
    top: 4px;
    right: 10px;
    padding: 0 5px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: #e74c3c;
    color: var(--white);
    text-align: center;
    line-height: 16px;
    font-size: 10px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 0 30px;
    gap: 30px;
  }

  .section-title h2 {
    font-size: 28px;
  }
}

/* ============================================================
   Responsive — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .popup-box {
    max-width: 95vw;
  }

  .lang {
    margin-right: 20px;
    margin-left: auto;
    transition: all .2s linear;
  }

  .lang-icon span {
    display: none;
  }

  .lang-icon > img {
    width: 36px;
    height: 24px;
  }

  .lang-drop {
    display: none;
  }

  .lang-drop.active {
    display: block;
    position: fixed;
    top: 55px;
    left: 0;
    width: 100vw;
    transform: none;
  }

.footer-main {
    display: none;
}
  .lang-wrap {
    width: 100%;
  }
}
