/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-height: 600px) {
  .hero-content {
    top: 30%;
  }
  .hero-title-main {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  .hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    margin-bottom: 1.5rem;
  }
  .hero-controls {
    bottom: 40px;
  }
  .hero-scroll {
    display: none;
  }
}
@media (max-width: 1280px) {
.stats-content {
  padding: 3rem 6rem 3rem 10rem;
}
.investor-section {
      padding: 6rem 2rem;
}
.facilities-section {
  padding: 6rem 2rem 7rem;
}
.footer {
      padding: 5rem 2rem 0rem;
}
.about-grid {
  padding: 0 2rem;
}
}
@media (max-width: 1200px) {


 
  .news-side-preview {
    display: none;
  }
  /* 選單打開時禁止 body 滾動 */
  body.menu-open {
    overflow: hidden;
  }
  /* Loading 要在最上層 */
  #page-loader {
    z-index: 10000 !important;
  }
  .loader-logo {
    width: 150px !important;
  }
  /* Cookie 相關元素 */
  .cookie-consent, .cookie-modal {
    z-index: 9000 !important;
  }
  /* Header 和選單在 loading 下方 */
  .header {
    z-index: 9500 !important;
  }
  /* Logo 區域背景 - 預設透明,選單打開時變白 */
  .header-container {
    background: transparent;
    position: relative;
    z-index: 9500;
    transition: background 0.3s ease;
  }
  .header.menu-open .header-container {
    background: var(--white);
  }
  .dropdown {
    border-top: none;
  }
  .nav-menu {
    position: fixed !important;
    top: 75px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(100vh - 75px) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 0 !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 9500 !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .header.scrolled .nav-menu {
    top: 75px !important;
    height: calc(100vh - 75px) !important;
  }
  .nav-menu.active {
    transform: translateX(0) !important;
    padding: 0 !important;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
    padding-bottom: 0rem;
  }
  .nav-list > .nav-item {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav-link {
    padding: 1rem 3rem;
    color: var(--gray-800) !important;
    font-size: 1.125rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: auto !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  .nav-link:active, .nav-link:focus {
    background-color: transparent !important;
    outline: none !important;
  }
  .nav-item.mega-menu:hover > .nav-link {
    color: var(--gray-800) !important;
  }
  .nav-link:hover::after {
    width: 0%;
  }
  .nav-link::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--gray-800);
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-left: auto;
    background-color: transparent;
    left: 0;
    right: 4.5rem;
    top: 20px
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 1rem;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  /* Mega Dropdown 手機版樣式 */
  .mega-dropdown {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 0rem;
    padding: 0;
    grid-template-columns: 1fr;
    background-image: none;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mega-menu.active .mega-dropdown {
    display: flex;
    max-height: 600px;
  }
  .mega-dropdown .dropdown-container {
    max-width: 100%;
    margin: 0;
    display: block;
    padding: 0;
  }
  .mega-dropdown-right {
    display: none;
  }
  .mega-dropdown-left {
    padding-left: 0px;
    margin-left: 0px;
    border: none;
    background-color: var(--gray-100);
  }
  .mega-menu-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    display: none;
  }
  .mega-menu-list {
    width: 100%;
    display: block;
    max-width: 100%;
    padding: .8rem 0;
  }
  .mega-menu-list li a {
    padding: 0.3rem 4.1rem;
    font-size: 1rem;
    border: none;
    border-top: none !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  .mega-menu-list li a:active, .mega-menu-list li a:focus {
    background-color: transparent !important;
    outline: none !important;
    border-bottom: none !important;
  }
  .mega-menu-list li a:hover {
    border-bottom: none !important;
  }
  .has-dropdown.active .dropdown {
    max-height: 600px;
    border: none;
  }
  .menu-toggle {
    display: flex;
    z-index: 9501;
    position: relative;
    padding: 5px !important;
    gap: 8px !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background-color: transparent !important;
  }
  .menu-toggle:active, .menu-toggle:focus {
    background-color: transparent !important;
    outline: none !important;
  }
  .menu-toggle span {
    width: 32px !important;
    height: 2px !important;
  }
  .menu-toggle.active span {
    background: var(--gray-700) !important;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  /* 手機版隱藏桌面版語言切換 */
  .header-right .lang-switch {
    display: none;
  }
  /* 手機選單內的語言切換 */
  .lang-switch-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.3rem 1.5rem 1.5rem;
    margin-top: 0rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
  }
  .lang-switch-mobile a {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
  }
  .lang-switch-mobile a.active {
    color: var(--primary-orange);
    font-weight: 500;
  }
  .lang-switch-mobile a:hover {
    color: #007bff;
  }
  .lang-switch-mobile .divider {
    color: rgba(0, 0, 0, 0.2);
    font-weight: 300;
  }

.stats-content {
  padding: 3rem 6rem 3rem 10rem;
}
 
  .news-card-content {
    padding-top: 0;
  }
  .news-card-meta {
    margin-bottom: 1rem;
  }
  .news-carousel-wrapper {
    padding: 0 60px;
  }
.footer {
  padding: 4rem 2rem 0rem;
}
.footer-main {
  padding-bottom: 5rem;
}
  .footer-links {
    grid-template-columns: repeat(6, 1fr);
  }
  .home-products-section {
    padding: 4rem 0;
  }
  .facility-item:last-child {
    margin-bottom: 0rem;
  }
  .facilities-section .section-header {
    text-align: center;
  }
  .facility-info {
    text-align: left;
  }
  .btn-desktop-only {
    display: none !important;
  }
  .btn-mobile-only {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
  .news-section {
    padding: 4rem 0 4rem;
  }
  .location-item-container {
    gap: 3rem;
  }
  .location-item-left .location-item-content, .location-item-right .location-item-content {
    padding: 3rem;
  }
  .location-main-title {
    font-size: 2.5rem;
  }
  .location-item-title {
    font-size: 1.75rem;
  }

  .facilities-section {
    padding: 5rem 2rem;
  }
  .facility-item:hover, .facility-item.active {
    transform: translateX(0px);
  }
  .facilities-grid {
        gap: 3rem;
  }
.news-card-horizontal {
      gap: 3rem;
      padding: 2rem .5rem ;
}
.investor-grid {
  gap: 2rem;
}
}
@media (max-width: 1024px) {


    .investor-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .news-list-card-image {
    height: 200px;
  }
  .stock-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }



 
  .sub-nav-menu {
    flex-wrap: wrap;
  }
  .sub-nav-menu a {
    padding: 1.25rem 1.75rem;
    font-size: 1rem;
  }
  .stats-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .values-content {
    padding-right: 0;
  }
  .values-image-circle {
    max-width: 350px;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-grid {
    gap: 2rem;
  }
  .intro-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .intro-image-item img {
    height: 330px;
  }
  .intro-product-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
  }
  .intro-product-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  .intro-product-text h4 {
    font-size: 1.125rem;
  }
  .intro-product-text .product-main {
    font-size: 0.9375rem;
  }
  .intro-product-text .product-detail {
    font-size: 0.8125rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .dept-grid {
    grid-template-columns: 1fr;
  }
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .investment-grid {
    grid-template-columns: 1fr;
  }
  .sub-nav-list {
    flex-wrap: wrap;
  }
  .sub-nav-list a {
    padding: 1.25rem 1.75rem;
    font-size: 1rem;
  }
  .financial-reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chart-stats {
    grid-template-columns: 1fr;
  }
  .stock-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trading-info-grid {
    grid-template-columns: 1fr;
  }
  .stock-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
    .about-grid {
    gap: 3rem;
  }
  .feature {
    font-size: 1.1rem;
    padding: 0.875rem 0.3rem;
  }
   .footer-main {
    gap: 2rem;
  }
.footer-links {
  gap: .5rem;
}
.footer-col ul li a {
  font-size: 1rem;
}
  .facilities-section {
    padding: 5rem 2rem;
  }
}
@media (max-width: 992px) {
.stock-info-box {
  gap: 1rem;
}
  .news-list-card-image {
    height: auto;
  }
    .facilities-section {
    padding: 5rem 0;
  }
  .investor-section {
      padding: 6rem 0rem;
}
  .footer {
    padding: 4rem .5rem 0;
  }
  .about-grid {
    padding: 0;
  }
 .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

     .news-card-image img {
    height: 400px;
  }

      .news-card-image {
    order: -1;
  }
    .news-card-horizontal {
    grid-template-columns: 1fr;
  }
      .stats-grid, .investor-cards {
    grid-template-columns: repeat(2, 1fr);
  }
    .facilities-section {
    text-align: center;
  }
   .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
    .about-image {
    order: -1;
  }
      .about-grid, .facilities-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stats-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .gallery-main img {
    height: 220px;
  }
  .pv-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pv-features-grid {
    grid-template-columns: 1fr;
  }
  .pv-apps-layout {
    grid-template-columns: 1fr;
  }
  .vision-hero-title {
    font-size: 2.5rem;
  }
  .split-section {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding: 4rem 0;
  }
  .split-section.reverse {
    flex-direction: column;
  }
  .values-list-modern {
    text-align: left;
  }
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    padding: 2rem;
    gap: 1.5rem;
  }
  .stats-content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 1.5rem 1.5rem 0rem !important;
    margin-left: 0 !important;
    border-radius: 80px !important;
    min-width: auto !important;
  }
  .stats-content::after {
    border-radius: 0 0 80px 0 !important;
  }
  .stat-item {
    text-align: center;
    padding: 1rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .news-list-grid {
    gap: 1.6rem;
  }
.inner-page-section {
   padding: 4rem 0 5rem;
}
}
@media (max-width: 968px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .news-card-image {
    height: auto;
  }
  .news-card-title {
    font-size: 1.2rem;
  }
  .products-section {
    padding: 3rem 0;
  }
  .product-block {
    min-height: 500px;
    margin-bottom: 2.5rem;
    border-radius: 12px;
  }
  .product-block-content {
    padding: 3rem 2rem;
  }
  .product-block-title {
    font-size: 2.25rem;
  }
  .product-title-en {
    font-size: 1.35rem;
  }
  .product-block-desc {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  .product-block-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .contact-info-sidebar {
    order: -1;
  }
  .location-section {
    padding: 4rem 0;
  }
  .location-section-intro {
    margin-bottom: 3rem;
  }
  .location-item {
    margin-bottom: 4rem;
    padding: 0 1.5rem;
  }
  /* Stack vertically on mobile */
  .location-item-left .location-item-container, .location-item-right .location-item-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "map";
    gap: 0;
  }
  .location-item-left .location-item-content, .location-item-right .location-item-content {
    padding: 2.5rem 2rem;
  }
  .location-item-map {
    min-height: 400px;
  }
  .location-main-title {
    font-size: 2rem;
  }
  .location-item-title {
    font-size: 1.5rem;
  }
  .map-section {
    padding: 60px 0;
  }
  .map-section-header {
    margin-bottom: 40px;
  }
  .map-section-title {
    font-size: 2rem;
  }
  .map-location-card {
    flex-direction: column;
  }
  .map-location-info {
    padding: 40px 30px;
  }
  .map-location-map {
    min-height: 400px;
  }
  .map-location-name {
    font-size: 1.5rem;
  }
  .simple-location-wrapper {
    gap: 2rem;
    margin-bottom: 5rem;
  }
  .simple-location-map {
    height: 300px;
  }
  .simple-location-info {
    padding:1rem 0 0 1rem;
    min-height: 300px;
  }
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    margin-top: 2rem;
    position: static;
  }
  .location-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {

  .header-container {
    height: 75px;
    padding: 0 1.25rem;
  }
  .logo img {
    height: 38px;
  }
  .nav-link {
    padding: 1rem 2rem;
  }
  .nav-link::after {
    right: 2.9rem;
  }
  .hero {
    min-height: 100vh;
  }
  .hero-content {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    top: 30%;
    max-width: 100%;
  }
  .hero-title-en {
    font-size: clamp(0.875rem, 3vw, 1rem);
    margin-bottom: 0.5rem;
  }
  .hero-title-main {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 0rem;
  }
  .hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .hero-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }
  .hero-controls {
    bottom: 120px;
    gap: 1.5rem;
  }
  .hero-prev, .hero-next {
    width: 44px;
    height: 44px;
    font-size: 0.875rem;
  }
  .hero-dots {
    gap: 0.5rem;
  }
  .hero-dots .dot {
    width: 8px;
    height: 8px;
  }
  .feature {
    font-size: 1.125rem;
  }
  .feature i {
    font-size: 1.125rem;
  }
  .section-desc {
    font-size: 1.1rem;
  }
  .section-label {
    font-size: 0.875rem;
  }
  .section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: 1.2rem;
  }
  .section-header {
    margin-bottom: 3rem;
  }
  .product-card {
    padding: 2rem 1.8rem;
    margin: 0 .5rem;
  }
  .products-cta {
    margin-top: 3rem;
  }
  .facilities-text {
    font-size: 1.0625rem;
    margin-bottom: 3rem;
  }
  .facility-info p {
    font-size: 0.9375rem;
  }
  .facility-item {
    padding: 0 0 0.8rem;
  }
  .facility-item:last-child {
    margin-bottom: 0;
  }
  .facility-item.animate-on-scroll.animated {
    transform: none !important;
  }
  .facilities-gallery {
    gap: 1rem;
  }
  .facility-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .facility-icon i {
    font-size: 1.4rem;
  }
  .gallery-group {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .gallery-thumbs {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .thumb {
    width: 57px;
    flex-shrink: 0;
  }
  .thumb {
    -webkit-tap-highlight-color: transparent;
  }
  .thumb:hover {
    transform: none;
  }
  .thumb:active {
    background-color: transparent;
  }
  .thumb img {
    width: 100% !important;
    height: 40px !important;
    object-fit: cover;
  }

  .investor-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .investor-section {
    padding: 4rem 0 5rem;
    text-align: center;
  }
  .investor-text {
    font-size: 1.0625rem;
  }
  .gallery-main img {
    height: 280px;
  }
  .news-carousel-wrapper {
    padding: 0 50px;
  }
  .news-nav {
    width: 44px;
    height: 44px;
  }
  .news-nav.prev {
    left: -10px;
  }
  .news-nav.next {
    right: -10px;
  }
  .news-card {
    margin: 0 0.5rem;
  }
  .cta-section {
    padding: 6rem 0;
  }
  .cta-text {
    font-size: 1.0625rem;
  }

  .footer {
    padding-top: 3rem;
  }
  .footer-main {
    padding-bottom: 3rem;
  }
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.75rem 0 2rem;
  }
  .copyright {
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .back-to-top {
    right: 20px;
  }
  .news-carousel-wrapper {
    padding: 0 50px;
  }
  .news-nav {
    width: 44px;
    height: 44px;
  }
  .news-card-image img {
    height: 280px;
  }
  .news-decor {
    display: none;
  }
  .product-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .product-nav-item {
    padding: 1rem;
  }
  .category-banner.text-overlay {
    height: 350px;
  }
  .category-title {
    font-size: 2rem;
  }
  .category-desc {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .filter-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }
  .filter-list a {
    white-space: nowrap;
    padding: 0.75rem 0;
  }
  .main-content-header .content-title {
    font-size: 1.75rem;
  }
  .page-banner {
    height: 300px;
  }
  .page-title-main {
    font-size: 2rem;
  }
  .page-title-en {
    font-size: 0.9rem;
  }
  /* Sub Nav Mobile Dropdown */
  .sub-nav-section {
    position: relative;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #1e3a5f, #2a4a72);
  }

  .sub-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1e3a5f, #2a4a72);
    border: none;
    outline: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.2);
    -webkit-tap-highlight-color: transparent;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .sub-nav-toggle:hover {
    background: linear-gradient(135deg, #2a4a72, #355a85);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
  }

  .sub-nav-toggle i {
    transition: transform 0.3s ease;
    color: var(--white);
  }

  .sub-nav-toggle.active {
    background: linear-gradient(135deg, #2a4a72, #355a85);
  }

  .sub-nav-toggle.active i {
    transform: rotate(180deg);
  }

  .sub-nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 2.7rem;
    right: 2.7rem;
    background: var(--white);
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.15);
    max-height: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    flex-direction: column !important;
    display: flex !important;
  }

  .sub-nav-menu.active {
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
    margin-top: -2rem;
  }

  .sub-nav-menu li {
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  }

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

  .sub-nav-menu a {
    padding: 1rem 1.5rem;
    display: block;
    color: var(--gray-700);
    transition: all 0.3s ease;
  }

  .sub-nav-menu a:hover {
    background: rgba(30, 58, 95, 0.05);
    color: var(--primary-blue);
    padding-left: 2rem;
  }

  .sub-nav-menu li.active a {
    color: var(--primary-orange);
    font-weight: 600;
    border-left: 3px solid var(--primary-orange);
  }

  .sub-nav-menu a::after {
    display: none;
  }
  .container-full {
    padding: 0 1.25rem;
  }
  .inner-page-section {
    padding: 3rem 0 4rem;
  }
  .inner-page-section.investor-section {
    padding: 3rem 0 4rem;
  }
  .content-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }
  .content-title {
    font-size: 2rem;
  }
  .content-subtitle {
    font-size: 1rem;
  }
  .block-title {
    font-size: 1.5rem;
    line-height: 1.6;
  }
  .stats-grid-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    padding-left: 50px;
    padding-bottom: 2.5rem;
  }
  .timeline-item::after {
    left: 14px;
    top: 4px;
    width: 12px;
    height: 12px;
  }
  .timeline-year {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    text-align: left;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
  }
  .timeline-content h4 {
    font-size: 1.125rem;
  }
  .timeline-content p {
    font-size: 1rem;
  }
  .values-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .values-list {
    gap: 1.5rem;
  }
  .value-icon-circle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.25rem;
  }
  .value-text h4 {
    font-size: 1.25rem;
  }
  .values-image-circle {
    max-width: 300px;
  }
  .philosophy-list {
    flex-direction: column;
    padding: .5rem 1.5rem;
    gap: .5rem;
  }
  .philosophy-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(30, 58, 95, 0) 0%, rgba(30, 58, 95, 0.3) 20%, rgba(30, 58, 95, 0.5) 50%, rgba(30, 58, 95, 0.3) 80%, rgba(30, 58, 95, 0) 100%);
  }
  .philosophy-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
  }
  .philosophy-title-ch {
    font-size: 1.4rem;
  }
  .philosophy-title-en {
    font-size: 1.5rem;
  }
  .philosophy-desc {
    font-size: 1rem;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .culture-grid {
    grid-template-columns: 1fr;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .environment-grid {
    grid-template-columns: 1fr;
  }
  .auto-features {
    grid-template-columns: 1fr;
  }
  .auto-feature-item {
    flex-direction: column;
    gap: 1.5rem;
  }
  .facility-main-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 0rem;
  }

  /* 第二個卡片(品質檢驗室)在手機版圖片要在前 */
  .facility-main-card:nth-child(2) .facility-image-large {
    order: -1;
  }
  .facility-image-large img {
    height: 200px;
  }
  .process-step {
    flex-direction: column;
    gap: 1.5rem;
  }
  .step-content {
    padding-top: 0;
  }
  .patent-item {
    flex-direction: column;
    padding: 1.5rem;
  }
  .investment-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .dept-grid {
    grid-template-columns: 1fr;
  }
  .inner-cta-content h3 {
    font-size: 1.75rem;
  }
  .inner-cta-content p {
    font-size: 1rem;
  }
  .inner-cta-content .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* 產品頁面縮圖在手機版換行顯示 */
  .pv-thumbnails {
    flex-wrap: wrap;
  }

  .pv-thumb {
    width: calc(25% - 0.5625rem);
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* 產品頁面按鈕組在手機版並排且高度一致 */
  .pv-action-group {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .pv-action-group .btn-primary,
  .pv-action-group .btn-primary-outline {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .news-date-badge {
    width: 100%;
    height: 100px;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  .date-day {
    font-size: 2.5rem;
  }
  .date-month {
    font-size: 1rem;
  }
  .date-year {
    font-size: 0.85rem;
  }
  .news-title {
    font-size: 1.4rem;
  }
  .news-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .pagination {
    gap: 0.25rem;
  }
  .page-link {
    width: 40px;
    height: 40px;
  }
  .pv-title {
    font-size: 2.25rem;
  }
  .pv-tabs-header {
    gap: 0;
    overflow-x: auto;
    justify-content: center;
    padding: 0;
  }

  /* 隱藏手機版橫向滾動條 */
  .pv-tabs-header::-webkit-scrollbar {
    display: none;
  }

  .pv-tabs-header {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .pv-tab-btn {
    white-space: nowrap;
    flex: 1;
    min-width: 50%;
  }

  /* 投資人專區表格手機版橫向滾動 */
  .table-scroll-hint {
    display: block;
    border-radius: 999px;
    background-color: var(--gray-100);
    padding: 0.25rem 1rem;
  }

  .ir-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ir-table {
    min-width: 600px;
  }
  .btn-primary-lg, .btn-outline-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  .pv-feature-row, .pv-feature-row.reverse {
    flex-direction: column;
    gap: 2rem;
  }
  .pv-tabs-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .pv-feat-content {
    text-align: left;
  }
  .pv-back-button-wrapper {
    padding: 0rem 0 5rem;
  }
  .policy-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .dividend-ratio-box {
    flex-direction: column;
    gap: 1rem;
  }
  .shareholder-policy-box {
    padding: 1.5rem;
  }
  .stock-info-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .info-card-header {
    padding: 1.25rem;
  }
  .info-card-header i {
    font-size: 1.5rem;
  }
  .info-card-header h4 {
    font-size: 1.1rem;
  }
  .info-card-body {
    padding: 1.5rem;
  }
  .stock-code-display strong {
    font-size: 1.2rem;
  }
  .security-notice {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
  .sub-nav-list {
    flex-direction: column;
  }
  .sub-nav-list a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
  }
  .sub-nav-list a::after {
    display: none;
  }
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-navigation {
    grid-template-columns: 1fr;
  }
  .article-nav-item.next {
    text-align: left;
  }
  .article-body {
    font-size: 1rem;
  }
  .revenue-chart-wrapper {
    padding: 2rem 1rem;
  }
  .stat-value {
    font-size: 2.5rem;
  }
  .revenue-chart {
    height: 300px;
  }
  .chart-bars-modern {
    padding: 0 1rem;
  }
  .financial-reports-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .report-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .stock-price-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }
  .stock-current-price {
    text-align: left;
    margin-top: 1.5rem;
  }
  .price-value {
    font-size: 2.5rem;
  }
  .price-change {
    justify-content: flex-start;
  }
  .stock-company-name {
    font-size: 1.5rem;
  }
  .stock-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stock-stat-card {
    padding: 1.25rem;
  }
  .stock-stat-card .stat-value {
    font-size: 1.25rem;
  }
  .stock-price-chart {
    height: 250px;
  }
  .trading-info-card {
    padding: 2rem;
  }
  .trading-icon {
    width: 60px;
    height: 60px;
  }
  .stock-links-grid {
    grid-template-columns: 1fr;
    margin: 0 .5rem;
  }
  .stock-link-title {
    margin-bottom: 0.2rem;
  }
  .stock-link-card {
        padding: 1rem 1.7rem 1.5rem 1.7rem;
  }
}
@media (max-width: 600px) {
  /* Breadcrumb section padding adjustment */
  .breadcrumb-section {
    padding: 1.5rem 0 0;
  }
  /* Breadcrumb and back button stacked vertically */
  .breadcrumb-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  /* Hide breadcrumb on mobile, show only back button */
  .breadcrumb-wrapper .breadcrumb {
    display: none;
  }
  
  .pv-inline-back-btn {
    width: auto;
    justify-content: flex-start;
  }
  
  .policy-content {
    padding: 0;
  }
  .intro-image-item img {
    height: 200px;
  }
  .mega-menu-list li a {
    padding: 0.3rem 3rem;
  }
  .content-body {
    font-size: 1.0625rem;
  }
  .simple-location-wrapper {
    gap: 0;
  }
  .stock-link-logo {
    width: 180px;
    height: 180px;
    margin-bottom: .7rem;
  }
   .section-desc {
    font-size: 1rem;
  }
  .stock-info-content {
  text-align: center;
  margin-bottom: .5rem;
  }
  .facilities-showcase {
    gap: 2rem;
  }
  .facility-specs{
    gap: 0.5rem;
  }
  .gallery-caption {
    font-size: 0.9rem;
    padding: 2rem 1rem 1.2rem;
  }
  .dept-icon {
    font-size: 2rem;
    margin-bottom: 0;
  }
  .modern-card {
    padding: 1.5rem 1.5rem 2.5rem;
  }
  .modern-card-icon {
    margin: 0 auto 0;
  }
  .modern-grid {
    margin-top: 2rem;
    padding: 0 1rem;
  }
  .block-title {
    margin-bottom: 1rem;
  }
.inner-cta-content p {
  margin-bottom: 2rem;
}
.inner-cta-section {
  padding: 4rem 1rem;
}
  .content-block {
    margin-bottom: 3rem;
  }
    .about-features, .products-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
     grid-template-columns: 1fr;
  }
    .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .location-section {
    padding: 3rem 0;
  }
  .location-section-intro {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }
  .location-item {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }
  .location-item-container {
    border-radius: 16px;
  }
  .location-item-left .location-item-content, .location-item-right .location-item-content {
    padding: 2rem 1.5rem;
  }
  .location-main-title {
    font-size: 1.75rem;
  }
  .location-main-desc {
    font-size: 1rem;
  }
  .location-item-title {
    font-size: 1.35rem;
  }
  .location-item-subtitle {
    font-size: 0.95rem;
  }
  .location-item-map {
    min-height: 350px;
  }
  .detail-value {
    font-size: 1rem;
  }
  .btn-navigate {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
  .map-section {
    padding: 50px 0;
  }
  .map-section-header {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .map-section-title {
    font-size: 1.75rem;
  }
  .map-section-desc {
    font-size: 1rem;
  }
  .map-location-wrapper {
    padding: 0 15px;
  }
  .map-location-card {
    border-radius: 10px;
  }
  .map-location-info {
    padding: 30px 20px;
  }
  .map-location-map {
    min-height: 350px;
  }
  .map-location-name {
    font-size: 1.35rem;
  }
  .map-location-name-en {
    font-size: 0.95rem;
  }
  .map-detail-value {
    font-size: 0.95rem;
  }
  .map-navigate-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
.footer-links {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nav-link::after {
  right: 2.8rem;
}
.footer {
  padding: 3rem 0 0;
}
.news-list-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
.section-padding {
    padding: 2rem 0 3rem;
}
.simple-location-details {
  gap: .3rem;
}
.simple-location-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}
.simple-location-info {
  order: 1;
  padding: 0 0 2rem 0;
  min-height: auto;
  margin-bottom: 1rem;
  width: 100%;
}
.simple-location-map {
  order: 2;
  height: 350px;
}
}
@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-card-image {
    height: 220px;
  }
  .news-card-body {
    padding: 1.25rem;
  }
  .news-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .news-card-excerpt {
    line-height: 1.7;
    font-size: 1rem;
  }
  .news-carousel-item {
    padding: 0 0.5rem;
  }
  .products-section {
    padding: 3rem 0;
  }
  .product-block {
    min-height: 450px;
    margin-bottom: 2rem;
    border-radius: 8px;
  }
  .product-block-content {
    padding: 2.5rem 1.5rem;
  }
  .product-block-title {
    font-size: 1.85rem;
  }
  .product-title-en {
    font-size: 1.15rem;
  }
  .product-block-desc {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  .product-block-btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
  .vision-hero-title {
    font-size: 2rem;
  }
  .modern-grid {
    grid-template-columns: 1fr;
  }
  .value-item-modern {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .value-item-modern:hover {
    padding-left: 0;
    transform: translateY(-5px);
  }
  .intro-image-item .image-badge {
    bottom: -0.5rem;
    left: -0.5rem;
    padding: 0.6rem 1.5rem 1.2rem 2rem;
  }
  .intro-image-item .badge-text {
    font-size: 1rem;
  }
 
  .simple-location-title {
    font-size: 1.5rem;
  }
  .simple-location-map {
    height: 300px;
  }
}
@media (max-width: 480px) {
  .copyright a {
    display: block;;
  }
  .about-section {
    padding: 5rem 0 0 0;
  }
  .hero-content {
    top: 38%;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
  .hero-title {
    margin-bottom: 1.2rem;
  }
  .hero-title-en {
    font-size: 0.8125rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .hero-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  .hero-controls {
    bottom: 100px;
    gap: 1rem;
  }
  .hero-prev, .hero-next {
    width: 40px;
    height: 40px;
    font-size: 0.8125rem;
  }
  .hero-dots .dot {
    width: 7px;
    height: 7px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .image-badge {
    padding: 1.25rem;
  }
  .badge-year {
    font-size: 2.25rem;
  }
  .section-header:not(.center) {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-carousel-wrapper {
    padding: 0 0px;
  }
  .news-nav {
    width: 40px;
    height: 40px;
    top: 28%;
  }
  .news-nav.prev {
    left: -20px;
  }
  .news-nav.next {
    right: -20px;
  }
  .news-card-image img {
    height: 200px;
  }
  .news-card-horizontal {
    padding: 0;
    gap: 0rem;
  }
  .chart-stats {
    gap: 1rem;
  }
  .stat-card {
    padding: 1.5rem;
  }
  .stat-value {
    font-size: 2rem;
  }
  .bar-label {
    font-size: 0.75rem;
  }
  .report-card {
    padding: 1.5rem;
  }
  .stock-price-header {
    padding: 1.5rem;
  }
  .price-value {
    font-size: 2rem;
  }
  .stock-company-name {
    font-size: 1.25rem;
  }
  .stock-stats-grid {
    grid-template-columns: 1fr;
  }
  .stock-stat-card .stat-label {
    font-size: 0.8rem;
  }
  .stock-stat-card .stat-value {
    font-size: 1.125rem;
  }
.investor-cards {
      gap: 1rem;
}
.investor-card {
  padding: 2.25rem .5rem;
}
}
@media (max-width: 380px) {
  .copyright a {
    display: inline-block;
  }
}